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

🤖 GitLab Bot 🤖
1Running with gitlab-runner 15.9.0~beta.115.g598a7c91 (598a7c91)2 on green-1.shared-gitlab-org.runners-manager.gitlab.com/default Mf8beF5G, system ID: s_673deea48c2a3 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-mf8bef5g-project-278964-concurrent-0 via runner-mf8bef5g-shared-gitlab-org-1680167194-b1d47b6f...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 | 32.40 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_Vjsnt52Downloading artifacts for detect-tests (4031138213)...53Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4031138213 responseStatus=200 OK token=64_Vjsnt54Downloading artifacts for retrieve-tests-metadata (4031138217)...55Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4031138217 responseStatus=200 OK token=64_Vjsnt56Downloading artifacts for setup-test-env (4031138204)...57Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4031138204 responseStatus=200 OK token=64_Vjsnt59Using 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.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_geo_test'725Created database 'gitlabhq_test'726Created database 'gitlabhq_geo_test'727==> 'bundle exec rake db:drop db:create db:schema:load db:migrate gitlab:db:lock_writes' succeeded in 39 seconds.728$ setup_db_praefect729SELECT pg_catalog.set_config('search_path', '', false);730CREATE DATABASE praefect_test ENCODING 'UTF8';731==> 'setup_db_praefect' succeeded in 0 seconds.732$ source ./scripts/rspec_helpers.sh733$ run_timed_command "gem install knapsack --no-document"734$ gem install knapsack --no-document735Successfully installed knapsack-4.0.07361 gem installed737==> 'gem install knapsack --no-document' succeeded in 0 seconds.738$ echo -e "\e[0Ksection_start:`date +%s`:gitaly-test-spawn[collapsed=true]\r\e[0KStarting Gitaly"842$ rspec_paralellized_job "--tag ~quarantine --tag ~level:background_migration"843SKIP_FLAKY_TESTS_AUTOMATICALLY: false844RETRY_FAILED_TESTS_IN_NEW_PROCESS: true845KNAPSACK_GENERATE_REPORT: true846FLAKY_RSPEC_GENERATE_REPORT: true847KNAPSACK_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.rb848KNAPSACK_LOG_LEVEL: debug849KNAPSACK_REPORT_PATH: knapsack/rspec-ee_unit_pg13_single-db_8_18_report.json850FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json851FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec-ee_unit_pg13_single-db_8_18_report.json852NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec-ee_unit_pg13_single-db_8_18_report.json853SKIPPED_FLAKY_TESTS_REPORT_PATH: rspec/flaky/skipped_flaky_tests_rspec-ee_unit_pg13_single-db_8_18_report.txt854CRYSTALBALL: 855Knapsack node specs:856ee/spec/lib/gitlab/elastic/search_results_spec.rb857ee/spec/models/ee/namespace_spec.rb858ee/spec/models/issue_spec.rb859ee/spec/replicators/geo/job_artifact_replicator_spec.rb860ee/spec/replicators/geo/package_file_replicator_spec.rb861ee/spec/lib/compliance_management/merge_request_approval_settings/resolver_spec.rb862ee/spec/finders/geo/terraform_state_version_registry_finder_spec.rb863ee/spec/lib/gitlab/usage_data_metrics_spec.rb864ee/spec/lib/gitlab/ci/templates/sast_gitlab_ci_yaml_spec.rb865ee/spec/replicators/geo/lfs_object_replicator_spec.rb866ee/spec/finders/autocomplete/vulnerabilities_autocomplete_finder_spec.rb867ee/spec/models/requirements_management/requirement_spec.rb868ee/spec/finders/merge_requests_finder_spec.rb869ee/spec/models/group_member_spec.rb870ee/spec/serializers/dashboard_operations_project_entity_spec.rb871ee/spec/services/security/security_orchestration_policies/rule_schedule_service_spec.rb872ee/spec/models/ee/protected_branch_spec.rb873ee/spec/finders/geo/repository_verification_finder_spec.rb874ee/spec/services/merge_requests/reset_approvals_service_spec.rb875ee/spec/workers/app_sec/dast/profile_schedule_worker_spec.rb876ee/spec/services/requirements_management/import_csv_service_spec.rb877ee/spec/services/groups/memberships/export_service_spec.rb878ee/spec/workers/geo/repository_registry_sync_worker_spec.rb879ee/spec/lib/gitlab/ci/templates/secure_binaries_ci_yaml_spec.rb880ee/spec/services/groups/sync_service_spec.rb881ee/spec/lib/ee/gitlab/web_hooks/rate_limiter_spec.rb882ee/spec/services/ee/merge_requests/create_service_spec.rb883ee/spec/services/issues/export_csv_service_spec.rb884ee/spec/graphql/types/dast_site_profile_type_spec.rb885ee/spec/services/protected_environments/create_service_spec.rb886ee/spec/graphql/mutations/dast/profiles/create_spec.rb887ee/spec/models/audit_events/external_audit_event_destination_spec.rb888ee/spec/lib/gitlab/import_export/project/custom_template_restorer_spec.rb889ee/spec/lib/gitlab/ci/reports/license_scanning/report_spec.rb890ee/spec/helpers/timeboxes_helper_spec.rb891ee/spec/models/ee/pages_deployment_spec.rb892ee/spec/lib/gitlab/ci/templates/dast_gitlab_ci_yaml_spec.rb893ee/spec/lib/gitlab/import_export/group/relation_factory_spec.rb894ee/spec/models/milestone_release_spec.rb895ee/spec/services/ee/users/destroy_service_spec.rb896ee/spec/models/ee/dependency_proxy/blob_spec.rb897ee/spec/workers/sync_seat_link_request_worker_spec.rb898ee/spec/finders/security/scan_execution_policies_finder_spec.rb899ee/spec/services/geo/repository_updated_service_spec.rb900ee/spec/lib/gitlab/geo/oauth/logout_token_spec.rb901ee/spec/models/ee/integrations/jira_spec.rb902ee/spec/elastic/migrate/20220824133000_add_hidden_to_issues_spec.rb903ee/spec/lib/gitlab/auth/ldap/user_spec.rb904ee/spec/workers/refresh_license_compliance_checks_worker_spec.rb905ee/spec/models/concerns/ee/project_security_scanners_information_spec.rb906ee/spec/services/vulnerability_merge_request_links/create_service_spec.rb907ee/spec/lib/gitlab/geo/event_gap_tracking_spec.rb908ee/spec/services/groups/mark_for_deletion_service_spec.rb909ee/spec/lib/gitlab/com_spec.rb910ee/spec/services/wiki_pages/create_service_spec.rb911ee/spec/services/security/orchestration/unassign_service_spec.rb912ee/spec/graphql/resolvers/geo/dependency_proxy_manifest_registries_resolver_spec.rb913ee/spec/services/upcoming_reconciliations/update_service_spec.rb914ee/spec/lib/gitlab/graphql/aggregations/epics/lazy_epic_aggregate_spec.rb915ee/spec/models/release_highlight_spec.rb916ee/spec/serializers/ee/issue_sidebar_basic_entity_spec.rb917ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_label_added_spec.rb918ee/spec/lib/ee/gitlab/import_export/importer_spec.rb919ee/spec/services/boards/epics/position_create_service_spec.rb920ee/spec/policies/app_sec/fuzzing/coverage/corpus_policy_spec.rb921ee/spec/services/resource_events/change_weight_service_spec.rb922ee/spec/lib/gitlab/insights/project_insights_config_spec.rb923ee/spec/lib/gitlab/usage/metrics/instrumentations/protected_environments_required_approvals_average_metric_spec.rb924ee/spec/graphql/types/vulnerability_request_type_spec.rb925ee/spec/services/ee/users/create_service_spec.rb926ee/spec/services/work_items/widgets/status_service/update_service_spec.rb927ee/spec/services/phone_verification/users/verify_code_service_spec.rb928ee/spec/services/epic_issues/update_service_spec.rb929ee/spec/models/project_alias_spec.rb930ee/spec/graphql/mutations/boards/epic_boards/update_spec.rb931ee/spec/services/security/security_orchestration_policies/operational_vulnerabilities_configuration_service_spec.rb932ee/spec/services/app_sec/dast/scan_configs/fetch_service_spec.rb933ee/spec/services/notes/create_visual_review_service_spec.rb934ee/spec/services/milestones/destroy_service_spec.rb935ee/spec/lib/ee/gitlab/ci/config/entry/bridge_spec.rb936ee/spec/services/users/email_verification/send_custom_confirmation_instructions_service_spec.rb937ee/spec/workers/dependencies/export_worker_spec.rb938ee/spec/services/incident_management/issuable_resource_links/destroy_service_spec.rb939ee/spec/lib/ee/gitlab/background_migration/populate_approval_project_rules_with_security_orchestration_spec.rb940ee/spec/views/clusters/clusters/show.html.haml_spec.rb941ee/spec/lib/gitlab/geo/geo_tasks_spec.rb942ee/spec/lib/gitlab/exclusive_lease_spec.rb943ee/spec/lib/gitlab/ci/templates/Verify/load_performance_testing_gitlab_ci_yaml_spec.rb944ee/spec/lib/gitlab/prometheus/queries/additional_metrics_environment_query_spec.rb945ee/spec/workers/requirements_management/import_requirements_csv_worker_spec.rb946ee/spec/services/projects/protect_default_branch_service_spec.rb947ee/spec/graphql/types/instance_security_dashboard_type_spec.rb948ee/spec/serializers/ee/user_serializer_spec.rb949ee/spec/services/issue_feature_flags/list_service_spec.rb950ee/spec/graphql/ee/resolvers/board_lists_resolver_spec.rb951ee/spec/graphql/types/scan_type_spec.rb952ee/spec/graphql/resolvers/path_locks_resolver_spec.rb953ee/spec/services/groups/epics_count_service_spec.rb954ee/spec/graphql/types/work_items/widget_interface_spec.rb955ee/spec/graphql/graphql_triggers_spec.rb956ee/spec/lib/ee/api/entities/member_spec.rb957ee/spec/elastic/migrate/20210623081800_add_upvotes_to_issues_spec.rb958ee/spec/lib/banzai/filter/issuable_reference_expansion_filter_spec.rb959ee/spec/lib/gitlab/import_export/project/deploy_keys_restorer_spec.rb960ee/spec/workers/search/index_curation_worker_spec.rb961ee/spec/models/board_user_preference_spec.rb962ee/spec/lib/gitlab/usage_data_counters/value_streams_dashboard_counter_spec.rb963ee/spec/services/audit_events/runners_token_audit_event_service_spec.rb964ee/spec/workers/projects/register_suggested_reviewers_project_worker_spec.rb965ee/spec/serializers/vulnerabilities/request_entity_spec.rb966ee/spec/elastic/migrate/20210910094600_add_namespace_ancestry_ids_to_issues_mapping_spec.rb967ee/spec/finders/security/training_providers/kontra_url_finder_spec.rb968ee/spec/models/dora/change_failure_rate_metric_spec.rb969ee/spec/workers/merge_requests/sync_code_owner_approval_rules_worker_spec.rb970ee/spec/lib/gitlab/graphql/aggregations/epics/epic_node_spec.rb971ee/spec/policies/approval_state_policy_spec.rb972ee/spec/services/todos/allowed_target_filter_service_spec.rb973ee/spec/graphql/mutations/incident_management/oncall_schedule/destroy_spec.rb974ee/spec/lib/ee/event_filter_spec.rb975ee/spec/lib/gitlab/graphql/aggregations/security_orchestration_policies/lazy_dast_profile_aggregate_spec.rb976ee/spec/workers/ldap_group_sync_worker_spec.rb977ee/spec/views/layouts/header/help_dropdown/_cross_stage_fdm.html.haml_spec.rb978ee/spec/graphql/mutations/audit_events/streaming/headers/destroy_spec.rb979ee/spec/components/namespaces/free_user_cap/non_owner_enforcement_alert_component_spec.rb980ee/spec/services/ee/projects/deploy_tokens/destroy_service_spec.rb981ee/spec/services/geo/container_repository_registry_removal_service_spec.rb982ee/spec/workers/analytics/cycle_analytics/reaggregation_worker_spec.rb983ee/spec/lib/ee/api/helpers/variables_helpers_spec.rb984ee/spec/workers/elastic_full_index_worker_spec.rb985ee/spec/workers/merge_trains/refresh_worker_spec.rb986ee/spec/services/sbom/ingestion/tasks/ingest_sources_spec.rb987ee/spec/lib/gitlab/usage/metrics/instrumentations/count_enterprise_users_based_on_domain_verification_metric_spec.rb988ee/spec/models/geo/push_user_spec.rb989ee/spec/helpers/ee/emails_helper_spec.rb990ee/spec/lib/gitlab/regex_spec.rb991ee/spec/helpers/projects/security/discover_helper_spec.rb992ee/spec/support_specs/license_metadata_tags_spec.rb993ee/spec/lib/gitlab/path_locks_finder_spec.rb994ee/spec/serializers/analytics/cycle_analytics/value_stream_errors_serializer_spec.rb995ee/spec/graphql/ee/types/merge_request_type_spec.rb996ee/spec/workers/security/auto_fix_worker_spec.rb997ee/spec/services/elastic/index_projects_service_spec.rb998ee/spec/graphql/types/ci/minutes/project_monthly_usage_type_spec.rb999ee/spec/graphql/resolvers/security_report_summary_resolver_spec.rb1000ee/spec/graphql/types/geo/pages_deployment_registry_type_spec.rb1001ee/spec/services/security/security_orchestration_policies/sync_scan_result_policies_project_service_spec.rb1002ee/spec/graphql/types/iterations/cadence_type_spec.rb1003ee/spec/models/ee/namespace_ci_cd_setting_spec.rb1004ee/spec/views/layouts/header/_read_only_banner.html.haml_spec.rb1005ee/spec/components/namespaces/storage/user_pre_enforcement_alert_component_spec.rb1006ee/spec/lib/gitlab/usage/metrics/instrumentations/count_event_streaming_destinations_metric_spec.rb1007ee/spec/elastic/migrate/20210510113500_delete_merge_requests_from_original_index_spec.rb1008ee/spec/graphql/ee/types/alert_management/http_integration_type_spec.rb1009ee/spec/lib/gitlab/import_export/group/group_and_descendants_repo_saver_spec.rb1010ee/spec/serializers/metrics_report_metric_entity_spec.rb1011ee/spec/graphql/types/approval_rule_type_spec.rb1012ee/spec/elastic/migrate/20210429154500_migrate_merge_requests_to_separate_index_spec.rb1013ee/spec/lib/gitlab/patch/database_config_spec.rb1014ee/spec/serializers/dashboard_environments_project_entity_spec.rb1015ee/spec/services/boards/epic_boards/destroy_service_spec.rb1016ee/spec/graphql/types/vulnerability/issue_link_type_enum_spec.rb1017ee/spec/models/storage_shard_spec.rb1018ee/spec/presenters/security/scan_presenter_spec.rb1019ee/spec/helpers/ee/work_items_helper_spec.rb1020ee/spec/models/integrations/slack_workspace/api_scope_spec.rb1021ee/spec/graphql/types/vulnerability_location/secret_detection_type_spec.rb1022ee/spec/graphql/types/security/training_url_type_spec.rb1023ee/spec/models/ee/work_items/widget_definition_spec.rb1024ee/spec/models/geo/upload_state_spec.rb1025ee/spec/graphql/types/security_orchestration/group_security_policy_source_type_spec.rb1026ee/spec/lib/gitlab/gl_repository_spec.rb1027ee/spec/lib/ee/api/entities/ci/minutes/additional_pack_spec.rb1028ee/spec/graphql/types/vulnerability_details/table_type_spec.rb1029Filter specs:1030Running specs:1031Running all node tests without filter1032ee/spec/lib/gitlab/elastic/search_results_spec.rb1033ee/spec/models/ee/namespace_spec.rb1034ee/spec/models/issue_spec.rb1035ee/spec/replicators/geo/job_artifact_replicator_spec.rb1036ee/spec/replicators/geo/package_file_replicator_spec.rb1037ee/spec/lib/compliance_management/merge_request_approval_settings/resolver_spec.rb1038ee/spec/finders/geo/terraform_state_version_registry_finder_spec.rb1039ee/spec/lib/gitlab/usage_data_metrics_spec.rb1040ee/spec/lib/gitlab/ci/templates/sast_gitlab_ci_yaml_spec.rb1041ee/spec/replicators/geo/lfs_object_replicator_spec.rb1042ee/spec/finders/autocomplete/vulnerabilities_autocomplete_finder_spec.rb1043ee/spec/models/requirements_management/requirement_spec.rb1044ee/spec/finders/merge_requests_finder_spec.rb1045ee/spec/models/group_member_spec.rb1046ee/spec/serializers/dashboard_operations_project_entity_spec.rb1047ee/spec/services/security/security_orchestration_policies/rule_schedule_service_spec.rb1048ee/spec/models/ee/protected_branch_spec.rb1049ee/spec/finders/geo/repository_verification_finder_spec.rb1050ee/spec/services/merge_requests/reset_approvals_service_spec.rb1051ee/spec/workers/app_sec/dast/profile_schedule_worker_spec.rb1052ee/spec/services/requirements_management/import_csv_service_spec.rb1053ee/spec/services/groups/memberships/export_service_spec.rb1054ee/spec/workers/geo/repository_registry_sync_worker_spec.rb1055ee/spec/lib/gitlab/ci/templates/secure_binaries_ci_yaml_spec.rb1056ee/spec/services/groups/sync_service_spec.rb1057ee/spec/lib/ee/gitlab/web_hooks/rate_limiter_spec.rb1058ee/spec/services/ee/merge_requests/create_service_spec.rb1059ee/spec/services/issues/export_csv_service_spec.rb1060ee/spec/graphql/types/dast_site_profile_type_spec.rb1061ee/spec/services/protected_environments/create_service_spec.rb1062ee/spec/graphql/mutations/dast/profiles/create_spec.rb1063ee/spec/models/audit_events/external_audit_event_destination_spec.rb1064ee/spec/lib/gitlab/import_export/project/custom_template_restorer_spec.rb1065ee/spec/lib/gitlab/ci/reports/license_scanning/report_spec.rb1066ee/spec/helpers/timeboxes_helper_spec.rb1067ee/spec/models/ee/pages_deployment_spec.rb1068ee/spec/lib/gitlab/ci/templates/dast_gitlab_ci_yaml_spec.rb1069ee/spec/lib/gitlab/import_export/group/relation_factory_spec.rb1070ee/spec/models/milestone_release_spec.rb1071ee/spec/services/ee/users/destroy_service_spec.rb1072ee/spec/models/ee/dependency_proxy/blob_spec.rb1073ee/spec/workers/sync_seat_link_request_worker_spec.rb1074ee/spec/finders/security/scan_execution_policies_finder_spec.rb1075ee/spec/services/geo/repository_updated_service_spec.rb1076ee/spec/lib/gitlab/geo/oauth/logout_token_spec.rb1077ee/spec/models/ee/integrations/jira_spec.rb1078ee/spec/elastic/migrate/20220824133000_add_hidden_to_issues_spec.rb1079ee/spec/lib/gitlab/auth/ldap/user_spec.rb1080ee/spec/workers/refresh_license_compliance_checks_worker_spec.rb1081ee/spec/models/concerns/ee/project_security_scanners_information_spec.rb1082ee/spec/services/vulnerability_merge_request_links/create_service_spec.rb1083ee/spec/lib/gitlab/geo/event_gap_tracking_spec.rb1084ee/spec/services/groups/mark_for_deletion_service_spec.rb1085ee/spec/lib/gitlab/com_spec.rb1086ee/spec/services/wiki_pages/create_service_spec.rb1087ee/spec/services/security/orchestration/unassign_service_spec.rb1088ee/spec/graphql/resolvers/geo/dependency_proxy_manifest_registries_resolver_spec.rb1089ee/spec/services/upcoming_reconciliations/update_service_spec.rb1090ee/spec/lib/gitlab/graphql/aggregations/epics/lazy_epic_aggregate_spec.rb1091ee/spec/models/release_highlight_spec.rb1092ee/spec/serializers/ee/issue_sidebar_basic_entity_spec.rb1093ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_label_added_spec.rb1094ee/spec/lib/ee/gitlab/import_export/importer_spec.rb1095ee/spec/services/boards/epics/position_create_service_spec.rb1096ee/spec/policies/app_sec/fuzzing/coverage/corpus_policy_spec.rb1097ee/spec/services/resource_events/change_weight_service_spec.rb1098ee/spec/lib/gitlab/insights/project_insights_config_spec.rb1099ee/spec/lib/gitlab/usage/metrics/instrumentations/protected_environments_required_approvals_average_metric_spec.rb1100ee/spec/graphql/types/vulnerability_request_type_spec.rb1101ee/spec/services/ee/users/create_service_spec.rb1102ee/spec/services/work_items/widgets/status_service/update_service_spec.rb1103ee/spec/services/phone_verification/users/verify_code_service_spec.rb1104ee/spec/services/epic_issues/update_service_spec.rb1105ee/spec/models/project_alias_spec.rb1106ee/spec/graphql/mutations/boards/epic_boards/update_spec.rb1107ee/spec/services/security/security_orchestration_policies/operational_vulnerabilities_configuration_service_spec.rb1108ee/spec/services/app_sec/dast/scan_configs/fetch_service_spec.rb1109ee/spec/services/notes/create_visual_review_service_spec.rb1110ee/spec/services/milestones/destroy_service_spec.rb1111ee/spec/lib/ee/gitlab/ci/config/entry/bridge_spec.rb1112ee/spec/services/users/email_verification/send_custom_confirmation_instructions_service_spec.rb1113ee/spec/workers/dependencies/export_worker_spec.rb1114ee/spec/services/incident_management/issuable_resource_links/destroy_service_spec.rb1115ee/spec/lib/ee/gitlab/background_migration/populate_approval_project_rules_with_security_orchestration_spec.rb1116ee/spec/views/clusters/clusters/show.html.haml_spec.rb1117ee/spec/lib/gitlab/geo/geo_tasks_spec.rb1118ee/spec/lib/gitlab/exclusive_lease_spec.rb1119ee/spec/lib/gitlab/ci/templates/Verify/load_performance_testing_gitlab_ci_yaml_spec.rb1120ee/spec/lib/gitlab/prometheus/queries/additional_metrics_environment_query_spec.rb1121ee/spec/workers/requirements_management/import_requirements_csv_worker_spec.rb1122ee/spec/services/projects/protect_default_branch_service_spec.rb1123ee/spec/graphql/types/instance_security_dashboard_type_spec.rb1124ee/spec/serializers/ee/user_serializer_spec.rb1125ee/spec/services/issue_feature_flags/list_service_spec.rb1126ee/spec/graphql/ee/resolvers/board_lists_resolver_spec.rb1127ee/spec/graphql/types/scan_type_spec.rb1128ee/spec/graphql/resolvers/path_locks_resolver_spec.rb1129ee/spec/services/groups/epics_count_service_spec.rb1130ee/spec/graphql/types/work_items/widget_interface_spec.rb1131ee/spec/graphql/graphql_triggers_spec.rb1132ee/spec/lib/ee/api/entities/member_spec.rb1133ee/spec/elastic/migrate/20210623081800_add_upvotes_to_issues_spec.rb1134ee/spec/lib/banzai/filter/issuable_reference_expansion_filter_spec.rb1135ee/spec/lib/gitlab/import_export/project/deploy_keys_restorer_spec.rb1136ee/spec/workers/search/index_curation_worker_spec.rb1137ee/spec/models/board_user_preference_spec.rb1138ee/spec/lib/gitlab/usage_data_counters/value_streams_dashboard_counter_spec.rb1139ee/spec/services/audit_events/runners_token_audit_event_service_spec.rb1140ee/spec/workers/projects/register_suggested_reviewers_project_worker_spec.rb1141ee/spec/serializers/vulnerabilities/request_entity_spec.rb1142ee/spec/elastic/migrate/20210910094600_add_namespace_ancestry_ids_to_issues_mapping_spec.rb1143ee/spec/finders/security/training_providers/kontra_url_finder_spec.rb1144ee/spec/models/dora/change_failure_rate_metric_spec.rb1145ee/spec/workers/merge_requests/sync_code_owner_approval_rules_worker_spec.rb1146ee/spec/lib/gitlab/graphql/aggregations/epics/epic_node_spec.rb1147ee/spec/policies/approval_state_policy_spec.rb1148ee/spec/services/todos/allowed_target_filter_service_spec.rb1149ee/spec/graphql/mutations/incident_management/oncall_schedule/destroy_spec.rb1150ee/spec/lib/ee/event_filter_spec.rb1151ee/spec/lib/gitlab/graphql/aggregations/security_orchestration_policies/lazy_dast_profile_aggregate_spec.rb1152ee/spec/workers/ldap_group_sync_worker_spec.rb1153ee/spec/views/layouts/header/help_dropdown/_cross_stage_fdm.html.haml_spec.rb1154ee/spec/graphql/mutations/audit_events/streaming/headers/destroy_spec.rb1155ee/spec/components/namespaces/free_user_cap/non_owner_enforcement_alert_component_spec.rb1156ee/spec/services/ee/projects/deploy_tokens/destroy_service_spec.rb1157ee/spec/services/geo/container_repository_registry_removal_service_spec.rb1158ee/spec/workers/analytics/cycle_analytics/reaggregation_worker_spec.rb1159ee/spec/lib/ee/api/helpers/variables_helpers_spec.rb1160ee/spec/workers/elastic_full_index_worker_spec.rb1161ee/spec/workers/merge_trains/refresh_worker_spec.rb1162ee/spec/services/sbom/ingestion/tasks/ingest_sources_spec.rb1163ee/spec/lib/gitlab/usage/metrics/instrumentations/count_enterprise_users_based_on_domain_verification_metric_spec.rb1164ee/spec/models/geo/push_user_spec.rb1165ee/spec/helpers/ee/emails_helper_spec.rb1166ee/spec/lib/gitlab/regex_spec.rb1167ee/spec/helpers/projects/security/discover_helper_spec.rb1168ee/spec/support_specs/license_metadata_tags_spec.rb1169ee/spec/lib/gitlab/path_locks_finder_spec.rb1170ee/spec/serializers/analytics/cycle_analytics/value_stream_errors_serializer_spec.rb1171ee/spec/graphql/ee/types/merge_request_type_spec.rb1172ee/spec/workers/security/auto_fix_worker_spec.rb1173ee/spec/services/elastic/index_projects_service_spec.rb1174ee/spec/graphql/types/ci/minutes/project_monthly_usage_type_spec.rb1175ee/spec/graphql/resolvers/security_report_summary_resolver_spec.rb1176ee/spec/graphql/types/geo/pages_deployment_registry_type_spec.rb1177ee/spec/services/security/security_orchestration_policies/sync_scan_result_policies_project_service_spec.rb1178ee/spec/graphql/types/iterations/cadence_type_spec.rb1179ee/spec/models/ee/namespace_ci_cd_setting_spec.rb1180ee/spec/views/layouts/header/_read_only_banner.html.haml_spec.rb1181ee/spec/components/namespaces/storage/user_pre_enforcement_alert_component_spec.rb1182ee/spec/lib/gitlab/usage/metrics/instrumentations/count_event_streaming_destinations_metric_spec.rb1183ee/spec/elastic/migrate/20210510113500_delete_merge_requests_from_original_index_spec.rb1184ee/spec/graphql/ee/types/alert_management/http_integration_type_spec.rb1185ee/spec/lib/gitlab/import_export/group/group_and_descendants_repo_saver_spec.rb1186ee/spec/serializers/metrics_report_metric_entity_spec.rb1187ee/spec/graphql/types/approval_rule_type_spec.rb1188ee/spec/elastic/migrate/20210429154500_migrate_merge_requests_to_separate_index_spec.rb1189ee/spec/lib/gitlab/patch/database_config_spec.rb1190ee/spec/serializers/dashboard_environments_project_entity_spec.rb1191ee/spec/services/boards/epic_boards/destroy_service_spec.rb1192ee/spec/graphql/types/vulnerability/issue_link_type_enum_spec.rb1193ee/spec/models/storage_shard_spec.rb1194ee/spec/presenters/security/scan_presenter_spec.rb1195ee/spec/helpers/ee/work_items_helper_spec.rb1196ee/spec/models/integrations/slack_workspace/api_scope_spec.rb1197ee/spec/graphql/types/vulnerability_location/secret_detection_type_spec.rb1198ee/spec/graphql/types/security/training_url_type_spec.rb1199ee/spec/models/ee/work_items/widget_definition_spec.rb1200ee/spec/models/geo/upload_state_spec.rb1201ee/spec/graphql/types/security_orchestration/group_security_policy_source_type_spec.rb1202ee/spec/lib/gitlab/gl_repository_spec.rb1203ee/spec/lib/ee/api/entities/ci/minutes/additional_pack_spec.rb1204ee/spec/graphql/types/vulnerability_details/table_type_spec.rb1205Running all node tests without filter1206Running all node tests without filter1207Running 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/lib/gitlab/elastic/search_results_spec.rb ee/spec/models/ee/namespace_spec.rb ee/spec/models/issue_spec.rb ee/spec/replicators/geo/job_artifact_replicator_spec.rb ee/spec/replicators/geo/package_file_replicator_spec.rb ee/spec/lib/compliance_management/merge_request_approval_settings/resolver_spec.rb ee/spec/finders/geo/terraform_state_version_registry_finder_spec.rb ee/spec/lib/gitlab/usage_data_metrics_spec.rb ee/spec/lib/gitlab/ci/templates/sast_gitlab_ci_yaml_spec.rb ee/spec/replicators/geo/lfs_object_replicator_spec.rb ee/spec/finders/autocomplete/vulnerabilities_autocomplete_finder_spec.rb ee/spec/models/requirements_management/requirement_spec.rb ee/spec/finders/merge_requests_finder_spec.rb ee/spec/models/group_member_spec.rb ee/spec/serializers/dashboard_operations_project_entity_spec.rb ee/spec/services/security/security_orchestration_policies/rule_schedule_service_spec.rb ee/spec/models/ee/protected_branch_spec.rb ee/spec/finders/geo/repository_verification_finder_spec.rb ee/spec/services/merge_requests/reset_approvals_service_spec.rb ee/spec/workers/app_sec/dast/profile_schedule_worker_spec.rb ee/spec/services/requirements_management/import_csv_service_spec.rb ee/spec/services/groups/memberships/export_service_spec.rb ee/spec/workers/geo/repository_registry_sync_worker_spec.rb ee/spec/lib/gitlab/ci/templates/secure_binaries_ci_yaml_spec.rb ee/spec/services/groups/sync_service_spec.rb ee/spec/lib/ee/gitlab/web_hooks/rate_limiter_spec.rb ee/spec/services/ee/merge_requests/create_service_spec.rb ee/spec/services/issues/export_csv_service_spec.rb ee/spec/graphql/types/dast_site_profile_type_spec.rb ee/spec/services/protected_environments/create_service_spec.rb ee/spec/graphql/mutations/dast/profiles/create_spec.rb ee/spec/models/audit_events/external_audit_event_destination_spec.rb ee/spec/lib/gitlab/import_export/project/custom_template_restorer_spec.rb ee/spec/lib/gitlab/ci/reports/license_scanning/report_spec.rb ee/spec/helpers/timeboxes_helper_spec.rb ee/spec/models/ee/pages_deployment_spec.rb ee/spec/lib/gitlab/ci/templates/dast_gitlab_ci_yaml_spec.rb ee/spec/lib/gitlab/import_export/group/relation_factory_spec.rb ee/spec/models/milestone_release_spec.rb ee/spec/services/ee/users/destroy_service_spec.rb ee/spec/models/ee/dependency_proxy/blob_spec.rb ee/spec/workers/sync_seat_link_request_worker_spec.rb ee/spec/finders/security/scan_execution_policies_finder_spec.rb ee/spec/services/geo/repository_updated_service_spec.rb ee/spec/lib/gitlab/geo/oauth/logout_token_spec.rb ee/spec/models/ee/integrations/jira_spec.rb ee/spec/elastic/migrate/20220824133000_add_hidden_to_issues_spec.rb ee/spec/lib/gitlab/auth/ldap/user_spec.rb ee/spec/workers/refresh_license_compliance_checks_worker_spec.rb ee/spec/models/concerns/ee/project_security_scanners_information_spec.rb ee/spec/services/vulnerability_merge_request_links/create_service_spec.rb ee/spec/lib/gitlab/geo/event_gap_tracking_spec.rb ee/spec/services/groups/mark_for_deletion_service_spec.rb ee/spec/lib/gitlab/com_spec.rb ee/spec/services/wiki_pages/create_service_spec.rb ee/spec/services/security/orchestration/unassign_service_spec.rb ee/spec/graphql/resolvers/geo/dependency_proxy_manifest_registries_resolver_spec.rb ee/spec/services/upcoming_reconciliations/update_service_spec.rb ee/spec/lib/gitlab/graphql/aggregations/epics/lazy_epic_aggregate_spec.rb ee/spec/models/release_highlight_spec.rb ee/spec/serializers/ee/issue_sidebar_basic_entity_spec.rb ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_label_added_spec.rb ee/spec/lib/ee/gitlab/import_export/importer_spec.rb ee/spec/services/boards/epics/position_create_service_spec.rb ee/spec/policies/app_sec/fuzzing/coverage/corpus_policy_spec.rb ee/spec/services/resource_events/change_weight_service_spec.rb ee/spec/lib/gitlab/insights/project_insights_config_spec.rb ee/spec/lib/gitlab/usage/metrics/instrumentations/protected_environments_required_approvals_average_metric_spec.rb ee/spec/graphql/types/vulnerability_request_type_spec.rb ee/spec/services/ee/users/create_service_spec.rb ee/spec/services/work_items/widgets/status_service/update_service_spec.rb ee/spec/services/phone_verification/users/verify_code_service_spec.rb ee/spec/services/epic_issues/update_service_spec.rb ee/spec/models/project_alias_spec.rb ee/spec/graphql/mutations/boards/epic_boards/update_spec.rb ee/spec/services/security/security_orchestration_policies/operational_vulnerabilities_configuration_service_spec.rb ee/spec/services/app_sec/dast/scan_configs/fetch_service_spec.rb ee/spec/services/notes/create_visual_review_service_spec.rb ee/spec/services/milestones/destroy_service_spec.rb ee/spec/lib/ee/gitlab/ci/config/entry/bridge_spec.rb ee/spec/services/users/email_verification/send_custom_confirmation_instructions_service_spec.rb ee/spec/workers/dependencies/export_worker_spec.rb ee/spec/services/incident_management/issuable_resource_links/destroy_service_spec.rb ee/spec/lib/ee/gitlab/background_migration/populate_approval_project_rules_with_security_orchestration_spec.rb ee/spec/views/clusters/clusters/show.html.haml_spec.rb ee/spec/lib/gitlab/geo/geo_tasks_spec.rb ee/spec/lib/gitlab/exclusive_lease_spec.rb ee/spec/lib/gitlab/ci/templates/Verify/load_performance_testing_gitlab_ci_yaml_spec.rb ee/spec/lib/gitlab/prometheus/queries/additional_metrics_environment_query_spec.rb ee/spec/workers/requirements_management/import_requirements_csv_worker_spec.rb ee/spec/services/projects/protect_default_branch_service_spec.rb ee/spec/graphql/types/instance_security_dashboard_type_spec.rb ee/spec/serializers/ee/user_serializer_spec.rb ee/spec/services/issue_feature_flags/list_service_spec.rb ee/spec/graphql/ee/resolvers/board_lists_resolver_spec.rb ee/spec/graphql/types/scan_type_spec.rb ee/spec/graphql/resolvers/path_locks_resolver_spec.rb ee/spec/services/groups/epics_count_service_spec.rb ee/spec/graphql/types/work_items/widget_interface_spec.rb ee/spec/graphql/graphql_triggers_spec.rb ee/spec/lib/ee/api/entities/member_spec.rb ee/spec/elastic/migrate/20210623081800_add_upvotes_to_issues_spec.rb ee/spec/lib/banzai/filter/issuable_reference_expansion_filter_spec.rb ee/spec/lib/gitlab/import_export/project/deploy_keys_restorer_spec.rb ee/spec/workers/search/index_curation_worker_spec.rb ee/spec/models/board_user_preference_spec.rb ee/spec/lib/gitlab/usage_data_counters/value_streams_dashboard_counter_spec.rb ee/spec/services/audit_events/runners_token_audit_event_service_spec.rb ee/spec/workers/projects/register_suggested_reviewers_project_worker_spec.rb ee/spec/serializers/vulnerabilities/request_entity_spec.rb ee/spec/elastic/migrate/20210910094600_add_namespace_ancestry_ids_to_issues_mapping_spec.rb ee/spec/finders/security/training_providers/kontra_url_finder_spec.rb ee/spec/models/dora/change_failure_rate_metric_spec.rb ee/spec/workers/merge_requests/sync_code_owner_approval_rules_worker_spec.rb ee/spec/lib/gitlab/graphql/aggregations/epics/epic_node_spec.rb ee/spec/policies/approval_state_policy_spec.rb ee/spec/services/todos/allowed_target_filter_service_spec.rb ee/spec/graphql/mutations/incident_management/oncall_schedule/destroy_spec.rb ee/spec/lib/ee/event_filter_spec.rb ee/spec/lib/gitlab/graphql/aggregations/security_orchestration_policies/lazy_dast_profile_aggregate_spec.rb ee/spec/workers/ldap_group_sync_worker_spec.rb ee/spec/views/layouts/header/help_dropdown/_cross_stage_fdm.html.haml_spec.rb ee/spec/graphql/mutations/audit_events/streaming/headers/destroy_spec.rb ee/spec/components/namespaces/free_user_cap/non_owner_enforcement_alert_component_spec.rb ee/spec/services/ee/projects/deploy_tokens/destroy_service_spec.rb ee/spec/services/geo/container_repository_registry_removal_service_spec.rb ee/spec/workers/analytics/cycle_analytics/reaggregation_worker_spec.rb ee/spec/lib/ee/api/helpers/variables_helpers_spec.rb ee/spec/workers/elastic_full_index_worker_spec.rb ee/spec/workers/merge_trains/refresh_worker_spec.rb ee/spec/services/sbom/ingestion/tasks/ingest_sources_spec.rb ee/spec/lib/gitlab/usage/metrics/instrumentations/count_enterprise_users_based_on_domain_verification_metric_spec.rb ee/spec/models/geo/push_user_spec.rb ee/spec/helpers/ee/emails_helper_spec.rb ee/spec/lib/gitlab/regex_spec.rb ee/spec/helpers/projects/security/discover_helper_spec.rb ee/spec/support_specs/license_metadata_tags_spec.rb ee/spec/lib/gitlab/path_locks_finder_spec.rb ee/spec/serializers/analytics/cycle_analytics/value_stream_errors_serializer_spec.rb ee/spec/graphql/ee/types/merge_request_type_spec.rb ee/spec/workers/security/auto_fix_worker_spec.rb ee/spec/services/elastic/index_projects_service_spec.rb ee/spec/graphql/types/ci/minutes/project_monthly_usage_type_spec.rb ee/spec/graphql/resolvers/security_report_summary_resolver_spec.rb ee/spec/graphql/types/geo/pages_deployment_registry_type_spec.rb ee/spec/services/security/security_orchestration_policies/sync_scan_result_policies_project_service_spec.rb ee/spec/graphql/types/iterations/cadence_type_spec.rb ee/spec/models/ee/namespace_ci_cd_setting_spec.rb ee/spec/views/layouts/header/_read_only_banner.html.haml_spec.rb ee/spec/components/namespaces/storage/user_pre_enforcement_alert_component_spec.rb ee/spec/lib/gitlab/usage/metrics/instrumentations/count_event_streaming_destinations_metric_spec.rb ee/spec/elastic/migrate/20210510113500_delete_merge_requests_from_original_index_spec.rb ee/spec/graphql/ee/types/alert_management/http_integration_type_spec.rb ee/spec/lib/gitlab/import_export/group/group_and_descendants_repo_saver_spec.rb ee/spec/serializers/metrics_report_metric_entity_spec.rb ee/spec/graphql/types/approval_rule_type_spec.rb ee/spec/elastic/migrate/20210429154500_migrate_merge_requests_to_separate_index_spec.rb ee/spec/lib/gitlab/patch/database_config_spec.rb ee/spec/serializers/dashboard_environments_project_entity_spec.rb ee/spec/services/boards/epic_boards/destroy_service_spec.rb ee/spec/graphql/types/vulnerability/issue_link_type_enum_spec.rb ee/spec/models/storage_shard_spec.rb ee/spec/presenters/security/scan_presenter_spec.rb ee/spec/helpers/ee/work_items_helper_spec.rb ee/spec/models/integrations/slack_workspace/api_scope_spec.rb ee/spec/graphql/types/vulnerability_location/secret_detection_type_spec.rb ee/spec/graphql/types/security/training_url_type_spec.rb ee/spec/models/ee/work_items/widget_definition_spec.rb ee/spec/models/geo/upload_state_spec.rb ee/spec/graphql/types/security_orchestration/group_security_policy_source_type_spec.rb ee/spec/lib/gitlab/gl_repository_spec.rb ee/spec/lib/ee/api/entities/ci/minutes/additional_pack_spec.rb ee/spec/graphql/types/vulnerability_details/table_type_spec.rbKnapsack report generator started!1208WARNING: Shared example group 'a counter of succeeded available verifiables' has been previously defined at:1209 /builds/gitlab-org/gitlab/ee/spec/support/shared_examples/models/concerns/verifiable_replicator_shared_examples.rb:551210...and you are now defining it at:1211 /builds/gitlab-org/gitlab/ee/spec/support/shared_examples/models/concerns/verifiable_replicator_shared_examples.rb:551212The new definition will overwrite the original one.1213WARNING: Shared example group 'a counter of failed available verifiables' has been previously defined at:1214 /builds/gitlab-org/gitlab/ee/spec/support/shared_examples/models/concerns/verifiable_replicator_shared_examples.rb:1561215...and you are now defining it at:1216 /builds/gitlab-org/gitlab/ee/spec/support/shared_examples/models/concerns/verifiable_replicator_shared_examples.rb:1561217The new definition will overwrite the original one.1218WARNING: Shared example group 'a counter of succeeded available verifiables' has been previously defined at:1219 /builds/gitlab-org/gitlab/ee/spec/support/shared_examples/models/concerns/verifiable_replicator_shared_examples.rb:551220...and you are now defining it at:1221 /builds/gitlab-org/gitlab/ee/spec/support/shared_examples/models/concerns/verifiable_replicator_shared_examples.rb:551222The new definition will overwrite the original one.1223WARNING: Shared example group 'a counter of failed available verifiables' has been previously defined at:1224 /builds/gitlab-org/gitlab/ee/spec/support/shared_examples/models/concerns/verifiable_replicator_shared_examples.rb:1561225...and you are now defining it at:1226 /builds/gitlab-org/gitlab/ee/spec/support/shared_examples/models/concerns/verifiable_replicator_shared_examples.rb:1561227The new definition will overwrite the original one.1228Run options: exclude {:quarantine=>true, :level=>"background_migration"}1229Test environment set up in 0.73675232 seconds1230Gitlab::Elastic::SearchResults1231 #highlight_map1232 scope: "projects", results_method: :projects, expected: {1=>"test <span class=\"gl-text-gray-900 gl-font-weight-bold\">highlight</span>"}1233 returns the expected highlight map1234 scope: "milestones", results_method: :milestones, expected: {1=>"test <span class=\"gl-text-gray-900 gl-font-weight-bold\">highlight</span>"}1235 returns the expected highlight map1236 scope: "notes", results_method: :notes, expected: {1=>"test <span class=\"gl-text-gray-900 gl-font-weight-bold\">highlight</span>"}1237 returns the expected highlight map1238 scope: "issues", results_method: :issues, expected: {1=>"test <span class=\"gl-text-gray-900 gl-font-weight-bold\">highlight</span>"}1239 returns the expected highlight map1240 scope: "merge_requests", results_method: :merge_requests, expected: {1=>"test <span class=\"gl-text-gray-900 gl-font-weight-bold\">highlight</span>"}1241 returns the expected highlight map1242 scope: "blobs", results_method: nil, expected: nil1243 returns the expected highlight map1244 scope: "wiki_blobs", results_method: nil, expected: nil1245 returns the expected highlight map1246 scope: "commits", results_method: nil, expected: nil1247 returns the expected highlight map1248 scope: "users", results_method: nil, expected: nil1249 returns the expected highlight map1250 scope: "unknown", results_method: nil, expected: nil1251 returns the expected highlight map1252 #formatted_count1253 scope: "projects", count_method: :projects_count, value: 0, expected: "0"1254 returns the expected formatted count limited and delimited1255 scope: "notes", count_method: :notes_count, value: 100, expected: "100"1256 returns the expected formatted count limited and delimited1257 scope: "blobs", count_method: :blobs_count, value: 1000, expected: "1,000"1258 returns the expected formatted count limited and delimited1259 scope: "wiki_blobs", count_method: :wiki_blobs_count, value: 1111, expected: "1,111"1260 returns the expected formatted count limited and delimited1261 scope: "commits", count_method: :commits_count, value: 9999, expected: "9,999"1262 returns the expected formatted count limited and delimited1263 scope: "issues", count_method: :issues_count, value: 10000, expected: "10,000+"1264 returns the expected formatted count limited and delimited1265 scope: "merge_requests", count_method: :merge_requests_count, value: 20000, expected: "10,000+"1266 returns the expected formatted count limited and delimited1267 scope: "milestones", count_method: :milestones_count, value: nil, expected: "0"1268 returns the expected formatted count limited and delimited1269 scope: "users", count_method: :users_count, value: 100, expected: "100"1270 returns the expected formatted count limited and delimited1271 scope: "unknown", count_method: nil, value: nil, expected: nil1272 returns the expected formatted count limited and delimited1273 #aggregations1274 scope: "projects", expected_aggregation_name: nil, feature_flag: false1275 when feature flag is enabled for user1276 behaves like loads expected aggregations1277 returns the expected aggregations1278 when feature flag is disabled for user1279 behaves like loads expected aggregations1280 returns the expected aggregations1281 scope: "milestones", expected_aggregation_name: nil, feature_flag: false1282 when feature flag is enabled for user1283 behaves like loads expected aggregations1284 returns the expected aggregations1285 when feature flag is disabled for user1286 behaves like loads expected aggregations1287 returns the expected aggregations1288 scope: "notes", expected_aggregation_name: nil, feature_flag: false1289 when feature flag is enabled for user1290 behaves like loads expected aggregations1291 returns the expected aggregations1292 when feature flag is disabled for user1293 behaves like loads expected aggregations1294 returns the expected aggregations1295 scope: "issues", expected_aggregation_name: "labels", feature_flag: :search_issue_label_aggregation1296 when feature flag is enabled for user1297 behaves like loads expected aggregations1298 returns the expected aggregations1299 when feature flag is disabled for user1300 behaves like loads expected aggregations1301 returns the expected aggregations1302 scope: "merge_requests", expected_aggregation_name: nil, feature_flag: false1303 when feature flag is enabled for user1304 behaves like loads expected aggregations1305 returns the expected aggregations1306 when feature flag is disabled for user1307 behaves like loads expected aggregations1308 returns the expected aggregations1309 scope: "wiki_blobs", expected_aggregation_name: nil, feature_flag: false1310 when feature flag is enabled for user1311 behaves like loads expected aggregations1312 returns the expected aggregations1313 when feature flag is disabled for user1314 behaves like loads expected aggregations1315 returns the expected aggregations1316 scope: "commits", expected_aggregation_name: nil, feature_flag: false1317 when feature flag is enabled for user1318 behaves like loads expected aggregations1319 returns the expected aggregations1320 when feature flag is disabled for user1321 behaves like loads expected aggregations1322 returns the expected aggregations1323 scope: "users", expected_aggregation_name: nil, feature_flag: false1324 when feature flag is enabled for user1325 behaves like loads expected aggregations1326 returns the expected aggregations1327 when feature flag is disabled for user1328 behaves like loads expected aggregations1329 returns the expected aggregations1330 scope: "epics", expected_aggregation_name: nil, feature_flag: false1331 when feature flag is enabled for user1332 behaves like loads expected aggregations1333 returns the expected aggregations1334 when feature flag is disabled for user1335 behaves like loads expected aggregations1336 returns the expected aggregations1337 scope: "unknown", expected_aggregation_name: nil, feature_flag: false1338 when feature flag is enabled for user1339 behaves like loads expected aggregations1340 returns the expected aggregations1341 when feature flag is disabled for user1342 behaves like loads expected aggregations1343 returns the expected aggregations1344 scope: "blobs", expected_aggregation_name: "language", feature_flag: false1345 when feature flag is enabled for user1346 behaves like loads expected aggregations1347 returns the expected aggregations1348 when feature flag is disabled for user1349 behaves like loads expected aggregations1350 returns the expected aggregations1351 parse_search_result1352 returns an unhighlighted blob when no highlight data is present1353 parses the blob with highlighting1354 sets the correct matched_lines_count when the searched text found on the multiple lines1355 when the highlighting finds the same terms multiple times1356 does not mistake a line that happens to include the same term that was highlighted on a later line1357 file path in the blob contains potential backtracking regex attack pattern1358 still parses the basename from the path with reasonable amount of time1359 issues1360 lists found issues1361 returns empty list when issues are not found1362 lists issue when search by a valid iid1363 can also find an issue by iid without the prefixed #1364 finds the issue with an out of integer range number in its description without exception1365 returns empty list when search by invalid iid1366 handles plural words through algorithmic stemming1367 executes count only queries1368 behaves like a paginated object1369 does not explode when given a page as a string1370 paginates1371 uses the per_page value if passed1372 filtering1373 state not provided1374 returns opened and closed results1375 all state1376 returns opened and closed results1377 closed state1378 returns only closed results1379 opened state1380 returns only opened results1381 unsupported state1382 returns only opened results1383 filter not provided (all behavior)1384 returns confidential and not confidential results1385 confidential filter1386 returns only confidential results1387 not confidential filter1388 returns not confidential results1389 ordering1390 sort: created_desc1391 sorts results by created_at1392 sort: created_asc1393 sorts results by created_at1394 sort: updated_desc1395 sorts results by updated_desc1396 sort: updated_asc1397 sorts results by updated_asc1398 sort: popularity_desc1399 sorts results by upvotes1400 sort: popularity_asc1401 sorts results by created_at1402 notes1403 lists found notes1404 returns empty list when notes are not found1405 behaves like a paginated object1406 does not explode when given a page as a string1407 paginates1408 uses the per_page value if passed1409 confidential issues1410 search by term1411 does not list confidential issues for guests1412 does not list confidential issues for non project members1413 lists confidential issues for author1414 lists confidential issues for assignee1415 lists confidential issues for project members1416 for admin users1417 when admin mode enabled1418 lists all issues1419 when admin mode disabled1420 does not list confidential issues1421 search by iid1422 does not list confidential issues for guests1423 does not list confidential issues for non project members1424 lists confidential issues for author1425 lists confidential issues for assignee1426 lists confidential issues for project members1427 for admin users1428 when admin mode enabled1429 lists all issues1430 when admin mode disabled1431 does not list confidential issues1432 merge requests1433 lists found merge requests1434 returns empty list when merge requests are not found1435 lists merge request when search by a valid iid1436 can also find an issue by iid without the prefixed !1437 finds the MR with an out of integer range number in its description without exception1438 returns empty list when search by invalid iid1439 behaves like a paginated object1440 does not explode when given a page as a string1441 paginates1442 uses the per_page value if passed1443 filtering1444 state not provided1445 returns opened and closed results1446 all state1447 returns opened and closed results1448 closed state1449 returns only closed results1450 opened state1451 returns only opened results1452 unsupported state1453 returns only opened results1454 ordering1455 sort: created_desc1456 sorts results by created_at1457 sort: created_asc1458 sorts results by created_at1459 sort: updated_desc1460 sorts results by updated_desc1461 sort: updated_asc1462 sorts results by updated_asc1463 users1464 behaves like a paginated object1465 does not explode when given a page as a string1466 paginates1467 uses the per_page value if passed1468 when the user is not allowed to read users1469 returns an empty list1470 when the user is allowed to read users1471 lists found users1472 when the calling user is an admin1473 lists found users including blocked user and email match1474 projects1475 returns items for project1476 blobs1477 finds blobs1478 finds blobs by prefix search1479 finds blobs from public projects only1480 returns zero when blobs are not found1481 behaves like a paginated object1482 does not explode when given a page as a string1483 paginates1484 uses the per_page value if passed1485 searches CamelCased methods1486 find by first word1487 find by first two words (PENDING: Temporarily skipped with xit)1488 find by last two words1489 find by exact match1490 find by prefix search1491 searches with special characters1492 finds all examples1493 filtering1494 behaves like search results filtered by language1495 filters by language1496 wikis1497 finds wiki blobs1498 finds wiki blobs for guest1499 finds wiki blobs from public projects only1500 returns zero when wiki blobs are not found1501 behaves like a paginated object1502 does not explode when given a page as a string1503 paginates1504 uses the per_page value if passed1505 when wiki is disabled1506 search by member1507 is expected to be empty1508 search by non-member1509 is expected to be empty1510 when wiki is internal1511 search by member1512 is expected not to be empty1513 search by non-member1514 is expected to be empty1515 commits1516 finds commits1517 finds commits from public projects only1518 returns zero when commits are not found1519 behaves like a paginated object1520 does not explode when given a page as a string1521 paginates1522 uses the per_page value if passed1523 visibility levels1524 issues1525 finds right set of issues1526 milestones1527 behaves like a paginated object1528 does not explode when given a page as a string1529 paginates1530 uses the per_page value if passed1531 when project ids are present1532 when authenticated1533 when user and merge requests are disabled in a project1534 returns right set of milestones1535 when user is admin1536 when admin mode enabled1537 returns right set of milestones1538 when user can read milestones1539 returns right set of milestones1540 when not authenticated1541 returns right set of milestones1542 when project_ids is not present1543 when project_ids is :any1544 returns all milestones1545 when authenticated1546 returns right set of milestones1547 when not authenticated1548 returns right set of milestones1549 projects1550 finds right set of projects1551 returns 0 results for count only query1552 behaves like a paginated object1553 does not explode when given a page as a string1554 paginates1555 uses the per_page value if passed1556 merge requests1557 finds right set of merge requests1558 wikis1559 finds the right set of wiki blobs1560 commits1561 finds right set of commits1562 blobs1563 finds right set of blobs1564 query performance1565 for scope projects1566 makes 1 Elasticsearch query1567 for scope notes1568 makes 1 Elasticsearch query1569 for scope blobs1570 makes 1 Elasticsearch query1571 for scope wiki_blobs1572 makes 1 Elasticsearch query1573 for scope commits1574 makes 1 Elasticsearch query1575 for scope issues1576 makes 1 Elasticsearch query1577 for scope merge_requests1578 makes 1 Elasticsearch query1579 for scope milestones1580 makes 1 Elasticsearch query1581 for scope projects1582 makes count query1583 for scope notes1584 makes count query1585 for scope blobs1586 makes count query1587 for scope wiki_blobs1588 makes count query1589 for scope commits1590 makes count query1591 for scope issues1592 makes count query1593 for scope merge_requests1594 makes count query1595 for scope milestones1596 makes count query1597Namespace1598 is expected to have one namespace_limit1599 is expected to have one elasticsearch_indexed_namespace1600 is expected to have one security_orchestration_policy_configuration class_name => Security::OrchestrationPolicyConfiguration1601 is expected to have one upcoming_reconciliation1602 is expected to have one storage_limit_exclusion1603 is expected to have many ci_minutes_additional_packs1604 is expected to have many member_roles1605 is expected to delegate #trial? to the #gitlab_subscription object1606 is expected to delegate #trial_ends_on to the #gitlab_subscription object1607 is expected to delegate #trial_starts_on to the #gitlab_subscription object1608 is expected to delegate #upgradable? to the #gitlab_subscription object1609 is expected to delegate #trial_extended_or_reactivated? to the #gitlab_subscription object1610 is expected to delegate #owner_email to the #owner object as #email, allowing #owner to return nil1611 is expected to delegate #additional_purchased_storage_size to the #namespace_limit object1612 is expected to delegate #additional_purchased_storage_size= to the #namespace_limit object passing arguments [:args]1613 is expected to delegate #additional_purchased_storage_ends_on to the #namespace_limit object1614 is expected to delegate #additional_purchased_storage_ends_on= to the #namespace_limit object passing arguments [:args]1615 is expected to delegate #temporary_storage_increase_ends_on to the #namespace_limit object1616 is expected to delegate #temporary_storage_increase_ends_on= to the #namespace_limit object passing arguments [:args]1617 is expected to delegate #temporary_storage_increase_enabled? to the #namespace_limit object1618 is expected to delegate #eligible_for_temporary_storage_increase? to the #namespace_limit object1619 default_plan?1620 behaves like plan helper1621 for a default plan1622 is expected to eq true1623 for a plan that isn't default1624 plan_name: "free"1625 is expected to eq false1626 plan_name: "bronze"1627 is expected to eq false1628 plan_name: "silver"1629 is expected to eq false1630 plan_name: "premium"1631 is expected to eq false1632 plan_name: "gold"1633 is expected to eq false1634 plan_name: "ultimate"1635 is expected to eq false1636 plan_name: "ultimate_trial"1637 is expected to eq false1638 plan_name: "premium_trial"1639 is expected to eq false1640 plan_name: "opensource"1641 is expected to eq false1642 free_plan?1643 behaves like plan helper1644 for a free plan1645 is expected to eq true1646 for a plan that isn't free1647 plan_name: "default"1648 is expected to eq false1649 plan_name: "bronze"1650 is expected to eq false1651 plan_name: "silver"1652 is expected to eq false1653 plan_name: "premium"1654 is expected to eq false1655 plan_name: "gold"1656 is expected to eq false1657 plan_name: "ultimate"1658 is expected to eq false1659 plan_name: "ultimate_trial"1660 is expected to eq false1661 plan_name: "premium_trial"1662 is expected to eq false1663 plan_name: "opensource"1664 is expected to eq false1665 bronze_plan?1666 behaves like plan helper1667 for a bronze plan1668 is expected to eq true1669 for a plan that isn't bronze1670 plan_name: "default"1671 is expected to eq false1672 plan_name: "free"1673 is expected to eq false1674 plan_name: "silver"1675 is expected to eq false1676 plan_name: "premium"1677 is expected to eq false1678 plan_name: "gold"1679 is expected to eq false1680 plan_name: "ultimate"1681 is expected to eq false1682 plan_name: "ultimate_trial"1683 is expected to eq false1684 plan_name: "premium_trial"1685 is expected to eq false1686 plan_name: "opensource"1687 is expected to eq false1688 silver_plan?1689 behaves like plan helper1690 for a silver plan1691 is expected to eq true1692 for a plan that isn't silver1693 plan_name: "default"1694 is expected to eq false1695 plan_name: "free"1696 is expected to eq false1697 plan_name: "bronze"1698 is expected to eq false1699 plan_name: "premium"1700 is expected to eq false1701 plan_name: "gold"1702 is expected to eq false1703 plan_name: "ultimate"1704 is expected to eq false1705 plan_name: "ultimate_trial"1706 is expected to eq false1707 plan_name: "premium_trial"1708 is expected to eq false1709 plan_name: "opensource"1710 is expected to eq false1711 premium_plan?1712 behaves like plan helper1713 for a premium plan1714 is expected to eq true1715 for a plan that isn't premium1716 plan_name: "default"1717 is expected to eq false1718 plan_name: "free"1719 is expected to eq false1720 plan_name: "bronze"1721 is expected to eq false1722 plan_name: "silver"1723 is expected to eq false1724 plan_name: "gold"1725 is expected to eq false1726 plan_name: "ultimate"1727 is expected to eq false1728 plan_name: "ultimate_trial"1729 is expected to eq false1730 plan_name: "premium_trial"1731 is expected to eq false1732 plan_name: "opensource"1733 is expected to eq false1734 gold_plan?1735 behaves like plan helper1736 for a gold plan1737 is expected to eq true1738 for a plan that isn't gold1739 plan_name: "default"1740 is expected to eq false1741 plan_name: "free"1742 is expected to eq false1743 plan_name: "bronze"1744 is expected to eq false1745 plan_name: "silver"1746 is expected to eq false1747 plan_name: "premium"1748 is expected to eq false1749 plan_name: "ultimate"1750 is expected to eq false1751 plan_name: "ultimate_trial"1752 is expected to eq false1753 plan_name: "premium_trial"1754 is expected to eq false1755 plan_name: "opensource"1756 is expected to eq false1757 ultimate_plan?1758 behaves like plan helper1759 for a ultimate plan1760 is expected to eq true1761 for a plan that isn't ultimate1762 plan_name: "default"1763 is expected to eq false1764 plan_name: "free"1765 is expected to eq false1766 plan_name: "bronze"1767 is expected to eq false1768 plan_name: "silver"1769 is expected to eq false1770 plan_name: "premium"1771 is expected to eq false1772 plan_name: "gold"1773 is expected to eq false1774 plan_name: "ultimate_trial"1775 is expected to eq false1776 plan_name: "premium_trial"1777 is expected to eq false1778 plan_name: "opensource"1779 is expected to eq false1780 ultimate_trial_plan?1781 behaves like plan helper1782 for a ultimate_trial plan1783 is expected to eq true1784 for a plan that isn't ultimate_trial1785 plan_name: "default"1786 is expected to eq false1787 plan_name: "free"1788 is expected to eq false1789 plan_name: "bronze"1790 is expected to eq false1791 plan_name: "silver"1792 is expected to eq false1793 plan_name: "premium"1794 is expected to eq false1795 plan_name: "gold"1796 is expected to eq false1797 plan_name: "ultimate"1798 is expected to eq false1799 plan_name: "premium_trial"1800 is expected to eq false1801 plan_name: "opensource"1802 is expected to eq false1803 premium_trial_plan?1804 behaves like plan helper1805 for a premium_trial plan1806 is expected to eq true1807 for a plan that isn't premium_trial1808 plan_name: "default"1809 is expected to eq false1810 plan_name: "free"1811 is expected to eq false1812 plan_name: "bronze"1813 is expected to eq false1814 plan_name: "silver"1815 is expected to eq false1816 plan_name: "premium"1817 is expected to eq false1818 plan_name: "gold"1819 is expected to eq false1820 plan_name: "ultimate"1821 is expected to eq false1822 plan_name: "ultimate_trial"1823 is expected to eq false1824 plan_name: "opensource"1825 is expected to eq false1826 opensource_plan?1827 behaves like plan helper1828 for a opensource plan1829 is expected to eq true1830 for a plan that isn't opensource1831 plan_name: "default"1832 is expected to eq false1833 plan_name: "free"1834 is expected to eq false1835 plan_name: "bronze"1836 is expected to eq false1837 plan_name: "silver"1838 is expected to eq false1839 plan_name: "premium"1840 is expected to eq false1841 plan_name: "gold"1842 is expected to eq false1843 plan_name: "ultimate"1844 is expected to eq false1845 plan_name: "ultimate_trial"1846 is expected to eq false1847 plan_name: "premium_trial"1848 is expected to eq false1849 #free_personal?1850 user: true, paid: false, expected: true1851 returns expected boolean value1852 user: false, paid: false, expected: false1853 returns expected boolean value1854 user: false, paid: true, expected: false1855 returns expected boolean value1856 #prevent_delete?1857 paid: true, trial: false, expected: true1858 returns expected boolean value1859 paid: false, trial: false, expected: false1860 returns expected boolean value1861 paid: false, trial: true, expected: false1862 returns expected boolean value1863 paid: true, trial: true, expected: false1864 returns expected boolean value1865 #use_elasticsearch?1866 returns false if elasticsearch indexing is disabled1867 returns true if elasticsearch indexing enabled but limited indexing disabled1868 returns true if it is enabled specifically1869 #use_zoekt?1870 delegates to ::Zoekt::IndexedNamespace1871 #has_index_assignment?1872 delegates to ::Search::NamespaceIndexAssignment1873 #hashed_root_namespace_id1874 delegates to Search.hash_namespace_id1875 #invalidate_elasticsearch_indexes_cache!1876 clears the cache for the namespace1877 #actual_plan_name1878 when namespace does not have a subscription associated1879 returns default plan1880 when running on Gitlab.com1881 when namespace has a subscription associated1882 returns the associated plan name1883 when namespace does not have subscription associated1884 returns a free plan name1885 when the database is read-only1886 returns free plan1887 does not create a gitlab_subscription1888 when namespace is not persisted1889 returns free plan1890 does not create a gitlab_subscription1891 when the database is not read-only1892 returns free plan1893 creates a gitlab_subscription1894 scopes1895 .with_feature_available_in_plan1896 Bronze plan has Starter features1897 returns namespaces with plan1898 includes namespace from higher plans1899 Silver, Premium and Premium_trial plans have Premium license features1900 returns namespaces with matching plans1901 includes namespace from higher plans1902 Gold, Ultimate, Ultimate_trial and OpenSource plans have Ultimate license features1903 returns namespaces with matching plans1904 when no namespace matches the feature1905 returns an empty list1906 .join_gitlab_subscription1907 when there is no subscription1908 returns namespace with nil subscription1909 when there is a subscription1910 returns namespace with subscription set1911 .not_in_active_trial1912 is consistent with !trial_active? method1913 .in_default_plan1914 includes namespace with no subscription1915 plan_name: "free", expect_in_default_plan: true1916 returns expected result1917 plan_name: "default", expect_in_default_plan: true1918 returns expected result1919 plan_name: "bronze", expect_in_default_plan: false1920 returns expected result1921 plan_name: "silver", expect_in_default_plan: false1922 returns expected result1923 plan_name: "premium", expect_in_default_plan: false1924 returns expected result1925 plan_name: "gold", expect_in_default_plan: false1926 returns expected result1927 plan_name: "ultimate", expect_in_default_plan: false1928 returns expected result1929 .eligible_for_trial1930 when there is no subscription1931 is expected to eq #<Namespaces::UserNamespace id:873 @namespace485>1932 when there is a subscription1933 with a plan that is eligible for a trial1934 plan: "default"1935 and has not yet been trialed1936 is expected to eq #<Namespaces::UserNamespace id:873 @namespace485>1937 but has already had a trial1938 is expected to be nil1939 but is currently being trialed1940 is expected to be nil1941 plan: "free"1942 and has not yet been trialed1943 is expected to eq #<Namespaces::UserNamespace id:873 @namespace485>1944 but has already had a trial1945 is expected to be nil1946 but is currently being trialed1947 is expected to be nil1948 with a plan that is ineligible for a trial1949 plan: "bronze"1950 is expected to be nil1951 plan: "silver"1952 is expected to be nil1953 plan: "premium"1954 is expected to be nil1955 plan: "gold"1956 is expected to be nil1957 plan: "ultimate"1958 is expected to be nil1959 plan: "ultimate_trial"1960 is expected to be nil1961 plan: "premium_trial"1962 is expected to be nil1963 plan: "opensource"1964 is expected to be nil1965 validation1966 ensures max_pages_size is an integer greater than 0 (or equal to 0 to indicate unlimited/maximum)1967 custom validations1968 #validate_shared_runner_minutes_support1969 when changing :shared_runners_minutes_limit1970 when group is a subgroup1971 is invalid1972 when group is root1973 is valid1974 keeping elasticsearch up to date1975 includes Elastic::NamespaceUpdate concern1976 after_commit :sync_name_with_customers_dot1977 when the name is not updated1978 does not trigger a sync with CustomersDot1979 when the name is updated1980 when not on Gitlab.com?1981 does not trigger a sync with CustomersDot1982 when project namespace1983 when the owner is privatized by abuse automation1984 does not trigger a sync with CustomersDot1985 when the owner is not privatized by abuse automation1986 does not trigger a sync with CustomersDot1987 when group namespace1988 when the owner is privatized by abuse automation1989 triggers a name sync with CustomersDot1990 when the owner is not privatized by abuse automation1991 triggers a name sync with CustomersDot1992 when user namespace1993 when the owner is privatized by abuse automation1994 does not trigger a sync with CustomersDot1995 when the owner is not privatized by abuse automation1996 triggers a name sync with CustomersDot1997 #move_dir1998 when running on a primary node1999 logs the Geo::RepositoryRenamedEvent for each project inside namespace2000 properly builds old_path_with_namespace2001 #feature_available?2002 behaves like feature available2003 uses the global setting when running on premise2004 when checking namespace plan2005 combines the global setting with the group setting when not running on premise2006 when feature available on the plan2007 when feature available for current group2008 returns true2009 when license is applied to parent group2010 child group has feature available2011 when feature not available in the plan2012 returns false2013 #feature_available_non_trial?2014 behaves like feature available2015 uses the global setting when running on premise2016 when checking namespace plan2017 combines the global setting with the group setting when not running on premise2018 when feature available on the plan2019 when feature available for current group2020 returns true2021 when license is applied to parent group2022 child group has feature available2023 when feature not available in the plan2024 returns false2025 when the group has an active trial2026 is expected to be falsey2027 with a subgroup2028 feature is not available for the subgroup2029 #actual_limits2030 when no limits are defined in the system2031 behaves like uses an implied configuration2032 is a non persisted PlanLimits2033 has all limits defined2034 when "default" plan is defined in the system2035 when no limits are set2036 behaves like uses an implied configuration2037 is a non persisted PlanLimits2038 has all limits defined2039 when limits are set for the default plan2040 is expected to eq #<PlanLimits id: 1, plan_id: 398, ci_active_pipelines: 1, ci_pipeline_size: 2, ci_active_jobs: 3, pro...ication_limit: 0, dashboard_limit_enabled_at: nil, web_hook_calls: 0, project_access_token_limit: 0>2041 when "free" plan is defined in the system2042 when no limits are set2043 behaves like uses an implied configuration2044 is a non persisted PlanLimits2045 has all limits defined2046 when limits are set for the free plan2047 is expected to eq #<PlanLimits id: 2, plan_id: 407, ci_active_pipelines: 3, ci_pipeline_size: 4, ci_active_jobs: 5, pro...ication_limit: 0, dashboard_limit_enabled_at: nil, web_hook_calls: 0, project_access_token_limit: 0>2048 when subscription plan is defined in the system2049 when limits are not set for the plan2050 behaves like uses an implied configuration2051 is a non persisted PlanLimits2052 has all limits defined2053 when limits are set for the plan2054 is expected to eq #<PlanLimits id: 3, plan_id: 414, ci_active_pipelines: 5, ci_pipeline_size: 6, ci_active_jobs: 7, pro...ication_limit: 0, dashboard_limit_enabled_at: nil, web_hook_calls: 0, project_access_token_limit: 0>2055 #any_project_with_shared_runners_enabled?2056 without projects2057 is expected to be falsey2058 group with shared runners enabled project2059 is expected to be truthy2060 subgroup with shared runners enabled project2061 is expected to be truthy2062 with project and disabled shared runners2063 is expected to be falsey2064 #shared_runners_minutes_limit_enabled?2065 with project2066 when no limit defined2067 is expected to be falsey2068 when limit is defined2069 is expected to be truthy2070 when is subgroup2071 is expected to be falsey2072 without project2073 is expected to be falsey2074 #paid?2075 returns true for a root namespace with a paid plan2076 returns false for a subgroup of a group with a paid plan2077 #actual_plan2078 when namespace does not have a subscription associated2079 generates a subscription and returns default plan2080 when running on Gitlab.com2081 for personal namespaces2082 when namespace has a subscription associated2083 when this subscription was purchased before EoA rollout (legacy)2084 returns the legacy plan from the subscription2085 when this subscription was purchase after EoA rollout (new plan)2086 returns the new plan from the subscription2087 when namespace does not have a subscription associated2088 generates a subscription and returns free plan2089 when free plan does exist2090 generates a subscription2091 for groups2092 when the group is a subgroup with a parent2093 when free plan does exist2094 does not generates a subscription2095 when parent group has a subscription associated2096 returns the plan from the subscription2097 #billed_user_ids2098 returns 12099 #billable_members_count2100 returns 12101 #eligible_for_trial?2102 on_dot_com: true, has_parent: true, never_had_trial: true, plan_eligible_for_trial: true2103 when on .com2104 and the namespace has a parent namespace2105 and the namespace has not yet been trialed2106 and the namespace is eligible for a trial2107 is expected to eq false2108 on_dot_com: true, has_parent: true, never_had_trial: true, plan_eligible_for_trial: false2109 when on .com2110 and the namespace has a parent namespace2111 and the namespace has not yet been trialed2112 and the namespace is not eligible for a trial2113 is expected to eq false2114 on_dot_com: true, has_parent: true, never_had_trial: false, plan_eligible_for_trial: true2115 when on .com2116 and the namespace has a parent namespace2117 and the namespace has been trialed2118 and the namespace is eligible for a trial2119 is expected to eq false2120 on_dot_com: true, has_parent: true, never_had_trial: false, plan_eligible_for_trial: false2121 when on .com2122 and the namespace has a parent namespace2123 and the namespace has been trialed2124 and the namespace is not eligible for a trial2125 is expected to eq false2126 on_dot_com: true, has_parent: false, never_had_trial: true, plan_eligible_for_trial: true2127 when on .com2128 and the namespace is a parent namespace2129 and the namespace has not yet been trialed2130 and the namespace is eligible for a trial2131 is expected to eq true2132 on_dot_com: true, has_parent: false, never_had_trial: true, plan_eligible_for_trial: false2133 when on .com2134 and the namespace is a parent namespace2135 and the namespace has not yet been trialed2136 and the namespace is not eligible for a trial2137 is expected to eq false2138 on_dot_com: true, has_parent: false, never_had_trial: false, plan_eligible_for_trial: true2139 when on .com2140 and the namespace is a parent namespace2141 and the namespace has been trialed2142 and the namespace is eligible for a trial2143 is expected to eq false2144 on_dot_com: true, has_parent: false, never_had_trial: false, plan_eligible_for_trial: false2145 when on .com2146 and the namespace is a parent namespace2147 and the namespace has been trialed2148 and the namespace is not eligible for a trial2149 is expected to eq false2150 on_dot_com: false, has_parent: true, never_had_trial: true, plan_eligible_for_trial: true2151 when not on .com2152 and the namespace has a parent namespace2153 and the namespace has not yet been trialed2154 and the namespace is eligible for a trial2155 is expected to eq false2156 on_dot_com: false, has_parent: true, never_had_trial: true, plan_eligible_for_trial: false2157 when not on .com2158 and the namespace has a parent namespace2159 and the namespace has not yet been trialed2160 and the namespace is not eligible for a trial2161 is expected to eq false2162 on_dot_com: false, has_parent: true, never_had_trial: false, plan_eligible_for_trial: true2163 when not on .com2164 and the namespace has a parent namespace2165 and the namespace has been trialed2166 and the namespace is eligible for a trial2167 is expected to eq false2168 on_dot_com: false, has_parent: true, never_had_trial: false, plan_eligible_for_trial: false2169 when not on .com2170 and the namespace has a parent namespace2171 and the namespace has been trialed2172 and the namespace is not eligible for a trial2173 is expected to eq false2174 on_dot_com: false, has_parent: false, never_had_trial: true, plan_eligible_for_trial: true2175 when not on .com2176 and the namespace is a parent namespace2177 and the namespace has not yet been trialed2178 and the namespace is eligible for a trial2179 is expected to eq false2180 on_dot_com: false, has_parent: false, never_had_trial: true, plan_eligible_for_trial: false2181 when not on .com2182 and the namespace is a parent namespace2183 and the namespace has not yet been trialed2184 and the namespace is not eligible for a trial2185 is expected to eq false2186 on_dot_com: false, has_parent: false, never_had_trial: false, plan_eligible_for_trial: true2187 when not on .com2188 and the namespace is a parent namespace2189 and the namespace has been trialed2190 and the namespace is eligible for a trial2191 is expected to eq false2192 on_dot_com: false, has_parent: false, never_had_trial: false, plan_eligible_for_trial: false2193 when not on .com2194 and the namespace is a parent namespace2195 and the namespace has been trialed2196 and the namespace is not eligible for a trial2197 is expected to eq false2198 #file_template_project_id2199 is cleared before validation2200 #checked_file_template_project2201 is always nil2202 #checked_file_template_project_id2203 is always nil2204 #store_security_reports_available?2205 when at least one security report feature is enabled2206 report_type: :sast2207 is expected to equal true2208 report_type: :secret_detection2209 is expected to equal true2210 report_type: :dast2211 is expected to equal true2212 report_type: :dependency_scanning2213 is expected to equal true2214 report_type: :container_scanning2215 is expected to equal true2216 report_type: :cluster_image_scanning2217 is expected to equal true2218 when no security report feature is available2219 is expected to equal false2220 #ingest_sbom_reports_available?2221 when at least one sbom-related feature is available2222 feature: :container_scanning2223 is expected to equal true2224 feature: :dependency_scanning2225 is expected to equal true2226 feature: :license_scanning2227 is expected to equal true2228 when sbom-related features are not available2229 is expected to equal false2230 #over_storage_limit?2231 returns true if the namespace is over the storage limit2232 returns false if the namespace storage equals the limit2233 returns false if the namespace is under the storage limit2234 #read_only?2235 over_storage_limit: false, over_free_user_limit: false, result: false2236 is expected to eq false2237 over_storage_limit: false, over_free_user_limit: true, result: true2238 is expected to eq true2239 over_storage_limit: true, over_free_user_limit: false, result: true2240 is expected to eq true2241 over_storage_limit: true, over_free_user_limit: true, result: true2242 is expected to eq true2243 #total_repository_size_excess2244 projects with a variety of repository sizes and limits2245 when namespace-level repository_size_limit is not set2246 returns the total excess size of projects with repositories that exceed the size limit2247 when namespace-level repository_size_limit is 0 (unlimited)2248 returns the total excess size of projects with repositories that exceed the size limit2249 when namespace-level repository_size_limit is a positive number2250 returns the total excess size of projects with repositories that exceed the size limit2251 when all projects have repository_size_limit of 0 (unlimited)2252 returns zero regardless of the namespace or instance-level repository_size_limit2253 #repository_size_excess_project_count2254 projects with a variety of repository sizes and limits2255 when namespace-level repository_size_limit is not set2256 returns the count of projects with repositories that exceed the size limit2257 when namespace-level repository_size_limit is 0 (unlimited)2258 returns the count of projects with repositories that exceed the size limit2259 when namespace-level repository_size_limit is a positive number2260 returns the count of projects with repositories that exceed the size limit2261 when all projects have repository_size_limit of 0 (unlimited)2262 returns zero regardless of the namespace or instance-level repository_size_limit2263 #total_repository_size2264 returns the total size of all project repositories2265 #contains_locked_projects?2266 total_excess: 5242880, result: false2267 returns a boolean indicating whether the root namespace contains locked projects2268 total_excess: 10485760, result: false2269 returns a boolean indicating whether the root namespace contains locked projects2270 total_excess: 15728640, result: true2271 returns a boolean indicating whether the root namespace contains locked projects2272 #actual_size_limit2273 returns the correct size limit2274 #membership_lock with subgroups2275 when creating a subgroup2276 under a parent with "Membership lock" enabled2277 enables "Membership lock" on the subgroup2278 under a parent with "Membership lock" disabled2279 does not enable "Membership lock" on the subgroup2280 when enabling the parent group "Membership lock"2281 the subgroup "Membership lock" not changed2282 when disabling the parent group "Membership lock" (which was already enabled)2283 and the subgroup "Membership lock" is enabled2284 the subgroup "Membership lock" does not change2285 but the subgroup "Membership lock" is disabled2286 the subgroup "Membership lock" does not change2287 when a group is transferred into a root group2288 when the root group "Membership lock" is enabled2289 when the subgroup "Membership lock" is enabled2290 the subgroup "Membership lock" does not change2291 when the subgroup "Membership lock" is disabled2292 the subgroup "Membership lock" not changed2293 when the root group "Membership lock" is disabled2294 when the subgroup "Membership lock" is enabled2295 the subgroup "Membership lock" does not change2296 when the subgroup "Membership lock" is disabled2297 the subgroup "Membership lock" does not change2298 #namespace_limit2299 when there is a parent namespace2300 with a namespace limit2301 returns the parent namespace limit2302 with no namespace limit2303 builds namespace limit (FAILED - 1)23051st Try error in ./ee/spec/models/ee/namespace_spec.rb:1420:2306expected `#<NamespaceLimit additional_purchased_storage_size: 0, additional_purchased_storage_ends_on: nil, namespace_id: 1058, temporary_storage_increase_ends_on: nil>.persisted?` to be falsey, got true2308RSpec::Retry: 2nd try ./ee/spec/models/ee/namespace_spec.rb:14202309 when there is no parent ancestor2310 for personal namespaces2311 with a namespace limit2312 returns the namespace limit2313 with no namespace limit2314 builds namespace limit2315 for groups2316 with a namespace limit2317 returns the namespace limit2318 with no namespace limit2319 builds namespace limit2320 #enable_temporary_storage_increase!2321 sets a date2322 is invalid when set twice2323 #root_storage_size2324 when namespace storage limits are enabled2325 returns an instance of RootSize2326 when namespace storage limits are disabled2327 returns an instance of RootExcessSize2328 when namespace storage limits are disabled and automatic_purchased_storage_allocation is enabled2329 returns an instance of RootExcessSize2330 when namespace storage limits are enabled for free namespaces and disabled for paid2331 returns an instance of RootSize for a free namespace2332 returns an instance of RootExcessSize for a paid namespace2333 #user_cap_available?2334 when not on Gitlab.com2335 is expected to equal false2336 when :saas_user_caps is disabled2337 is expected to equal false2338 when :saas_user_caps is enabled2339 is expected to equal true2340 when the namespace is not a group2341 is expected to equal false2342 #capacity_left_for_user?2343 is expected to eq true2344 #exclude_guests?2345 returns false2346 #all_security_orchestration_policy_configurations2347 when configuration is invalid2348 returns empty list2349 when configuration is valid2350 returns security policy configurations for all valid parent groups2351 #all_inherited_security_orchestration_policy_configurations2352 when there is no configuration for group ancestors2353 returns empty list2354 when configuration is invalid2355 returns empty list2356 when configuration is valid2357 returns security policy configurations for all valid parent groups2358 #all_projects_pages_domains2359 finds all pages domains by default2360 finds only verified domains when param is true2361 when projects are outside the top-level group hierarchy2362 does not include the outside domain2363 #domain_verification_available?2364 when the feature is not licensed2365 is not available2366 on GitLab.com2367 is not available2368 when the feature is licensed2369 is not available2370 on GitLab.com2371 is available2372 with a subgroup2373 is not available2374 #custom_roles_enabled?2375 is expected to eq true2376 when licensed feature is not available2377 is expected to eq false2378 when sub-group2379 is expected to eq false2380 #allow_stale_runner_pruning?2381 is expected to eq false2382 with ci_cd_setting.allow_stale_runner_pruning set to false2383 is expected to eq false2384 with ci_cd_setting.allow_stale_runner_pruning set to true2385 is expected to eq true2386 #allow_stale_runner_pruning=2387 with no existing ci_cd_setting association2388 when value is set to false2389 does not build new association2390 when value is set to true2391 builds association2392 with existing ci_cd_setting association2393 when value is set to true2394 updates association2395Issue2396 associations2397 is expected to belong to iteration required: false2398 is expected to have many resource_weight_events2399 is expected to have many resource_iteration_events2400 is expected to have one issuable_sla2401 is expected to have many metric_images2402 is expected to have many pending_escalations2403 is expected to have one requirement2404 is expected to have many test_reports2405 is expected to have many issuable_resource_links2406 modules2407 is expected to includes the EE::WeightEventable module2408 scopes2409 health status2410 .with_health_status2411 returns the filtered by health issues2412 when using multiple health filter qualifications2413 returns the filtered by health issues2414 .with_any_health_status2415 only returns the issues with a health_status2416 .with_no_health_status2417 only returns issues with no health status2418 .without_health_status2419 returns the filtered by health issues2420 when using multiple health filter qualifications2421 returns the filtered by health issues2422 .order_health_status_asc2423 returns healthy issues first2424 .order_health_status_desc2425 returns non-healthy issues first2426 .for_requirement_iids2427 when issue is of type requirement2428 filters requirement issues by associated requirements iids2429 uses work_item_type_id to filter requirements2430 when issue_type_uses_work_item_types_table feature flag is disabled2431 uses the issue_type column to filter requirements2432 .on_status_page2433 is expected to eq 12434 is expected to eq #<Issue id:263 namespace594/project412#1>2435 with status page disabled2436 is expected to eq 02437 .with_feature2438 gives issues that support the given feature2439 returns an empty collection when given an unknown feature2440 epics2441 .no_epic2442 returns only issues without an epic assigned2443 .any_epic2444 returns only issues with an epic assigned2445 .in_epics2446 returns only issues in selected epics2447 .not_in_epics2448 returns only issues not in selected epics2449 .distinct_epic_ids2450 returns distinct epic ids2451 when issues are grouped by labels2452 respects query grouping and returns distinct epic ids2453 .sorted_by_epic_position2454 sorts by epic relative position2455 iterations2456 .no_iteration2457 returns only issues without an iteration assigned2458 .any_iteration2459 returns only issues with an iteration assigned2460 .in_iterations2461 returns only issues in selected iterations2462 .not_in_iterations2463 returns issues not in selected iterations2464 .with_iteration_title2465 returns only issues with iterations that match the title2466 .without_iteration_title2467 returns only issues without iterations or have iterations that do not match the title2468 status page published2469 .order_status_page_published_first2470 is expected to eq [#<Issue id:276 namespace605/project423#1>, #<Issue id:275 namespace604/project422#1>]2471 .order_status_page_published_last2472 is expected to eq [#<Issue id:275 namespace604/project422#1>, #<Issue id:276 namespace605/project423#1>]2473 sla due at2474 .order_sla_due_at_asc2475 is expected to eq [#<Issue id:277 namespace606/project424#1>, #<Issue id:278 namespace606/project424#2>, #<Issue id:279 namespace606/project424#3>]2476 .order_sla_due_at_desc2477 is expected to eq [#<Issue id:278 namespace606/project424#2>, #<Issue id:277 namespace606/project424#1>, #<Issue id:279 namespace606/project424#3>]2478 validations2479 weight2480 is not valid when negative number2481 is valid when non-negative2482 confidential2483 when assigning an epic to a new issue2484 when an issue is not confidential2485 is not valid2486 when an issue is confidential2487 is valid2488 when updating an existing issue2489 when an issue is assigned to the confidential epic2490 when changing issue to public2491 is not valid2492 when assigining a confidential issue2493 is valid2494 when assigining a public issue2495 is not valid2496 when associated to a requirement object2497 when requirement belongs to another project2498 issue is invalid2499 relations2500 is expected to have many vulnerability_links class_name => Vulnerabilities::IssueLink inverse_of => issue2501 is expected to have many related_vulnerabilities through vulnerability_links source => vulnerability2502 is expected to belong to promoted_to_epic class_name => Epic required: false2503 is expected to have many resource_weight_events2504 is expected to have one status_page_published_incident2505 behaves like an editable mentionable with EE-specific mentions2506 creates new cross-reference notes when the mentionable text is edited2507 behaves like a mentionable with EE-specific mentions2508 extracts references from its reference property2509 creates cross-reference notes2510 #allows_multiple_assignees?2511 does not allow multiple assignees without license2512 does not allow multiple assignees without license2513 .simple_sorts2514 includes weight with other base keys2515 #sort2516 by weight2517 sorts desc2518 sorts asc2519 when weight is the same2520 sorting by asc2521 arranges issues with the same weight by their ids2522 sorting by desc2523 arranges issues with the same weight by their ids2524 by blocking issues2525 orders by ascending blocking issues count2526 orders by descending blocking issues count2527 #weight2528 license_value: true, database_value: 5, expected: 52529 is expected to eq 52530 license_value: true, database_value: nil, expected: nil2531 is expected to eq nil2532 license_value: false, database_value: 5, expected: nil2533 is expected to eq nil2534 license_value: false, database_value: nil, expected: nil2535 is expected to eq nil2536 #promoted?2537 issue not promoted2538 is expected to be falsey2539 issue promoted2540 is expected to be truthy2541 #reopen2542 clears promoted_to_epic_id for promoted issues2543 ES related specs2544 when updating an Issue2545 when changing the confidential value2546 updates issue notes excluding system notes2547 when changing the author2548 updates issue notes excluding system notes2549 when changing the title2550 does not update issue notes2551 when changing upvotes2552 calls maintain_elasticsearch_update2553 relative positioning with group boards2554 .relative_positioning_query_base2555 includes cross project issues in the same group2556 #move_before2557 moves issue before2558 #move_after2559 moves issue after2560 #move_to_end2561 moves issue to the end2562 #move_between2563 positions issue between two other2564 positions issue between on top2565 positions issue between to end2566 positions issues even when after and before positions are the same2567 positions issues between other two if distance is 12568 positions issue in the middle of other two if distance is big enough2569 positions issue closer to the middle if we are at the very top2570 positions issue closer to the middle if we are at the very bottom2571 positions issue in the middle of other two if distance is not big enough2572 positions issue in the middle of other two is there is no place2573 uses rebalancing if there is no place2574 positions issue right if we pass non-sequential parameters2575 when an external authentication service2576 #visible_to_user?2577 does not check the external webservice for auditors2578 #issue_link_type2579 returns nil for a regular issue2580 id: 1, issue_link_source_id: 1, issue_link_type_value: 0, expected: "relates_to"2581 is expected to eq "relates_to"2582 id: 1, issue_link_source_id: 1, issue_link_type_value: 1, expected: "blocks"2583 is expected to eq "blocks"2584 id: 1, issue_link_source_id: 2, issue_link_type_value: 2, expected: "relates_to"2585 is expected to eq "relates_to"2586 id: 1, issue_link_source_id: 2, issue_link_type_value: 1, expected: "is_blocked_by"2587 is expected to eq "is_blocked_by"2588 #blocked_by_issues2589 when user can read issues2590 returns blocked issues2591 when user cannot read issues2592 returns empty array2593 when user can read some issues2594 returns issues that user can read2595 behaves like having health status2596 validations2597 is expected to define :health_status as an enum backed by an integer with values ‹{on_track: 1, needs_attention: 2, at_risk: 3}›2598 is expected to allow :health_status to be ‹nil›2599 #can_assign_epic?2600 when epics feature is available2601 when a user is not a project member2602 returns false2603 when a user is a project member2604 is expected to be truthy2605 when epics feature is not available2606 returns false2607 #update_blocking_issues_count2608 updates blocking issues count2609 when changing state of blocking issues2610 when blocked issue is closed2611 updates blocking and blocked issues cache2612 when blocked issue is reopened2613 updates blocking and blocked issues cache2614 #can_be_promoted_to_epic?2615 when project on the issue does not have a parent group2616 is expected to be falsey2617 when project on the issue is in a subgroup2618 is expected to be truthy2619 when project has a parent group2620 when a user is not a project member2621 is expected to be falsey2622 when a user is a project member2623 is expected to be falsey2624 when a user is a group member2625 is expected to be truthy2626 when issue is an incident2627 is expected to be falsey2628 #supports_iterations?2629 issuable_type: :issue, project: :project_with_group, supports_iterations: true2630 is expected to eq true2631 issuable_type: :incident, project: :project_with_group, supports_iterations: false2632 is expected to eq false2633 #issue_type_supports?2634 is expected to equal false2635 #sla_available?2636 incident_type: false, license_available: true, sla_available: false2637 returns the expected value2638 incident_type: true, license_available: false, sla_available: false2639 returns the expected value2640 incident_type: true, license_available: true, sla_available: true2641 returns the expected value2642 #supports_time_tracking?2643 issue_type: :requirement, supports_time_tracking: false2644 is expected to eq false2645 issue_type: :test_case, supports_time_tracking: false2646 is expected to eq false2647 #supports_move_and_clone?2648 issue_type: :requirement, supports_move_and_clone: false2649 is expected to eq false2650 issue_type: :test_case, supports_move_and_clone: true2651 is expected to eq true2652 #related_feature_flags2653 returns only authorized related feature flags for a given user2654 when a user cannot read cross project2655 only returns feature_flags within the same project2656 .with_issue_type2657 gives issues with test case type2658 gives issues with the given issue types list2659 #update_cached_metadata2660 when epic is not assigned2661 does nothing2662 when creating new issue2663 schedules cache update for epic2664 when updating an existing issue2665 schedules cache update for epic if state is changed2666 schedules cache update for epic if weight is changed2667 does nothing when unrelated attributes are changed2668 schedules cache update for epic if issue is destroyed2669 #has_epic?2670 when when there is no associated epic2671 is expected to eq false2672 when when there is an associated epic2673 is expected to eq true2674 #allowed_work_item_type_change2675 when it is part of an epic2676 is not possible to change from issue to incident2677 is possible to change back from incident to issue2678 when it is not part of an epic2679 is possible to change between types2680 behaves like resource with exportable associations2681 #exportable_association?2682 is expected to be falsey2683 when user can read resource2684 is expected to be falsey2685 when user can read resource's association2686 is expected to be truthy2687 for an unknown association2688 is expected to be falsey2689 for an unauthenticated user2690 is expected to be falsey2691 #readable_records2692 when association not supported2693 is expected to be nil2694 when association is `:notes`2695 is expected to contain exactly #<Note id: 25, note: [FILTERED], noteable_type: "Issue", author_id: 742, created_at: "2023-03-30 11:5...nil, resolved_by_push: nil, review_id: nil, confidential: nil, last_edited_at: nil, internal: false>2696 when user have access2697 returns all records2698Geo::JobArtifactReplicator2699 invokes replicator.handle_after_create_commit on create2700 behaves like a replicator2701 Geo node status2702 on a primary site2703 .primary_total_count2704 when batch count feature flag is enabled2705 returns the number of available replicables on primary2706 when batch count feature flag is disabled2707 returns the number of available replicables on primary2708 on a secondary site2709 .registry_count2710 when batch count feature flag is enabled2711 returns the number of registries on secondary2712 when batch count feature flag is disabled2713 returns the number of registries on secondary2714 .synced_count2715 when batch count feature flag is enabled2716 returns the number of synced items on secondary2717 when batch count feature flag is disabled2718 returns the number of synced items on secondary2719 .failed_count2720 when batch count feature flag is enabled2721 returns the number of failed items on secondary2722 when batch count feature flag is disabled2723 returns the number of failed items on secondary2724 when replicator is Geo::RegistrySyncWorker compatible2725 has "created" and "deleted" events2726 #replicator2727 is defined and does not raise error2728 .replicables_for_current_secondary2729 when syncing object storage is enabled2730 behaves like is implemented and returns a valid relation2731 is implemented2732 when syncing object storage is disabled2733 behaves like is implemented and returns a valid relation2734 is implemented2735 with selective sync disabled2736 behaves like is implemented and returns a valid relation2737 is implemented2738 with selective sync enabled for namespaces2739 behaves like is implemented and returns a valid relation2740 is implemented2741 with selective sync enabled for shards2742 behaves like is implemented and returns a valid relation2743 is implemented2744 #handle_after_create_commit2745 creates a Geo::Event2746 calls #after_verifiable_update2747 when replication feature flag is disabled2748 does not call #after_verifiable_update2749 does not publish2750 #handle_after_destroy2751 creates a Geo::Event2752 when replication feature flag is disabled2753 does not publish2754 created event consumption2755 when the blob's project is in replicables for this geo node2756 invokes Geo::BlobDownloadService2757 when the blob's project is not in replicables for this geo node2758 does not invoke Geo::BlobDownloadService2759 deleted event consumption2760 when model_record was deleted from the DB and the replicator only has its ID2761 invokes Geo::FileRegistryRemovalService2762 backward compatibility2763 invokes Geo::FileRegistryRemovalService when delete event is in deprecated format2764 when object storage is enabled2765 when GitLab managed replication is enabled2766 deletes the file from object storage2767 when GitLab managed replication is disabled2768 does not delete the file from object storage2769 #carrierwave_uploader2770 is implemented2771 #model2772 is implemented2773 is a Class2774 responds to primary_key2775 #blob_path2776 when the file is locally stored2777 returns a valid path to a file2778 #calculate_checksum2779 when the file is locally stored2780 when the file exists2781 returns hexdigest of the file2782 when the file does not exist2783 raises an error2784 when the file is remotely stored2785 raises an error2786 #file_exists?2787 is expected to be truthy2788 when the file does not exist2789 is expected to be falsey2790 when the file is nil2791 is expected to be falsey2792 .bulk_create_delete_events_async2793 creates events2794 raises error when model_record_id is nil2795 events2796 has checksum_succeeded event2797 .verification_enabled?2798 when replication is enabled2799 when verification_feature_flag_enabled? returns true2800 returns true2801 when verification_feature_flag_enabled? returns false2802 returns false2803 when replication is disabled2804 returns false2805 .checksummed_count2806 when verification is enabled2807 when batch count feature flag is enabled2808 behaves like a counter of succeeded available verifiables2809 is expected to eq 12810 excludes other verification states2811 when batch count feature flag is disabled2812 behaves like a counter of succeeded available verifiables2813 is expected to eq 12814 excludes other verification states2815 when verification is disabled2816 returns nil2817 .verified_count2818 when verification is enabled2819 when batch count feature flag is enabled2820 behaves like a counter of succeeded available verifiables2821 is expected to eq 12822 excludes other verification states2823 when batch count feature flag is disabled2824 behaves like a counter of succeeded available verifiables2825 is expected to eq 12826 excludes other verification states2827 when verification is disabled2828 returns nil2829 .checksum_failed_count2830 when verification is enabled2831 when batch count feature flag is enabled2832 behaves like a counter of failed available verifiables2833 is expected to eq 12834 excludes other verification states2835 when batch count feature flag is disabled2836 behaves like a counter of failed available verifiables2837 is expected to eq 12838 excludes other verification states2839 when verification is disabled2840 returns nil2841 .verification_failed_count2842 when verification is enabled2843 when batch count feature flag is enabled2844 behaves like a counter of failed available verifiables2845 is expected to eq 12846 excludes other verification states2847 when batch count feature flag is disabled2848 behaves like a counter of failed available verifiables2849 is expected to eq 12850 excludes other verification states2851 when verification is disabled2852 returns nil2853 .verification_total_count2854 when verification is enabled2855 when batch count feature flag is enabled2856 when the verification_state is disabled2857 is expected to eq 02858 when the verification_state is not disabled2859 is expected to eq 12860 when batch count feature flag is disabled2861 when the verification_state is disabled2862 is expected to eq 02863 when the verification_state is not disabled2864 is expected to eq 12865 when verification is disabled2866 returns nil2867 .trigger_background_verification2868 when verification is enabled2869 for a Geo secondary2870 does not enqueue ReverificationBatchWorker2871 enqueues VerificationBatchWorker2872 enqueues VerificationTimeoutWorker2873 for a Geo primary2874 enqueues ReverificationBatchWorker2875 enqueues VerificationStateBackfillWorker2876 enqueues VerificationBatchWorker2877 enqueues VerificationTimeoutWorker2878 when verification is disabled2879 does not enqueue VerificationBatchWorker2880 does not enqueue VerificationTimeoutWorker2881 .backfill_verification_state_table2882 calls VerificationStateBackfillService2883 when on secondary2884 returns false2885 .verify_batch2886 when there are records needing verification2887 calls #verify on each replicator2888 .remaining_verification_batch_count2889 converts needs_verification_count to number of batches2890 .remaining_reverification_batch_count2891 converts needs_reverification_count to number of batches2892 .reverify_batch!2893 calls #reverify_batch2894 .replicator_batch_to_verify2895 returns usable Replicator instances2896 .model_record_id_batch_to_verify2897 when the batch is filled by pending rows2898 returns IDs of pending rows2899 does not call .verification_failed_batch2900 when that batch is not filled by pending rows2901 includes IDs of failed rows2902 .verification_pending_batch2903 when current node is a primary2904 delegates to the model class of the replicator2905 when current node is a secondary2906 delegates to the registry class of the replicator2907 .verification_failed_batch2908 when current node is a primary2909 delegates to the model class of the replicator2910 when current node is a secondary2911 delegates to the registry class of the replicator2912 .fail_verification_timeouts2913 when current node is a primary2914 delegates to the model class of the replicator2915 when current node is a secondary2916 delegates to the registry class of the replicator2917 #after_verifiable_update2918 verification_enabled: true, immutable: true, checksum: nil, checksummable: true, expect_verify_async: true2919 calls verify_async only if needed2920 verification_enabled: true, immutable: true, checksum: nil, checksummable: false, expect_verify_async: false2921 calls verify_async only if needed2922 verification_enabled: true, immutable: true, checksum: "abc123", checksummable: true, expect_verify_async: false2923 calls verify_async only if needed2924 verification_enabled: true, immutable: true, checksum: "abc123", checksummable: false, expect_verify_async: false2925 calls verify_async only if needed2926 verification_enabled: true, immutable: false, checksum: nil, checksummable: true, expect_verify_async: true2927 calls verify_async only if needed2928 verification_enabled: true, immutable: false, checksum: nil, checksummable: false, expect_verify_async: false2929 calls verify_async only if needed2930 verification_enabled: true, immutable: false, checksum: "abc123", checksummable: true, expect_verify_async: true2931 calls verify_async only if needed2932 verification_enabled: true, immutable: false, checksum: "abc123", checksummable: false, expect_verify_async: false2933 calls verify_async only if needed2934 verification_enabled: false, immutable: true, checksum: nil, checksummable: true, expect_verify_async: false2935 calls verify_async only if needed2936 verification_enabled: false, immutable: true, checksum: nil, checksummable: false, expect_verify_async: false2937 calls verify_async only if needed2938 verification_enabled: false, immutable: true, checksum: "abc123", checksummable: true, expect_verify_async: false2939 calls verify_async only if needed2940 verification_enabled: false, immutable: true, checksum: "abc123", checksummable: false, expect_verify_async: false2941 calls verify_async only if needed2942 verification_enabled: false, immutable: false, checksum: nil, checksummable: true, expect_verify_async: false2943 calls verify_async only if needed2944 verification_enabled: false, immutable: false, checksum: nil, checksummable: false, expect_verify_async: false2945 calls verify_async only if needed2946 verification_enabled: false, immutable: false, checksum: "abc123", checksummable: true, expect_verify_async: false2947 calls verify_async only if needed2948 verification_enabled: false, immutable: false, checksum: "abc123", checksummable: false, expect_verify_async: false2949 calls verify_async only if needed2950 #verify_async2951 on a Geo primary2952 calls verification_started! and enqueues VerificationWorker2953 #verify2954 wraps the checksum calculation in track_checksum_attempt!2955 #verification_state_tracker2956 on a Geo primary2957 returns model_record2958 on a Geo secondary2959 returns registry2960 #handle_after_checksum_succeeded2961 on a Geo primary2962 creates checksum_succeeded event2963 is called on verification success2964 on a Geo secondary2965 does not create an event2966 #consume_event_checksum_succeeded2967 with a persisted model_record2968 on a Geo primary2969 does nothing2970 on a Geo secondary2971 with a persisted registry2972 with a registry which is verified2973 sets state to verification_pending2974 with a registry which is pending verification2975 does not change state from verification_pending2976 with an unpersisted registry2977 does not persist the registry2978 #primary_verification_succeeded?2979 when the model record is verification_succeeded2980 returns true2981 when the model record is verification_succeeded2982 returns false2983 integration tests2984 on a primary2985 background backfill2986 verifies model records2987 triggered by events2988 verifies model records2989 on a secondary2990 background backfill2991 verifies registries2992 triggered by events2993 verifies registries2994Geo::PackageFileReplicator2995 invokes replicator.handle_after_create_commit on create2996 behaves like a replicator2997 Geo node status2998 on a primary site2999 .primary_total_count3000 when batch count feature flag is enabled3001 returns the number of available replicables on primary3002 when batch count feature flag is disabled3003 returns the number of available replicables on primary3004 on a secondary site3005 .registry_count3006 when batch count feature flag is enabled3007 returns the number of registries on secondary3008 when batch count feature flag is disabled3009 returns the number of registries on secondary3010 .synced_count3011 when batch count feature flag is enabled3012 returns the number of synced items on secondary3013 when batch count feature flag is disabled3014 returns the number of synced items on secondary3015 .failed_count3016 when batch count feature flag is enabled3017 returns the number of failed items on secondary3018 when batch count feature flag is disabled3019 returns the number of failed items on secondary3020 when replicator is Geo::RegistrySyncWorker compatible3021 has "created" and "deleted" events3022 #replicator3023 is defined and does not raise error3024 .replicables_for_current_secondary3025 when syncing object storage is enabled3026 behaves like is implemented and returns a valid relation3027 is implemented3028 when syncing object storage is disabled3029 behaves like is implemented and returns a valid relation3030 is implemented3031 with selective sync disabled3032 behaves like is implemented and returns a valid relation3033 is implemented3034 with selective sync enabled for namespaces3035 behaves like is implemented and returns a valid relation3036 is implemented3037 with selective sync enabled for shards3038 behaves like is implemented and returns a valid relation3039 is implemented3040 #handle_after_create_commit3041 creates a Geo::Event3042 calls #after_verifiable_update3043 when replication feature flag is disabled3044 does not call #after_verifiable_update3045 does not publish3046 #handle_after_destroy3047 creates a Geo::Event3048 when replication feature flag is disabled3049 does not publish3050 created event consumption3051 when the blob's project is in replicables for this geo node3052 invokes Geo::BlobDownloadService3053 when the blob's project is not in replicables for this geo node3054 does not invoke Geo::BlobDownloadService3055 deleted event consumption3056 when model_record was deleted from the DB and the replicator only has its ID3057 invokes Geo::FileRegistryRemovalService3058 backward compatibility3059 invokes Geo::FileRegistryRemovalService when delete event is in deprecated format3060 when object storage is enabled3061 when GitLab managed replication is enabled3062 deletes the file from object storage3063 when GitLab managed replication is disabled3064 does not delete the file from object storage3065 #carrierwave_uploader3066 is implemented3067 #model3068 is implemented3069 is a Class3070 responds to primary_key3071 #blob_path3072 when the file is locally stored3073 returns a valid path to a file3074 #calculate_checksum3075 when the file is locally stored3076 when the file exists3077 returns hexdigest of the file3078 when the file does not exist3079 raises an error3080 when the file is remotely stored3081 raises an error3082 #file_exists?3083 is expected to be truthy3084 when the file does not exist3085 is expected to be falsey3086 when the file is nil3087 is expected to be falsey3088 .bulk_create_delete_events_async3089 creates events3090 raises error when model_record_id is nil3091 behaves like a verifiable replicator3092 events3093 has checksum_succeeded event3094 .verification_enabled?3095 when replication is enabled3096 when verification_feature_flag_enabled? returns true3097 returns true3098 when verification_feature_flag_enabled? returns false3099 returns false3100 when replication is disabled3101 returns false3102 .checksummed_count3103 when verification is enabled3104 when batch count feature flag is enabled3105 behaves like a counter of succeeded available verifiables3106 is expected to eq 13107 excludes other verification states3108 when batch count feature flag is disabled3109 behaves like a counter of succeeded available verifiables3110 is expected to eq 13111 excludes other verification states3112 when verification is disabled3113 returns nil3114 .verified_count3115 when verification is enabled3116 when batch count feature flag is enabled3117 behaves like a counter of succeeded available verifiables3118 is expected to eq 13119 excludes other verification states3120 when batch count feature flag is disabled3121 behaves like a counter of succeeded available verifiables3122 is expected to eq 13123 excludes other verification states3124 when verification is disabled3125 returns nil3126 .checksum_failed_count3127 when verification is enabled3128 when batch count feature flag is enabled3129 behaves like a counter of failed available verifiables3130 is expected to eq 13131 excludes other verification states3132 when batch count feature flag is disabled3133 behaves like a counter of failed available verifiables3134 is expected to eq 13135 excludes other verification states3136 when verification is disabled3137 returns nil3138 .verification_failed_count3139 when verification is enabled3140 when batch count feature flag is enabled3141 behaves like a counter of failed available verifiables3142 is expected to eq 13143 excludes other verification states3144 when batch count feature flag is disabled3145 behaves like a counter of failed available verifiables3146 is expected to eq 13147 excludes other verification states3148 when verification is disabled3149 returns nil3150 .verification_total_count3151 when verification is enabled3152 when batch count feature flag is enabled3153 when the verification_state is disabled3154 is expected to eq 03155 when the verification_state is not disabled3156 is expected to eq 13157 when batch count feature flag is disabled3158 when the verification_state is disabled3159 is expected to eq 03160 when the verification_state is not disabled3161 is expected to eq 13162 when verification is disabled3163 returns nil3164 .trigger_background_verification3165 when verification is enabled3166 for a Geo secondary3167 does not enqueue ReverificationBatchWorker3168 enqueues VerificationBatchWorker3169 enqueues VerificationTimeoutWorker3170 for a Geo primary3171 enqueues ReverificationBatchWorker3172 enqueues VerificationStateBackfillWorker3173 enqueues VerificationBatchWorker3174 enqueues VerificationTimeoutWorker3175 when verification is disabled3176 does not enqueue VerificationBatchWorker3177 does not enqueue VerificationTimeoutWorker3178 .backfill_verification_state_table3179 calls VerificationStateBackfillService3180 when on secondary3181 returns false3182 .verify_batch3183 when there are records needing verification3184 calls #verify on each replicator3185 .remaining_verification_batch_count3186 converts needs_verification_count to number of batches3187 .remaining_reverification_batch_count3188 converts needs_reverification_count to number of batches3189 .reverify_batch!3190 calls #reverify_batch3191 .replicator_batch_to_verify3192 returns usable Replicator instances3193 .model_record_id_batch_to_verify3194 when the batch is filled by pending rows3195 returns IDs of pending rows3196 does not call .verification_failed_batch3197 when that batch is not filled by pending rows3198 includes IDs of failed rows3199 .verification_pending_batch3200 when current node is a primary3201 delegates to the model class of the replicator3202 when current node is a secondary3203 delegates to the registry class of the replicator3204 .verification_failed_batch3205 when current node is a primary3206 delegates to the model class of the replicator3207 when current node is a secondary3208 delegates to the registry class of the replicator3209 .fail_verification_timeouts3210 when current node is a primary3211 delegates to the model class of the replicator3212 when current node is a secondary3213 delegates to the registry class of the replicator3214 #after_verifiable_update3215 verification_enabled: true, immutable: true, checksum: nil, checksummable: true, expect_verify_async: true3216 calls verify_async only if needed3217 verification_enabled: true, immutable: true, checksum: nil, checksummable: false, expect_verify_async: false3218 calls verify_async only if needed3219 verification_enabled: true, immutable: true, checksum: "abc123", checksummable: true, expect_verify_async: false3220 calls verify_async only if needed3221 verification_enabled: true, immutable: true, checksum: "abc123", checksummable: false, expect_verify_async: false3222 calls verify_async only if needed3223 verification_enabled: true, immutable: false, checksum: nil, checksummable: true, expect_verify_async: true3224 calls verify_async only if needed3225 verification_enabled: true, immutable: false, checksum: nil, checksummable: false, expect_verify_async: false3226 calls verify_async only if needed3227 verification_enabled: true, immutable: false, checksum: "abc123", checksummable: true, expect_verify_async: true3228 calls verify_async only if needed3229 verification_enabled: true, immutable: false, checksum: "abc123", checksummable: false, expect_verify_async: false3230 calls verify_async only if needed3231 verification_enabled: false, immutable: true, checksum: nil, checksummable: true, expect_verify_async: false3232 calls verify_async only if needed3233 verification_enabled: false, immutable: true, checksum: nil, checksummable: false, expect_verify_async: false3234 calls verify_async only if needed3235 verification_enabled: false, immutable: true, checksum: "abc123", checksummable: true, expect_verify_async: false3236 calls verify_async only if needed3237 verification_enabled: false, immutable: true, checksum: "abc123", checksummable: false, expect_verify_async: false3238 calls verify_async only if needed3239 verification_enabled: false, immutable: false, checksum: nil, checksummable: true, expect_verify_async: false3240 calls verify_async only if needed3241 verification_enabled: false, immutable: false, checksum: nil, checksummable: false, expect_verify_async: false3242 calls verify_async only if needed3243 verification_enabled: false, immutable: false, checksum: "abc123", checksummable: true, expect_verify_async: false3244 calls verify_async only if needed3245 verification_enabled: false, immutable: false, checksum: "abc123", checksummable: false, expect_verify_async: false3246 calls verify_async only if needed3247 #verify_async3248 on a Geo primary3249 calls verification_started! and enqueues VerificationWorker3250 #verify3251 wraps the checksum calculation in track_checksum_attempt!3252 #verification_state_tracker3253 on a Geo primary3254 returns model_record3255 on a Geo secondary3256 returns registry3257 #handle_after_checksum_succeeded3258 on a Geo primary3259 creates checksum_succeeded event3260 is called on verification success3261 on a Geo secondary3262 does not create an event3263 #consume_event_checksum_succeeded3264 with a persisted model_record3265 on a Geo primary3266 does nothing3267 on a Geo secondary3268 with a persisted registry3269 with a registry which is verified3270 sets state to verification_pending3271 with a registry which is pending verification3272 does not change state from verification_pending3273 with an unpersisted registry3274 does not persist the registry3275 #primary_verification_succeeded?3276 when the model record is verification_succeeded3277 returns true3278 when the model record is verification_succeeded3279 returns false3280 integration tests3281 on a primary3282 background backfill3283 verifies model records3284 triggered by events3285 verifies model records3286 on a secondary3287 background backfill3288 verifies registries3289 triggered by events3290 verifies registries3291ComplianceManagement::MergeRequestApprovalSettings::Resolver3292 is initialized3293 #allow_author_approval3294 instance_prevents_approval: true, group_allows_approval: true, project_allows_approval: nil, value: false, locked: true, inherited_from: :instance3295 behaves like a MR approval setting3296 has the correct value3297 has the correct locked status3298 has the correct inheritance3299 instance_prevents_approval: true, group_allows_approval: false, project_allows_approval: nil, value: false, locked: true, inherited_from: :instance3300 behaves like a MR approval setting3301 has the correct value3302 has the correct locked status3303 has the correct inheritance3304 instance_prevents_approval: false, group_allows_approval: true, project_allows_approval: nil, value: true, locked: false, inherited_from: nil3305 behaves like a MR approval setting3306 has the correct value3307 has the correct locked status3308 has the correct inheritance3309 instance_prevents_approval: false, group_allows_approval: false, project_allows_approval: nil, value: false, locked: false, inherited_from: nil3310 behaves like a MR approval setting3311 has the correct value3312 has the correct locked status3313 has the correct inheritance3314 instance_prevents_approval: false, group_allows_approval: nil, project_allows_approval: true, value: true, locked: false, inherited_from: nil3315 behaves like a MR approval setting3316 has the correct value3317 has the correct locked status3318 has the correct inheritance3319 instance_prevents_approval: false, group_allows_approval: nil, project_allows_approval: false, value: false, locked: false, inherited_from: nil3320 behaves like a MR approval setting3321 has the correct value3322 has the correct locked status3323 has the correct inheritance3324 instance_prevents_approval: true, group_allows_approval: nil, project_allows_approval: false, value: false, locked: true, inherited_from: :instance3325 behaves like a MR approval setting3326 has the correct value3327 has the correct locked status3328 has the correct inheritance3329 instance_prevents_approval: false, group_allows_approval: true, project_allows_approval: true, value: true, locked: false, inherited_from: nil3330 behaves like a MR approval setting3331 has the correct value3332 has the correct locked status3333 has the correct inheritance3334 instance_prevents_approval: false, group_allows_approval: false, project_allows_approval: true, value: false, locked: true, inherited_from: :group3335 behaves like a MR approval setting3336 has the correct value3337 has the correct locked status3338 has the correct inheritance3339 instance_prevents_approval: true, group_allows_approval: true, project_allows_approval: true, value: false, locked: true, inherited_from: :instance3340 behaves like a MR approval setting3341 has the correct value3342 has the correct locked status3343 has the correct inheritance3344 instance_prevents_approval: false, group_allows_approval: true, project_allows_approval: false, value: false, locked: false, inherited_from: nil3345 behaves like a MR approval setting3346 has the correct value3347 has the correct locked status3348 has the correct inheritance3349 #allow_committer_approval3350 instance_prevents_approval: true, group_allows_approval: true, project_prevents_approval: nil, value: false, locked: true, inherited_from: :instance3351 behaves like a MR approval setting3352 has the correct value3353 has the correct locked status3354 has the correct inheritance3355 instance_prevents_approval: true, group_allows_approval: false, project_prevents_approval: nil, value: false, locked: true, inherited_from: :instance3356 behaves like a MR approval setting3357 has the correct value3358 has the correct locked status3359 has the correct inheritance3360 instance_prevents_approval: false, group_allows_approval: true, project_prevents_approval: nil, value: true, locked: false, inherited_from: nil3361 behaves like a MR approval setting3362 has the correct value3363 has the correct locked status3364 has the correct inheritance3365 instance_prevents_approval: false, group_allows_approval: false, project_prevents_approval: nil, value: false, locked: false, inherited_from: nil3366 behaves like a MR approval setting3367 has the correct value3368 has the correct locked status3369 has the correct inheritance3370 instance_prevents_approval: false, group_allows_approval: nil, project_prevents_approval: true, value: false, locked: false, inherited_from: nil3371 behaves like a MR approval setting3372 has the correct value3373 has the correct locked status3374 has the correct inheritance3375 instance_prevents_approval: true, group_allows_approval: nil, project_prevents_approval: false, value: false, locked: true, inherited_from: :instance3376 behaves like a MR approval setting3377 has the correct value3378 has the correct locked status3379 has the correct inheritance3380 instance_prevents_approval: false, group_allows_approval: true, project_prevents_approval: true, value: false, locked: false, inherited_from: nil3381 behaves like a MR approval setting3382 has the correct value3383 has the correct locked status3384 has the correct inheritance3385 instance_prevents_approval: false, group_allows_approval: false, project_prevents_approval: false, value: false, locked: true, inherited_from: :group3386 behaves like a MR approval setting3387 has the correct value3388 has the correct locked status3389 has the correct inheritance3390 instance_prevents_approval: true, group_allows_approval: true, project_prevents_approval: false, value: false, locked: true, inherited_from: :instance3391 behaves like a MR approval setting3392 has the correct value3393 has the correct locked status3394 has the correct inheritance3395 #allow_overrides_to_approver_list_per_merge_request3396 instance_prevents_approval: true, group_allows_approval: true, project_prevents_approval: nil, value: false, locked: true, inherited_from: :instance3397 behaves like a MR approval setting3398 has the correct value3399 has the correct locked status3400 has the correct inheritance3401 instance_prevents_approval: true, group_allows_approval: false, project_prevents_approval: nil, value: false, locked: true, inherited_from: :instance3402 behaves like a MR approval setting3403 has the correct value3404 has the correct locked status3405 has the correct inheritance3406 instance_prevents_approval: false, group_allows_approval: true, project_prevents_approval: nil, value: true, locked: false, inherited_from: nil3407 behaves like a MR approval setting3408 has the correct value3409 has the correct locked status3410 has the correct inheritance3411 instance_prevents_approval: false, group_allows_approval: false, project_prevents_approval: nil, value: false, locked: false, inherited_from: nil3412 behaves like a MR approval setting3413 has the correct value3414 has the correct locked status3415 has the correct inheritance3416 instance_prevents_approval: false, group_allows_approval: nil, project_prevents_approval: true, value: false, locked: false, inherited_from: nil3417 behaves like a MR approval setting3418 has the correct value3419 has the correct locked status3420 has the correct inheritance3421 instance_prevents_approval: true, group_allows_approval: nil, project_prevents_approval: false, value: false, locked: true, inherited_from: :instance3422 behaves like a MR approval setting3423 has the correct value3424 has the correct locked status3425 has the correct inheritance3426 instance_prevents_approval: false, group_allows_approval: true, project_prevents_approval: true, value: false, locked: false, inherited_from: nil3427 behaves like a MR approval setting3428 has the correct value3429 has the correct locked status3430 has the correct inheritance3431 instance_prevents_approval: false, group_allows_approval: false, project_prevents_approval: false, value: false, locked: true, inherited_from: :group3432 behaves like a MR approval setting3433 has the correct value3434 has the correct locked status3435 has the correct inheritance3436 instance_prevents_approval: true, group_allows_approval: true, project_prevents_approval: false, value: false, locked: true, inherited_from: :instance3437 behaves like a MR approval setting3438 has the correct value3439 has the correct locked status3440 has the correct inheritance3441 #retain_approvals_on_push3442 group_retains_approvals: true, project_resets_approvals: nil, value: true, locked: false, inherited_from: nil3443 behaves like a MR approval setting3444 has the correct value3445 has the correct locked status3446 has the correct inheritance3447 group_retains_approvals: false, project_resets_approvals: nil, value: false, locked: false, inherited_from: nil3448 behaves like a MR approval setting3449 has the correct value3450 has the correct locked status3451 has the correct inheritance3452 group_retains_approvals: nil, project_resets_approvals: true, value: false, locked: false, inherited_from: nil3453 behaves like a MR approval setting3454 has the correct value3455 has the correct locked status3456 has the correct inheritance3457 group_retains_approvals: nil, project_resets_approvals: false, value: true, locked: false, inherited_from: nil3458 behaves like a MR approval setting3459 has the correct value3460 has the correct locked status3461 has the correct inheritance3462 group_retains_approvals: true, project_resets_approvals: false, value: true, locked: false, inherited_from: nil3463 behaves like a MR approval setting3464 has the correct value3465 has the correct locked status3466 has the correct inheritance3467 group_retains_approvals: false, project_resets_approvals: true, value: false, locked: true, inherited_from: :group3468 behaves like a MR approval setting3469 has the correct value3470 has the correct locked status3471 has the correct inheritance3472 group_retains_approvals: false, project_resets_approvals: false, value: false, locked: true, inherited_from: :group3473 behaves like a MR approval setting3474 has the correct value3475 has the correct locked status3476 has the correct inheritance3477 group_retains_approvals: true, project_resets_approvals: true, value: false, locked: false, inherited_from: nil3478 behaves like a MR approval setting3479 has the correct value3480 has the correct locked status3481 has the correct inheritance3482 #require_password_to_approve3483 group_requires_password: true, project_requires_password: nil, value: true, locked: false, inherited_from: nil3484 behaves like a MR approval setting3485 has the correct value3486 has the correct locked status3487 has the correct inheritance3488 group_requires_password: false, project_requires_password: nil, value: false, locked: false, inherited_from: nil3489 behaves like a MR approval setting3490 has the correct value3491 has the correct locked status3492 has the correct inheritance3493 group_requires_password: nil, project_requires_password: true, value: true, locked: false, inherited_from: nil3494 behaves like a MR approval setting3495 has the correct value3496 has the correct locked status3497 has the correct inheritance3498 group_requires_password: nil, project_requires_password: false, value: false, locked: false, inherited_from: nil3499 behaves like a MR approval setting3500 has the correct value3501 has the correct locked status3502 has the correct inheritance3503 group_requires_password: true, project_requires_password: false, value: true, locked: true, inherited_from: :group3504 behaves like a MR approval setting3505 has the correct value3506 has the correct locked status3507 has the correct inheritance3508 group_requires_password: true, project_requires_password: true, value: true, locked: true, inherited_from: :group3509 behaves like a MR approval setting3510 has the correct value3511 has the correct locked status3512 has the correct inheritance3513 group_requires_password: false, project_requires_password: false, value: false, locked: false, inherited_from: nil3514 behaves like a MR approval setting3515 has the correct value3516 has the correct locked status3517 has the correct inheritance3518 group_requires_password: false, project_requires_password: true, value: true, locked: false, inherited_from: nil3519 behaves like a MR approval setting3520 has the correct value3521 has the correct locked status3522 has the correct inheritance3523Geo::TerraformStateVersionRegistryFinder3524 behaves like a framework registry finder3525 #execute3526 when user cannot read all Geo3527 is expected to be empty3528 when user can read all Geo3529 when admin mode is disabled3530 is expected to be empty3531 when admin mode is enabled3532 with an ids param3533 returns specified registries3534 with an ids param empty3535 returns all registries3536 with a replication_state param3537 returns registries with requested replication state3538 with a replication_state param empty3539 returns all registries3540 with verification enabled3541 with a verification_state param3542 returns registries with requested verification state3543 with a verification_state param empty3544 returns all registries3545 with verification disabled3546 with a verification_state param3547 raises ArgumentError (PENDING: Skipping because verification is enabled for Terraform::StateVersion)3548 with a verification_state param empty3549 raises ArgumentError (PENDING: Skipping because verification is enabled for Terraform::StateVersion)3550 when search method is not implemented in the registry model3551 raises ArgumentError (PENDING: Skipping because search method is implemented for Terraform::StateVersion)3552 when search method is implemented in the registry model3553 returns a registry filtered by keyword (PENDING: Skipping because search method is not implemented3554 for Terraform::StateVersion or searchable attributes are not defined.)3555 with no params3556 returns all registries3557Gitlab::UsageDataMetrics3558 .uncached_data3559 with instrumentation_class3560 includes top level keys3561 includes counts keys3562 Redis_HLL_counters3563 is included in the Usage Ping hash structure3564SAST.gitlab-ci.yml3565 the created pipeline3566 when project has no license3567 when SAST_DISABLED=13568 includes no jobs3569 when SAST_EXPERIMENTAL_FEATURES is disabled for iOS projects3570 includes no jobs3571 by default3572 language detection3573 Android3574 creates a pipeline with the expected jobs3575 Android3576 creates a pipeline with the expected jobs3577 Android3578 creates a pipeline with the expected jobs3579 Android3580 creates a pipeline with the expected jobs3581 Android3582 creates a pipeline with the expected jobs3583 Apex3584 creates a pipeline with the expected jobs3585 C3586 creates a pipeline with the expected jobs3587 C++3588 creates a pipeline with the expected jobs3589 C#3590 creates a pipeline with the expected jobs3591 C#3592 creates a pipeline with the expected jobs3593 Elixir3594 creates a pipeline with the expected jobs3595 Elixir, nested3596 creates a pipeline with the expected jobs3597 Golang3598 creates a pipeline with the expected jobs3599 Groovy3600 creates a pipeline with the expected jobs3601 iOS3602 creates a pipeline with the expected jobs3603 iOS3604 creates a pipeline with the expected jobs3605 Java3606 creates a pipeline with the expected jobs3607 Java with MobSF3608 creates a pipeline with the expected jobs3609 Java without MobSF3610 creates a pipeline with the expected jobs3611 Javascript3612 creates a pipeline with the expected jobs3613 JSX3614 creates a pipeline with the expected jobs3615 Javascript Node3616 creates a pipeline with the expected jobs3617 HTML3618 creates a pipeline with the expected jobs3619 Kubernetes Manifests3620 creates a pipeline with the expected jobs3621 Multiple languages3622 creates a pipeline with the expected jobs3623 PHP3624 creates a pipeline with the expected jobs3625 Python3626 creates a pipeline with the expected jobs3627 Ruby3628 creates a pipeline with the expected jobs3629 Scala3630 creates a pipeline with the expected jobs3631 Scala3632 creates a pipeline with the expected jobs3633 Scala3634 creates a pipeline with the expected jobs3635 Typescript3636 creates a pipeline with the expected jobs3637 Typescript JSX3638 creates a pipeline with the expected jobs3639 Visual Basic3640 creates a pipeline with the expected jobs3641 when setting image tag dynamically3642 security-code-scan-sast3643 creates a build with the expected tag3644 security-code-scan-sast3645 creates a build with the expected tag3646Geo::LfsObjectReplicator3647 invokes replicator.handle_after_create_commit on create3648 behaves like a replicator3649 Geo node status3650 on a primary site3651 .primary_total_count3652 when batch count feature flag is enabled3653 returns the number of available replicables on primary3654 when batch count feature flag is disabled3655 returns the number of available replicables on primary3656 on a secondary site3657 .registry_count3658 when batch count feature flag is enabled3659 returns the number of registries on secondary3660 when batch count feature flag is disabled3661 returns the number of registries on secondary3662 .synced_count3663 when batch count feature flag is enabled3664 returns the number of synced items on secondary3665 when batch count feature flag is disabled3666 returns the number of synced items on secondary3667 .failed_count3668 when batch count feature flag is enabled3669 returns the number of failed items on secondary3670 when batch count feature flag is disabled3671 returns the number of failed items on secondary3672 when replicator is Geo::RegistrySyncWorker compatible3673 has "created" and "deleted" events3674 #replicator3675 is defined and does not raise error3676 .replicables_for_current_secondary3677 when syncing object storage is enabled3678 behaves like is implemented and returns a valid relation3679 is implemented3680 when syncing object storage is disabled3681 behaves like is implemented and returns a valid relation3682 is implemented3683 with selective sync disabled3684 behaves like is implemented and returns a valid relation3685 is implemented3686 with selective sync enabled for namespaces3687 behaves like is implemented and returns a valid relation3688 is implemented3689 with selective sync enabled for shards3690 behaves like is implemented and returns a valid relation3691 is implemented3692 #handle_after_create_commit3693 creates a Geo::Event3694 calls #after_verifiable_update3695 when replication feature flag is disabled3696 does not call #after_verifiable_update3697 does not publish3698 #handle_after_destroy3699 creates a Geo::Event3700 when replication feature flag is disabled3701 does not publish3702 created event consumption3703 when the blob's project is in replicables for this geo node3704 invokes Geo::BlobDownloadService3705 when the blob's project is not in replicables for this geo node3706 does not invoke Geo::BlobDownloadService3707 deleted event consumption3708 when model_record was deleted from the DB and the replicator only has its ID3709 invokes Geo::FileRegistryRemovalService3710 backward compatibility3711 invokes Geo::FileRegistryRemovalService when delete event is in deprecated format3712 when object storage is enabled3713 when GitLab managed replication is enabled3714 deletes the file from object storage3715 when GitLab managed replication is disabled3716 does not delete the file from object storage3717 #carrierwave_uploader3718 is implemented3719 #model3720 is implemented3721 is a Class3722 responds to primary_key3723 #blob_path3724 when the file is locally stored3725 returns a valid path to a file3726 #calculate_checksum3727 when the file is locally stored3728 when the file exists3729 returns hexdigest of the file3730 when the file does not exist3731 raises an error3732 when the file is remotely stored3733 raises an error3734 #file_exists?3735 is expected to be truthy3736 when the file does not exist3737 is expected to be falsey3738 when the file is nil3739 is expected to be falsey3740 .bulk_create_delete_events_async3741 creates events3742 raises error when model_record_id is nil3743 events3744 has checksum_succeeded event3745 .verification_enabled?3746 when replication is enabled3747 when verification_feature_flag_enabled? returns true3748 returns true3749 when verification_feature_flag_enabled? returns false3750 returns false3751 when replication is disabled3752 returns false3753 .checksummed_count3754 when verification is enabled3755 when batch count feature flag is enabled3756 behaves like a counter of succeeded available verifiables3757 is expected to eq 13758 excludes other verification states3759 when batch count feature flag is disabled3760 behaves like a counter of succeeded available verifiables3761 is expected to eq 13762 excludes other verification states3763 when verification is disabled3764 returns nil3765 .verified_count3766 when verification is enabled3767 when batch count feature flag is enabled3768 behaves like a counter of succeeded available verifiables3769 is expected to eq 13770 excludes other verification states3771 when batch count feature flag is disabled3772 behaves like a counter of succeeded available verifiables3773 is expected to eq 13774 excludes other verification states3775 when verification is disabled3776 returns nil3777 .checksum_failed_count3778 when verification is enabled3779 when batch count feature flag is enabled3780 behaves like a counter of failed available verifiables3781 is expected to eq 13782 excludes other verification states3783 when batch count feature flag is disabled3784 behaves like a counter of failed available verifiables3785 is expected to eq 13786 excludes other verification states3787 when verification is disabled3788 returns nil3789 .verification_failed_count3790 when verification is enabled3791 when batch count feature flag is enabled3792 behaves like a counter of failed available verifiables3793 is expected to eq 13794 excludes other verification states3795 when batch count feature flag is disabled3796 behaves like a counter of failed available verifiables3797 is expected to eq 13798 excludes other verification states3799 when verification is disabled3800 returns nil3801 .verification_total_count3802 when verification is enabled3803 when batch count feature flag is enabled3804 when the verification_state is disabled3805 is expected to eq 03806 when the verification_state is not disabled3807 is expected to eq 13808 when batch count feature flag is disabled3809 when the verification_state is disabled3810 is expected to eq 03811 when the verification_state is not disabled3812 is expected to eq 13813 when verification is disabled3814 returns nil3815 .trigger_background_verification3816 when verification is enabled3817 for a Geo secondary3818 does not enqueue ReverificationBatchWorker3819 enqueues VerificationBatchWorker3820 enqueues VerificationTimeoutWorker3821 for a Geo primary3822 enqueues ReverificationBatchWorker3823 enqueues VerificationStateBackfillWorker3824 enqueues VerificationBatchWorker3825 enqueues VerificationTimeoutWorker3826 when verification is disabled3827 does not enqueue VerificationBatchWorker3828 does not enqueue VerificationTimeoutWorker3829 .backfill_verification_state_table3830 calls VerificationStateBackfillService3831 when on secondary3832 returns false3833 .verify_batch3834 when there are records needing verification3835 calls #verify on each replicator3836 .remaining_verification_batch_count3837 converts needs_verification_count to number of batches3838 .remaining_reverification_batch_count3839 converts needs_reverification_count to number of batches3840 .reverify_batch!3841 calls #reverify_batch3842 .replicator_batch_to_verify3843 returns usable Replicator instances3844 .model_record_id_batch_to_verify3845 when the batch is filled by pending rows3846 returns IDs of pending rows3847 does not call .verification_failed_batch3848 when that batch is not filled by pending rows3849 includes IDs of failed rows3850 .verification_pending_batch3851 when current node is a primary3852 delegates to the model class of the replicator3853 when current node is a secondary3854 delegates to the registry class of the replicator3855 .verification_failed_batch3856 when current node is a primary3857 delegates to the model class of the replicator3858 when current node is a secondary3859 delegates to the registry class of the replicator3860 .fail_verification_timeouts3861 when current node is a primary3862 delegates to the model class of the replicator3863 when current node is a secondary3864 delegates to the registry class of the replicator3865 #after_verifiable_update3866 verification_enabled: true, immutable: true, checksum: nil, checksummable: true, expect_verify_async: true3867 calls verify_async only if needed3868 verification_enabled: true, immutable: true, checksum: nil, checksummable: false, expect_verify_async: false3869 calls verify_async only if needed3870 verification_enabled: true, immutable: true, checksum: "abc123", checksummable: true, expect_verify_async: false3871 calls verify_async only if needed3872 verification_enabled: true, immutable: true, checksum: "abc123", checksummable: false, expect_verify_async: false3873 calls verify_async only if needed3874 verification_enabled: true, immutable: false, checksum: nil, checksummable: true, expect_verify_async: true3875 calls verify_async only if needed3876 verification_enabled: true, immutable: false, checksum: nil, checksummable: false, expect_verify_async: false3877 calls verify_async only if needed3878 verification_enabled: true, immutable: false, checksum: "abc123", checksummable: true, expect_verify_async: true3879 calls verify_async only if needed3880 verification_enabled: true, immutable: false, checksum: "abc123", checksummable: false, expect_verify_async: false3881 calls verify_async only if needed3882 verification_enabled: false, immutable: true, checksum: nil, checksummable: true, expect_verify_async: false3883 calls verify_async only if needed3884 verification_enabled: false, immutable: true, checksum: nil, checksummable: false, expect_verify_async: false3885 calls verify_async only if needed3886 verification_enabled: false, immutable: true, checksum: "abc123", checksummable: true, expect_verify_async: false3887 calls verify_async only if needed3888 verification_enabled: false, immutable: true, checksum: "abc123", checksummable: false, expect_verify_async: false3889 calls verify_async only if needed3890 verification_enabled: false, immutable: false, checksum: nil, checksummable: true, expect_verify_async: false3891 calls verify_async only if needed3892 verification_enabled: false, immutable: false, checksum: nil, checksummable: false, expect_verify_async: false3893 calls verify_async only if needed3894 verification_enabled: false, immutable: false, checksum: "abc123", checksummable: true, expect_verify_async: false3895 calls verify_async only if needed3896 verification_enabled: false, immutable: false, checksum: "abc123", checksummable: false, expect_verify_async: false3897 calls verify_async only if needed3898 #verify_async3899 on a Geo primary3900 calls verification_started! and enqueues VerificationWorker3901 #verify3902 wraps the checksum calculation in track_checksum_attempt!3903 #verification_state_tracker3904 on a Geo primary3905 returns model_record3906 on a Geo secondary3907 returns registry3908 #handle_after_checksum_succeeded3909 on a Geo primary3910 creates checksum_succeeded event3911 is called on verification success3912 on a Geo secondary3913 does not create an event3914 #consume_event_checksum_succeeded3915 with a persisted model_record3916 on a Geo primary3917 does nothing3918 on a Geo secondary3919 with a persisted registry3920 with a registry which is verified3921 sets state to verification_pending3922 with a registry which is pending verification3923 does not change state from verification_pending3924 with an unpersisted registry3925 does not persist the registry3926 #primary_verification_succeeded?3927 when the model record is verification_succeeded3928 returns true3929 when the model record is verification_succeeded3930 returns false3931 integration tests3932 on a primary3933 background backfill3934 verifies model records3935 triggered by events3936 verifies model records3937 on a secondary3938 background backfill3939 verifies registries3940 triggered by events3941 verifies registries3942Autocomplete::VulnerabilitiesAutocompleteFinder3943 #execute3944 when vulnerable is project3945 behaves like autocomplete vulnerabilities finder3946 when the given user is nil3947 is expected to be empty3948 when the given user is not nil3949 when user does not have access to project3950 is expected to be empty3951 when user has access to project3952 when security dashboards are not enabled3953 is expected to be empty3954 when security dashboards are enabled3955 is expected to contain exactly #<Vulnerability id:1 [vulnerability:group110/project986/1]>3956 when multiple vulnerabilities are found3957 returns max 5 items3958 is sorted descending by id3959 when search is provided in params3960 and it matches ID of vulnerability3961 is expected to contain exactly #<Vulnerability id:1 [vulnerability:group110/project986/1]>3962 and it matches title of vulnerability3963 is expected to contain exactly #<Vulnerability id:1 [vulnerability:group110/project986/1]>3964 and it does not match neither title or id of vulnerability3965 is expected to be empty3966 when vulnerable is group3967 behaves like autocomplete vulnerabilities finder3968 when the given user is nil3969 is expected to be empty3970 when the given user is not nil3971 when user does not have access to project3972 is expected to be empty3973 when user has access to project3974 when security dashboards are not enabled3975 is expected to be empty3976 when security dashboards are enabled3977 is expected to contain exactly #<Vulnerability id:1 [vulnerability:group110/project986/1]>3978 when multiple vulnerabilities are found3979 returns max 5 items3980 is sorted descending by id3981 when search is provided in params3982 and it matches ID of vulnerability3983 is expected to contain exactly #<Vulnerability id:1 [vulnerability:group110/project986/1]>3984 and it matches title of vulnerability3985 is expected to contain exactly #<Vulnerability id:1 [vulnerability:group110/project986/1]>3986 and it does not match neither title or id of vulnerability3987 is expected to be empty3988RequirementsManagement::Requirement3989 associations3990 is expected to belong to project required: false3991 is expected to have many test_reports through requirement_issue3992 is expected to have many recent_test_reports through requirement_issue order => requirements_management_test_reports.created_at DESC3993 behaves like a model with a requirement issue association3994 requirement issue association3995 when the requirement issue is of type requirement3996 is expected to be valid3997 when requirement issue is not of requirement type3998 is expected to include /must be a `requirement`/3999 when requirement issue is invalid but the type field is not dirty4000 is expected to be valid4001 is expected to be valid4002 delegate4003 is expected to delegate #author to the #requirement_issue object, allowing #requirement_issue to return nil4004 is expected to delegate #author_id to the #requirement_issue object, allowing #requirement_issue to return nil4005 is expected to delegate #title to the #requirement_issue object, allowing #requirement_issue to return nil4006 is expected to delegate #title_html to the #requirement_issue object, allowing #requirement_issue to return nil4007 is expected to delegate #description to the #requirement_issue object, allowing #requirement_issue to return nil4008 is expected to delegate #description_html to the #requirement_issue object, allowing #requirement_issue to return nil4009 is expected to delegate #cached_markdown_version to the #requirement_issue object, allowing #requirement_issue to return nil4010 is expected to delegate #created_at to the #requirement_issue object, allowing #requirement_issue to return nil4011 is expected to delegate #updated_at to the #requirement_issue object, allowing #requirement_issue to return nil4012 with nil attributes4013 returns delegated author value4014 returns delegated author_id value4015 returns delegated title value4016 returns delegated title_html value4017 returns delegated description value4018 returns delegated description_html value4019 returns delegated cached_markdown_version value4020 returns delegated created_at value4021 returns delegated updated_at value4022 validations4023 is expected to validate that :issue_id is case-sensitively unique4024 is expected to validate that :project cannot be empty/falsy4025 is expected to validate that :requirement_issue cannot be empty/falsy4026 is limited to a unique requirement_issue4027 must belong to same project of the work item4028 scopes4029 .counts_by_state4030 is expected to contain exactly ["archived", 1] and ["opened", 1]4031 .with_author4032 with one author4033 is expected to contain exactly #<RequirementsManagement::Requirement id: 17, project_id: 992, iid: 1, issue_id: 367>4034 with multiple authors4035 is expected to contain exactly #<RequirementsManagement::Requirement id: 17, project_id: 992, iid: 1, issue_id: 367> and #<RequirementsManagement::Requirement id: 18, project_id: 992, iid: 2, issue_id: 368>4036 .search4037 with a query that covers both4038 is expected to contain exactly #<RequirementsManagement::Requirement id: 19, project_id: 992, iid: 1, issue_id: 369> and #<RequirementsManagement::Requirement id: 20, project_id: 992, iid: 2, issue_id: 370>4039 with a query that covers neither4040 is expected to be empty4041 with a query that covers one4042 is expected to contain exactly #<RequirementsManagement::Requirement id: 19, project_id: 992, iid: 1, issue_id: 369>4043 behaves like a collection filtered by test reports state4044 .with_last_test_report_state4045 for passed state4046 is expected to contain exactly #<RequirementsManagement::Requirement id: 22, project_id: 1004, iid: 1, issue_id: 372> and #<RequirementsManagement::Requirement id: 23, project_id: 1005, iid: 1, issue_id: 373>4047 for failed state4048 is expected to contain exactly #<RequirementsManagement::Requirement id: 21, project_id: 1003, iid: 1, issue_id: 371>4049 .without_test_reports4050 returns requirements without test reports4051 .for_state4052 for opened state4053 is expected to contain exactly #<RequirementsManagement::Requirement id: 25, project_id: 1022, iid: 1, issue_id: 375>4054 for archived state4055 is expected to contain exactly #<RequirementsManagement::Requirement id: 26, project_id: 1023, iid: 1, issue_id: 376>4056 ordering4057 .order_created_desc4058 is expected to eq [#<RequirementsManagement::Requirement id: 29, project_id: 1026, iid: 1, issue_id: 379>, #<Requiremen...ue_id: 378>, #<RequirementsManagement::Requirement id: 27, project_id: 1024, iid: 1, issue_id: 377>]4059 .order_created_asc4060 is expected to eq [#<RequirementsManagement::Requirement id: 27, project_id: 1024, iid: 1, issue_id: 377>, #<Requiremen...ue_id: 378>, #<RequirementsManagement::Requirement id: 29, project_id: 1026, iid: 1, issue_id: 379>]4061 .order_updated_desc4062 is expected to eq [#<RequirementsManagement::Requirement id: 29, project_id: 1026, iid: 1, issue_id: 379>, #<Requiremen...ue_id: 378>, #<RequirementsManagement::Requirement id: 27, project_id: 1024, iid: 1, issue_id: 377>]4063 .order_updated_asc4064 is expected to eq [#<RequirementsManagement::Requirement id: 27, project_id: 1024, iid: 1, issue_id: 377>, #<Requiremen...ue_id: 378>, #<RequirementsManagement::Requirement id: 29, project_id: 1026, iid: 1, issue_id: 379>]4065 #last_test_report_state4066 when latest test report is passing4067 returns passing4068 when latest test report is failing4069 returns failing4070 when there are no test reports4071 returns nil4072 #status_manually_updated4073 when latest test report has a build4074 returns false4075 when latest test report does not have a build4076 returns true4077 sync with requirement issues4078 when destroying a requirement4079 also destroys the associated requirement issue4080 when destroying a requirement issue4081 also destroys the associated requirement4082 #state4083 when linked requirement issue is not present4084 returns nil4085 when linked requirement issue is present4086 returns requirement issue stored state4087 returns mapped value for state4088MergeRequestsFinder4089 #execute4090 ignores filtering by weight4091 merge commit sha4092 filters by merge commit sha4093 filtering by approved4094 when licensed4095 for approved4096 for not approved4097 when unlicensed4098 for approved4099 for not approved4100 filtering by approver usernames4101 returns merge requests that have user as an approver4102 with nil values4103 returns same set of merge requests without approvers4104 filtering by approver user IDs4105 returns merge requests that have user as an approver4106 with nil values4107 returns same set of merge requests without approvers4108 filtering by scoped label wildcard4109 returns all merge requests that match the wildcard4110GroupMember4111 is expected to includes the EE::GroupMember module4112 behaves like member validations4113 validations4114 validates SSO enforcement4115 enforced SSO enabled4116 allows adding a user linked to the SAML account as member4117 does not allow adding a user not linked to the SAML account as member4118 allows adding a project bot as member4119 subgroups4120 does not allow adding a group member with SSO enforced on subgroup4121 enforced SSO disabled4122 allows adding the group member4123 validations4124 #group_domain_validations4125 behaves like member group domain validations4126 validates group domain limitations4127 when project parent has email domain feature switched on4128 users email must match at least one of the allowed domain emails4129 shows proper error message when not invited by admin4130 shows proper error message when invited by admin4131 shows proper error message for single domain limitation4132 invited email must match at least one of the allowed domain emails4133 user emails matching allowed domain must be verified4134 with project bot users4135 bot user email does not match4136 allows the project bot user4137 with group SAML users4138 user emails does not have to be verified4139 with group SCIM users4140 user emails does not have to be verified4141 when group is subgroup4142 users email must match at least one of the allowed domain emails4143 invited email must match at least one of the allowed domain emails4144 user emails matching allowed domain must be verified4145 with group SCIM users4146 user emails does not have to be verified4147 with group SAML users4148 user emails does not have to be verified4149 when project parent group has email domain feature switched off4150 users email need not match allowed domain emails4151 invited email need not match allowed domain emails4152 user emails does not have to be verified4153 access level inclusion4154 when minimal access user feature switched on4155 users can have access levels from minimal access to owner4156 when group is a subgroup4157 users cannot have minimal access level4158 when minimal access user feature switched off4159 users can have access levels from guest to owner4160 scopes4161 .by_group_ids4162 returns only members from selected groups4163 .guests4164 returns only guests members4165 .with_saml_identity4166 returns members with identity linked to given saml provider4167 .filter_by_enterprise_users4168 returns members that are provisioned by a group when the filter is `true`4169 returns members that are not provisioned by a group when the filter is `false`4170 refreshing project_authorizations4171 when the source group of the group member is destroyed4172 refreshes the authorization of user to the project in the group4173 refreshes the authorization without calling UserProjectAccessChangedService4174 when the user of the group member is destroyed4175 refreshes the authorization of user to the project in the group4176 refreshes the authorization without calling UserProjectAccessChangedService4177 #state4178 #activate!4179 refreshes the user's authorized projects4180 #wait!4181 refreshes the user's authorized projects4182 group member webhooks4183 when a member is added to the group4184 executes user_add_to_group event webhook4185 ancestor groups4186 fires two webhooks when parent group has member_events webhook enabled4187 fires one webhook when parent group has member_events webhook disabled4188 when a group member is updated4189 executes user_update_for_group event webhook when user role is updated4190 executes user_update_for_group event webhook when user expiration date is updated4191 when the group member is deleted4192 executes user_remove_from_group event webhook when group member is deleted4193 does not execute webhook4194 does not execute webhooks if group member events webhook is disabled4195 does not execute webhooks if license is disabled4196 group member welcome email4197 when user is provisioned by group4198 schedules the welcome email with confirmation4199 when user is not provisioned by group4200 schedules plain welcome to the group email4201 #provisioned_by_this_group?4202 when user is provisioned by the group4203 is expected to eq true4204 when user is not provisioned by the group4205 is expected to eq false4206 when member does not have a related user (invited member)4207 is expected to eq false4208DashboardOperationsProjectEntity4209 the project supports the ops dashboard4210 has all required fields4211 does not have optional fields4212 when there is a pipeline4213 has the last pipeline field4214 when there is an upstream status4215 has the triggered_by pipeline field4216 when there is a downstream status4217 has the triggered pipeline field4218 when there are multiple downstream statuses4219 has the downstream pipeline field4220 when there are both an upstream and downstream pipelines4221 has the upstream pipeline field4222 has the downstream pipeline field4223 the project does not support the ops dashboard4224 has the expected fields4225 the user has permission to upgrade plan4226 shows the profile upgrade path4227 the user has permission to upgrade group4228 shows the group upgrade path4229Security::SecurityOrchestrationPolicies::RuleScheduleService4230 #execute4231 when scan type is dast4232 invokes Security::SecurityOrchestrationPolicies::CreatePipelineService4233 when scan type is secret_detection4234 invokes Security::SecurityOrchestrationPolicies::CreatePipelineService4235 when scan type is container_scanning4236 invokes Security::SecurityOrchestrationPolicies::CreatePipelineService4237 when clusters are not defined in the rule4238 invokes Security::SecurityOrchestrationPolicies::CreatePipelineService for both branches4239 when scan type is sast4240 invokes Security::SecurityOrchestrationPolicies::CreatePipelineService for both branches4241 invokes Security::SecurityOrchestrationPolicies::CreatePipelineService4242 when policy actions exists and there are multiple matching branches4243 creates multiple scan pipelines4244 when the branch in rules does not exist4245 behaves like does not execute scan4246 does not create scan pipeline4247 when policy actions does not exist4248 behaves like does not execute scan4249 does not create scan pipeline4250 when policy scan type is invalid4251 behaves like does not execute scan4252 does not create scan pipeline4253 when policy does not exist4254 behaves like does not execute scan4255 does not create scan pipeline4256ProtectedBranch4257 associations4258 is expected to have many required_code_owners_sections class_name => ProtectedBranch::RequiredCodeOwnersSection4259 is expected to have and belong to many approval_project_rules4260 is expected to have and belong to many external_status_checks class_name => ::MergeRequests::ExternalStatusCheck4261 behaves like uniqueness validation4262 while checking uniqueness of a role-based merge access level4263 allows a single merge access level for a role (per protected branch)4264 does not count a user-based merge access level with an `access_level` set4265 does not count a group-based merge access level with an `access_level` set4266 while checking uniqueness of a user-based merge access level4267 allows a single merge access level for a user (per protected branch)4268 ignores the `access_level` while validating a user-based merge access level4269 while checking uniqueness of a group-based merge access level4270 allows a single merge access level for a group (per protected branch)4271 ignores the `access_level` while validating a group-based merge access level4272 behaves like uniqueness validation4273 while checking uniqueness of a role-based push access level4274 allows a single push access level for a role (per protected branch)4275 does not count a user-based push access level with an `access_level` set4276 does not count a group-based push access level with an `access_level` set4277 while checking uniqueness of a user-based push access level4278 allows a single push access level for a user (per protected branch)4279 ignores the `access_level` while validating a user-based push access level4280 while checking uniqueness of a group-based push access level4281 allows a single push access level for a group (per protected branch)4282 ignores the `access_level` while validating a group-based push access level4283 #code_owner_approval_required4284 when the attr code_owner_approval_required is true4285 returns true4286 returns false when the project doesn't require approvals4287 when the attr code_owner_approval_required is false4288 returns false4289 #can_unprotect?4290 without unprotect_access_levels4291 doesn't add any additional restriction4292 with access level set to MAINTAINER4293 defaults to requiring maintainer access4294 with access level set to ADMIN4295 prevents access to maintainers4296 grants access to admins4297 multiple access levels4298 grants access if any grant access4299 .branch_requires_code_owner_approval?4300 when there are no match branches4301 return false4302 when `code_owner_approval_required_available?` of project is false4303 return false4304 when there are matched branches4305 feature_available: true, object: project, code_owner_approval_required: false, result: false4306 is expected to eq false4307 feature_available: true, object: project, code_owner_approval_required: true, result: true4308 is expected to eq true4309 feature_available: false, object: project, code_owner_approval_required: true, result: true4310 is expected to eq true4311 feature_available: true, object: group, code_owner_approval_required: false, result: false4312 is expected to eq false4313 feature_available: true, object: group, code_owner_approval_required: true, result: true4314 is expected to eq true4315 feature_available: false, object: group, code_owner_approval_required: true, result: false4316 is expected to eq false4317 #inherited?4318 when the `namespace_id` is nil4319 is expected not to be inherited4320 when the `namespace_id` is present4321 is expected to be inherited4322Geo::RepositoryVerificationFinder4323 #find_failed_repositories4324 returns projects where next retry attempt is in the past4325 does not return projects where next retry attempt is in the future4326 does not return projects where repository was recently updated4327 does not return projects where repository verification is pending4328 returns projects ordered by next retry time4329 with shard restriction4330 does not return projects on other shards4331 #find_failed_wikis4332 returns projects where next retry attempt is in the past4333 does not return projects where next retry attempt is in the future4334 does not return projects where wiki was recently updated4335 does not return projects where wiki verification is pending4336 returns projects ordered by next retry time4337 with shard restriction4338 does not return projects on other shards4339 #find_recently_updated_projects4340 returns projects where repository was recently updated4341 returns projects where repository verification is pending4342 does not return projects where repository verification failed4343 returns projects where wiki was recently updated4344 returns projects where wiki verification is pending4345 does not return projects where wiki verification failed4346 returns less active projects first4347 with shard restriction4348 does not return projects on other shards4349 #find_never_verified_projects4350 returns projects that never have been verified4351 with shard restriction4352 does not return projects on other shards4353 #find_reverifiable_repositories4354 behaves like find reverifiable projects4355 returns projects where repository was verified before the minimum re-verification interval4356 does not return projects where repository was recently updated4357 does not return projects where repository verification failed4358 returns less active projects first4359 with shard restriction4360 does not return projects on other shards4361 #find_reverifiable_wikis4362 behaves like find reverifiable projects4363 returns projects where wiki was verified before the minimum re-verification interval4364 does not return projects where wiki was recently updated4365 does not return projects where wiki verification failed4366 returns less active projects first4367 with shard restriction4368 does not return projects on other shards4369 #count_verified_repositories4370 when a repository is verified4371 includes the repository4372 when a repository failed verification4373 excludes the repository4374 when a repository has outdated verification4375 excludes the repository4376 #count_verified_wikis4377 when a wiki is verified4378 includes the wiki4379 when a wiki failed verification4380 excludes the wiki4381 when a wiki has outdated verification4382 excludes the wiki4383MergeRequests::ResetApprovalsService4384 #execute4385 as default4386 resets all approvals4387 behaves like triggers GraphQL subscription mergeRequestMergeStatusUpdated4388 is expected to receive merge_request_merge_status_updated(#<MergeRequest id:152 group220/project1286!1>) 1 time4389 behaves like triggers GraphQL subscription mergeRequestApprovalStateUpdated4390 is expected to receive merge_request_approval_state_updated(#<MergeRequest id:153 group221/project1287!1>) 1 time4391 when skip_reset_checks: true4392 deletes all approvals directly without additional checks or side-effects4393 will delete approvals in situations where a false setting would not4394 with selective code owner removals4395 resets code owner approvals with changes4396 behaves like triggers GraphQL subscription mergeRequestMergeStatusUpdated4397 is expected to receive merge_request_merge_status_updated(#<MergeRequest id:156 namespace1443/project1290!1>) 1 time4398 behaves like triggers GraphQL subscription mergeRequestApprovalStateUpdated4399 is expected to receive merge_request_approval_state_updated(#<MergeRequest id:156 namespace1443/project1290!1>) 1 time4400AppSec::Dast::ProfileScheduleWorker4401 #perform4402 when feature is licensed4403 when multiple schedules exists4404 preloads configuration, project and owner to avoid N+1 queries4405 when all of the schedule owners are invalid4406 sets active to false4407 when some of the schedule owners are invalid4408 sets active to false4409 when schedule exists4410 executes the service that creates dast scans4411 calls the service that creates dast scans with the correct parameters4412 when the schedule owner is invalid4413 sets active to false4414 when service returns an error4415 succeeds and logs the error4416 when schedule does not exist4417 does not execute the service that creates dast scans4418 when a schedule that does not repeat exists4419 sets active to false4420RequirementsManagement::ImportCsvService4421 when user can create requirements4422 #execute4423 behaves like correctly handles invalid files4424 when given file with unsupported extension4425 behaves like invalid file4426 returns invalid file error4427 when given empty file4428 behaves like invalid file4429 returns invalid file error4430 when given file without headers4431 behaves like invalid file4432 returns invalid file error4433 behaves like importer with email notification4434 notifies user of import result4435 with a file generated by Gitlab CSV export4436 imports the CSV without errors4437 correctly sets the issuable attributes4438 behaves like importer with email notification4439 notifies user of import result4440 comma delimited file4441 imports CSV without errors4442 correctly sets the issuable attributes4443 behaves like importer with email notification4444 notifies user of import result4445 tab delimited file with error row4446 imports CSV with some error rows4447 correctly sets the issuable attributes4448 behaves like importer with email notification4449 notifies user of import result4450 semicolon delimited file with CRLF4451 imports CSV with a blank row4452 correctly sets the issuable attributes4453 behaves like importer with email notification4454 notifies user of import result4455 when user cannot create requirements4456 behaves like resource not available4457 raises an error4458 when requirements feature is not available4459 behaves like resource not available4460 raises an error4461Groups::Memberships::ExportService4462 #execute4463 when unlicensed4464 behaves like not available4465 returns a failed response4466 when licensed4467 is successful4468 current_user is not an owner of this group4469 behaves like not available4470 returns a failed response4471 current_user is a group developer4472 behaves like not available4473 returns a failed response4474 current_user is a group maintainer4475 behaves like not available4476 returns a failed response4477 current_user is a guest4478 behaves like not available4479 returns a failed response4480 data verification4481 has the correct headers4482 has the correct number of rows4483 a direct user4484 has the correct information4485 a user in a subgroup4486 has the correct information4487Geo::RepositoryRegistrySyncWorker4488 # order random4489 #max_capacity4490 when repos_max_capacity is lower than 104491 when container repository replication is enabled4492 returns the container_repositories_max_capacity + 14493 when container repository replication is disabled4494 returns 14495 when repos_max_capacity is multiple of 104496 when container repository replication is enabled4497 returns the capacity based on 1/10 of repos_max_capacity plus container_repositories_max_capacity4498 when container repository replication is disabled4499 returns only 1/10 of repos_max_capacity based capacity4500 behaves like a framework registry sync worker4501 #perform4502 does not schedule anything when tracking database is not configured4503 does not schedule anything when node is disabled4504 does not schedule duplicated jobs4505 does not schedule duplicated jobs because of query cache4506 attempts to load a new batch without pending registries4507Secure-Binaries.gitlab-ci.yml4508 is expected not to be nil4509 template content4510 when compared to DAST-API template4511 includes the same DAST API image prefix4512 includes the DAST API image name in secure binary analyzers4513 includes a job named after the DAST API image name4514 includes the same DAST API image version4515 filters the secure binary analyzers by the DAST API image name4516 when compared to DAST-API.latest template4517 includes the same DAST API image prefix4518 includes the DAST API image name in secure binary analyzers4519 includes a job named after the DAST API image name4520 includes the same DAST API image version4521 filters the secure binary analyzers by the DAST API image name4522 when compared to API-Fuzzing template4523 includes the same API Fuzzing image prefix4524 includes the API Fuzzing image name in secure binary analyzers4525 includes a job named after the API Fuzzing image name4526 includes the same API Fuzzing image version4527 filters the secure binary analyzers by the API Fuzzing image name4528 when compared to API-Fuzzing.latest template4529 includes the same API Fuzzing image prefix4530 includes the API Fuzzing image name in secure binary analyzers4531 includes a job named after the API Fuzzing image name4532 includes the same API Fuzzing image version4533 filters the secure binary analyzers by the API Fuzzing image name4534 the created pipeline4535 dast4536 behaves like an offline image download job4537 creates the job4538 sets SECURE_BINARIES_ANALYZER_VERSION to the correct version4539 dast-runner-validation4540 behaves like an offline image download job4541 creates the job4542 sets SECURE_BINARIES_ANALYZER_VERSION to the correct version4543 sets SECURE_BINARIES_IMAGE explicitly4544 api-security4545 behaves like an offline image download job4546 creates the job4547 sets SECURE_BINARIES_ANALYZER_VERSION to the correct version4548 sets SECURE_BINARIES_ANALYZER_VERSION explicitly4549Groups::SyncService4550 #execute4551 adds two new group member records4552 adds the user to top_level_group as Guest4553 adds the user to group1 as Developer4554 returns a success response4555 returns sync stats as payload4556 when the user is already a member4557 with the correct access level4558 does not change group member count4559 retains the correct access level4560 does not call Group find_by_id4561 with a different access level4562 when the user is not the last owner4563 does not change the group member count4564 updates the access_level4565 returns sync stats as payload4566 when the user is the last owner4567 does not change the group member count4568 does not update the access_level4569 returns sync stats as payload4570 when a group has no group links4571 when manage_group_ids is present4572 behaves like removes the member4573 reduces group member count by 14574 removes the matching user4575 returns sync stats as payload4576 in a group that is not managed4577 behaves like retains the member4578 does not change the group member count4579 retains the correct access level4580 when no groups are managed4581 behaves like retains the member4582 does not change the group member count4583 retains the correct access level4584 when the user has an access request4585 accepts the access request successfully4586Gitlab::WebHooks::RateLimiter4587 LIMIT_MAP4588 contains all paid plans4589 #rate_limit!4590 when there is no GitLab subscription4591 can never be rate-limited4592 when there are no reasons preventing the rate limit4593 can be rate limited4594 integration-style test of limits4595 hook: project_hook_with_premium_plan, seats: 99, rate_limit_name: :web_hook_calls_low, limit: 14596 rate limits correctly4597 hook: project_hook_with_premium_plan, seats: 100, rate_limit_name: :web_hook_calls_mid, limit: 24598 rate limits correctly4599 hook: project_hook_with_premium_plan, seats: 399, rate_limit_name: :web_hook_calls_mid, limit: 24600 rate limits correctly4601 hook: project_hook_with_premium_plan, seats: 400, rate_limit_name: :web_hook_calls, limit: 34602 rate limits correctly4603 hook: project_hook_with_ultimate_plan, seats: 999, rate_limit_name: :web_hook_calls_low, limit: 44604 rate limits correctly4605 hook: project_hook_with_ultimate_plan, seats: 1000, rate_limit_name: :web_hook_calls_mid, limit: 54606 rate limits correctly4607 hook: project_hook_with_ultimate_plan, seats: 4999, rate_limit_name: :web_hook_calls_mid, limit: 54608 rate limits correctly4609 hook: project_hook_with_ultimate_plan, seats: 5000, rate_limit_name: :web_hook_calls, limit: 64610 rate limits correctly4611 hook: group_hook_with_opensource_plan, seats: 999, rate_limit_name: :web_hook_calls_low, limit: 74612 rate limits correctly4613 hook: group_hook_with_opensource_plan, seats: 1000, rate_limit_name: :web_hook_calls_mid, limit: 84614 rate limits correctly4615 hook: group_hook_with_opensource_plan, seats: 4999, rate_limit_name: :web_hook_calls_mid, limit: 84616 rate limits correctly4617 hook: group_hook_with_opensource_plan, seats: 5000, rate_limit_name: :web_hook_calls, limit: 94618 rate limits correctly4619 hook: group_hook_with_bronze_plan, seats: 99, rate_limit_name: :web_hook_calls_low, limit: 94620 rate limits correctly4621 hook: group_hook_with_bronze_plan, seats: 100, rate_limit_name: :web_hook_calls_mid, limit: 84622 rate limits correctly4623 hook: group_hook_with_bronze_plan, seats: 399, rate_limit_name: :web_hook_calls_mid, limit: 84624 rate limits correctly4625 hook: group_hook_with_bronze_plan, seats: 400, rate_limit_name: :web_hook_calls, limit: 74626 rate limits correctly4627 hook: group_hook_with_silver_plan, seats: 99, rate_limit_name: :web_hook_calls_low, limit: 64628 rate limits correctly4629 hook: group_hook_with_silver_plan, seats: 100, rate_limit_name: :web_hook_calls_mid, limit: 54630 rate limits correctly4631 hook: group_hook_with_silver_plan, seats: 399, rate_limit_name: :web_hook_calls_mid, limit: 54632 rate limits correctly4633 hook: group_hook_with_silver_plan, seats: 400, rate_limit_name: :web_hook_calls, limit: 44634 rate limits correctly4635 hook: group_hook_with_gold_plan, seats: 999, rate_limit_name: :web_hook_calls_low, limit: 34636 rate limits correctly4637 hook: group_hook_with_gold_plan, seats: 1000, rate_limit_name: :web_hook_calls_mid, limit: 24638 rate limits correctly4639 hook: group_hook_with_gold_plan, seats: 4999, rate_limit_name: :web_hook_calls_mid, limit: 24640 rate limits correctly4641 hook: group_hook_with_gold_plan, seats: 5000, rate_limit_name: :web_hook_calls, limit: 14642 rate limits correctly4643 hook: group_hook_with_premium_trial_plan, seats: 99, rate_limit_name: :web_hook_calls_low, limit: 14644 rate limits correctly4645 hook: group_hook_with_premium_trial_plan, seats: 100, rate_limit_name: :web_hook_calls_mid, limit: 34646 rate limits correctly4647 hook: group_hook_with_premium_trial_plan, seats: 399, rate_limit_name: :web_hook_calls_mid, limit: 34648 rate limits correctly4649 hook: group_hook_with_premium_trial_plan, seats: 400, rate_limit_name: :web_hook_calls, limit: 24650 rate limits correctly4651 hook: group_hook_with_ultimate_trial_plan, seats: 999, rate_limit_name: :web_hook_calls_low, limit: 24652 rate limits correctly4653 hook: group_hook_with_ultimate_trial_plan, seats: 1000, rate_limit_name: :web_hook_calls_mid, limit: 14654 rate limits correctly4655 hook: group_hook_with_ultimate_trial_plan, seats: 4999, rate_limit_name: :web_hook_calls_mid, limit: 14656 rate limits correctly4657 hook: group_hook_with_ultimate_trial_plan, seats: 5000, rate_limit_name: :web_hook_calls, limit: 34658 rate limits correctly4659MergeRequests::CreateService4660 #execute4661 schedules refresh of code owners for the merge request4662 sends the audit streaming event4663 report approvers4664 refreshes report approvers for the merge request4665 behaves like new issuable with scoped labels4666 when scoped labels are available4667 when using label_ids parameter4668 adds only last selected exclusive scoped label4669 when using labels parameter4670 adds only last selected exclusive scoped label4671 when scoped labels are not available4672 adds all scoped labels4673 behaves like service with multiple reviewers4674 with multiple reviewer assignments4675 with multiple_merge_request_reviewers feature on4676 allows multiple reviewers4677 with multiple_merge_request_reviewers feature off4678 only allows one reviewer4679 #execute with blocking merge requests4680 delegates to MergeRequests::UpdateBlocksService4681Issues::ExportCsvService4682 with epic4683 when epic and issue are from the same group4684 behaves like including issues with epics4685 with epics disabled4686 does not include epics information4687 with epics enabled4688 epic ID4689 epic Title4690 when epic is in an ancestor group4691 behaves like including issues with epics4692 with epics disabled4693 does not include epics information4694 with epics enabled4695 epic ID4696 epic Title4697 when some epics are not readable by user4698 redacts epic title4699Types::DastSiteProfileType4700 is expected to eq "DastSiteProfile"4701 is expected to require graphql authorizations :read_on_demand_dast_scan4702 is expected to expose permissions using Types::PermissionTypes::DastSiteProfile4703 is expected to have graphql fields :id, :profileName, :targetUrl, :targetType, :editPath, :excludedUrls, :requestHeaders, :validationStatus, :userPermissions, :normalizedTargetUrl, :auth, :referencedInSecurityPolicies, :scanMethod, :scanFilePath, and :validationStartedAt4704 is expected to have graphql field :referenced_in_security_policies and {:calls_gitaly?=>true}4705 id field4706 is the global id4707 profileName field4708 is the name4709 targetUrl field4710 is the url of the associated dast_site4711 targetType field4712 is the target type4713 editPath field4714 is the relative path to edit the dast_site_profile4715 auth field4716 is the dast_site_profile4717 excludedUrls field4718 is the excluded urls4719 requestHeaders field4720 when there is no associated secret variable4721 is nil4722 when there an associated secret variable4723 is redacted4724 validation_status field4725 is the validation status4726 normalizedTargetUrl field4727 is the normalized url of the associated dast_site4728 referencedInSecurityPolicies field4729 is the lazy aggregate that is resolved to policies4730 scan_method field4731 is the scan method4732 scan_file_path field4733 is the scan file path4734 dast_site_profiles4735 when security policies are enabled4736 only calls Gitaly twice when multiple profiles are present4737 validation_started_at field4738 when dast_site_validation association does not exist4739 is the validation_started_at4740 when dast_site_validation association does exist4741 is the validation_started_at4742ProtectedEnvironments::CreateService#execute4743 with valid params4744 is expected to be truthy4745 creates a record on ProtectedEnvironment4746 creates a record on ProtectedEnvironment record4747 stores and logs the audit event4748 with invalid params4749 returns a non-persisted Protected Environment record4750 does not store or log the audit event4751 multiple deploy access levels4752 behaves like invalid multiple deployment access levels4753 does not create deploy access level4754 does not create protected environment4755 deploy access level by group4756 behaves like invalid protected environment group4757 does not create deploy access level4758 does not create protected environment4759 behaves like valid protected environment group4760 creates deploy access level4761 creates protected environment4762 deploy access level by user4763 behaves like invalid protected environment user4764 does not create deploy access level4765 does not create protected environment4766 behaves like valid protected environment user4767 creates deploy access level4768 creates protected environment4769Mutations::Dast::Profiles::Create4770 is expected to require graphql authorizations :create_on_demand_dast_scan4771 #resolve4772 when the feature is licensed4773 when the user can run a dast scan4774 returns the dast_profile4775 returns the dast_profile_schedule4776 when run_after_create=true4777 behaves like it checks branch permissions before creating a DAST on-demand scan pipeline4778 when the user does not have access to the branch4779 communicates failure4780 behaves like it creates a DAST on-demand scan pipeline4781 creates a new ci_pipeline for the given project4782 creates a single build associated with the ci_pipeline4783 creates an association between the dast_profile and the ci_pipeline4784 returns the pipeline_url4785 behaves like it delegates scan creation to another service4786 calls AppSec::Dast::Scans::CreateService4787AuditEvents::ExternalAuditEventDestination4788 Associations4789 belongs to a group4790 Validations4791 is expected to validate that the length of :destination_url is at most 2554792 is expected to validate that :destination_url cannot be empty/falsy4793 is expected to have db column named verification_token of type text4794 is expected to have many headers class_name => AuditEvents::Streaming::Header4795 is expected to validate that the length of :verification_token is between 16 and 244796 can have 20 headers4797 can have no more than 20 headers4798 when creating with undefined verification token4799 destination is valid4800 verification token is present4801 when updating4802 verification token cannot be nil4803 #headers_hash4804 must have a unique destination_url4805 must not have any parents4806 when destination has 2 headers4807 is expected to eq {"X-GitLab-Hello"=>"bar", "X-GitLab-World"=>"bar", "X-Gitlab-Event-Streaming-Token"=>"j3W41KWu16WQWorr1krCGwb9"}4808 behaves like includes Limitable concern4809 #exceeds_limits?4810 without plan limits configured4811 is expected to eq false4812 without plan limits configured4813 is expected to eq false4814 with an existing model4815 is expected to eq true4816 validations4817 is expected to be a kind of Limitable4818 without plan limits configured4819 can create new models4820 with plan limits configured4821 can create new models4822 with an existing model4823 cannot create new models exceeding the plan limits4824 #audit_details4825 equals to the destination url4826Gitlab::ImportExport::Project::CustomTemplateRestorer4827 # order random4828 when export is a gitlab_custom_project_template_import4829 with admin user4830 behaves like successfully execute the restorers4831 calls the Gitlab::ImportExport::Project::ProjectHooksRestorer4832 calls the Gitlab::ImportExport::Project::DeployKeysRestorer4833 with group owner4834 behaves like successfully execute the restorers4835 calls the Gitlab::ImportExport::Project::ProjectHooksRestorer4836 calls the Gitlab::ImportExport::Project::DeployKeysRestorer4837 with custom_template owner4838 behaves like successfully execute the restorers4839 calls the Gitlab::ImportExport::Project::ProjectHooksRestorer4840 calls the Gitlab::ImportExport::Project::DeployKeysRestorer4841 with random member user4842 behaves like do not execute the restorers4843 calls the Gitlab::ImportExport::Project::ProjectHooksRestorer4844 calls the Gitlab::ImportExport::Project::DeployKeysRestorer4845 with no template_project_id in importable import data4846 behaves like do not execute the restorers4847 calls the Gitlab::ImportExport::Project::ProjectHooksRestorer4848 calls the Gitlab::ImportExport::Project::DeployKeysRestorer4849 with a un-existing template_project_id in importable import data4850 behaves like do not execute the restorers4851 calls the Gitlab::ImportExport::Project::ProjectHooksRestorer4852 calls the Gitlab::ImportExport::Project::DeployKeysRestorer4853 when import_type is not a gitlab_custom_project_template_import4854 behaves like do not execute the restorers4855 calls the Gitlab::ImportExport::Project::ProjectHooksRestorer4856 calls the Gitlab::ImportExport::Project::DeployKeysRestorer4857Gitlab::Ci::Reports::LicenseScanning::Report4858 #by_license_name4859 with existing license4860 finds right name4861 without existing license4862 is expected to be nil4863 #dependency_names4864 when there are multiple dependencies4865 is expected to contain exactly "Library1" and "Library2"4866 when there are no dependencies4867 is expected to be empty4868 #violates?4869 when checking for violations using v1 license scan report4870 when a denied license is found in the report4871 is expected to be truthy4872 when a denied license is discovered with a different casing for the name4873 is expected to be truthy4874 when none of the licenses discovered in the report violate the denied policy4875 is expected to be falsey4876 when checking for violations using the v2 license scan reports4877 when a denied license with a SPDX identifier is also in the report4878 is expected to be truthy4879 when a denied license does not have an SPDX identifier because it was provided by an end user4880 is expected to be truthy4881 when none of the licenses discovered match any of the denied software policies4882 is expected to be falsey4883 #violates_for_licenses?4884 when a denied license with a SPDX identifier is also in the report4885 is expected to be truthy4886 when a denied license does not have an SPDX identifier because it was provided by an end user4887 is expected to be truthy4888 when none of the licenses discovered match any of the denied software policies4889 is expected to be falsey4890 #diff_with4891 when the other report is not available4892 is expected to be empty4893 when diffing two v1 reports4894 is expected to contain exactly "Apache 2.0"4895 is expected to contain exactly "MIT" and "BSD"4896 is expected to contain exactly "WTFPL"4897 when diffing two v2 reports4898 is expected to contain exactly "Apache 2.0"4899 is expected to contain exactly "MIT" and "BSD"4900 is expected to contain exactly "WTFPL"4901 when diffing a v1 report with a v2 report4902 is expected to contain exactly "Apache 2.0"4903 is expected to contain exactly "MIT" and "BSD"4904 is expected to contain exactly "WTFPL"4905 when diffing a v2 report with a v1 report4906 is expected to contain exactly "Apache 2.0"4907 is expected to contain exactly "MIT" and "BSD"4908 is expected to contain exactly "WTFPL"4909 #empty?4910 is expected to be empty4911 is expected not to be empty4912TimeboxesHelper4913 #can_generate_chart?4914 supports_milestone_charts: false, start_date: nil, due_date: nil, can_generate_chart: false4915 is expected to eq false4916 supports_milestone_charts: true, start_date: Thu, 30 Mar 2023, due_date: Thu, 30 Mar 2023, can_generate_chart: true4917 is expected to eq true4918 supports_milestone_charts: true, start_date: Thu, 30 Mar 2023, due_date: nil, can_generate_chart: false4919 is expected to eq false4920 supports_milestone_charts: true, start_date: nil, due_date: Thu, 30 Mar 2023, can_generate_chart: false4921 is expected to eq false4922 supports_milestone_charts: true, start_date: nil, due_date: nil, can_generate_chart: false4923 is expected to eq false4924 #timebox_date_range4925 iteration4926 formats properly4927 #show_burndown_placeholder?4928 milestone does not support burndown charts4929 is expected to equal false4930 user without permission4931 is expected to equal false4932 user with permission4933 is expected to equal true4934 #legacy_milestone?4935 without any ResourceStateEvents4936 is expected to be nil4937 with ResourceStateEvent created before milestone4938 is expected to eq false4939 with ResourceStateEvent created same day as milestone4940 is expected to eq false4941 with ResourceStateEvent created after milestone4942 is expected to eq true4943 #recent_releases_with_counts4944 hides private release4945 when user is nil4946 hides private release4947 when user has access to the project4948 returns both releases4949PagesDeployment4950 #save_verification_details4951 when model_record is part of available_verifiables scope4952 creates verification details4953 .replicables_for_current_secondary4954 selective_sync_enabled: true, object_storage_sync_enabled: true, pages_object_storage_enabled: true, synced_pages: 54955 returns the proper number of pages deployments4956 selective_sync_enabled: true, object_storage_sync_enabled: true, pages_object_storage_enabled: false, synced_pages: 54957 returns the proper number of pages deployments4958 selective_sync_enabled: true, object_storage_sync_enabled: false, pages_object_storage_enabled: true, synced_pages: 04959 returns the proper number of pages deployments4960 selective_sync_enabled: true, object_storage_sync_enabled: false, pages_object_storage_enabled: false, synced_pages: 54961 returns the proper number of pages deployments4962 selective_sync_enabled: false, object_storage_sync_enabled: true, pages_object_storage_enabled: true, synced_pages: 104963 returns the proper number of pages deployments4964 selective_sync_enabled: false, object_storage_sync_enabled: true, pages_object_storage_enabled: false, synced_pages: 104965 returns the proper number of pages deployments4966 selective_sync_enabled: false, object_storage_sync_enabled: false, pages_object_storage_enabled: true, synced_pages: 04967 returns the proper number of pages deployments4968 selective_sync_enabled: false, object_storage_sync_enabled: false, pages_object_storage_enabled: false, synced_pages: 104969 returns the proper number of pages deployments4970 .search4971 when search query is empty4972 returns all records4973 when search query is not empty4974 without matches4975 filters all records4976 with matches by attributes4977 searchable_attribute: :file4978 is expected to contain exactly #<PagesDeployment id: 82, created_at: "2023-03-30 12:02:32.899657232 +0000", updated_at: "2023-03-30 ...56: "00b031a92a8bccb31ea8330439fc2029c9fbaa2bb62485fa9e...", size: 2338, verification_checksum: nil>4979DAST.gitlab-ci.yml4980 the created pipeline4981 is expected not to be nil4982 when ci yaml is just template4983 when project has no license4984 includes no jobs4985 when stages includes dast4986 when project has no license4987 includes no jobs4988 when project has Ultimate license4989 includes job4990 when DAST_DISABLED=14991 includes no jobs4992 when DAST_DISABLED_FOR_DEFAULT_BRANCH=14993 when on default branch4994 includes no jobs4995 when on feature branch4996 includes dast job4997 when REVIEW_DISABLED=true4998 when on default branch4999 includes dast job5000 when on feature branch5001 includes no jobs5002Gitlab::ImportExport::Group::RelationFactory5003 epic object5004 does not have the original ID5005 does not have the original group_id5006 has the new group_id5007 excluded attributes5008 are removed from the imported object5009 overridden model5010 does not raise errors5011 behaves like Notes user references5012 when the importer is admin5013 and the note author is not mapped5014 is expected to eq #<User id:1950 @user674>5015 is expected to include "*By Administrator"5016 and the note author is the importer user5017 is expected to eq #<User id:1952 @user676>5018 is expected not to include "*By Administrator"5019 and the note author exists in the target instance5020 is expected to eq #<User id:1954 @user678>5021 is expected not to include "*By Administrator"5022 when the importer is not admin5023 and the note author is not mapped5024 is expected to eq #<User id:1958 @user682>5025 is expected to include "*By Administrator"5026 and the note author is the importer user5027 is expected to eq #<User id:1960 @user684>5028 is expected to include "*By Administrator"5029 and the note author exists in the target instance5030 is expected to eq #<User id:1963 @user687>5031 is expected to include "*By Administrator"5032MilestoneRelease5033 validations5034 when it is a project milestone5035 when milestone and release have the same project5036 is expected to be valid5037 when milestone and release do not have the same project5038 is expected not to be valid5039 when it is a group milestone5040 when group and release have the same project5041 when it is licenced5042 is expected to be valid5043 when it is not licensed5044 is expected not to be valid5045 when milestone and group do not have the same project5046 is expected not to be valid5047 when it is licenced5048 is expected not to be valid5049 when it is a supergroup milestone5050 is expected not to be valid5051 when it is licenced5052 is expected not to be valid5053Users::DestroyService5054 #execute5055 when admin mode is disabled5056 raises access denied5057 when admin mode is enabled5058 when project is a mirror5059 disables mirror and does not assign a new mirror_user5060 when user has oncall rotations5061 in their own project5062 deletes the project and the schedule5063 in a group project5064 calls IncidentManagement::OncallRotations::RemoveParticipantsService5065 sends an email about the user being removed from the rotation5066 when user has escalation rules5067 deletes the escalation rules and notifies owners of group projects5068DependencyProxy::Blob5069 # order random5070 .with_verification_state5071 returns records with given scope5072 .checksummed5073 returns records with given scope5074 #save_verification_details5075 when model record is not part of available_verifiables scope5076 does not create verification details5077 when model_record is part of available_verifiables scope5078 creates verification details5079 #replicables_for_current_secondary5080 object_storage_sync_enabled: true5081 without selective sync5082 includes everything5083 with selective sync5084 with namespaces5085 sync blobs in the group5086 does not sync blobs in other groups5087 with shards5088 syncs blobs associated with projects contained in the group5089 does not sync blobs not associated with projects outside the group5090 object_storage_sync_enabled: false5091 without selective sync5092 includes everything5093 with selective sync5094 with namespaces5095 sync blobs in the group5096 does not sync blobs in other groups5097 with shards5098 syncs blobs associated with projects contained in the group5099 does not sync blobs not associated with projects outside the group5100 .not_checksummed5101 returns records with given scope5102SyncSeatLinkRequestWorker5103 #perform5104 makes an HTTP POST request with passed params5105 when response contains a license5106 when there is no previous license5107 behaves like successful license creation5108 persists the new license5109 when there is a previous license5110 when it is a cloud license5111 when the current license key does not match the one returned from sync5112 creates a new license5113 when the current license key matches the one returned from sync5114 reuses the current license and updates the last_synced_at5115 when persisting fails5116 does not delete the current license and logs error5117 when it is not a cloud license5118 behaves like successful license creation5119 persists the new license5120 when response contains reconciliation dates5121 saves the reconciliation dates5122 when an upcoming_reconciliation already exists5123 updates the upcoming_reconciliation5124 when response contains future subscription information5125 when future subscription information is present in the response5126 and no future subscriptions are saved in the current settings5127 persists future subscription information5128 and future subscriptions are saved in the current settings5129 replaces future subscription information5130 when future subscription information is not present in the response5131 and no future subscriptions are saved in the current settings5132 does not change the settings5133 and future subscription are saved in the current settings5134 clears future subscription information5135 when saving fails5136 logs error5137 when the response does not contain reconciliation dates5138 destroys the existing upcoming reconciliation record for the instance5139 does not change anything when there is no existing record5140 behaves like unsuccessful request5141 when the request is not successful5142 raises an error with the expected message5143 sidekiq_retry_in_block5144 is at least 30 minutes in the first retry5145Security::ScanExecutionPoliciesFinder5146 when actor is Clusters::Agent5147 when agent project has security_orchestration_policy project5148 returns policy matching the given scan type5149 when action_scan_types is given5150 when there are multiple policies5151 returns policy matching the given scan type5152 when there are no matching policies5153 returns empty response5154 behaves like scan policies finder5155 #execute5156 when execute is not implemented in the subclass5157 raises NotImplementedError5158 when feature is not licensed5159 returns empty collection5160 when feature is licensed5161 when configuration is associated to project5162 returns policies with project5163 when configuration is associated to namespace5164 when relationship argument is not provided5165 returns no policies5166 when relationship argument is provided as INHERITED5167 returns scan policies for groups only5168 when configuration is associated to project and namespace5169 when relationship argument is not provided5170 returns scan policies for project only5171 when relationship argument is provided as INHERITED5172 returns policies defined for both project and namespace5173 when relationship argument is provided as INHERITED_ONLY5174 returns policies defined for namespace only5175 when user is unauthorized5176 returns empty collection5177Geo::RepositoryUpdatedService5178 #execute5179 when repository is being updated5180 when not running on a primary node5181 does not create a repository updated event5182 does not reset the repository verification checksum5183 does not reset the repository verification failure5184 when running on a primary node5185 creates a repository updated event when repository exists5186 does not create a repository updated event when repository does not exist5187 resets the repository verification checksum5188 resets the repository verification failure5189 resets the retry_at column5190 resets the retry_count column5191 does not raise an error when project have never been verified5192 raises a Geo::RepositoryUpdatedService::RepositoryUpdateError when an error occurs5193 when wiki is being updated5194 when not running on a primary node5195 does not create a repository updated event5196 does not reset the repository verification checksum5197 does not reset the repository verification failure5198 when running on a primary node5199 creates a repository updated event when repository exists5200 does not create a repository updated event when repository does not exist5201 resets the repository verification checksum5202 resets the repository verification failure5203 resets the retry_at column5204 resets the retry_count column5205 does not raise an error when project have never been verified5206 raises a Geo::RepositoryUpdatedService::RepositoryUpdateError when an error occurs5207 when design repository is being updated5208 creates a design repository updated event when repository exists5209 does not create a repository updated event when repository does not exist5210Gitlab::Geo::Oauth::LogoutToken5211 #valid?5212 returns false when current user is nil5213 returns false when state is nil5214 returns false when state is empty5215 returns false when token has an incorrect encoding5216 returns false when token could not be found5217 returns false when token has an invalid status5218 returns false when token does not belong to the user5219 returns true when token is valid5220 #return_to5221 returns nil when token is invalid5222 returns nil when there is no Geo node associated with the OAuth application5223 when state return_to param is nil5224 returns the Geo node URL associated with the OAuth application5225 when state return_to param is empty5226 returns the Geo node URL associated with the OAuth application5227 when state return_to param is set5228 returns the full path to the Geo node URL associated with the OAuth application5229 replaces the host with the Geo node associated with the OAuth application5230 handles leading and trailing slashes correctly5231Integrations::Jira5232 validations5233 validates presence of vulnerabilities_issuetype if vulnerabilities_enabled5234 when is not active5235 is expected not to validate that :project_key cannot be empty/falsy5236 when is active5237 validates presence of project_key if issues_enabled5238 validates presence of project_key if vulnerabilities_enabled5239 jira_vulnerabilities_integration_enabled?5240 when integration is not configured for the project5241 is expected to be falsey5242 when jira integration is available for the project5243 when vulnerabilities_enabled is set to false5244 is expected to be falsey5245 when vulnerabilities_enabled is set to true5246 is expected to eq true5247 #test5248 when server is not responding5249 is expected to eq {:result=>nil, :success=>false}5250 when server is responding5251 when vulnerabilities integration is not enabled5252WARNING: An expectation of `:jira_vulnerabilities_integration_enabled?` was set on `nil`. To allow expectations on `nil` and suppress this message, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `true`. To disallow expectations on `nil`, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `false`. Called from /builds/gitlab-org/gitlab/ee/spec/models/ee/integrations/jira_spec.rb:108:in `block (5 levels) in <top (required)>'.5253 is expected to eq {:result=>{:jira=>true}, :success=>true}5254 when vulnerabilities integration is enabled5255 when deployment type is cloud5256 when JIRA project style is classic5257WARNING: An expectation of `:jira_vulnerabilities_integration_enabled?` was set on `nil`. To allow expectations on `nil` and suppress this message, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `true`. To disallow expectations on `nil`, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `false`. Called from /builds/gitlab-org/gitlab/ee/spec/models/ee/integrations/jira_spec.rb:116:in `block (5 levels) in <top (required)>'.5258 is expected to eq {:data=>{:issuetypes=>[{:description=>"Jira Bug", :id=>"10001", :name=>"Bug"}]}, :result=>{:jira=>true}, :success=>true}5259 when JIRA project style is next-gen5260WARNING: An expectation of `:jira_vulnerabilities_integration_enabled?` was set on `nil`. To allow expectations on `nil` and suppress this message, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `true`. To disallow expectations on `nil`, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `false`. Called from /builds/gitlab-org/gitlab/ee/spec/models/ee/integrations/jira_spec.rb:116:in `block (5 levels) in <top (required)>'.5261 is expected to eq {:data=>{:issuetypes=>[{:description=>"Very new, yes", :id=>"2137", :name=>"Next Gen Issue Type 1"}, ..."Something", :id=>"2138", :name=>"Next Gen Issue Type 2"}]}, :result=>{:jira=>true}, :success=>true}5262 when deployment type is server5263WARNING: An expectation of `:jira_vulnerabilities_integration_enabled?` was set on `nil`. To allow expectations on `nil` and suppress this message, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `true`. To disallow expectations on `nil`, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `false`. Called from /builds/gitlab-org/gitlab/ee/spec/models/ee/integrations/jira_spec.rb:116:in `block (5 levels) in <top (required)>'.5264 is expected to eq {:data=>{:issuetypes=>[{:description=>"A task that needs to be done.", :id=>"10003", :name=>"Task"}, ...t needs to be broken down.", :id=>"10001", :name=>"Epic"}]}, :result=>{:jira=>true}, :success=>true}5265 #create_issue5266 when there is no issues in Jira API5267 creates issue in Jira API5268 tracks usage5269 behaves like Snowplow event tracking with RedisHLL context5270 behaves like Snowplow event tracking5271 is emitted5272 when there is an error in Jira5273 returns issue with errors5274 #configured_to_create_issues_from_vulnerabilities?5275 when is not active5276 is expected to be falsey5277 when is active5278 and jira_vulnerabilities_integration is disabled5279 is expected to be falsey5280 and jira_vulnerabilities_integration is enabled5281 and project key is missing5282 is expected to be falsey5283 and project key is not missing5284 and vulnerabilities issue type is missing5285 is expected to be falsey5286 and vulnerabilities issue type is not missing5287 is expected to be truthy5288 #new_issue_url_with_predefined_fields5289 is expected to eq "http://jira.example.com/secure/CreateIssueDetails!init.jspa?issuetype=10001&pid=11223&summary=Special+Summary%21%3F&description=%2AID%2A%3A+2%0A_Issue_%3A+%21"5290AddHiddenToIssues5291 # order random5292 .completed?5293 mapping has been updated5294 is expected to be completed5295 mapping has not been updated5296 is expected not to be completed5297 .migrate5298 when migration is already completed5299 does not modify data5300 migration process5301 updates the issues index mappings5302Gitlab::Auth::Ldap::User5303 includes the EE module5304 #initialize5305 when there is one external group5306 when there is another user in the external group5307 when the user is in the external group5308 sets the user's external flag to true5309 when the user is not in the external group5310 sets the user's external flag to false5311 when there are no other users in the external group5312 when the user is in the external group5313 sets the user's external flag to true5314 when the user is not in the external group5315 sets the user's external flag to false5316 with "user_default_external" application setting5317 user_default_external: true, user_default_internal_regex: nil, user_is_in_external_group: false, expected_to_be_external: false5318 sets the user's external flag appropriately5319 user_default_external: true, user_default_internal_regex: "example.com", user_is_in_external_group: false, expected_to_be_external: false5320 sets the user's external flag appropriately5321 user_default_external: true, user_default_internal_regex: nil, user_is_in_external_group: true, expected_to_be_external: true5322 sets the user's external flag appropriately5323 user_default_external: true, user_default_internal_regex: "example.com", user_is_in_external_group: true, expected_to_be_external: true5324 sets the user's external flag appropriately5325 user_default_external: false, user_default_internal_regex: nil, user_is_in_external_group: false, expected_to_be_external: false5326 sets the user's external flag appropriately5327 user_default_external: false, user_default_internal_regex: "example.com", user_is_in_external_group: false, expected_to_be_external: false5328 sets the user's external flag appropriately5329 user_default_external: false, user_default_internal_regex: nil, user_is_in_external_group: true, expected_to_be_external: true5330 sets the user's external flag appropriately5331 user_default_external: false, user_default_internal_regex: "example.com", user_is_in_external_group: true, expected_to_be_external: true5332 sets the user's external flag appropriately5333 when there is more than one external group5334 when the user is in an external group5335 sets the user's external flag to true5336 when the user is not in an external group5337 sets the user's external flag to false5338 when there are no external groups5339 sets the user's external flag to false5340 when the user_default_external application setting is true5341 does not set the external flag to false5342 #find_user5343 behaves like finding user when user cap is set5344 when a sign-up user cap has been set5345 when the user cap has been reached5346 does not activate the user5347 when the user cap has not been reached5348 when the user can be activated based on user cap5349 activates the user5350 when the query behind .user_cap_reached? times out5351 does not activate the user5352 when the user cannot be activated based on user cap5353 does not activate the user5354RefreshLicenseComplianceChecksWorker5355 #perform5356 when there are merge requests associated with the project5357 when the `License-Check` approval rule is enabled5358 when a denied license is present in the license compliance report5359 when the license_scanning_sbom_scanner feature flag is false5360 is expected to eql 155361 is expected to be zero5362 is expected to eql 155363 when the license_scanning_sbom_scanner feature flag is true5364 is expected to eql 155365 is expected to be zero5366 is expected to eql 155367 when denied licenses are not present in the most recent license compliance report5368 when the license_scanning_sbom_scanner feature flag is false5369 is expected to be zero5370 is expected to be zero5371 when the license_scanning_sbom_scanner feature flag is true5372 is expected to be zero5373 is expected to be zero5374 when the project does not exist5375 is expected not to raise Exception5376 when the project does not have a license check rule5377 is expected not to raise Exception5378EE::ProjectSecurityScannersInformation5379 #available_scanners5380 returns a list of all scanners available for the project5381 #enabled_scanners5382 returns a list of all scanners enabled for the project5383 #scanners_run_by_last_pipeline5384 returns a list of all scanners which were run successfully in the latest pipeline5385 does not include non-security scanners5386 when pipeline has no build reports5387 is expected to be empty5388VulnerabilityMergeRequestLinks::CreateService5389 # order random5390 with an authorized user with proper permissions5391 with valid params5392 behaves like new vulnerability-merge_request link created5393 creates a new vulnerability-merge_request link5394 with missing vulnerability5395 responds with an error5396 with missing merge_request5397 responds with an error5398 when a link between the merge_request and vulnerability already exists5399 responds with an error about a conflicting data5400 when a link between another merge_request and vulnerability already exists5401 behaves like new vulnerability-merge_request link created5402 creates a new vulnerability-merge_request link5403 when security dashboard feature is disabled5404 raises an "access denied" error5405 permissions5406 is expected to be allowed for :owner5407 is expected to be allowed for :maintainer5408 is expected to be allowed for :developer5409 is expected to be denied for :auditor5410 is expected to be denied for :reporter5411 is expected to be denied for :guest5412 is expected to be denied for :anonymous5413 when admin mode enabled5414 is expected to be allowed for :admin5415 when admin mode disabled5416 is expected to be denied for :admin5417Gitlab::Geo::EventGapTracking5418 .min_gap_id5419 returns nil when there are no gaps5420 returns the lowest gap id5421 .gap_count5422 returns 0 when there are no gaps5423 returns the number of gaps5424 #check!5425 does nothing when previous id not valid5426 does nothing when there is no gap5427 tracks the gap if there is one5428 #fill_gaps5429 ignore gaps that are less than 10 minutes old5430 handles gaps that are more than 10 minutes old5431 drops gaps older than 1 hour5432 avoids N+1 queries to fetch event logs and their associated events5433 #track_gaps5434 logs a message5435 saves the gap id in redis5436 saves a range of gaps id in redis5437 saves the gaps in order5438 #gap?5439 returns false when current_id is the previous +15440 returns true when current_id is the previous +25441 returns false when current_id is equal to the previous5442 returns false when current_id less than the previous5443 returns false when previous id is 05444Groups::MarkForDeletionService5445 marking the group for deletion5446 with user that can admin the group5447 for a group that has not been marked for deletion5448 marks the group for deletion5449 returns success5450 marking for deletion fails5451 returns error5452 for a group that has been marked for deletion5453 does not change the attributes associated with delayed deletion5454 returns error5455 audit events5456 logs audit event5457 with a user that cannot admin the group5458 does not mark the group for deletion5459 returns error5460 audit events5461 does not log audit event5462Gitlab::Com5463 is expected to eq #<ActiveSupport::Cache::MemoryStore entries=0, size=0, options={:compress=>false}>5464 is expected to eq <ActiveSupport::Cache::NullStore>5465 .gitlab_com_group_member_id?5466 when user is a gitlab team member5467 is expected to equal true5468 caching of allowed user IDs5469 behaves like allowed user IDs are cached5470 caches the allowed user IDs in cache5471 caches the allowed user IDs in L1 cache for 1 minute5472 caches the allowed user IDs in L2 cache for 5 minutes5473 when user is not a gitlab team member5474 is expected to equal false5475 caching of allowed user IDs5476 behaves like allowed user IDs are cached5477 caches the allowed user IDs in cache5478 caches the allowed user IDs in L1 cache for 1 minute5479 caches the allowed user IDs in L2 cache for 5 minutes5480 when user is nil5481 is expected to equal false5482 when gitlab-com group does not exist5483 is expected to equal false5484 when feature flag is turned off5485 is expected to equal false5486WikiPages::CreateService5487 #execute5488 calls Geo::RepositoryUpdatedService when running on a Geo primary node5489 does not call Geo::RepositoryUpdatedService when not running on a Geo primary node5490 behaves like WikiPages::CreateService#execute5491 creates wiki page with valid attributes5492 executes webhooks5493 counts wiki page creation5494 does not call Geo::RepositoryUpdatedService when container is group5495 the new page is at the top level5496 creates appropriate events (PENDING: group wiki support)5497 the new page is in a subsection5498 creates appropriate events (PENDING: group wiki support)5499 when the options are bad5500 does not count a creation event5501 does not record the activity5502 reports the error5503Security::Orchestration::UnassignService5504 #execute5505 for project5506 with approval rules5507 with scan_finding rule5508 deletes scan finding approval rules related to the project5509 deletes scan finding approval rules related to the merge requests5510 with other rule5511 does not delete license scanning rules5512 behaves like unassigns policy project5513 when policy project is assigned to a project or namespace5514 unassigns policy project from the project5515 deletes rule schedules related to the project5516 logs audit event5517 when destroy fails5518 is expected not to be success5519 does not delete rule schedules related to the project5520 does not log audit event5521 when policy project is not assigned to a project or namespace5522 respond with an error5523 for namespace5524 behaves like unassigns policy project5525 when policy project is assigned to a project or namespace5526 unassigns policy project from the project5527 deletes rule schedules related to the project5528 logs audit event5529 when destroy fails5530 is expected not to be success5531 does not delete rule schedules related to the project5532 does not log audit event5533 when policy project is not assigned to a project or namespace5534 respond with an error5535Resolvers::Geo::DependencyProxyManifestRegistriesResolver5536 # order random5537 behaves like a Geo registries resolver5538 #resolve5539 when the parent object is the current node5540 when the user has permission to view Geo data5541 when admin mode is enabled5542 when the ids argument is null5543 returns registries, in order5544 when the ids argument is present5545 returns the requested registries, in order5546 when the replication_state argument is present5547 returns registries with requested replication state, in order5548 with verification enabled5549 when the verification_state argument is present5550 returns registries with requested verification state, in order5551 with verification disabled5552 when the verification_state argument is present5553 raises ArgumentError (PENDING: Skipping because verification is enabled for DependencyProxy::Manifest)5554 when admin mode is disabled5555 returns nothing5556 when the user does not have permission to view Geo data5557 returns nothing5558 when the parent object is not the current node5559 when the user has permission to view Geo data5560 returns nothing, because we can't query other nodes' tracking databases5561UpcomingReconciliations::UpdateService5562 #execute5563 when upcoming_reconciliation does not exist for given namespace5564 behaves like creates new upcoming reconciliation5565 increases upcoming_reconciliations count5566 created upcoming reconciliation matches given hash5567 behaves like returns success5568 is expected to eq :success5569 when upcoming_reconciliation exists for given namespace5570 for gitlab.com5571 behaves like updates existing upcoming reconciliation5572 updated upcoming_reconciliation matches given hash5573 behaves like does not increase upcoming_reconciliations count5574 is expected not to change `GitlabSubscriptions::UpcomingReconciliation.count`5575 behaves like returns success5576 is expected to eq :success5577 for self managed5578 behaves like does not increase upcoming_reconciliations count5579 is expected not to change `GitlabSubscriptions::UpcomingReconciliation.count`5580 behaves like returns error5581 returns error with correct error message5582 when invalid attributes5583 behaves like returns error5584 returns error with correct error message5585 partial success5586 behaves like creates new upcoming reconciliation5587 increases upcoming_reconciliations count5588 created upcoming reconciliation matches given hash5589 behaves like updates existing upcoming reconciliation5590 updated upcoming_reconciliation matches given hash5591 behaves like returns error5592 returns error with correct error message5593 when bulk upsert failed5594 logs bulk upsert error5595 behaves like returns error5596 returns error with correct error message5597Gitlab::Graphql::Aggregations::Epics::LazyEpicAggregate5598 #initialize5599 requires either :weight_sum, :health_status_sum or :count as a facet5600 adds the epic_id to lazy state5601 adds facets to lazy state5602 with valid facets :weight_sum, :health_status_sum or :count5603 as a symbol5604 as a string5605 #epic_aggregate5606 if the record has already been loaded5607 does not make the query again5608 if the record has not been loaded5609 clears the pending IDs5610 creates the parent-child associations5611 when different facets are passed5612 when health_status_sum facet is requested5613 forwards count_health_status true to aggregate loader5614 when count and weight sum facets are requested5615 forwards negative count_health_status to aggregate loader5616 if a block is provided5617 calls the block5618 for a parent-child relationship5619 assembles recursive sums for the parent5620 for a standalone epic with no issues5621 assembles recursive sums5622 when checking cached counts5623 behaves like no logged mismatch5624 does not log an error if cached counts match5625 when cached count does not match aggregate count5626 does log an error if cached counts do not match5627 when check_epic_cached_values is disabled5628 behaves like no logged mismatch5629 does not log an error if cached counts match5630 when epic is not set5631 behaves like no logged mismatch5632 does not log an error if cached counts match5633ReleaseHighlight5634 .load_items5635 whats new for current tier only5636 returns all items5637 whats new for current tier only5638 with no license5639 returns items with available_in=Free5640 with Starter license5641 returns items with available_in=Free5642 with Premium license5643 returns items with available_in=Premium5644 with Ultimate license5645 returns items with available_in=Ultimate5646 .current_package5647 returns package for no license5648 returns package for Starter license5649 returns package for Premium license5650 returns package for Ultimate license5651EE::IssueSidebarBasicEntity5652 contains keys related to issuables5653 contains attributes related to the issue5654 contains attributes related to the available features5655 request_cve_enabled_for_user5656 is_gitlab_com: true, is_public: true, is_admin: true, expected_value: true5657 uses the value from request_cve_enabled_for_user5658 is_gitlab_com: true, is_public: false, is_admin: true, expected_value: false5659 uses the value from request_cve_enabled_for_user5660 is_gitlab_com: true, is_public: false, is_admin: false, expected_value: false5661 uses the value from request_cve_enabled_for_user5662 is_gitlab_com: false, is_public: false, is_admin: true, expected_value: false5663 uses the value from request_cve_enabled_for_user5664 is_gitlab_com: false, is_public: false, is_admin: false, expected_value: false5665 uses the value from request_cve_enabled_for_user5666 can_update_escalation_policy5667 is present and true5668 for a standard issue5669 is not present5670 with escalations policies disabled5671 is not present5672 without permissions5673 is present and false5674Gitlab::Analytics::CycleAnalytics::StageEvents::MergeRequestLabelAdded5675 behaves like value stream analytics event5676 is expected to be a kind of String5677 is expected to be a kind of Symbol5678 is expected to include ApplicationRecord(abstract)5679 is expected to respond to #timestamp_projection5680 is expected to respond to #html_description5681 is expected to be a kind of Array5682 #apply_query_customization5683 expects an ActiveRecord::Relation object as argument and returns a modified version of it5684 #hash_code5685 returns a hash that uniquely identifies an event5686 does not differ when the same object is built with the same params5687 behaves like LEFT JOIN-able value stream analytics event5688 can use the event as LEFT JOIN5689 when looking at the record with data5690 contains the timestamp expression5691 when looking at the record without data5692 returns nil for the timestamp expression5693Gitlab::ImportExport::Importer5694 # order random5695 #execute5696 when all EE restores are executed5697 calls the Gitlab::ImportExport::Project::CustomTemplateRestorer5698 with template_project_id5699 initializes the CustomTemplateRestorer5700 without template_project_id5701 initializes the CustomTemplateRestorer5702Boards::Epics::PositionCreateService5703 #execute5704 with invalid params5705 raises an error when board_id is missing5706 raises an error when list_id is missing5707 with correct params5708 without additional params5709 when there are no positions5710 creates the positions for all epics in the list5711 sets the relative_position based on id5712 when some positions exist5713 when there is still space for new positions5714 creates the positions for non existing epics in the list5715 sets the relative_position based on id after the last existing position5716 when there is no space for new positions5717 raises an error5718 when all positions exist5719 does not create new positions5720 with additional params5721 for backlog list5722 creates the positions for all epics until the last param5723 sets the relative_position based on id5724 for labeled list5725 creates the positions for all epics until the last param5726 sets the relative_position based on id only for the epis with list label5727AppSec::Fuzzing::Coverage::CorpusPolicy5728 coverage_fuzzing policies5729 when a user does not have access to the project5730 is expected to be disallowed :read_coverage_fuzzing5731 when the user is a developer5732 is expected to be allowed :read_coverage_fuzzing5733 when the user is a guest5734 is expected to be disallowed :read_coverage_fuzzing5735 when the user is a reporter5736 is expected to be disallowed :read_coverage_fuzzing5737 when the user is a developer5738 is expected to be allowed :read_coverage_fuzzing5739 when the user is a maintainer5740 is expected to be allowed :read_coverage_fuzzing5741 when the user is an owner5742 is expected to be allowed :read_coverage_fuzzing5743 when the user is allowed5744 coverage_fuzzing licensed feature is not available5745 is expected to be disallowed :read_coverage_fuzzing5746ResourceEvents::ChangeWeightService5747 creates the expected event record5748 when weight is nil5749 creates an event record5750 when there is no existing weight event record5751 creates the expected event records5752 triggers note created subscription5753 events tracking5754 when resource is an issuable5755 tracks issue usage data counters5756 when resource is a work item5757 tracks work item usage data counters5758 behaves like issue_edit snowplow tracking5759 behaves like Snowplow event tracking with RedisHLL context5760 behaves like Snowplow event tracking5761 is emitted5762Gitlab::Insights::ProjectInsightsConfig5763 filtering out invalid config entries5764 does not include invalid entry5765 does not show notice text5766 when no projects.only filter present5767 does not change the config5768 clones the original config5769 when not included in the projects.only filter5770 by project id5771 filters out the chart5772 does not have a notice text5773 by project full path5774 filters out the chart5775 when included in projects.only filter5776 by project id5777 includes the chart5778 does not have notice text5779 by project full path5780 filters out the chart5781 when all charts are excluded5782 returns an empty hash5783 when some project features are turned off5784 when the default configuration is given5785 contains issues and merge requests dashboards5786 when issues are disabled5787 filters out the issues dashboard5788 when merge requests are disabled5789 filters out the merge requests dashboard5790 when a custom config is given5791 when issues are disabled5792 filters out the issues chart5793 when merge requests are disabled5794 filters out the merge requests chart5795 when issues and merge requests are disabled5796 returns an empty config5797Gitlab::Usage::Metrics::Instrumentations::ProtectedEnvironmentsRequiredApprovalsAverageMetric5798 behaves like a correct instrumented metric value and query5799 behaves like a correct instrumented metric value5800 has correct value5801 behaves like a correct instrumented metric query5802 has correct generate query5803Types::VulnerabilityRequestType5804 is expected to eq "VulnerabilityRequest"5805 is expected to have graphql fields :body, :method, :url, and :headers5806 checking field contents5807 evidence.request fields5808 checks the contents of the fields5809 evidence.supportingMessages[].request fields5810 checks the contents of the fields5811Users::CreateService5812 #execute5813 audit events5814 when licensed5815 does not log audit event if operation fails5816 does not log audit event if operation results in no change5817 when operation succeeds5818 logs an audit event5819 logs the audit event info5820 when not licensed5821 does not log audit event5822 when audit is not required5823 does not log any audit event5824WorkItems::Widgets::StatusService::UpdateService5825 # order random5826 #update5827 when status feature is licensed5828 when user cannot update work item5829 behaves like work item and status is unchanged5830 does not change work item status value5831 when user can update work item5832 when status param is present5833 when status param is valid5834 behaves like status is updated5835 updates work item status value5836 when status param is equivalent5837 behaves like status is updated5838 updates work item status value5839 when status param is invalid5840 new_status: "unverified"5841 errors5842 new_status: "nonsense"5843 errors5844 new_status: "satisfied"5845 errors5846 when widget does not exist in new type5847 deletes the associated test report and requirement5848 when status param is not present5849 behaves like work item and status is unchanged5850 does not change work item status value5851 when status param is nil5852 behaves like work item and status is unchanged5853 does not change work item status value5854PhoneVerification::Users::VerifyCodeService5855 # order random5856 #execute5857 when params are invalid5858 returns an error5859 when user has reached max verification attempts5860 returns an error5861 when there is a client error in sending the verification code5862 returns an error5863 when there is a server error in sending the verification code5864 returns an error5865 when there is an unknown exception5866 returns an error ServiceResponse5867 tracks the exception5868 when verification code is verified successfully5869 saves the validated_at timestamp5870 returns a success response5871EpicIssues::UpdateService5872 #execute5873 when moving issues between different epics5874 returns an error5875 does not change the relative_position values5876 moving issue to the first position5877 when some positions are close to each other5878 orders issues correctly5879 when there is enough place between positions5880 orders issues correctly5881 moving issue to the third position5882 when some positions are close to each other5883 orders issues correctly5884 when all positions are same5885 orders affected 2 issues correctly5886 when there is enough place between positions5887 orders issues correctly5888 moving issues to the last position5889 when index of the last possition is correct5890 orders issues correctly5891ProjectAlias5892 is expected to belong to project required: false5893 is expected to validate that :project cannot be empty/falsy5894 is expected to validate that :name cannot be empty/falsy5895 is expected to validate that :name is case-sensitively unique5896 is expected not to allow :name to be ‹"/foo"›5897 is expected not to allow :name to be ‹"foo/foo"›5898 is expected not to allow :name to be ‹"foo.git"›5899Mutations::Boards::EpicBoards::Update5900 field tests5901 is expected to have graphql arguments :id, :name, :hideBacklogList, :hideClosedList, :labels, and :labelIds5902 is expected to have graphql fields :epic_board5903 with epic feature enabled5904 when user does not have permission to update epic board5905 behaves like epic board update error5906 raises error5907 when user has permission to update epic board5908 updates the epic board5909 #ready?5910 raises an error when both labels and label_ids arguments are passed5911Security::SecurityOrchestrationPolicies::OperationalVulnerabilitiesConfigurationService5912 #execute5913 when feature is not licensed5914 returns empty collection5915 when feature is licensed5916 when agent project has security_orchestration_policy project5917 when policy is not applicable for agent5918 returns empty response5919 when policy is applicable for agent5920 returns matching configuration5921 when agent project is different from security_orchestration_policy project5922 returns empty response5923AppSec::Dast::ScanConfigs::FetchService5924 #execute5925 when site profile and scanner profile is not configured in ci yml file5926 behaves like an error occurred5927 communicates failure5928 when site profile and scanner profile is configured in ci yml file5929 with an invalid .gitlab-ci.yml5930 behaves like an error occurred5931 communicates failure5932 with a large .gitlab-ci.yml5933 behaves like an error occurred5934 communicates failure5935 with a valid .gitlab-ci.yml5936 returns configured profile values5937 when site profile and scanner profile is configured in security policy5938 and site profile and scanner profile is configured in ci yml file5939 returns configured profile values from policy5940 and site profile and scanner profile is not configured in ci yml file5941 returns configured profile values from policy5942 and when profile data is missing5943 behaves like an error occurred5944 communicates failure5945 and when multiple actions are there5946 returns the correct action5947 when on demand scan licensed feature is not available5948 behaves like an error occurred5949 communicates failure5950Notes::CreateVisualReviewService5951 # order random5952 when merge request discussion is locked5953 does not create a note5954 when merge request discussion is unlocked5955 creates a note5956 when project is archived5957 does not create a note5958Milestones::DestroyService5959 #execute5960 with an existing merge request5961 manually queues MergeRequests::SyncCodeOwnerApprovalRulesWorker jobs5962Gitlab::Ci::Config::Entry::Bridge5963 .matching?5964 when config is a bridge job5965 is expected to be truthy5966 .new5967 when needs pipeline config is a non-empty string5968 #valid?5969 is expected to be valid5970 #value5971 is returns a bridge job configuration5972 when needs config is a job5973 #valid?5974 is expected to be valid5975 #value5976 is returns a bridge job configuration5977 when bridge configuration contains trigger, needs, when, extends, stage, only, except, and variables5978 is expected to be valid5979 when trigger config is nil5980 #valid?5981 is expected not to be valid5982 #errors5983 is returns an error about empty trigger config5984 when upstream config is nil5985 #valid?5986 is expected not to be valid5987 #errors5988 is returns an error about empty upstream config5989 when bridge has bridge and job needs5990 #valid?5991 is expected to be valid5992 when bridge has bridge and cross projects dependencies5993 #valid?5994 is expected not to be valid5995 #errors5996 returns an error cross dependencies5997 when bridge has more than one valid bridge needs5998 #valid?5999 is expected not to be valid6000 #errors6001 returns an error about too many bridge needs6002Users::EmailVerification::SendCustomConfirmationInstructionsService6003 # order random6004 #execute6005 calls `set_token` and `send_instructions`6006 #set_token6007 when not enabled6008 does not do anything6009 when enabled6010 skips Devise confirmation notification6011 sets the confirmation_token and confirmation_sent_at attributes6012 does not try to save the user6013 when passing `save: true` as (default) argument6014 tries to save the user6015 #send_instructions6016 confirmed?: true, identity_verification_enabled?: true, token_present?: true, token_saved?: true6017 sends the instructions when expected6018 confirmed?: true, identity_verification_enabled?: true, token_present?: true, token_saved?: false6019 sends the instructions when expected6020 confirmed?: true, identity_verification_enabled?: true, token_present?: false, token_saved?: true6021 sends the instructions when expected6022 confirmed?: true, identity_verification_enabled?: true, token_present?: false, token_saved?: false6023 sends the instructions when expected6024 confirmed?: true, identity_verification_enabled?: false, token_present?: true, token_saved?: true6025 sends the instructions when expected6026 confirmed?: true, identity_verification_enabled?: false, token_present?: true, token_saved?: false6027 sends the instructions when expected6028 confirmed?: true, identity_verification_enabled?: false, token_present?: false, token_saved?: true6029 sends the instructions when expected6030 confirmed?: true, identity_verification_enabled?: false, token_present?: false, token_saved?: false6031 sends the instructions when expected6032 confirmed?: false, identity_verification_enabled?: true, token_present?: true, token_saved?: true6033 sends the instructions when expected6034 confirmed?: false, identity_verification_enabled?: true, token_present?: true, token_saved?: false6035 sends the instructions when expected6036 confirmed?: false, identity_verification_enabled?: true, token_present?: false, token_saved?: true6037 sends the instructions when expected6038 confirmed?: false, identity_verification_enabled?: true, token_present?: false, token_saved?: false6039 sends the instructions when expected6040 confirmed?: false, identity_verification_enabled?: false, token_present?: true, token_saved?: true6041 sends the instructions when expected6042 confirmed?: false, identity_verification_enabled?: false, token_present?: true, token_saved?: false6043 sends the instructions when expected6044 confirmed?: false, identity_verification_enabled?: false, token_present?: false, token_saved?: true6045 sends the instructions when expected6046 confirmed?: false, identity_verification_enabled?: false, token_present?: false, token_saved?: false6047 sends the instructions when expected6048Dependencies::ExportWorker6049 # order random6050 #perform6051 when dependency list export has not been started6052 generates a file related with empty dependency list export6053 schedules Dependencies::DestroyExportWorker6054 with existing report6055 generates a file related with content related to dependency list export6056 when dependency list export has been already running6057 does not generates a file6058 does not schedule Dependencies::DestroyExportWorker6059 when dependency list export does not exist6060 raises exception6061 .sidekiq_retries_exhausted6062 updates status to failed6063IncidentManagement::IssuableResourceLinks::DestroyService6064 # order random6065 #execute6066 when current user is anonymous6067 behaves like error response6068 has an informative message6069 behaves like does not track incident management event6070 does not track the event6071 when user does not have permissions to remove issuable_resource_link6072 behaves like error response6073 has an informative message6074 behaves like does not track incident management event6075 does not track the event6076 when feature is not available6077 behaves like error response6078 has an informative message6079 behaves like does not track incident management event6080 does not track the event6081 when an error occurs during removal6082 behaves like error response6083 has an informative message6084 behaves like does not track incident management event6085 does not track the event6086 with success response6087 successfully returns the issuable resource link6088 creates a system note notification6089 behaves like an incident management tracked event6090 .track_event6091 tracks the event using redis6092clusters/clusters/show6093 when the cluster details page is opened6094 with project level cluster6095 behaves like cluster health section6096 displays the Cluster health section6097 with group level cluster6098 behaves like cluster health section6099 displays the Cluster health section6100Gitlab::Geo::GeoTasks6101 .set_primary_geo_node6102 sets the primary node6103 returns error when there is already a Primary node6104 .set_secondary_as_primary6105 aborts if the primary node is not set6106 aborts if current node is not identified6107 does nothing if run on a node that is not a secondary6108 sets the secondary as the primary node6109 sets the secondary as the primary node, even if the secondary is disabled6110Gitlab::ExclusiveLease6111 #try_obtain_with_ttl6112 cannot obtain twice before the lease has expired6113 can obtain after the lease has expired6114 #same_uuid?6115 returns true for an existing lease6116 returns false for a lease that does not exist6117Verify/Load-Performance-Testing.gitlab-ci.yml6118 the created pipeline6119 has no errors6120 on master6121 behaves like load_performance job on tag or branch6122 by default6123 on another branch6124 behaves like load_performance job on tag or branch6125 by default6126 on tag6127 behaves like load_performance job on tag or branch6128 by default6129 on merge request6130 has no jobs6131Gitlab::Prometheus::Queries::AdditionalMetricsEnvironmentQuery6132 queries using specific time6133 with custom metrics6134 without common metrics6135 return group data for custom metric6136 with common metrics6137 return group data for custom metric6138RequirementsManagement::ImportRequirementsCsvWorker6139 #perform6140 calls #execute on Requirements::ImportCsvService and destroys upload6141 behaves like an idempotent worker6142 is labeled as idempotent6143 performs multiple times sequentially without raising an exception6144Projects::ProtectDefaultBranchService6145 #protect_branch?6146 is expected to eq false6147 when project has security_policy_project6148 returns true6149 #push_access_level6150 when project has security_policy_project6151 returns NO_ACCESS access level6152 when project does not have security_policy_project6153 returns DEVELOPER access level6154 #merge_access_level6155 when project has security_policy_project6156 returns Maintainer access level6157 when project does not have security_policy_project6158 returns DEVELOPER access level6159Types::InstanceSecurityDashboardType6160 is expected to have graphql fields :projects, :vulnerability_scanners, :vulnerability_severities_count, :vulnerability_grades, and :cluster_agents6161 projects6162 when user is not logged in6163 is expected to be nil6164 when user is logged in6165 is a list of projects configured for instance security dashboard6166UserSerializer6167 with merge_request_iid6168 without approval_rules6169 behaves like user without applicable_approval_rules6170 returns a user without applicable_approval_rules6171 with approval_rules6172 with merge request approval rules6173 returns users with merge request approval rules6174 without merge request approval rules6175 returns users with project approval rules6176 without merge_request_iid6177 wsee/spec/serializers/ee/user_serializer_spec.rbthout approval_rules6178 behaves like user without applicable_approval_rules6179 returns a user without applicable_approval_rules6180 with approval_rules6181 returns users with applicable_approval_rules6182 with target_branch6183 returns users with applicable_approval_rules6184 with unknown target_branch6185 returns users with applicable_approval_rules6186IssueFeatureFlags::ListService6187 #execute6188 when user can see feature flags6189 ensures no N+1 queries are made6190 returns related feature flags6191 when user can not see feature flags6192 returns nothing6193Resolvers::BoardListsResolver6194 #resolve6195 when project boards6196 behaves like group and project board lists resolver6197 returns a list of board lists6198 when group boards6199 behaves like group and project board lists resolver6200 returns a list of board lists6201Types::ScanType6202 is expected to have graphql fields :name, :errors, :warnings, and :status6203 is expected to require graphql authorizations :read_scan6204 field values6205 name6206 is expected to eq "foo"6207 errors6208 is expected to contain exactly "[foo] bar"6209 warnings6210 is expected to contain exactly "[foo] bar"6211 status6212 is expected to eq "created"6213Resolvers::PathLocksResolver6214 #resolve6215 feature is not licensed6216 is expected to be empty6217 feature is licensed6218 is expected to contain exactly #<PathLock id: 1, path: "README.md", project_id: 1393, user_id: 2243, created_at: "2023-03-30 12:05:41.942934353 +0000", updated_at: "2023-03-30 12:05:41.942934353 +0000">6219 preloads users6220 user is unauthorized6221 generates an error6222Groups::EpicsCountService6223 #relation_for_count6224 uses the EpicsFinder to scope epics6225 behaves like a counter caching service with threshold6226 when cache is empty6227 refreshes cache if value over threshold6228 does not refresh cache if value under threshold6229 when cached count is under the threshold value6230 does not refresh cache6231 when cached count is over the threshold value6232 does not refresh cache6233Types::WorkItems::WidgetInterface6234 .resolve_type6235 raises an error for an unknown type6236 widget_class: WorkItems::Widgets::Status, widget_type_name: Types::WorkItems::Widgets::StatusType6237 knows the correct type for objects6238 widget_class: WorkItems::Widgets::Weight, widget_type_name: Types::WorkItems::Widgets::WeightType6239 knows the correct type for objects6240 widget_class: WorkItems::Widgets::HealthStatus, widget_type_name: Types::WorkItems::Widgets::HealthStatusType6241 knows the correct type for objects6242 widget_class: WorkItems::Widgets::Progress, widget_type_name: Types::WorkItems::Widgets::ProgressType6243 knows the correct type for objects6244 widget_class: WorkItems::Widgets::RequirementLegacy, widget_type_name: Types::WorkItems::Widgets::RequirementLegacyType6245 knows the correct type for objects6246 widget_class: WorkItems::Widgets::TestReports, widget_type_name: Types::WorkItems::Widgets::TestReportsType6247 knows the correct type for objects6248GraphqlTriggers6249 # order random6250 .issuable_weight_updated6251 triggers the issuableWeightUpdated subscription6252 triggers the issuableIterationUpdated subscription6253 .issuable_health_status_updated6254 triggers the issuableHealthStatusUpdated subscription6255 .issuable_epic_updated6256 triggers the issuableEpicUpdated subscription6257API::Entities::Member6258 when current user is allowed to read group saml identity6259 exposes group_saml_identity6260 when current user is not allowed to read group saml identity6261 does not expose group saml identity6262 when current user is allowed to manage user6263 exposes email6264 when current user is not allowed to manage user6265 does not expose email6266 with state6267 exposes human_state_name as membership_state6268 when the member is provisioned6269 does not include the user email address6270 when the current user manages the provisioned user6271 includes the user email address6272 with member role6273 exposes member role6274 without member role6275 does not expose member role6276AddUpvotesToIssues6277 behaves like a deprecated Advanced Search migration6278 #migrate6279 logs a message and halts the migration6280 #completed?6281 returns false6282 #obsolete?6283 returns true6284Banzai::Filter::IssuableReferenceExpansionFilter6285 ignores open epic references6286 appends state to closed epic references6287 skips cross references if the user cannot read cross group6288 shows title for references with +6289 shows title for references with +s6290 when extended summary props are present6291 shows extended summary for references with +s6292Gitlab::ImportExport::Project::DeployKeysRestorer6293 # order random6294 when all hooks are not duplicated6295 reports the failure6296 returns true6297 when project deploy keys are present in source project6298 has the same amount of project deploy keys as the source6299 has the same deploy_keys_id values and write access compared to source6300 when the user is unauthorized6301 raises an error and logs user6302 logs the unauthorized user6303Search::IndexCurationWorker6304 # order random6305 #logger6306 logs with Gitlab::Elasticsearch::Logger6307 #curator_settings6308 includes a pattern for all index types with enabled feature flags6309 does not include patterns for disabled index types6310 has correct value for max_shard_size_gb6311 has correct value for max_docs_denominator6312 has correct value for min_docs_before_rollover6313 #perform6314 calls on the curator6315 logs rolled over indices6316 logs errors when something blows up6317 does not log anything when Gitlab::ExclusiveLeaseHelpers::FailedToObtainLockError is raised6318 when feature flag `search_index_curation` is disabled6319 does not curate anything6320BoardUserPreference6321 relationships6322 is expected to belong to board required: false6323 is expected to belong to user required: false6324 is expected to validate that :user_id is case-sensitively unique within the scope of :board_id, producing a custom validation error on failure6325Gitlab::UsageDataCounters::ValueStreamsDashboardCounter6326 # order random6327 behaves like a redis usage counter with totals6328 totals6329 can report all totals6330 unknown events6331 cannot increment6332 cannot read6333 behaves like a redis usage counter6334 .count(views)6335 increments the ValueStreamsDashboard views counter by 16336 .read(views)6337 returns the total number of views events6338AuditEvents::RunnersTokenAuditEventService6339 #security_event6340 for instance6341 behaves like logs the event to file6342 logs the event to file6343 for group6344 behaves like logs the event to file6345 logs the event to file6346 for project6347 behaves like logs the event to file6348 logs the event to file6349 with runners_token_prefix set to RUNNERS_TOKEN_PREFIX6350 behaves like logs the event to file6351 logs the event to file6352Projects::RegisterSuggestedReviewersProjectWorker6353 # order random6354 #perform6355 when project is not found6356 returns without calling the fetch suggested reviewer service6357 when project is found6358 when user is not found6359 returns without calling the fetch suggested reviewer service6360 when user is found6361 when suggested reviews is not available for the project6362 returns without calling the fetch suggested reviewer service6363 when suggested reviews is available for the project6364 when suggested reviews is not enabled for the project6365 returns without calling the fetch suggested reviewer service6366 when suggested reviews is enabled for the project6367 when service returns success6368 calls project register service and logs an info with payload6369 when service returns error6370 when error is trackable6371 tracks the error6372 when error is swallowable6373 swallows the error6374 when error is trackable and raisable6375 tracks and raises the error6376Vulnerabilities::RequestEntity6377 #as_json6378 contains required fields6379AddNamespaceAncestryIdsToIssuesMapping6380 behaves like a deprecated Advanced Search migration6381 #migrate6382 logs a message and halts the migration6383 #completed?6384 returns false6385 #obsolete?6386 returns true6387Security::TrainingProviders::KontraUrlFinder6388 #calculate_reactive_cache6389 when response is nil6390 returns nil6391 when response is not nil6392 returns content url hash6393 when external_type is not present in allowed list6394 returns nil6395 #full_url6396 when external_type is present in allowed list6397 returns full url path6398 when identifier contains CWE-{number} format6399 returns full url path with proper mapping key6400 when a language is provided6401 returns full url path with the language parameter mapped6402 #allowed_identifier_list6403 returns allowed identifiers6404Dora::ChangeFailureRateMetric6405 #data_queries6406 for production environment6407 returns number of incidents opened at given date6408 inherits data queries from DeploymentFrequency metric6409 for non-production environment6410 returns no queries6411MergeRequests::SyncCodeOwnerApprovalRulesWorker6412 #perform6413 behaves like an idempotent worker6414 is labeled as idempotent6415 performs multiple times sequentially without raising an exception6416 when merge request is not found6417 returns without attempting to sync code owner rules6418 when merge request is found6419 attempts to sync code owner rules6420Gitlab::Graphql::Aggregations::Epics::EpicNode6421 #initialize6422 behaves like setting attributes based on the first record6423 sets epic attributes based on the first record6424 behaves like setting attributes based on the first record6425 sets epic attributes based on the first record6426 recursive totals6427 an epic with no child epics6428 with no child issues6429 has the correct aggregates6430 behaves like has_issues?6431 returns false6432 with an issue with 0 weight6433 has the correct aggregates6434 behaves like has_issues?6435 returns true6436 with an open issue with nonzero weight6437 has the correct aggregates6438 behaves like has_issues?6439 returns true6440 with a closed issue with nonzero weight6441 behaves like has_issues?6442 returns true6443 an epic with child epics6444 with a child that has issues of nonzero weight6445 has the correct aggregates6446 behaves like has_issues?6447 returns false6448ApprovalStatePolicy6449 when user does not have access to project6450 is expected to be disallowed :read_merge_request6451 when user does have access to project6452 is expected to be allowed :read_merge_request6453Todos::AllowedTargetFilterService6454 #execute6455 is expected to contain exactly #<Todo id: 17, user_id: 2295, project_id: 1420, target_id: 32, target_type: "Epic", author_id: 2297, ...30 12:06:09.981570479 +0000", note_id: nil, commit_id: nil, group_id: 4149, resolved_by_action: nil>6456Mutations::IncidentManagement::OncallSchedule::Destroy6457 # order random6458 is expected to require graphql authorizations :admin_incident_management_oncall_schedule6459 #resolve6460 user has access to project6461 when OncallSchedules::DestroyService responds with success6462 returns the on-call schedule with no errors6463 when OncallSchedules::DestroyService responds with an error6464 returns errors6465 when resource is not accessible to the user6466 raises an error6467EventFilter6468 #apply_filter6469 with the "epic" filter6470 filters issue events only6471Gitlab::Graphql::Aggregations::SecurityOrchestrationPolicies::LazyDastProfileAggregate6472 #initialize6473 adds the dast_profile to the lazy state6474 uses lazy_dast_profile_in_policies_aggregate to collect aggregates6475 raises ArgumentError when is not DastSiteProfile or DastScannerProfile6476 #execute6477 if the record has already been loaded6478 does not make the query again6479 if the record has not been loaded6480 clears the pending IDs6481 when Dast Site profile is provided6482 makes the query6483 when Dast Scanner profile is provided6484 makes the query6485LdapGroupSyncWorker6486 #perform6487 with the default license key6488 syncs a single group when group_id is present6489 creates a proxy for syncing a single provider6490 without a license key6491 does not sync groups6492 #sync_groups6493 syncs a group when it was found without a proxy6494 syncs with an existing proxy when one was given6495 #sync_group6496 syncs a single provider when a provider was given6497 syncs all providers when no proxy was given6498layouts/header/help_dropdown/_cross_stage_fdm.html.haml6499 have_group?: true, show_cross_stage_fdm?: true, experiment_enabled?: true, variant_assigned: :candidate, examples_to_run: "renders the menu"6500 behaves like renders the menu6501 renders the menu item6502 have_group?: false, show_cross_stage_fdm?: true, experiment_enabled?: true, variant_assigned: :candidate, examples_to_run: "renders nothing"6503 behaves like renders nothing6504 does not render the menu item6505 have_group?: true, show_cross_stage_fdm?: false, experiment_enabled?: true, variant_assigned: :candidate, examples_to_run: "renders nothing"6506 behaves like renders nothing6507 does not render the menu item6508 have_group?: true, show_cross_stage_fdm?: true, experiment_enabled?: false, variant_assigned: :candidate, examples_to_run: "renders nothing"6509 behaves like renders nothing6510 does not render the menu item6511 have_group?: true, show_cross_stage_fdm?: true, experiment_enabled?: true, variant_assigned: :control, examples_to_run: "renders nothing"6512 behaves like renders nothing6513 does not render the menu item6514Mutations::AuditEvents::Streaming::Headers::Destroy6515 #resolve6516 feature is unlicensed6517 is not authorized6518 feature is licensed6519 current_user is not group owner6520 returns useful error messages6521 current_user is group owner6522 deletes the header6523 when destroy fails6524 does not delete any headers6525Namespaces::FreeUserCap::NonOwnerEnforcementAlertComponent6526 # order random6527 when user does not exist6528 does not render the alert6529 when user is authorized to see alert6530 when over the limit6531 has content for the alert6532 when limit has not been reached6533 does not render the alert6534 when user is not authorized to see alert6535 does not render the alert6536Projects::DeployTokens::DestroyService6537 #execute6538 destroys a token record and it's associated DeployToken6539 creates an audit event6540 behaves like sends correct event type in audit event stream6541 sends correct event type in audit event stream6542Geo::ContainerRepositoryRegistryRemovalService6543 # order random6544 #execute6545 when the registry record exists6546 removes the container repository and the registry6547 when something went wrong removing the container repository6548 logs an error message6549 does not remove the upload registry record6550 when the registry record does not exist6551 removes the container repository6552Analytics::CycleAnalytics::ReaggregationWorker6553 behaves like aggregator worker examples6554 invokes the AggregatorService6555 breaks at the second iteration due to overtime6556 behaves like an idempotent worker6557 is labeled as idempotent6558 performs multiple times sequentially without raising an exception6559 when the loaded batch is empty6560 does nothing6561EE::API::Helpers::VariablesHelpers6562 #filter_variable_parameters6563 owner is a project6564 is expected to eq {:environment_scope=>"production", :key=>"KEY"}6565 owner is a group6566 scoped variables are available6567 is expected to eq {:environment_scope=>"production", :key=>"KEY"}6568 scoped variables are not available6569 is expected to eq {:key=>"KEY"}6570ElasticFullIndexWorker6571 does nothing if ES disabled6572 indexing6573 indexes projects in range6574MergeTrains::RefreshWorker6575 # order random6576 has an option to reschedule once if deduplicated6577 has the `until_executed` deduplicate strategy6578 #perform6579 is labeled as idempotent6580 performs multiple times sequentially without raising an exception6581Sbom::Ingestion::Tasks::IngestSources6582 # order random6583 #execute6584 is idempotent6585 sets source_id for all maps6586 when source already exists6587 does not create a new record for the existing source6588 sets the source_id for all maps6589 when source is not present6590 performs no-op6591 when occurrence_maps is empty6592 is expected not to raise Exception6593Gitlab::Usage::Metrics::Instrumentations::CountEnterpriseUsersBasedOnDomainVerificationMetric6594 # order random6595 behaves like a correct instrumented metric value and query6596 behaves like a correct instrumented metric value6597 has correct value6598 behaves like a correct instrumented metric query6599 has correct generate query6600Geo::PushUser6601 #user6602 with a junk gl_id6603 returns nil6604 with an unsupported gl_id type6605 returns nil6606 when the User associated to gl_id matches the User associated to gl_username6607 returns a User6608EE::EmailsHelper6609 #action_title6610 path: "somedomain.com/groups/agroup/-/epics/231", result: "View Epic"6611 returns the expected title6612 path: "somedomain.com/aproject/issues/231", result: "View Issue"6613 returns the expected title6614 path: "somedomain.com/aproject/-/merge_requests/231", result: "View Merge request"6615 returns the expected title6616 path: "somedomain.com/aproject/-/commit/al3f231", result: "View Commit"6617 returns the expected title6618 #service_desk_email_additional_text6619 when additional email text is enabled6620 is expected to eq "this is some additional custom text"6621 when additional email text is disabled6622 is expected to be nil6623Gitlab::Regex6624 .feature_flag_regex6625 is expected to match "foo"6626 is expected to match "f_feature_flag"6627 is expected not to match "MY_FEATURE_FLAG"6628 is expected not to match "my feature flag"6629 is expected not to match "!!()()"6630Projects::Security::DiscoverHelper6631 #project_security_showcase_data6632 builds correct hash6633 #project_security_discover_data6634 builds correct hash6635 candidate for pql_three_cta_test6636 renders a hash with pqltest content6637license metadata tags6638 # order random6639 has a current license6640 applies the with_license metadata tag by default6641 does not apply the without_license metadata tag by default6642 with without_license tag6643 does not have a current license6644 with with_license tag6645 does not apply the without_license metadata tag6646 has a current license6647Gitlab::PathLocksFinder6648 returns correct lock information6649 #preload_for_paths6650 does not perform N + 1 requests6651Analytics::CycleAnalytics::ValueStreamErrorsSerializer6652 serializes error on value stream object6653 does not contain stage errors6654 when nested value stream stages are given6655 serializes error on value stream object6656 ::STAGE_ATTRIBUTE_REGEX6657 extracts the index and the stage attribute name6658 is expected to eq ["0", "name"]6659 when large index is given6660 is expected to eq ["11", "name"]6661Types::MergeRequestType6662 is expected to have graphql fields :approvals_required, :merge_trains_count, and :approval_state6663 is expected to have graphql field :approved and {:calls_gitaly?=>true, :complexity=>2}6664 is expected to have graphql field :approvals_left and {:calls_gitaly?=>true, :complexity=>2}6665 is expected to have graphql field :has_security_reports and {:calls_gitaly?=>true}6666 is expected to have graphql field :security_reports_up_to_date_on_target_branch and {:calls_gitaly?=>true}6667 is expected to have graphql field :suggested_reviewers6668Security::AutoFixWorker6669 #perform6670 when auto_fix feature is enabled6671 run AutoFix Service6672 when auto_fix feature is disabled6673 does not run AutoFix Service6674 when feature flag is disabled6675 does not run AutoFix Service6676Elastic::IndexProjectsService6677 #execute6678 when elasticsearch_limit_indexing? is true6679 schedules indexing for selected projects and namespaces6680 when elasticsearch_limit_indexing? is false6681 schedules indexing for all projects6682Types::Ci::Minutes::ProjectMonthlyUsageType6683 is expected to have graphql fields :minutes, :shared_runners_duration, :project, and :name6684Resolvers::SecurityReportSummaryResolver6685 #resolve6686 All fields are requested6687 returns calls the ReportSummaryService6688 when the user is not authorized6689 does not call Security::ReportSummaryService and returns nothing6690 When lookahead includes :__typename6691 does not search for :__typename6692Types::Geo::PagesDeploymentRegistryType6693 has the expected fields (other than those included in RegistryType)6694 behaves like a Geo registry type6695 is expected to require graphql authorizations :read_geo_registry6696 has the expected fields6697Security::SecurityOrchestrationPolicies::SyncScanResultPoliciesProjectService6698 # order random6699 #execute6700 triggers worker for the configuration and provided project_id6701Types::Iterations::CadenceType6702 is expected to eq "IterationCadence"6703 is expected to have graphql fields :id, :title, :duration_in_weeks, :iterations_in_advance, :start_date, :automatic, :active, :roll_over, and :description6704 is expected to require graphql authorizations :read_iteration_cadence6705NamespaceCiCdSetting6706 .allowing_stale_runner_pruning6707 when there are no runner settings6708 is expected to be empty6709 when there are CI/CD settings6710 allowing stale runner pruning6711 is expected to contain exactly #<NamespaceCiCdSetting namespace_id: 4246, allow_stale_runner_pruning: true>6712 not allowing stale runner pruning6713 is expected to be empty6714layouts/header/_read_only_banner6715 On a Geo primary node6716 do not includes button to visit primary node6717 On a Geo secondary node6718 includes button to visit primary node6719Namespaces::Storage::UserPreEnforcementAlertComponent6720 # order random6721 when user namespace6722 includes used storage in the banner text6723 includes the correct navigation instruction in the banner text6724Gitlab::Usage::Metrics::Instrumentations::CountEventStreamingDestinationsMetric6725 behaves like a correct instrumented metric value and query6726 behaves like a correct instrumented metric value6727 has correct value6728 behaves like a correct instrumented metric query6729 has correct generate query6730DeleteMergeRequestsFromOriginalIndex6731 behaves like a deprecated Advanced Search migration6732 #migrate6733 logs a message and halts the migration6734 #completed?6735 returns false6736 #obsolete?6737 returns true6738Types::AlertManagement::HttpIntegrationType6739 is expected to eq "AlertManagementHttpIntegration"6740 is expected to require graphql authorizations :admin_operations6741 exposes the expected fields6742Gitlab::ImportExport::Group::GroupAndDescendantsRepoSaver6743 exports the group and subgroups wiki repo6744 if any of the wiki exports fails6745 returns false and stops exporting other groups6746MetricsReportMetricEntity6747 #as_json6748 contains the correct metric6749 when the metric did not change6750 does not expose previous_value6751 when the metric changed6752 exposes the previous_value6753Types::ApprovalRuleType6754 is expected to have graphql fields :id, :name, :type, :approvals_required, :approved, :overridden, :section, :contains_hidden_groups, :source_rule, :eligible_approvers, :users, :approved_by, :groups, :section, and :commented_by6755 is expected to require graphql authorizations :read_approval_rule6756MigrateMergeRequestsToSeparateIndex6757 behaves like a deprecated Advanced Search migration6758 #migrate6759 logs a message and halts the migration6760 #completed?6761 returns false6762 #obsolete?6763 returns true6764Gitlab::Patch::DatabaseConfig6765 #database_configuration6766 when config/database.yml does not contain Geo settings6767 returns a hash containing only main:6768 when config/database.yml contains Geo settings6769 returns a hash containing both main: and geo:6770 when SKIP_POST_DEPLOYMENT_MIGRATIONS environment variable set6771 does not include Geo post deployment migrations path6772DashboardEnvironmentsProjectEntity6773 .as_json6774 includes project attributes6775Boards::EpicBoards::DestroyService6776 behaves like board destroy service6777 #execute6778 when there is more than one board6779 destroys the board6780 when there is only one board6781 does remove board6782Types::Vulnerability::IssueLinkTypeEnum6783 is expected to contain exactly "RELATED" and "CREATED"6784StorageShard6785 .all6786 returns an array of StorageShard objects6787 .build_digest6788 returns SHA1 digest for the current configuration6789Security::ScanPresenter6790 #errors6791 is expected to contain exactly "[foo] bar"6792 #warnings6793 is expected to contain exactly "[foo] bar"6794EE::WorkItemsHelper6795 # order random6796 #work_items_index_data6797 when features are available6798 returns true for the features6799 when feature not available6800 returns false for the features6801Integrations::SlackWorkspace::ApiScope6802 # order random6803 .find_or_initialize_by_names6804 acts as insert into a global set of scope names6805Types::VulnerabilityLocation::SecretDetectionType6806 is expected to have graphql fields :end_line, :file, :start_line, :vulnerable_class, :vulnerable_method, and :blob_path6807Types::Security::TrainingUrlType6808 is expected to have graphql fields :name, :url, :status, and :identifier6809WorkItems::WidgetDefinition6810 # order random6811 .available_widgets6812 returns list of all possible widgets6813Geo::UploadState6814 is expected to belong to upload required: false inverse_of => upload_state6815Types::SecurityOrchestration::GroupSecurityPolicySourceType6816 is expected to have graphql fields :namespace and :inherited6817Gitlab::GlRepository6818 .parse6819 parses a group wiki gl_repository6820EE::API::Entities::Ci::Minutes::AdditionalPack6821 contains the correct attributes6822Types::VulnerabilityDetails::TableType6823 is expected to have graphql fields :name, :description, :fieldName, :headers, and :rows6824Knapsack report was generated. Preview:6825{6826 "ee/spec/lib/gitlab/elastic/search_results_spec.rb": 518.8161976539996,6827 "ee/spec/models/ee/namespace_spec.rb": 73.03932364299908,6828 "ee/spec/models/issue_spec.rb": 55.48455245100013,6829 "ee/spec/replicators/geo/job_artifact_replicator_spec.rb": 59.63338296599977,6830 "ee/spec/replicators/geo/package_file_replicator_spec.rb": 30.040807415000017,6831 "ee/spec/lib/compliance_management/merge_request_approval_settings/resolver_spec.rb": 44.45495657999891,6832 "ee/spec/finders/geo/terraform_state_version_registry_finder_spec.rb": 48.71793509000054,6833 "ee/spec/lib/gitlab/usage_data_metrics_spec.rb": 46.19904287999998,6834 "ee/spec/lib/gitlab/ci/templates/sast_gitlab_ci_yaml_spec.rb": 39.8747938180004,6835 "ee/spec/replicators/geo/lfs_object_replicator_spec.rb": 17.40699971599861,6836 "ee/spec/finders/autocomplete/vulnerabilities_autocomplete_finder_spec.rb": 30.014425516999836,6837 "ee/spec/models/requirements_management/requirement_spec.rb": 22.954602282999986,6838 "ee/spec/finders/merge_requests_finder_spec.rb": 25.752632648000144,6839 "ee/spec/models/group_member_spec.rb": 24.770109907000005,6840 "ee/spec/serializers/dashboard_operations_project_entity_spec.rb": 25.195787742000903,6841 "ee/spec/services/security/security_orchestration_policies/rule_schedule_service_spec.rb": 21.89432818900059,6842 "ee/spec/models/ee/protected_branch_spec.rb": 18.778914157001054,6843 "ee/spec/finders/geo/repository_verification_finder_spec.rb": 10.551385574999586,6844 "ee/spec/services/merge_requests/reset_approvals_service_spec.rb": 14.524598616999356,6845 "ee/spec/workers/app_sec/dast/profile_schedule_worker_spec.rb": 15.89151550799943,6846 "ee/spec/services/requirements_management/import_csv_service_spec.rb": 17.319513053000264,6847 "ee/spec/services/groups/memberships/export_service_spec.rb": 16.441830623998612,6848 "ee/spec/workers/geo/repository_registry_sync_worker_spec.rb": 13.761859669000842,6849 "ee/spec/lib/gitlab/ci/templates/secure_binaries_ci_yaml_spec.rb": 8.79297123699871,6850 "ee/spec/services/groups/sync_service_spec.rb": 12.045032965001155,6851 "ee/spec/lib/ee/gitlab/web_hooks/rate_limiter_spec.rb": 5.115377461001117,6852 "ee/spec/services/ee/merge_requests/create_service_spec.rb": 12.2365710999984,6853 "ee/spec/services/issues/export_csv_service_spec.rb": 7.275976168000852,6854 "ee/spec/graphql/types/dast_site_profile_type_spec.rb": 7.592749341998569,6855 "ee/spec/services/protected_environments/create_service_spec.rb": 11.754070589000548,6856 "ee/spec/graphql/mutations/dast/profiles/create_spec.rb": 5.468960411999433,6857 "ee/spec/models/audit_events/external_audit_event_destination_spec.rb": 4.378072590001466,6858 "ee/spec/lib/gitlab/import_export/project/custom_template_restorer_spec.rb": 5.075690273000873,6859 "ee/spec/lib/gitlab/ci/reports/license_scanning/report_spec.rb": 2.4926173000003473,6860 "ee/spec/helpers/timeboxes_helper_spec.rb": 3.1875267760005954,6861 "ee/spec/models/ee/pages_deployment_spec.rb": 7.612993721000748,6862 "ee/spec/lib/gitlab/ci/templates/dast_gitlab_ci_yaml_spec.rb": 6.861842910999258,6863 "ee/spec/lib/gitlab/import_export/group/relation_factory_spec.rb": 5.052351914999235,6864 "ee/spec/models/milestone_release_spec.rb": 5.533975366999584,6865 "ee/spec/services/ee/users/destroy_service_spec.rb": 6.647667498000374,6866 "ee/spec/models/ee/dependency_proxy/blob_spec.rb": 5.84606807199998,6867 "ee/spec/workers/sync_seat_link_request_worker_spec.rb": 5.416468106001048,6868 "ee/spec/finders/security/scan_execution_policies_finder_spec.rb": 7.512231429000167,6869 "ee/spec/services/geo/repository_updated_service_spec.rb": 3.146996258001309,6870 "ee/spec/lib/gitlab/geo/oauth/logout_token_spec.rb": 4.793730396000683,6871 "ee/spec/models/ee/integrations/jira_spec.rb": 2.427706305999891,6872 "ee/spec/elastic/migrate/20220824133000_add_hidden_to_issues_spec.rb": 5.984482431000288,6873 "ee/spec/lib/gitlab/auth/ldap/user_spec.rb": 2.2058417839998583,6874 "ee/spec/workers/refresh_license_compliance_checks_worker_spec.rb": 3.46236920299998,6875 "ee/spec/models/concerns/ee/project_security_scanners_information_spec.rb": 5.616484860000128,6876 "ee/spec/services/vulnerability_merge_request_links/create_service_spec.rb": 3.4570112329984113,6877 "ee/spec/lib/gitlab/geo/event_gap_tracking_spec.rb": 2.1730778660003125,6878 "ee/spec/services/groups/mark_for_deletion_service_spec.rb": 3.139193769000485,6879 "ee/spec/lib/gitlab/com_spec.rb": 2.602222970999719,6880 "ee/spec/services/wiki_pages/create_service_spec.rb": 4.974288430999877,6881 "ee/spec/services/security/orchestration/unassign_service_spec.rb": 3.3413365430005797,6882 "ee/spec/graphql/resolvers/geo/dependency_proxy_manifest_registries_resolver_spec.rb": 5.152426397000454,6883 "ee/spec/services/upcoming_reconciliations/update_service_spec.rb": 1.5778900040004373,6884 "ee/spec/lib/gitlab/graphql/aggregations/epics/lazy_epic_aggregate_spec.rb": 1.2108598629984044,6885 "ee/spec/models/release_highlight_spec.rb": 3.090400552999199,6886 "ee/spec/serializers/ee/issue_sidebar_basic_entity_spec.rb": 3.912389527000414,6887 "ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_label_added_spec.rb": 3.130169759999262,6888 "ee/spec/lib/ee/gitlab/import_export/importer_spec.rb": 4.237978340999689,6889 "ee/spec/services/boards/epics/position_create_service_spec.rb": 4.138464878000377,6890 "ee/spec/policies/app_sec/fuzzing/coverage/corpus_policy_spec.rb": 2.56378810500064,6891 "ee/spec/services/resource_events/change_weight_service_spec.rb": 4.471167912000965,6892 "ee/spec/lib/gitlab/insights/project_insights_config_spec.rb": 1.3930894880013511,6893 "ee/spec/lib/gitlab/usage/metrics/instrumentations/protected_environments_required_approvals_average_metric_spec.rb": 1.7465734699999302,6894 "ee/spec/graphql/types/vulnerability_request_type_spec.rb": 2.747808449999866,6895 "ee/spec/services/ee/users/create_service_spec.rb": 1.3226637440002378,6896 "ee/spec/services/work_items/widgets/status_service/update_service_spec.rb": 3.7754546380001557,6897 "ee/spec/services/phone_verification/users/verify_code_service_spec.rb": 0.848709391999364,6898 "ee/spec/services/epic_issues/update_service_spec.rb": 3.0355463569994754,6899 "ee/spec/models/project_alias_spec.rb": 1.0631643850010732,6900 "ee/spec/graphql/mutations/boards/epic_boards/update_spec.rb": 1.0675729539998429,6901 "ee/spec/services/security/security_orchestration_policies/operational_vulnerabilities_configuration_service_spec.rb": 3.955065423999258,6902 "ee/spec/services/app_sec/dast/scan_configs/fetch_service_spec.rb": 3.0508337159990333,6903 "ee/spec/services/notes/create_visual_review_service_spec.rb": 3.449584854000932,6904 "ee/spec/services/milestones/destroy_service_spec.rb": 2.1054105720013467,6905 "ee/spec/lib/ee/gitlab/ci/config/entry/bridge_spec.rb": 1.0887136119999923,6906 "ee/spec/services/users/email_verification/send_custom_confirmation_instructions_service_spec.rb": 1.2724363389988866,6907 "ee/spec/workers/dependencies/export_worker_spec.rb": 1.8902427779994468,6908 "ee/spec/services/incident_management/issuable_resource_links/destroy_service_spec.rb": 2.4230584960005217,6909 "ee/spec/views/clusters/clusters/show.html.haml_spec.rb": 2.422412465999514,6910 "ee/spec/lib/gitlab/geo/geo_tasks_spec.rb": 2.407460358001117,6911 "ee/spec/lib/gitlab/exclusive_lease_spec.rb": 2.7867255359997216,6912 "ee/spec/lib/gitlab/ci/templates/Verify/load_performance_testing_gitlab_ci_yaml_spec.rb": 3.1900887850006256,6913 "ee/spec/lib/gitlab/prometheus/queries/additional_metrics_environment_query_spec.rb": 2.700828102999367,6914 "ee/spec/workers/requirements_management/import_requirements_csv_worker_spec.rb": 1.8005510260009032,6915 "ee/spec/services/projects/protect_default_branch_service_spec.rb": 2.5808715040002426,6916 "ee/spec/graphql/types/instance_security_dashboard_type_spec.rb": 1.870314600999336,6917 "ee/spec/serializers/ee/user_serializer_spec.rb": 2.6067575809993286,6918 "ee/spec/services/issue_feature_flags/list_service_spec.rb": 2.629997899000955,6919 "ee/spec/graphql/ee/resolvers/board_lists_resolver_spec.rb": 1.159354217001237,6920 "ee/spec/graphql/types/scan_type_spec.rb": 1.7622133219992975,6921 "ee/spec/graphql/resolvers/path_locks_resolver_spec.rb": 1.0689184869988821,6922 "ee/spec/services/groups/epics_count_service_spec.rb": 0.9366953270000522,6923 "ee/spec/graphql/types/work_items/widget_interface_spec.rb": 0.7376755119985319,6924 "ee/spec/graphql/graphql_triggers_spec.rb": 1.9834340159995918,6925 "ee/spec/lib/ee/api/entities/member_spec.rb": 1.0499831979996088,6926 "ee/spec/elastic/migrate/20210623081800_add_upvotes_to_issues_spec.rb": 0.45279274499989697,6927 "ee/spec/lib/banzai/filter/issuable_reference_expansion_filter_spec.rb": 1.6019489649988827,6928 "ee/spec/lib/gitlab/import_export/project/deploy_keys_restorer_spec.rb": 1.797479270000622,6929 "ee/spec/workers/search/index_curation_worker_spec.rb": 1.0381346189988108,6930 "ee/spec/models/board_user_preference_spec.rb": 1.8432033259996388,6931 "ee/spec/lib/gitlab/usage_data_counters/value_streams_dashboard_counter_spec.rb": 0.5714745460008999,6932 "ee/spec/services/audit_events/runners_token_audit_event_service_spec.rb": 1.9260871699989366,6933 "ee/spec/workers/projects/register_suggested_reviewers_project_worker_spec.rb": 1.132988301998921,6934 "ee/spec/serializers/vulnerabilities/request_entity_spec.rb": 1.7231398059993808,6935 "ee/spec/elastic/migrate/20210910094600_add_namespace_ancestry_ids_to_issues_mapping_spec.rb": 1.659639301000425,6936 "ee/spec/finders/security/training_providers/kontra_url_finder_spec.rb": 1.3463355250005407,6937 "ee/spec/models/dora/change_failure_rate_metric_spec.rb": 1.8763394140005403,6938 "ee/spec/workers/merge_requests/sync_code_owner_approval_rules_worker_spec.rb": 1.6959395880003285,6939 "ee/spec/lib/gitlab/graphql/aggregations/epics/epic_node_spec.rb": 0.9426460859995132,6940 "ee/spec/policies/approval_state_policy_spec.rb": 1.7836528709995036,6941 "ee/spec/services/todos/allowed_target_filter_service_spec.rb": 2.1632046819995594,6942 "ee/spec/graphql/mutations/incident_management/oncall_schedule/destroy_spec.rb": 1.1144425530001172,6943 "ee/spec/lib/ee/event_filter_spec.rb": 1.4054269010011922,6944 "ee/spec/lib/gitlab/graphql/aggregations/security_orchestration_policies/lazy_dast_profile_aggregate_spec.rb": 1.274847040000168,6945 "ee/spec/workers/ldap_group_sync_worker_spec.rb": 1.2456828630001837,6946 "ee/spec/views/layouts/header/help_dropdown/_cross_stage_fdm.html.haml_spec.rb": 1.6253452040000411,6947 "ee/spec/graphql/mutations/audit_events/streaming/headers/destroy_spec.rb": 1.212382775000151,6948 "ee/spec/components/namespaces/free_user_cap/non_owner_enforcement_alert_component_spec.rb": 1.3707267429999774,6949 "ee/spec/services/ee/projects/deploy_tokens/destroy_service_spec.rb": 1.3051955290011392,6950 "ee/spec/services/geo/container_repository_registry_removal_service_spec.rb": 0.9347477270002855,6951 "ee/spec/workers/analytics/cycle_analytics/reaggregation_worker_spec.rb": 0.8696780020000006,6952 "ee/spec/lib/ee/api/helpers/variables_helpers_spec.rb": 1.0147191310006747,6953 "ee/spec/workers/elastic_full_index_worker_spec.rb": 1.5166599719996157,6954 "ee/spec/workers/merge_trains/refresh_worker_spec.rb": 0.904308689001482,6955 "ee/spec/services/sbom/ingestion/tasks/ingest_sources_spec.rb": 0.8729354720017,6956 "ee/spec/lib/gitlab/usage/metrics/instrumentations/count_enterprise_users_based_on_domain_verification_metric_spec.rb": 1.0511745769999834,6957 "ee/spec/models/geo/push_user_spec.rb": 0.9598836740005936,6958 "ee/spec/helpers/ee/emails_helper_spec.rb": 0.7119808140014356,6959 "ee/spec/lib/gitlab/regex_spec.rb": 0.6011468619999505,6960 "ee/spec/helpers/projects/security/discover_helper_spec.rb": 1.0974482140009059,6961 "ee/spec/support_specs/license_metadata_tags_spec.rb": 0.7722579399996903,6962 "ee/spec/lib/gitlab/path_locks_finder_spec.rb": 0.8515594529999362,6963 "ee/spec/serializers/analytics/cycle_analytics/value_stream_errors_serializer_spec.rb": 0.7899215890010964,6964 "ee/spec/graphql/ee/types/merge_request_type_spec.rb": 0.5479398269999365,6965 "ee/spec/workers/security/auto_fix_worker_spec.rb": 0.7434835020012542,6966 "ee/spec/services/elastic/index_projects_service_spec.rb": 1.005800980999993,6967 "ee/spec/graphql/types/ci/minutes/project_monthly_usage_type_spec.rb": 0.4384870949998003,6968 "ee/spec/graphql/resolvers/security_report_summary_resolver_spec.rb": 0.9221552170001814,6969 "ee/spec/graphql/types/geo/pages_deployment_registry_type_spec.rb": 0.49990944099954504,6970 "ee/spec/services/security/security_orchestration_policies/sync_scan_result_policies_project_service_spec.rb": 0.9202977370005101,6971 "ee/spec/graphql/types/iterations/cadence_type_spec.rb": 0.4741600130000734,6972 "ee/spec/models/ee/namespace_ci_cd_setting_spec.rb": 0.5759039940003277,6973 "ee/spec/views/layouts/header/_read_only_banner.html.haml_spec.rb": 1.0579709170015121,6974 "ee/spec/components/namespaces/storage/user_pre_enforcement_alert_component_spec.rb": 0.6862323069999547,6975 "ee/spec/lib/gitlab/usage/metrics/instrumentations/count_event_streaming_destinations_metric_spec.rb": 0.8660045520009589,6976 "ee/spec/elastic/migrate/20210510113500_delete_merge_requests_from_original_index_spec.rb": 0.5663109849992907,6977 "ee/spec/graphql/ee/types/alert_management/http_integration_type_spec.rb": 0.6022730829990905,6978 "ee/spec/lib/gitlab/import_export/group/group_and_descendants_repo_saver_spec.rb": 0.7490502010005002,6979 "ee/spec/serializers/metrics_report_metric_entity_spec.rb": 0.39991358799852605,6980 "ee/spec/graphql/types/approval_rule_type_spec.rb": 0.3767641390004428,6981 "ee/spec/elastic/migrate/20210429154500_migrate_merge_requests_to_separate_index_spec.rb": 0.6435806789995695,6982 "ee/spec/lib/gitlab/patch/database_config_spec.rb": 0.6542385480006487,6983 "ee/spec/serializers/dashboard_environments_project_entity_spec.rb": 0.4093541389993334,6984 "ee/spec/services/boards/epic_boards/destroy_service_spec.rb": 0.4994068209998659,6985 "ee/spec/graphql/types/vulnerability/issue_link_type_enum_spec.rb": 0.6193961910012149,6986 "ee/spec/models/storage_shard_spec.rb": 0.5320891789997404,6987 "ee/spec/presenters/security/scan_presenter_spec.rb": 0.6136880220001331,6988 "ee/spec/helpers/ee/work_items_helper_spec.rb": 0.36238210200099275,6989 "ee/spec/models/integrations/slack_workspace/api_scope_spec.rb": 0.5982310529998358,6990 "ee/spec/graphql/types/vulnerability_location/secret_detection_type_spec.rb": 0.40291542900013155,6991 "ee/spec/graphql/types/security/training_url_type_spec.rb": 0.3383346030004759,6992 "ee/spec/models/ee/work_items/widget_definition_spec.rb": 0.39509525900029985,6993 "ee/spec/models/geo/upload_state_spec.rb": 0.3932430690001638,6994 "ee/spec/graphql/types/security_orchestration/group_security_policy_source_type_spec.rb": 0.7118939140000293,6995 "ee/spec/lib/gitlab/gl_repository_spec.rb": 0.7699488689995633,6996 "ee/spec/lib/ee/api/entities/ci/minutes/additional_pack_spec.rb": 0.33507364400065853,6997 "ee/spec/graphql/types/vulnerability_details/table_type_spec.rb": 0.43736730599994196998}6999Knapsack global time execution for tests: 25m 45s7000Pending: (Failures listed here are expected and do not affect your suite's status)7001 1) Gitlab::Elastic::SearchResults blobs searches CamelCased methods find by first two words7002 # Temporarily skipped with xit7003 # ./ee/spec/lib/gitlab/elastic/search_results_spec.rb:9547004 2) Geo::TerraformStateVersionRegistryFinder behaves like a framework registry finder #execute when user can read all Geo when admin mode is enabled with verification disabled with a verification_state param raises ArgumentError7005 # Skipping because verification is enabled for Terraform::StateVersion7006 # ./ee/spec/support/shared_examples/finders/geo/framework_registry_finder_shared_examples.rb:987007 3) Geo::TerraformStateVersionRegistryFinder behaves like a framework registry finder #execute when user can read all Geo when admin mode is enabled with verification disabled with a verification_state param empty raises ArgumentError7008 # Skipping because verification is enabled for Terraform::StateVersion7009 # ./ee/spec/support/shared_examples/finders/geo/framework_registry_finder_shared_examples.rb:1067010 4) Geo::TerraformStateVersionRegistryFinder behaves like a framework registry finder #execute when user can read all Geo when admin mode is enabled when search method is not implemented in the registry model raises ArgumentError7011 # Skipping because search method is implemented for Terraform::StateVersion7012 # ./ee/spec/support/shared_examples/finders/geo/framework_registry_finder_shared_examples.rb:1227013 5) Geo::TerraformStateVersionRegistryFinder behaves like a framework registry finder #execute when user can read all Geo when admin mode is enabled when search method is implemented in the registry model returns a registry filtered by keyword7014 # Skipping because search method is not implemented7015 for Terraform::StateVersion or searchable attributes are not defined.7016 # ./ee/spec/support/shared_examples/finders/geo/framework_registry_finder_shared_examples.rb:1537017 6) WikiPages::CreateService behaves like WikiPages::CreateService#execute the new page is at the top level creates appropriate events7018 # group wiki support7019 Failure/Error: expect { service.execute }.to change { Event.count }.by 17020 expected `Event.count` to have changed by 1, but was changed by 07021 Shared Example Group: "correct event created" called from ./spec/support/shared_examples/services/wiki_pages/create_service_shared_examples.rb:597022 Shared Example Group: "WikiPages::CreateService#execute" called from ./ee/spec/services/wiki_pages/create_service_spec.rb:407023 # ./spec/support/shared_examples/services/wiki_pages/create_service_shared_examples.rb:47:in `block (3 levels) in <top (required)>'7024 # ./spec/spec_helper.rb:438:in `block (3 levels) in <top (required)>'7025 # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'7026 # ./spec/spec_helper.rb:430:in `block (2 levels) in <top (required)>'7027 # ./spec/spec_helper.rb:426:in `block (3 levels) in <top (required)>'7028 # ./lib/gitlab/application_context.rb:61:in `with_raw_context'7029 # ./spec/spec_helper.rb:426:in `block (2 levels) in <top (required)>'7030 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7031 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7032 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <top (required)>'7033 # ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'7034 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <top (required)>'7035 7) WikiPages::CreateService behaves like WikiPages::CreateService#execute the new page is in a subsection creates appropriate events7036 # group wiki support7037 Failure/Error: expect { service.execute }.to change { Event.count }.by 17038 expected `Event.count` to have changed by 1, but was changed by 07039 Shared Example Group: "correct event created" called from ./spec/support/shared_examples/services/wiki_pages/create_service_shared_examples.rb:657040 Shared Example Group: "WikiPages::CreateService#execute" called from ./ee/spec/services/wiki_pages/create_service_spec.rb:407041 # ./spec/support/shared_examples/services/wiki_pages/create_service_shared_examples.rb:47:in `block (3 levels) in <top (required)>'7042 # ./spec/spec_helper.rb:438:in `block (3 levels) in <top (required)>'7043 # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'7044 # ./spec/spec_helper.rb:430:in `block (2 levels) in <top (required)>'7045 # ./spec/spec_helper.rb:426:in `block (3 levels) in <top (required)>'7046 # ./lib/gitlab/application_context.rb:61:in `with_raw_context'7047 # ./spec/spec_helper.rb:426:in `block (2 levels) in <top (required)>'7048 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7049 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7050 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <top (required)>'7051 # ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'7052 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <top (required)>'7053 8) Resolvers::Geo::DependencyProxyManifestRegistriesResolver 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 ArgumentError7054 # Skipping because verification is enabled for DependencyProxy::Manifest7055 # ./ee/spec/support/shared_examples/graphql/geo/geo_registries_resolver_shared_examples.rb:777056Failures:7057 1) Namespace#namespace_limit when there is a parent namespace with no namespace limit builds namespace limit7058 Failure/Error: expect(namespace_limit).not_to be_persisted7059 expected `#<NamespaceLimit additional_purchased_storage_size: 0, additional_purchased_storage_ends_on: nil, namespace_id: 1058, temporary_storage_increase_ends_on: nil>.persisted?` to be falsey, got true7060 # ./ee/spec/models/ee/namespace_spec.rb:1422:in `block (5 levels) in <top (required)>'7061 # ./spec/spec_helper.rb:438:in `block (3 levels) in <top (required)>'7062 # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'7063 # ./spec/spec_helper.rb:430:in `block (2 levels) in <top (required)>'7064 # ./spec/spec_helper.rb:426:in `block (3 levels) in <top (required)>'7065 # ./lib/gitlab/application_context.rb:61:in `with_raw_context'7066 # ./spec/spec_helper.rb:426:in `block (2 levels) in <top (required)>'7067 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7068 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7069 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <top (required)>'7070 # ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'7071 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <top (required)>'7072Finished in 25 minutes 47 seconds (files took 1 minute 7.35 seconds to load)70732596 examples, 1 failure, 8 pending7074Failed examples:7075rspec ./ee/spec/models/ee/namespace_spec.rb:1420 # Namespace#namespace_limit when there is a parent namespace with no namespace limit builds namespace limit7076Randomized with seed 161087077[TEST PROF INFO] Time spent in factories: 13:52.940 (52.93% of total time)7078Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected7079RSpec exited with 1.7080RETRIED_TESTS_REPORT_PATH: rspec/flaky/retried_tests_rspec-ee_unit_pg13_single-db_8_18_report.txt7081Retrying the failing examples in a new RSpec process...7082$ gem install junit_merge --no-document --version 0.1.27083Successfully installed nokogiri-1.14.2-x86_64-linux7084Successfully installed junit_merge-0.1.270852 gems installed7086==> 'gem install junit_merge --no-document --version 0.1.2' succeeded in 1 seconds.7087Running 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"7088Run options: include {:last_run_status=>"failed"}7089Test environment set up in 0.339622304 seconds7090Namespace7091 #namespace_limit7092 when there is a parent namespace7093 with no namespace limit7094 builds namespace limit7095Finished in 2.17 seconds (files took 50.66 seconds to load)70961 example, 0 failures7097[TEST PROF INFO] Time spent in factories: 00:00.412 (8.16% of total time)7098A test was flaky and succeeded after being retried. Checking to see if flaky test is part of this MR...7099Flaky test was not part of this MR.7101Not uploading cache ruby-gems-debian-bullseye-ruby-3.0-16 due to policy7102Not uploading cache gitaly-ruby-gems-debian-bullseye-ruby-3.0-16 due to policy7104Uploading artifacts...7105coverage/: found 4 matching artifact files and directories 7106crystalball/: found 2 matching artifact files and directories 7107WARNING: deprecations/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 7108knapsack/: found 3 matching artifact files and directories 7109WARNING: query_recorder/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 7110rspec/: found 16 matching artifact files and directories 7111WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 7112log/*.log: found 17 matching artifact files and directories 7113WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4031139251/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com7114WARNING: Retrying... context=artifacts-uploader error=request redirected7115Uploading artifacts as "archive" to coordinator... 201 Created id=4031139251 responseStatus=201 Created token=64_Vjsnt7116Uploading artifacts...7117rspec/junit_rspec.xml: found 1 matching artifact files and directories 7118WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4031139251/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com7119WARNING: Retrying... context=artifacts-uploader error=request redirected7120Uploading artifacts as "junit" to coordinator... 201 Created id=4031139251 responseStatus=201 Created token=64_Vjsnt7122Job succeeded