rspec-ee unit pg12 18/18
Passed Started
by
@ahegyi
Adam Hegyi
1Running with gitlab-runner 15.6.0~beta.186.ga889181a (a889181a)2 on green-3.shared-gitlab-org.runners-manager.gitlab.com/default EuhiQzPR3 feature flags: FF_USE_FASTZIP:true6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.18-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-103-yarn-1.22-graphicsmagick-1.3.36 ...7Starting service postgres:12 ...8Pulling docker image postgres:12 ...9Using docker image sha256:56e1d6dc77b242b5f4f91e7319f0740f7ab8bdf41023fd5d703f412ac87976f5 for postgres:12 with digest postgres@sha256:93fd73e2322241eec204dac54b316bf429670ff6e5292e16f9e2fd3a3374a713 ...10Starting service redis:6.0-alpine ...11Pulling docker image redis:6.0-alpine ...12Using docker image sha256:83c577984741ab5b2e78640e0524852998d539ea3961e6d56680f336371f5c83 for redis:6.0-alpine with digest redis@sha256:459e91c5fe54134da1601ef85a4d9bc40c953862737fdfbe8f3c2b2a3eb6b20b ...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 ...16Waiting for services to be up and running (timeout 30 seconds)...17Authenticating with credentials from job payload (GitLab Registry)18Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.18-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-103-yarn-1.22-graphicsmagick-1.3.36 ...19Using docker image sha256:5c5404ecc69273636c3ef49645be715ef30ea99e51ad146a2efbeac2a1875f9c for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.18-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-103-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.18-node-16.14-postgresql-12@sha256:b032fe79dc0bf3ebfaeb610c82eacc500fbd0ec6e01889444011cf5a72b4135d ...21Running on runner-euhiqzpr-project-278964-concurrent-0 via runner-euhiqzpr-shared-gitlab-org-1667568875-c398a111...23$ eval "$CI_PRE_CLONE_SCRIPT"24Fetching changes with git depth set to 20...25Initialized empty Git repository in /builds/gitlab-org/gitlab/.git/26Created fresh repository.27remote: Enumerating objects: 135178, done. 28remote: Counting objects: 100% (135178/135178), done. 29remote: Compressing objects: 100% (85462/85462), done. 30remote: Total 135178 (delta 62673), reused 94880 (delta 44892), pack-reused 0 31Receiving objects: 100% (135178/135178), 115.46 MiB | 24.93 MiB/s, done.32Resolving deltas: 100% (62673/62673), done.34 * [new ref] refs/pipelines/685831713 -> refs/pipelines/68583171335 * [new branch] master -> origin/master36Checking out 58c4ca27 as master...37Skipping Git submodules setup38$ git remote set-url origin "${CI_REPOSITORY_URL}"40Checking cache for ruby-gems-debian-bullseye-ruby-2.7-16...41cache.zip is up to date 42Successfully extracted cache43Checking cache for gitaly-ruby-gems-debian-bullseye-ruby-2.7-16...44cache.zip is up to date 45Successfully extracted cache47Downloading artifacts for compile-test-assets (3275962690)...48Downloading artifacts from coordinator... ok id=3275962690 responseStatus=200 OK token=zctxzsGs49Downloading artifacts for detect-tests (3275962698)...50Downloading artifacts from coordinator... ok id=3275962698 responseStatus=200 OK token=zctxzsGs51Downloading artifacts for retrieve-tests-metadata (3275962699)...52Downloading artifacts from coordinator... ok id=3275962699 responseStatus=200 OK token=zctxzsGs53Downloading artifacts for setup-test-env (3275962693)...54Downloading artifacts from coordinator... ok id=3275962693 responseStatus=200 OK token=zctxzsGs56Using docker image sha256:5c5404ecc69273636c3ef49645be715ef30ea99e51ad146a2efbeac2a1875f9c for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.18-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-103-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.18-node-16.14-postgresql-12@sha256:b032fe79dc0bf3ebfaeb610c82eacc500fbd0ec6e01889444011cf5a72b4135d ...57$ echo $FOSS_ONLY58$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb59$ export GOPATH=$CI_PROJECT_DIR/.go60$ mkdir -p $GOPATH61$ source scripts/utils.sh62$ source scripts/prepare_build.sh679Using decomposed database config (config/database.yml.decomposed-postgresql)680$ setup_db_user_only681CREATE ROLE682GRANT683==> 'setup_db_user_only' succeeded in 0 seconds.684$ bundle exec rake db:drop db:create db:schema:load db:migrate685Dropped database 'gitlabhq_test'686Dropped database 'gitlabhq_test_ci'687Dropped database 'gitlabhq_geo_test'688Created database 'gitlabhq_test'689Created database 'gitlabhq_test_ci'690Created database 'gitlabhq_geo_test'691==> 'bundle exec rake db:drop db:create db:schema:load db:migrate' succeeded in 34 seconds.692$ setup_db_praefect693SELECT pg_catalog.set_config('search_path', '', false);694CREATE DATABASE praefect_test ENCODING 'UTF8';695==> 'setup_db_praefect' succeeded in 0 seconds.696$ source ./scripts/rspec_helpers.sh697$ run_timed_command "gem install knapsack --no-document"698$ gem install knapsack --no-document699Successfully installed knapsack-4.0.07001 gem installed701==> 'gem install knapsack --no-document' succeeded in 1 seconds.702$ echo -e "\e[0Ksection_start:`date +%s`:gitaly-test-spawn[collapsed=true]\r\e[0KStarting Gitaly"816$ rspec_paralellized_job "--tag ~quarantine --tag ~level:migration"817SKIP_FLAKY_TESTS_AUTOMATICALLY: true818RETRY_FAILED_TESTS_IN_NEW_PROCESS: true819KNAPSACK_GENERATE_REPORT: true820FLAKY_RSPEC_GENERATE_REPORT: true821KNAPSACK_TEST_FILE_PATTERN: {ee/}spec/{bin,channels,config,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.rb822KNAPSACK_LOG_LEVEL: debug823KNAPSACK_REPORT_PATH: knapsack/rspec-ee_unit_pg12_18_18_report.json824FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json825FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec-ee_unit_pg12_18_18_report.json826NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec-ee_unit_pg12_18_18_report.json827SKIPPED_FLAKY_TESTS_REPORT_PATH: rspec/flaky/skipped_flaky_tests_rspec-ee_unit_pg12_18_18_report.txt828RETRIED_TESTS_REPORT_PATH: rspec/flaky/retried_tests_rspec-ee_unit_pg12_18_18_report.txt829CRYSTALBALL: 830Knapsack node specs:831ee/spec/tasks/gitlab/elastic_rake_spec.rb832ee/spec/models/application_setting_spec.rb833ee/spec/lib/gitlab/elastic/project_search_results_spec.rb834ee/spec/models/security/orchestration_policy_configuration_spec.rb835ee/spec/policies/environment_policy_spec.rb836ee/spec/services/epic_issues/create_service_spec.rb837ee/spec/lib/gitlab/analytics/type_of_work/tasks_by_type_spec.rb838ee/spec/models/geo/pipeline_artifact_registry_spec.rb839ee/spec/lib/ee/gitlab/background_migration/migrate_shared_vulnerability_scanners_spec.rb840ee/spec/models/geo/pages_deployment_registry_spec.rb841ee/spec/graphql/resolvers/geo/merge_request_diff_registries_resolver_spec.rb842ee/spec/services/geo/file_registry_removal_service_spec.rb843ee/spec/models/dast_site_profile_spec.rb844ee/spec/models/concerns/elastic/repository_spec.rb845ee/spec/models/security/orchestration_policy_rule_schedule_spec.rb846ee/spec/lib/banzai/filter/references/epic_reference_filter_spec.rb847ee/spec/models/deployments/approval_summary_spec.rb848ee/spec/finders/geo/upload_registry_finder_spec.rb849ee/spec/elastic/migrate/20220118150500_delete_orphaned_commits_spec.rb850ee/spec/services/vulnerability_issue_links/create_service_spec.rb851ee/spec/graphql/resolvers/geo/pages_deployment_registries_resolver_spec.rb852ee/spec/models/concerns/ee/issuable_spec.rb853ee/spec/presenters/merge_request_approver_presenter_spec.rb854ee/spec/lib/gitlab/ci/minutes/gitlab_contribution_cost_factor_spec.rb855ee/spec/lib/ee/gitlab/background_migration/populate_latest_pipeline_ids_spec.rb856ee/spec/models/ee/event_spec.rb857ee/spec/services/vulnerabilities/security_finding/create_issue_service_spec.rb858ee/spec/services/security/findings/dismiss_service_spec.rb859ee/spec/services/wiki_pages/update_service_spec.rb860ee/spec/services/security/security_orchestration_policies/create_pipeline_service_spec.rb861ee/spec/lib/omni_auth/strategies/group_saml_spec.rb862ee/spec/services/security/ingestion/tasks/ingest_remediations_spec.rb863ee/spec/services/releases/update_service_spec.rb864ee/spec/lib/gitlab/git_access_wiki_spec.rb865ee/spec/lib/gitlab/elastic/document_reference_spec.rb866ee/spec/graphql/mutations/dast/profiles/update_spec.rb867ee/spec/finders/snippets_finder_spec.rb868ee/spec/lib/gitlab/expiring_subscription_message_spec.rb869ee/spec/services/ee/boards/issues/create_service_spec.rb870ee/spec/services/vulnerabilities/starboard_vulnerability_create_service_spec.rb871ee/spec/models/vulnerabilities/export_spec.rb872ee/spec/helpers/ee/environments_helper_spec.rb873ee/spec/graphql/mutations/epics/update_spec.rb874ee/spec/services/geo/node_update_service_spec.rb875ee/spec/services/ee/users/update_service_spec.rb876ee/spec/services/ci/compare_license_scanning_reports_service_spec.rb877ee/spec/models/vulnerabilities/historical_statistic_spec.rb878ee/spec/models/issuable_metric_image_spec.rb879ee/spec/models/geo/group_wiki_repository_registry_spec.rb880ee/spec/serializers/dependency_list_entity_spec.rb881ee/spec/services/projects/alerting/notify_service_spec.rb882ee/spec/graphql/mutations/dast_site_profiles/update_spec.rb883ee/spec/services/geo/container_repository_sync_service_spec.rb884ee/spec/services/ee/resource_events/synthetic_iteration_notes_builder_service_spec.rb885ee/spec/lib/gitlab/legacy_github_import/project_creator_spec.rb886ee/spec/graphql/resolvers/boards/board_list_epics_resolver_spec.rb887ee/spec/lib/ee/backup/repositories_spec.rb888ee/spec/finders/security/training_providers/secure_code_warrior_url_finder_spec.rb889ee/spec/policies/event_policy_spec.rb890ee/spec/services/ee/releases/create_evidence_service_spec.rb891ee/spec/services/epics/close_service_spec.rb892ee/spec/services/ci/runners/register_runner_service_spec.rb893ee/spec/elastic_integration/repository_index_spec.rb894ee/spec/services/registrations/import_namespace_create_service_spec.rb895ee/spec/services/incident_management/pending_escalations/create_service_spec.rb896ee/spec/models/iteration_note_spec.rb897ee/spec/lib/gitlab/insights/executors/dora_executor_spec.rb898ee/spec/services/work_items/update_service_spec.rb899ee/spec/services/personal_access_tokens/rotation_verifier_service_spec.rb900ee/spec/models/incident_management/issuable_escalation_status_spec.rb901ee/spec/lib/gitlab/ci/templates/Verify/browser_performance_testing_gitlab_ci_yaml_spec.rb902ee/spec/services/app_sec/dast/site_validations/runner_service_spec.rb903ee/spec/views/projects/settings/subscriptions/_index.html.haml_spec.rb904ee/spec/lib/gitlab/usage/metrics/instrumentations/count_ci_environments_approval_required_spec.rb905ee/spec/lib/gitlab/geo/log_cursor/events/hashed_storage_attachments_event_spec.rb906ee/spec/lib/gitlab/sitemaps/generator_spec.rb907ee/spec/tasks/gitlab/spdx_rake_spec.rb908ee/spec/models/product_analytics/jitsu_authentication_spec.rb909ee/spec/tasks/gitlab/check_rake_spec.rb910ee/spec/services/app_sec/dast/site_validations/revoke_service_spec.rb911ee/spec/services/award_emojis/add_service_spec.rb912ee/spec/policies/identity_provider_policy_spec.rb913ee/spec/services/groups/seat_usage_export_service_spec.rb914ee/spec/services/system_notes/vulnerabilities_service_spec.rb915ee/spec/finders/software_license_policies_finder_spec.rb916ee/spec/finders/ee/clusters/agents_finder_spec.rb917ee/spec/lib/gitlab/ci/parsers/security/validators/default_branch_image_validator_spec.rb918ee/spec/lib/gitlab/geo/log_cursor/events/reset_checksum_event_spec.rb919ee/spec/services/ee/event_create_service_spec.rb920ee/spec/services/security/ingestion/ingest_reports_service_spec.rb921ee/spec/lib/elastic/latest/custom_language_analyzers_spec.rb922ee/spec/lib/gitlab/spdx/catalogue_spec.rb923ee/spec/services/security/store_scans_service_spec.rb924ee/spec/services/ci/runners/reset_registration_token_service_spec.rb925ee/spec/lib/gitlab/usage/metrics/instrumentations/count_user_merge_requests_for_projects_with_applied_scan_result_policies_metric_spec.rb926ee/spec/components/namespaces/free_user_cap/preview_usage_quota_alert_component_spec.rb927ee/spec/services/geo/container_repository_sync_spec.rb928ee/spec/presenters/project_clusterable_presenter_spec.rb929ee/spec/graphql/types/dast/profile_type_spec.rb930ee/spec/services/gitlab_subscriptions/notify_seats_exceeded_service_spec.rb931ee/spec/serializers/issue_serializer_spec.rb932ee/spec/models/geo/repository_renamed_event_spec.rb933ee/spec/helpers/projects/on_demand_scans_helper_spec.rb934ee/spec/services/gitlab_subscriptions/fetch_subscription_plans_service_spec.rb935ee/spec/services/audit_events/streaming/headers/destroy_service_spec.rb936ee/spec/services/personal_access_tokens/create_service_audit_log_spec.rb937ee/spec/models/user_permission_export_upload_spec.rb938ee/spec/services/ee/design_management/delete_designs_service_spec.rb939ee/spec/models/compliance_management/compliance_framework/project_settings_spec.rb940ee/spec/models/dora/configuration_spec.rb941ee/spec/helpers/markup_helper_spec.rb942ee/spec/models/audit_events/streaming/header_spec.rb943ee/spec/workers/app_sec/dast/scanner_profiles_builds/consistency_worker_spec.rb944ee/spec/services/geo/repository_renamed_event_store_spec.rb945ee/spec/services/analytics/devops_adoption/enabled_namespaces/create_service_spec.rb946ee/spec/graphql/mutations/todos/create_spec.rb947ee/spec/graphql/mutations/requirements_management/export_requirements_spec.rb948ee/spec/services/geo/container_repository_registry_removal_service_spec.rb949ee/spec/helpers/ee/projects/incidents_helper_spec.rb950ee/spec/models/sbom/source_spec.rb951ee/spec/lib/ee/gitlab/web_ide/config/entry/global_spec.rb952ee/spec/views/projects/show.html.haml_spec.rb953ee/spec/models/ee/namespaces/namespace_ban_spec.rb954ee/spec/lib/gitlab/usage/metrics/instrumentations/count_slack_app_installations_gbp_metric_spec.rb955ee/spec/services/vulnerability_external_issue_links/destroy_service_spec.rb956ee/spec/lib/elastic/latest/project_instance_proxy_spec.rb957ee/spec/models/sbom/component_spec.rb958ee/spec/graphql/ee/mutations/ci/project_ci_cd_settings_update_spec.rb959ee/spec/workers/elastic_index_bulk_cron_worker_spec.rb960ee/spec/lib/omni_auth/strategies/kerberos_spec.rb961ee/spec/lib/ee/sidebars/projects/panel_spec.rb962ee/spec/lib/gitlab/usage/metrics/instrumentations/count_groups_with_event_streaming_destinations_metric_spec.rb963ee/spec/workers/create_github_webhook_worker_spec.rb964ee/spec/lib/gitlab/usage/metrics/instrumentations/count_event_streaming_destinations_metric_spec.rb965ee/spec/helpers/notes_helper_spec.rb966ee/spec/views/profiles/preferences/show.html.haml_spec.rb967ee/spec/models/concerns/auditable_spec.rb968ee/spec/graphql/types/geo/container_repository_registry_type_spec.rb969ee/spec/elastic/migrate/20210421140400_add_new_data_to_merge_requests_documents_spec.rb970ee/spec/serializers/test_reports_comparer_entity_spec.rb971ee/spec/lib/gitlab/import_export/group/group_and_descendants_repo_saver_spec.rb972ee/spec/graphql/ee/types/alert_management/http_integration_type_spec.rb973ee/spec/lib/gitlab/code_owners/reference_extractor_spec.rb974ee/spec/views/groups/usage_quotas/index.html.haml_spec.rb975ee/spec/graphql/types/security_orchestration/security_policy_relation_type_enum_spec.rb976ee/spec/lib/ee/api/entities/groups/repository_storage_move_spec.rb977ee/spec/graphql/types/work_items/widgets/status_type_spec.rb978ee/spec/lib/gitlab/search/aggregation_spec.rb979ee/spec/graphql/types/iterations/cadence_type_spec.rb980ee/spec/graphql/types/vulnerable_projects_by_grade_type_spec.rb981ee/spec/models/analytics/cycle_analytics/aggregation_context_spec.rb982ee/spec/initializers/database_config_spec.rb983ee/spec/graphql/types/vulnerability_details/file_location_type_spec.rb984ee/spec/graphql/types/projects/services_enum_spec.rb985ee/spec/graphql/types/vulnerabilities_count_by_day_type_spec.rb986ee/spec/graphql/ee/types/environment_type_spec.rb987ee/spec/services/ee/null_notification_service_spec.rb988ee/spec/graphql/types/vulnerability_details/int_type_spec.rb989ee/spec/graphql/types/vulnerability/external_issue_link_type_enum_spec.rb990ee/spec/views/admin/application_settings/_deletion_protection_settings.html.haml_spec.rb991Filter specs:992Running specs:993Running all node tests without filter994ee/spec/tasks/gitlab/elastic_rake_spec.rb995ee/spec/models/application_setting_spec.rb996ee/spec/lib/gitlab/elastic/project_search_results_spec.rb997ee/spec/models/security/orchestration_policy_configuration_spec.rb998ee/spec/policies/environment_policy_spec.rb999ee/spec/services/epic_issues/create_service_spec.rb1000ee/spec/lib/gitlab/analytics/type_of_work/tasks_by_type_spec.rb1001ee/spec/models/geo/pipeline_artifact_registry_spec.rb1002ee/spec/lib/ee/gitlab/background_migration/migrate_shared_vulnerability_scanners_spec.rb1003ee/spec/models/geo/pages_deployment_registry_spec.rb1004ee/spec/graphql/resolvers/geo/merge_request_diff_registries_resolver_spec.rb1005ee/spec/services/geo/file_registry_removal_service_spec.rb1006ee/spec/models/dast_site_profile_spec.rb1007ee/spec/models/concerns/elastic/repository_spec.rb1008ee/spec/models/security/orchestration_policy_rule_schedule_spec.rb1009ee/spec/lib/banzai/filter/references/epic_reference_filter_spec.rb1010ee/spec/models/deployments/approval_summary_spec.rb1011ee/spec/finders/geo/upload_registry_finder_spec.rb1012ee/spec/elastic/migrate/20220118150500_delete_orphaned_commits_spec.rb1013ee/spec/services/vulnerability_issue_links/create_service_spec.rb1014ee/spec/graphql/resolvers/geo/pages_deployment_registries_resolver_spec.rb1015ee/spec/models/concerns/ee/issuable_spec.rb1016ee/spec/presenters/merge_request_approver_presenter_spec.rb1017ee/spec/lib/gitlab/ci/minutes/gitlab_contribution_cost_factor_spec.rb1018ee/spec/lib/ee/gitlab/background_migration/populate_latest_pipeline_ids_spec.rb1019ee/spec/models/ee/event_spec.rb1020ee/spec/services/vulnerabilities/security_finding/create_issue_service_spec.rb1021ee/spec/services/security/findings/dismiss_service_spec.rb1022ee/spec/services/wiki_pages/update_service_spec.rb1023ee/spec/services/security/security_orchestration_policies/create_pipeline_service_spec.rb1024ee/spec/lib/omni_auth/strategies/group_saml_spec.rb1025ee/spec/services/security/ingestion/tasks/ingest_remediations_spec.rb1026ee/spec/services/releases/update_service_spec.rb1027ee/spec/lib/gitlab/git_access_wiki_spec.rb1028ee/spec/lib/gitlab/elastic/document_reference_spec.rb1029ee/spec/graphql/mutations/dast/profiles/update_spec.rb1030ee/spec/finders/snippets_finder_spec.rb1031ee/spec/lib/gitlab/expiring_subscription_message_spec.rb1032ee/spec/services/ee/boards/issues/create_service_spec.rb1033ee/spec/services/vulnerabilities/starboard_vulnerability_create_service_spec.rb1034ee/spec/models/vulnerabilities/export_spec.rb1035ee/spec/helpers/ee/environments_helper_spec.rb1036ee/spec/graphql/mutations/epics/update_spec.rb1037ee/spec/services/geo/node_update_service_spec.rb1038ee/spec/services/ee/users/update_service_spec.rb1039ee/spec/services/ci/compare_license_scanning_reports_service_spec.rb1040ee/spec/models/vulnerabilities/historical_statistic_spec.rb1041ee/spec/models/issuable_metric_image_spec.rb1042ee/spec/models/geo/group_wiki_repository_registry_spec.rb1043ee/spec/serializers/dependency_list_entity_spec.rb1044ee/spec/services/projects/alerting/notify_service_spec.rb1045ee/spec/graphql/mutations/dast_site_profiles/update_spec.rb1046ee/spec/services/geo/container_repository_sync_service_spec.rb1047ee/spec/services/ee/resource_events/synthetic_iteration_notes_builder_service_spec.rb1048ee/spec/lib/gitlab/legacy_github_import/project_creator_spec.rb1049ee/spec/graphql/resolvers/boards/board_list_epics_resolver_spec.rb1050ee/spec/lib/ee/backup/repositories_spec.rb1051ee/spec/finders/security/training_providers/secure_code_warrior_url_finder_spec.rb1052ee/spec/policies/event_policy_spec.rb1053ee/spec/services/ee/releases/create_evidence_service_spec.rb1054ee/spec/services/epics/close_service_spec.rb1055ee/spec/services/ci/runners/register_runner_service_spec.rb1056ee/spec/elastic_integration/repository_index_spec.rb1057ee/spec/services/registrations/import_namespace_create_service_spec.rb1058ee/spec/services/incident_management/pending_escalations/create_service_spec.rb1059ee/spec/models/iteration_note_spec.rb1060ee/spec/lib/gitlab/insights/executors/dora_executor_spec.rb1061ee/spec/services/work_items/update_service_spec.rb1062ee/spec/services/personal_access_tokens/rotation_verifier_service_spec.rb1063ee/spec/models/incident_management/issuable_escalation_status_spec.rb1064ee/spec/lib/gitlab/ci/templates/Verify/browser_performance_testing_gitlab_ci_yaml_spec.rb1065ee/spec/services/app_sec/dast/site_validations/runner_service_spec.rb1066ee/spec/views/projects/settings/subscriptions/_index.html.haml_spec.rb1067ee/spec/lib/gitlab/usage/metrics/instrumentations/count_ci_environments_approval_required_spec.rb1068ee/spec/lib/gitlab/geo/log_cursor/events/hashed_storage_attachments_event_spec.rb1069ee/spec/lib/gitlab/sitemaps/generator_spec.rb1070ee/spec/tasks/gitlab/spdx_rake_spec.rb1071ee/spec/models/product_analytics/jitsu_authentication_spec.rb1072ee/spec/tasks/gitlab/check_rake_spec.rb1073ee/spec/services/app_sec/dast/site_validations/revoke_service_spec.rb1074ee/spec/services/award_emojis/add_service_spec.rb1075ee/spec/policies/identity_provider_policy_spec.rb1076ee/spec/services/groups/seat_usage_export_service_spec.rb1077ee/spec/services/system_notes/vulnerabilities_service_spec.rb1078ee/spec/finders/software_license_policies_finder_spec.rb1079ee/spec/finders/ee/clusters/agents_finder_spec.rb1080ee/spec/lib/gitlab/ci/parsers/security/validators/default_branch_image_validator_spec.rb1081ee/spec/lib/gitlab/geo/log_cursor/events/reset_checksum_event_spec.rb1082ee/spec/services/ee/event_create_service_spec.rb1083ee/spec/services/security/ingestion/ingest_reports_service_spec.rb1084ee/spec/lib/elastic/latest/custom_language_analyzers_spec.rb1085ee/spec/lib/gitlab/spdx/catalogue_spec.rb1086ee/spec/services/security/store_scans_service_spec.rb1087ee/spec/services/ci/runners/reset_registration_token_service_spec.rb1088ee/spec/lib/gitlab/usage/metrics/instrumentations/count_user_merge_requests_for_projects_with_applied_scan_result_policies_metric_spec.rb1089ee/spec/components/namespaces/free_user_cap/preview_usage_quota_alert_component_spec.rb1090ee/spec/services/geo/container_repository_sync_spec.rb1091ee/spec/presenters/project_clusterable_presenter_spec.rb1092ee/spec/graphql/types/dast/profile_type_spec.rb1093ee/spec/services/gitlab_subscriptions/notify_seats_exceeded_service_spec.rb1094ee/spec/serializers/issue_serializer_spec.rb1095ee/spec/models/geo/repository_renamed_event_spec.rb1096ee/spec/helpers/projects/on_demand_scans_helper_spec.rb1097ee/spec/services/gitlab_subscriptions/fetch_subscription_plans_service_spec.rb1098ee/spec/services/audit_events/streaming/headers/destroy_service_spec.rb1099ee/spec/services/personal_access_tokens/create_service_audit_log_spec.rb1100ee/spec/models/user_permission_export_upload_spec.rbKnapsack report generator started!1101Run options: exclude {:quarantine=>true, :level=>"migration"}1102Test environment set up in 0.768843627 seconds1103gitlab:elastic namespace rake tasks1104 when enabling and disabling elastic settings1105 when enabling elasticsearch with setting initially off1106 enables elasticsearch1107 when enabling elasticsearch with setting initially on1108 does nothing when elasticsearch is already enabled1109 when disabling elasticsearch with setting initially on1110 disables elasticsearch1111 when disabling elasticsearch with setting initially off1112 does nothing when elasticsearch is already disabled1113 create_empty_index1114 creates the default index1115 creates the migrations index if it does not exist1116 marks all migrations as completed1117 when SKIP_ALIAS environment variable is set1118 does not alias the new index1119 does not create the migrations index if it does not exist1120 Issue1121 does not create a standalone index1122 Note1123 does not create a standalone index1124 MergeRequest1125 does not create a standalone index1126 Commit1127 does not create a standalone index1128 User1129 does not create a standalone index1130 Issue1131 creates a standalone index1132 Note1133 creates a standalone index1134 MergeRequest1135 creates a standalone index1136 Commit1137 creates a standalone index1138 User1139 creates a standalone index1140 delete_index1141 removes the index1142 removes the migrations index1143 behaves like deletes all standalone indices1144 Issue1145 removes a standalone index1146 Note1147 removes a standalone index1148 MergeRequest1149 removes a standalone index1150 Commit1151 removes a standalone index1152 User1153 removes a standalone index1154 when the index does not exist1155 does not error1156 with elasticsearch_indexing enabled1157 index1158 calls all indexing tasks in order1159 outputs warning if indexing is paused1160 index_projects1161 queues jobs for each project batch1162 with limited indexing enabled1163 does not queue jobs for projects that should not be indexed1164 index_snippets1165 indexes snippets1166 recreate_index1167 calls all related subtasks in order1168 with elasticsearch_indexing is disabled1169 enables `elasticsearch_indexing`1170 mark_reindex_failed1171 when there is a running reindex job1172 marks the current reindex job as failed1173 prints a message after marking it as failed1174 when no running reindex job1175 just prints a message1176 list_pending_migrations1177 when there are pending migrations1178 outputs pending migrations1179 when there is no pending migrations1180 outputs message there are no pending migrations1181 estimate_cluster_size1182 outputs estimates1183 pause_indexing1184 when indexing is already paused1185 does not do anything1186 when indexing is running1187 pauses indexing1188 resume_indexing1189 when indexing is already running1190 does not do anything1191 when indexing is not running1192 resumes indexing1193 projects_not_indexed1194 no projects are indexed1195 displays non-indexed projects1196 all projects are indexed1197 displays that all projects are indexed1198 does not include projects without repositories1199 info1200 outputs server version1201 outputs server distribution1202 outputs indexing and search settings1203 outputs queue sizes1204 outputs pending migrations1205 outputs current migration1206 with index settings1207 outputs failed index setting1208 outputs index settings1209ApplicationSetting1210 validations1211 is expected to allow :mirror_max_delay to be ‹100›1212 is expected not to allow :mirror_max_delay to be ‹nil›1213 is expected not to allow :mirror_max_delay to be ‹0›1214 is expected not to allow :mirror_max_delay to be ‹1.1›1215 is expected not to allow :mirror_max_delay to be ‹-1›1216 is expected not to allow :mirror_max_delay to be ‹29 seconds›1217 is expected to allow :mirror_max_capacity to be ‹10›1218 is expected not to allow :mirror_max_capacity to be ‹nil›1219 is expected not to allow :mirror_max_capacity to be ‹0›1220 is expected not to allow :mirror_max_capacity to be ‹1.1›1221 is expected not to allow :mirror_max_capacity to be ‹-1›1222 is expected to allow :mirror_capacity_threshold to be ‹10›1223 is expected not to allow :mirror_capacity_threshold to be ‹nil›1224 is expected not to allow :mirror_capacity_threshold to be ‹0›1225 is expected not to allow :mirror_capacity_threshold to be ‹1.1›1226 is expected not to allow :mirror_capacity_threshold to be ‹-1›1227 is expected not to allow :mirror_capacity_threshold to be ‹31›1228 is expected to allow :custom_project_templates_group_id to be ‹nil›1229 is expected to allow :elasticsearch_indexed_file_size_limit_kb to be ‹10›1230 is expected not to allow :elasticsearch_indexed_file_size_limit_kb to be ‹0›1231 is expected not to allow :elasticsearch_indexed_file_size_limit_kb to be ‹nil›1232 is expected not to allow :elasticsearch_indexed_file_size_limit_kb to be ‹1.1›1233 is expected not to allow :elasticsearch_indexed_file_size_limit_kb to be ‹-1›1234 is expected to allow :elasticsearch_indexed_field_length_limit to be ‹10›1235 is expected to allow :elasticsearch_indexed_field_length_limit to be ‹0›1236 is expected not to allow :elasticsearch_indexed_field_length_limit to be ‹nil›1237 is expected not to allow :elasticsearch_indexed_field_length_limit to be ‹1.1›1238 is expected not to allow :elasticsearch_indexed_field_length_limit to be ‹-1›1239 is expected to allow :elasticsearch_max_bulk_size_mb to be ‹25›1240 is expected not to allow :elasticsearch_max_bulk_size_mb to be ‹nil›1241 is expected not to allow :elasticsearch_max_bulk_size_mb to be ‹0›1242 is expected not to allow :elasticsearch_max_bulk_size_mb to be ‹1.1›1243 is expected not to allow :elasticsearch_max_bulk_size_mb to be ‹-1›1244 is expected to allow :elasticsearch_max_bulk_concurrency to be ‹2›1245 is expected not to allow :elasticsearch_max_bulk_concurrency to be ‹nil›1246 is expected not to allow :elasticsearch_max_bulk_concurrency to be ‹0›1247 is expected not to allow :elasticsearch_max_bulk_concurrency to be ‹1.1›1248 is expected not to allow :elasticsearch_max_bulk_concurrency to be ‹-1›1249 is expected to allow :elasticsearch_client_request_timeout to be ‹30›1250 is expected to allow :elasticsearch_client_request_timeout to be ‹0›1251 is expected not to allow :elasticsearch_client_request_timeout to be ‹nil›1252 is expected not to allow :elasticsearch_client_request_timeout to be ‹1.1›1253 is expected not to allow :elasticsearch_client_request_timeout to be ‹-1›1254 is expected to allow :elasticsearch_username to be ‹""›1255 is expected to allow :elasticsearch_username to be ‹"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"›1256 is expected not to allow :elasticsearch_username to be ‹"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"›1257 is expected to allow :future_subscriptions to be ‹[{}]›1258 is expected not to allow :future_subscriptions to be ‹{}›1259 is expected not to allow :future_subscriptions to be ‹nil›1260 is expected to allow :required_instance_ci_template to be ‹nil›1261 is expected not to allow :required_instance_ci_template to be ‹""›1262 is expected not to allow :required_instance_ci_template to be ‹" "›1263 is expected to allow :required_instance_ci_template to be ‹"template_name"›1264 is expected to allow :max_personal_access_token_lifetime to be ‹1›1265 is expected to allow :max_personal_access_token_lifetime to be ‹nil›1266 is expected to allow :max_personal_access_token_lifetime to be ‹10›1267 is expected to allow :max_personal_access_token_lifetime to be ‹365›1268 is expected not to allow :max_personal_access_token_lifetime to be ‹"value"›1269 is expected not to allow :max_personal_access_token_lifetime to be ‹2.5›1270 is expected not to allow :max_personal_access_token_lifetime to be ‹-5›1271 is expected not to allow :max_personal_access_token_lifetime to be ‹366›1272 is expected to allow :new_user_signups_cap to be ‹nil›1273 is expected to allow :new_user_signups_cap to be ‹1›1274 is expected to allow :new_user_signups_cap to be ‹10›1275 is expected to allow :new_user_signups_cap to be ‹""›1276 is expected not to allow :new_user_signups_cap to be ‹"value"›1277 is expected not to allow :new_user_signups_cap to be ‹-1›1278 is expected not to allow :new_user_signups_cap to be ‹2.5›1279 is expected to allow :git_two_factor_session_expiry to be ‹1›1280 is expected to allow :git_two_factor_session_expiry to be ‹10›1281 is expected to allow :git_two_factor_session_expiry to be ‹10079›1282 is expected to allow :git_two_factor_session_expiry to be ‹10080›1283 is expected not to allow :git_two_factor_session_expiry to be ‹nil›1284 is expected not to allow :git_two_factor_session_expiry to be ‹"value"›1285 is expected not to allow :git_two_factor_session_expiry to be ‹2.5›1286 is expected not to allow :git_two_factor_session_expiry to be ‹-5›1287 is expected not to allow :git_two_factor_session_expiry to be ‹0›1288 is expected not to allow :git_two_factor_session_expiry to be ‹10081›1289 is expected to validate that :max_ssh_key_lifetime looks like a number greater than 0 and less than or equal to 365 as long as it is not nil1290 is expected to validate that :deletion_adjourned_period looks like a number greater than 0 and less than or equal to 901291 is expected to validate that :dashboard_limit looks like an integer greater than or equal to 01292 is expected to validate that :dashboard_notification_limit looks like an integer greater than or equal to 01293 is expected to validate that :dashboard_enforcement_limit looks like an integer greater than or equal to 01294 is expected to allow :dashboard_limit_enabled to be ‹true›1295 is expected to allow :dashboard_limit_enabled to be ‹false›1296 is expected not to allow :dashboard_limit_enabled to be ‹nil›1297 when additional email text is enabled1298 is expected to allow :email_additional_text to be ‹"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...›1299 is expected not to allow :email_additional_text to be ‹"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...›1300 when secret detection token revocation is enabled1301 is expected to allow :secret_detection_token_revocation_url to be ‹"http://test.com"›1302 is expected to allow :secret_detection_token_revocation_token to be ‹"AKVD34\#$%56"›1303 is expected to allow :secret_detection_revocation_token_types_url to be ‹"http://test.com"›1304 is expected not to allow :secret_detection_token_revocation_url to be ‹nil›1305 is expected not to allow :secret_detection_token_revocation_token to be ‹nil›1306 is expected not to allow :secret_detection_revocation_token_types_url to be ‹nil›1307 when validating geo_node_allowed_ips1308 allowed_ips: "192.1.1.1", is_valid: true1309 is expected to eq true1310 allowed_ips: "192.1.1.0/24", is_valid: true1311 is expected to eq true1312 allowed_ips: "192.1.1.0/24, 192.1.20.23", is_valid: true1313 is expected to eq true1314 allowed_ips: "192.1.1.0/24, 192.23.0.0/16", is_valid: true1315 is expected to eq true1316 allowed_ips: "192.1.1.0/34", is_valid: false1317 is expected to eq false1318 allowed_ips: "192.1.1.257", is_valid: false1319 is expected to eq false1320 allowed_ips: "192.1.1.257, 192.1.1.1", is_valid: false1321 is expected to eq false1322 allowed_ips: "300.1.1.0/34", is_valid: false1323 is expected to eq false1324 when validating globally_allowed_ips1325 allowed_ips: "192.1.1.1", is_valid: true1326 is expected to eq true1327 allowed_ips: "192.1.1.0/24", is_valid: true1328 is expected to eq true1329 allowed_ips: "192.1.1.0/24, 192.1.20.23", is_valid: true1330 is expected to eq true1331 allowed_ips: "192.1.1.0/24, 192.23.0.0/16", is_valid: true1332 is expected to eq true1333 allowed_ips: "192.1.1.0/34", is_valid: false1334 is expected to eq false1335 allowed_ips: "192.1.1.257", is_valid: false1336 is expected to eq false1337 allowed_ips: "192.1.1.257, 192.1.1.1", is_valid: false1338 is expected to eq false1339 allowed_ips: "300.1.1.0/34", is_valid: false1340 is expected to eq false1341 when validating elasticsearch_url1342 elasticsearch_url: "http://es.localdomain", is_valid: true1343 is expected to eq true1344 elasticsearch_url: "https://es.localdomain", is_valid: true1345 is expected to eq true1346 elasticsearch_url: "http://es.localdomain, https://es.localdomain ", is_valid: true1347 is expected to eq true1348 elasticsearch_url: "http://10.0.0.1", is_valid: true1349 is expected to eq true1350 elasticsearch_url: "https://10.0.0.1", is_valid: true1351 is expected to eq true1352 elasticsearch_url: "http://10.0.0.1, https://10.0.0.1", is_valid: true1353 is expected to eq true1354 elasticsearch_url: "http://localhost", is_valid: true1355 is expected to eq true1356 elasticsearch_url: "http://127.0.0.1", is_valid: true1357 is expected to eq true1358 elasticsearch_url: "es.localdomain", is_valid: false1359 is expected to eq false1360 elasticsearch_url: "10.0.0.1", is_valid: false1361 is expected to eq false1362 elasticsearch_url: "http://es.localdomain, es.localdomain", is_valid: false1363 is expected to eq false1364 elasticsearch_url: "http://es.localdomain, 10.0.0.1", is_valid: false1365 is expected to eq false1366 elasticsearch_url: "this_isnt_a_url", is_valid: false1367 is expected to eq false1368 Sentry validations1369 when Sentry is enabled1370 is expected to allow :sentry_enabled to be ‹false›1371 is expected not to allow :sentry_enabled to be ‹nil›1372 is expected to allow :sentry_dsn to be ‹"http://example.com"›1373 is expected not to allow :sentry_dsn to be ‹"http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com"›1374 is expected not to allow :sentry_dsn to be ‹"example"›1375 is expected not to allow :sentry_dsn to be ‹nil›1376 is expected to allow :sentry_clientside_dsn to be ‹"http://example.com"›1377 is expected to allow :sentry_clientside_dsn to be ‹nil›1378 is expected not to allow :sentry_clientside_dsn to be ‹"example"›1379 is expected not to allow :sentry_clientside_dsn to be ‹"http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com"›1380 is expected to allow :sentry_environment to be ‹"production"›1381 is expected not to allow :sentry_environment to be ‹nil›1382 is expected not to allow :sentry_environment to be ‹"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"›1383 when Sentry is disabled1384 is expected not to allow :sentry_enabled to be ‹nil›1385 is expected to allow :sentry_dsn to be ‹nil›1386 is expected to allow :sentry_clientside_dsn to be ‹nil›1387 is expected to allow :sentry_environment to be ‹nil›1388 git abuse rate limit validations1389 is expected to validate that :max_number_of_repository_downloads looks like a number greater than or equal to 0 and less than or equal to 100001390 is expected to validate that :max_number_of_repository_downloads_within_time_period looks like a number greater than or equal to 0 and less than or equal to 8640001391 git_rate_limit_users_allowlist1392 is expected to allow :git_rate_limit_users_allowlist to be ‹[]›1393 is expected to allow :git_rate_limit_users_allowlist to be ‹["user1"]›1394 is expected not to allow :git_rate_limit_users_allowlist to be ‹nil›1395 is expected not to allow :git_rate_limit_users_allowlist to be ‹["unknown_user"]›1396 when maximum length is exceeded1397 is not valid1398 when validating product analytics settings1399 when product analytics is enabled1400 is expected to allow :product_analytics_enabled to be ‹false›1401 is expected to allow :product_analytics_enabled to be ‹""›1402 is expected to allow :jitsu_host to be ‹"https://jitsu.gitlab.com"›1403 is expected to allow :jitsu_host to be ‹"http://localhost:8000"›1404 is expected not to allow :jitsu_host to be ‹"invalid.host"›1405 is expected not to allow :jitsu_host to be ‹nil›1406 is expected not to allow :jitsu_host to be ‹""›1407 is expected to allow :jitsu_project_xid to be ‹"g0maofw84gx5sjxgse2k"›1408 is expected not to allow :jitsu_project_xid to be ‹nil›1409 is expected not to allow :jitsu_project_xid to be ‹""›1410 is expected to allow :jitsu_administrator_email to be ‹"jitsu.admin@gitlab.com"›1411 is expected not to allow :jitsu_administrator_email to be ‹"invalid_admin_email.com"›1412 is expected not to allow :jitsu_administrator_email to be ‹nil›1413 is expected not to allow :jitsu_administrator_email to be ‹""›1414 is expected to allow :jitsu_administrator_password to be ‹"xxxxxxxx"›1415 is expected not to allow :jitsu_administrator_password to be ‹nil›1416 is expected not to allow :jitsu_administrator_password to be ‹""›1417 is expected to allow :clickhouse_connection_string to be ‹"https://user:pass@clickhouse.gitlab.com:8123"›1418 is expected not to allow :clickhouse_connection_string to be ‹nil›1419 is expected not to allow :clickhouse_connection_string to be ‹""›1420 is expected to allow :cube_api_base_url to be ‹"https://cube.gitlab.com"›1421 is expected to allow :cube_api_base_url to be ‹"https://localhost:4000"›1422 is expected not to allow :cube_api_base_url to be ‹nil›1423 is expected not to allow :cube_api_base_url to be ‹""›1424 is expected to allow :cube_api_key to be ‹"420d0e1b73b2ad4acd21c92e533be327"›1425 is expected not to allow :cube_api_key to be ‹nil›1426 is expected not to allow :cube_api_key to be ‹""›1427 when product analytics is disabled1428 is expected to allow :jitsu_host to be ‹nil›1429 is expected to allow :jitsu_project_xid to be ‹nil›1430 is expected to allow :jitsu_administrator_email to be ‹nil›1431 is expected to allow :jitsu_administrator_password to be ‹nil›1432 is expected to allow :clickhouse_connection_string to be ‹nil›1433 is expected to allow :cube_api_base_url to be ‹nil›1434 is expected to allow :cube_api_key to be ‹nil›1435 #should_check_namespace_plan?1436 when check_namespace_plan true AND on GitLab.com1437 returns true1438 when check_namespace_plan true AND NOT on GitLab.com1439 returns false1440 when check_namespace_plan false AND on GitLab.com1441 returns false1442 #repository_size_limit column1443 support values up to 8 exabytes1444 elasticsearch licensing1445 disables elasticsearch when unlicensed1446 enables elasticsearch when licensed1447 #elasticsearch_pause_indexing1448 resumes indexing1449 #elasticsearch_url1450 presents a single URL as a one-element array1451 presents multiple URLs as a many-element array1452 strips whitespace from around URLs1453 strips trailing slashes from URLs1454 #elasticsearch_url_with_credentials1455 when credentials are embedded in url1456 ignores them and uses elasticsearch_username and elasticsearch_password settings1457 when credential settings are blank1458 does not return credential info1459 and url contains credentials1460 returns credentials from url1461 and url contains credentials with special characters1462 returns decoded credentials from url1463 when credentials settings have special characters1464 returns the correct values1465 #elasticsearch_password1466 does not modify password if it is unchanged in the form1467 #elasticsearch_config1468 places all elasticsearch configuration values into a hash1469 limiting namespaces and projects1470 namespaces1471 with personal namespaces1472 tells you if a namespace is allowed to be indexed1473 with groups1474 is expected to contain exactly #<Group id:22 @group2> and #<Group id:23 @group1/group3>1475 #elasticsearch_indexes_project?1476 behaves like whether the project is indexed1477 when project is in a subgroup1478 allows project to be indexed1479 when project is in a namespace1480 allows project to be indexed1481 projects1482 tells you if a project is allowed to be indexed1483 returns projects that are allowed to be indexed1484 uses the ElasticsearchEnabledCache cache1485 #invalidate_elasticsearch_indexes_cache1486 deletes the ElasticsearchEnabledCache for projects and namespaces1487 #invalidate_elasticsearch_indexes_cache_for_project!1488 deletes the ElasticsearchEnabledCache for a single project1489 #invalidate_elasticsearch_indexes_cache_for_namespace!1490 deletes the ElasticsearchEnabledCache for a namespace1491 #search_using_elasticsearch?1492 indexing: true, searching: true, limiting: true, advanced_global_search_for_limited_indexing: true1493 global scope1494 is expected to eq true1495 namespace (in scope)1496 is expected to eq true1497 namespace (not in scope)1498 is expected to eq false1499 project (in scope)1500 is expected to eq true1501 project (not in scope)1502 is expected to eq false1503 array of projects (all in scope)1504 is expected to eq true1505 array of projects (all not in scope)1506 is expected to eq false1507 array of projects (some in scope)1508 is expected to eq true1509 indexing: true, searching: true, limiting: true, advanced_global_search_for_limited_indexing: false1510 global scope1511 is expected to eq false1512 namespace (in scope)1513 is expected to eq true1514 namespace (not in scope)1515 is expected to eq false1516 project (in scope)1517 is expected to eq true1518 project (not in scope)1519 is expected to eq false1520 array of projects (all in scope)1521 is expected to eq true1522 array of projects (all not in scope)1523 is expected to eq false1524 array of projects (some in scope)1525 is expected to eq true1526 indexing: true, searching: true, limiting: false, advanced_global_search_for_limited_indexing: true1527 global scope1528 is expected to eq true1529 namespace (in scope)1530 is expected to eq true1531 namespace (not in scope)1532 is expected to eq true1533 project (in scope)1534 is expected to eq true1535 project (not in scope)1536 is expected to eq true1537 array of projects (all in scope)1538 is expected to eq true1539 array of projects (all not in scope)1540 is expected to eq true1541 array of projects (some in scope)1542 is expected to eq true1543 indexing: true, searching: true, limiting: false, advanced_global_search_for_limited_indexing: false1544 global scope1545 is expected to eq true1546 namespace (in scope)1547 is expected to eq true1548 namespace (not in scope)1549 is expected to eq true1550 project (in scope)1551 is expected to eq true1552 project (not in scope)1553 is expected to eq true1554 array of projects (all in scope)1555 is expected to eq true1556 array of projects (all not in scope)1557 is expected to eq true1558 array of projects (some in scope)1559 is expected to eq true1560 indexing: true, searching: false, limiting: true, advanced_global_search_for_limited_indexing: true1561 global scope1562 is expected to eq false1563 namespace (in scope)1564 is expected to eq false1565 namespace (not in scope)1566 is expected to eq false1567 project (in scope)1568 is expected to eq false1569 project (not in scope)1570 is expected to eq false1571 array of projects (all in scope)1572 is expected to eq false1573 array of projects (all not in scope)1574 is expected to eq false1575 array of projects (some in scope)1576 is expected to eq false1577 indexing: true, searching: false, limiting: true, advanced_global_search_for_limited_indexing: false1578 global scope1579 is expected to eq false1580 namespace (in scope)1581 is expected to eq false1582 namespace (not in scope)1583 is expected to eq false1584 project (in scope)1585 is expected to eq false1586 project (not in scope)1587 is expected to eq false1588 array of projects (all in scope)1589 is expected to eq false1590 array of projects (all not in scope)1591 is expected to eq false1592 array of projects (some in scope)1593 is expected to eq false1594 indexing: true, searching: false, limiting: false, advanced_global_search_for_limited_indexing: true1595 global scope1596 is expected to eq false1597 namespace (in scope)1598 is expected to eq false1599 namespace (not in scope)1600 is expected to eq false1601 project (in scope)1602 is expected to eq false1603 project (not in scope)1604 is expected to eq false1605 array of projects (all in scope)1606 is expected to eq false1607 array of projects (all not in scope)1608 is expected to eq false1609 array of projects (some in scope)1610 is expected to eq false1611 indexing: true, searching: false, limiting: false, advanced_global_search_for_limited_indexing: false1612 global scope1613 is expected to eq false1614 namespace (in scope)1615 is expected to eq false1616 namespace (not in scope)1617 is expected to eq false1618 project (in scope)1619 is expected to eq false1620 project (not in scope)1621 is expected to eq false1622 array of projects (all in scope)1623 is expected to eq false1624 array of projects (all not in scope)1625 is expected to eq false1626 array of projects (some in scope)1627 is expected to eq false1628 indexing: false, searching: true, limiting: true, advanced_global_search_for_limited_indexing: true1629 global scope1630 is expected to eq false1631 namespace (in scope)1632 is expected to eq false1633 namespace (not in scope)1634 is expected to eq false1635 project (in scope)1636 is expected to eq false1637 project (not in scope)1638 is expected to eq false1639 array of projects (all in scope)1640 is expected to eq false1641 array of projects (all not in scope)1642 is expected to eq false1643 array of projects (some in scope)1644 is expected to eq false1645 indexing: false, searching: true, limiting: true, advanced_global_search_for_limited_indexing: false1646 global scope1647 is expected to eq false1648 namespace (in scope)1649 is expected to eq false1650 namespace (not in scope)1651 is expected to eq false1652 project (in scope)1653 is expected to eq false1654 project (not in scope)1655 is expected to eq false1656 array of projects (all in scope)1657 is expected to eq false1658 array of projects (all not in scope)1659 is expected to eq false1660 array of projects (some in scope)1661 is expected to eq false1662 indexing: false, searching: true, limiting: false, advanced_global_search_for_limited_indexing: true1663 global scope1664 is expected to eq false1665 namespace (in scope)1666 is expected to eq false1667 namespace (not in scope)1668 is expected to eq false1669 project (in scope)1670 is expected to eq false1671 project (not in scope)1672 is expected to eq false1673 array of projects (all in scope)1674 is expected to eq false1675 array of projects (all not in scope)1676 is expected to eq false1677 array of projects (some in scope)1678 is expected to eq false1679 indexing: false, searching: true, limiting: false, advanced_global_search_for_limited_indexing: false1680 global scope1681 is expected to eq false1682 namespace (in scope)1683 is expected to eq false1684 namespace (not in scope)1685 is expected to eq false1686 project (in scope)1687 is expected to eq false1688 project (not in scope)1689 is expected to eq false1690 array of projects (all in scope)1691 is expected to eq false1692 array of projects (all not in scope)1693 is expected to eq false1694 array of projects (some in scope)1695 is expected to eq false1696 indexing: false, searching: false, limiting: true, advanced_global_search_for_limited_indexing: true1697 global scope1698 is expected to eq false1699 namespace (in scope)1700 is expected to eq false1701 namespace (not in scope)1702 is expected to eq false1703 project (in scope)1704 is expected to eq false1705 project (not in scope)1706 is expected to eq false1707 array of projects (all in scope)1708 is expected to eq false1709 array of projects (all not in scope)1710 is expected to eq false1711 array of projects (some in scope)1712 is expected to eq false1713 indexing: false, searching: false, limiting: true, advanced_global_search_for_limited_indexing: false1714 global scope1715 is expected to eq false1716 namespace (in scope)1717 is expected to eq false1718 namespace (not in scope)1719 is expected to eq false1720 project (in scope)1721 is expected to eq false1722 project (not in scope)1723 is expected to eq false1724 array of projects (all in scope)1725 is expected to eq false1726 array of projects (all not in scope)1727 is expected to eq false1728 array of projects (some in scope)1729 is expected to eq false1730 indexing: false, searching: false, limiting: false, advanced_global_search_for_limited_indexing: true1731 global scope1732 is expected to eq false1733 namespace (in scope)1734 is expected to eq false1735 namespace (not in scope)1736 is expected to eq false1737 project (in scope)1738 is expected to eq false1739 project (not in scope)1740 is expected to eq false1741 array of projects (all in scope)1742 is expected to eq false1743 array of projects (all not in scope)1744 is expected to eq false1745 array of projects (some in scope)1746 is expected to eq false1747 indexing: false, searching: false, limiting: false, advanced_global_search_for_limited_indexing: false1748 global scope1749 is expected to eq false1750 namespace (in scope)1751 is expected to eq false1752 namespace (not in scope)1753 is expected to eq false1754 project (in scope)1755 is expected to eq false1756 project (not in scope)1757 is expected to eq false1758 array of projects (all in scope)1759 is expected to eq false1760 array of projects (all not in scope)1761 is expected to eq false1762 array of projects (some in scope)1763 is expected to eq false1764 custom project templates1765 when custom_project_templates feature is enabled1766 #custom_project_templates_enabled?1767 returns true1768 #custom_project_template_id1769 returns group id1770 #available_custom_project_templates1771 returns group projects1772 returns an empty array if group is not set1773 when custom_project_templates feature is disabled1774 #custom_project_templates_enabled?1775 returns false1776 #custom_project_template_id1777 returns false1778 #available_custom_project_templates1779 returns an empty relation1780 #instance_review_permitted?1781 for instances with a valid license1782 is not permitted1783 for instances without a valid license1784 users_over_minimum: -11785 is expected to equal false1786 users_over_minimum: 01787 is expected to equal true1788 users_over_minimum: 11789 is expected to equal true1790 #max_personal_access_token_lifetime_from_now1791 when max_personal_access_token_lifetime is defined1792 is a date time1793 is in the future1794 is in days_from_now1795 when max_personal_access_token_lifetime is nil1796 is nil1797 updates to max_personal_access_token_lifetime1798 without personal_access_token_expiration_policy licensed1799 doesn't call the update lifetime service1800 with personal_access_token_expiration_policy licensed1801 executes the update lifetime service1802 #compliance_frameworks1803 sorts the list1804 removes duplicates1805 sets empty values1806 #should_apply_user_signup_cap?1807 when new_user_signups_cap setting is nil1808 is expected to equal false1809 when new_user_signups_cap setting is set to any number1810 is expected to equal true1811 maintenance mode setting1812 defaults to false1813 #max_ssh_key_lifetime_from_now1814 when max_ssh_key_lifetime is defined1815 is a date time1816 is in the future1817 is in days_from_now1818 when max_ssh_key_lifetime is nil1819 is nil1820 delayed deletion1821 when delayed_group_deletion is set to false1822 unlocks the delayed_project_removal setting1823 is expected not to allow :delayed_project_removal to be ‹true›1824 is expected to allow :delayed_project_removal to be ‹false›1825 when delayed_group_deletion is set to true1826 locks the delayed_project_removal setting1827 is expected to allow :delayed_project_removal to be ‹false›1828 is expected to allow :delayed_project_removal to be ‹true›1829 #personal_access_tokens_disabled?1830 when the licensed feature is not available1831 is expected to eq false1832 when the licensed feature is available1833 when FIPS mode is disabled1834 is expected to eq false1835 when FIPS mode is enabled1836 is expected to eq true1837 #disable_feed_token1838 when personal access tokens are disabled1839 is expected to eq true1840 when personal access tokens are enabled1841 is expected to eq false1842 #jitsu_administrator_password1843 does not modify password if it is unchanged in the form1844Gitlab::Elastic::ProjectSearchResults1845 initialize with empty ref1846 is expected to eq #<Project id:52 namespace86/project52>>1847 is expected to eq "master"1848 is expected to eq "hello world"1849 initialize with ref1850 is expected to eq #<Project id:52 namespace86/project52>>1851 is expected to eq "refs/heads/test"1852 is expected to eq "hello world"1853 search1854 returns correct amounts1855 visibility checks1856 shows wiki for guests1857 filtering1858 issues1859 state not provided1860 returns opened and closed results1861 all state1862 returns opened and closed results1863 closed state1864 returns only closed results1865 opened state1866 returns only opened results1867 unsupported state1868 returns only opened results1869 filter not provided (all behavior)1870 returns confidential and not confidential results1871 confidential filter1872 returns only confidential results1873 not confidential filter1874 returns not confidential results1875 merge_requests1876 state not provided1877 returns opened and closed results1878 all state1879 returns opened and closed results1880 closed state1881 returns only closed results1882 opened state1883 returns only opened results1884 unsupported state1885 returns only opened results1886 blobs1887 behaves like search results filtered by language1888 filters by language1889 when the search_blobs_language_aggregation feature flag is disabled1890 does not filter by language1891 confidential issues1892 when the user is non-member1893 does not list project confidential issues for non project members1894 when the member is guest1895 does not list project confidential issues for project members with guest role1896 when the user is the author1897 lists project confidential issues1898 when the user is the assignee1899 lists project confidential issues for assignee1900 when the user is a developer1901 lists project confidential issues1902 when the user is admin1903 when admin mode is enabled1904 lists all project issues1905 when admin mode is disabled1906 does not list project confidential issues1907 query performance1908 for scope notes1909 makes 1 Elasticsearch query1910 for scope blobs1911 makes 1 Elasticsearch query1912 for scope wiki_blobs1913 makes 1 Elasticsearch query1914 for scope commits1915 makes 1 Elasticsearch query1916 for scope issues1917 makes 1 Elasticsearch query1918 for scope merge_requests1919 makes 1 Elasticsearch query1920 for scope milestones1921 makes 1 Elasticsearch query1922 for scope notes1923 makes count query1924 for scope blobs1925 makes count query1926 for scope wiki_blobs1927 makes count query1928 for scope commits1929 makes count query1930 for scope issues1931 makes count query1932 for scope merge_requests1933 makes count query1934 for scope milestones1935 makes count query1936 #aggregations1937 scope: "milestones", expected_aggregation_name: nil, feature_flag: false1938 when feature flag is enabled for user1939 behaves like loads aggregations1940 returns the expected aggregations1941 when feature flag is disabled for user1942 behaves like does not load aggregations1943 returns an empty array1944 scope: "notes", expected_aggregation_name: nil, feature_flag: false1945 when feature flag is enabled for user1946 behaves like loads aggregations1947 returns the expected aggregations1948 when feature flag is disabled for user1949 behaves like does not load aggregations1950 returns an empty array1951 scope: "issues", expected_aggregation_name: "labels", feature_flag: :search_issue_label_aggregation1952 when feature flag is enabled for user1953 behaves like loads aggregations1954 returns the expected aggregations1955 when feature flag is disabled for user1956 behaves like does not load aggregations1957 returns an empty array1958 scope: "merge_requests", expected_aggregation_name: nil, feature_flag: false1959 when feature flag is enabled for user1960 behaves like loads aggregations1961 returns the expected aggregations1962 when feature flag is disabled for user1963 behaves like does not load aggregations1964 returns an empty array1965 scope: "wiki_blobs", expected_aggregation_name: nil, feature_flag: false1966 when feature flag is enabled for user1967 behaves like loads aggregations1968 returns the expected aggregations1969 when feature flag is disabled for user1970 behaves like does not load aggregations1971 returns an empty array1972 scope: "commits", expected_aggregation_name: nil, feature_flag: false1973 when feature flag is enabled for user1974 behaves like loads aggregations1975 returns the expected aggregations1976 when feature flag is disabled for user1977 behaves like does not load aggregations1978 returns an empty array1979 scope: "users", expected_aggregation_name: nil, feature_flag: false1980 when feature flag is enabled for user1981 behaves like loads aggregations1982 returns the expected aggregations1983 when feature flag is disabled for user1984 behaves like does not load aggregations1985 returns an empty array1986 scope: "unknown", expected_aggregation_name: nil, feature_flag: false1987 when feature flag is enabled for user1988 behaves like loads aggregations1989 returns the expected aggregations1990 when feature flag is disabled for user1991 behaves like does not load aggregations1992 returns an empty array1993 scope: "blobs", expected_aggregation_name: "language", feature_flag: :search_blobs_language_aggregation1994 when feature flag is enabled for user1995 behaves like loads aggregations1996 returns the expected aggregations1997 when feature flag is disabled for user1998 behaves like does not load aggregations1999 returns an empty array2000 project search specific gates for blob scope2001 when query is blank2002 returns the an empty array2003 when project has an empty repository2004 returns an empty array2005 when user does not have download_code permission on project2006 returns an empty array2007Security::OrchestrationPolicyConfiguration2008 associations2009 is expected to belong to project required: false inverse_of => security_orchestration_policy_configuration2010 is expected to belong to namespace required: false inverse_of => security_orchestration_policy_configuration2011 is expected to belong to security_policy_management_project class_name => Project required: false2012 is expected to have many rule_schedules class_name => Security::OrchestrationPolicyRuleSchedule inverse_of => security_orchestration_policy_configuration2013 validations2014 is expected to validate that :security_policy_management_project cannot be empty/falsy2015 when created for project2016 is expected not to validate that :namespace cannot be empty/falsy2017 is expected to validate that :project cannot be empty/falsy2018 is expected to validate that :project is case-sensitively unique2019 when created for namespace2020 is expected not to validate that :project cannot be empty/falsy2021 is expected to validate that :namespace cannot be empty/falsy2022 is expected to validate that :namespace is case-sensitively unique2023 .for_project2024 returns configuration for given projects2025 .for_namespace2026 returns configuration for given namespaces2027 .for_management_project2028 returns configuration for given the policy management project2029 .with_outdated_configuration2030 returns configuration with outdated configurations2031 .policy_management_project?2032 returns true when security_policy_management_project with id exists2033 returns false when security_policy_management_project with id does not exist2034 .valid_scan_type?2035 returns true when scan type is valid2036 returns false when scan type is invalid2037 #policy_configuration_exists?2038 when file is missing2039 is expected to eq false2040 when policy is present2041 is expected to eq true2042 #policy_hash2043 when policy is present2044 is expected to eq "Run DAST in every pipeline"2045 when policy has invalid YAML format2046 is expected to be nil2047 when policy is nil2048 is expected to be nil2049 #policy_by_type2050 when policy is present2051 retrieves policy by type2052 when policy is nil2053 returns an empty array2054 #policy_configuration_valid?2055 when file is invalid2056 is expected to eq false2057 when file has invalid name2058 is expected to equal false2059 when file is valid2060 is expected to eq true2061 when policy is passed as argument2062 when scan type is secret_detection2063 returns false if extra fields are present2064 returns true if extra fields are not present2065 for schedule policy rule2066 cadence: "@weekly", is_valid: true2067 is expected to eq true2068 cadence: "@yearly", is_valid: true2069 is expected to eq true2070 cadence: "@annually", is_valid: true2071 is expected to eq true2072 cadence: "@monthly", is_valid: true2073 is expected to eq true2074 cadence: "@weekly", is_valid: true2075 is expected to eq true2076 cadence: "@daily", is_valid: true2077 is expected to eq true2078 cadence: "@midnight", is_valid: true2079 is expected to eq true2080 cadence: "@noon", is_valid: true2081 is expected to eq true2082 cadence: "@hourly", is_valid: true2083 is expected to eq true2084 cadence: "* * * * *", is_valid: true2085 is expected to eq true2086 cadence: "0 0 2 3 *", is_valid: true2087 is expected to eq true2088 cadence: "* * L * *", is_valid: true2089 is expected to eq true2090 cadence: "* * -6 * *", is_valid: true2091 is expected to eq true2092 cadence: "* * -3 * *", is_valid: true2093 is expected to eq true2094 cadence: "* * 12 * *", is_valid: true2095 is expected to eq true2096 cadence: "0 9 -4 * *", is_valid: true2097 is expected to eq true2098 cadence: "0 0 -8 * *", is_valid: true2099 is expected to eq true2100 cadence: "7 10 * * *", is_valid: true2101 is expected to eq true2102 cadence: "00 07 * * *", is_valid: true2103 is expected to eq true2104 cadence: "* * * * tue", is_valid: true2105 is expected to eq true2106 cadence: "* * * * TUE", is_valid: true2107 is expected to eq true2108 cadence: "12 10 0 * *", is_valid: true2109 is expected to eq true2110 cadence: "52 20 * * 2", is_valid: true2111 is expected to eq true2112 cadence: "* * last * *", is_valid: true2113 is expected to eq true2114 cadence: "0 2 last * *", is_valid: true2115 is expected to eq true2116 cadence: "52 9 2-5 * 2", is_valid: true2117 is expected to eq true2118 cadence: "0 0 27 3 1,5", is_valid: true2119 is expected to eq true2120 cadence: "0 0 11 * 3-6", is_valid: true2121 is expected to eq true2122 cadence: "0 0 -7-L * *", is_valid: true2123 is expected to eq true2124 cadence: "0 0 -1,-2 * *", is_valid: true2125 is expected to eq true2126 cadence: "10/30 * * * *", is_valid: true2127 is expected to eq true2128 cadence: "21 37 4,12 * 3", is_valid: true2129 is expected to eq true2130 cadence: "02 07 21 jan *", is_valid: true2131 is expected to eq true2132 cadence: "02 07 21 JAN *", is_valid: true2133 is expected to eq true2134 cadence: "0 1 L * wed-fri", is_valid: true2135 is expected to eq true2136 cadence: "0 1 L * wed-FRI", is_valid: true2137 is expected to eq true2138 cadence: "0 1 L * WED-fri", is_valid: true2139 is expected to eq true2140 cadence: "0 1 L * WED-FRI", is_valid: true2141 is expected to eq true2142 cadence: "0 0 21 4 sat,sun", is_valid: true2143 is expected to eq true2144 cadence: "0 0 21 4 SAT,SUN", is_valid: true2145 is expected to eq true2146 cadence: "10-30/30 * * * *", is_valid: true2147 is expected to eq true2148 cadence: "", is_valid: false2149 is expected to eq false2150 cadence: "1", is_valid: false2151 is expected to eq false2152 cadence: "2 3 4", is_valid: false2153 is expected to eq false2154 cadence: "invalid", is_valid: false2155 is expected to eq false2156 cadence: "@WEEKLY", is_valid: false2157 is expected to eq false2158 cadence: "@YEARLY", is_valid: false2159 is expected to eq false2160 cadence: "@ANNUALLY", is_valid: false2161 is expected to eq false2162 cadence: "@MONTHLY", is_valid: false2163 is expected to eq false2164 cadence: "@WEEKLY", is_valid: false2165 is expected to eq false2166 cadence: "@DAILY", is_valid: false2167 is expected to eq false2168 cadence: "@MIDNIGHT", is_valid: false2169 is expected to eq false2170 cadence: "@NOON", is_valid: false2171 is expected to eq false2172 cadence: "@HOURLY", is_valid: false2173 is expected to eq false2174 with scan result policies2175 is expected to eq true2176 with various approvers2177 user_approvers: [], user_approvers_ids: nil, group_approvers: nil, group_approvers_ids: nil, is_valid: false2178 is expected to eq false2179 user_approvers: ["username"], user_approvers_ids: nil, group_approvers: nil, group_approvers_ids: nil, is_valid: true2180 is expected to eq true2181 user_approvers: nil, user_approvers_ids: [], group_approvers: nil, group_approvers_ids: nil, is_valid: false2182 is expected to eq false2183 user_approvers: nil, user_approvers_ids: [1], group_approvers: nil, group_approvers_ids: nil, is_valid: true2184 is expected to eq true2185 user_approvers: nil, user_approvers_ids: nil, group_approvers: [], group_approvers_ids: nil, is_valid: false2186 is expected to eq false2187 user_approvers: nil, user_approvers_ids: nil, group_approvers: ["group_path"], group_approvers_ids: nil, is_valid: true2188 is expected to eq true2189 user_approvers: nil, user_approvers_ids: nil, group_approvers: nil, group_approvers_ids: [], is_valid: false2190 is expected to eq false2191 user_approvers: nil, user_approvers_ids: nil, group_approvers: nil, group_approvers_ids: [2], is_valid: true2192 is expected to eq true2193 with various policy names2194 policy_name: "License-Check", expected_to_be_valid: false2195 is expected to eq false2196 policy_name: "Coverage-Check", expected_to_be_valid: false2197 is expected to eq false2198 policy_name: "New License-Check", expected_to_be_valid: true2199 is expected to eq true2200 policy_name: "Coverage-Check through policies", expected_to_be_valid: true2201 is expected to eq true2202 #policy_configuration_validation_errors2203 when file is invalid2204 is expected to eq ["property '/scan_execution_policy/0/rules/0/branches' is not of type: array"]2205 when file is valid2206 is expected to eq []2207 when policy is passed as argument2208 when scan type is secret_detection2209 returns false if extra fields are present2210 returns true if extra fields are not present2211 #active_scan_execution_policies2212 returns only enabled policies2213 #on_demand_scan_actions2214 when ref is branch2215 returns only actions for on-demand scans applicable for branch2216 when ref is a tag2217 is expected to be empty2218 #pipeline_scan_actions2219 returns only actions for pipeline scans applicable for branch2220 #active_policy_names_with_dast_site_profile2221 returns list of policy names where site profile is referenced2222 #active_policy_names_with_dast_scanner_profile2223 returns list of policy names where site profile is referenced2224 #policy_last_updated_by2225 when last commit to policy file exists2226 is expected to eq #<User id:167 @namespace142>2227 when last commit to policy file does not exist2228 is expected to be nil2229 #policy_last_updated_at2230 when last commit to policy file exists2231 returns commit's updated date2232 when last commit to policy file does not exist2233 is expected to be nil2234 #delete_all_schedules2235 deletes all schedules belonging to configuration2236 #active_scan_result_policies2237 returns only enabled policies2238 returns only 5 from all active policies2239 when policy configuration is configured for namespace2240 returns only enabled policies2241 returns only 5 from all active policies2242 #scan_result_policies2243 returns all scan result policies2244 #project?2245 when project is assigned to policy configuration2246 is expected to eq true2247 when namespace is assigned to policy configuration2248 is expected to eq false2249 #namespace?2250 when project is assigned to policy configuration2251 is expected to eq false2252 when namespace is assigned to policy configuration2253 is expected to eq true2254 #source2255 when project is assigned to policy configuration2256 is expected to eq #<Project id:244 namespace288/project244>>2257 when namespace is assigned to policy configuration2258 is expected to eq #<Namespaces::UserNamespace id: 571, name: "Sidney Jones320", path: "namespace289", owner_id: 314, cr...runners_enabled: true, allow_descendants_override_disabled_shared_runners: false, traversal_ids: []>2259 #delete_scan_finding_rules2260 when associated to a project2261 behaves like approval rules deletion2262 deletes project approval rules2263 deletes merge request approval rules2264 with orphans rules2265 behaves like approval rules deletion2266 deletes project approval rules2267 deletes merge request approval rules2268 when associated to namespace2269 behaves like approval rules deletion2270 deletes project approval rules2271 deletes merge request approval rules2272 #delete_scan_finding_rules_for_project2273 deletes project approval rules2274 deletes merge request approval rules2275 with unrelated resources2276 does not delete unrelated project approval rules2277 does not delete unrelated merge request approval rules2278EnvironmentPolicy2279 #stop_environment2280 behaves like protected environments access2281 when Protected Environments feature is not available in the project2282 access_level: :guest, result: false2283 is expected to eq false2284 access_level: :reporter, result: false2285 is expected to eq false2286 access_level: :developer, result: true2287 is expected to eq true2288 access_level: :maintainer, result: true2289 is expected to eq true2290 access_level: :admin, result: true2291 is expected to eq true2292 when Protected Environments feature is available in the project2293 when environment is protected with project-level protection2294 behaves like authorize correctly per access type2295 when user does not have access to the environment2296 access_level: :guest, result: false2297 is expected to eq false2298 access_level: :reporter, result: false2299 is expected to eq false2300 access_level: :developer, result: false2301 is expected to eq false2302 access_level: :maintainer, result: false2303 is expected to eq false2304 access_level: :admin, result: true2305 is expected to eq true2306 when user has access to the environment2307 access_level: :reporter, result: false2308 is expected to eq false2309 access_level: :developer, result: true2310 is expected to eq true2311 access_level: :maintainer, result: true2312 is expected to eq true2313 access_level: :admin, result: true2314 is expected to eq true2315 when the user has access via a group2316 is expected to eq false2317 when environment is protected with group-level protection2318 behaves like authorize correctly per access type2319 when user does not have access to the environment2320 access_level: :guest, result: false2321 is expected to eq false2322 access_level: :reporter, result: false2323 is expected to eq false2324 access_level: :developer, result: false2325 is expected to eq false2326 access_level: :maintainer, result: false2327 is expected to eq false2328 access_level: :admin, result: true2329 is expected to eq true2330 when user has access to the environment2331 access_level: :reporter, result: false2332 is expected to eq false2333 access_level: :developer, result: true2334 is expected to eq true2335 access_level: :maintainer, result: true2336 is expected to eq true2337 access_level: :admin, result: true2338 is expected to eq true2339 when the user has access via a group2340 is expected to eq false2341 when environment is not protected2342 access_level: :guest, result: false2343 is expected to eq false2344 access_level: :reporter, result: false2345 is expected to eq false2346 access_level: :developer, result: true2347 is expected to eq true2348 access_level: :maintainer, result: true2349 is expected to eq true2350 access_level: :admin, result: true2351 is expected to eq true2352 #destroy_environment2353 behaves like protected environments access2354 when Protected Environments feature is not available in the project2355 access_level: :guest, result: false2356 is expected to eq false2357 access_level: :reporter, result: false2358 is expected to eq false2359 access_level: :developer, result: true2360 is expected to eq true2361 access_level: :maintainer, result: true2362 is expected to eq true2363 access_level: :admin, result: true2364 is expected to eq true2365 when Protected Environments feature is available in the project2366 when environment is protected with project-level protection2367 behaves like authorize correctly per access type2368 when user does not have access to the environment2369 access_level: :guest, result: false2370 is expected to eq false2371 access_level: :reporter, result: false2372 is expected to eq false2373 access_level: :developer, result: false2374 is expected to eq false2375 access_level: :maintainer, result: false2376 is expected to eq false2377 access_level: :admin, result: true2378 is expected to eq true2379 when user has access to the environment2380 access_level: :reporter, result: false2381 is expected to eq false2382 access_level: :developer, result: true2383 is expected to eq true2384 access_level: :maintainer, result: true2385 is expected to eq true2386 access_level: :admin, result: true2387 is expected to eq true2388 when the user has access via a group2389 is expected to eq false2390 when environment is protected with group-level protection2391 behaves like authorize correctly per access type2392 when user does not have access to the environment2393 access_level: :guest, result: false2394 is expected to eq false2395 access_level: :reporter, result: false2396 is expected to eq false2397 access_level: :developer, result: false2398 is expected to eq false2399 access_level: :maintainer, result: false2400 is expected to eq false2401 access_level: :admin, result: true2402 is expected to eq true2403 when user has access to the environment2404 access_level: :reporter, result: false2405 is expected to eq false2406 access_level: :developer, result: true2407 is expected to eq true2408 access_level: :maintainer, result: true2409 is expected to eq true2410 access_level: :admin, result: true2411 is expected to eq true2412 when the user has access via a group2413 is expected to eq false2414 when environment is not protected2415 access_level: :guest, result: false2416 is expected to eq false2417 access_level: :reporter, result: false2418 is expected to eq false2419 access_level: :developer, result: true2420 is expected to eq true2421 access_level: :maintainer, result: true2422 is expected to eq true2423 access_level: :admin, result: true2424 is expected to eq true2425 #create_environment_terminal2426 behaves like protected environments access2427 when Protected Environments feature is not available in the project2428 access_level: :guest, result: false2429 is expected to eq false2430 access_level: :reporter, result: false2431 is expected to eq false2432 access_level: :developer, result: false2433 is expected to eq false2434 access_level: :maintainer, result: true2435 is expected to eq true2436 access_level: :admin, result: true2437 is expected to eq true2438 when Protected Environments feature is available in the project2439 when environment is protected with project-level protection2440 behaves like authorize correctly per access type2441 when user does not have access to the environment2442 access_level: :guest, result: false2443 is expected to eq false2444 access_level: :reporter, result: false2445 is expected to eq false2446 access_level: :developer, result: false2447 is expected to eq false2448 access_level: :maintainer, result: false2449 is expected to eq false2450 access_level: :admin, result: true2451 is expected to eq true2452 when user has access to the environment2453 access_level: :reporter, result: false2454 is expected to eq false2455 access_level: :developer, result: false2456 is expected to eq false2457 access_level: :maintainer, result: true2458 is expected to eq true2459 access_level: :admin, result: true2460 is expected to eq true2461 when the user has access via a group2462 is expected to eq false2463 when environment is protected with group-level protection2464 behaves like authorize correctly per access type2465 when user does not have access to the environment2466 access_level: :guest, result: false2467 is expected to eq false2468 access_level: :reporter, result: false2469 is expected to eq false2470 access_level: :developer, result: false2471 is expected to eq false2472 access_level: :maintainer, result: false2473 is expected to eq false2474 access_level: :admin, result: true2475 is expected to eq true2476 when user has access to the environment2477 access_level: :reporter, result: false2478 is expected to eq false2479 access_level: :developer, result: false2480 is expected to eq false2481 access_level: :maintainer, result: true2482 is expected to eq true2483 access_level: :admin, result: true2484 is expected to eq true2485 when the user has access via a group2486 is expected to eq false2487 when environment is not protected2488 access_level: :guest, result: false2489 is expected to eq false2490 access_level: :reporter, result: false2491 is expected to eq false2492 access_level: :developer, result: false2493 is expected to eq false2494 access_level: :maintainer, result: true2495 is expected to eq true2496 access_level: :admin, result: true2497 is expected to eq true2498EpicIssues::CreateService2499 #execute2500 when epics feature is disabled2501 returns an error2502 no relationship is created2503 when epics feature is enabled2504 when user has permissions to link the issue2505 when the reference list is empty2506 returns an error2507 no relationship is created2508 does not create a system note2509 when there is an issue to relate2510 when shortcut for Issue is given2511 returns an error2512 no relationship is created2513 when a full reference is given2514 creates a new relationship and updates epic2515 orders the epic issue to the first place and moves the existing ones down2516 returns success status and created links2517 does not perform N + 1 queries2518 async actions2519 creates 1 system note for epic and 1 system note for issue2520 creates a note for epic correctly2521 creates a note for issue correctly2522 records action on usage ping2523 when an issue link is given2524 creates a new relationship and updates epic2525 orders the epic issue to the first place and moves the existing ones down2526 returns success status and created links2527 async actions2528 creates 1 system note for epic and 1 system note for issue2529 creates a note for epic correctly2530 creates a note for issue correctly2531 records action on usage ping2532 when a link of an issue in a subgroup is given2533 creates a new relationship and updates epic2534 orders the epic issue to the first place and moves the existing ones down2535 returns success status and created links2536 async actions2537 creates 1 system note for epic and 1 system note for issue2538 creates a note for epic correctly2539 creates a note for issue correctly2540 records action on usage ping2541 when multiple valid issues are given2542 creates new relationships2543 places each issue at the start2544 orders the epic issues to the first place and moves the existing ones down2545 returns success status and created links2546 creates 2 system notes for each issue2547 when there are invalid references2548 creates links only for valid references2549 returns error status2550 when assigning issuable which don't support epics2551 returns an error2552 no relationship is created2553 when user does not have permissions to link the issue2554 returns an error2555 no relationship is created2556 when assigning issue(s) to the same epic2557 no relationship is created2558 does not create notes2559 returns an error2560 when at least one of the issues is still not assigned to the epic2561 creates a new relationship and updates epic2562 orders the epic issue to the first place and moves the existing ones down2563 returns success status and created links2564 async actions2565 creates 1 system note for epic and 1 system note for issue2566 creates a note for epic correctly2567 creates a note for issue correctly2568 records action on usage ping2569 when an issue is already assigned to another epic2570 does not create a new association2571 updates the existing association2572 returns success status and created links2573 creates 3 system notes2574 updates both old and new epic milestone dates2575 creates a note correctly for the original epic2576 creates a note correctly for the new epic2577 creates a note correctly for the issue2578 when issue from non group project is given2579 returns an error2580 no relationship is created2581Gitlab::Analytics::TypeOfWork::TasksByType2582 when subject is `Issue`2583 behaves like #counts_by_labels2584 counts the records by label and date2585 counts should include subgroups2586 does not include count from outside of the group2587 when group without any record is given2588 is expected to be empty2589 when no labels are given2590 is expected to be empty2591 when records are outside of the given time range2592 is expected to be empty2593 when filtering by `project_ids`2594 is expected to eq 12595 when filtering by `author_username`2596 is expected to eq 12597 when filtering by `assignee_username`2598 is expected to eq 12599 when filtering by `milestone_title`2600 is expected to eq 12601 behaves like #top_labels2602 sorts by descending order2603 limits the the size of the results2604 when subject is `MergeRequest`2605 behaves like #counts_by_labels2606 counts the records by label and date2607 counts should include subgroups2608 does not include count from outside of the group2609 when group without any record is given2610 is expected to be empty2611 when no labels are given2612 is expected to be empty2613 when records are outside of the given time range2614 is expected to be empty2615 when filtering by `project_ids`2616 is expected to eq 12617 when filtering by `author_username`2618 is expected to eq 12619 when filtering by `assignee_username`2620 is expected to eq 12621 when filtering by `milestone_title`2622 is expected to eq 12623 behaves like #top_labels2624 sorts by descending order2625 limits the the size of the results2626 when unknown `subject` is given2627 falls back to `MergeRequestFinder`2628Geo::PipelineArtifactRegistry2629 factory is valid2630 scopes2631 sync_timed_out2632 return correct records2633 finders2634 .find_registries_never_attempted_sync2635 returns unsynced items2636 returns items that never have an attempt to sync except some specific item ID2637 .find_registries_needs_sync_again2638 returns failed items2639 returns failed items except some specific item ID2640 orders records according to retry_at2641 .fail_sync_timeouts2642 marks started records as failed if they are expired2643 #failed!2644 sets last_sync_failure with message2645 truncates a long last_sync_failure2646 increments retry_count2647 sets retry_at to a time in the future2648 when an error is given2649 includes error.message in last_sync_failure2650 when missing_on_primary is not given2651 caps retry_at to default 1 hour2652 when missing_on_primary is falsey2653 caps retry_at to default 1 hour2654 when missing_on_primary is truthy2655 caps retry_at to 4 hours2656 state machine2657 when transitioning to synced2658 marks verification as pending2659 when the model_record cannot be verified2660 when the registry is already verification_disabled2661 changes verification to disabled2662 when the registry is verification_pending2663 changes verification to disabled2664 verification_state machine2665 when transitioning to verification_failed2666 changes state from synced to failed2667 .verification_pending_batch2668 returns IDs of rows which are synced and pending verification2669 excludes rows which are not synced or are not pending verification2670 marks verification as started2671 .verification_failed_batch2672 with a failed record with retry due2673 returns IDs of rows which are synced and have failed verification2674 excludes rows which are not synced or have not failed verification2675 marks verification as started2676 when verification_retry_at is in the future2677 does not return the row which failed verification2678 .needs_verification_count2679 returns the number of rows which are synced and pending verification2680 includes rows which are synced and failed verification and are due for retry2681 excludes rows which are synced and failed verification and have a future retry time2682 excludes rows which are not synced or are not (pending or failed) verification2683 #verification_succeeded!2684 clears checksum mismatch fields2685 #track_checksum_attempt!2686 yields to the checksum calculation2687 when verification was not yet started2688 starts verification2689 when the model record cannot be verified2690 when the registry is already verification_disabled2691 leaves verification as disabled2692 when the registry is verification_pending2693 changes verification to disabled2694 when the primary site is expected to checksum the model record2695 comparison with primary checksum2696 when the calculated checksum matches the primary checksum2697 transitions to verification_succeeded and updates the checksum2698 when the calculated checksum does not match the primary checksum2699 transitions to verification_failed and updates mismatch fields2700 when verification was started2701 does not update verification_started_at2702 when an error occurs while yielding2703 sets verification_failed2704Geo::PagesDeploymentRegistry2705 factory is valid2706 scopes2707 sync_timed_out2708 return correct records2709 finders2710 .find_registries_never_attempted_sync2711 returns unsynced items2712 returns items that never have an attempt to sync except some specific item ID2713 .find_registries_needs_sync_again2714 returns failed items2715 returns failed items except some specific item ID2716 orders records according to retry_at2717 .fail_sync_timeouts2718 marks started records as failed if they are expired2719 #failed!2720 sets last_sync_failure with message2721 truncates a long last_sync_failure2722 increments retry_count2723 sets retry_at to a time in the future2724 when an error is given2725 includes error.message in last_sync_failure2726 when missing_on_primary is not given2727 caps retry_at to default 1 hour2728 when missing_on_primary is falsey2729 caps retry_at to default 1 hour2730 when missing_on_primary is truthy2731 caps retry_at to 4 hours2732 state machine2733 when transitioning to synced2734 marks verification as pending2735 when the model_record cannot be verified2736 when the registry is already verification_disabled2737 changes verification to disabled2738 when the registry is verification_pending2739 changes verification to disabled2740 verification_state machine2741 when transitioning to verification_failed2742 changes state from synced to failed2743 .verification_pending_batch2744 returns IDs of rows which are synced and pending verification2745 excludes rows which are not synced or are not pending verification2746 marks verification as started2747 .verification_failed_batch2748 with a failed record with retry due2749 returns IDs of rows which are synced and have failed verification2750 excludes rows which are not synced or have not failed verification2751 marks verification as started2752 when verification_retry_at is in the future2753 does not return the row which failed verification2754 .needs_verification_count2755 returns the number of rows which are synced and pending verification2756 includes rows which are synced and failed verification and are due for retry2757 excludes rows which are synced and failed verification and have a future retry time2758 excludes rows which are not synced or are not (pending or failed) verification2759 #verification_succeeded!2760 clears checksum mismatch fields2761 #track_checksum_attempt!2762 yields to the checksum calculation2763 when verification was not yet started2764 starts verification2765 when the model record cannot be verified2766 when the registry is already verification_disabled2767 leaves verification as disabled2768 when the registry is verification_pending2769 changes verification to disabled2770 when the primary site is expected to checksum the model record2771 comparison with primary checksum2772 when the calculated checksum matches the primary checksum2773 transitions to verification_succeeded and updates the checksum2774 when the calculated checksum does not match the primary checksum2775 transitions to verification_failed and updates mismatch fields2776 when verification was started2777 does not update verification_started_at2778 when an error occurs while yielding2779 sets verification_failed2780Resolvers::Geo::MergeRequestDiffRegistriesResolver2781 behaves like a Geo registries resolver2782 #resolve2783 when the parent object is the current node2784 when the user has permission to view Geo data2785 when admin mode is enabled2786 when the ids argument is null2787 returns registries, in order2788 when the ids argument is present2789 returns the requested registries, in order2790 when the replication_state argument is present2791 returns registries with requested replication state, in order2792 with verification enabled2793 when the verification_state argument is present2794 returns registries with requested verification state, in order2795 with verification disabled2796 when the verification_state argument is present2797 raises ArgumentError (PENDING: Skipping because verification is enabled for MergeRequestDiff)2798 when admin mode is disabled2799 returns nothing2800 when the user does not have permission to view Geo data2801 returns nothing2802 when the parent object is not the current node2803 when the user has permission to view Geo data2804 returns nothing, because we can't query other nodes' tracking databases2805Geo::FileRegistryRemovalService2806 #execute2807 when upload registry record exists2808 with file on local storage2809 when file exists on disk2810 removes the file2811 removes upload registry record2812 when something went wrong removing the file2813 logs an error message2814 does not remove the upload registry record2815 when file does not exist on disk2816 does not remove the file2817 removes upload registry record2818 with file on remote storage2819 when object storage is enabled2820 when file exists on object storage2821 when Gitlab managed replication is enabled2822 removes the file2823 removes upload registry record2824 when Gitlab managed replication is disabled2825 does not remove the file2826 removes upload registry record2827 when file does not exist on object storage2828 when GitLab managed replication is enabled2829 does not remove the file2830 removes upload registry record2831 when Gitlab managed replication is disabled2832 skips file removal2833 removes upload registry record2834 when object storage is disabled2835 when Gitlab managed replication is enabled2836 does not remove the file2837 removes upload registry record2838 when Gitlab managed replication is disabled2839 does not remove the file2840 removes upload registry record2841 when upload registry record does not exist2842 with file on local storage2843 when file exists on disk2844 removes the file2845 does not remove an upload registry record2846 when something went wrong removing the file2847 logs an error message2848 does not remove an upload registry record2849 when file does not exist on disk2850 does not remove the file2851 does not remove an upload registry record2852 with file on remote storage2853 when object storage is enabled2854 when file exists on object storage2855 when GitLab managed replication is enabled2856 removes the file2857 does not remove an upload registry record2858 when Gitlab managed replication is disabled2859 skips file removal2860 does not remove an upload registry record2861 when file does not exist on object storage2862 when GitLab managed replicaiton is enabled2863 does not remove the file2864 does not remove an upload registry record2865 when Gitlab managed replication is disabled2866 skips file removal2867 does not remove an upload registry record2868 when object storage is disabled2869 when GitLab managed replication is enabled2870 does not remove the file2871 does not remove an upload registry record2872 when GitLab managed replication is disabled2873 does not remove the file2874 does not remove an upload registry record2875 when upload record does not exist2876 with file on local storage2877 when the file_path is passed2878 when file exists on disk2879 removes the file2880 removes upload registry record2881 when something went wrong removing the file2882 logs an error message2883 does not remove the upload registry record2884 when file does not exist on disk2885 does not remove the file2886 removes upload registry record2887 when the file_path is not passed2888 when file exists on disk2889 logs an error message2890 removes upload registry record2891 when file does not exist on disk2892 logs an error message2893 removes upload registry record2894 with file on remote storage2895 when the file_path is passed2896 when object storage is enabled2897 when GitLab managed replication is enabled2898 logs an error message2899 removes upload registry record2900 when Gitlab managed replication is disabled2901 logs an error message2902 removes upload registry record2903 when object storage is disabled2904 when Gitlab managed replication is enabled2905 logs an error message2906 removes upload registry record2907 when Gitlab managed replication is disabled2908 logs an error message2909 removes upload registry record2910 when the file_path is not passed2911 when object storage is enabled2912 when GitLab managed replication is enabled2913 logs an error message2914 removes upload registry record2915 when Gitlab managed replication is disabled2916 logs an error message2917 removes upload registry record2918 when object storage is disabled2919 when GitLab managed replication is enabled2920 logs an error message2921 removes upload registry record2922 when GitLab managed replication is disabled2923 logs an error message2924 removes upload registry record2925 with an unrecognized replicable type2926 with file on local storage2927 raises an error2928 with file on remote storage2929 when the file_path is passed2930 when object storage is enabled2931 when GitLab managed replication is enabled2932 raises an error2933 when GitLab managed replication is disabled2934 raises an error2935 when object storage is disabled2936 when GitLab managed replication is enabled2937 raises an error2938 when GitLab managed replication is disabled2939 raises an error2940DastSiteProfile2941 behaves like sanitizable2942 includes Sanitizable2943 #name2944 when input includes javascript tags2945 gets sanitized2946 #name validation2947 when input contains pre-escaped html entities2948 is not valid2949 #scan_file_path2950 when input includes javascript tags2951 gets sanitized2952 #scan_file_path validation2953 when input contains pre-escaped html entities2954 is not valid2955 associations2956 is expected to belong to project required: false2957 is expected to belong to dast_site required: false2958 is expected to have many secret_variables class_name => Dast::SiteProfileSecretVariable2959 validations2960 is expected to be valid2961 is expected to validate that the length of :auth_password_field is at most 2552962 is expected to validate that the length of :auth_url is at most 10242963 is expected to validate that the length of :auth_username is at most 2552964 is expected to validate that the length of :auth_username_field is at most 2552965 is expected to validate that the length of :auth_submit_field is at most 2552966 is expected to validate that the length of :name is at most 2552967 is expected to validate that :dast_site_id cannot be empty/falsy2968 is expected to validate that :name cannot be empty/falsy2969 is expected to validate that :project_id cannot be empty/falsy2970 is expected to validate that :name is case-sensitively unique within the scope of :project_id2971 is expected to validate that the length of :scan_file_path is at most 10242972 #auth_url2973 when the auth_uri is nil2974 is valid2975 when the auth_url is not a valid uri2976 is not valid2977 when the auth_url is not public2978 is valid2979 #excluded_urls2980 is expected to allow :excluded_urls to be ‹["http://example38.test", "http://example38.test", "http://example38.test", "http://example38.test", "http://example38.test", "http://example38.test", "http://example38.test", "http://example38.test", "http://example38.test", "http://example38.test", "http://example38.test", "http://example38.test", "http://example38.test", "http://example38.test", "http://example38.test", "http://example38.test", "http://example38.test", "http://example38.test", "http://example38.test", "http://example38.test",...›2981 is expected not to allow :excluded_urls to be ‹["http://example39.test", "http://example39.test", "http://example39.test", "http://example39.test", "http://example39.test", "http://example39.test", "http://example39.test", "http://example39.test", "http://example39.test", "http://example39.test", "http://example39.test", "http://example39.test", "http://example39.test", "http://example39.test", "http://example39.test", "http://example39.test", "http://example39.test", "http://example39.test", "http://example39.test", "http://example39.test",...›2982 when there are some urls that are invalid2983 is not valid2984 #project2985 when the project_id and dast_site.project_id do not match2986 is not valid2987 #scan_file_path2988 when the scan_file_path is nil2989 when the target_type is website2990 is valid2991 when the target_type is api2992 returns the dast_site.url2993 when the scan_file_path is not nil2994 when the target_type is api2995 when scan_file_path is not a valid url2996 is not valid2997 scopes2998 .with_dast_site_and_validation2999 eager loads the association3000 .with_name3001 returns the dast_site_profiles with given name3002 enums3003 is expected to define :target_type as an enum backed by an integer with values ‹{website: 0, api: 1}›3004 is expected to define :scan_method as an enum backed by an integer with values ‹{site: 0, openapi: 1, har: 2, postman: 3}›, prefix: true3005 .names3006 returns the names for the DAST site profiles with the given IDs3007 when a profile is not found3008 rescues the error and returns an empty array3009 instance methods3010 #destroy!3011 when the associated dast_site has no dast_site_profiles3012 is also destroyed3013 when the associated dast_site has dast_site_profiles3014 is not destroyed3015 #status3016 when dast_site_validation association does not exist3017 is none3018 when dast_site_validation association does exist3019 is dast_site_validation#state3020 #validation_started_at3021 when dast_site_validation association does not exist3022 is none3023 when dast_site_validation association does exist3024 is dast_site_validation#validation_started_at3025 #referenced_in_security_policies3026 there is no security_orchestration_policy_configuration assigned to project3027 returns empty array3028 there is security_orchestration_policy_configuration assigned to project3029 calls security_orchestration_policy_configuration.active_policy_names_with_dast_site_profile with profile name3030 returns the referenced policy name3031 #ci_variables3032 without_dast_submit_field3033 returns a collection of variables3034 with_dast_submit_field3035 returns a collection of variables3036 when target_type=api3037 when scan_method is openapi3038 behaves like an api target3039 has the correct collection of variables3040 behaves like an api target when dast_api_scanner is disabled3041 when the feature flag dast_api_scanner is disabled3042 behaves like an api target3043 has the correct collection of variables3044 when scan_file_path is blank3045 behaves like an api target3046 has the correct collection of variables3047 when scan_method is har3048 behaves like an api target3049 has the correct collection of variables3050 behaves like an api target when dast_api_scanner is disabled3051 when the feature flag dast_api_scanner is disabled3052 behaves like an api target3053 has the correct collection of variables3054 when scan_file_path is blank3055 behaves like an api target3056 has the correct collection of variables3057 when scan_method is postman3058 behaves like an api target3059 has the correct collection of variables3060 behaves like an api target when dast_api_scanner is disabled3061 when the feature flag dast_api_scanner is disabled3062 behaves like an api target3063 has the correct collection of variables3064 when scan_file_path is blank3065 behaves like an api target3066 has the correct collection of variables3067 when auth is disabled3068 returns a collection of variables excluding any auth variables3069 when excluded_urls is empty3070 is removed from the collection3071 when a variable is set to nil3072 is removed from the collection3073 #secret_ci_variables3074 when user can read secrets3075 works with policy3076 checks the policy3077 when there are no secret_variables3078 returns an empty collection3079 when there are secret_variables3080 returns a collection containing that variable3081 when password is configured3082 returns a collection containing api password3083 when request headers are configured3084 returns a collection containing the api request headers3085 when user cannot read secrets3086 returns an empty collection3087 #ensure_scan_method3088 when the target_type is website3089 does not change the scan_method3090 when the target type is api3091 does set the scan_method to openapi3092 #ensure_scan_file_path3093 when the target_type is website3094 when the scan_file_path is nil3095 does not set the scan_file_path3096 when the scan_file_path is not nil3097 does set the scan_file_path to nil3098 when the target type is api3099 when the scan_file_path is nil3100 does set the scan_file_path to dast_site.url3101 when the scan_file_path is not nil3102 does not set the scan_file_path3103Repository3104 searches blobs and commits3105 names elasticsearch queries3106 filters commits from blobs, and vice-versa3107 filtering3108 can filter blobs3109 filters by extension when optimization is disabled3110 class method find_commits_by_message_with_elastic3111 returns commits3112 with a deleted project3113 skips its commits3114 with a project pending deletion3115 skips its commits3116 find_commits_by_message_with_elastic3117 returns commits3118Security::OrchestrationPolicyRuleSchedule3119 associations3120 is expected to belong to owner class_name => User required: false3121 is expected to belong to security_orchestration_policy_configuration class_name => Security::OrchestrationPolicyConfiguration required: false3122 validations3123 is expected to validate that :owner cannot be empty/falsy3124 is expected to validate that :security_orchestration_policy_configuration cannot be empty/falsy3125 is expected to validate that :cron cannot be empty/falsy3126 is expected to validate that :policy_index cannot be empty/falsy3127 is expected to validate that :rule_index cannot be empty/falsy3128 does not allow invalid cron patterns3129 does not allow invalid cron patterns3130 .runnable_schedules3131 when there are runnable schedules3132 returns the runnable schedule3133 when there are no runnable schedules3134 returns an empty array3135 when there are runnable schedules in future3136 returns an empty array3137 #policy3138 when policy is present3139 is expected to eq {:actions=>[{:scan=>"dast", :scanner_profile=>"Scanner Profile", :site_profile=>"Site Profile"}], :de...heduled DAST 1", :rules=>[{:branches=>["production"], :cadence=>"*/20 * * * *", :type=>"schedule"}]}3140 when policy is not present3141 is expected to be nil3142 when policy is not enabled3143 is expected to be nil3144 #applicable_branches3145 when branches does not exist3146 is expected to be empty3147 when branches is empty3148 is expected to be empty3149 when provided project is not provided3150 is expected to be empty3151 when some of the branches exists3152 is expected to eq ["feature-a"]3153 when branches with wildcards matches3154 is expected to eq ["feature-a", "feature-b"]3155 when policy is not present3156 is expected to be empty3157 when policy rules are not present3158 is expected to be empty3159 #applicable_agents3160 when applicable rule contains agents configuration3161 is expected to eq {:"production-agent"=>{:namespaces=>["production-namespace"]}}3162 when applicable rule does not contain agents configuration3163 is expected to be nil3164 #for_agent?3165 when applicable rule contains agents configuration3166 is expected to eq true3167 when applicable rule does not contain agents configuration3168 is expected to eq false3169 #set_next_run_at3170 behaves like handles set_next_run_at3171 when schedule runs every minute3172 updates next_run_at to the worker's execution time3173 when there are two different schedules in the same time zones3174 sets the sames next_run_at3175 when cron is updated for existing schedules3176 updates next_run_at automatically3177 behaves like includes Limitable concern3178 #exceeds_limits?3179 without plan limits configured3180 is expected to eq false3181 without plan limits configured3182 is expected to eq false3183 with an existing model3184 is expected to eq true3185 validations3186 is expected to be a kind of Limitable3187 without plan limits configured3188 can create new models3189 with plan limits configured3190 can create new models3191 with an existing model3192 cannot create new models exceeding the plan limits3193Banzai::Filter::References::EpicReferenceFilter3194 internal reference3195 links to a valid reference3196 links with adjacent text3197 includes a title attribute3198 escapes the title attribute3199 includes default classes3200 includes a data-group attribute3201 includes a data-epic attribute3202 includes a data-original attribute3203 includes a data-reference-format attribute3204 includes a data-reference-format attribute for URL references3205 ignores invalid epic IIDs3206 ignores out of range epic IDs3207 does not process links containing epic numbers followed by text3208 internal escaped reference3209 links to a valid reference3210 includes a title attribute3211 includes default classes3212 ignores invalid epic IIDs3213 cross-reference3214 ignores a shorthand reference from another group3215 links to a valid reference for full reference3216 link has valid text3217 includes default classes3218 escaped cross-reference3219 ignores a shorthand reference from another group3220 links to a valid reference for full reference3221 link has valid text3222 includes default classes3223 subgroup cross-reference3224 ignores a shorthand reference from another group3225 ignores reference with incomplete group path3226 links to a valid reference for full reference3227 link has valid text3228 includes default classes3229 url reference3230 links to a valid reference3231 link has valid text3232 includes default classes3233 matches link reference with trailing slash3234 full cross-refererence in a link href3235 links to a valid reference for link href3236 link has valid text3237 includes default classes3238 url in a link href3239 links to a valid reference for link href3240 link has valid text3241 includes default classes3242 checking N+13243 does not have N+1 per multiple references per group3244Deployments::ApprovalSummary3245 # order random3246 #total_required_approvals3247 is expected to eq 43248 #rules3249 when all rules have been approved3250 correctly renders the approval summary3251 behaves like contains the required approval counts per type3252 is expected to eq 13253 when one rule has multiple approvals3254 correctly renders the approval summary3255 behaves like contains the required approval counts per type3256 is expected to eq 13257 when one rule has been approved3258 correctly renders the approval summary3259 behaves like contains the required approval counts per type3260 is expected to eq 13261 when no rules have been approved3262 correctly renders the approval summary3263 behaves like contains the required approval counts per type3264 is expected to eq 13265 when unrelated deployment approvals exist3266 correctly renders the approval summary3267 behaves like contains the required approval counts per type3268 is expected to eq 13269 #total_pending_approval_count3270 when all rules have been approved3271 is expected to eq 03272 when one rule has multiple approvals3273 is expected to eq 23274 when one rule has been approved3275 is expected to eq 33276 when one rule has been rejected3277 is expected to eq 43278 when no rules have been approved3279 is expected to eq 43280 when unrelated deployment approvals exist3281 is expected to eq 43282 #status3283 when all rules have been approved3284 is expected to eq "approved"3285 when one rule has multiple approvals3286 is expected to eq "pending_approval"3287 when one rule has been approved3288 is expected to eq "pending_approval"3289 when one rule has been rejected3290 is expected to eq "rejected"3291 when no rules have been approved3292 is expected to eq "pending_approval"3293 when unrelated deployment approvals exist3294 is expected to eq "pending_approval"3295Geo::UploadRegistryFinder3296 behaves like a framework registry finder3297 #execute3298 when user cannot read all Geo3299 is expected to be empty3300 when user can read all Geo3301 when admin mode is disabled3302 is expected to be empty3303 when admin mode is enabled3304 with an ids param3305 returns specified registries3306 with an ids param empty3307 returns all registries3308 with a replication_state param3309 returns registries with requested replication state3310 with a replication_state param empty3311 returns all registries3312 with verification enabled3313 with a verification_state param3314 returns registries with requested verification state3315 with a verification_state param empty3316 returns all registries3317 with verification disabled3318 with a verification_state param3319 raises ArgumentError (PENDING: Skipping because verification is enabled for Upload)3320 with a verification_state param empty3321 raises ArgumentError (PENDING: Skipping because verification is enabled for Upload)3322 with no params3323 returns all registries3324DeleteOrphanedCommits3325 migration_options3326 has migration options set correctly3327 completed?3328 when there are no more orphaned commits3329 is expected to be truthy3330 when there are commits missing parent join and visibility level3331 is expected to be falsey3332 when there are commits missing only parent join3333 is expected to be truthy (FAILED - 1)33351st Try error in ./ee/spec/elastic/migrate/20220118150500_delete_orphaned_commits_spec.rb:54:3336expected: truthy value3337 got: false3339RSpec::Retry: 2nd try ./ee/spec/elastic/migrate/20220118150500_delete_orphaned_commits_spec.rb:543340 migrate3341 when task succeeds3342 completes the migration3343 when task fails3344 raises an error3345 task_failed?3346 returns whether failures are present3347VulnerabilityIssueLinks::CreateService3348 with an authorized user with proper permissions3349 with valid params3350 creates a new vulnerability-issue link3351 with missing vulnerability3352 responds with an error3353 with missing issue3354 responds with an error3355 when a link between these issue and vulnerability already exists3356 responds with an error about a conflicting data3357 when a "created" link already exists for a vulnerability3358 responds with an error about a conflicting data3359 when trying to relate an issue of a different project3360 creates a vulnerability-issue link3361 when trying to relate a confidential issue of the same project3362 creates a vulnerability-issue link3363 when security dashboard feature is disabled3364 raises an "access denied" error3365 permissions3366 is expected to be allowed for :owner3367 is expected to be allowed for :maintainer3368 is expected to be allowed for :developer3369 is expected to be denied for :auditor3370 is expected to be denied for :reporter3371 is expected to be denied for :guest3372 is expected to be denied for :anonymous3373 when admin mode enabled3374 is expected to be allowed for :admin3375 when admin mode disabled3376 is expected to be denied for :admin3377Resolvers::Geo::PagesDeploymentRegistriesResolver3378 behaves like a Geo registries resolver3379 #resolve3380 when the parent object is the current node3381 when the user has permission to view Geo data3382 when admin mode is enabled3383 when the ids argument is null3384 returns registries, in order3385 when the ids argument is present3386 returns the requested registries, in order3387 when the replication_state argument is present3388 returns registries with requested replication state, in order3389 with verification enabled3390 when the verification_state argument is present3391 returns registries with requested verification state, in order3392 with verification disabled3393 when the verification_state argument is present3394 raises ArgumentError (PENDING: Skipping because verification is enabled for PagesDeployment)3395 when admin mode is disabled3396 returns nothing3397 when the user does not have permission to view Geo data3398 returns nothing3399 when the parent object is not the current node3400 when the user has permission to view Geo data3401 returns nothing, because we can't query other nodes' tracking databases3402EE::Issuable3403 Validation3404 general validations3405 is expected to validate that :author cannot be empty/falsy3406 is expected to validate that :title cannot be empty/falsy3407 is expected to validate that the length of :title is at most 2553408 is expected to validate that the length of :description is at most 10485763409 behaves like validates description length with custom validation3410 when Issuable is a new record3411 validates the maximum description length3412 on create3413 does not validate the maximum description length3414 when Issuable is an existing record3415 does not validate the maximum description length3416 behaves like truncates the description to its allowed maximum length on import3417 truncates the description to its allowed maximum length3418 #matches_cross_reference_regex?3419 epic description with long path string3420 behaves like matches_cross_reference_regex? fails fast3421 fails fast for long strings3422 #supports_epic?3423 issuable_type: :issue, project: :project_with_group, supports_epic: true3424 is expected to eq true3425 issuable_type: :issue, project: :project_without_group, supports_epic: false3426 is expected to eq false3427 issuable_type: :incident, project: :project_with_group, supports_epic: false3428 is expected to eq false3429 issuable_type: :incident, project: :project_without_group, supports_epic: false3430 is expected to eq false3431 issuable_type: :merge_request, project: :project_with_group, supports_epic: false3432 is expected to eq false3433 issuable_type: :merge_request, project: :project_without_group, supports_epic: false3434 is expected to eq false3435 #weight_available?3436 issuable_type: :issue, project: :project_with_group, weight_available: true3437 is expected to eq true3438 issuable_type: :issue, project: :project_without_group, weight_available: true3439 is expected to eq true3440 issuable_type: :incident, project: :project_with_group, weight_available: false3441 is expected to eq false3442 issuable_type: :incident, project: :project_without_group, weight_available: false3443 is expected to eq false3444 issuable_type: :merge_request, project: :project_with_group, weight_available: false3445 is expected to eq false3446 issuable_type: :merge_request, project: :project_without_group, weight_available: false3447 is expected to eq false3448 #supports_iterations?3449 issuable_type: :issue, project: :project_with_group, supports_iterations: true3450 is expected to eq true3451 issuable_type: :issue, project: :project_without_group, supports_iterations: true3452 is expected to eq true3453 issuable_type: :incident, project: :project_with_group, supports_iterations: false3454 is expected to eq false3455 issuable_type: :incident, project: :project_without_group, supports_iterations: false3456 is expected to eq false3457 issuable_type: :merge_request, project: :project_with_group, supports_iterations: false3458 is expected to eq false3459 issuable_type: :merge_request, project: :project_without_group, supports_iterations: false3460 is expected to eq false3461 #supports_confidentiality?3462 is expected to be truthy3463 #escalation_policies_available?3464 issuable_type: :issue, oncall_schedules_enabled: true, escalation_policies_enabled: true, available: false3465 is expected to eq false3466 issuable_type: :incident, oncall_schedules_enabled: false, escalation_policies_enabled: false, available: false3467 is expected to eq false3468 issuable_type: :incident, oncall_schedules_enabled: true, escalation_policies_enabled: false, available: false3469 is expected to eq false3470 issuable_type: :incident, oncall_schedules_enabled: false, escalation_policies_enabled: true, available: false3471 is expected to eq false3472 issuable_type: :incident, oncall_schedules_enabled: true, escalation_policies_enabled: true, available: true3473 is expected to eq true3474 #to_hook_data3475 escalation status is updated3476 delegates to Gitlab::DataBuilder::Issuable#build3477 with policy and status changes3478 includes both status and policy fields simultaneously3479 #allows_scoped_labels?3480 allows scoped labels with licensed project3481 allows scoped labels with licensed group3482 does not allow scoped labels without license3483 #issuable_resource_links_available?3484 returns false for issuable type as issue3485 returns true for issuable type as incident3486 returns false when feature is not avaiable3487MergeRequestApproverPresenter3488 #render3489 displays committers3490 approvals_required is low3491 returns the top n committers3492 #any?3493 returns true if any user exists3494 returns false if no user exists3495 caches loaded users3496 #render_user3497 renders link3498 #show_code_owner_tips?3499 when code_owner feature enabled and code owner is empty3500 returns true3501 when code_owner feature enabled and code owner is not empty3502 returns false3503 when code_owner feature is disabled3504 returns false3505Gitlab::Ci::Minutes::GitlabContributionCostFactor3506 10k minutes3507 returns the expected cost factor3508 50k minutes3509 returns the expected cost factor3510 400 minutes3511 returns the expected cost factor3512 not an MR pipeline3513 returns the expected cost factor3514 Minute limit disabled3515 returns the expected cost factor3516 non-GitLab project3517 returns the expected cost factor3518 Not a fork3519 returns the expected cost factor3520Event3521 #visible_to_user?3522 vulnerability event3523 on public project3524 for standard users3525 is visible only to authorized users3526 for admin in admin mode3527 is visible to admin3528 on private project3529 for standard users3530 is visible only to authorized users3531 for admin in admin mode3532 is visible to admin3533 vulnerability note event3534 on public project3535 for standard users3536 is visible only to authorized users3537 for admin in admin mode3538 is visible to admin3539 on private project3540 for standard users3541 is visible only to authorized users3542 for admin in admin mode3543 is visible to admin3544 epic event3545 on public group3546 behaves like visible to everybody3547 is visible to other users3548 on private group3549 behaves like visible to group members only3550 is not visible to other users3551 when admin mode enabled3552 is visible to admin3553 when admin mode disabled3554 is not visible to admin3555 epic note event3556 on public group3557 behaves like visible to everybody3558 is visible to other users3559 private group3560 behaves like visible to group members only3561 is not visible to other users3562 when admin mode enabled3563 is visible to admin3564 when admin mode disabled3565 is not visible to admin3566 #set_last_repository_updated_at3567 always updates the project_repository_state record3568Vulnerabilities::SecurityFinding::CreateIssueService#execute3569 when user does not have permission to read_security_resource3570 raises an error3571 when user does not have permission to create issue3572 propagates the error3573 when there is no vulnerability finding and vulnerability for the security finding3574 does create a new Vulnerability3575 does create a new Issue3576 does create a new IssueLink3577 when there is an existing vulnerability finding and vulnerability for the security finding3578 does not create a new Vulnerability3579 does create a new Issue3580 does create a new IssueLink3581 when a error occurs during the vulnerability creation3582 behaves like an error occurs3583 propagates the error3584 does not create a new Vulnerability3585 does not create a new Issue3586 does not create a new IssueLink3587 when a error occurs during the issue creation3588 behaves like an error occurs3589 propagates the error3590 does not create a new Vulnerability3591 does not create a new Issue3592 does not create a new IssueLink3593 when a error occurs during the issue link creation3594 behaves like an error occurs3595 propagates the error3596 does not create a new Vulnerability3597 does not create a new Issue3598 does not create a new IssueLink3599Security::Findings::DismissService3600 # order random3601 #execute3602 when the user is authorized3603 when deprecate_vulnerabilities_feedback is disabled3604 when comment is added3605 dismisses a finding with comment3606 when the dismissal_reason is added3607 dismisses a finding3608 when Vulnerabilities::Feedback creation fails3609 returns the error3610 when security dashboard feature is disabled3611 raises an "access denied" error3612 when deprecate_vulnerabilities_feedback is enabled3613 when Vulnerabilities::FindOrCreateFromSecurityFindingService returns vulnerability successfully3614 returns security finding with success reponse3615 when Vulnerabilities::FindOrCreateFromSecurityFindingService fails3616 returns the error3617 when the user is not authorized3618 raises an "access denied" error3619WikiPages::UpdateService3620 #execute3621 calls Geo::RepositoryUpdatedService when running on a Geo primary node3622 does not call Geo::RepositoryUpdatedService when not running on a Geo primary node3623 behaves like WikiPages::UpdateService#execute3624 updates the wiki page3625 executes webhooks3626 counts edit events3627 does not call Geo::RepositoryUpdatedService when container is group3628 the page is at the top level3629 adds a new wiki page activity event (PENDING: group wiki support)3630 the page is in a subsection3631 adds a new wiki page activity event (PENDING: group wiki support)3632 when the options are bad3633 does not count an edit event3634 does not record the activity3635 reports the error3636Security::SecurityOrchestrationPolicies::CreatePipelineService3637 #execute3638 when scan type is valid3639 when action is valid3640 sets the build name to secret_detection3641 creates a build with appropriate variables3642 behaves like valid security orchestration policy action3643 returns a success status3644 returns a pipeline3645 creates a pipeline3646 sets the pipeline ref to the branch3647 sets the source to security_orchestration_policy3648 creates a stage3649 creates a build3650 for container_scanning scan3651 sets the build name to container_scanning3652 behaves like valid security orchestration policy action3653 returns a success status3654 returns a pipeline3655 creates a pipeline3656 sets the pipeline ref to the branch3657 sets the source to security_orchestration_policy3658 creates a stage3659 creates a build3660 for sast scan3661 sets the build name to sast3662 when action contains variables3663 parses variables from the action and applies them in configuration service3664 when project has a compliance framework3665 does not include the compliance definition3666OmniAuth::Strategies::GroupSaml3667 callback_path option3668 dynamically detects /groups/:group_path/-/saml/callback3669 rejects default callback paths3670 POST /groups/:group_path/-/saml/callback3671 redirects to failure endpoint when the group is not found3672 with valid SAMLResponse3673 sets the auth hash based on the response3674 sets omniauth setings from configured settings3675 redirects to failure endpoint when SAML is disabled for the group3676 user is testing SAML response3677 stores the saml response for retrieval after redirect3678 redirects back to the settings page3679 with invalid SAMLResponse3680 redirects somewhere so failure messages can be displayed3681 Group SAML not licensed for group3682 redirects to failure endpoint3683 POST /users/auth/group_saml3684 redirects to the provider login page3685 redirects to failure endpoint for groups without SAML configured3686 redirects to the failure endpoint when the group is not found3687 redirects to failure endpoint when missing group_path param3688 stores request ID during request phase3689 POST /users/auth/group_saml/metadata3690 redirects to the failure endpoint when the group is not found3691 redirects to the failure endpoint with generic error to avoid disclosing group existence3692 returns metadata when a valid token is provided3693 redirects to failure endpoint when an invalid token is provided3694 redirects to failure endpoint when group is not found but a token is provided3695 sets omniauth setings from default settings3696 POST /users/auth/group_saml/slo3697 returns 404 to avoid disclosing group existence3698 POST /users/auth/group_saml/spslo3699 returns 404 to avoid disclosing group existence3700Security::Ingestion::Tasks::IngestRemediations3701 #execute3702 creates remediations and updates the associations3703 behaves like bulk insertable task3704 when the validation fails3705 can generate error messages correctly3706Releases::UpdateService3707 group milestones3708 when a group milestone is passed3709 when there is no project milestone3710 when licenced3711 adds the group milestone3712 when unlicensed3713 returns an error3714 when there is an existing project milestone3715 when licenced3716 replaces the project milestone with the group milestone3717 when unlicensed3718 returns an error3719 when an empty milestone array is passed3720 clears the milestone array3721 when a supergroup milestone is passed3722 ignores the milestone3723Gitlab::GitAccessWiki3724 group wiki access3725 #push_access_check3726 when user can :create_wiki3727 is expected not to raise Exception3728 when in a read-only GitLab instance3729 does not give access to upload wiki code3730 when group is read-only3731 does not allow push and allows pull access3732 when the group is renamed3733 enqueues a redirected message for pushing3734 when user cannot :create_wiki3735 is expected to raise Gitlab::GitAccess::ForbiddenError with "You are not allowed to write to this group's wiki."3736 #check_download_access!3737 the user has at least reporter access3738 when wiki feature is enabled3739 gives access to download wiki code3740 when the wiki repository does not exist3741 behaves like not-found git access3742 prevents access3743 when wiki feature is disabled3744 behaves like forbidden git access3745 prevents access3746 the user does not have access3747 behaves like not-found git access3748 prevents access3749 when actor is geo3750 gives access to download wiki code3751 the group is public3752 gives access to download wiki code3753 when wiki feature is disabled3754 behaves like forbidden git access3755 prevents access3756 when in a read-only GitLab instance3757 behaves like git access for a read-only GitLab instance3758 denies push access3759 for a Geo setup3760 that is incorrectly set up3761 denies push access with primary present3762 that is correctly set up3763 for a git clone/pull3764 attempts to proxy to the primary3765 for a git push3766 attempts to proxy to the primary3767 when wiki is disabled3768 allows code download for geo3769Gitlab::Elastic::DocumentReference3770 .build3771 builds a document for an issue3772 builds a document for a project3773 .serialize3774 does nothing to a string3775 serializes a DocumentReference3776 defers to serialize_record for ApplicationRecord instances3777 defers to serialize_array for Array instances3778 fails to serialize an unrecognised value3779 .serialize_record3780 serializes an issue3781 serializes a project3782 .serialize_array3783 serializes a project array3784 serializes an issue array3785 fails to serialize a too-small array3786 fails to serialize a too-large array3787 .deserialize3788 deserializes an issue string3789 deserializes a project string3790 #initialize3791 creates an issue reference3792 creates a project reference3793 #==3794 is equal to itself3795 is equal to another ref when all elements match3796 is not equal unless the other instance class matches3797 is not equal unless db_id matches3798 is not equal unless es_id matches3799 is not equal unless es_parent matches3800 #klass_name3801 is expected to eq "Issue"3802 #database_record3803 returns an issue3804 returns a project3805 returns nil if the record cannot be found3806 raises if the class is bad3807 #serialize3808 serializes an issue3809 serializes a project3810 ::Collection3811 contains a collection of DocumentReference3812 #preload_database_records3813 preloads database records to avoid N+1 queries3814 batches database records to avoid sql timeouts3815Mutations::Dast::Profiles::Update3816 is expected to require graphql authorizations :create_on_demand_dast_scan3817 #resolve3818 when the feature is licensed3819 when the project does not exist3820 behaves like an unrecoverable failure3821 raises an exception3822 when the user cannot read the project3823 behaves like an unrecoverable failure3824 raises an exception3825 when the user can update a DAST profile3826 returns the profile3827 updates the profile3828 when associated dast profile schedule is present3829 when dast_profile_schedule param is present3830 updates the profile schedule3831 when dast_profile_schedule param is not passed3832 does not updates the profile schedule3833 when associated dast profile schedule is not present3834 when dast_profile_schedule param is present3835 creates the profile schedule3836 when run_after_update=true3837 behaves like it creates a DAST on-demand scan pipeline3838 creates a new ci_pipeline for the given project3839 creates a single build associated with the ci_pipeline3840 creates an association between the dast_profile and the ci_pipeline3841 returns the pipeline_url3842 behaves like it checks branch permissions before creating a DAST on-demand scan pipeline3843 when the user does not have access to the branch3844 communicates failure3845 behaves like it delegates scan creation to another service3846 calls AppSec::Dast::Scans::CreateService3847 when the dast_profile does not exist3848 behaves like an unrecoverable failure3849 raises an exception3850 when updating fails3851 returns an error3852SnippetsFinder3853 filter by project3854 returns all snippets for auditor users3855 filter by authorized snippet projects and authored personal3856 when no user3857 returns only public personal snippets3858 when user is not a member of any project3859 returns only user personal snippets3860 when the user is a member of a project3861 returns all the authorized project snippets and authored personal ones3862 returns all the authorized project snippets and authored personal ones3863 returns all the authorized project snippets and authored personal ones3864 returns all the authorized project snippets and authored personal ones3865 returns all the authorized project snippets and authored personal ones3866 returns all the authorized project snippets and authored personal ones3867 returns all the authorized project snippets and authored personal ones3868 returns all the authorized project snippets and authored personal ones3869 when user cannot read_cross_project3870 returns only user personal snippets3871 when the user is a member of a group3872 returns all the authorized project snippets and authored personal ones3873 returns all the authorized project snippets and authored personal ones3874 returns all the authorized project snippets and authored personal ones3875 returns all the authorized project snippets and authored personal ones3876 when param author is passed3877 when user is not a member of any project3878 returns only the author visible personal snippets to the user3879 when user is a member of a project3880 returns all the authorized project and personal snippets authored by the author3881 returns all the authorized project and personal snippets authored by the author3882 returns all the authorized project and personal snippets authored by the author3883 returns all the authorized project and personal snippets authored by the author3884 when only_personal is passed3885 returns only personal snippets3886 when only_project is passed3887 returns only project snippets3888 when no personal snippets are visible3889 does not return any record3890Gitlab::ExpiringSubscriptionMessage3891 message3892 plan_name: "gold"3893 subscribable installed3894 subscribable should not notify admins3895 returns nil3896 subscribable should notify admins3897 admin signed in3898 subscribable expired3899 when it blocks changes3900 when it is currently blocking changes3901 has a nice subject3902 when the subscription hasn't been properly downgraded yet3903 shows the expiring message3904 no namespace3905 has an expiration blocking message3906 with namespace3907 has an expiration blocking message3908 is auto_renew3909 has a nice subject3910 has an expiration blocking message3911 when there is a future renewal3912 is expected to be nil3913 without gitlab_subscription3914 does not check for a future renewal3915 when it is not currently blocking changes3916 has a nice subject3917 has an expiration blocking message3918 subscribable is expiring soon3919 has a nice subject3920 without namespace3921 has an expiration blocking message3922 when a future dated license is applied3923 returns nil3924 when self-managed subscription is already renewed3925 does not return a message3926 with namespace3927 has bronze plan specific messaging3928 plan: "gold"3929 has plan specific messaging3930 plan: "ultimate"3931 has plan specific messaging3932 plan: "silver"3933 has plan specific messaging3934 plan: "premium"3935 has plan specific messaging3936 is auto_renew nil3937 returns nil3938 is auto_renew3939 returns nil3940 when there is a future renewal3941 is expected to be nil3942 without gitlab_subscription3943 does not check for a future renewal3944 with a sub-group3945 checks for a future renewal3946 when parent namespace has a future renewal3947 is expected to be nil3948 no subscribable installed3949 is expected to be blank3950 plan_name: "ultimate"3951 subscribable installed3952 subscribable should not notify admins3953 returns nil3954 subscribable should notify admins3955 admin signed in3956 subscribable expired3957 when it blocks changes3958 when it is currently blocking changes3959 has a nice subject3960 when the subscription hasn't been properly downgraded yet3961 shows the expiring message3962 no namespace3963 has an expiration blocking message3964 with namespace3965 has an expiration blocking message3966 is auto_renew3967 has a nice subject3968 has an expiration blocking message3969 when there is a future renewal3970 is expected to be nil3971 without gitlab_subscription3972 does not check for a future renewal3973 when it is not currently blocking changes3974 has a nice subject3975 has an expiration blocking message3976 subscribable is expiring soon3977 has a nice subject3978 without namespace3979 has an expiration blocking message3980 when a future dated license is applied3981 returns nil3982 when self-managed subscription is already renewed3983 does not return a message3984 with namespace3985 has bronze plan specific messaging3986 plan: "gold"3987 has plan specific messaging3988 plan: "ultimate"3989 has plan specific messaging3990 plan: "silver"3991 has plan specific messaging3992 plan: "premium"3993 has plan specific messaging3994 is auto_renew nil3995 returns nil3996 is auto_renew3997 returns nil3998 when there is a future renewal3999 is expected to be nil4000 without gitlab_subscription4001 does not check for a future renewal4002 with a sub-group4003 checks for a future renewal4004 when parent namespace has a future renewal4005 is expected to be nil4006 no subscribable installed4007 is expected to be blank4008Boards::Issues::CreateService4009 #execute4010 saved board configuration4011 adds the board assignee, weight, labels and milestone to the issue4012 when board is scoped by weight4013 creates issue weight 0 weight4014 creates issue with nil weight4015 when board weight is invalid4016 creates issue with nil weight4017 assignees list4018 assigns the issue to the List assignee4019 milestone list4020 assigns the issue to the list milestone4021Vulnerabilities::StarboardVulnerabilityCreateService4022 with authorized user4023 with feature enabled4024 creates Vulnerability4025 has correct data4026 sets cluster_agent.has_vulnerability to true4027 when there is an identifier for a different project4028 does not reuse another project's identifier4029 creates a new identifier4030 when there is a scanner for a different project4031 does not reuse another project's scanner4032 creates a new scanner4033 with feature disabled4034 raises AccessDeniedError4035 with unauthorized user4036 raises AccessDeniedError4037Vulnerabilities::Export4038 is expected to define :format as an enum backed by an integer4039 associations4040 is expected to belong to project required: false4041 is expected to belong to group required: false4042 is expected to belong to author class_name => User required: true4043 validations4044 is expected to validate that :status cannot be empty/falsy4045 is expected to validate that :format cannot be empty/falsy4046 is expected not to validate that :file cannot be empty/falsy4047 when export is finished4048 is expected to validate that :file cannot be empty/falsy4049 presence of both project and group4050 when the project is present4051 when the group is present4052 is expected to include "Project & Group can not be assigned at the same time"4053 when the group is not present4054 is expected not to include "Project & Group can not be assigned at the same time"4055 when the project is not present4056 when the group is present4057 is expected not to include "Project & Group can not be assigned at the same time"4058 when the group is not present4059 is expected not to include "Project & Group can not be assigned at the same time"4060 #status4061 when the export is new4062 is expected to have attributes {:status => "created"}4063 when the export starts4064 is expected to have attributes {:started_at => 2022-11-04 14:37:26.000000000 +0000, :status => "running"}4065 when the export is running4066 and it finishes4067 is expected to have attributes {:finished_at => 2022-11-04 14:37:27.000000000 +0000, :status => "finished"}4068 and it fails4069 is expected to have attributes {:finished_at => 2022-11-04 14:37:28.000000000 +0000, :status => "failed"}4070 #exportable4071 when the export has project assigned4072 is expected to eq #<Project id: namespace1003/project961>>4073 when the export does not have project assigned4074 when the export has group assigned4075 is expected to eq #<Group id: @group158>4076 when the export does not have group assigned4077 is expected to eq #<InstanceDouble(InstanceSecurityDashboard) (anonymous)>4078 #exportable=4079 when the exportable is a Project4080 changes the exportable of the export to given project4081 when the exportable is a Group4082 changes the exportable of the export to given group4083 when the exportable is an InstanceSecurityDashboard4084 changes the exportable of the export to security dashboard of the author4085 when the exportable is a String4086 raises an exception4087 #completed?4088 when status is created4089 is expected not to be completed4090 when status is running4091 is expected not to be completed4092 when status is finished4093 is expected to be completed4094 when status is failed4095 is expected to be completed4096EnvironmentsHelper4097 #environment_logs_data4098 returns environment parameters data4099 returns parameters for forming the pod logs API URL4100 #deployment_approval_data4101 provides data for a deployment approval4102 #show_deployment_approval?4103 can read deployment4104 returns true4105 cannot read deployment4106 returns false4107 #can_approve_deployment?4108 when environment has a unified approval setting4109 user has access4110 with required approvals count = 04111 returns false4112 with required approvals count > 04113 returns true4114 user does not have access4115 returns false4116 when environment has multiple approval rules4117 user has access4118 returns true4119 user does not have access4120 with no matching approval rules4121 returns false4122 when cannot read deployment4123 returns false4124Mutations::Epics::Update4125 #resolve4126 behaves like permission level for epic mutation is correctly verified4127 when the user is not a group member4128 behaves like when the user does not have access to the resource4129 raises an error4130 even if author of the epic4131 raises an error4132 even if assigned to the epic4133 raises an error4134 even if maintainer of the project4135 raises an error4136 when the user is a group member4137 with guest role4138 behaves like when the user does not have access to the resource4139 raises an error4140 even if author of the epic4141 raises an error4142 even if assigned to the epic4143 raises an error4144 even if maintainer of the project4145 raises an error4146Geo::NodeUpdateService4147 #execute4148 updates the node4149 returns true when update succeeds4150 returns false when update fails4151 selective sync disabled4152 does not log an event to the Geo event log when adding restrictions4153 selective sync by namespaces4154 logs an event to the Geo event log when adding namespace restrictions4155 does not log an event to the Geo event log when removing namespace restrictions4156 does not log an event to the Geo event log when node is a primary node4157 selective sync by shards4158 logs an event to the Geo event log when adding shard restrictions4159 does not log an event to the Geo event log when removing shard restrictions4160 does not log an event to the Geo event log when node is a primary node4161Users::UpdateService4162 #execute4163 does not update email if an user has group managed account4164 does not update commit email if an user has group managed account4165 does not update public email if an user has group managed account4166 does not update notification email if an user has group managed account4167 updating name4168 when `disable_name_update_for_users` feature is available4169 when the ability to update their name is not disabled for users4170 behaves like a user can update the name4171 updates the name4172 when admin mode is enabled4173 behaves like a user can update the name4174 updates the name4175 when the ability to update their name is disabled for users4176 as a regular user4177 behaves like a user cannot update the name4178 does not update the name4179 when admin mode is enabled4180 behaves like a user can update the name4181 updates the name4182 when admin mode is disabled4183 behaves like a user cannot update the name4184 does not update the name4185 when `disable_name_update_for_users` feature is not available4186 behaves like a user can update the name4187 updates the name4188 when admin mode is enabled4189 behaves like a user can update the name4190 updates the name4191 when admin mode is disabled4192 behaves like a user cannot update the name4193 does not update the name4194 audit events4195 licensed4196 updating administrator status4197 logs making a user an administrator4198 logs making an administrator a user4199 updating username4200 logs audit event4201 with an admin user4202 allowed params4203 with identity4204 adds identity to user4205 adds two different identities to user4206Ci::CompareLicenseScanningReportsService4207 #execute4208 when loading data for multiple reports4209 loads the data efficiently4210 when head pipeline has license scanning reports4211 reports new licenses4212 when head pipeline has not run and base pipeline is for a forked project4213 reports new licenses4214 when base and head pipelines have test reports4215 reports status as parsed4216 reports new licenses4217 reports existing licenses4218 reports removed licenses4219 when head pipeline has corrupted license scanning reports4220 does not expose parser errors4221 when the base pipeline is nil4222 does not expose parser errors4223Vulnerabilities::HistoricalStatistic4224 associations4225 is expected to belong to project required: true4226 validations4227 is expected to validate that :date cannot be empty/falsy4228 is expected to validate that :letter_grade cannot be empty/falsy4229 is expected to validate that :total looks like a number greater than or equal to 04230 is expected to validate that :critical looks like a number greater than or equal to 04231 is expected to validate that :high looks like a number greater than or equal to 04232 is expected to validate that :medium looks like a number greater than or equal to 04233 is expected to validate that :low looks like a number greater than or equal to 04234 is expected to validate that :unknown looks like a number greater than or equal to 04235 is expected to validate that :info looks like a number greater than or equal to 04236 is expected to define :letter_grade as an enum backed by an integer with values ‹[:a, :b, :c, :d, :f]›4237 .older_than4238 is expected to contain exactly #<Vulnerabilities::HistoricalStatistic id: 2, created_at: "2022-11-04 14:37:58.268754655 +0000", upda...critical: 0, high: 0, medium: 0, low: 0, unknown: 0, info: 0, date: "2022-07-27", letter_grade: "a"> and #<Vulnerabilities::HistoricalStatistic id: 3, created_at: "2022-11-04 14:37:58.572256527 +0000", upda...critical: 0, high: 0, medium: 0, low: 0, unknown: 0, info: 0, date: "2022-07-26", letter_grade: "a">4239 .between_dates4240 is expected to contain exactly #<Vulnerabilities::HistoricalStatistic id: 5, created_at: "2022-11-04 14:37:59.267432215 +0000", upda...critical: 0, high: 0, medium: 0, low: 0, unknown: 0, info: 0, date: "2020-08-11", letter_grade: "a">, #<Vulnerabilities::HistoricalStatistic id: 6, created_at: "2022-11-04 14:37:59.538358515 +0000", upda...critical: 0, high: 0, medium: 0, low: 0, unknown: 0, info: 0, date: "2020-08-12", letter_grade: "a">, and #<Vulnerabilities::HistoricalStatistic id: 7, created_at: "2022-11-04 14:37:59.775028885 +0000", upda...critical: 0, high: 0, medium: 0, low: 0, unknown: 0, info: 0, date: "2020-08-13", letter_grade: "a">4241 is expected not to include #<Vulnerabilities::HistoricalStatistic id: 4, created_at: "2022-11-04 14:37:58.902857560 +0000", upda...critical: 0, high: 0, medium: 0, low: 0, unknown: 0, info: 0, date: "2020-08-10", letter_grade: "a">4242 .for_project4243 is expected to contain exactly #<Vulnerabilities::HistoricalStatistic id: 8, created_at: "2022-11-04 14:38:00.572709477 +0000", upda...critical: 0, high: 0, medium: 0, low: 0, unknown: 0, info: 0, date: "2022-11-04", letter_grade: "a">4244 .grouped_by_date4245 is expected to contain exactly [Mon, 10 Aug 2020, 2] and [Tue, 11 Aug 2020, 1]4246 .aggregated_by_date4247 is expected to contain exactly {"critical"=>12, "date"=>"2020-08-10", "high"=>10, "id"=>nil, "info"=>2, "low"=>6, "medium"=>8, "total"=>42, "unknown"=>4} and {"critical"=>12, "date"=>"2020-08-11", "high"=>11, "id"=>nil, "info"=>7, "low"=>9, "medium"=>10, "total"=>57, "unknown"=>8}4248IssuableMetricImage4249 associations4250 is expected to belong to issue required: false4251 validation4252 is expected not to allow :file to be ‹#<Rack::Test::UploadedFile:0x00007fb43901f5c8 @original_filename="doc_sample.txt", @tempfile=#<Tempfile:/tmp/doc_sample20221104-468-1idfo6z.txt>, @content_type="text/plain">›4253 is expected to allow :file to be ‹#<Rack::Test::UploadedFile:0x00007fb43828c780 @original_filename="rails_sample.jpg", @tempfile=#<Tempfile:/tmp/rails_sample20221104-468-1blst5l.jpg>, @content_type="image/jpg">›4254 is expected to validate that the length of :url_text is at most 1284255 url4256 is expected not to allow :url to be ‹"test"›4257 is expected not to allow :url to be ‹"www.gitlab.com"›4258 is expected to allow :url to be ‹""›4259 is expected to allow :url to be ‹"http://www.gitlab.com"›4260 is expected to allow :url to be ‹"https://www.gitlab.com"›4261 scopes4262 .order_created_at_asc4263 orders in ascending order4264 .available_for?4265 license enabled4266 is expected to eq true4267 license disabled4268 is expected to eq false4269 #file_path4270 with asset host configured4271 returns a full URL with the asset host and system path4272 no asset path configured4273 returns a full URL with the base url and system path4274Geo::GroupWikiRepositoryRegistry4275 factory is valid4276 scopes4277 sync_timed_out4278 return correct records4279 finders4280 .find_registries_never_attempted_sync4281 returns unsynced items4282 returns items that never have an attempt to sync except some specific item ID4283 .find_registries_needs_sync_again4284 returns failed items4285 returns failed items except some specific item ID4286 orders records according to retry_at4287 .fail_sync_timeouts4288 marks started records as failed if they are expired4289 #failed!4290 sets last_sync_failure with message4291 truncates a long last_sync_failure4292 increments retry_count4293 sets retry_at to a time in the future4294 when an error is given4295 includes error.message in last_sync_failure4296 when missing_on_primary is not given4297 caps retry_at to default 1 hour4298 when missing_on_primary is falsey4299 caps retry_at to default 1 hour4300 when missing_on_primary is truthy4301 caps retry_at to 4 hours4302DependencyListEntity4303 behaves like report list4304 #as_json4305 with success build4306 with provided items4307 has array of items with status ok4308 with no items4309 has empty array of items with status no_items4310 with failed build4311 with authorized user4312 has job_path with status failed_job4313 without authorized user4314 has only status failed_job4315 with no build4316 has status job_not_set_up and no job_path4317Projects::Alerting::NotifyService4318 #execute4319 existing alert with same payload fingerprint4320 generic fingerprinting license not enabled4321 creates AlertManagement::Alert4322 does not increment the existing alert count4323 generic fingerprinting license enabled4324 does not create AlertManagement::Alert4325 increments the existing alert count4326 end_time provided for subsequent alert4327 does not create AlertManagement::Alert4328 resolves the existing alert4329 with escalation policies feature not enabled4330 behaves like does not create or delete any escalations4331 is expected to not change `IncidentManagement::PendingEscalations::Alert.count` and not change `IncidentManagement::PendingEscalations::Issue.count`4332 with escalation policies feature enabled4333 is expected to receive perform_async(a kind of Integer) 1 time4334 existing alert with same payload fingerprint4335 behaves like does not create or delete any escalations4336 is expected to not change `IncidentManagement::PendingEscalations::Alert.count` and not change `IncidentManagement::PendingEscalations::Issue.count`4337 with resolving payload4338 is expected to change `target.pending_escalations.reload.count` from 1 to 04339Mutations::DastSiteProfiles::Update4340 is expected to require graphql authorizations :create_on_demand_dast_scan4341 #resolve4342 when on demand scan feature is enabled4343 when the user can run a dast scan4344 calls the dast_site_profile update service4345 updates the dast_site_profile4346 returns the complete dast_site_profile4347 when secret variables already exist4348 when the arguments are omitted4349 does not delete the secret variable4350 when the arguments are empty strings4351 deletes secret variables4352 when variable creation fails4353 returns an error and the dast_site_profile4354 when the feature flag dast_api_scanner is disabled4355 does not update the scan_method and uses the default value according to the target_type4356 does not update the scan_file_path4357Geo::ContainerRepositorySyncService4358 lease handling4359 returns the lease when sync succeeds4360 returns the lease when sync fails4361 skips syncing repositories if cannot obtain a lease4362 #execute4363 fails registry record if there was exception4364 finishes registry record if there was no exception4365 finishes registry record if there was no exception and registy does not exist4366 race condition when ContainerRepositoryUpdatedEvent was processed during a sync4367 reschedules the sync4368EE::ResourceEvents::SyntheticIterationNotesBuilderService4369 #execute4370 builds notes for existing resource iteration events4371 behaves like filters by paginated notes4372 only returns given notes4373 when paginated notes is empty4374 does not return any notes4375Gitlab::LegacyGithubImport::ProjectCreator4376 #execute4377 creating a CI/CD only project4378 creates a project4379 calls the service to set up the project4380 creating a regular project4381 creates a project4382 doesn't apply any special setup4383Resolvers::Boards::BoardListEpicsResolver4384 is expected to have nullable GraphQL type EpicConnection4385 #resolve4386 returns epics on the board list ordered by position on the board4387 when filtering4388 by label4389 is expected to contain exactly #<Epic id:56 group224&4>4390 by author4391 is expected to contain exactly #<Epic id:57 group224&5>4392 by reaction emoji4393 is expected to contain exactly #<Epic id:53 group224&1>4394 by title and description4395 is expected to contain exactly #<Epic id:56 group224&4> and #<Epic id:57 group224&5>4396 with negated filters4397 by label4398 is expected to contain exactly #<Epic id:53 group224&1>, #<Epic id:54 group224&2>, and #<Epic id:57 group224&5>4399 by author4400 is expected to contain exactly #<Epic id:53 group224&1>, #<Epic id:56 group224&4>, and #<Epic id:57 group224&5>4401 by emoji4402 is expected to contain exactly #<Epic id:54 group224&2>, #<Epic id:56 group224&4>, and #<Epic id:57 group224&5>4403Backup::Repositories4404 #dump4405DEPRECATION WARNING: Merging ("members"."access_level" != $1) and ("members"."access_level" = $1) no longer maintain both conditions, and will be replaced by the latter in Rails 7.0. To migrate to Rails 7.0's behavior, use `relation.merge(other, rewhere: true)`. (called from block in write_using_load_balancer at /builds/gitlab-org/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:120)4406 calls enqueue for each repository type4407DEPRECATION WARNING: Merging ("members"."access_level" != $1) and ("members"."access_level" = $1) no longer maintain both conditions, and will be replaced by the latter in Rails 7.0. To migrate to Rails 7.0's behavior, use `relation.merge(other, rewhere: true)`. (called from block in write_using_load_balancer at /builds/gitlab-org/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:120)4408DEPRECATION WARNING: Merging ("members"."access_level" != $1) and ("members"."access_level" = $1) no longer maintain both conditions, and will be replaced by the latter in Rails 7.0. To migrate to Rails 7.0's behavior, use `relation.merge(other, rewhere: true)`. (called from block in write_using_load_balancer at /builds/gitlab-org/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:120)4409 avoids N+1 database queries4410 command failure4411DEPRECATION WARNING: Merging ("members"."access_level" != $1) and ("members"."access_level" = $1) no longer maintain both conditions, and will be replaced by the latter in Rails 7.0. To migrate to Rails 7.0's behavior, use `relation.merge(other, rewhere: true)`. (called from block in write_using_load_balancer at /builds/gitlab-org/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:120)4412 enqueue_group raises an error4413 group query raises an error4414 storages4415DEPRECATION WARNING: Merging ("members"."access_level" != $1) and ("members"."access_level" = $1) no longer maintain both conditions, and will be replaced by the latter in Rails 7.0. To migrate to Rails 7.0's behavior, use `relation.merge(other, rewhere: true)`. (called from block in write_using_load_balancer at /builds/gitlab-org/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:120)4416 calls enqueue for all repositories on the specified storage4417 #restore4418DEPRECATION WARNING: Merging ("members"."access_level" != $1) and ("members"."access_level" = $1) no longer maintain both conditions, and will be replaced by the latter in Rails 7.0. To migrate to Rails 7.0's behavior, use `relation.merge(other, rewhere: true)`. (called from block in write_using_load_balancer at /builds/gitlab-org/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:120)4419 calls enqueue for each repository type4420 storages4421DEPRECATION WARNING: Merging ("members"."access_level" != $1) and ("members"."access_level" = $1) no longer maintain both conditions, and will be replaced by the latter in Rails 7.0. To migrate to Rails 7.0's behavior, use `relation.merge(other, rewhere: true)`. (called from block in write_using_load_balancer at /builds/gitlab-org/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:120)4422 calls enqueue for all repositories on the specified storage4423 paths4424 calls enqueue for all descendant repositories on the specified group4425Security::TrainingProviders::SecureCodeWarriorUrlFinder4426 #execute4427 when external_type is present in allowed list4428 when response is nil4429 returns nil4430 when response is not nil4431 returns content url hash4432 when external_type is not present in allowed list4433 returns nil4434 #full_url4435 returns full url path4436 when identifier contains CWE-{number} format4437 returns full url path with proper mapping key4438 when identifier contains owasp identifier4439 returns full url path with proper mapping key4440 when a language is provided4441 returns full url path with the language parameter mapped4442 #determine_mapping_key4443 when owasp4444 returns external_id4445 when cwe4446 returns parsed identifier name4447 #determine_mapping_list4448 when owasp4449 when owasp-web-20174450 returns proper owasp category4451 when owasp-api-20194452 returns proper owasp category4453 when cwe4454 returns parsed identifier name4455 #allowed_identifier_list4456 returns allowed identifiers4457EventPolicy4458 for epics4459 when the user cannot read the epic4460 is expected not to be allowed :read_event4461 when the user can read the epic4462 is expected to be allowed :read_event4463 for vulnerabilities4464 when the user cannot read the vulnerability4465 is expected not to be allowed :read_event4466 when the user can read the vulnerability4467 is expected to be allowed :read_event4468Releases::CreateEvidenceService4469 when pipeline with artifacts is passed4470 includes test reports in evidence if feature is licenced4471 includes test reports in evidence if feature is unlincenced4472 keeps build report artifacts if feature is licenced4473 does not keep artifacts if feature is unlicenced4474Epics::CloseService4475 #execute4476 when epics are disabled4477 does not close the epic4478 when epics are enabled4479 when a user has permissions to update the epic4480 when closing an opened epic4481 closes the epic4482 changes closed_by4483 changes closed_at4484 creates a resource state event4485 notifies the subscribers4486 creates new event4487 tracks closing the epic4488 when trying to close a closed epic4489 does not change the epic state4490 does not change closed_at4491 does not change closed_by4492 does not create a resource state event4493 does not send any emails4494 does not create an event4495 does not track closing the epic4496 when a user does not have permissions to update epic4497 does not close the epic4498Ci::Runners::RegisterRunnerService#execute4499 with a registration token4500 behaves like a service logging a runner registration audit event4501 returns newly-created Runner4502 when project token is used4503 behaves like a service logging a runner registration audit event4504 returns newly-created Runner4505 when it exceeds the application limits4506 behaves like a service logging a failed runner registration audit event4507 returns a Runner4508 returns a non-persisted Runner4509 when group token is used4510 behaves like a service logging a runner registration audit event4511 returns newly-created Runner4512 when it exceeds the application limits4513 behaves like a service logging a failed runner registration audit event4514 returns a Runner4515 returns a non-persisted Runner4516Repository index4517 when fresh master branch is first pushed, followed by another update, then indexed4518 indexes initial push4519Registrations::ImportNamespaceCreateService4520 # order random4521 #execute4522 when group can be created4523 creates a group4524 passes create_event: true to the Groups::CreateService4525 tracks group creation events4526 does not attempt to create a trial4527 when the group cannot be created4528 does not create a group4529 does not track events for group creation4530 the project is not disregarded completely4531 with trial concerns4532 does not attempt to create a trial4533 with applying for a trial4534 applies a trial4535 with recording a conversion event4536 records a conversion event for the required verification experiment4537IncidentManagement::PendingEscalations::CreateService4538 for alerts4539 feature not available4540 does nothing4541 feature available4542 creates an escalation for each rule for the policy4543 creates the escalations and queues the escalation process check4544 target is resolved4545 does nothing4546 when there is no escalation policy for the project4547 does nothing4548 for incidents4549 feature not available4550 does nothing4551 feature available4552 creates an escalation for each rule for the policy4553 creates the escalations and queues the escalation process check4554 target is resolved4555 does nothing4556 when there is no escalation policy for the project4557 does nothing4558IterationNote4559 .from_event4560 behaves like a synthetic note4561 behaves like a system note4562 has the correct attributes4563 #discussion_id4564 returns the expected discussion id4565 with a remove iteration event4566 creates the expected note4567Gitlab::Insights::Executors::DoraExecutor4568 when Dora::AggregateMetricsService fails4569 raises an error4570 when executing for a group4571 behaves like serialized_data examples4572 returns correctly aggregated data4573 when requesting the lead_time_for_changes metric4574 behaves like serialized_data examples4575 returns correctly aggregated data4576 when requesting the change_failure_rate metric4577 behaves like serialized_data examples4578 returns correctly aggregated data4579 when filtering environment tiers4580 behaves like serialized_data examples4581 returns correctly aggregated data4582 when filtering projects4583 when filtering by id4584 behaves like serialized_data examples4585 returns correctly aggregated data4586 when filtering by full path4587 behaves like serialized_data examples4588 returns correctly aggregated data4589 when unknown group_by is given4590 raises error4591 when unknown chart type is given4592 raises error4593 when executing for a project4594 behaves like serialized_data examples4595 returns correctly aggregated data4596 when filtering projects4597 when filtering by id4598 behaves like serialized_data examples4599 returns correctly aggregated data4600 when filtering out the current project4601 behaves like serialized_data examples4602 returns correctly aggregated data4603WorkItems::UpdateService4604 #execute4605 behaves like work item widgetable service4606 executes callbacks for expected widgets4607 when updating widgets4608 for the weight widget4609 when weight is changed4610 triggers 'issuableWeightUpdated' for issuable weight update subscription4611 when weight remains unchanged4612 does not trigger 'issuableWeightUpdated' for issuable weight update subscription4613 when weight widget param is not provided4614 does not trigger 'issuableWeightUpdated' for issuable weight update subscription4615 for the iteration widget4616 when iteration is changed4617 triggers 'issuableIterationUpdated' for issuable iteration update subscription4618 when iteration remains unchanged4619 does not trigger 'issuableIterationUpdated' for issuable iteration update subscription4620 when iteration widget param is not provided4621 does not trigger 'issuableIterationUpdated' for issuable iteration update subscription4622PersonalAccessTokens::RotationVerifierService4623 #expired?4624 when no new token was created after notification for expired token started4625 behaves like rotation required4626 is expected to equal true4627 cache4628 behaves like stores in cache4629 is expected to eq true4630 when token was created after notification for expired token started4631 behaves like rotation NOT required4632 is expected to equal false4633 cache4634 behaves like stores in cache4635 is expected to eq false4636 with multiple expired tokens4637 when no new token was created after notification for expired token started4638 behaves like rotation required4639 is expected to equal true4640 when new token was created after notification for ONLY first expired token started4641 behaves like rotation required4642 is expected to equal true4643 when new token was created after notification for most recent expired token started4644 behaves like rotation NOT required4645 is expected to equal false4646 For user with no PATs4647 behaves like rotation NOT required4648 is expected to equal false4649 #expiring_soon?4650 when no new token was created after notification for recent expiring token started4651 behaves like rotation required4652 is expected to equal true4653 cache4654 behaves like stores in cache4655 is expected to eq true4656 when token was created after notification for recent expiring token started4657 behaves like rotation NOT required4658 is expected to equal false4659 cache4660 behaves like stores in cache4661 is expected to eq false4662 with multiple expiring tokens4663 when no new token was created after notification for expiring token started4664 behaves like rotation required4665 is expected to equal true4666 when new token was created after notification for ONLY first expiring token started4667 behaves like rotation required4668 is expected to equal true4669 when new token was created after notification for most recent expiring token started4670 behaves like rotation NOT required4671 is expected to equal false4672 For user with no PATs4673 behaves like rotation NOT required4674 is expected to equal false4675 #clear_cache4676 clears cache4677IncidentManagement::IssuableEscalationStatus4678 validations4679 when policy and escalation start time are both provided4680 is expected to be valid4681 when neither policy and escalation start time are provided4682 is expected to be valid4683 when escalation start time is provided without a policy4684 is invalid4685 when policy is provided without an escalation start time4686 is invalid4687 #trigger4688 with escalation policy4689 updates escalations_started_at4690 without escalation policy4691 does not change escalations_started_at4692 acknowledge4693 does not change escalations_started_at4694 ignore4695 does not change escalations_started_at4696 resolve4697 does not change escalations_started_at4698 #escalation_policy4699 is expected to eq nil4700 when escalation policy exists on the project4701 returns the projects first (only) escalation policy4702 #pending_escalation_target4703 is expected to eq #<Issue id:194 namespace1094/project1054#1>4704Verify/Browser-Performance.gitlab-ci.yml4705 the created pipeline4706 has no errors4707 on master4708 behaves like browser_performance job on tag or branch4709 by default4710 on another branch4711 behaves like browser_performance job on tag or branch4712 by default4713 on tag4714 behaves like browser_performance job on tag or branch4715 by default4716 on merge request4717 has no jobs4718AppSec::Dast::SiteValidations::RunnerService4719 execute4720 when on demand scan licensed feature is not available4721 behaves like a failure4722 communicates failure4723 when the feature is enabled4724 communicates success4725 creates a ci_pipeline with an appropriate source4726 makes the correct variables available to the ci_build4727 when pipeline creation fails4728 transitions the dast_site_validation to a failure state4729projects/settings/subscriptions/_index.html.haml4730 has a help link4731 when project has upstream subscription4732 has delete button4733 when project has downstream subscription4734 has no delete button4735Gitlab::Usage::Metrics::Instrumentations::CountCiEnvironmentsApprovalRequired4736 for all time frame4737 behaves like a correct instrumented metric value and query4738 behaves like a correct instrumented metric value4739 has correct value4740 behaves like a correct instrumented metric query4741 has correct generate query4742 with multiple approvals per environment4743 behaves like a correct instrumented metric value and query4744 behaves like a correct instrumented metric value4745 has correct value4746 behaves like a correct instrumented metric query4747 has correct generate query4748 for 28d time frame4749 behaves like a correct instrumented metric value and query4750 behaves like a correct instrumented metric value4751 has correct value4752 behaves like a correct instrumented metric query4753 has correct generate query4754Gitlab::Geo::LogCursor::Events::HashedStorageAttachmentsEvent4755 #process4756 does not create a new project registry4757 schedules a Geo::HashedStorageAttachmentsMigrationWorker4758 behaves like logs event source info4759 logs `job_id` and `event_id4760Gitlab::Sitemaps::Generator4761 returns error if the env is not .com4762 when env is .com4763 returns error if group gitlab-org is not found4764 when group gitlab-org is present and public4765 and it is not public4766 returns and error4767 and it is public4768 includes default explore routes and gitlab-org group routes4769gitlab:rake tasks4770 import4771 with successful download of the catalogue4772 saves the catalogue to the file4773 when downloaded catalogue is broken4774 raises parsing failure4775 with network failure4776 raises network failure error4777ProductAnalytics::JitsuAuthentication4778 # order random4779 #create_api_key!4780 when request is successful4781 is expected to eq {:jsAuth=>"Mp1N4PYvRXNk1KIh2MLDE7BYghnSwdnt", :uid=>"yijlmncqjot0xy9h6rv54p.s7zz20"}4782 is expected to change `ProjectSetting#jitsu_key` from nil to "Mp1N4PYvRXNk1KIh2MLDE7BYghnSwdnt"4783 when request is unsuccessful4784 behaves like returns nil and logs the API error4785 is expected to be nil4786 when request throws an exception4787 behaves like returns nil and logs the exception4788 is expected to be nil4789 #create_clickhouse_destination4790 when request is successful4791 is expected not to be nil4792 when request is unsuccessful4793 behaves like returns nil and logs the API error4794 is expected to be nil4795 when request throws an exception4796 behaves like returns nil and logs the exception4797 is expected to be nil4798 #generate_access_token4799 when request is successful4800 is expected to eq "thisisanaccesstoken"4801 when request is unsuccessful4802 behaves like returns nil and logs the API error4803 is expected to be nil4804 when request throws an exception4805 behaves like returns nil and logs the exception4806 is expected to be nil4807EE check.rake4808 gitlab:check rake task4809 runs the Geo check4810AppSec::Dast::SiteValidations::RevokeService4811 execute4812 when on demand scan licensed feature is not available4813 communicates failure4814 when the feature is enabled4815 communicates success4816 deletes only dast_site_validation validations in the same project that share a common url_base4817 returns a count of the dast_site_validations that were deleted4818 when the finder does not find any dast_site_validations4819 communicates success4820 is a noop4821 when a param is missing4822 communicates failure4823AwardEmojis::AddService4824 #execute4825 publish to status page4826 when adding succeeds4827 with recognized emoji4828 triggers status page publish4829 with unrecognized emoji4830 does not trigger status page publish service4831 when adding fails4832 does not trigger status page publish service4833 tracking emoji adding4834 for epics4835 tracks usage4836 for awardables that are not epics4837 does not track epic emoji awarding4838IdentityProviderPolicy4839 #rules4840 when user is group managed4841 is expected not to be allowed :link4842 is expected not to be allowed :unlink4843 owner is not yet group managed4844 no other owners exist4845 is expected not to be allowed :unlink4846 another group owner exists4847 without sso linked4848 is expected not to be allowed :unlink4849 with sso linked4850 is expected to be allowed :unlink4851 managed by the group4852 is expected to be allowed :unlink4853Groups::SeatUsageExportService4854 #execute4855 when user is allowed to export seat usage data4856 when successful4857 when group has members4858 returns csv data4859 when group has no members4860 returns no rows4861 when it fails4862 returns error4863 when user is not allowed to export seat usage data4864 returns error4865SystemNotes::VulnerabilitiesService4866 #change_vulnerability_state4867 state changed to dismissed4868 creates the note text correctly4869 behaves like a system note4870 has the correct attributes4871 state changed to resolved4872 creates the note text correctly4873 behaves like a system note4874 has the correct attributes4875 state changed to confirmed4876 creates the note text correctly4877 behaves like a system note4878 has the correct attributes4879SoftwareLicensePoliciesFinder4880 searched by name4881 by name finds the software license policy by name4882 searched by name_or_id4883 with a name4884 by name_or_id finds the software license policy by name4885 with an id4886 by name or id finds the software license policy by id4887Clusters::AgentsFinder4888 #execute4889 user does not have permission4890 is expected to be empty4891 filtering by has_vulnerabilities4892 when params are not provided4893 is expected to contain exactly #<Clusters::Agent id: 10, created_at: "2022-11-04 14:40:17.425360145 +0000", updated_at: "2022-11-04 ...45 +0000", project_id: 1015, name: "agent-10", created_by_user_id: 1654, has_vulnerabilities: false> and #<Clusters::Agent id: 11, created_at: "2022-11-04 14:40:17.507910725 +0000", updated_at: "2022-11-04 ...725 +0000", project_id: 1015, name: "agent-11", created_by_user_id: 1655, has_vulnerabilities: true>4894 when has_vulnerabilities is set to true4895 is expected to contain exactly #<Clusters::Agent id: 11, created_at: "2022-11-04 14:40:17.507910725 +0000", updated_at: "2022-11-04 ...725 +0000", project_id: 1015, name: "agent-11", created_by_user_id: 1655, has_vulnerabilities: true>4896 when has_vulnerabilities is set to false4897 is expected to contain exactly #<Clusters::Agent id: 10, created_at: "2022-11-04 14:40:17.425360145 +0000", updated_at: "2022-11-04 ...45 +0000", project_id: 1015, name: "agent-10", created_by_user_id: 1654, has_vulnerabilities: false>4898Gitlab::Ci::Parsers::Security::Validators::DefaultBranchImageValidator4899 #valid?4900 when image name is blank4901 is expected to equal false4902 when image name is present4903 when there is no vulnerability with given location for project4904 is expected to equal false4905 queries database only once per image name4906 when there is at least one vulnerability with given location for project4907 is expected to equal true4908 queries database only once per image name4909Gitlab::Geo::LogCursor::Events::ResetChecksumEvent4910 #process4911 when a tracking entry does not exist4912 does not create a tracking entry4913 logs an info event4914 when a tracking entry exists4915 resets repository/wiki verification state4916 logs an info event4917EventCreateService4918 Epics4919 #open_epic4920 creates new event4921 #close_epic4922 creates new event4923 #reopen_epic4924 creates new event4925 #leave_note4926 creates new event4927Security::Ingestion::IngestReportsService4928 #execute4929 calls IngestReportService for each succeeded security scan4930 sets the resolved vulnerabilities, latest pipeline ID and has_vulnerabilities flag4931 calls MarkAsResolvedService with the recently ingested vulnerability IDs4932 calls ScheduleMarkDroppedAsResolvedService with primary identifier IDs4933 scheduling the AutoFix background job4934 when the auto_fix is not enabled for the project4935 when the pipeline does not have any auto fix enabled report type4936 does not schedule the background job4937 when the pipeline has an auto fix enabled report type4938 does not schedule the background job4939 when the auto_fix is enabled for the project4940 when the pipeline does not have any auto fix enabled report type4941 does not schedule the background job4942 when the pipeline has an auto fix enabled report type4943 does not schedule the background job4944Elastic::Latest::CustomLanguageAnalyzers4945 .custom_analyzers_mappings4946 returns correct structure4947 .custom_analyzers_fields4948 smartcn_enabled: false, kuromoji_enabled: false, expected_result: {}4949 returns correct config4950 smartcn_enabled: true, kuromoji_enabled: false, expected_result: {:smartcn=>{:analyzer=>"smartcn", :type=>:text}}4951 returns correct config4952 smartcn_enabled: false, kuromoji_enabled: true, expected_result: {:kuromoji=>{:analyzer=>"kuromoji", :type=>:text}}4953 returns correct config4954 smartcn_enabled: true, kuromoji_enabled: true, expected_result: {:smartcn=>{:analyzer=>"smartcn", :type=>:text}, :kuromoji=>{:analyzer=>"kuromoji", :type=>:text}}4955 returns correct config4956 .add_custom_analyzers_fields4957 smartcn_enabled: false, kuromoji_enabled: false, smartcn_search: false, kuromoji_search: false, expected_additional_fields: []4958 returns correct fields4959 smartcn_enabled: false, kuromoji_enabled: false, smartcn_search: true, kuromoji_search: true, expected_additional_fields: []4960 returns correct fields4961 smartcn_enabled: true, kuromoji_enabled: true, smartcn_search: false, kuromoji_search: false, expected_additional_fields: []4962 returns correct fields4963 smartcn_enabled: true, kuromoji_enabled: true, smartcn_search: true, kuromoji_search: false, expected_additional_fields: ["title.smartcn"]4964 returns correct fields4965 smartcn_enabled: true, kuromoji_enabled: true, smartcn_search: false, kuromoji_search: true, expected_additional_fields: ["title.kuromoji"]4966 returns correct fields4967 smartcn_enabled: true, kuromoji_enabled: true, smartcn_search: true, kuromoji_search: true, expected_additional_fields: ["title.smartcn", "title.kuromoji"]4968 returns correct fields4969Gitlab::SPDX::Catalogue4970 #version4971 is expected to eql "19824769-d250-48fb-94d8-363658358e3e"4972 #each4973 is expected to eql 3964974 is expected to contain exactly "0BSD", "AAL", "ADSL", "AFL-1.1", "AFL-1.2", "AFL-2.0", "AFL-2.1", "AFL-3.0", "AGPL-1.0", "AGPL-1.0-only", "AGPL-1.0-or-later", "AGPL-3.0", "AGPL-3.0-only", "AGPL-3.0-or-later", "AMDPLPA", "AML", "AMPAS", "ANTLR-PD", "APAFML", "APL-1.0", "APSL-1.0", "APSL-1.1", "APSL-1.2", "APSL-2.0", "Abstyles", "Adobe-2006", "Adobe-Glyph", "Afmparse", "Aladdin", "Apache-1.0", "Apache-1.1", "Apache-2.0", "Artistic-1.0", "Artistic-1.0-Perl", "Artistic-1.0-cl8", "Artistic-2.0", "BSD-1-Clause", "BSD-2-Clause", "BSD-2-Clause-FreeBSD", "BSD-2-Clause-NetBSD", "BSD-2-Clause-Patent", "BSD-3-Clause", "BSD-3-Clause-Attribution", "BSD-3-Clause-Clear", "BSD-3-Clause-LBNL", "BSD-3-Clause-No-Nuclear-License", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause-No-Nuclear-Warranty", "BSD-3-Clause-Open-MPI", "BSD-4-Clause", "BSD-4-Clause-UC", "BSD-Protection", "BSD-Source-Code", "BSL-1.0", "Bahyph", "Barr", "Beerware", "BitTorrent-1.0", "BitTorrent-1.1", "BlueOak-1.0.0", "Borceux", "CATOSL-1.1", "CC-BY-1.0", "CC-BY-2.0", "CC-BY-2.5", "CC-BY-3.0", "CC-BY-4.0", "CC-BY-NC-1.0", "CC-BY-NC-2.0", "CC-BY-NC-2.5", "CC-BY-NC-3.0", "CC-BY-NC-4.0", "CC-BY-NC-ND-1.0", "CC-BY-NC-ND-2.0", "CC-BY-NC-ND-2.5", "CC-BY-NC-ND-3.0", "CC-BY-NC-ND-4.0", "CC-BY-NC-SA-1.0", "CC-BY-NC-SA-2.0", "CC-BY-NC-SA-2.5", "CC-BY-NC-SA-3.0", "CC-BY-NC-SA-4.0", "CC-BY-ND-1.0", "CC-BY-ND-2.0", "CC-BY-ND-2.5", "CC-BY-ND-3.0", "CC-BY-ND-4.0", "CC-BY-SA-1.0", "CC-BY-SA-2.0", "CC-BY-SA-2.5", "CC-BY-SA-3.0", "CC-BY-SA-4.0", "CC-PDDC", "CC0-1.0", "CDDL-1.0", "CDDL-1.1", "CDLA-Permissive-1.0", "CDLA-Sharing-1.0", "CECILL-1.0", "CECILL-1.1", "CECILL-2.0", "CECILL-2.1", "CECILL-B", "CECILL-C", "CERN-OHL-1.1", "CERN-OHL-1.2", "CNRI-Jython", "CNRI-Python", "CNRI-Python-GPL-Compatible", "CPAL-1.0", "CPL-1.0", "CPOL-1.02", "CUA-OPL-1.0", "Caldera", "ClArtistic", "Condor-1.1", "Crossword", "CrystalStacker", "Cube", "D-FSL-1.0", "DOC", "DSDP", "Dotseqn", "ECL-1.0", "ECL-2.0", "EFL-1.0", "EFL-2.0", "EPL-1.0", "EPL-2.0", "EUDatagrid", "EUPL-1.0", "EUPL-1.1", "EUPL-1.2", "Entessa", "ErlPL-1.1", "Eurosym", "FSFAP", "FSFUL", "FSFULLR", "FTL", "Fair", "Frameworx-1.0", "FreeImage", "GFDL-1.1", "GFDL-1.1-only", "GFDL-1.1-or-later", "GFDL-1.2", "GFDL-1.2-only", "GFDL-1.2-or-later", "GFDL-1.3", "GFDL-1.3-only", "GFDL-1.3-or-later", "GL2PS", "GPL-1.0", "GPL-1.0+", "GPL-1.0-only", "GPL-1.0-or-later", "GPL-2.0", "GPL-2.0+", "GPL-2.0-only", "GPL-2.0-or-later", "GPL-2.0-with-GCC-exception", "GPL-2.0-with-autoconf-exception", "GPL-2.0-with-bison-exception", "GPL-2.0-with-classpath-exception", "GPL-2.0-with-font-exception", "GPL-3.0", "GPL-3.0+", "GPL-3.0-only", "GPL-3.0-or-later", "GPL-3.0-with-GCC-exception", "GPL-3.0-with-autoconf-exception", "Giftware", "Glide", "Glulxe", "HPND", "HPND-sell-variant", "HaskellReport", "IBM-pibs", "ICU", "IJG", "IPA", "IPL-1.0", "ISC", "ImageMagick", "Imlib2", "Info-ZIP", "Intel", "Intel-ACPI", "Interbase-1.0", "JPNIC", "JSON", "JasPer-2.0", "LAL-1.2", "LAL-1.3", "LGPL-2.0", "LGPL-2.0+", "LGPL-2.0-only", "LGPL-2.0-or-later", "LGPL-2.1", "LGPL-2.1+", "LGPL-2.1-only", "LGPL-2.1-or-later", "LGPL-3.0", "LGPL-3.0+", "LGPL-3.0-only", "LGPL-3.0-or-later", "LGPLLR", "LPL-1.0", "LPL-1.02", "LPPL-1.0", "LPPL-1.1", "LPPL-1.2", "LPPL-1.3a", "LPPL-1.3c", "Latex2e", "Leptonica", "LiLiQ-P-1.1", "LiLiQ-R-1.1", "LiLiQ-Rplus-1.1", "Libpng", "Linux-OpenIB", "MIT", "MIT-0", "MIT-CMU", "MIT-advertising", "MIT-enna", "MIT-feh", "MITNFA", "MPL-1.0", "MPL-1.1", "MPL-2.0", "MPL-2.0-no-copyleft-exception", "MS-PL", "MS-RL", "MTLL", "MakeIndex", "MirOS", "Motosoto", "Multics", "Mup", "NASA-1.3", "NBPL-1.0", "NCSA", "NGPL", "NLOD-1.0", "NLPL", "NOSL", "NPL-1.0", "NPL-1.1", "NPOSL-3.0", "NRL", "NTP", "Naumen", "Net-SNMP", "NetCDF", "Newsletr", "Nokia", "Noweb", "Nunit", "OCCT-PL", "OCLC-2.0", "ODC-By-1.0", "ODbL-1.0", "OFL-1.0", "OFL-1.1", "OGL-UK-1.0", "OGL-UK-2.0", "OGL-UK-3.0", "OGTSL", "OLDAP-1.1", "OLDAP-1.2", "OLDAP-1.3", "OLDAP-1.4", "OLDAP-2.0", "OLDAP-2.0.1", "OLDAP-2.1", "OLDAP-2.2", "OLDAP-2.2.1", "OLDAP-2.2.2", "OLDAP-2.3", "OLDAP-2.4", "OLDAP-2.5", "OLDAP-2.6", "OLDAP-2.7", "OLDAP-2.8", "OML", "OPL-1.0", "OSET-PL-2.1", "OSL-1.0", "OSL-1.1", "OSL-2.0", "OSL-2.1", "OSL-3.0", "OpenSSL", "PDDL-1.0", "PHP-3.0", "PHP-3.01", "Parity-6.0.0", "Plexus", "PostgreSQL", "Python-2.0", "QPL-1.0", "Qhull", "RHeCos-1.1", "RPL-1.1", "RPL-1.5", "RPSL-1.0", "RSA-MD", "RSCPL", "Rdisc", "Ruby", "SAX-PD", "SCEA", "SGI-B-1.0", "SGI-B-1.1", "SGI-B-2.0", "SHL-0.5", "SHL-0.51", "SISSL", "SISSL-1.2", "SMLNJ", "SMPPL", "SNIA", "SPL-1.0", "SSPL-1.0", "SWL", "Saxpath", "Sendmail", "Sendmail-8.23", "SimPL-2.0", "Sleepycat", "Spencer-86", "Spencer-94", "Spencer-99", "StandardML-NJ", "SugarCRM-1.1.3", "TAPR-OHL-1.0", "TCL", "TCP-wrappers", "TMate", "TORQUE-1.1", "TOSL", "TU-Berlin-1.0", "TU-Berlin-2.0", "UPL-1.0", "Unicode-DFS-2015", "Unicode-DFS-2016", "Unicode-TOU", "Unlicense", "VOSTROM", "VSL-1.0", "Vim", "W3C", "W3C-19980720", "W3C-20150513", "WTFPL", "Watcom-1.0", "Wsuipa", "X11", "XFree86-1.1", "XSkat", "Xerox", "Xnet", "YPL-1.0", "YPL-1.1", "ZPL-1.1", "ZPL-2.0", "ZPL-2.1", "Zed", "Zend-2.0", "Zimbra-1.3", "Zimbra-1.4", "Zlib", "blessing", "bzip2-1.0.5", "bzip2-1.0.6", "copyleft-next-0.3.0", "copyleft-next-0.3.1", "curl", "diffmark", "dvipdfm", "eCos-2.0", "eGenix", "gSOAP-1.3b", "gnuplot", "iMatix", "libpng-2.0", "libtiff", "mpich2", "psfrag", "psutils", "wxWindows", "xinetd", "xpp", and "zlib-acknowledgement"4975 is expected to contain exactly "BSD Zero Clause License", "Attribution Assurance License", "Amazon Digital Services License", "Academic Free License v1.1", "Academic Free License v1.2", "Academic Free License v2.0", "Academic Free License v2.1", "Academic Free License v3.0", "Affero General Public License v1.0", "Affero General Public License v1.0 only", "Affero General Public License v1.0 or later", "GNU Affero General Public License v3.0", "GNU Affero General Public License v3.0 only", "GNU Affero General Public License v3.0 or later", "AMD's plpa_map.c License", "Apple MIT License", "Academy of Motion Picture Arts and Sciences BSD", "ANTLR Software Rights Notice", "Adobe Postscript AFM License", "Adaptive Public License 1.0", "Apple Public Source License 1.0", "Apple Public Source License 1.1", "Apple Public Source License 1.2", "Apple Public Source License 2.0", "Abstyles License", "Adobe Systems Incorporated Source Code License Agreement", "Adobe Glyph List License", "Afmparse License", "Aladdin Free Public License", "Apache License 1.0", "Apache License 1.1", "Apache License 2.0", "Artistic License 1.0", "Artistic License 1.0 (Perl)", "Artistic License 1.0 w/clause 8", "Artistic License 2.0", "BSD 1-Clause License", "BSD 2-Clause \"Simplified\" License", "BSD 2-Clause FreeBSD License", "BSD 2-Clause NetBSD License", "BSD-2-Clause Plus Patent License", "BSD 3-Clause \"New\" or \"Revised\" License", "BSD with attribution", "BSD 3-Clause Clear License", "Lawrence Berkeley National Labs BSD variant license", "BSD 3-Clause No Nuclear License", "BSD 3-Clause No Nuclear License 2014", "BSD 3-Clause No Nuclear Warranty", "BSD 3-Clause Open MPI variant", "BSD 4-Clause \"Original\" or \"Old\" License", "BSD-4-Clause (University of California-Specific)", "BSD Protection License", "BSD Source Code Attribution", "Boost Software License 1.0", "Bahyph License", "Barr License", "Beerware License", "BitTorrent Open Source License v1.0", "BitTorrent Open Source License v1.1", "Blue Oak Model License 1.0.0", "Borceux license", "Computer Associates Trusted Open Source License 1.1", "Creative Commons Attribution 1.0 Generic", "Creative Commons Attribution 2.0 Generic", "Creative Commons Attribution 2.5 Generic", "Creative Commons Attribution 3.0 Unported", "Creative Commons Attribution 4.0 International", "Creative Commons Attribution Non Commercial 1.0 Generic", "Creative Commons Attribution Non Commercial 2.0 Generic", "Creative Commons Attribution Non Commercial 2.5 Generic", "Creative Commons Attribution Non Commercial 3.0 Unported", "Creative Commons Attribution Non Commercial 4.0 International", "Creative Commons Attribution Non Commercial No Derivatives 1.0 Generic", "Creative Commons Attribution Non Commercial No Derivatives 2.0 Generic", "Creative Commons Attribution Non Commercial No Derivatives 2.5 Generic", "Creative Commons Attribution Non Commercial No Derivatives 3.0 Unported", "Creative Commons Attribution Non Commercial No Derivatives 4.0 International", "Creative Commons Attribution Non Commercial Share Alike 1.0 Generic", "Creative Commons Attribution Non Commercial Share Alike 2.0 Generic", "Creative Commons Attribution Non Commercial Share Alike 2.5 Generic", "Creative Commons Attribution Non Commercial Share Alike 3.0 Unported", "Creative Commons Attribution Non Commercial Share Alike 4.0 International", "Creative Commons Attribution No Derivatives 1.0 Generic", "Creative Commons Attribution No Derivatives 2.0 Generic", "Creative Commons Attribution No Derivatives 2.5 Generic", "Creative Commons Attribution No Derivatives 3.0 Unported", "Creative Commons Attribution No Derivatives 4.0 International", "Creative Commons Attribution Share Alike 1.0 Generic", "Creative Commons Attribution Share Alike 2.0 Generic", "Creative Commons Attribution Share Alike 2.5 Generic", "Creative Commons Attribution Share Alike 3.0 Unported", "Creative Commons Attribution Share Alike 4.0 International", "Creative Commons Public Domain Dedication and Certification", "Creative Commons Zero v1.0 Universal", "Common Development and Distribution License 1.0", "Common Development and Distribution License 1.1", "Community Data License Agreement Permissive 1.0", "Community Data License Agreement Sharing 1.0", "CeCILL Free Software License Agreement v1.0", "CeCILL Free Software License Agreement v1.1", "CeCILL Free Software License Agreement v2.0", "CeCILL Free Software License Agreement v2.1", "CeCILL-B Free Software License Agreement", "CeCILL-C Free Software License Agreement", "CERN Open Hardware License v1.1", "CERN Open Hardware Licence v1.2", "CNRI Jython License", "CNRI Python License", "CNRI Python Open Source GPL Compatible License Agreement", "Common Public Attribution License 1.0", "Common Public License 1.0", "Code Project Open License 1.02", "CUA Office Public License v1.0", "Caldera License", "Clarified Artistic License", "Condor Public License v1.1", "Crossword License", "CrystalStacker License", "Cube License", "Deutsche Freie Software Lizenz", "DOC License", "DSDP License", "Dotseqn License", "Educational Community License v1.0", "Educational Community License v2.0", "Eiffel Forum License v1.0", "Eiffel Forum License v2.0", "Eclipse Public License 1.0", "Eclipse Public License 2.0", "EU DataGrid Software License", "European Union Public License 1.0", "European Union Public License 1.1", "European Union Public License 1.2", "Entessa Public License v1.0", "Erlang Public License v1.1", "Eurosym License", "FSF All Permissive License", "FSF Unlimited License", "FSF Unlimited License (with License Retention)", "Freetype Project License", "Fair License", "Frameworx Open License 1.0", "FreeImage Public License v1.0", "GNU Free Documentation License v1.1", "GNU Free Documentation License v1.1 only", "GNU Free Documentation License v1.1 or later", "GNU Free Documentation License v1.2", "GNU Free Documentation License v1.2 only", "GNU Free Documentation License v1.2 or later", "GNU Free Documentation License v1.3", "GNU Free Documentation License v1.3 only", "GNU Free Documentation License v1.3 or later", "GL2PS License", "GNU General Public License v1.0 only", "GNU General Public License v1.0 or later", "GNU General Public License v1.0 only", "GNU General Public License v1.0 or later", "GNU General Public License v2.0 only", "GNU General Public License v2.0 or later", "GNU General Public License v2.0 only", "GNU General Public License v2.0 or later", "GNU General Public License v2.0 w/GCC Runtime Library exception", "GNU General Public License v2.0 w/Autoconf exception", "GNU General Public License v2.0 w/Bison exception", "GNU General Public License v2.0 w/Classpath exception", "GNU General Public License v2.0 w/Font exception", "GNU General Public License v3.0 only", "GNU General Public License v3.0 or later", "GNU General Public License v3.0 only", "GNU General Public License v3.0 or later", "GNU General Public License v3.0 w/GCC Runtime Library exception", "GNU General Public License v3.0 w/Autoconf exception", "Giftware License", "3dfx Glide License", "Glulxe License", "Historical Permission Notice and Disclaimer", "Historical Permission Notice and Disclaimer - sell variant", "Haskell Language Report License", "IBM PowerPC Initialization and Boot Software", "ICU License", "Independent JPEG Group License", "IPA Font License", "IBM Public License v1.0", "ISC License", "ImageMagick License", "Imlib2 License", "Info-ZIP License", "Intel Open Source License", "Intel ACPI Software License Agreement", "Interbase Public License v1.0", "Japan Network Information Center License", "JSON License", "JasPer License", "Licence Art Libre 1.2", "Licence Art Libre 1.3", "GNU Library General Public License v2 only", "GNU Library General Public License v2 or later", "GNU Library General Public License v2 only", "GNU Library General Public License v2 or later", "GNU Lesser General Public License v2.1 only", "GNU Library General Public License v2.1 or later", "GNU Lesser General Public License v2.1 only", "GNU Lesser General Public License v2.1 or later", "GNU Lesser General Public License v3.0 only", "GNU Lesser General Public License v3.0 or later", "GNU Lesser General Public License v3.0 only", "GNU Lesser General Public License v3.0 or later", "Lesser General Public License For Linguistic Resources", "Lucent Public License Version 1.0", "Lucent Public License v1.02", "LaTeX Project Public License v1.0", "LaTeX Project Public License v1.1", "LaTeX Project Public License v1.2", "LaTeX Project Public License v1.3a", "LaTeX Project Public License v1.3c", "Latex2e License", "Leptonica License", "Licence Libre du Québec – Permissive version 1.1", "Licence Libre du Québec – Réciprocité version 1.1", "Licence Libre du Québec – Réciprocité forte version 1.1", "libpng License", "Linux Kernel Variant of OpenIB.org license", "MIT License", "MIT No Attribution", "CMU License", "Enlightenment License (e16)", "enna License", "feh License", "MIT +no-false-attribs license", "Mozilla Public License 1.0", "Mozilla Public License 1.1", "Mozilla Public License 2.0", "Mozilla Public License 2.0 (no copyleft exception)", "Microsoft Public License", "Microsoft Reciprocal License", "Matrix Template Library License", "MakeIndex License", "MirOS License", "Motosoto License", "Multics License", "Mup License", "NASA Open Source Agreement 1.3", "Net Boolean Public License v1", "University of Illinois/NCSA Open Source License", "Nethack General Public License", "Norwegian Licence for Open Government Data", "No Limit Public License", "Netizen Open Source License", "Netscape Public License v1.0", "Netscape Public License v1.1", "Non-Profit Open Software License 3.0", "NRL License", "NTP License", "Naumen Public License", "Net-SNMP License", "NetCDF license", "Newsletr License", "Nokia Open Source License", "Noweb License", "Nunit License", "Open CASCADE Technology Public License", "OCLC Research Public License 2.0", "Open Data Commons Attribution License v1.0", "ODC Open Database License v1.0", "SIL Open Font License 1.0", "SIL Open Font License 1.1", "Open Government Licence v1.0", "Open Government Licence v2.0", "Open Government Licence v3.0", "Open Group Test Suite License", "Open LDAP Public License v1.1", "Open LDAP Public License v1.2", "Open LDAP Public License v1.3", "Open LDAP Public License v1.4", "Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)", "Open LDAP Public License v2.0.1", "Open LDAP Public License v2.1", "Open LDAP Public License v2.2", "Open LDAP Public License v2.2.1", "Open LDAP Public License 2.2.2", "Open LDAP Public License v2.3", "Open LDAP Public License v2.4", "Open LDAP Public License v2.5", "Open LDAP Public License v2.6", "Open LDAP Public License v2.7", "Open LDAP Public License v2.8", "Open Market License", "Open Public License v1.0", "OSET Public License version 2.1", "Open Software License 1.0", "Open Software License 1.1", "Open Software License 2.0", "Open Software License 2.1", "Open Software License 3.0", "OpenSSL License", "ODC Public Domain Dedication & License 1.0", "PHP License v3.0", "PHP License v3.01", "The Parity Public License 6.0.0", "Plexus Classworlds License", "PostgreSQL License", "Python License 2.0", "Q Public License 1.0", "Qhull License", "Red Hat eCos Public License v1.1", "Reciprocal Public License 1.1", "Reciprocal Public License 1.5", "RealNetworks Public Source License v1.0", "RSA Message-Digest License ", "Ricoh Source Code Public License", "Rdisc License", "Ruby License", "Sax Public Domain Notice", "SCEA Shared Source License", "SGI Free Software License B v1.0", "SGI Free Software License B v1.1", "SGI Free Software License B v2.0", "Solderpad Hardware License v0.5", "Solderpad Hardware License, Version 0.51", "Sun Industry Standards Source License v1.1", "Sun Industry Standards Source License v1.2", "Standard ML of New Jersey License", "Secure Messaging Protocol Public License", "SNIA Public License 1.1", "Sun Public License v1.0", "Server Side Public License, v 1", "Scheme Widget Library (SWL) Software License Agreement", "Saxpath License", "Sendmail License", "Sendmail License 8.23", "Simple Public License 2.0", "Sleepycat License", "Spencer License 86", "Spencer License 94", "Spencer License 99", "Standard ML of New Jersey License", "SugarCRM Public License v1.1.3", "TAPR Open Hardware License v1.0", "TCL/TK License", "TCP Wrappers License", "TMate Open Source License", "TORQUE v2.5+ Software License v1.1", "Trusster Open Source License", "Technische Universitaet Berlin License 1.0", "Technische Universitaet Berlin License 2.0", "Universal Permissive License v1.0", "Unicode License Agreement - Data Files and Software (2015)", "Unicode License Agreement - Data Files and Software (2016)", "Unicode Terms of Use", "The Unlicense", "VOSTROM Public License for Open Source", "Vovida Software License v1.0", "Vim License", "W3C Software Notice and License (2002-12-31)", "W3C Software Notice and License (1998-07-20)", "W3C Software Notice and Document License (2015-05-13)", "Do What The F*ck You Want To Public License", "Sybase Open Watcom Public License 1.0", "Wsuipa License", "X11 License", "XFree86 License 1.1", "XSkat License", "Xerox License", "X.Net License", "Yahoo! Public License v1.0", "Yahoo! Public License v1.1", "Zope Public License 1.1", "Zope Public License 2.0", "Zope Public License 2.1", "Zed License", "Zend License v2.0", "Zimbra Public License v1.3", "Zimbra Public License v1.4", "zlib License", "SQLite Blessing", "bzip2 and libbzip2 License v1.0.5", "bzip2 and libbzip2 License v1.0.6", "copyleft-next 0.3.0", "copyleft-next 0.3.1", "curl License", "diffmark license", "dvipdfm License", "eCos license version 2.0", "eGenix.com Public License 1.1.0", "gSOAP Public License v1.3b", "gnuplot License", "iMatix Standard Function Library Agreement", "PNG Reference Library version 2", "libtiff License", "mpich2 License", "psfrag License", "psutils License", "wxWindows Library License", "xinetd License", "XPP License", and "zlib/libpng License with Acknowledgement"4976 is expected to be truthy4977 is expected to be falsey4978 when some of the licenses are missing an identifier4979 is expected to equal 14980 is expected to contain exactly "valid"4981 when the schema of each license changes4982 is expected to be zero4983 when the schema of the catalogue changes4984 is expected to be zero4985 .latest4986 when the licenses.json endpoint is healthy4987 is expected to equal #<InstanceDouble(Gitlab::SPDX::Catalogue) (anonymous)>4988Security::StoreScansService4989 .execute4990 delegates the call to an instance of `Security::StoreScansService`4991 #execute4992 when the pipeline already has a purged security scan4993 does not store the security scans4994 when the pipeline is for the default branch4995 does not schedule the `StoreSecurityReportsWorker`4996 when the pipeline does not have a purged security scan4997 executes Security::StoreGroupedScansService for each group of artifacts if the feature is available4998 when the pipeline is for the default branch4999 schedules the `StoreSecurityReportsWorker`5000 when the pipeline is not for the default branch5001 does not schedule the `StoreSecurityReportsWorker`5002Ci::Runners::ResetRegistrationTokenService#execute5003 with instance scope5004 behaves like a registration token reset operation5005 without user5006 does not audit and returns error response5007 with unauthorized user5008 does not audit and returns error response5009 with admin user5010 calls security_event on RunnersTokenAuditEventService and returns the new token5011 with group scope5012 behaves like a registration token reset operation5013 without user5014 does not audit and returns error response5015 with unauthorized user5016 does not audit and returns error response5017 with admin user5018 calls security_event on RunnersTokenAuditEventService and returns the new token5019 with project scope5020 behaves like a registration token reset operation5021 without user5022 does not audit and returns error response5023 with unauthorized user5024 does not audit and returns error response5025 with admin user5026 calls security_event on RunnersTokenAuditEventService and returns the new token5027Gitlab::Usage::Metrics::Instrumentations::CountUserMergeRequestsForProjectsWithAppliedScanResultPoliciesMetric5028 # order random5029 behaves like a correct instrumented metric value and query5030 behaves like a correct instrumented metric value5031 has correct value5032 behaves like a correct instrumented metric query5033 has correct generate query5034 behaves like a correct instrumented metric value and query5035 behaves like a correct instrumented metric value5036 has correct value5037 behaves like a correct instrumented metric query5038 has correct generate query5039Namespaces::FreeUserCap::PreviewUsageQuotaAlertComponent5040 when user is authorized to see alert5041 when over limit5042 has content for the preview alert5043 renders all the expected tracking items5044 when alert has been dismissed5045 with a fresh dismissal5046 does not render the alert5047 when alert dismissal has aged out5048 renders the alert5049 when not over the limit5050 does not render the alert5051 when user is not authorized to see alert5052DEPRECATION WARNING: `rendered_component` is deprecated and will be removed in v3.0.0. Use `page` instead. (called from block (3 levels) in <top (required)> at /builds/gitlab-org/gitlab/ee/spec/components/namespaces/free_user_cap/preview_usage_quota_alert_component_spec.rb:98)5053 does not render the alert5054 when user does not exist5055DEPRECATION WARNING: `rendered_component` is deprecated and will be removed in v3.0.0. Use `page` instead. (called from block (3 levels) in <top (required)> at /builds/gitlab-org/gitlab/ee/spec/components/namespaces/free_user_cap/preview_usage_quota_alert_component_spec.rb:108)5056 does not render the alert5057Geo::ContainerRepositorySync5058 #execute5059 single manifest5060 determines list of tags to sync and to remove correctly5061 when primary repository has no tags5062 removes secondary tags and does not fail5063 manifest list5064 pushes the correct blobs and manifests5065 oci manifest list5066 pushes the correct blobs and manifests5067 buildkit cache images5068 pushes the correct blobs and manifests5069ProjectClusterablePresenter5070 #metrics_cluster_path5071 is expected to eq "/namespace1141/project1108/-/clusters/3/metrics"5072Types::Dast::ProfileType5073 is expected to eq "DastProfile"5074 is expected to require graphql authorizations :read_on_demand_dast_scan5075 is expected to have graphql fields :id, :name, :description, :dastSiteProfile, :dastScannerProfile, :dastProfileSchedule, :branch, and :editPath5076 is expected to have graphql field :branch and {:calls_gitaly?=>true}5077 branch field5078 correctly resolves the field5079 editPath field5080 correctly resolves the field5081 dastProfileSchedule field5082 correctly resolves the field5083GitlabSubscriptions::NotifySeatsExceededService5084 #execute5085 when the supplied group is a subgroup5086 returns the relevant error response5087 when the supplied group does not have a subscription5088 returns the relevant error response5089 when the group has not exceeded the purchased seats5090 returns the relevant error response5091 when the top level group has exceeded its purchased seats5092 triggers an email to each group owner and returns successfully5093IssueSerializer5094 sidebar issue serialization5095 matches issue_sidebar json schema5096 sidebar extras issue serialization5097 matches issue_sidebar_extras json schema5098Geo::RepositoryRenamedEvent5099 relationships5100 is expected to belong to project required: false5101 validations5102 is expected to validate that :project cannot be empty/falsy5103 is expected to validate that :repository_storage_name cannot be empty/falsy5104 is expected to validate that :old_path_with_namespace cannot be empty/falsy5105 is expected to validate that :new_path_with_namespace cannot be empty/falsy5106 is expected to validate that :old_wiki_path_with_namespace cannot be empty/falsy5107 is expected to validate that :new_wiki_path_with_namespace cannot be empty/falsy5108 is expected to validate that :old_path cannot be empty/falsy5109 is expected to validate that :new_path cannot be empty/falsy5110Projects::OnDemandScansHelper5111 #on_demand_scans_data5112 returns proper data5113 #on_demand_scans_form_data5114 returns proper data5115GitlabSubscriptions::FetchSubscriptionPlansService5116 #execute5117 when successfully fetching plans data5118 returns parsed JSON5119 uses only the plan within the cache key name5120 with pnp_subscription_plan_cache_key flag disabled5121 returns a new cache key so the cache is busted5122 with given namespace_id5123 returns parsed JSON5124 uses the namespace id within the cache key name5125 when failing to fetch plans data5126 logs failure5127 returns nil5128 does not cache the result5129AuditEvents::Streaming::Headers::DestroyService5130 #execute5131 when no header is provided5132 does not destroy the header5133 has an error response5134 when the header is destroyed successfully5135 destroys the header5136 sends the audit streaming event5137 with license feature external_audit_events5138 sends correct event type in audit event stream5139PersonalAccessTokens::CreateService5140 #execute5141 when non-admin user5142 when user creates their own token5143 creates AuditEvent with success message5144 when user attempts to create a token for a different user5145 creates AuditEvent with failure message5146 when admin5147 with admin mode enabled5148 with admin mode disabled5149 creates audit logs with failure message5150UserPermissionExportUpload5151 associations5152 is expected to belong to user required: false5153 validations5154 is expected to validate that :status cannot be empty/falsy5155 when status is finished5156 validates file presence5157 state transitions5158 status: 0, can_start: true, can_finish: false, can_fail: true5159 adheres to state machine rules5160 status: 1, can_start: false, can_finish: true, can_fail: true5161 adheres to state machine rules5162 status: 2, can_start: false, can_finish: false, can_fail: false5163 adheres to state machine rules5164 status: 3, can_start: false, can_finish: false, can_fail: false5165 adheres to state machine rules5166DesignManagement::DeleteDesignsService5167 #execute5168 when service is successful5169 calls repository#log_geo_updated_event5170 when service errors5171 does not call repository#log_geo_updated_event5172ComplianceManagement::ComplianceFramework::ProjectSettings5173 Associations5174 belongs to project5175 Validations5176 confirms the presence of project5177 creation of ComplianceManagement::Framework record5178 creates a new record5179 set a custom ComplianceManagement::Framework5180 assigns the framework5181Dora::Configuration5182 # order random5183 is expected to allow :branches_for_lead_time_for_changes to be ‹[]›5184 is expected not to allow :branches_for_lead_time_for_changes to be ‹nil›5185 is expected to validate that :project_id cannot be empty/falsy5186 is expected to validate that :project_id is case-sensitively unique5187 associations5188 is expected to belong to project required: false5189MarkupHelper5190 #first_line_in_markdown5191 with scoped label references5192 shows proper tooltip5193 #render_wiki_content5194 when file is Markdown5195 when content has labels5196 when wiki is a group wiki5197 behaves like renders label5198 is expected not to be empty5199 when wiki is a project wiki5200 behaves like renders label5201 is expected not to be empty5202AuditEvents::Streaming::Header5203 Validations5204 is expected to validate that :key cannot be empty/falsy5205 is expected to validate that :value cannot be empty/falsy5206 is expected to validate that the length of :key is at most 2555207 is expected to validate that the length of :value is at most 2555208 is expected to belong to external_audit_event_destination required: false5209 is expected to validate that :key is case-sensitively unique within the scope of :external_audit_event_destination_id5210 #to_hash5211 is expected to eq {"foo"=>"bar"}5212AppSec::Dast::ScannerProfilesBuilds::ConsistencyWorker5213 #perform5214 ensures cross database association is created5215 behaves like an idempotent worker5216 is labeled as idempotent5217 performs multiple times sequentially without raising an exception5218Geo::RepositoryRenamedEventStore5219 #create!5220 behaves like a Geo event store5221 when running on a secondary node5222 does not create an event5223 when running on a primary node5224 does not create an event if there are no secondary nodes5225 creates an event5226 when file subject is not on local store5227 creates an event (PENDING: No file subject defined, skipping)5228 when running on a primary node5229 tracks old and new paths for project repositories5230Analytics::DevopsAdoption::EnabledNamespaces::CreateService5231 persists the enabled_namespace5232 schedules for snapshot creation5233 authorizes for manage_devops_adoption5234 without display_namespace_id5235 authorizes for global manage_devops_adoption5236 for guests5237 returns forbidden error5238Mutations::Todos::Create5239 with epics as target5240 behaves like create todo mutation5241 when user does not have permission to create todo5242 raises error5243 when user has permission to create todo5244 creates a todo5245Mutations::RequirementsManagement::ExportRequirements5246 #ready5247 with selected fields argument5248 raises exception when invalid fields are given5249 #resolve5250 behaves like requirements not available5251 raises a not accessible error5252 when the user can export requirements5253 when requirements feature is available5254 exports requirements5255 when requirements feature is disabled5256 behaves like requirements not available5257 raises a not accessible error5258Geo::ContainerRepositoryRegistryRemovalService5259 # order random5260 #execute5261 when the registry record exists5262 removes the container repository and the registry5263 when something went wrong removing the container repository5264 logs an error message5265 does not remove the upload registry record5266 when the registry record does not exist5267 removes the container repository5268Projects::IncidentsHelper5269 #incidents_data5270 returns the correct set of data5271 when status page feature is available5272 returns the feature as enabled5273 when status page feature is not available5274 returns the feature as disabled5275 when incident sla feature is available5276 returns the feature as enabled5277 when incident sla feature is not available5278 returns the feature as disabled5279Sbom::Source5280 enums5281 is expected to define :source_type as an enum backed by an integer with values ‹{dependency_scanning: 0, container_scanning: 1}›5282 validations5283 is expected to validate that :source_type cannot be empty/falsy5284 is expected to validate that :source cannot be empty/falsy5285 source validation5286 when source is valid5287 is expected to be valid5288 when optional attributes are missing5289 is expected to be valid5290 when input_file is missing5291 is expected to be invalid5292 when attributes have wrong type5293 is expected to be invalid5294Gitlab::WebIde::Config::Entry::Global5295 .nodes5296 when filtering all the entry/node names5297 contains the expected node names5298 when configuration is valid5299 when some entries defined5300 #compose!5301 creates nodes hash5302 creates node object for each entry5303 creates node object using valid class5304 sets correct description for nodes5305 when not composed5306 #schemas_value5307 returns nil5308 when composed5309 #errors5310 has no errors5311 #schemas_value5312 returns correct value for schemas5313projects/show5314 when free plan limit alert is present5315 renders the alert partial5316Namespaces::NamespaceBan5317 associations5318 is expected to belong to namespace required: true5319 is expected to belong to user required: true5320 is expected to validate that :user_id is case-sensitively unique within the scope of :namespace_id, producing a custom validation error on failure5321 validations5322 namespace_is_root_namespace5323 when associated namespace is root5324 is expected to be valid5325 when associated namespace is not root5326 is invalid5327Gitlab::Usage::Metrics::Instrumentations::CountSlackAppInstallationsGbpMetric5328 behaves like a correct instrumented metric value and query5329 behaves like a correct instrumented metric value5330 has correct value5331 behaves like a correct instrumented metric query5332 has correct generate query5333VulnerabilityExternalIssueLinks::DestroyService5334 deletes the specified vulnerability-external issue link5335Elastic::Latest::ProjectInstanceProxy5336 #as_indexed_json5337 serializes project as hash5338 raises an error for a project with an empty project_feature5339Sbom::Component5340 enums5341 is expected to define :component_type as an enum backed by an integer with values ‹{library: 0}›5342 validations5343 is expected to validate that :component_type cannot be empty/falsy5344 is expected to validate that :name cannot be empty/falsy5345 is expected to validate that the length of :name is at most 2555346Mutations::Ci::ProjectCiCdSettingsUpdate5347 #resolve5348 when merge trains are set to true and merge pipelines are set to false5349 does not enable merge trains5350 when merge trains and merge pipelines are set to true5351 enables merge pipelines and merge trains5352ElasticIndexBulkCronWorker5353 .perform5354 adds the elastic_bulk_count to the done log5355 indexing is not paused5356 executes the service under an exclusive lease5357 indexing is paused5358 does nothing if indexing is paused5359 behaves like worker with data consistency5360 .get_data_consistency_feature_flag_enabled?5361 returns true5362 .get_data_consistency5363 returns correct data consistency5364OmniAuth::Strategies::Kerberos5365 uses the principal name as the "uid"5366 extracts the username5367 turns the principal name into an email address5368 clears its special session key5369Sidebars::Projects::Panel5370 ExternalIssueTrackerMenu5371 when show_jira_menu_items? is false5372 contains ExternalIssueTracker menu5373 when show_jira_menu_items? is true5374 does not contain ExternalIssueTracker menu5375Gitlab::Usage::Metrics::Instrumentations::CountGroupsWithEventStreamingDestinationsMetric5376 behaves like a correct instrumented metric value and query5377 behaves like a correct instrumented metric value5378 has correct value5379 behaves like a correct instrumented metric query5380 has correct generate query5381CreateGithubWebhookWorker5382 #perform5383 creates the webhook5384Gitlab::Usage::Metrics::Instrumentations::CountEventStreamingDestinationsMetric5385 behaves like a correct instrumented metric value and query5386 behaves like a correct instrumented metric value5387 has correct value5388 behaves like a correct instrumented metric query5389 has correct generate query5390NotesHelper5391 #notes_url5392 for vulnerability5393 return vulnerability notes path for vulnerability5394 #discussions_path5395 for vulnerability5396 is expected to eq "/namespace1173/project1140/-/security/vulnerabilities/57/discussions.json"5397profiles/preferences/show5398 security dashboard feature is available5399 renders the group view choice preference5400 security dashboard feature is unavailable5401 does not render the group view choice preference5402Auditable5403 #push_audit_event5404 when audit event queue is active5405 add message to audit event queue5406 when audit event queue is not active5407 does not add message to audit event queue5408 #audit_details5409 raises error to prompt for implementation5410Types::Geo::ContainerRepositoryRegistryType5411 # order random5412 has the expected fields (other than those included in RegistryType)5413 behaves like a Geo registry type5414 is expected to require graphql authorizations :read_geo_registry5415 has the expected fields5416AddNewDataToMergeRequestsDocuments5417 behaves like a deprecated Advanced Search migration5418 #migrate5419 logs a message and halts the migration5420 #completed?5421 returns false5422 #obsolete?5423 returns true5424TestReportsComparerEntity5425 #as_json5426 when head and base reports include two test suites5427 when the status of head report is success5428 contains correct compared test reports details5429 when the status of head report is failed5430 contains correct compared test reports details5431 when the status of head report is resolved5432 contains correct compared test reports details5433Gitlab::ImportExport::Group::GroupAndDescendantsRepoSaver5434 exports the group and subgroups wiki repo5435 if any of the wiki exports fails5436 returns false and stops exporting other groups5437Types::AlertManagement::HttpIntegrationType5438 is expected to eq "AlertManagementHttpIntegration"5439 is expected to require graphql authorizations :admin_operations5440 exposes the expected fields5441Gitlab::CodeOwners::ReferenceExtractor5442 #emails5443 includes all mentioned email addresses5444 #names5445 includes all mentioned usernames and groupnames5446 #references5447 includes all user-references once5448groups/usage_quotas/index5449 when free plan limit preview is present5450 renders the alert partial and calls the alert class5451Types::SecurityOrchestration::SecurityPolicyRelationTypeEnum5452 is expected to eq "SecurityPolicyRelationType"5453 exposes all policy relation types5454API::Entities::Groups::RepositoryStorageMove5455 #as_json5456 includes basic fields5457Types::WorkItems::Widgets::StatusType5458 # order random5459 is expected to eq "WorkItemWidgetStatus"5460 is expected to have graphql fields :type and :status5461Gitlab::Search::Aggregation5462 parsing bucket results5463 when elasticsearch buckets are provided5464 parses the results5465 when extra is provided5466 merges the extra field5467 when elasticsearch buckets are not provided5468 parses the results5469Types::Iterations::CadenceType5470 is expected to eq "IterationCadence"5471 is expected to have graphql fields :id, :title, :duration_in_weeks, :iterations_in_advance, :start_date, :automatic, :active, :roll_over, and :description5472 is expected to require graphql authorizations :read_iteration_cadence5473Types::VulnerableProjectsByGradeType5474 is expected to have graphql fields "grade", "count", and "projects"5475 is expected to eq "VulnerableProjectsByGrade"5476Analytics::CycleAnalytics::AggregationContext5477 removes nil values from the cursor5478 calculates duration5479Database config initializer for GitLab EE5480 and the runtime is Sidekiq5481 when no custom headroom is specified5482 sets the pool size based on the number of worker threads5483 when specifying headroom through an ENV variable5484 adds headroom on top of the calculated size5485Types::VulnerabilityDetails::FileLocationType5486 is expected to have graphql fields :name, :description, :fieldName, :fileName, :lineStart, and :lineEnd5487Types::Projects::ServiceTypeEnum5488 exposes all the EE project services5489 coerces values correctly5490Types::VulnerabilitiesCountByDayType5491 is expected to have graphql fields :total, :date, :info, :unknown, :low, :medium, :high, and :critical5492Types::EnvironmentType5493 # order random5494 includes the expected fields5495EE::NullNotificationService5496 responds to methods implemented by NotificationService5497 raises NoMethodError for methods not implemented by NotificationService5498Types::VulnerabilityDetails::IntType5499 is expected to have graphql fields :name, :description, :fieldName, and :value5500Types::Vulnerability::ExternalIssueLinkTypeEnum5501 is expected to contain exactly "CREATED"5502admin/application_settings/_deletion_protection_settings5503 renders the deletion protection settings app root5504Knapsack report was generated. Preview:5505{5506 "ee/spec/tasks/gitlab/elastic_rake_spec.rb": 162.7863529209999,5507 "ee/spec/models/application_setting_spec.rb": 169.1542258280001,5508 "ee/spec/lib/gitlab/elastic/project_search_results_spec.rb": 127.51501268899983,5509 "ee/spec/models/security/orchestration_policy_configuration_spec.rb": 72.26353848100007,5510 "ee/spec/policies/environment_policy_spec.rb": 69.0396132650003,5511 "ee/spec/services/epic_issues/create_service_spec.rb": 53.263254781999876,5512 "ee/spec/lib/gitlab/analytics/type_of_work/tasks_by_type_spec.rb": 61.74255606700035,5513 "ee/spec/models/geo/pipeline_artifact_registry_spec.rb": 43.22789747399975,5514 "ee/spec/models/geo/pages_deployment_registry_spec.rb": 41.999599166999815,5515 "ee/spec/graphql/resolvers/geo/merge_request_diff_registries_resolver_spec.rb": 33.30176363500004,5516 "ee/spec/services/geo/file_registry_removal_service_spec.rb": 30.298586849999992,5517 "ee/spec/models/dast_site_profile_spec.rb": 23.89018999000018,5518 "ee/spec/models/concerns/elastic/repository_spec.rb": 23.958731848999832,5519 "ee/spec/models/security/orchestration_policy_rule_schedule_spec.rb": 26.917467443000078,5520 "ee/spec/lib/banzai/filter/references/epic_reference_filter_spec.rb": 18.548255208999763,5521 "ee/spec/models/deployments/approval_summary_spec.rb": 19.375605108999935,5522 "ee/spec/finders/geo/upload_registry_finder_spec.rb": 23.586869831000058,5523 "ee/spec/elastic/migrate/20220118150500_delete_orphaned_commits_spec.rb": 17.679998161000185,5524 "ee/spec/services/vulnerability_issue_links/create_service_spec.rb": 17.56156527100029,5525 "ee/spec/graphql/resolvers/geo/pages_deployment_registries_resolver_spec.rb": 16.177501613999993,5526 "ee/spec/models/concerns/ee/issuable_spec.rb": 9.392508607000309,5527 "ee/spec/presenters/merge_request_approver_presenter_spec.rb": 15.124784179000017,5528 "ee/spec/lib/gitlab/ci/minutes/gitlab_contribution_cost_factor_spec.rb": 12.463305756999944,5529 "ee/spec/models/ee/event_spec.rb": 11.67527320399995,5530 "ee/spec/services/vulnerabilities/security_finding/create_issue_service_spec.rb": 12.613559633000023,5531 "ee/spec/services/security/findings/dismiss_service_spec.rb": 9.648464977999993,5532 "ee/spec/services/wiki_pages/update_service_spec.rb": 13.356606273000125,5533 "ee/spec/services/security/security_orchestration_policies/create_pipeline_service_spec.rb": 10.0803879340001,5534 "ee/spec/lib/omni_auth/strategies/group_saml_spec.rb": 9.285332818999905,5535 "ee/spec/services/security/ingestion/tasks/ingest_remediations_spec.rb": 11.175193049999962,5536 "ee/spec/services/releases/update_service_spec.rb": 10.934225322000202,5537 "ee/spec/lib/gitlab/git_access_wiki_spec.rb": 12.922819519999848,5538 "ee/spec/lib/gitlab/elastic/document_reference_spec.rb": 6.420084174999829,5539 "ee/spec/graphql/mutations/dast/profiles/update_spec.rb": 9.964355145999889,5540 "ee/spec/finders/snippets_finder_spec.rb": 8.033131929999854,5541 "ee/spec/lib/gitlab/expiring_subscription_message_spec.rb": 4.565489931999764,5542 "ee/spec/services/ee/boards/issues/create_service_spec.rb": 9.32658450100007,5543 "ee/spec/services/vulnerabilities/starboard_vulnerability_create_service_spec.rb": 10.37886549399991,5544 "ee/spec/models/vulnerabilities/export_spec.rb": 5.250523828999576,5545 "ee/spec/helpers/ee/environments_helper_spec.rb": 3.1431558650001534,5546 "ee/spec/graphql/mutations/epics/update_spec.rb": 4.103920343000027,5547 "ee/spec/services/geo/node_update_service_spec.rb": 6.815095632000066,5548 "ee/spec/services/ee/users/update_service_spec.rb": 5.873141523999948,5549 "ee/spec/services/ci/compare_license_scanning_reports_service_spec.rb": 6.556748820999928,5550 "ee/spec/models/vulnerabilities/historical_statistic_spec.rb": 6.096523393000098,5551 "ee/spec/models/issuable_metric_image_spec.rb": 4.19452077699998,5552 "ee/spec/models/geo/group_wiki_repository_registry_spec.rb": 6.35400969300008,5553 "ee/spec/serializers/dependency_list_entity_spec.rb": 4.337575253000068,5554 "ee/spec/services/projects/alerting/notify_service_spec.rb": 3.6384255849998226,5555 "ee/spec/graphql/mutations/dast_site_profiles/update_spec.rb": 5.389689045000068,5556 "ee/spec/services/geo/container_repository_sync_service_spec.rb": 5.667834014999698,5557 "ee/spec/services/ee/resource_events/synthetic_iteration_notes_builder_service_spec.rb": 4.2376294539999435,5558 "ee/spec/lib/gitlab/legacy_github_import/project_creator_spec.rb": 4.550039792999996,5559 "ee/spec/graphql/resolvers/boards/board_list_epics_resolver_spec.rb": 4.0082378820002305,5560 "ee/spec/lib/ee/backup/repositories_spec.rb": 4.662675182000385,5561 "ee/spec/finders/security/training_providers/secure_code_warrior_url_finder_spec.rb": 4.081946781999704,5562 "ee/spec/policies/event_policy_spec.rb": 4.060235780999847,5563 "ee/spec/services/ee/releases/create_evidence_service_spec.rb": 4.787869812999816,5564 "ee/spec/services/epics/close_service_spec.rb": 3.488580230000025,5565 "ee/spec/services/ci/runners/register_runner_service_spec.rb": 3.72974892000002,5566 "ee/spec/elastic_integration/repository_index_spec.rb": 5.6140535259996796,5567 "ee/spec/services/registrations/import_namespace_create_service_spec.rb": 3.1501097390000723,5568 "ee/spec/services/incident_management/pending_escalations/create_service_spec.rb": 1.8623184260000016,5569 "ee/spec/models/iteration_note_spec.rb": 4.660445813000024,5570 "ee/spec/lib/gitlab/insights/executors/dora_executor_spec.rb": 2.5727198269996734,5571 "ee/spec/services/work_items/update_service_spec.rb": 2.6887530469998637,5572 "ee/spec/services/personal_access_tokens/rotation_verifier_service_spec.rb": 1.3643046440001854,5573 "ee/spec/models/incident_management/issuable_escalation_status_spec.rb": 2.41488078600014,5574 "ee/spec/lib/gitlab/ci/templates/Verify/browser_performance_testing_gitlab_ci_yaml_spec.rb": 3.138557288999891,5575 "ee/spec/services/app_sec/dast/site_validations/runner_service_spec.rb": 3.6361225900000136,5576 "ee/spec/views/projects/settings/subscriptions/_index.html.haml_spec.rb": 2.9898438079999323,5577 "ee/spec/lib/gitlab/usage/metrics/instrumentations/count_ci_environments_approval_required_spec.rb": 3.350029010000071,5578 "ee/spec/lib/gitlab/geo/log_cursor/events/hashed_storage_attachments_event_spec.rb": 3.0044484579998425,5579 "ee/spec/lib/gitlab/sitemaps/generator_spec.rb": 3.449218939000275,5580 "ee/spec/tasks/gitlab/spdx_rake_spec.rb": 2.491478256999926,5581 "ee/spec/models/product_analytics/jitsu_authentication_spec.rb": 1.8045994549997886,5582 "ee/spec/tasks/gitlab/check_rake_spec.rb": 2.4543244669998785,5583 "ee/spec/services/app_sec/dast/site_validations/revoke_service_spec.rb": 1.8131021150002198,5584 "ee/spec/services/award_emojis/add_service_spec.rb": 2.8319832269999097,5585 "ee/spec/policies/identity_provider_policy_spec.rb": 2.0348996550001175,5586 "ee/spec/services/groups/seat_usage_export_service_spec.rb": 3.9620550109998476,5587 "ee/spec/services/system_notes/vulnerabilities_service_spec.rb": 2.7565085579999504,5588 "ee/spec/finders/software_license_policies_finder_spec.rb": 2.3819862860000285,5589 "ee/spec/finders/ee/clusters/agents_finder_spec.rb": 1.790843974999916,5590 "ee/spec/lib/gitlab/ci/parsers/security/validators/default_branch_image_validator_spec.rb": 1.8263522050001484,5591 "ee/spec/lib/gitlab/geo/log_cursor/events/reset_checksum_event_spec.rb": 2.417203057000279,5592 "ee/spec/services/ee/event_create_service_spec.rb": 2.241021326000009,5593 "ee/spec/services/security/ingestion/ingest_reports_service_spec.rb": 1.7257669949999581,5594 "ee/spec/lib/elastic/latest/custom_language_analyzers_spec.rb": 0.60229388200014,5595 "ee/spec/lib/gitlab/spdx/catalogue_spec.rb": 0.5581275819999973,5596 "ee/spec/services/security/store_scans_service_spec.rb": 1.0547674730000836,5597 "ee/spec/services/ci/runners/reset_registration_token_service_spec.rb": 1.2834104939997815,5598 "ee/spec/lib/gitlab/usage/metrics/instrumentations/count_user_merge_requests_for_projects_with_applied_scan_result_policies_metric_spec.rb": 1.7253434439999182,5599 "ee/spec/components/namespaces/free_user_cap/preview_usage_quota_alert_component_spec.rb": 1.9052289849996669,5600 "ee/spec/services/geo/container_repository_sync_spec.rb": 0.929244221999852,5601 "ee/spec/presenters/project_clusterable_presenter_spec.rb": 1.5903985350000767,5602 "ee/spec/graphql/types/dast/profile_type_spec.rb": 1.5008499240002493,5603 "ee/spec/services/gitlab_subscriptions/notify_seats_exceeded_service_spec.rb": 1.7428814449999663,5604 "ee/spec/serializers/issue_serializer_spec.rb": 1.2903456530002586,5605 "ee/spec/models/geo/repository_renamed_event_spec.rb": 0.6619488219998857,5606 "ee/spec/helpers/projects/on_demand_scans_helper_spec.rb": 1.3668469140002344,5607 "ee/spec/services/gitlab_subscriptions/fetch_subscription_plans_service_spec.rb": 0.5717187310001464,5608 "ee/spec/services/audit_events/streaming/headers/destroy_service_spec.rb": 0.8003236519998609,5609 "ee/spec/services/personal_access_tokens/create_service_audit_log_spec.rb": 0.9215948729997763,5610 "ee/spec/models/user_permission_export_upload_spec.rb": 0.5758866999999555,5611 "ee/spec/services/ee/design_management/delete_designs_service_spec.rb": 1.4827485280002293,5612 "ee/spec/models/compliance_management/compliance_framework/project_settings_spec.rb": 1.2939344830001573,5613 "ee/spec/models/dora/configuration_spec.rb": 0.6858856389999346,5614 "ee/spec/helpers/markup_helper_spec.rb": 1.3648328019999099,5615 "ee/spec/models/audit_events/streaming/header_spec.rb": 0.7225987320002787,5616 "ee/spec/workers/app_sec/dast/scanner_profiles_builds/consistency_worker_spec.rb": 1.356710208000095,5617 "ee/spec/services/geo/repository_renamed_event_store_spec.rb": 0.8999082850000377,5618 "ee/spec/services/analytics/devops_adoption/enabled_namespaces/create_service_spec.rb": 1.2465654960001302,5619 "ee/spec/graphql/mutations/todos/create_spec.rb": 0.9631600699999581,5620 "ee/spec/graphql/mutations/requirements_management/export_requirements_spec.rb": 1.0761605590000727,5621 "ee/spec/services/geo/container_repository_registry_removal_service_spec.rb": 0.8926677109998309,5622 "ee/spec/helpers/ee/projects/incidents_helper_spec.rb": 1.0984841929998765,5623 "ee/spec/models/sbom/source_spec.rb": 0.873786434000067,5624 "ee/spec/lib/ee/gitlab/web_ide/config/entry/global_spec.rb": 0.9445876039999348,5625 "ee/spec/views/projects/show.html.haml_spec.rb": 0.8940958990001491,5626 "ee/spec/models/ee/namespaces/namespace_ban_spec.rb": 0.8706298659999447,5627 "ee/spec/lib/gitlab/usage/metrics/instrumentations/count_slack_app_installations_gbp_metric_spec.rb": 1.0690217739997934,5628 "ee/spec/services/vulnerability_external_issue_links/destroy_service_spec.rb": 1.388575474999925,5629 "ee/spec/lib/elastic/latest/project_instance_proxy_spec.rb": 1.621521808000125,5630 "ee/spec/models/sbom/component_spec.rb": 0.6637033950000841,5631 "ee/spec/graphql/ee/mutations/ci/project_ci_cd_settings_update_spec.rb": 0.7689565690002382,5632 "ee/spec/workers/elastic_index_bulk_cron_worker_spec.rb": 0.543953440000223,5633 "ee/spec/lib/omni_auth/strategies/kerberos_spec.rb": 0.5721301090002271,5634 "ee/spec/lib/ee/sidebars/projects/panel_spec.rb": 0.7570960880002531,5635 "ee/spec/lib/gitlab/usage/metrics/instrumentations/count_groups_with_event_streaming_destinations_metric_spec.rb": 0.8056706630000008,5636 "ee/spec/workers/create_github_webhook_worker_spec.rb": 0.8549219070000618,5637 "ee/spec/lib/gitlab/usage/metrics/instrumentations/count_event_streaming_destinations_metric_spec.rb": 0.554146732999925,5638 "ee/spec/helpers/notes_helper_spec.rb": 0.9396906169999966,5639 "ee/spec/views/profiles/preferences/show.html.haml_spec.rb": 0.4211485979999452,5640 "ee/spec/models/concerns/auditable_spec.rb": 0.48297856399995,5641 "ee/spec/graphql/types/geo/container_repository_registry_type_spec.rb": 0.3514522579998811,5642 "ee/spec/elastic/migrate/20210421140400_add_new_data_to_merge_requests_documents_spec.rb": 0.5814426530000674,5643 "ee/spec/serializers/test_reports_comparer_entity_spec.rb": 0.38170557599960375,5644 "ee/spec/lib/gitlab/import_export/group/group_and_descendants_repo_saver_spec.rb": 0.4719795420000992,5645 "ee/spec/graphql/ee/types/alert_management/http_integration_type_spec.rb": 0.42209719699985726,5646 "ee/spec/lib/gitlab/code_owners/reference_extractor_spec.rb": 0.4706145530003596,5647 "ee/spec/views/groups/usage_quotas/index.html.haml_spec.rb": 0.5409198629999992,5648 "ee/spec/graphql/types/security_orchestration/security_policy_relation_type_enum_spec.rb": 0.42561195500002214,5649 "ee/spec/lib/ee/api/entities/groups/repository_storage_move_spec.rb": 0.4935279569999693,5650 "ee/spec/graphql/types/work_items/widgets/status_type_spec.rb": 0.5811827940001422,5651 "ee/spec/lib/gitlab/search/aggregation_spec.rb": 0.4938456669997322,5652 "ee/spec/graphql/types/iterations/cadence_type_spec.rb": 0.3628462189999482,5653 "ee/spec/graphql/types/vulnerable_projects_by_grade_type_spec.rb": 0.35900736300027347,5654 "ee/spec/models/analytics/cycle_analytics/aggregation_context_spec.rb": 0.26669711899967297,5655 "ee/spec/initializers/database_config_spec.rb": 0.5822163730003922,5656 "ee/spec/graphql/types/vulnerability_details/file_location_type_spec.rb": 0.2765346920000411,5657 "ee/spec/graphql/types/projects/services_enum_spec.rb": 0.3919725290002134,5658 "ee/spec/graphql/types/vulnerabilities_count_by_day_type_spec.rb": 0.26132420200019624,5659 "ee/spec/graphql/ee/types/environment_type_spec.rb": 0.4100639059997775,5660 "ee/spec/services/ee/null_notification_service_spec.rb": 0.37380664199963576,5661 "ee/spec/graphql/types/vulnerability_details/int_type_spec.rb": 0.3646220679997896,5662 "ee/spec/graphql/types/vulnerability/external_issue_link_type_enum_spec.rb": 0.26116825300005075,5663 "ee/spec/views/admin/application_settings/_deletion_protection_settings.html.haml_spec.rb": 0.35234380799965955664}5665Knapsack global time execution for tests: 24m 37s5666Pending: (Failures listed here are expected and do not affect your suite's status)5667 1) Resolvers::Geo::MergeRequestDiffRegistriesResolver 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 ArgumentError5668 # Skipping because verification is enabled for MergeRequestDiff5669 # ./ee/spec/support/shared_examples/graphql/geo/geo_registries_resolver_shared_examples.rb:775670 2) Geo::UploadRegistryFinder 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 ArgumentError5671 # Skipping because verification is enabled for Upload5672 # ./ee/spec/support/shared_examples/finders/geo/framework_registry_finder_shared_examples.rb:975673 3) Geo::UploadRegistryFinder 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 ArgumentError5674 # Skipping because verification is enabled for Upload5675 # ./ee/spec/support/shared_examples/finders/geo/framework_registry_finder_shared_examples.rb:1055676 4) Resolvers::Geo::PagesDeploymentRegistriesResolver 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 ArgumentError5677 # Skipping because verification is enabled for PagesDeployment5678 # ./ee/spec/support/shared_examples/graphql/geo/geo_registries_resolver_shared_examples.rb:775679 5) WikiPages::UpdateService behaves like WikiPages::UpdateService#execute the page is at the top level adds a new wiki page activity event5680 # group wiki support5681 Failure/Error: expect { service.execute(page) }.to change { Event.count }.by 15682 expected `Event.count` to have changed by 1, but was changed by 05683 Shared Example Group: "adds activity event" called from ./spec/support/shared_examples/services/wiki_pages/update_service_shared_examples.rb:635684 Shared Example Group: "WikiPages::UpdateService#execute" called from ./ee/spec/services/wiki_pages/update_service_spec.rb:415685 # ./spec/support/shared_examples/services/wiki_pages/update_service_shared_examples.rb:50:in `block (3 levels) in <top (required)>'5686 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'5687 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'5688 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'5689 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'5690 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'5691 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'5692 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'5693 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'5694 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'5695 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'5696 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'5697 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'5698 6) WikiPages::UpdateService behaves like WikiPages::UpdateService#execute the page is in a subsection adds a new wiki page activity event5699 # group wiki support5700 Failure/Error: expect { service.execute(page) }.to change { Event.count }.by 15701 expected `Event.count` to have changed by 1, but was changed by 05702 Shared Example Group: "adds activity event" called from ./spec/support/shared_examples/services/wiki_pages/update_service_shared_examples.rb:695703 Shared Example Group: "WikiPages::UpdateService#execute" called from ./ee/spec/services/wiki_pages/update_service_spec.rb:415704 # ./spec/support/shared_examples/services/wiki_pages/update_service_shared_examples.rb:50:in `block (3 levels) in <top (required)>'5705 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'5706 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'5707 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'5708 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'5709 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'5710 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'5711 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'5712 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'5713 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'5714 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'5715 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'5716 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'5717 7) Geo::RepositoryRenamedEventStore#create! behaves like a Geo event store when running on a primary node when file subject is not on local store creates an event5718 # No file subject defined, skipping5719 # ./ee/spec/support/shared_examples/services/geo_event_store_shared_examples.rb:365720Failures:5721 1) DeleteOrphanedCommits completed? when there are commits missing only parent join is expected to be truthy5722 Failure/Error: it { is_expected.to be_truthy }5723 expected: truthy value5724 got: false5725 # ./ee/spec/elastic/migrate/20220118150500_delete_orphaned_commits_spec.rb:54:in `block (4 levels) in <top (required)>'5726 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'5727 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'5728 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'5729 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'5730 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'5731 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'5732 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'5733 # ./spec/support/sidekiq.rb:21:in `block (3 levels) in <top (required)>'5734 # ./spec/support/sidekiq.rb:8:in `gitlab_sidekiq_inline'5735 # ./spec/support/sidekiq.rb:21:in `block (2 levels) in <top (required)>'5736 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'5737 # ./spec/support/redis.rb:17:in `block (3 levels) in <top (required)>'5738 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'5739 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'5740 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'5741 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'5742 # ./ee/spec/support/elastic.rb:80:in `block (2 levels) in <top (required)>'5743Finished in 24 minutes 41 seconds (files took 45.41 seconds to load)57442153 examples, 1 failure, 7 pending5745Failed examples:5746rspec ./ee/spec/elastic/migrate/20220118150500_delete_orphaned_commits_spec.rb:54 # DeleteOrphanedCommits completed? when there are commits missing only parent join is expected to be truthy5747Randomized with seed 170025748[TEST PROF INFO] Time spent in factories: 12:26.804 (50.29% of total time)5749Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected5750RSpec exited with 1.5751Retrying the failing examples in a new RSpec process...5752$ gem install junit_merge --no-document --version 0.1.25753Successfully installed nokogiri-1.13.9-x86_64-linux5754Successfully installed junit_merge-0.1.257552 gems installed5756==> 'gem install junit_merge --no-document --version 0.1.2' succeeded in 1 seconds.5757Running RSpec command: bin/rspec -Ispec -rspec_helper --color --format documentation --format RspecJunitFormatter --out rspec/junit_rspec-retry.xml --only-failures --pattern "{ee/}spec/{bin,channels,config,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"5758Run options: include {:last_run_status=>"failed"}5759Test environment set up in 1.529566907 seconds5760DeleteOrphanedCommits5761 completed?5762 when there are commits missing only parent join5763 is expected to be truthy5764Finished in 10.51 seconds (files took 41.71 seconds to load)57651 example, 0 failures5766[TEST PROF INFO] Time spent in factories: 00:02.081 (15.41% of total time)5768Not uploading cache ruby-gems-debian-bullseye-ruby-2.7-16 due to policy5769Not uploading cache gitaly-ruby-gems-debian-bullseye-ruby-2.7-16 due to policy5771Uploading artifacts...5772coverage/: found 4 matching files and directories 5773crystalball/: found 2 matching files and directories 5774deprecations/: found 7 matching files and directories 5775knapsack/: found 3 matching files and directories 5776rspec/: found 11 matching files and directories 5777WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory 5778log/*.log: found 18 matching files and directories 5779WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/3275963081/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com5780WARNING: Retrying... context=artifacts-uploader error=request redirected5781Uploading artifacts as "archive" to coordinator... 201 Created id=3275963081 responseStatus=201 Created token=zctxzsGs5782Uploading artifacts...5783rspec/junit_rspec.xml: found 1 matching files and directories 5784WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/3275963081/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com5785WARNING: Retrying... context=artifacts-uploader error=request redirected5786Uploading artifacts as "junit" to coordinator... 201 Created id=3275963081 responseStatus=201 Created token=zctxzsGs5788Job succeeded