rspec-ee unit pg13 single-db-ci-connection 7/18
Passed Started
by
@fabiopitino
Fabio Pitino
1Running with gitlab-runner 16.1.0~beta.5.gf131a6a2 (f131a6a2)2 on blue-3.shared-gitlab-org.runners-manager.gitlab.com/default sUrYYgEG, system ID: s_35f98e2af4653 feature flags: FF_NETWORK_PER_BUILD:true, FF_USE_FASTZIP:true, FF_USE_IMPROVED_URL_MASKING:true6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-rust-1.65-node-18.16-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-113-yarn-1.22-graphicsmagick-1.3.36 ...7Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-13-pgvector-0.4.1 ...8Authenticating with credentials from job payload (GitLab Registry)9Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-13-pgvector-0.4.1 ...10Using docker image sha256:73740c557807c4bc5d692f263c0e35454270600da4b22bbe952331411426c8b5 for registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-13-pgvector-0.4.1 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:3174001f839c42e299ac06a42f8ded446edfcb33b0eb820874749a3f53eb799c ...11WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 is already created. Ignoring.12WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 is already created. Ignoring.13Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 ...14Authenticating with credentials from job payload (GitLab Registry)15Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 ...16Using docker image sha256:a9a90ece30d9630d694ab1997cd103ea8ec729789451b983a75c7b58b0062d45 for registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:7ef36177d5d0bc554fbb63d8210ae751bcc538bea7905b51d078d9ab90a755fa ...17Starting service redis:6.2-alpine ...18Pulling docker image redis:6.2-alpine ...19Using docker image sha256:85fd7bd884b6493c8eb6f4dffbe5406d97cce56aff84f1580a5eb5b9d841f158 for redis:6.2-alpine with digest redis@sha256:87c44d5d9f472e767c8737f4130c765d77bdc95c7472d6427cfc9d4632f12da6 ...20Starting service elasticsearch:7.17.6 ...21Pulling docker image elasticsearch:7.17.6 ...22Using docker image sha256:5fad10241ffd65d817ed0ddfaf6e87eee1f7dc2a7db33db1047835560ea71fda for elasticsearch:7.17.6 with digest elasticsearch@sha256:6c128de5d01c0c130a806022d6bd99b3e4c27a9af5bfc33b6b81861ae117d028 ...23WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 is already created. Ignoring.24WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 is already created. Ignoring.25Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 ...26Authenticating with credentials from job payload (GitLab Registry)27Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 ...28Using docker image sha256:4777ec1fa89def7d692d4979d05cb05234df25da1c6a3f67a564a433ec5ba1c8 for registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:80c0cee4566aefe4f1f287e1091263e08b0ebc41ed3dc4e76930df3634ccb9aa ...29Waiting for services to be up and running (timeout 30 seconds)...30Authenticating with credentials from job payload (GitLab Registry)31Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-rust-1.65-node-18.16-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-113-yarn-1.22-graphicsmagick-1.3.36 ...32Using docker image sha256:61b59025d0d646cd177f654d8f81df859675be528f37dcc2ce6f39a49c7a5dd9 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-rust-1.65-node-18.16-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-113-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-rust-1.65-node-18.16-postgresql-13@sha256:25367d41b1034f1ecacfc9cb8eebc70cb30c6fdade3781cf295488255bf61614 ...34Running on runner-suryygeg-project-278964-concurrent-0 via runner-suryygeg-shared-gitlab-org-1685686951-8fb80488...36Fetching changes with git depth set to 20...37Initialized empty Git repository in /builds/gitlab-org/gitlab/.git/38Created fresh repository.39remote: Enumerating objects: 139970, done. 40remote: Counting objects: 100% (139970/139970), done. 41remote: Compressing objects: 100% (94736/94736), done. 42remote: Total 139970 (delta 61223), reused 92035 (delta 39894), pack-reused 0 43Receiving objects: 100% (139970/139970), 123.36 MiB | 30.04 MiB/s, done.44Resolving deltas: 100% (61223/61223), done.46 * [new ref] refs/pipelines/887306308 -> refs/pipelines/88730630847Checking out 95754c79 as detached HEAD (ref is refs/merge-requests/122015/merge)...48Skipping Git submodules setup49$ git remote set-url origin "${CI_REPOSITORY_URL}"51Checking cache for ruby-gems-debian-bullseye-ruby-3.0-16...52Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/ruby-gems-debian-bullseye-ruby-3.0-16 53Successfully extracted cache55Downloading artifacts for compile-test-assets (4400964016)...56Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4400964016 responseStatus=200 OK token=64_SEz8r57Downloading artifacts for detect-tests (4400964025)...58Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4400964025 responseStatus=200 OK token=64_SEz8r59Downloading artifacts for retrieve-tests-metadata (4400964028)...60Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4400964028 responseStatus=200 OK token=64_SEz8r61Downloading artifacts for setup-test-env (4400964019)...62Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4400964019 responseStatus=200 OK token=64_SEz8r64Using docker image sha256:61b59025d0d646cd177f654d8f81df859675be528f37dcc2ce6f39a49c7a5dd9 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-rust-1.65-node-18.16-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-113-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-rust-1.65-node-18.16-postgresql-13@sha256:25367d41b1034f1ecacfc9cb8eebc70cb30c6fdade3781cf295488255bf61614 ...65$ echo $FOSS_ONLY66$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb67$ export GOPATH=$CI_PROJECT_DIR/.go68$ mkdir -p $GOPATH69$ source scripts/utils.sh70$ source scripts/prepare_build.sh725Using decomposed database config (config/database.yml.postgresql)726Geo DB will be set up.727Embedding DB will be set up.747$ source ./scripts/rspec_helpers.sh748$ run_timed_command "gem install knapsack --no-document"749$ gem install knapsack --no-document750Successfully installed knapsack-4.0.07511 gem installed752==> 'gem install knapsack --no-document' succeeded in 0 seconds.753$ echo -e "\e[0Ksection_start:`date +%s`:gitaly-test-spawn[collapsed=true]\r\e[0KStarting Gitaly"755$ section_start "gitaly-test-spawn" "Spawning Gitaly"; scripts/gitaly-test-spawn; section_end "gitaly-test-spawn"760$ echo -e "\e[0Ksection_end:`date +%s`:gitaly-test-spawn\r\e[0K"761$ rspec_paralellized_job "--tag ~quarantine --tag ~level:background_migration"762SKIP_FLAKY_TESTS_AUTOMATICALLY: 763RETRY_FAILED_TESTS_IN_NEW_PROCESS: true764KNAPSACK_GENERATE_REPORT: true765FLAKY_RSPEC_GENERATE_REPORT: true766KNAPSACK_TEST_FILE_PATTERN: {ee/}spec/{bin,channels,components,config,contracts,db,dependencies,elastic,elastic_integration,experiments,factories,finders,frontend,graphql,haml_lint,helpers,initializers,lib,metrics_server,models,policies,presenters,rack_servers,replicators,routing,rubocop,scripts,serializers,services,sidekiq,sidekiq_cluster,spam,support_specs,tasks,uploaders,validators,views,workers,tooling}{,/**/}*_spec.rb767KNAPSACK_LOG_LEVEL: debug768KNAPSACK_REPORT_PATH: knapsack/rspec-ee_unit_pg13_single-db-ci-connection_7_18_report.json769FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json770FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec-ee_unit_pg13_single-db-ci-connection_7_18_report.json771NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec-ee_unit_pg13_single-db-ci-connection_7_18_report.json772SKIPPED_TESTS_REPORT_PATH: rspec/skipped_tests_rspec-ee_unit_pg13_single-db-ci-connection_7_18.txt773CRYSTALBALL: 774RSPEC_TESTS_MAPPING_ENABLED: 775RSPEC_TESTS_FILTER_FILE: 776Running command: bundle exec rspec -Ispec -rspec_helper --color --failure-exit-code 1 --error-exit-code 2 --format documentation --format Support::Formatters::JsonFormatter --out rspec/rspec-4400964881.json --format RspecJunitFormatter --out rspec/rspec-4400964881.xml --tag ~quarantine --tag ~level:background_migration -- ee/spec/services/search/global_service_spec.rb ee/spec/lib/gitlab/geo/log_cursor/daemon_spec.rb ee/spec/models/geo/merge_request_diff_registry_spec.rb ee/spec/lib/ee/gitlab/usage/service_ping_report_spec.rb ee/spec/models/ci/build_spec.rb ee/spec/models/upload_spec.rb ee/spec/replicators/geo/pipeline_artifact_replicator_spec.rb ee/spec/lib/gitlab/import_export/attributes_permitter_spec.rb ee/spec/elastic/migrate/20230518064300_backfill_project_permissions_in_blobs_spec.rb ee/spec/elastic/migrate/20230321202400_backfill_hashed_root_namespace_id_on_merge_requests_spec.rb ee/spec/replicators/geo/lfs_object_replicator_spec.rb ee/spec/finders/security/pipeline_vulnerabilities_finder_spec.rb ee/spec/services/ee/issues/move_service_spec.rb ee/spec/db/seeds/data_seeder/data_seeder_spec.rb ee/spec/finders/geo/package_file_registry_finder_spec.rb ee/spec/services/requirements_management/import_csv_service_spec.rb ee/spec/graphql/resolvers/geo/merge_request_diff_registries_resolver_spec.rb ee/spec/graphql/resolvers/timebox_report_resolver_spec.rb ee/spec/models/resource_iteration_event_spec.rb ee/spec/services/vulnerabilities/resolve_service_spec.rb ee/spec/finders/geo/repository_verification_finder_spec.rb ee/spec/helpers/code_suggestions_alert_helper_spec.rb ee/spec/services/ee/issuable/bulk_update_service_spec.rb ee/spec/services/ee/merge_requests/post_merge_service_spec.rb ee/spec/services/epics/epic_links/update_service_spec.rb ee/spec/services/groups/compliance_report_csv_service_spec.rb ee/spec/finders/security/scan_execution_policies_finder_spec.rb ee/spec/models/concerns/identity_verifiable_spec.rb ee/spec/graphql/resolvers/compliance_management/merge_requests/compliance_violation_resolver_spec.rb ee/spec/graphql/types/dast_site_profile_type_spec.rb ee/spec/presenters/ci/minutes/usage_presenter_spec.rb ee/spec/workers/store_security_reports_worker_spec.rb ee/spec/models/status_page/project_setting_spec.rb ee/spec/services/ee/boards/lists/list_service_spec.rb ee/spec/lib/gitlab/template/custom_templates_spec.rb ee/spec/services/security/ingestion/tasks/ingest_remediations_spec.rb ee/spec/lib/gitlab/ci/parsers/security/dependency_scanning_spec.rb ee/spec/services/incident_management/issuable_resource_links/zoom_link_service_spec.rb ee/spec/services/ci/retry_job_service_spec.rb ee/spec/lib/ee/sidebars/projects/menus/analytics_menu_spec.rb ee/spec/services/app_sec/dast/scans/run_service_spec.rb ee/spec/graphql/resolvers/dora_metrics_resolver_spec.rb ee/spec/finders/geo/project_registry_finder_spec.rb ee/spec/services/vulnerability_exports/export_service_spec.rb ee/spec/services/merge_requests/build_service_spec.rb ee/spec/models/dast/site_profiles_build_spec.rb ee/spec/models/group_wiki_repository_spec.rb ee/spec/services/incident_management/escalation_policies/update_service_spec.rb ee/spec/policies/issue_policy_spec.rb ee/spec/models/dora/watchers/deployment_watcher_spec.rb ee/spec/graphql/ee/resolvers/board_list_issues_resolver_spec.rb ee/spec/services/ee/protected_branches/destroy_service_spec.rb ee/spec/services/security/security_orchestration_policies/operational_vulnerabilities_configuration_service_spec.rb ee/spec/finders/geo/project_registry_status_finder_spec.rb ee/spec/services/app_sec/dast/scan_configs/fetch_service_spec.rb ee/spec/lib/gitlab/circuit_breaker/store_spec.rb ee/spec/lib/gitlab/ci/pipeline/chain/config/content_spec.rb ee/spec/lib/ee/gitlab/auth/auth_finders_spec.rb ee/spec/graphql/resolvers/geo/dependency_proxy_blob_registries_resolver_spec.rb ee/spec/workers/geo/repositories_clean_up_worker_spec.rb ee/spec/lib/analytics/refresh_reassign_data_spec.rb ee/spec/workers/ee/repository_check/batch_worker_spec.rb ee/spec/models/issuables_analytics_spec.rb ee/spec/finders/notes_finder_spec.rb ee/spec/models/protected_branch/unprotect_access_level_spec.rb ee/spec/lib/ee/gitlab/analytics/cycle_analytics/base_query_builder_spec.rb ee/spec/services/app_sec/dast/profiles/audit/update_service_spec.rb ee/spec/services/llm/merge_requests/summarize_diff_service_spec.rb ee/spec/services/audit_events/release_associate_milestone_audit_event_service_spec.rb ee/spec/services/ee/quick_actions/target_service_spec.rb ee/spec/finders/projects/integrations/jira/issues_finder_spec.rb ee/spec/models/namespaces/free_user_cap_spec.rb ee/spec/models/ee/merge_request/metrics_spec.rb ee/spec/services/geo/hashed_storage_migrated_event_store_spec.rb ee/spec/helpers/ee/integrations_helper_spec.rb ee/spec/views/projects/security/dast_profiles/show.html.haml_spec.rb ee/spec/services/merge_requests/sync_code_owner_approval_rules_spec.rb ee/spec/graphql/mutations/boards/epic_lists/update_spec.rb ee/spec/models/board_user_preference_spec.rb ee/spec/lib/ee/sidebars/your_work/menus/security_dashboard_menu_spec.rb ee/spec/policies/dast/pre_scan_verification_step_policy_spec.rb ee/spec/workers/ee/new_issue_worker_spec.rb ee/spec/services/audit_events/register_runner_audit_event_service_spec.rb ee/spec/services/users/email_verification/send_custom_confirmation_instructions_service_spec.rb ee/spec/lib/gitlab/usage/metrics/instrumentations/count_user_merge_requests_with_applied_scan_result_policies_metric_spec.rb ee/spec/models/namespaces/storage/root_excess_size_spec.rb ee/spec/graphql/resolvers/analytics/devops_adoption/enabled_namespaces_resolver_spec.rb ee/spec/services/ee/users/unblock_service_spec.rb ee/spec/workers/search/zoekt/namespace_indexer_worker_spec.rb ee/spec/models/dast/pre_scan_verification_spec.rb ee/spec/models/incident_management/issuable_escalation_status_spec.rb ee/spec/lib/elastic/latest/application_instance_proxy_spec.rb ee/spec/services/external_status_checks/create_service_spec.rb ee/spec/views/shared/labels/_create_label_help_text.html.haml_spec.rb ee/spec/lib/gitlab/ci/config/entry/dast_configuration_spec.rb ee/spec/graphql/mutations/security_policy/assign_security_policy_project_spec.rb ee/spec/services/vulnerabilities/historical_statistics/adjustment_service_spec.rb ee/spec/lib/gitlab/ci/config/entry/job_spec.rb ee/spec/lib/api/entities/pending_member_spec.rb ee/spec/services/ee/merge_requests/base_service_spec.rb ee/spec/policies/incident_management/oncall_schedule_policy_spec.rb ee/spec/services/ci/retry_pipeline_service_spec.rb ee/spec/services/geo/repository_base_sync_service_spec.rb ee/spec/graphql/mutations/forecasting/build_forecast_spec.rb ee/spec/helpers/projects/project_members_helper_spec.rb ee/spec/lib/gitlab/llm/vertex_ai/completions/generate_commit_message_spec.rb ee/spec/services/audit_events/streaming/headers/create_service_spec.rb ee/spec/services/incident_management/incidents/upload_metric_service_spec.rb ee/spec/lib/system_check/geo/clocks_synchronization_check_spec.rb ee/spec/models/dast/branch_spec.rb ee/spec/services/ci/runners/reset_registration_token_service_spec.rb ee/spec/finders/analytics/devops_adoption/snapshots_finder_spec.rb ee/spec/lib/ee/sidebars/your_work/menus/workspaces_menu_spec.rb ee/spec/lib/ee/api/helpers/issues_helpers_spec.rb ee/spec/services/incident_management/oncall_schedules/create_service_spec.rb ee/spec/services/work_items/widgets/weight_service/update_service_spec.rb ee/spec/lib/ee/gitlab/ci/jwt_spec.rb ee/spec/graphql/types/vulnerabilities_count_by_day_type_spec.rb ee/spec/lib/ee/feature_spec.rb ee/spec/views/shared/issuable/_approver_suggestion.html.haml_spec.rb ee/spec/helpers/ee/namespace_user_cap_reached_alert_helper_spec.rb ee/spec/services/issues/duplicate_service_spec.rb ee/spec/lib/ee/gitlab/hook_data/issue_builder_spec.rb ee/spec/services/ee/branches/validate_new_service_spec.rb ee/spec/graphql/types/instance_security_dashboard_type_spec.rb ee/spec/models/namespaces/free_user_cap/root_size_spec.rb ee/spec/graphql/mutations/boards/update_epic_user_preferences_spec.rb ee/spec/serializers/dashboard_environment_entity_spec.rb ee/spec/workers/merge_request_reset_approvals_worker_spec.rb ee/spec/services/ci/runners/assign_runner_service_spec.rb ee/spec/lib/gitlab/web_ide/config/entry/schemas_spec.rb ee/spec/models/protected_branch/merge_access_level_spec.rb ee/spec/lib/gitlab/llm/open_ai/completions/explain_vulnerability_spec.rb ee/spec/views/layouts/_page.html.haml_spec.rb ee/spec/serializers/analytics/cycle_analytics/value_stream_errors_serializer_spec.rb ee/spec/services/boards/epic_user_preferences/update_service_spec.rb ee/spec/services/sbom/ingestion/tasks/ingest_sources_spec.rb ee/spec/views/registrations/groups/new.html.haml_spec.rb ee/spec/services/clusters/agent_tokens/create_service_audit_log_spec.rb ee/spec/finders/license_template_finder_spec.rb ee/spec/graphql/resolvers/geo/geo_node_resolver_spec.rb ee/spec/lib/ee/gitlab/import_export/wiki_repo_saver_spec.rb ee/spec/lib/gitlab/geo/log_helpers_spec.rb ee/spec/presenters/ee/issue_presenter_spec.rb ee/spec/helpers/notes_helper_spec.rb ee/spec/models/sbom/component_spec.rb ee/spec/workers/vulnerabilities/statistics/schedule_worker_spec.rb ee/spec/services/audit_events/runner_custom_audit_event_service_spec.rb ee/spec/models/ee/event_collection_spec.rb ee/spec/services/analytics/devops_adoption/snapshots/create_service_spec.rb ee/spec/views/projects/security/discover/show.html.haml_spec.rb ee/spec/workers/geo/container_repository_sync_worker_spec.rb ee/spec/presenters/analytics/cycle_analytics/stage_presenter_spec.rb ee/spec/lib/api/entities/deployments/approval_summary_spec.rb ee/spec/graphql/types/requirements_management/test_report_type_spec.rb ee/spec/lib/sidebars/user_settings/panel_spec.rb ee/spec/services/boards/epic_boards/visits/create_service_spec.rb ee/spec/lib/gitlab/llm/completions/chat_spec.rb ee/spec/lib/gitlab/ci/minutes/cached_quota_spec.rb ee/spec/services/remote_development/agent_config/update_service_spec.rb ee/spec/models/gitlab_subscription_history_spec.rb ee/spec/services/analytics/devops_adoption/snapshots/calculate_and_save_service_spec.rb ee/spec/graphql/ee/mutations/ci/runner/update_spec.rb ee/spec/routing/security_routing_spec.rb ee/spec/graphql/types/audit_events/streaming/header_type_spec.rb ee/spec/elastic/migrate/20210112165500_delete_issues_from_original_index_spec.rb ee/spec/graphql/types/epic_state_enum_spec.rb ee/spec/services/ee/admin/plan_limits/update_service_spec.rb ee/spec/lib/gitlab/llm/vertex_ai/model_configurations/code_spec.rb ee/spec/graphql/types/compliance_management/merge_requests/compliance_violation_severity_enum_spec.rb ee/spec/lib/gitlab/search_context/builder_spec.rb ee/spec/lib/gitlab/pagination/keyset/simple_order_builder_spec.rb ee/spec/graphql/types/incident_management/oncall_shift_type_spec.rb ee/spec/graphql/types/geo/geo_node_type_spec.rb ee/spec/models/geo/every_geo_event_spec.rb ee/spec/graphql/types/vulnerability_details/boolean_type_spec.rb ee/spec/lib/gitlab/geo/logger_spec.rb ee/spec/workers/namespaces/free_user_cap/backfill_notification_jobs_worker_spec.rb ee/spec/lib/gitlab/llm/open_ai/response_modifiers/chat_spec.rb ee/spec/graphql/types/vulnerability_state_enum_spec.rb ee/spec/graphql/types/app_sec/fuzzing/api/ci_configuration_type_spec.rb ee/spec/graphql/types/vulnerability_details/commit_type_spec.rb ee/spec/lib/ee/gitlab/event_store_spec.rb ee/spec/views/operations/index.html.haml_spec.rbKnapsack report generator started!777warning: parser/current is loading parser/ruby30, which recognizes 3.0.5-compliant syntax, but you are running 3.0.6.779WARNING: Shared example group 'a counter of succeeded available verifiables' has been previously defined at:780 /builds/gitlab-org/gitlab/ee/spec/support/shared_examples/models/concerns/verifiable_replicator_shared_examples.rb:55781...and you are now defining it at:782 /builds/gitlab-org/gitlab/ee/spec/support/shared_examples/models/concerns/verifiable_replicator_shared_examples.rb:55783The new definition will overwrite the original one.784WARNING: Shared example group 'a counter of failed available verifiables' has been previously defined at:785 /builds/gitlab-org/gitlab/ee/spec/support/shared_examples/models/concerns/verifiable_replicator_shared_examples.rb:156786...and you are now defining it at:787 /builds/gitlab-org/gitlab/ee/spec/support/shared_examples/models/concerns/verifiable_replicator_shared_examples.rb:156788The new definition will overwrite the original one.789Run options: exclude {:quarantine=>true, :level=>"background_migration"}790Test environment set up in 0.819214344 seconds791Search::GlobalService792 behaves like EE search service shared examples793 #use_elasticsearch?794 delegates to Gitlab::CurrentSettings.search_using_elasticsearch?795 when requesting basic_search796 returns false797 #execute798 returns an Elastic result object when elasticsearch is enabled799 returns an ordinary result object when elasticsearch is disabled800 advanced syntax queries for all scopes801 with query "display bug" and scope merge_requests802 allows advanced query803 with query "display bug" and scope notes804 allows advanced query805 with query "display bug" and scope commits806 allows advanced query807 with query "display bug" and scope blobs808 allows advanced query809 with query "display bug" and scope projects810 allows advanced query811 with query "display bug" and scope issues812 allows advanced query813 with query "display bug" and scope wiki_blobs814 allows advanced query815 with query "display bug" and scope milestones816 allows advanced query817 with query bug -display and scope merge_requests818 allows advanced query819 with query bug -display and scope notes820 allows advanced query821 with query bug -display and scope commits822 allows advanced query823 with query bug -display and scope blobs824 allows advanced query825 with query bug -display and scope projects826 allows advanced query827 with query bug -display and scope issues828 allows advanced query829 with query bug -display and scope wiki_blobs830 allows advanced query831 with query bug -display and scope milestones832 allows advanced query833 with query bug display | sound and scope merge_requests834 allows advanced query835 with query bug display | sound and scope notes836 allows advanced query837 with query bug display | sound and scope commits838 allows advanced query839 with query bug display | sound and scope blobs840 allows advanced query841 with query bug display | sound and scope projects842 allows advanced query843 with query bug display | sound and scope issues844 allows advanced query845 with query bug display | sound and scope wiki_blobs846 allows advanced query847 with query bug display | sound and scope milestones848 allows advanced query849 with query bug | (display +sound) and scope merge_requests850 allows advanced query851 with query bug | (display +sound) and scope notes852 allows advanced query853 with query bug | (display +sound) and scope commits854 allows advanced query855 with query bug | (display +sound) and scope blobs856 allows advanced query857 with query bug | (display +sound) and scope projects858 allows advanced query859 with query bug | (display +sound) and scope issues860 allows advanced query861 with query bug | (display +sound) and scope wiki_blobs862 allows advanced query863 with query bug | (display +sound) and scope milestones864 allows advanced query865 with query bug find_by_* and scope merge_requests866 allows advanced query867 with query bug find_by_* and scope notes868 allows advanced query869 with query bug find_by_* and scope commits870 allows advanced query871 with query bug find_by_* and scope blobs872 allows advanced query873 with query bug find_by_* and scope projects874 allows advanced query875 with query bug find_by_* and scope issues876 allows advanced query877 with query bug find_by_* and scope wiki_blobs878 allows advanced query879 with query bug find_by_* and scope milestones880 allows advanced query881 with query argument \-last and scope merge_requests882 allows advanced query883 with query argument \-last and scope notes884 allows advanced query885 with query argument \-last and scope commits886 allows advanced query887 with query argument \-last and scope blobs888 allows advanced query889 with query argument \-last and scope projects890 allows advanced query891 with query argument \-last and scope issues892 allows advanced query893 with query argument \-last and scope wiki_blobs894 allows advanced query895 with query argument \-last and scope milestones896 allows advanced query897 has_parent usage898 behaves like search does not use has_parent899 does not use joins to apply permissions900 behaves like search does not use has_parent901 does not use joins to apply permissions902 behaves like search does not use has_parent903 does not use joins to apply permissions904 when projects search has an empty search term905 does not raise exception906 visibility907 merge request908 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 1909 behaves like search respects visibility910 respects visibility911 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 1912 behaves like search respects visibility913 respects visibility914 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 1915 behaves like search respects visibility916 respects visibility917 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 1918 behaves like search respects visibility919 respects visibility920 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 1921 behaves like search respects visibility922 respects visibility923 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 1924 behaves like search respects visibility925 respects visibility926 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 1927 behaves like search respects visibility928 respects visibility929 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 0930 behaves like search respects visibility931 respects visibility932 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 1933 behaves like search respects visibility934 respects visibility935 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 0936 behaves like search respects visibility937 respects visibility938 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 0939 behaves like search respects visibility940 respects visibility941 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 0942 behaves like search respects visibility943 respects visibility944 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 0945 behaves like search respects visibility946 respects visibility947 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 0948 behaves like search respects visibility949 respects visibility950 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 0951 behaves like search respects visibility952 respects visibility953 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 0954 behaves like search respects visibility955 respects visibility956 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 1957 behaves like search respects visibility958 respects visibility959 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 1960 behaves like search respects visibility961 respects visibility962 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 1963 behaves like search respects visibility964 respects visibility965 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 1966 behaves like search respects visibility967 respects visibility968 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 1969 behaves like search respects visibility970 respects visibility971 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 0972 behaves like search respects visibility973 respects visibility974 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 1975 behaves like search respects visibility976 respects visibility977 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 0978 behaves like search respects visibility979 respects visibility980 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 1981 behaves like search respects visibility982 respects visibility983 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 0984 behaves like search respects visibility985 respects visibility986 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 0987 behaves like search respects visibility988 respects visibility989 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 0990 behaves like search respects visibility991 respects visibility992 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 0993 behaves like search respects visibility994 respects visibility995 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 0996 behaves like search respects visibility997 respects visibility998 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 0999 behaves like search respects visibility1000 respects visibility1001 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01002 behaves like search respects visibility1003 respects visibility1004 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11005 behaves like search respects visibility1006 respects visibility1007 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01008 behaves like search respects visibility1009 respects visibility1010 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11011 behaves like search respects visibility1012 respects visibility1013 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01014 behaves like search respects visibility1015 respects visibility1016 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01017 behaves like search respects visibility1018 respects visibility1019 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01020 behaves like search respects visibility1021 respects visibility1022 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01023 behaves like search respects visibility1024 respects visibility1025 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01026 behaves like search respects visibility1027 respects visibility1028 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01029 behaves like search respects visibility1030 respects visibility1031 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01032 behaves like search respects visibility1033 respects visibility1034 note1035 on issues1036 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 21037 behaves like search respects visibility1038 respects visibility1039 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11040 behaves like search respects visibility1041 respects visibility1042 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 21043 behaves like search respects visibility1044 respects visibility1045 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11046 behaves like search respects visibility1047 respects visibility1048 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11049 behaves like search respects visibility1050 respects visibility1051 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11052 behaves like search respects visibility1053 respects visibility1054 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 21055 behaves like search respects visibility1056 respects visibility1057 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01058 behaves like search respects visibility1059 respects visibility1060 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 21061 behaves like search respects visibility1062 respects visibility1063 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11064 behaves like search respects visibility1065 respects visibility1066 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01067 behaves like search respects visibility1068 respects visibility1069 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01070 behaves like search respects visibility1071 respects visibility1072 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01073 behaves like search respects visibility1074 respects visibility1075 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01076 behaves like search respects visibility1077 respects visibility1078 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01079 behaves like search respects visibility1080 respects visibility1081 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01082 behaves like search respects visibility1083 respects visibility1084 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 21085 behaves like search respects visibility1086 respects visibility1087 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11088 behaves like search respects visibility1089 respects visibility1090 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 21091 behaves like search respects visibility1092 respects visibility1093 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11094 behaves like search respects visibility1095 respects visibility1096 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11097 behaves like search respects visibility1098 respects visibility1099 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01100 behaves like search respects visibility1101 respects visibility1102 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 21103 behaves like search respects visibility1104 respects visibility1105 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01106 behaves like search respects visibility1107 respects visibility1108 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 21109 behaves like search respects visibility1110 respects visibility1111 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11112 behaves like search respects visibility1113 respects visibility1114 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01115 behaves like search respects visibility1116 respects visibility1117 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01118 behaves like search respects visibility1119 respects visibility1120 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01121 behaves like search respects visibility1122 respects visibility1123 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01124 behaves like search respects visibility1125 respects visibility1126 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01127 behaves like search respects visibility1128 respects visibility1129 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01130 behaves like search respects visibility1131 respects visibility1132 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 21133 behaves like search respects visibility1134 respects visibility1135 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01136 behaves like search respects visibility1137 respects visibility1138 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 21139 behaves like search respects visibility1140 respects visibility1141 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11142 behaves like search respects visibility1143 respects visibility1144 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01145 behaves like search respects visibility1146 respects visibility1147 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01148 behaves like search respects visibility1149 respects visibility1150 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01151 behaves like search respects visibility1152 respects visibility1153 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01154 behaves like search respects visibility1155 respects visibility1156 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01157 behaves like search respects visibility1158 respects visibility1159 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01160 behaves like search respects visibility1161 respects visibility1162 on merge requests1163 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11164 behaves like search respects visibility1165 respects visibility1166 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11167 behaves like search respects visibility1168 respects visibility1169 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11170 behaves like search respects visibility1171 respects visibility1172 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11173 behaves like search respects visibility1174 respects visibility1175 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11176 behaves like search respects visibility1177 respects visibility1178 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11179 behaves like search respects visibility1180 respects visibility1181 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11182 behaves like search respects visibility1183 respects visibility1184 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01185 behaves like search respects visibility1186 respects visibility1187 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11188 behaves like search respects visibility1189 respects visibility1190 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01191 behaves like search respects visibility1192 respects visibility1193 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01194 behaves like search respects visibility1195 respects visibility1196 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01197 behaves like search respects visibility1198 respects visibility1199 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01200 behaves like search respects visibility1201 respects visibility1202 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01203 behaves like search respects visibility1204 respects visibility1205 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01206 behaves like search respects visibility1207 respects visibility1208 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01209 behaves like search respects visibility1210 respects visibility1211 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11212 behaves like search respects visibility1213 respects visibility1214 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11215 behaves like search respects visibility1216 respects visibility1217 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11218 behaves like search respects visibility1219 respects visibility1220 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11221 behaves like search respects visibility1222 respects visibility1223 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11224 behaves like search respects visibility1225 respects visibility1226 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01227 behaves like search respects visibility1228 respects visibility1229 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11230 behaves like search respects visibility1231 respects visibility1232 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01233 behaves like search respects visibility1234 respects visibility1235 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11236 behaves like search respects visibility1237 respects visibility1238 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01239 behaves like search respects visibility1240 respects visibility1241 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01242 behaves like search respects visibility1243 respects visibility1244 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01245 behaves like search respects visibility1246 respects visibility1247 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01248 behaves like search respects visibility1249 respects visibility1250 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01251 behaves like search respects visibility1252 respects visibility1253 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01254 behaves like search respects visibility1255 respects visibility1256 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01257 behaves like search respects visibility1258 respects visibility1259 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11260 behaves like search respects visibility1261 respects visibility1262 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01263 behaves like search respects visibility1264 respects visibility1265 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11266 behaves like search respects visibility1267 respects visibility1268 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01269 behaves like search respects visibility1270 respects visibility1271 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01272 behaves like search respects visibility1273 respects visibility1274 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01275 behaves like search respects visibility1276 respects visibility1277 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01278 behaves like search respects visibility1279 respects visibility1280 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01281 behaves like search respects visibility1282 respects visibility1283 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01284 behaves like search respects visibility1285 respects visibility1286 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01287 behaves like search respects visibility1288 respects visibility1289 on commits1290 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11291 behaves like search respects visibility1292 respects visibility1293 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11294 behaves like search respects visibility1295 respects visibility1296 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11297 behaves like search respects visibility1298 respects visibility1299 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11300 behaves like search respects visibility1301 respects visibility1302 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11303 behaves like search respects visibility1304 respects visibility1305 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11306 behaves like search respects visibility1307 respects visibility1308 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11309 behaves like search respects visibility1310 respects visibility1311 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01312 behaves like search respects visibility1313 respects visibility1314 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11315 behaves like search respects visibility1316 respects visibility1317 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11318 behaves like search respects visibility1319 respects visibility1320 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01321 behaves like search respects visibility1322 respects visibility1323 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01324 behaves like search respects visibility1325 respects visibility1326 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01327 behaves like search respects visibility1328 respects visibility1329 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01330 behaves like search respects visibility1331 respects visibility1332 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01333 behaves like search respects visibility1334 respects visibility1335 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01336 behaves like search respects visibility1337 respects visibility1338 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11339 behaves like search respects visibility1340 respects visibility1341 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11342 behaves like search respects visibility1343 respects visibility1344 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11345 behaves like search respects visibility1346 respects visibility1347 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11348 behaves like search respects visibility1349 respects visibility1350 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11351 behaves like search respects visibility1352 respects visibility1353 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01354 behaves like search respects visibility1355 respects visibility1356 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11357 behaves like search respects visibility1358 respects visibility1359 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01360 behaves like search respects visibility1361 respects visibility1362 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11363 behaves like search respects visibility1364 respects visibility1365 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11366 behaves like search respects visibility1367 respects visibility1368 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01369 behaves like search respects visibility1370 respects visibility1371 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01372 behaves like search respects visibility1373 respects visibility1374 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01375 behaves like search respects visibility1376 respects visibility1377 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01378 behaves like search respects visibility1379 respects visibility1380 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01381 behaves like search respects visibility1382 respects visibility1383 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01384 behaves like search respects visibility1385 respects visibility1386 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11387 behaves like search respects visibility1388 respects visibility1389 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01390 behaves like search respects visibility1391 respects visibility1392 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11393 behaves like search respects visibility1394 respects visibility1395 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01396 behaves like search respects visibility1397 respects visibility1398 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01399 behaves like search respects visibility1400 respects visibility1401 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01402 behaves like search respects visibility1403 respects visibility1404 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01405 behaves like search respects visibility1406 respects visibility1407 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01408 behaves like search respects visibility1409 respects visibility1410 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01411 behaves like search respects visibility1412 respects visibility1413 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01414 behaves like search respects visibility1415 respects visibility1416 on snippets1417 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11418 behaves like search respects visibility1419 respects visibility1420 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11421 behaves like search respects visibility1422 respects visibility1423 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11424 behaves like search respects visibility1425 respects visibility1426 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11427 behaves like search respects visibility1428 respects visibility1429 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11430 behaves like search respects visibility1431 respects visibility1432 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11433 behaves like search respects visibility1434 respects visibility1435 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11436 behaves like search respects visibility1437 respects visibility1438 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01439 behaves like search respects visibility1440 respects visibility1441 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11442 behaves like search respects visibility1443 respects visibility1444 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11445 behaves like search respects visibility1446 respects visibility1447 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01448 behaves like search respects visibility1449 respects visibility1450 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01451 behaves like search respects visibility1452 respects visibility1453 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01454 behaves like search respects visibility1455 respects visibility1456 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01457 behaves like search respects visibility1458 respects visibility1459 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01460 behaves like search respects visibility1461 respects visibility1462 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01463 behaves like search respects visibility1464 respects visibility1465 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11466 behaves like search respects visibility1467 respects visibility1468 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11469 behaves like search respects visibility1470 respects visibility1471 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11472 behaves like search respects visibility1473 respects visibility1474 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11475 behaves like search respects visibility1476 respects visibility1477 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11478 behaves like search respects visibility1479 respects visibility1480 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01481 behaves like search respects visibility1482 respects visibility1483 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11484 behaves like search respects visibility1485 respects visibility1486 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01487 behaves like search respects visibility1488 respects visibility1489 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11490 behaves like search respects visibility1491 respects visibility1492 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11493 behaves like search respects visibility1494 respects visibility1495 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01496 behaves like search respects visibility1497 respects visibility1498 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01499 behaves like search respects visibility1500 respects visibility1501 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01502 behaves like search respects visibility1503 respects visibility1504 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01505 behaves like search respects visibility1506 respects visibility1507 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01508 behaves like search respects visibility1509 respects visibility1510 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01511 behaves like search respects visibility1512 respects visibility1513 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11514 behaves like search respects visibility1515 respects visibility1516 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01517 behaves like search respects visibility1518 respects visibility1519 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11520 behaves like search respects visibility1521 respects visibility1522 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11523 behaves like search respects visibility1524 respects visibility1525 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01526 behaves like search respects visibility1527 respects visibility1528 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01529 behaves like search respects visibility1530 respects visibility1531 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01532 behaves like search respects visibility1533 respects visibility1534 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01535 behaves like search respects visibility1536 respects visibility1537 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01538 behaves like search respects visibility1539 respects visibility1540 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01541 behaves like search respects visibility1542 respects visibility1543 issue1544 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11545 behaves like search respects visibility1546 respects visibility1547 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11548 behaves like search respects visibility1549 respects visibility1550 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11551 behaves like search respects visibility1552 respects visibility1553 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11554 behaves like search respects visibility1555 respects visibility1556 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11557 behaves like search respects visibility1558 respects visibility1559 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11560 behaves like search respects visibility1561 respects visibility1562 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11563 behaves like search respects visibility1564 respects visibility1565 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01566 behaves like search respects visibility1567 respects visibility1568 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11569 behaves like search respects visibility1570 respects visibility1571 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11572 behaves like search respects visibility1573 respects visibility1574 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01575 behaves like search respects visibility1576 respects visibility1577 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01578 behaves like search respects visibility1579 respects visibility1580 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01581 behaves like search respects visibility1582 respects visibility1583 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01584 behaves like search respects visibility1585 respects visibility1586 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01587 behaves like search respects visibility1588 respects visibility1589 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01590 behaves like search respects visibility1591 respects visibility1592 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11593 behaves like search respects visibility1594 respects visibility1595 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11596 behaves like search respects visibility1597 respects visibility1598 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11599 behaves like search respects visibility1600 respects visibility1601 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11602 behaves like search respects visibility1603 respects visibility1604 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11605 behaves like search respects visibility1606 respects visibility1607 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01608 behaves like search respects visibility1609 respects visibility1610 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11611 behaves like search respects visibility1612 respects visibility1613 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01614 behaves like search respects visibility1615 respects visibility1616 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11617 behaves like search respects visibility1618 respects visibility1619 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11620 behaves like search respects visibility1621 respects visibility1622 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01623 behaves like search respects visibility1624 respects visibility1625 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01626 behaves like search respects visibility1627 respects visibility1628 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01629 behaves like search respects visibility1630 respects visibility1631 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01632 behaves like search respects visibility1633 respects visibility1634 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01635 behaves like search respects visibility1636 respects visibility1637 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01638 behaves like search respects visibility1639 respects visibility1640 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11641 behaves like search respects visibility1642 respects visibility1643 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01644 behaves like search respects visibility1645 respects visibility1646 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11647 behaves like search respects visibility1648 respects visibility1649 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11650 behaves like search respects visibility1651 respects visibility1652 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01653 behaves like search respects visibility1654 respects visibility1655 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01656 behaves like search respects visibility1657 respects visibility1658 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01659 behaves like search respects visibility1660 respects visibility1661 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01662 behaves like search respects visibility1663 respects visibility1664 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01665 behaves like search respects visibility1666 respects visibility1667 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01668 behaves like search respects visibility1669 respects visibility1670 wiki1671 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11672 behaves like search respects visibility1673 respects visibility1674 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11675 behaves like search respects visibility1676 respects visibility1677 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11678 behaves like search respects visibility1679 respects visibility1680 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11681 behaves like search respects visibility1682 respects visibility1683 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11684 behaves like search respects visibility1685 respects visibility1686 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11687 behaves like search respects visibility1688 respects visibility1689 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11690 behaves like search respects visibility1691 respects visibility1692 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01693 behaves like search respects visibility1694 respects visibility1695 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11696 behaves like search respects visibility1697 respects visibility1698 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11699 behaves like search respects visibility1700 respects visibility1701 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01702 behaves like search respects visibility1703 respects visibility1704 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01705 behaves like search respects visibility1706 respects visibility1707 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01708 behaves like search respects visibility1709 respects visibility1710 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01711 behaves like search respects visibility1712 respects visibility1713 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01714 behaves like search respects visibility1715 respects visibility1716 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01717 behaves like search respects visibility1718 respects visibility1719 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11720 behaves like search respects visibility1721 respects visibility1722 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11723 behaves like search respects visibility1724 respects visibility1725 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11726 behaves like search respects visibility1727 respects visibility1728 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11729 behaves like search respects visibility1730 respects visibility1731 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11732 behaves like search respects visibility1733 respects visibility1734 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01735 behaves like search respects visibility1736 respects visibility1737 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11738 behaves like search respects visibility1739 respects visibility1740 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01741 behaves like search respects visibility1742 respects visibility1743 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11744 behaves like search respects visibility1745 respects visibility1746 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11747 behaves like search respects visibility1748 respects visibility1749 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01750 behaves like search respects visibility1751 respects visibility1752 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01753 behaves like search respects visibility1754 respects visibility1755 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01756 behaves like search respects visibility1757 respects visibility1758 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01759 behaves like search respects visibility1760 respects visibility1761 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01762 behaves like search respects visibility1763 respects visibility1764 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01765 behaves like search respects visibility1766 respects visibility1767 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11768 behaves like search respects visibility1769 respects visibility1770 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01771 behaves like search respects visibility1772 respects visibility1773 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11774 behaves like search respects visibility1775 respects visibility1776 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11777 behaves like search respects visibility1778 respects visibility1779 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01780 behaves like search respects visibility1781 respects visibility1782 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01783 behaves like search respects visibility1784 respects visibility1785 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01786 behaves like search respects visibility1787 respects visibility1788 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01789 behaves like search respects visibility1790 respects visibility1791 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01792 behaves like search respects visibility1793 respects visibility1794 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01795 behaves like search respects visibility1796 respects visibility1797 milestone1798 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11799 respects visibility1800 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11801 respects visibility1802 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11803 respects visibility1804 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11805 respects visibility1806 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11807 respects visibility1808 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11809 respects visibility1810 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11811 respects visibility1812 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 11813 respects visibility1814 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11815 respects visibility1816 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11817 respects visibility1818 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 11819 respects visibility1820 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 11821 respects visibility1822 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 11823 respects visibility1824 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 11825 respects visibility1826 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 11827 respects visibility1828 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 11829 respects visibility1830 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 11831 respects visibility1832 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 11833 respects visibility1834 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11835 respects visibility1836 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11837 respects visibility1838 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11839 respects visibility1840 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11841 respects visibility1842 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11843 respects visibility1844 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11845 respects visibility1846 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11847 respects visibility1848 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01849 respects visibility1850 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11851 respects visibility1852 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11853 respects visibility1854 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01855 respects visibility1856 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01857 respects visibility1858 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 11859 respects visibility1860 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 01861 respects visibility1862 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 11863 respects visibility1864 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 11865 respects visibility1866 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01867 respects visibility1868 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01869 respects visibility1870 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11871 respects visibility1872 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11873 respects visibility1874 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11875 respects visibility1876 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11877 respects visibility1878 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11879 respects visibility1880 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11881 respects visibility1882 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11883 respects visibility1884 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01885 respects visibility1886 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11887 respects visibility1888 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01889 respects visibility1890 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01891 respects visibility1892 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01893 respects visibility1894 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01895 respects visibility1896 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01897 respects visibility1898 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01899 respects visibility1900 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01901 respects visibility1902 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11903 respects visibility1904 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11905 respects visibility1906 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11907 respects visibility1908 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11909 respects visibility1910 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11911 respects visibility1912 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01913 respects visibility1914 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11915 respects visibility1916 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 11917 respects visibility1918 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11919 respects visibility1920 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11921 respects visibility1922 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 11923 respects visibility1924 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01925 respects visibility1926 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 11927 respects visibility1928 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 11929 respects visibility1930 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 11931 respects visibility1932 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 11933 respects visibility1934 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 11935 respects visibility1936 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01937 respects visibility1938 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11939 respects visibility1940 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11941 respects visibility1942 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11943 respects visibility1944 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11945 respects visibility1946 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11947 respects visibility1948 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01949 respects visibility1950 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11951 respects visibility1952 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01953 respects visibility1954 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11955 respects visibility1956 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11957 respects visibility1958 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01959 respects visibility1960 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01961 respects visibility1962 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 11963 respects visibility1964 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 01965 respects visibility1966 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 11967 respects visibility1968 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 11969 respects visibility1970 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01971 respects visibility1972 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01973 respects visibility1974 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11975 respects visibility1976 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11977 respects visibility1978 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11979 respects visibility1980 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11981 respects visibility1982 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11983 respects visibility1984 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01985 respects visibility1986 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11987 respects visibility1988 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01989 respects visibility1990 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11991 respects visibility1992 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01993 respects visibility1994 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01995 respects visibility1996 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01997 respects visibility1998 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01999 respects visibility2000 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02001 respects visibility2002 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02003 respects visibility2004 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02005 respects visibility2006 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12007 respects visibility2008 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02009 respects visibility2010 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12011 respects visibility2012 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12013 respects visibility2014 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02015 respects visibility2016 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02017 respects visibility2018 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 12019 respects visibility2020 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 02021 respects visibility2022 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 12023 respects visibility2024 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 12025 respects visibility2026 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02027 respects visibility2028 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02029 respects visibility2030 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12031 respects visibility2032 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02033 respects visibility2034 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12035 respects visibility2036 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 02037 respects visibility2038 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02039 respects visibility2040 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02041 respects visibility2042 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02043 respects visibility2044 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02045 respects visibility2046 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02047 respects visibility2048 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02049 respects visibility2050 project2051 project_level: :public, membership: :reporter, expected_count: 12052 respects visibility2053 project_level: :public, membership: :guest, expected_count: 12054 respects visibility2055 project_level: :public, membership: :non_member, expected_count: 12056 respects visibility2057 project_level: :public, membership: :anonymous, expected_count: 12058 respects visibility2059 project_level: :internal, membership: :reporter, expected_count: 12060 respects visibility2061 project_level: :internal, membership: :guest, expected_count: 12062 respects visibility2063 project_level: :internal, membership: :non_member, expected_count: 12064 respects visibility2065 project_level: :internal, membership: :anonymous, expected_count: 02066 respects visibility2067 project_level: :private, membership: :reporter, expected_count: 12068 respects visibility2069 project_level: :private, membership: :guest, expected_count: 12070 respects visibility2071 project_level: :private, membership: :non_member, expected_count: 02072 respects visibility2073 project_level: :private, membership: :anonymous, expected_count: 02074 respects visibility2075 sorting2076 issue2077 sort: created_desc2078 sorts results by created_at2079 sort: created_asc2080 sorts results by created_at2081 sort: updated_desc2082 sorts results by updated_desc2083 sort: updated_asc2084 sorts results by updated_asc2085 merge request2086 sort: created_desc2087 sorts results by created_at2088 sort: created_asc2089 sorts results by created_at2090 sort: updated_desc2091 sorts results by updated_desc2092 sort: updated_asc2093 sorts results by updated_asc2094 #allowed_scopes2095 when ES is used2096 includes ES-specific scopes2097 when elasticearch_search is disabled2098 does not include ES-specific scopes2099 when elasticsearch_limit_indexing is enabled2100 when advanced_global_search_for_limited_indexing feature flag is disabled2101 does not include ES-specific scopes2102 when advanced_global_search_for_limited_indexing feature flag is enabled2103 includes ES-specific scopes2104 #elastic_projects2105 when the user is an admin2106 when admin mode is enabled2107 returns :any2108 when admin mode is disabled2109 returns empty array2110 when the user is not an admin2111 returns the projects the user has access to2112 when there is no user2113 returns empty array2114 confidential notes2115 with notes on issues2116 behaves like search confidential notes shared examples2117 notes confidentiality2118 for anonymous user2119 filters confidential notes2120 when user cannot read confidential notes2121 filters confidential notes2122 when user can read confidential notes2123 does not filter confidential notes2124 with additional notes on a confidential issue2125 when user cannot read confidential2126 filters all notes from confidential issue2127 when user can read confidential2128 when user is project reporter2129 does not filter confidential issue notes2130 when user is a participant2131 as issue author2132 filters confidential issue notes2133 as issue assignee2134 filters confidential issue notes2135Gitlab::Geo::LogCursor::Daemon2136 #run!2137 traps signals2138 delegates to #run_once! in a loop2139 #run_once!2140 skips execution if cannot achieve a lease2141 skips execution if not a Geo node2142 skips execution if the current node is a primary2143 when the lease block rescues an error2144 when this error is the final straw2145 calls `#exit!`2146 when this error is not the final straw2147 does not call `#exit!`2148 #find_and_handle_events!2149 with some event logs2150 handles events2151 calls #handle_gap_event for each gap the gap tracking finds2152 exits when told to stop2153 when node has namespace restrictions2154 replays events for projects that belong to selected namespaces to replicate2155 does not replay events for projects that do not belong to selected namespaces to replicate2156 detects when an event was skipped2157 detects when an event was skipped between batches2158 logs a message if an associated event can't be found2159 logs a message for skipped events2160 does not replay events for projects that do not belong to selected shards to replicate2161 #handle_events2162 passes the previous batch id on to gap tracking2163 checks for gaps for each id in batch2164 handles every single event2165 #handle_single_event2166 skips execution when no event data is found2167 checks if it can replay the event2168 processes event when it is replayable2169Geo::MergeRequestDiffRegistry2170 factory is valid2171 obligatory fields check2172 has expected fields or methods2173 scopes2174 sync_timed_out2175 return correct records2176 finders2177 .find_registries_never_attempted_sync2178 returns unsynced items2179 returns items that never have an attempt to sync except some specific item ID2180 .find_registries_needs_sync_again2181 returns failed items2182 returns failed items except some specific item ID2183 orders records according to retry_at2184 .fail_sync_timeouts2185 marks started records as failed if they are expired2186 #failed!2187 sets last_sync_failure with message2188 truncates a long last_sync_failure2189 increments retry_count2190 sets retry_at to a time in the future2191 when an error is given2192 includes error.message in last_sync_failure2193 when missing_on_primary is not given2194 caps retry_at to default 1 hour2195 when missing_on_primary is falsey2196 caps retry_at to default 1 hour2197 when missing_on_primary is truthy2198 caps retry_at to 4 hours2199 #synced!2200 mark as synced2201 when a sync was scheduled after the last sync finishes2202 does not reset state2203 resets the other sync state fields2204 #pending!2205 when a sync is currently running2206 successfully moves state to pending2207 when the registry has recorded a failure2208 clears failure retry fields2209 state machine2210 when transitioning to synced2211 marks verification as pending2212 when the model_record cannot be verified2213 when the registry is already verification_disabled2214 changes verification to disabled2215 when the registry is verification_pending2216 changes verification to disabled2217 verification_state machine2218 when transitioning to verification_failed2219 changes state from synced to failed2220 .verification_pending_batch2221 returns IDs of rows which are synced and pending verification2222 excludes rows which are not synced or are not pending verification2223 marks verification as started2224 .verification_failed_batch2225 with a failed record with retry due2226 returns IDs of rows which are synced and have failed verification2227 excludes rows which are not synced or have not failed verification2228 marks verification as started2229 when verification_retry_at is in the future2230 does not return the row which failed verification2231 .needs_verification_count2232 returns the number of rows which are synced and pending verification2233 includes rows which are synced and failed verification and are due for retry2234 excludes rows which are synced and failed verification and have a future retry time2235 excludes rows which are not synced or are not (pending or failed) verification2236 #verification_succeeded!2237 clears checksum mismatch fields2238 #track_checksum_attempt!2239 yields to the checksum calculation2240 when verification was not yet started2241 starts verification2242 when the model record cannot be verified2243 when the registry is already verification_disabled2244 leaves verification as disabled2245 when the registry is verification_pending2246 changes verification to disabled2247 when the primary site is expected to checksum the model record2248 comparison with primary checksum2249 when the calculated checksum matches the primary checksum2250 transitions to verification_succeeded and updates the checksum2251 when the calculated checksum does not match the primary checksum2252 transitions to verification_failed and updates mismatch fields2253 when verification was started2254 does not update verification_started_at2255 when an error occurs while yielding2256 sets verification_failed2257 .with_search2258 when query is empty2259 returns all registries2260 when query is not empty2261 calls model_class search method2262Gitlab::Usage::ServicePingReport2263 for conditional metrics inclusion2264 does not raise errors2265 for output: :metrics_queries2266 returns queries that do not change between calls2267Ci::Build2268 # order random2269 updates pipeline minutes2270 for event success2271 for event drop2272 for event cancel2273 #collect_metrics_reports!2274 when there is a metrics report2275 when license has metrics_reports2276 parses blobs and add the results to the report2277 when license does not have metrics_reports2278 does not parse metrics report2279 ci_secrets_management_available?2280 when build has no project2281 is expected to equal false2282 when secrets management feature is available2283 is expected to equal true2284 when secrets management feature is not available2285 is expected to equal false2286 #collect_security_reports!2287 when report types are given2288 parses blobs and add the results for given report types2289 when report types are not given2290 when build has a security report2291 when there is a sast report2292 parses blobs and add the results to the report2293 adds the created date to the report2294 when there are multiple reports2295 parses blobs and adds the results to the reports2296 when there is a corrupted sast report2297 stores an error2298 vulnerability_finding_signatures2299 signatures_enabled: true2300 parses the report2301 signatures_enabled: false2302 parses the report2303 when there is unsupported file type2304 stores an error2305 #collect_license_scanning_reports!2306 is expected to eq 02307 when the build has a license scanning report2308 when there is a report2309 parses blobs and add the results to the report2310 when there is a corrupted report2311 returns an empty report2312 when the license scanning feature is disabled2313 does NOT parse license scanning report2314 #cost_factor_enabled?2315 with shared runner2316 is expected to be truthy2317 with project runner2318 is expected to be falsey2319 without runner2320 is expected to be falsey2321 #collect_dependency_list_reports!2322 with available licensed feature2323 parses blobs and add the results to the report2324 with different report format2325 parses blobs and add the results to the report2326 with disabled licensed feature2327 does NOT parse dependency list report2328 #runner_required_feature_names2329 when secrets management feature is available2330 when there are secrets defined2331 is expected to include :vault_secrets2332 when there are no secrets defined2333 is expected not to include :vault_secrets2334 when secrets management feature is not available2335 when there are secrets defined2336 is expected not to include :vault_secrets2337 when there are no secrets defined2338 is expected not to include :vault_secrets2339 clone_accessors2340 includes the cloneable extra accessors2341 #unmerged_security_reports2342 when build has a security report2343 when there is a sast report2344 parses blobs and add the results to the report2345 when there are multiple reports2346 parses blobs and adds unmerged results to the reports2347 when build has no security reports2348 has no parsed reports2349 behaves like has secrets2350 delegations2351 is expected to delegate #secrets to the #metadata object, allowing #metadata to return nil2352 #secrets?2353 without metadata2354 is expected to equal false2355 with metadata2356 when secrets exist2357 is expected to equal true2358 when secrets do not exit2359 is expected to equal false2360 #playable?2361 when build is waiting for deployment approval2362 is expected not to be playable2363 #collect_sbom_reports!2364 when there is an sbom report2365 adds each report to the reports list and parses it2366 .license_scan2367 with new license_scanning artifact2368 is expected to eq "license_scanning"2369 associations2370 is expected to have many security_scans class_name => Security::Scan2371 is expected to have one dast_site_profiles_build class_name => Dast::SiteProfilesBuild2372 is expected to have one dast_site_profile class_name => DastSiteProfile through dast_site_profiles_build2373 is expected to have one dast_scanner_profiles_build class_name => Dast::ScannerProfilesBuild2374 is expected to have one dast_scanner_profile class_name => DastScannerProfile through dast_scanner_profiles_build2375 secrets management usage data2376 when secrets management feature is not available2377 does not track RedisHLL event2378 does not track Snowplow event2379 when secrets management feature is available2380 when there are secrets defined2381 on create2382 tracks RedisHLL event with user_id2383 tracks Snowplow event with RedisHLL context2384 with usage_data_i_ci_secrets_management_vault_build_created FF disabled2385 does not track RedisHLL event2386 does not track Snowplow event2387 on update2388 does not track RedisHLL event2389 does not track Snowplow event2390 when there are no secrets defined2391 on create2392 does not track RedisHLL event2393 does not track Snowplow event2394 #to_ability_name2395 is expected to eq "build"2396 #resource_parent2397 is expected to eq #<Project id:160 group12/project-160>>2398 send_to_ai?2399 debug_mode: false, has_trace: true, result: true2400 is expected to eq true2401 debug_mode: false, has_trace: false, result: false2402 is expected to eq false2403 debug_mode: true, has_trace: true, result: false2404 is expected to eq false2405 debug_mode: true, has_trace: false, result: false2406 is expected to eq false2407 #has_security_reports?2408 when build has a security report2409 is expected to equal true2410 when build does not have a security report2411 is expected to equal false2412 #collect_requirements_reports!2413 when there is a requirements report2414 when requirements are available2415 parses blobs and adds the results to the report2416 when requirements are not available2417 does not parse requirements report2418 when using legacy format2419 when there is a requirements report2420 when requirements are available2421 parses blobs and adds the results to the report2422 when requirements are not available2423 does not parse requirements report2424 when the build is waiting for deployment approval2425 does not allow the build to be enqueued2426 .license_scan2427 returns only license artifacts2428 #variables2429 when environment specific variable is defined2430 when there is a plan for the group2431 GITLAB_FEATURES should include the features for that plan2432 dast2433 when there is a dast_site_profile associated with the job2434 behaves like it includes variables2435 includes variables from the profile2436 when user has permission2437 behaves like it includes variables2438 includes variables from the profile2439 when there is a dast_scanner_profile associated with the job2440 behaves like it includes variables2441 includes variables from the profile2442 when there are profiles associated with the job2443 when dast_configuration is absent from the options2444 does not attempt look up any dast profiles to avoid unnecessary queries2445 when site_profile is absent from the dast_configuration2446 does not attempt look up the site profile to avoid unnecessary queries2447 when scanner_profile is absent from the dast_configuration2448 does not attempt look up the scanner profile to avoid unnecessary queries2449 when both profiles are present in the dast_configuration2450 attempts look up dast profiles2451 when dast_site_profile target_type is website2452 behaves like it includes variables2453 includes variables from the profile2454 when dast_site_profile target_type is api2455 behaves like it includes variables2456 includes variables from the profile2457 variable CI_HAS_OPEN_REQUIREMENTS2458 is included with value 'true' if there are open requirements2459 is not included if there are no open requirements2460 .sbom_generation2461 returns only cyclonedx sbom artifacts2462 #retryable?2463 with pipeline for merged results2464 is expected to equal true2465Upload2466 is expected to have one upload_state class_name => Geo::UploadState inverse_of => upload2467 .with_verification_state2468 returns records with given scope2469 .checksummed2470 returns records with given scope2471 .not_checksummed2472 returns records with given scope2473 #save_verification_details2474 when model record is not part of verifiables scope2475 does not create verification details2476 when model_record is part of verifiables scope2477 creates verification details2478 .replicables_for_current_secondary2479 selective_sync_namespaces: nil, selective_sync_shards: nil, factory: [:upload], model_factory: [:project], is_upload_included: true2480 when sync object storage is enabled2481 when the upload is locally stored2482 is expected to eq true2483 when the upload is object stored2484 is expected to eq true2485 when sync object storage is disabled2486 when the upload is locally stored2487 is expected to eq true2488 when the upload is object stored2489 is expected to be falsey2490 selective_sync_namespaces: nil, selective_sync_shards: nil, factory: [:upload, :issuable_upload], model_factory: [:project], is_upload_included: true2491 when sync object storage is enabled2492 when the upload is locally stored2493 is expected to eq true2494 when the upload is object stored2495 is expected to eq true2496 when sync object storage is disabled2497 when the upload is locally stored2498 is expected to eq true2499 when the upload is object stored2500 is expected to be falsey2501 selective_sync_namespaces: nil, selective_sync_shards: nil, factory: [:upload, :namespace_upload], model_factory: [:group], is_upload_included: true2502 when sync object storage is enabled2503 when the upload is locally stored2504 is expected to eq true2505 when the upload is object stored2506 is expected to eq true2507 when sync object storage is disabled2508 when the upload is locally stored2509 is expected to eq true2510 when the upload is object stored2511 is expected to be falsey2512 selective_sync_namespaces: nil, selective_sync_shards: nil, factory: [:upload, :favicon_upload], model_factory: [:appearance], is_upload_included: true2513 when sync object storage is enabled2514 when the upload is locally stored2515 is expected to eq true2516 when the upload is object stored2517 is expected to eq true2518 when sync object storage is disabled2519 when the upload is locally stored2520 is expected to eq true2521 when the upload is object stored2522 is expected to be falsey2523 selective_sync_namespaces: nil, selective_sync_shards: :model, factory: [:upload], model_factory: [:project], is_upload_included: true2524 when sync object storage is enabled2525 when the upload is locally stored2526 is expected to eq true2527 when the upload is object stored2528 is expected to eq true2529 when sync object storage is disabled2530 when the upload is locally stored2531 is expected to eq true2532 when the upload is object stored2533 is expected to be falsey2534 selective_sync_namespaces: nil, selective_sync_shards: :other, factory: [:upload], model_factory: [:project], is_upload_included: false2535 when sync object storage is enabled2536 when the upload is locally stored2537 is expected to eq false2538 when the upload is object stored2539 is expected to eq false2540 when sync object storage is disabled2541 when the upload is locally stored2542 is expected to eq false2543 when the upload is object stored2544 is expected to be falsey2545 selective_sync_namespaces: nil, selective_sync_shards: :model_project, factory: [:upload, :namespace_upload], model_factory: [:group], is_upload_included: true2546 when sync object storage is enabled2547 when the upload is locally stored2548 is expected to eq true2549 when the upload is object stored2550 is expected to eq true2551 when sync object storage is disabled2552 when the upload is locally stored2553 is expected to eq true2554 when the upload is object stored2555 is expected to be falsey2556 selective_sync_namespaces: nil, selective_sync_shards: :other, factory: [:upload, :namespace_upload], model_factory: [:group], is_upload_included: false2557 when sync object storage is enabled2558 when the upload is locally stored2559 is expected to eq false2560 when the upload is object stored2561 is expected to eq false2562 when sync object storage is disabled2563 when the upload is locally stored2564 is expected to eq false2565 when the upload is object stored2566 is expected to be falsey2567 selective_sync_namespaces: nil, selective_sync_shards: :other, factory: [:upload, :favicon_upload], model_factory: [:appearance], is_upload_included: true2568 when sync object storage is enabled2569 when the upload is locally stored2570 is expected to eq true2571 when the upload is object stored2572 is expected to eq true2573 when sync object storage is disabled2574 when the upload is locally stored2575 is expected to eq true2576 when the upload is object stored2577 is expected to be falsey2578 selective_sync_namespaces: :model_parent, selective_sync_shards: nil, factory: [:upload], model_factory: [:project], is_upload_included: true2579 when sync object storage is enabled2580 when the upload is locally stored2581 is expected to eq true2582 when the upload is object stored2583 is expected to eq true2584 when sync object storage is disabled2585 when the upload is locally stored2586 is expected to eq true2587 when the upload is object stored2588 is expected to be falsey2589 selective_sync_namespaces: :model_parent_parent, selective_sync_shards: nil, factory: [:upload], model_factory: [:project, :in_subgroup], is_upload_included: true2590 when sync object storage is enabled2591 when the upload is locally stored2592 is expected to eq true2593 when the upload is object stored2594 is expected to eq true2595 when sync object storage is disabled2596 when the upload is locally stored2597 is expected to eq true2598 when the upload is object stored2599 is expected to be falsey2600 selective_sync_namespaces: :model, selective_sync_shards: nil, factory: [:upload, :namespace_upload], model_factory: [:group], is_upload_included: true2601 when sync object storage is enabled2602 when the upload is locally stored2603 is expected to eq true2604 when the upload is object stored2605 is expected to eq true2606 when sync object storage is disabled2607 when the upload is locally stored2608 is expected to eq true2609 when the upload is object stored2610 is expected to be falsey2611 selective_sync_namespaces: :model_parent, selective_sync_shards: nil, factory: [:upload, :namespace_upload], model_factory: [:group, :nested], is_upload_included: true2612 when sync object storage is enabled2613 when the upload is locally stored2614 is expected to eq true2615 when the upload is object stored2616 is expected to eq true2617 when sync object storage is disabled2618 when the upload is locally stored2619 is expected to eq true2620 when the upload is object stored2621 is expected to be falsey2622 selective_sync_namespaces: :other, selective_sync_shards: nil, factory: [:upload], model_factory: [:project], is_upload_included: false2623 when sync object storage is enabled2624 when the upload is locally stored2625 is expected to eq false2626 when the upload is object stored2627 is expected to eq false2628 when sync object storage is disabled2629 when the upload is locally stored2630 is expected to eq false2631 when the upload is object stored2632 is expected to be falsey2633 selective_sync_namespaces: :other, selective_sync_shards: nil, factory: [:upload], model_factory: [:project, :in_subgroup], is_upload_included: false2634 when sync object storage is enabled2635 when the upload is locally stored2636 is expected to eq false2637 when the upload is object stored2638 is expected to eq false2639 when sync object storage is disabled2640 when the upload is locally stored2641 is expected to eq false2642 when the upload is object stored2643 is expected to be falsey2644 selective_sync_namespaces: :other, selective_sync_shards: nil, factory: [:upload, :namespace_upload], model_factory: [:group], is_upload_included: false2645 when sync object storage is enabled2646 when the upload is locally stored2647 is expected to eq false2648 when the upload is object stored2649 is expected to eq false2650 when sync object storage is disabled2651 when the upload is locally stored2652 is expected to eq false2653 when the upload is object stored2654 is expected to be falsey2655 selective_sync_namespaces: :other, selective_sync_shards: nil, factory: [:upload, :namespace_upload], model_factory: [:group, :nested], is_upload_included: false2656 when sync object storage is enabled2657 when the upload is locally stored2658 is expected to eq false2659 when the upload is object stored2660 is expected to eq false2661 when sync object storage is disabled2662 when the upload is locally stored2663 is expected to eq false2664 when the upload is object stored2665 is expected to be falsey2666 selective_sync_namespaces: :other, selective_sync_shards: nil, factory: [:upload, :favicon_upload], model_factory: [:appearance], is_upload_included: true2667 when sync object storage is enabled2668 when the upload is locally stored2669 is expected to eq true2670 when the upload is object stored2671 is expected to eq true2672 when sync object storage is disabled2673 when the upload is locally stored2674 is expected to eq true2675 when the upload is object stored2676 is expected to be falsey2677 .search2678 when search query is empty2679 returns all records2680 when search query is not empty2681 without matches2682 filters all records2683 with matches by attributes2684 for checksum attribute2685 is expected to contain exactly #<Upload id: 84, size: 102400, path: "uploads/-/system/project/avatar/229/avatar.jpg", checksum: "077...06:47:11.354027680 +0000", store: 1, mount_point: "avatar", secret: nil, verification_checksum: nil>2686 #destroy2687 when running in a Geo primary node2688 logs an event to the Geo event log when bulk removal is used2689Geo::PipelineArtifactReplicator2690 invokes replicator.handle_after_create_commit on create2691 behaves like a replicator2692 Geo node status2693 on a primary site2694 .primary_total_count2695 when batch count feature flag is enabled2696 returns the number of available replicables on primary2697 when batch count feature flag is disabled2698 returns the number of available replicables on primary2699 on a secondary site2700 .registry_count2701 when batch count feature flag is enabled2702 returns the number of registries on secondary2703 when batch count feature flag is disabled2704 returns the number of registries on secondary2705 .synced_count2706 when batch count feature flag is enabled2707 returns the number of synced items on secondary2708 when batch count feature flag is disabled2709 returns the number of synced items on secondary2710 .failed_count2711 when batch count feature flag is enabled2712 returns the number of failed items on secondary2713 when batch count feature flag is disabled2714 returns the number of failed items on secondary2715 when replicator is Geo::RegistrySyncWorker compatible2716 has "created" and "deleted" events2717 when replicator enqueues a sync event2718 is expected to receive perform_async("pipeline_artifact", "created", {:model_record_id=>nil}) 1 time2719 #replicator2720 is defined and does not raise error2721 .replicables_for_current_secondary2722 when syncing object storage is enabled2723 behaves like is implemented and returns a valid relation2724 is implemented2725 when syncing object storage is disabled2726 behaves like is implemented and returns a valid relation2727 is implemented2728 with selective sync disabled2729 behaves like is implemented and returns a valid relation2730 is implemented2731 with selective sync enabled for namespaces2732 behaves like is implemented and returns a valid relation2733 is implemented2734 with selective sync enabled for shards2735 behaves like is implemented and returns a valid relation2736 is implemented2737 #handle_after_create_commit2738 creates a Geo::Event2739 calls #after_verifiable_update2740 when replication feature flag is disabled2741 does not call #after_verifiable_update2742 does not publish2743 #handle_after_destroy2744 creates a Geo::Event2745 when replication feature flag is disabled2746 does not publish2747 created event consumption2748 when the blob's project is in replicables for this geo node2749 invokes Geo::BlobDownloadService2750 when the blob's project is not in replicables for this geo node2751 does not invoke Geo::BlobDownloadService2752 deleted event consumption2753 when model_record was deleted from the DB and the replicator only has its ID2754 invokes Geo::FileRegistryRemovalService2755 backward compatibility2756 invokes Geo::FileRegistryRemovalService when delete event is in deprecated format2757 when object storage is enabled2758 when GitLab managed replication is enabled2759 deletes the file from object storage2760 when GitLab managed replication is disabled2761 does not delete the file from object storage2762 #carrierwave_uploader2763 is implemented2764 #model2765 is implemented2766 is a Class2767 responds to primary_key2768 #blob_path2769 when the file is locally stored2770 returns a valid path to a file2771 #calculate_checksum2772 when the file is locally stored2773 when the file exists2774 returns hexdigest of the file2775 when the file does not exist2776 raises an error2777 when the file is remotely stored2778 raises an error2779 #file_exists?2780 is expected to be truthy2781 when the file does not exist2782 is expected to be falsey2783 when the file is nil2784 is expected to be falsey2785 .bulk_create_delete_events_async2786 creates events2787 raises error when model_record_id is nil2788 behaves like a verifiable replicator2789 events2790 has checksum_succeeded event2791 .verification_enabled?2792 when replication is enabled2793 when verification_feature_flag_enabled? returns true2794 returns true2795 when verification_feature_flag_enabled? returns false2796 returns false2797 when replication is disabled2798 returns false2799 .checksummed_count2800 when verification is enabled2801 when batch count feature flag is enabled2802 behaves like a counter of succeeded available verifiables2803 is expected to eq 12804 excludes other verification states2805 when batch count feature flag is disabled2806 behaves like a counter of succeeded available verifiables2807 is expected to eq 12808 excludes other verification states2809 when verification is disabled2810 returns nil2811 .verified_count2812 when verification is enabled2813 when batch count feature flag is enabled2814 behaves like a counter of succeeded available verifiables2815 is expected to eq 12816 excludes other verification states2817 when batch count feature flag is disabled2818 behaves like a counter of succeeded available verifiables2819 is expected to eq 12820 excludes other verification states2821 when verification is disabled2822 returns nil2823 .checksum_failed_count2824 when verification is enabled2825 when batch count feature flag is enabled2826 behaves like a counter of failed available verifiables2827 is expected to eq 12828 excludes other verification states2829 when batch count feature flag is disabled2830 behaves like a counter of failed available verifiables2831 is expected to eq 12832 excludes other verification states2833 when verification is disabled2834 returns nil2835 .verification_failed_count2836 when verification is enabled2837 when batch count feature flag is enabled2838 behaves like a counter of failed available verifiables2839 is expected to eq 12840 excludes other verification states2841 when batch count feature flag is disabled2842 behaves like a counter of failed available verifiables2843 is expected to eq 12844 excludes other verification states2845 when verification is disabled2846 returns nil2847 .verification_total_count2848 when verification is enabled2849 when batch count feature flag is enabled2850 when the verification_state is disabled2851 is expected to eq 02852 when the verification_state is not disabled2853 is expected to eq 12854 when batch count feature flag is disabled2855 when the verification_state is disabled2856 is expected to eq 02857 when the verification_state is not disabled2858 is expected to eq 12859 when verification is disabled2860 returns nil2861 .trigger_background_verification2862 when verification is enabled2863 for a Geo secondary2864 does not enqueue ReverificationBatchWorker2865 enqueues VerificationBatchWorker2866 enqueues VerificationTimeoutWorker2867 for a Geo primary2868 enqueues ReverificationBatchWorker2869 enqueues VerificationStateBackfillWorker2870 enqueues VerificationBatchWorker2871 enqueues VerificationTimeoutWorker2872 when verification is disabled2873 does not enqueue VerificationBatchWorker2874 does not enqueue VerificationTimeoutWorker2875 .backfill_verification_state_table2876 calls VerificationStateBackfillService2877 when on secondary2878 returns false2879 .verify_batch2880 when there are records needing verification2881 calls #verify on each replicator2882 .remaining_verification_batch_count2883 converts needs_verification_count to number of batches2884 .remaining_reverification_batch_count2885 converts needs_reverification_count to number of batches2886 .reverify_batch!2887 calls #reverify_batch2888 .replicator_batch_to_verify2889 returns usable Replicator instances2890 .model_record_id_batch_to_verify2891 when the batch is filled by pending rows2892 returns IDs of pending rows2893 does not call .verification_failed_batch2894 when that batch is not filled by pending rows2895 includes IDs of failed rows2896 .verification_pending_batch2897 when current node is a primary2898 delegates to the model class of the replicator2899 when current node is a secondary2900 delegates to the registry class of the replicator2901 .verification_failed_batch2902 when current node is a primary2903 delegates to the model class of the replicator2904 when current node is a secondary2905 delegates to the registry class of the replicator2906 .fail_verification_timeouts2907 when current node is a primary2908 delegates to the model class of the replicator2909 when current node is a secondary2910 delegates to the registry class of the replicator2911 #after_verifiable_update2912 verification_enabled: true, immutable: true, checksum: nil, checksummable: true, expect_verify_async: true2913 calls verify_async only if needed2914 verification_enabled: true, immutable: true, checksum: nil, checksummable: false, expect_verify_async: false2915 calls verify_async only if needed2916 verification_enabled: true, immutable: true, checksum: "abc123", checksummable: true, expect_verify_async: false2917 calls verify_async only if needed2918 verification_enabled: true, immutable: true, checksum: "abc123", checksummable: false, expect_verify_async: false2919 calls verify_async only if needed2920 verification_enabled: true, immutable: false, checksum: nil, checksummable: true, expect_verify_async: true2921 calls verify_async only if needed2922 verification_enabled: true, immutable: false, checksum: nil, checksummable: false, expect_verify_async: false2923 calls verify_async only if needed2924 verification_enabled: true, immutable: false, checksum: "abc123", checksummable: true, expect_verify_async: true2925 calls verify_async only if needed2926 verification_enabled: true, immutable: false, checksum: "abc123", checksummable: false, expect_verify_async: false2927 calls verify_async only if needed2928 verification_enabled: false, immutable: true, checksum: nil, checksummable: true, expect_verify_async: false2929 calls verify_async only if needed2930 verification_enabled: false, immutable: true, checksum: nil, checksummable: false, expect_verify_async: false2931 calls verify_async only if needed2932 verification_enabled: false, immutable: true, checksum: "abc123", checksummable: true, expect_verify_async: false2933 calls verify_async only if needed2934 verification_enabled: false, immutable: true, checksum: "abc123", checksummable: false, expect_verify_async: false2935 calls verify_async only if needed2936 verification_enabled: false, immutable: false, checksum: nil, checksummable: true, expect_verify_async: false2937 calls verify_async only if needed2938 verification_enabled: false, immutable: false, checksum: nil, checksummable: false, expect_verify_async: false2939 calls verify_async only if needed2940 verification_enabled: false, immutable: false, checksum: "abc123", checksummable: true, expect_verify_async: false2941 calls verify_async only if needed2942 verification_enabled: false, immutable: false, checksum: "abc123", checksummable: false, expect_verify_async: false2943 calls verify_async only if needed2944 #verify_async2945 on a Geo primary2946 calls verification_started! and enqueues VerificationWorker2947 #verify2948 wraps the checksum calculation in track_checksum_attempt!2949 #verification_state_tracker2950 on a Geo primary2951 returns model_record2952 on a Geo secondary2953 returns registry2954 #handle_after_checksum_succeeded2955 on a Geo primary2956 creates checksum_succeeded event2957 is called on verification success2958 on a Geo secondary2959 does not create an event2960 #consume_event_checksum_succeeded2961 with a persisted model_record2962 on a Geo primary2963 does nothing2964 on a Geo secondary2965 with a persisted registry2966 with a registry which is verified2967 sets state to verification_pending2968 with a registry which is pending verification2969 does not change state from verification_pending2970 with an unpersisted registry2971 does not persist the registry2972 #primary_verification_succeeded?2973 when the model record is verification_succeeded2974 returns true2975 when the model record is verification_succeeded2976 returns false2977 integration tests2978 on a primary2979 background backfill2980 verifies model records2981 triggered by events2982 verifies model records2983 on a secondary2984 background backfill2985 verifies registries2986 triggered by events2987 verifies registries2988Gitlab::ImportExport::AttributesPermitter2989 #permitted_attributes_defined?2990 relation_name: :push_rule, permitted_attributes_defined: true2991 is expected to eq true2992 relation_name: :issuable_sla, permitted_attributes_defined: false2993 is expected to eq false2994 relation_name: :unprotect_access_levels, permitted_attributes_defined: true2995 is expected to eq true2996 relation_name: :deploy_access_levels, permitted_attributes_defined: true2997 is expected to eq true2998 relation_name: :protected_environments, permitted_attributes_defined: true2999 is expected to eq true3000 relation_name: :security_setting, permitted_attributes_defined: true3001 is expected to eq true3002 relation_name: :project, permitted_attributes_defined: true3003 is expected to eq true3004 included_attributes for Project3005 for user3006 behaves like a permitted attribute3007 contains only attributes that are defined as permitted in the import/export config3008 does not contain attributes that would be cleaned with AttributeCleaner3009 does not contain prohibited attributes that are not related to given relation3010 for author3011 behaves like a permitted attribute3012 is disabled3013 for approvals3014 behaves like a permitted attribute3015 contains only attributes that are defined as permitted in the import/export config3016 does not contain attributes that would be cleaned with AttributeCleaner3017 does not contain prohibited attributes that are not related to given relation3018 for ci_cd_settings3019 behaves like a permitted attribute3020 contains only attributes that are defined as permitted in the import/export config3021 does not contain attributes that would be cleaned with AttributeCleaner3022 does not contain prohibited attributes that are not related to given relation3023 for metrics_setting3024 behaves like a permitted attribute3025 contains only attributes that are defined as permitted in the import/export config3026 does not contain attributes that would be cleaned with AttributeCleaner3027 does not contain prohibited attributes that are not related to given relation3028 for project_badges3029 behaves like a permitted attribute3030 contains only attributes that are defined as permitted in the import/export config3031 does not contain attributes that would be cleaned with AttributeCleaner3032 does not contain prohibited attributes that are not related to given relation3033 for pipeline_schedules3034 behaves like a permitted attribute3035 contains only attributes that are defined as permitted in the import/export config3036 does not contain attributes that would be cleaned with AttributeCleaner3037 does not contain prohibited attributes that are not related to given relation3038 for error_tracking_setting3039 behaves like a permitted attribute3040 contains only attributes that are defined as permitted in the import/export config3041 does not contain attributes that would be cleaned with AttributeCleaner3042 does not contain prohibited attributes that are not related to given relation3043 for auto_devops3044 behaves like a permitted attribute3045 contains only attributes that are defined as permitted in the import/export config3046 does not contain attributes that would be cleaned with AttributeCleaner3047 does not contain prohibited attributes that are not related to given relation3048 for boards3049 behaves like a permitted attribute3050 contains only attributes that are defined as permitted in the import/export config3051 does not contain attributes that would be cleaned with AttributeCleaner3052 does not contain prohibited attributes that are not related to given relation3053 for lists3054 behaves like a permitted attribute3055 contains only attributes that are defined as permitted in the import/export config3056 does not contain attributes that would be cleaned with AttributeCleaner3057 does not contain prohibited attributes that are not related to given relation3058 for custom_attributes3059 behaves like a permitted attribute3060 contains only attributes that are defined as permitted in the import/export config3061 does not contain attributes that would be cleaned with AttributeCleaner3062 does not contain prohibited attributes that are not related to given relation3063 for label3064 behaves like a permitted attribute3065 contains only attributes that are defined as permitted in the import/export config3066 does not contain attributes that would be cleaned with AttributeCleaner3067 does not contain prohibited attributes that are not related to given relation3068 for labels3069 behaves like a permitted attribute3070 contains only attributes that are defined as permitted in the import/export config3071 does not contain attributes that would be cleaned with AttributeCleaner3072 does not contain prohibited attributes that are not related to given relation3073 for priorities3074 behaves like a permitted attribute3075 contains only attributes that are defined as permitted in the import/export config3076 does not contain attributes that would be cleaned with AttributeCleaner3077 does not contain prohibited attributes that are not related to given relation3078 for milestone3079 behaves like a permitted attribute3080 contains only attributes that are defined as permitted in the import/export config3081 does not contain attributes that would be cleaned with AttributeCleaner3082 does not contain prohibited attributes that are not related to given relation3083 for milestones3084 behaves like a permitted attribute3085 contains only attributes that are defined as permitted in the import/export config3086 does not contain attributes that would be cleaned with AttributeCleaner3087 does not contain prohibited attributes that are not related to given relation3088 for protected_branches3089 behaves like a permitted attribute3090 contains only attributes that are defined as permitted in the import/export config3091 does not contain attributes that would be cleaned with AttributeCleaner3092 does not contain prohibited attributes that are not related to given relation3093 for protected_tags3094 behaves like a permitted attribute3095 contains only attributes that are defined as permitted in the import/export config3096 does not contain attributes that would be cleaned with AttributeCleaner3097 does not contain prohibited attributes that are not related to given relation3098 for create_access_levels3099 behaves like a permitted attribute3100 contains only attributes that are defined as permitted in the import/export config3101 does not contain attributes that would be cleaned with AttributeCleaner3102 does not contain prohibited attributes that are not related to given relation3103 for merge_access_levels3104 behaves like a permitted attribute3105 contains only attributes that are defined as permitted in the import/export config3106 does not contain attributes that would be cleaned with AttributeCleaner3107 does not contain prohibited attributes that are not related to given relation3108 for push_access_levels3109 behaves like a permitted attribute3110 contains only attributes that are defined as permitted in the import/export config3111 does not contain attributes that would be cleaned with AttributeCleaner3112 does not contain prohibited attributes that are not related to given relation3113 for releases3114 behaves like a permitted attribute3115 contains only attributes that are defined as permitted in the import/export config3116 does not contain attributes that would be cleaned with AttributeCleaner3117 does not contain prohibited attributes that are not related to given relation3118 for links3119 behaves like a permitted attribute3120 contains only attributes that are defined as permitted in the import/export config3121 does not contain attributes that would be cleaned with AttributeCleaner3122 does not contain prohibited attributes that are not related to given relation3123 for container_expiration_policy3124 behaves like a permitted attribute3125 contains only attributes that are defined as permitted in the import/export config3126 does not contain attributes that would be cleaned with AttributeCleaner3127 does not contain prohibited attributes that are not related to given relation3128 for project_feature3129 behaves like a permitted attribute3130 contains only attributes that are defined as permitted in the import/export config3131 does not contain attributes that would be cleaned with AttributeCleaner3132 does not contain prohibited attributes that are not related to given relation3133 for prometheus_metrics3134 behaves like a permitted attribute3135 contains only attributes that are defined as permitted in the import/export config3136 does not contain attributes that would be cleaned with AttributeCleaner3137 does not contain prohibited attributes that are not related to given relation3138 for service_desk_setting3139 behaves like a permitted attribute3140 contains only attributes that are defined as permitted in the import/export config3141 does not contain attributes that would be cleaned with AttributeCleaner3142 does not contain prohibited attributes that are not related to given relation3143 for snippets3144 behaves like a permitted attribute3145 contains only attributes that are defined as permitted in the import/export config3146 does not contain attributes that would be cleaned with AttributeCleaner3147 does not contain prohibited attributes that are not related to given relation3148 for project_members3149 behaves like a permitted attribute3150 contains only attributes that are defined as permitted in the import/export config3151 does not contain attributes that would be cleaned with AttributeCleaner3152 does not contain prohibited attributes that are not related to given relation3153 for merge_request3154 behaves like a permitted attribute3155 contains only attributes that are defined as permitted in the import/export config3156 does not contain attributes that would be cleaned with AttributeCleaner3157 does not contain prohibited attributes that are not related to given relation3158 for merge_requests3159 behaves like a permitted attribute3160 contains only attributes that are defined as permitted in the import/export config3161 does not contain attributes that would be cleaned with AttributeCleaner3162 does not contain prohibited attributes that are not related to given relation3163 for award_emoji3164 behaves like a permitted attribute3165 contains only attributes that are defined as permitted in the import/export config3166 does not contain attributes that would be cleaned with AttributeCleaner3167 does not contain prohibited attributes that are not related to given relation3168 for commit_author3169 behaves like a permitted attribute3170 contains only attributes that are defined as permitted in the import/export config3171 does not contain attributes that would be cleaned with AttributeCleaner3172 does not contain prohibited attributes that are not related to given relation3173 for committer3174 behaves like a permitted attribute3175 contains only attributes that are defined as permitted in the import/export config3176 does not contain attributes that would be cleaned with AttributeCleaner3177 does not contain prohibited attributes that are not related to given relation3178 for events3179 behaves like a permitted attribute3180 contains only attributes that are defined as permitted in the import/export config3181 does not contain attributes that would be cleaned with AttributeCleaner3182 does not contain prohibited attributes that are not related to given relation3183 for label_links3184 behaves like a permitted attribute3185 contains only attributes that are defined as permitted in the import/export config3186 does not contain attributes that would be cleaned with AttributeCleaner3187 does not contain prohibited attributes that are not related to given relation3188 for merge_request_diff3189 behaves like a permitted attribute3190 contains only attributes that are defined as permitted in the import/export config3191 does not contain attributes that would be cleaned with AttributeCleaner3192 does not contain prohibited attributes that are not related to given relation3193 for merge_request_diff_commits3194 behaves like a permitted attribute3195 contains only attributes that are defined as permitted in the import/export config3196 does not contain attributes that would be cleaned with AttributeCleaner3197 does not contain prohibited attributes that are not related to given relation3198 for merge_request_diff_files3199 behaves like a permitted attribute3200 contains only attributes that are defined as permitted in the import/export config3201 does not contain attributes that would be cleaned with AttributeCleaner3202 does not contain prohibited attributes that are not related to given relation3203 for metrics3204 behaves like a permitted attribute3205 contains only attributes that are defined as permitted in the import/export config3206 does not contain attributes that would be cleaned with AttributeCleaner3207 does not contain prohibited attributes that are not related to given relation3208 for notes3209 behaves like a permitted attribute3210 contains only attributes that are defined as permitted in the import/export config3211 does not contain attributes that would be cleaned with AttributeCleaner3212 does not contain prohibited attributes that are not related to given relation3213 for push_event_payload3214 behaves like a permitted attribute3215 contains only attributes that are defined as permitted in the import/export config3216 does not contain attributes that would be cleaned with AttributeCleaner3217 does not contain prohibited attributes that are not related to given relation3218 for resource_label_events3219 behaves like a permitted attribute3220 contains only attributes that are defined as permitted in the import/export config3221 does not contain attributes that would be cleaned with AttributeCleaner3222 does not contain prohibited attributes that are not related to given relation3223 for suggestions3224 behaves like a permitted attribute3225 contains only attributes that are defined as permitted in the import/export config3226 does not contain attributes that would be cleaned with AttributeCleaner3227 does not contain prohibited attributes that are not related to given relation3228 for system_note_metadata3229 behaves like a permitted attribute3230 contains only attributes that are defined as permitted in the import/export config3231 does not contain attributes that would be cleaned with AttributeCleaner3232 does not contain prohibited attributes that are not related to given relation3233 for timelogs3234 behaves like a permitted attribute3235 contains only attributes that are defined as permitted in the import/export config3236 does not contain attributes that would be cleaned with AttributeCleaner3237 does not contain prohibited attributes that are not related to given relation3238 for external_pull_request3239 behaves like a permitted attribute3240 contains only attributes that are defined as permitted in the import/export config3241 does not contain attributes that would be cleaned with AttributeCleaner3242 does not contain prohibited attributes that are not related to given relation3243 for external_pull_requests3244 behaves like a permitted attribute3245 contains only attributes that are defined as permitted in the import/export config3246 does not contain attributes that would be cleaned with AttributeCleaner3247 does not contain prohibited attributes that are not related to given relation3248 for statuses3249 behaves like a permitted attribute3250 contains only attributes that are defined as permitted in the import/export config3251 does not contain attributes that would be cleaned with AttributeCleaner3252 does not contain prohibited attributes that are not related to given relation3253 for builds3254 behaves like a permitted attribute3255 contains only attributes that are defined as permitted in the import/export config3256 does not contain attributes that would be cleaned with AttributeCleaner3257 does not contain prohibited attributes that are not related to given relation3258 for generic_commit_statuses3259 behaves like a permitted attribute3260 contains only attributes that are defined as permitted in the import/export config3261 does not contain attributes that would be cleaned with AttributeCleaner3262 does not contain prohibited attributes that are not related to given relation3263 for bridges3264 behaves like a permitted attribute3265 contains only attributes that are defined as permitted in the import/export config3266 does not contain attributes that would be cleaned with AttributeCleaner3267 does not contain prohibited attributes that are not related to given relation3268 for ci_pipelines3269 behaves like a permitted attribute3270 contains only attributes that are defined as permitted in the import/export config3271 does not contain attributes that would be cleaned with AttributeCleaner3272 does not contain prohibited attributes that are not related to given relation3273 for pipeline_metadata3274 behaves like a permitted attribute3275 contains only attributes that are defined as permitted in the import/export config3276 does not contain attributes that would be cleaned with AttributeCleaner3277 does not contain prohibited attributes that are not related to given relation3278 for stages3279 behaves like a permitted attribute3280 contains only attributes that are defined as permitted in the import/export config3281 does not contain attributes that would be cleaned with AttributeCleaner3282 does not contain prohibited attributes that are not related to given relation3283 for actions3284 behaves like a permitted attribute3285 contains only attributes that are defined as permitted in the import/export config3286 does not contain attributes that would be cleaned with AttributeCleaner3287 does not contain prohibited attributes that are not related to given relation3288 for design3289 behaves like a permitted attribute3290 contains only attributes that are defined as permitted in the import/export config3291 does not contain attributes that would be cleaned with AttributeCleaner3292 does not contain prohibited attributes that are not related to given relation3293 for designs3294 behaves like a permitted attribute3295 contains only attributes that are defined as permitted in the import/export config3296 does not contain attributes that would be cleaned with AttributeCleaner3297 does not contain prohibited attributes that are not related to given relation3298 for design_versions3299 behaves like a permitted attribute3300 contains only attributes that are defined as permitted in the import/export config3301 does not contain attributes that would be cleaned with AttributeCleaner3302 does not contain prohibited attributes that are not related to given relation3303 for issue_assignees3304 behaves like a permitted attribute3305 contains only attributes that are defined as permitted in the import/export config3306 does not contain attributes that would be cleaned with AttributeCleaner3307 does not contain prohibited attributes that are not related to given relation3308 for merge_request_assignees3309 behaves like a permitted attribute3310 contains only attributes that are defined as permitted in the import/export config3311 does not contain attributes that would be cleaned with AttributeCleaner3312 does not contain prohibited attributes that are not related to given relation3313 for merge_request_reviewers3314 behaves like a permitted attribute3315 contains only attributes that are defined as permitted in the import/export config3316 does not contain attributes that would be cleaned with AttributeCleaner3317 does not contain prohibited attributes that are not related to given relation3318 for sentry_issue3319 behaves like a permitted attribute3320 contains only attributes that are defined as permitted in the import/export config3321 does not contain attributes that would be cleaned with AttributeCleaner3322 does not contain prohibited attributes that are not related to given relation3323 for zoom_meetings3324 behaves like a permitted attribute3325 contains only attributes that are defined as permitted in the import/export config3326 does not contain attributes that would be cleaned with AttributeCleaner3327 does not contain prohibited attributes that are not related to given relation3328 for issues3329 behaves like a permitted attribute3330 contains only attributes that are defined as permitted in the import/export config3331 does not contain attributes that would be cleaned with AttributeCleaner3332 does not contain prohibited attributes that are not related to given relation3333 for group_members3334 behaves like a permitted attribute3335 contains only attributes that are defined as permitted in the import/export config3336 does not contain attributes that would be cleaned with AttributeCleaner3337 does not contain prohibited attributes that are not related to given relation3338 for project3339 behaves like a permitted attribute3340 contains only attributes that are defined as permitted in the import/export config3341 does not contain attributes that would be cleaned with AttributeCleaner3342 does not contain prohibited attributes that are not related to given relation3343 for resource_milestone_events3344 behaves like a permitted attribute3345 contains only attributes that are defined as permitted in the import/export config3346 does not contain attributes that would be cleaned with AttributeCleaner3347 does not contain prohibited attributes that are not related to given relation3348 for resource_state_events3349 behaves like a permitted attribute3350 contains only attributes that are defined as permitted in the import/export config3351 does not contain attributes that would be cleaned with AttributeCleaner3352 does not contain prohibited attributes that are not related to given relation3353 for issuable_sla3354 behaves like a permitted attribute3355 is disabled3356 for push_rule3357 behaves like a permitted attribute3358 contains only attributes that are defined as permitted in the import/export config3359 does not contain attributes that would be cleaned with AttributeCleaner3360 does not contain prohibited attributes that are not related to given relation3361 for unprotect_access_levels3362 behaves like a permitted attribute3363 contains only attributes that are defined as permitted in the import/export config3364 does not contain attributes that would be cleaned with AttributeCleaner3365 does not contain prohibited attributes that are not related to given relation3366 for deploy_access_levels3367 behaves like a permitted attribute3368 contains only attributes that are defined as permitted in the import/export config3369 does not contain attributes that would be cleaned with AttributeCleaner3370 does not contain prohibited attributes that are not related to given relation3371 for protected_environments3372 behaves like a permitted attribute3373 contains only attributes that are defined as permitted in the import/export config3374 does not contain attributes that would be cleaned with AttributeCleaner3375 does not contain prohibited attributes that are not related to given relation3376 for security_setting3377 behaves like a permitted attribute3378 contains only attributes that are defined as permitted in the import/export config3379 does not contain attributes that would be cleaned with AttributeCleaner3380 does not contain prohibited attributes that are not related to given relation3381 for resource_iteration_events3382 behaves like a permitted attribute3383 contains only attributes that are defined as permitted in the import/export config3384 does not contain attributes that would be cleaned with AttributeCleaner3385 does not contain prohibited attributes that are not related to given relation3386 for iteration3387 behaves like a permitted attribute3388 contains only attributes that are defined as permitted in the import/export config3389 does not contain attributes that would be cleaned with AttributeCleaner3390 does not contain prohibited attributes that are not related to given relation3391 for iterations_cadence3392 behaves like a permitted attribute3393 contains only attributes that are defined as permitted in the import/export config3394 does not contain attributes that would be cleaned with AttributeCleaner3395 does not contain prohibited attributes that are not related to given relation3396 for approval_rules3397 behaves like a permitted attribute3398 contains only attributes that are defined as permitted in the import/export config3399 does not contain attributes that would be cleaned with AttributeCleaner3400 does not contain prohibited attributes that are not related to given relation3401 for approval_project_rules_protected_branches3402 behaves like a permitted attribute3403 contains only attributes that are defined as permitted in the import/export config3404 does not contain attributes that would be cleaned with AttributeCleaner3405 does not contain prohibited attributes that are not related to given relation3406 for approval_project_rules_users3407 behaves like a permitted attribute3408 contains only attributes that are defined as permitted in the import/export config3409 does not contain attributes that would be cleaned with AttributeCleaner3410 does not contain prohibited attributes that are not related to given relation3411BackfillProjectPermissionsInBlobs3412 # order random3413 when Elasticsearch gives 4043414 when Elasticsearch responds with NotFoundException3415 when a task_status throws a NotFound Exception3416 removes entry from projects_in_progress in migration_state3417 migration_options3418 has migration options set3419 .migrate3420 with project permissions in all projects3421 does not execute update_by_query3422 when task in progress3423 does not send update_by_query to the project in progress3424 with project not found exception3425 schedules ElasticDeleteProjectWorker when project is not found3426 when migration fails3427 when Elasticsearch responds with errors3428 when a task throws an error3429 removes entry from projects_in_progress in migration_state3430 when update_by_query throws an error3431 removes entry from projects_in_progress in migration_state3432 integration test3433 updates documents in batches3434BackfillHashedRootNamespaceIdOnMergeRequests3435 # order random3436 .completed?3437 when documents are missing field3438 is expected not to be completed3439 when no documents are missing field3440 is expected to be completed3441 migration_options3442 has migration options set3443 .migrate3444 when migration is already completed3445 does not modify data3446 migration process3447 updates all documents3448 only updates documents missing a field3449 processes in batches3450Geo::LfsObjectReplicator3451 invokes replicator.handle_after_create_commit on create3452 behaves like a replicator3453 Geo node status3454 on a primary site3455 .primary_total_count3456 when batch count feature flag is enabled3457 returns the number of available replicables on primary3458 when batch count feature flag is disabled3459 returns the number of available replicables on primary3460 on a secondary site3461 .registry_count3462 when batch count feature flag is enabled3463 returns the number of registries on secondary3464 when batch count feature flag is disabled3465 returns the number of registries on secondary3466 .synced_count3467 when batch count feature flag is enabled3468 returns the number of synced items on secondary3469 when batch count feature flag is disabled3470 returns the number of synced items on secondary3471 .failed_count3472 when batch count feature flag is enabled3473 returns the number of failed items on secondary3474 when batch count feature flag is disabled3475 returns the number of failed items on secondary3476 when replicator is Geo::RegistrySyncWorker compatible3477 has "created" and "deleted" events3478 when replicator enqueues a sync event3479 is expected to receive perform_async("lfs_object", "created", {:model_record_id=>nil}) 1 time3480 #replicator3481 is defined and does not raise error3482 .replicables_for_current_secondary3483 when syncing object storage is enabled3484 behaves like is implemented and returns a valid relation3485 is implemented3486 when syncing object storage is disabled3487 behaves like is implemented and returns a valid relation3488 is implemented3489 with selective sync disabled3490 behaves like is implemented and returns a valid relation3491 is implemented3492 with selective sync enabled for namespaces3493 behaves like is implemented and returns a valid relation3494 is implemented3495 with selective sync enabled for shards3496 behaves like is implemented and returns a valid relation3497 is implemented3498 #handle_after_create_commit3499 creates a Geo::Event3500 calls #after_verifiable_update3501 when replication feature flag is disabled3502 does not call #after_verifiable_update3503 does not publish3504 #handle_after_destroy3505 creates a Geo::Event3506 when replication feature flag is disabled3507 does not publish3508 created event consumption3509 when the blob's project is in replicables for this geo node3510 invokes Geo::BlobDownloadService3511 when the blob's project is not in replicables for this geo node3512 does not invoke Geo::BlobDownloadService3513 deleted event consumption3514 when model_record was deleted from the DB and the replicator only has its ID3515 invokes Geo::FileRegistryRemovalService3516 backward compatibility3517 invokes Geo::FileRegistryRemovalService when delete event is in deprecated format3518 when object storage is enabled3519 when GitLab managed replication is enabled3520 deletes the file from object storage3521 when GitLab managed replication is disabled3522 does not delete the file from object storage3523 #carrierwave_uploader3524 is implemented3525 #model3526 is implemented3527 is a Class3528 responds to primary_key3529 #blob_path3530 when the file is locally stored3531 returns a valid path to a file3532 #calculate_checksum3533 when the file is locally stored3534 when the file exists3535 returns hexdigest of the file3536 when the file does not exist3537 raises an error3538 when the file is remotely stored3539 raises an error3540 #file_exists?3541 is expected to be truthy3542 when the file does not exist3543 is expected to be falsey3544 when the file is nil3545 is expected to be falsey3546 .bulk_create_delete_events_async3547 creates events3548 raises error when model_record_id is nil3549 events3550 has checksum_succeeded event3551 .verification_enabled?3552 when replication is enabled3553 when verification_feature_flag_enabled? returns true3554 returns true3555 when verification_feature_flag_enabled? returns false3556 returns false3557 when replication is disabled3558 returns false3559 .checksummed_count3560 when verification is enabled3561 when batch count feature flag is enabled3562 behaves like a counter of succeeded available verifiables3563 is expected to eq 13564 excludes other verification states3565 when batch count feature flag is disabled3566 behaves like a counter of succeeded available verifiables3567 is expected to eq 13568 excludes other verification states3569 when verification is disabled3570 returns nil3571 .verified_count3572 when verification is enabled3573 when batch count feature flag is enabled3574 behaves like a counter of succeeded available verifiables3575 is expected to eq 13576 excludes other verification states3577 when batch count feature flag is disabled3578 behaves like a counter of succeeded available verifiables3579 is expected to eq 13580 excludes other verification states3581 when verification is disabled3582 returns nil3583 .checksum_failed_count3584 when verification is enabled3585 when batch count feature flag is enabled3586 behaves like a counter of failed available verifiables3587 is expected to eq 13588 excludes other verification states3589 when batch count feature flag is disabled3590 behaves like a counter of failed available verifiables3591 is expected to eq 13592 excludes other verification states3593 when verification is disabled3594 returns nil3595 .verification_failed_count3596 when verification is enabled3597 when batch count feature flag is enabled3598 behaves like a counter of failed available verifiables3599 is expected to eq 13600 excludes other verification states3601 when batch count feature flag is disabled3602 behaves like a counter of failed available verifiables3603 is expected to eq 13604 excludes other verification states3605 when verification is disabled3606 returns nil3607 .verification_total_count3608 when verification is enabled3609 when batch count feature flag is enabled3610 when the verification_state is disabled3611 is expected to eq 03612 when the verification_state is not disabled3613 is expected to eq 13614 when batch count feature flag is disabled3615 when the verification_state is disabled3616 is expected to eq 03617 when the verification_state is not disabled3618 is expected to eq 13619 when verification is disabled3620 returns nil3621 .trigger_background_verification3622 when verification is enabled3623 for a Geo secondary3624 does not enqueue ReverificationBatchWorker3625 enqueues VerificationBatchWorker3626 enqueues VerificationTimeoutWorker3627 for a Geo primary3628 enqueues ReverificationBatchWorker3629 enqueues VerificationStateBackfillWorker3630 enqueues VerificationBatchWorker3631 enqueues VerificationTimeoutWorker3632 when verification is disabled3633 does not enqueue VerificationBatchWorker3634 does not enqueue VerificationTimeoutWorker3635 .backfill_verification_state_table3636 calls VerificationStateBackfillService3637 when on secondary3638 returns false3639 .verify_batch3640 when there are records needing verification3641 calls #verify on each replicator3642 .remaining_verification_batch_count3643 converts needs_verification_count to number of batches3644 .remaining_reverification_batch_count3645 converts needs_reverification_count to number of batches3646 .reverify_batch!3647 calls #reverify_batch3648 .replicator_batch_to_verify3649 returns usable Replicator instances3650 .model_record_id_batch_to_verify3651 when the batch is filled by pending rows3652 returns IDs of pending rows3653 does not call .verification_failed_batch3654 when that batch is not filled by pending rows3655 includes IDs of failed rows3656 .verification_pending_batch3657 when current node is a primary3658 delegates to the model class of the replicator3659 when current node is a secondary3660 delegates to the registry class of the replicator3661 .verification_failed_batch3662 when current node is a primary3663 delegates to the model class of the replicator3664 when current node is a secondary3665 delegates to the registry class of the replicator3666 .fail_verification_timeouts3667 when current node is a primary3668 delegates to the model class of the replicator3669 when current node is a secondary3670 delegates to the registry class of the replicator3671 #after_verifiable_update3672 verification_enabled: true, immutable: true, checksum: nil, checksummable: true, expect_verify_async: true3673 calls verify_async only if needed3674 verification_enabled: true, immutable: true, checksum: nil, checksummable: false, expect_verify_async: false3675 calls verify_async only if needed3676 verification_enabled: true, immutable: true, checksum: "abc123", checksummable: true, expect_verify_async: false3677 calls verify_async only if needed3678 verification_enabled: true, immutable: true, checksum: "abc123", checksummable: false, expect_verify_async: false3679 calls verify_async only if needed3680 verification_enabled: true, immutable: false, checksum: nil, checksummable: true, expect_verify_async: true3681 calls verify_async only if needed3682 verification_enabled: true, immutable: false, checksum: nil, checksummable: false, expect_verify_async: false3683 calls verify_async only if needed3684 verification_enabled: true, immutable: false, checksum: "abc123", checksummable: true, expect_verify_async: true3685 calls verify_async only if needed3686 verification_enabled: true, immutable: false, checksum: "abc123", checksummable: false, expect_verify_async: false3687 calls verify_async only if needed3688 verification_enabled: false, immutable: true, checksum: nil, checksummable: true, expect_verify_async: false3689 calls verify_async only if needed3690 verification_enabled: false, immutable: true, checksum: nil, checksummable: false, expect_verify_async: false3691 calls verify_async only if needed3692 verification_enabled: false, immutable: true, checksum: "abc123", checksummable: true, expect_verify_async: false3693 calls verify_async only if needed3694 verification_enabled: false, immutable: true, checksum: "abc123", checksummable: false, expect_verify_async: false3695 calls verify_async only if needed3696 verification_enabled: false, immutable: false, checksum: nil, checksummable: true, expect_verify_async: false3697 calls verify_async only if needed3698 verification_enabled: false, immutable: false, checksum: nil, checksummable: false, expect_verify_async: false3699 calls verify_async only if needed3700 verification_enabled: false, immutable: false, checksum: "abc123", checksummable: true, expect_verify_async: false3701 calls verify_async only if needed3702 verification_enabled: false, immutable: false, checksum: "abc123", checksummable: false, expect_verify_async: false3703 calls verify_async only if needed3704 #verify_async3705 on a Geo primary3706 calls verification_started! and enqueues VerificationWorker3707 #verify3708 wraps the checksum calculation in track_checksum_attempt!3709 #verification_state_tracker3710 on a Geo primary3711 returns model_record3712 on a Geo secondary3713 returns registry3714 #handle_after_checksum_succeeded3715 on a Geo primary3716 creates checksum_succeeded event3717 is called on verification success3718 on a Geo secondary3719 does not create an event3720 #consume_event_checksum_succeeded3721 with a persisted model_record3722 on a Geo primary3723 does nothing3724 on a Geo secondary3725 with a persisted registry3726 with a registry which is verified3727 sets state to verification_pending3728 with a registry which is pending verification3729 does not change state from verification_pending3730 with an unpersisted registry3731 does not persist the registry3732 #primary_verification_succeeded?3733 when the model record is verification_succeeded3734 returns true3735 when the model record is verification_succeeded3736 returns false3737 integration tests3738 on a primary3739 background backfill3740 verifies model records3741 triggered by events3742 verifies model records3743 on a secondary3744 background backfill3745 verifies registries3746 triggered by events3747 verifies registries3748Security::PipelineVulnerabilitiesFinder3749 #execute3750 findings3751 assigns commit sha to findings3752 assigns the found_by_pipeline to findings3753 does not have N+1 queries3754 by order3755 orders by severity and confidence3756 when the artifact has invalid findings3757 does not return the invalid findings3758 by report type3759 when sast3760 includes only sast3761 false-positive3762 includes findings with false-positive3763 does not include findings with false-positive if license is not available3764 when dependency_scanning3765 includes only dependency_scanning3766 when dast3767 includes only dast3768 when container_scanning3769 includes only container_scanning3770 by scope3771 when vulnerability_finding_signatures feature is disabled3772 when unscoped3773 returns non-dismissed vulnerabilities3774 when `dismissed`3775 returns non-dismissed vulnerabilities3776 when `all`3777 returns all vulnerabilities3778 when vulnerability_finding_signatures feature is enabled3779 when unscoped3780 returns non-dismissed vulnerabilities3781 when `dismissed`3782 returns non-dismissed vulnerabilities3783 when `all`3784 returns all vulnerabilities3785 by severity3786 when unscoped3787 returns all vulnerability severity levels3788 when `low`3789 returns only low-severity vulnerabilities3790 by confidence3791 when unscoped3792 returns all vulnerability confidence levels3793 when `medium`3794 returns only medium-confidence vulnerabilities3795 by scanner3796 when unscoped3797 returns all vulnerabilities with all scanners available3798 when matching scanners do not exist for the findings3799 creates a non-persistent scanner from the report finding3800 when `zaproxy`3801 returns only vulnerabilities with selected scanner external id3802 when existing scanners exist for the findings3803 associates the finding with the scanner in the database3804 by state3805 when the state parameter is not given3806 returns all findings3807 when the state parameter is given3808 when the given state is `dismissed`3809 when `deprecate_vulnerabilities_feedback` feature flag enabled3810 is expected to contain exactly "07c9c73c-797b-521d-9deb-95272dd96071"3811 when `deprecate_vulnerabilities_feedback` feature flag disabled3812 is expected to contain exactly "07c9c73c-797b-521d-9deb-95272dd96071" and "e242ee22-5c46-5c64-8ff3-f955569bcdbd"3813 when the given state is `detected`3814 returns all detected findings3815 when the given state is `confirmed`3816 is expected to contain exactly "07c9c73c-797b-521d-9deb-95272dd96071"3817 when the given state is `resolved`3818 is expected to contain exactly "07c9c73c-797b-521d-9deb-95272dd96071"3819 by all filters3820 with found entity3821 filters by all params3822 without found entity3823 did not find anything3824 without params3825 returns all report_types3826 when matching vulnerability records exist3827 assigns vulnerability records to findings providing them with computed state3828 when being tested for sort stability3829 maintains the order of the findings having the same severity and confidence3830 when scanner is not provided in the report findings3831 sets empty scanner3832 when evidence is not provided in the report findings3833 does not set the evidences for findings3834Issues::MoveService3835 #execute3836 group issue hooks3837 executes group issue hooks3838 when moved issue belongs to epic3839 records epic moved from project event3840 when moved issue does not belong to epic3841 does not record epic moved from project event3842 when it is not allowed to move issues of given type3843 throws error3844 resource weight events3845 creates expected resource weight events3846 #rewrite_related_vulnerability_issues3847 updates all vulnerability issue links with new issue3848 #rewrite_epic_issue3849 issue assigned to epic3850 updates epic issue reference3851 events tracking3852 tracks usage data for changed epic action3853 behaves like issue_edit snowplow tracking3854 behaves like Snowplow event tracking with RedisHLL context3855 behaves like Snowplow event tracking3856 is emitted3857 user can not update the epic3858 ignores epic issue reference3859 does not send usage data for changed epic action3860 epic update fails3861 does not send usage data for changed epic action3862 #delete_pending_escalations3863 deletes the pending escalations for the incident3864Gitlab::DataSeeder3865 # order random3866 .seed3867 when seed file is a yaml file3868 with .yml extension3869 behaves like parses the file3870 parses with Gitlab::DataSeeder::Parsers::Yaml3871 with .yml.erb extension3872 behaves like parses the file3873 parses with Gitlab::DataSeeder::Parsers::Yaml3874 with .json.erb extension3875 behaves like parses the file3876 parses with Gitlab::DataSeeder::Parsers::Json3877 with .json extension3878 behaves like parses the file3879 parses with Gitlab::DataSeeder::Parsers::Json3880 when seed file is invalid yaml3881 raises an error3882 error backtrace contains the seed file3883 Gitlab::DataSeeder::FactoryDefinitions3884 #to_s3885 returns the name3886 #definitions3887 returns exactly one well-formed definition3888 #fabricate_all3889 fabricates a group label3890 #factory_name3891 singularizes the factory name3892 Gitlab::DataSeeder::FactoryDefinitions::FactoryDefinition3893 #fabricate3894 saves the built record3895 #build3896 builds a model3897 when value is a simple string3898 sets the value3899 when erb is included as a value3900 embeds Ruby3901 Parsers3902 Gitlab::DataSeeder::Parsers::Parser3903 #initialize3904 raises an error if trying to initialize Parser without a subclass3905 with a seed file that does not exist3906 raises an error3907 Gitlab::DataSeeder::Parsers::Yaml3908 validation3909 when seed file is invalid3910 behaves like raises an error when specifying an invalid factory3911 raises an error3912 behaves like specifying invalid traits to a factory3913 raises an error3914 behaves like specifying invalid attributes to a factory3915 raises an error3916 contains possible alternatives3917 behaves like an id already exists3918 raises a validation error3919 #parse3920 behaves like name is not specified3921 raises an error when name is not specified3922 when parsed3923 behaves like has a name3924 has a name3925 behaves like factory definitions3926 has exactly two definitions3927 creates the group label3928 creates the project3929 behaves like passes traits3930 passes traits3931 @parser_binding3932 when a definition has an id3933 behaves like definition has an id3934 binds the object3935 behaves like id has spaces3936parsing id "id with spaces" as "id_with_spaces"3937 binds to an underscored variable3938 renders a warning3939 when id is malformed3940 when id contains invalid characters3941 behaves like invalid id3942 raises an error3943 behaves like invalid id3944 raises an error3945 behaves like invalid id3946 raises an error3947 behaves like definition does not have an id3948 does not bind the object3949 Gitlab::DataSeeder::Parsers::Json3950 validation3951 when seed file is invalid3952 behaves like raises an error when specifying an invalid factory3953 raises an error3954 behaves like specifying invalid traits to a factory3955 raises an error3956 behaves like specifying invalid attributes to a factory3957 raises an error3958 contains possible alternatives3959 behaves like an id already exists3960 raises a validation error3961 #parse3962 behaves like name is not specified3963 raises an error when name is not specified3964 when parsed3965 behaves like has a name3966 has a name3967 behaves like factory definitions3968 has exactly two definitions3969 creates the group label3970 creates the project3971 behaves like passes traits3972 passes traits3973 @parser_binding3974 when id is malformed3975 when id contains invalid characters3976 behaves like invalid id3977 raises an error3978 behaves like invalid id3979 raises an error3980 behaves like invalid id3981 raises an error3982 behaves like definition does not have an id3983 does not bind the object3984 Gitlab::DataSeeder::Parsers::Ruby3985 parses and creates a group label3986 with instance variables3987 can refer to instance variables3988 when the ruby is invalid3989 with a syntax error3990 throws an error3991 with a database uniqueness constraint3992 throws an error3993Geo::PackageFileRegistryFinder3994 behaves like a framework registry finder3995 #execute3996 when user cannot read all Geo3997 is expected to be empty3998 when user can read all Geo3999 when admin mode is disabled4000 is expected to be empty4001 when admin mode is enabled4002 with an ids param4003 returns specified registries4004 with an ids param empty4005 returns all registries4006 with a replication_state param4007 returns registries with requested replication state4008 with a replication_state param empty4009 returns all registries4010 with verification enabled4011 with a verification_state param4012 returns registries with requested verification state4013 with a verification_state param empty4014 returns all registries4015 with verification disabled4016 with a verification_state param4017 raises ArgumentError (PENDING: Skipping because verification is enabled for Packages::PackageFile)4018 with a verification_state param empty4019 raises ArgumentError (PENDING: Skipping because verification is enabled for Packages::PackageFile)4020 when search method is not implemented in the registry model4021 raises ArgumentError (PENDING: Skipping because search method is implemented for Packages::PackageFile)4022 when search method is implemented in the registry model4023 returns a registry filtered by keyword4024 with no params4025 returns all registries4026RequirementsManagement::ImportCsvService4027 when user can create requirements4028 #execute4029 behaves like correctly handles invalid files4030 when given file with unsupported extension4031 behaves like invalid file4032 returns invalid file error4033 when given empty file4034 behaves like invalid file4035 returns invalid file error4036 when given file without headers4037 behaves like invalid file4038 returns invalid file error4039 behaves like importer with email notification4040 notifies user of import result4041 with a file generated by Gitlab CSV export4042 imports the CSV without errors4043 correctly sets the issuable attributes4044 behaves like importer with email notification4045 notifies user of import result4046 with comma delimited file4047 imports CSV without errors4048 correctly sets the issuable attributes4049 behaves like importer with email notification4050 notifies user of import result4051 with tab delimited file with error row4052 imports CSV with some error rows4053 correctly sets the issuable attributes4054 behaves like importer with email notification4055 notifies user of import result4056 with semicolon delimited file with CRLF4057 imports CSV with a blank row4058 correctly sets the issuable attributes4059 behaves like importer with email notification4060 notifies user of import result4061 when user cannot create requirements4062 behaves like resource not available4063 raises an error4064 when requirements feature is not available4065 behaves like resource not available4066 raises an error4067Resolvers::Geo::MergeRequestDiffRegistriesResolver4068 behaves like a Geo registries resolver4069 #resolve4070 when the parent object is the current node4071 when the user has permission to view Geo data4072 when admin mode is enabled4073 when the ids argument is null4074 returns registries, in order4075 when the ids argument is present4076 returns the requested registries, in order4077 when the replication_state argument is present4078 returns registries with requested replication state, in order4079 with verification enabled4080 when the verification_state argument is present4081 returns registries with requested verification state, in order4082 with verification disabled4083 when the verification_state argument is present4084 raises ArgumentError (PENDING: Skipping because verification is enabled for MergeRequestDiff)4085 when admin mode is disabled4086 returns nothing4087 when the user does not have permission to view Geo data4088 returns nothing4089 when the parent object is not the current node4090 when the user has permission to view Geo data4091 returns nothing, because we can't query other nodes' tracking databases4092Resolvers::TimeboxReportResolver4093 when timebox is a milestone4094 uses TimeboxReportService4095 behaves like timebox time series4096 when authorized to view "project"4097 returns burnup chart data4098 behaves like checking authorization for timebox report4099 when fullPath is provided4100 when no group or project matches the provided fullPath4101 raises a GraphQL exception4102 when current user is not authorized to read group or view project issues, or resource doesn't exist4103 scope: private_group, current_user: nil4104 raises a GraphQL exception4105 scope: private_group, current_user: group_member4106 raises a GraphQL exception4107 scope: private_subgroup, current_user: nil4108 raises a GraphQL exception4109 scope: private_subgroup, current_user: group_member4110 raises a GraphQL exception4111 scope: private_subgroup, current_user: private_project1_member4112 raises a GraphQL exception4113 scope: private_subgroup, current_user: private_project2_member4114 raises a GraphQL exception4115 scope: private_project1, current_user: nil4116 raises a GraphQL exception4117 scope: private_project1, current_user: group_member4118 raises a GraphQL exception4119 scope: private_project1, current_user: private_project2_member4120 raises a GraphQL exception4121 scope: private_project2, current_user: nil4122 raises a GraphQL exception4123 scope: private_project2, current_user: group_member4124 raises a GraphQL exception4125 scope: private_project2, current_user: private_project1_member4126 raises a GraphQL exception4127 when current user can read group or view project issues4128 scope: group, current_user: group_member, authorized_projects: lazy { [project, subgroup_project] }4129 passes projects to the timebox report service4130 scope: subgroup, current_user: group_member, authorized_projects: lazy { [subgroup_project] }4131 passes projects to the timebox report service4132 scope: subgroup_project, current_user: group_member, authorized_projects: lazy { [subgroup_project] }4133 passes projects to the timebox report service4134 scope: private_group, current_user: private_group_member, authorized_projects: lazy { [private_project1, private_project2] }4135 passes projects to the timebox report service4136 scope: private_group, current_user: private_project1_member, authorized_projects: lazy { [private_project1, private_project2] }4137 passes projects to the timebox report service4138 scope: private_group, current_user: private_project2_member, authorized_projects: lazy { [private_project1, private_project2] }4139 passes projects to the timebox report service4140 scope: private_project1, current_user: private_project1_member, authorized_projects: lazy { [private_project1] }4141 passes projects to the timebox report service4142 scope: private_project2, current_user: private_project2_member, authorized_projects: lazy { [private_project2] }4143 passes projects to the timebox report service4144 scope: private_subgroup, current_user: private_group_member, authorized_projects: lazy { [] }4145 passes projects to the timebox report service4146 behaves like fetching excessive number of events causes an error4147 when the service returns an error4148 returns error information4149 when timebox is an iteration4150 uses TimeboxReportService4151 behaves like timebox time series4152 when authorized to view "project"4153 returns burnup chart data4154 behaves like checking authorization for timebox report4155 when fullPath is provided4156 when no group or project matches the provided fullPath4157 raises a GraphQL exception4158 when current user is not authorized to read group or view project issues, or resource doesn't exist4159 scope: private_group, current_user: nil4160 raises a GraphQL exception4161 scope: private_group, current_user: group_member4162 raises a GraphQL exception4163 scope: private_subgroup, current_user: nil4164 raises a GraphQL exception4165 scope: private_subgroup, current_user: group_member4166 raises a GraphQL exception4167 scope: private_subgroup, current_user: private_project1_member4168 raises a GraphQL exception4169 scope: private_subgroup, current_user: private_project2_member4170 raises a GraphQL exception4171 scope: private_project1, current_user: nil4172 raises a GraphQL exception4173 scope: private_project1, current_user: group_member4174 raises a GraphQL exception4175 scope: private_project1, current_user: private_project2_member4176 raises a GraphQL exception4177 scope: private_project2, current_user: nil4178 raises a GraphQL exception4179 scope: private_project2, current_user: group_member4180 raises a GraphQL exception4181 scope: private_project2, current_user: private_project1_member4182 raises a GraphQL exception4183 when current user can read group or view project issues4184 scope: group, current_user: group_member, authorized_projects: lazy { [project, subgroup_project] }4185 passes projects to the timebox report service4186 scope: subgroup, current_user: group_member, authorized_projects: lazy { [subgroup_project] }4187 passes projects to the timebox report service4188 scope: subgroup_project, current_user: group_member, authorized_projects: lazy { [subgroup_project] }4189 passes projects to the timebox report service4190 scope: private_group, current_user: private_group_member, authorized_projects: lazy { [private_project1, private_project2] }4191 passes projects to the timebox report service4192 scope: private_group, current_user: private_project1_member, authorized_projects: lazy { [private_project1, private_project2] }4193 passes projects to the timebox report service4194 scope: private_group, current_user: private_project2_member, authorized_projects: lazy { [private_project1, private_project2] }4195 passes projects to the timebox report service4196 scope: private_project1, current_user: private_project1_member, authorized_projects: lazy { [private_project1] }4197 passes projects to the timebox report service4198 scope: private_project2, current_user: private_project2_member, authorized_projects: lazy { [private_project2] }4199 passes projects to the timebox report service4200 scope: private_subgroup, current_user: private_group_member, authorized_projects: lazy { [] }4201 passes projects to the timebox report service4202 behaves like fetching excessive number of events causes an error4203 when the service returns an error4204 returns error information4205 when "rollup_timebox_chart" feature flag is enabled4206 when FF is enabled for group4207 uses Timebox::RollupReportService4208 when timebox is an iteration4209 behaves like checking authorization for timebox report4210 when fullPath is provided4211 when no group or project matches the provided fullPath4212 raises a GraphQL exception4213 when current user is not authorized to read group or view project issues, or resource doesn't exist4214 scope: private_group, current_user: nil4215 raises a GraphQL exception4216 scope: private_group, current_user: group_member4217 raises a GraphQL exception4218 scope: private_subgroup, current_user: nil4219 raises a GraphQL exception4220 scope: private_subgroup, current_user: group_member4221 raises a GraphQL exception4222 scope: private_subgroup, current_user: private_project1_member4223 raises a GraphQL exception4224 scope: private_subgroup, current_user: private_project2_member4225 raises a GraphQL exception4226 scope: private_project1, current_user: nil4227 raises a GraphQL exception4228 scope: private_project1, current_user: group_member4229 raises a GraphQL exception4230 scope: private_project1, current_user: private_project2_member4231 raises a GraphQL exception4232 scope: private_project2, current_user: nil4233 raises a GraphQL exception4234 scope: private_project2, current_user: group_member4235 raises a GraphQL exception4236 scope: private_project2, current_user: private_project1_member4237 raises a GraphQL exception4238 when current user can read group or view project issues4239 scope: group, current_user: group_member, authorized_projects: lazy { [project, subgroup_project] }4240 passes projects to the timebox report service4241 scope: subgroup, current_user: group_member, authorized_projects: lazy { [subgroup_project] }4242 passes projects to the timebox report service4243 scope: subgroup_project, current_user: group_member, authorized_projects: lazy { [subgroup_project] }4244 passes projects to the timebox report service4245 scope: private_group, current_user: private_group_member, authorized_projects: lazy { [private_project1, private_project2] }4246 passes projects to the timebox report service4247 scope: private_group, current_user: private_project1_member, authorized_projects: lazy { [private_project1, private_project2] }4248 passes projects to the timebox report service4249 scope: private_group, current_user: private_project2_member, authorized_projects: lazy { [private_project1, private_project2] }4250 passes projects to the timebox report service4251 scope: private_project1, current_user: private_project1_member, authorized_projects: lazy { [private_project1] }4252 passes projects to the timebox report service4253 scope: private_project2, current_user: private_project2_member, authorized_projects: lazy { [private_project2] }4254 passes projects to the timebox report service4255 scope: private_subgroup, current_user: private_group_member, authorized_projects: lazy { [] }4256 passes projects to the timebox report service4257 behaves like fetching excessive number of events causes an error4258 when the service returns an error4259 returns error information4260 when authorized to view "project"4261 returns burnup chart data4262 when FF is enabled for project4263 uses Timebox::RollupReportService4264 when timebox is a milestone4265 behaves like checking authorization for timebox report4266 when fullPath is provided4267 when no group or project matches the provided fullPath4268 raises a GraphQL exception4269 when current user is not authorized to read group or view project issues, or resource doesn't exist4270 scope: private_group, current_user: nil4271 raises a GraphQL exception4272 scope: private_group, current_user: group_member4273 raises a GraphQL exception4274 scope: private_subgroup, current_user: nil4275 raises a GraphQL exception4276 scope: private_subgroup, current_user: group_member4277 raises a GraphQL exception4278 scope: private_subgroup, current_user: private_project1_member4279 raises a GraphQL exception4280 scope: private_subgroup, current_user: private_project2_member4281 raises a GraphQL exception4282 scope: private_project1, current_user: nil4283 raises a GraphQL exception4284 scope: private_project1, current_user: group_member4285 raises a GraphQL exception4286 scope: private_project1, current_user: private_project2_member4287 raises a GraphQL exception4288 scope: private_project2, current_user: nil4289 raises a GraphQL exception4290 scope: private_project2, current_user: group_member4291 raises a GraphQL exception4292 scope: private_project2, current_user: private_project1_member4293 raises a GraphQL exception4294 when current user can read group or view project issues4295 scope: group, current_user: group_member, authorized_projects: lazy { [project, subgroup_project] }4296 passes projects to the timebox report service4297 scope: subgroup, current_user: group_member, authorized_projects: lazy { [subgroup_project] }4298 passes projects to the timebox report service4299 scope: subgroup_project, current_user: group_member, authorized_projects: lazy { [subgroup_project] }4300 passes projects to the timebox report service4301 scope: private_group, current_user: private_group_member, authorized_projects: lazy { [private_project1, private_project2] }4302 passes projects to the timebox report service4303 scope: private_group, current_user: private_project1_member, authorized_projects: lazy { [private_project1, private_project2] }4304 passes projects to the timebox report service4305 scope: private_group, current_user: private_project2_member, authorized_projects: lazy { [private_project1, private_project2] }4306 passes projects to the timebox report service4307 scope: private_project1, current_user: private_project1_member, authorized_projects: lazy { [private_project1] }4308 passes projects to the timebox report service4309 scope: private_project2, current_user: private_project2_member, authorized_projects: lazy { [private_project2] }4310 passes projects to the timebox report service4311 scope: private_subgroup, current_user: private_group_member, authorized_projects: lazy { [] }4312 passes projects to the timebox report service4313 behaves like fetching excessive number of events causes an error4314 when the service returns an error4315 returns error information4316 when authorized to view "project"4317 returns burnup chart data4318ResourceIterationEvent4319 behaves like a resource event4320 importable4321 is expected to respond to #importing?4322 is expected to respond to #imported?4323 validations4324 is expected not to allow :user to be ‹nil›4325 when importing4326 is expected to allow :user to be ‹nil›4327 associations4328 is expected to belong to user required: false4329 .created_after4330 returns the expected events4331 returns no events if time is after last record time4332 behaves like a resource event for issues4333 associations4334 is expected to belong to issue required: false4335 .by_issue4336 returns the expected records for an issue with events4337 returns the expected records for an issue with no events4338 .by_issue_ids4339 returns the expected events4340 .by_created_at_earlier_or_equal_to4341 returns the expected events4342 returns the expected events4343 #issuable4344 returns the expected issuable4345 behaves like a resource event for merge requests4346 associations4347 is expected to belong to merge_request required: false4348 .by_merge_request4349 returns the expected records for an issue with events4350 returns the expected records for an issue with no events4351 #issuable4352 returns the expected issuable4353 on callbacks4354 does not trigger note created subscription4355 behaves like a note for work item resource event4356 builds synthetic note with correct synthetic_note_class4357 on callbacks4358 triggers note created subscription4359 behaves like having unique enum values4360 has unique values in "action"4361 behaves like timebox resource event validations4362 validations4363 when issue and merge_request are both nil4364 is expected not to be valid4365 when issue and merge_request are both set4366 is expected not to be valid4367 when issue is set4368 is expected to be valid4369 when merge_request is set4370 is expected to be valid4371 behaves like timebox resource event actions4372 #added?4373 behaves like queryable timebox action resource event4374 is true for action add on issue4375 is false for action remove on issue4376 is true for action add on merge_request4377 is false for action remove on merge_request4378 #removed?4379 behaves like queryable timebox action resource event4380 is false for action add on issue4381 is true for action remove on issue4382 is false for action add on merge_request4383 is true for action remove on merge_request4384 behaves like timebox resource tracks issue metrics4385 #issue_usage_metrics4386 tracks usage for issues4387 does not track usage for merge requests4388 scopes4389 .aliased_for_timebox_report4390 returns correct values with aliased names4391 when creating an issue4392 behaves like issue_edit snowplow tracking4393 behaves like Snowplow event tracking with RedisHLL context4394 behaves like Snowplow event tracking4395 is emitted4396 associations4397 is expected to belong to iteration required: false4398Vulnerabilities::ResolveService4399 when vulnerability state is different from the requested state4400 with an authorized user with proper permissions4401 resolves a vulnerability4402 creates note4403 creates state transition entry to `resolved`4404 behaves like calls vulnerability statistics utility services in order4405 when updating the vulnerability fails4406 does not call the service classes4407 when updating the vulnerability succeeds4408 calls the service classes in order4409 behaves like removes dismissal feedback from associated findings4410 when there is no error4411 removes dismissal feedback from associated findings4412 when there is an error4413 does not remove any feedback4414 responds with error4415 when security dashboard feature is disabled4416 raises an "access denied" error4417 when vulnerability state is not different from the requested state4418 behaves like does not create state transition for same state4419 when vulnerability state is not different from the requested state4420 with an authorized user with proper permissions4421 does not create a state transition entry4422 permissions4423 is expected to be allowed for :owner4424 is expected to be allowed for :maintainer4425 is expected to be allowed for :developer4426 is expected to be denied for :auditor4427 is expected to be denied for :reporter4428 is expected to be denied for :guest4429 is expected to be denied for :anonymous4430 when admin mode is enabled4431 is expected to be allowed for :admin4432 when admin mode is disabled4433 is expected to be denied for :admin4434Geo::RepositoryVerificationFinder4435 #find_failed_repositories4436 returns projects where next retry attempt is in the past4437 does not return projects where next retry attempt is in the future4438 does not return projects where repository was recently updated4439 does not return projects where repository verification is pending4440 returns projects ordered by next retry time4441 with shard restriction4442 does not return projects on other shards4443 #find_failed_wikis4444 returns projects where next retry attempt is in the past4445 does not return projects where next retry attempt is in the future4446 does not return projects where wiki was recently updated4447 does not return projects where wiki verification is pending4448 returns projects ordered by next retry time4449 with shard restriction4450 does not return projects on other shards4451 #find_recently_updated_projects4452 returns projects where repository was recently updated4453 returns projects where repository verification is pending4454 does not return projects where repository verification failed4455 returns projects where wiki was recently updated4456 returns less active projects first4457 with geo_project_wiki_repository_replication feature flag disabled4458 returns projects where wiki verification is pending4459 does not return projects where wiki verification failed4460 with geo_project_wiki_repository_replication feature flag enabled4461 does not return projects where wiki verification is pending4462 does not return projects where wiki verification failed4463 with shard restriction4464 does not return projects on other shards4465 #find_never_verified_projects4466 returns projects that never have been verified4467 with shard restriction4468 does not return projects on other shards4469 #find_reverifiable_repositories4470 behaves like find reverifiable projects4471 returns projects where repository was verified before the minimum re-verification interval4472 does not return projects where repository was recently updated4473 does not return projects where repository verification failed4474 returns less active projects first4475 with shard restriction4476 does not return projects on other shards4477 #find_reverifiable_wikis4478 behaves like find reverifiable projects4479 returns projects where wiki was verified before the minimum re-verification interval4480 does not return projects where wiki was recently updated4481 does not return projects where wiki verification failed4482 returns less active projects first4483 with shard restriction4484 does not return projects on other shards4485 #count_verified_repositories4486 when a repository is verified4487 includes the repository4488 when a repository failed verification4489 excludes the repository4490 when a repository has outdated verification4491 excludes the repository4492 #count_verified_wikis4493 when a wiki is verified4494 includes the wiki4495 when a wiki failed verification4496 excludes the wiki4497 when a wiki has outdated verification4498 excludes the wiki4499CodeSuggestionsAlertHelper4500 # order random4501 #show_code_suggestions_alert?4502 feature_flag_enabled?: true, cookie_present?: "true", check_namespace_plan?: true, user?: true, code_suggestions_enabled?: true, nav_alert_dismissed: true4503 is expected to eq false4504 feature_flag_enabled?: true, cookie_present?: "true", check_namespace_plan?: true, user?: true, code_suggestions_enabled?: true, nav_alert_dismissed: false4505 is expected to eq false4506 feature_flag_enabled?: true, cookie_present?: "true", check_namespace_plan?: true, user?: true, code_suggestions_enabled?: false, nav_alert_dismissed: true4507 is expected to eq false4508 feature_flag_enabled?: true, cookie_present?: "true", check_namespace_plan?: true, user?: true, code_suggestions_enabled?: false, nav_alert_dismissed: false4509 is expected to eq false4510 feature_flag_enabled?: true, cookie_present?: "true", check_namespace_plan?: true, user?: false, code_suggestions_enabled?: true, nav_alert_dismissed: true4511 is expected to eq false4512 feature_flag_enabled?: true, cookie_present?: "true", check_namespace_plan?: true, user?: false, code_suggestions_enabled?: true, nav_alert_dismissed: false4513 is expected to eq false4514 feature_flag_enabled?: true, cookie_present?: "true", check_namespace_plan?: true, user?: false, code_suggestions_enabled?: false, nav_alert_dismissed: true4515 is expected to eq false4516 feature_flag_enabled?: true, cookie_present?: "true", check_namespace_plan?: true, user?: false, code_suggestions_enabled?: false, nav_alert_dismissed: false4517 is expected to eq false4518 feature_flag_enabled?: true, cookie_present?: "true", check_namespace_plan?: false, user?: true, code_suggestions_enabled?: true, nav_alert_dismissed: true4519 is expected to eq false4520 feature_flag_enabled?: true, cookie_present?: "true", check_namespace_plan?: false, user?: true, code_suggestions_enabled?: true, nav_alert_dismissed: false4521 is expected to eq false4522 feature_flag_enabled?: true, cookie_present?: "true", check_namespace_plan?: false, user?: true, code_suggestions_enabled?: false, nav_alert_dismissed: true4523 is expected to eq false4524 feature_flag_enabled?: true, cookie_present?: "true", check_namespace_plan?: false, user?: true, code_suggestions_enabled?: false, nav_alert_dismissed: false4525 is expected to eq false4526 feature_flag_enabled?: true, cookie_present?: "true", check_namespace_plan?: false, user?: false, code_suggestions_enabled?: true, nav_alert_dismissed: true4527 is expected to eq false4528 feature_flag_enabled?: true, cookie_present?: "true", check_namespace_plan?: false, user?: false, code_suggestions_enabled?: true, nav_alert_dismissed: false4529 is expected to eq false4530 feature_flag_enabled?: true, cookie_present?: "true", check_namespace_plan?: false, user?: false, code_suggestions_enabled?: false, nav_alert_dismissed: true4531 is expected to eq false4532 feature_flag_enabled?: true, cookie_present?: "true", check_namespace_plan?: false, user?: false, code_suggestions_enabled?: false, nav_alert_dismissed: false4533 is expected to eq false4534 feature_flag_enabled?: true, cookie_present?: nil, check_namespace_plan?: true, user?: true, code_suggestions_enabled?: true, nav_alert_dismissed: true4535 is expected to eq false4536 feature_flag_enabled?: true, cookie_present?: nil, check_namespace_plan?: true, user?: true, code_suggestions_enabled?: true, nav_alert_dismissed: false4537 is expected to eq false4538 feature_flag_enabled?: true, cookie_present?: nil, check_namespace_plan?: true, user?: true, code_suggestions_enabled?: false, nav_alert_dismissed: true4539 is expected to eq true4540 feature_flag_enabled?: true, cookie_present?: nil, check_namespace_plan?: true, user?: true, code_suggestions_enabled?: false, nav_alert_dismissed: false4541 is expected to eq false4542 feature_flag_enabled?: true, cookie_present?: nil, check_namespace_plan?: true, user?: false, code_suggestions_enabled?: true, nav_alert_dismissed: true4543 is expected to eq true4544 feature_flag_enabled?: true, cookie_present?: nil, check_namespace_plan?: true, user?: false, code_suggestions_enabled?: true, nav_alert_dismissed: false4545 is expected to eq true4546 feature_flag_enabled?: true, cookie_present?: nil, check_namespace_plan?: true, user?: false, code_suggestions_enabled?: false, nav_alert_dismissed: true4547 is expected to eq true4548 feature_flag_enabled?: true, cookie_present?: nil, check_namespace_plan?: true, user?: false, code_suggestions_enabled?: false, nav_alert_dismissed: false4549 is expected to eq true4550 feature_flag_enabled?: true, cookie_present?: nil, check_namespace_plan?: false, user?: true, code_suggestions_enabled?: true, nav_alert_dismissed: true4551 is expected to eq false4552 feature_flag_enabled?: true, cookie_present?: nil, check_namespace_plan?: false, user?: true, code_suggestions_enabled?: true, nav_alert_dismissed: false4553 is expected to eq false4554 feature_flag_enabled?: true, cookie_present?: nil, check_namespace_plan?: false, user?: true, code_suggestions_enabled?: false, nav_alert_dismissed: true4555 is expected to eq false4556 feature_flag_enabled?: true, cookie_present?: nil, check_namespace_plan?: false, user?: true, code_suggestions_enabled?: false, nav_alert_dismissed: false4557 is expected to eq false4558 feature_flag_enabled?: true, cookie_present?: nil, check_namespace_plan?: false, user?: false, code_suggestions_enabled?: true, nav_alert_dismissed: true4559 is expected to eq false4560 feature_flag_enabled?: true, cookie_present?: nil, check_namespace_plan?: false, user?: false, code_suggestions_enabled?: true, nav_alert_dismissed: false4561 is expected to eq false4562 feature_flag_enabled?: true, cookie_present?: nil, check_namespace_plan?: false, user?: false, code_suggestions_enabled?: false, nav_alert_dismissed: true4563 is expected to eq false4564 feature_flag_enabled?: true, cookie_present?: nil, check_namespace_plan?: false, user?: false, code_suggestions_enabled?: false, nav_alert_dismissed: false4565 is expected to eq false4566 feature_flag_enabled?: false, cookie_present?: "true", check_namespace_plan?: true, user?: true, code_suggestions_enabled?: true, nav_alert_dismissed: true4567 is expected to eq false4568 feature_flag_enabled?: false, cookie_present?: "true", check_namespace_plan?: true, user?: true, code_suggestions_enabled?: true, nav_alert_dismissed: false4569 is expected to eq false4570 feature_flag_enabled?: false, cookie_present?: "true", check_namespace_plan?: true, user?: true, code_suggestions_enabled?: false, nav_alert_dismissed: true4571 is expected to eq false4572 feature_flag_enabled?: false, cookie_present?: "true", check_namespace_plan?: true, user?: true, code_suggestions_enabled?: false, nav_alert_dismissed: false4573 is expected to eq false4574 feature_flag_enabled?: false, cookie_present?: "true", check_namespace_plan?: true, user?: false, code_suggestions_enabled?: true, nav_alert_dismissed: true4575 is expected to eq false4576 feature_flag_enabled?: false, cookie_present?: "true", check_namespace_plan?: true, user?: false, code_suggestions_enabled?: true, nav_alert_dismissed: false4577 is expected to eq false4578 feature_flag_enabled?: false, cookie_present?: "true", check_namespace_plan?: true, user?: false, code_suggestions_enabled?: false, nav_alert_dismissed: true4579 is expected to eq false4580 feature_flag_enabled?: false, cookie_present?: "true", check_namespace_plan?: true, user?: false, code_suggestions_enabled?: false, nav_alert_dismissed: false4581 is expected to eq false4582 feature_flag_enabled?: false, cookie_present?: "true", check_namespace_plan?: false, user?: true, code_suggestions_enabled?: true, nav_alert_dismissed: true4583 is expected to eq false4584 feature_flag_enabled?: false, cookie_present?: "true", check_namespace_plan?: false, user?: true, code_suggestions_enabled?: true, nav_alert_dismissed: false4585 is expected to eq false4586 feature_flag_enabled?: false, cookie_present?: "true", check_namespace_plan?: false, user?: true, code_suggestions_enabled?: false, nav_alert_dismissed: true4587 is expected to eq false4588 feature_flag_enabled?: false, cookie_present?: "true", check_namespace_plan?: false, user?: true, code_suggestions_enabled?: false, nav_alert_dismissed: false4589 is expected to eq false4590 feature_flag_enabled?: false, cookie_present?: "true", check_namespace_plan?: false, user?: false, code_suggestions_enabled?: true, nav_alert_dismissed: true4591 is expected to eq false4592 feature_flag_enabled?: false, cookie_present?: "true", check_namespace_plan?: false, user?: false, code_suggestions_enabled?: true, nav_alert_dismissed: false4593 is expected to eq false4594 feature_flag_enabled?: false, cookie_present?: "true", check_namespace_plan?: false, user?: false, code_suggestions_enabled?: false, nav_alert_dismissed: true4595 is expected to eq false4596 feature_flag_enabled?: false, cookie_present?: "true", check_namespace_plan?: false, user?: false, code_suggestions_enabled?: false, nav_alert_dismissed: false4597 is expected to eq false4598 feature_flag_enabled?: false, cookie_present?: nil, check_namespace_plan?: true, user?: true, code_suggestions_enabled?: true, nav_alert_dismissed: true4599 is expected to eq false4600 feature_flag_enabled?: false, cookie_present?: nil, check_namespace_plan?: true, user?: true, code_suggestions_enabled?: true, nav_alert_dismissed: false4601 is expected to eq false4602 feature_flag_enabled?: false, cookie_present?: nil, check_namespace_plan?: true, user?: true, code_suggestions_enabled?: false, nav_alert_dismissed: true4603 is expected to eq false4604 feature_flag_enabled?: false, cookie_present?: nil, check_namespace_plan?: true, user?: true, code_suggestions_enabled?: false, nav_alert_dismissed: false4605 is expected to eq false4606 feature_flag_enabled?: false, cookie_present?: nil, check_namespace_plan?: true, user?: false, code_suggestions_enabled?: true, nav_alert_dismissed: true4607 is expected to eq false4608 feature_flag_enabled?: false, cookie_present?: nil, check_namespace_plan?: true, user?: false, code_suggestions_enabled?: true, nav_alert_dismissed: false4609 is expected to eq false4610 feature_flag_enabled?: false, cookie_present?: nil, check_namespace_plan?: true, user?: false, code_suggestions_enabled?: false, nav_alert_dismissed: true4611 is expected to eq false4612 feature_flag_enabled?: false, cookie_present?: nil, check_namespace_plan?: true, user?: false, code_suggestions_enabled?: false, nav_alert_dismissed: false4613 is expected to eq false4614 feature_flag_enabled?: false, cookie_present?: nil, check_namespace_plan?: false, user?: true, code_suggestions_enabled?: true, nav_alert_dismissed: true4615 is expected to eq false4616 feature_flag_enabled?: false, cookie_present?: nil, check_namespace_plan?: false, user?: true, code_suggestions_enabled?: true, nav_alert_dismissed: false4617 is expected to eq false4618 feature_flag_enabled?: false, cookie_present?: nil, check_namespace_plan?: false, user?: true, code_suggestions_enabled?: false, nav_alert_dismissed: true4619 is expected to eq false4620 feature_flag_enabled?: false, cookie_present?: nil, check_namespace_plan?: false, user?: true, code_suggestions_enabled?: false, nav_alert_dismissed: false4621 is expected to eq false4622 feature_flag_enabled?: false, cookie_present?: nil, check_namespace_plan?: false, user?: false, code_suggestions_enabled?: true, nav_alert_dismissed: true4623 is expected to eq false4624 feature_flag_enabled?: false, cookie_present?: nil, check_namespace_plan?: false, user?: false, code_suggestions_enabled?: true, nav_alert_dismissed: false4625 is expected to eq false4626 feature_flag_enabled?: false, cookie_present?: nil, check_namespace_plan?: false, user?: false, code_suggestions_enabled?: false, nav_alert_dismissed: true4627 is expected to eq false4628 feature_flag_enabled?: false, cookie_present?: nil, check_namespace_plan?: false, user?: false, code_suggestions_enabled?: false, nav_alert_dismissed: false4629 is expected to eq false4630Issuable::BulkUpdateService4631 with issues4632 updating health status and epic4633 when features are enabled4634 succeeds and returns the correct number of issuables updated4635 when params value is '0'4636 succeeds and remove values4637 when epic param is incorrect4638 returns error4639 when feature issuable_health_status is disabled4640 behaves like does not update issuables attribute4641 does not update attribute4642 when user can not update issues4643 behaves like does not update issuables attribute4644 does not update attribute4645 behaves like does not update issuables attribute4646 does not update attribute4647 when user can not admin epic4648 behaves like does not update issuables attribute4649 does not update attribute4650 updating iterations4651 at group level4652 when issues4653 behaves like updates iterations4654 succeeds4655 updates the issuables iteration4656 at project level4657 behaves like updates iterations4658 succeeds4659 updates the issuables iteration4660 with epics4661 updating labels4662 when epics are enabled4663 behaves like updates issuables attribute4664 succeeds and returns the correct number of issuables updated4665 when epics have different labels4666 keeps existing labels4667 when epics are disabled4668 behaves like does not update issuables attribute4669 does not update attribute4670 when issuable_ids contain external epics4671 updates epics that belong to the parent group or descendants4672MergeRequests::PostMergeService4673 #execute4674 finalize approvals4675 executes ApprovalRules::FinalizeService4676 compliance violations4677 when the compliance report feature is unlicensed4678 behaves like does not call the compliance violations worker4679 is expected not to receive perform_async(*(any args)) 0 times4680 when the compliance report feature is licensed4681 calls the compliance violations worker asynchronously4682 auditing and tracking invalid logs4683 when the rule is code owner4684 when the rule is valid4685 does not audit or track the event4686 when invalid4687 audits and tracks logs the event4688 when the rule is any_approver4689 when the rule is valid4690 does not audit or track the event4691 when invalid4692 does not audit or track the event4693 when the rule is approval_merge_request_rule4694 when the rule is valid4695 does not audit or track the event4696 when invalid4697 audits and tracks logs the event4698 when the rule is report_approver4699 when the rule is valid4700 does not audit or track the event4701 when invalid4702 audits and tracks logs the event4703 security orchestration policy configuration4704 executes Security::SyncScanResultPolicyWorker for each configuration project4705 without licensed feature4706 does not execute Security::SyncScanResultPolicyWorker for each configuration project4707 with unrelated policy configurations4708 does not execute Security::SyncScanResultPolicyWorker for each configuration project4709 when merge request is a blocker for other merge requests4710 triggers GraphQL subscription mergeRequestMergeStatusUpdated for each blocked merge request4711 when a temporary unapproval is needed for the MR4712 removes the unmergeable flag after the service is run4713 for audit events4714 when licensed4715 does not log audit event if operation fails4716 does not log audit event if operation results in no change4717 when operation succeeds4718 logs an audit event4719 logs the audit event info4720 calls the audit method with the event type4721 when not licensed4722 does not log audit event4723Epics::EpicLinks::UpdateService4724 #execute4725 when subepics feature is not available4726 returns an error4727 when subepics feature is available4728 when user has insufficient permissions4729 returns an error4730 when params are nil4731 does not change order of child epics4732 when moving to start4733 reorders child epics4734 behaves like updating timestamps4735 does not update moved epic4736 does not update parent epic4737 when moving to end4738 reorders child epics4739 behaves like updating timestamps4740 does not update moved epic4741 does not update parent epic4742 when moving between siblings4743 reorders child epics4744 behaves like updating timestamps4745 does not update moved epic4746 does not update parent epic4747 when params are invalid4748 when move_before_id is not a child of parent epic4749 behaves like returns error4750 does not change order of child epics and returns error4751 when move_after_id is not a child of parent epic4752 behaves like returns error4753 does not change order of child epics and returns error4754Groups::ComplianceReportCsvService4755 # order random4756 #csv_data4757 is expected to be success4758 includes the appropriate headers4759 when verifying the csv data4760 contains all commits from all projects4761 when the row is a commit that belongs to a merge commit4762 Merge Commit4763 Commit Author4764 Merge Request4765 Merged By4766 Merged At4767 Pipeline4768 Group4769 Project4770 Approver(s)4771 when project inside a subgroup4772 is expected to be success4773 is expected to eq "6f4907e7"4774 #enqueue_worker4775 enqueues a worker4776 when group is missing4777 raises an ArgumentError4778 when user is missing4779 raises an ArgumentError4780Security::ScanExecutionPoliciesFinder4781 when actor is Clusters::Agent4782 when agent project has security_orchestration_policy project4783 returns policy matching the given scan type4784 when the security policy project is linked to the group4785 returns policy matching the given scan type4786 and object is not a Project4787 returns empty response4788 when action_scan_types is given4789 when there are multiple policies4790 returns policy matching the given scan type4791 when there are no matching policies4792 returns empty response4793 behaves like scan policies finder4794 #execute4795 when execute is not implemented in the subclass4796 raises NotImplementedError4797 when feature is not licensed4798 returns empty collection4799 when feature is licensed4800 when configuration is associated to project4801 returns policies with project4802 when configuration is associated to namespace4803 when relationship argument is not provided4804 returns no policies4805 when relationship argument is provided as INHERITED4806 returns scan policies for groups only4807 when configuration is associated to project and namespace4808 when relationship argument is not provided4809 returns scan policies for project only4810 when relationship argument is provided as INHERITED4811 returns policies defined for both project and namespace4812 when relationship argument is provided as INHERITED_ONLY4813 returns policies defined for namespace only4814 when user is unauthorized4815 returns empty collection4816IdentityVerifiable4817 # order random4818 #identity_verification_enabled?4819 identity_verification: true, require_admin_approval_after_user_signup: true, email_confirmation_setting: "soft"4820 returns the expected result4821 identity_verification: true, require_admin_approval_after_user_signup: true, email_confirmation_setting: "hard"4822 returns the expected result4823 identity_verification: true, require_admin_approval_after_user_signup: true, email_confirmation_setting: "off"4824 returns the expected result4825 identity_verification: true, require_admin_approval_after_user_signup: false, email_confirmation_setting: "soft"4826 returns the expected result4827 identity_verification: true, require_admin_approval_after_user_signup: false, email_confirmation_setting: "hard"4828 returns the expected result4829 identity_verification: true, require_admin_approval_after_user_signup: false, email_confirmation_setting: "off"4830 returns the expected result4831 identity_verification: false, require_admin_approval_after_user_signup: true, email_confirmation_setting: "soft"4832 returns the expected result4833 identity_verification: false, require_admin_approval_after_user_signup: true, email_confirmation_setting: "hard"4834 returns the expected result4835 identity_verification: false, require_admin_approval_after_user_signup: true, email_confirmation_setting: "off"4836 returns the expected result4837 identity_verification: false, require_admin_approval_after_user_signup: false, email_confirmation_setting: "soft"4838 returns the expected result4839 identity_verification: false, require_admin_approval_after_user_signup: false, email_confirmation_setting: "hard"4840 returns the expected result4841 identity_verification: false, require_admin_approval_after_user_signup: false, email_confirmation_setting: "off"4842 returns the expected result4843 #identity_verified?4844 phone_verified: true, email_verified: true, result: true4845 is expected to eq true4846 phone_verified: true, email_verified: false, result: false4847 is expected to eq false4848 phone_verified: false, email_verified: true, result: false4849 is expected to eq false4850 phone_verified: false, email_verified: false, result: false4851 is expected to eq false4852 when identity verification is not enabled4853 and their email is already verified4854 is expected to eq true4855 and their email is not yet verified4856 is expected to eq false4857 when user has already signed in before4858 and their email is already verified4859 is expected to eq true4860 and their email is not yet verified4861 is expected to eq false4862 #active_for_authentication?4863 identity_verification_enabled?: true, identity_verified?: true, email_confirmation_setting: "hard", result: true4864 when not confirmed4865 is expected to eq false4866 when confirmed4867 is expected to eq true4868 identity_verification_enabled?: true, identity_verified?: false, email_confirmation_setting: "hard", result: false4869 when not confirmed4870 is expected to eq false4871 when confirmed4872 is expected to eq false4873 identity_verification_enabled?: false, identity_verified?: false, email_confirmation_setting: "hard", result: true4874 when not confirmed4875 is expected to eq false4876 when confirmed4877 is expected to eq true4878 identity_verification_enabled?: false, identity_verified?: true, email_confirmation_setting: "hard", result: true4879 when not confirmed4880 is expected to eq false4881 when confirmed4882 is expected to eq true4883 identity_verification_enabled?: true, identity_verified?: true, email_confirmation_setting: "soft", result: true4884 when not confirmed4885 is expected to eq false4886 when confirmed4887 is expected to eq true4888 identity_verification_enabled?: true, identity_verified?: false, email_confirmation_setting: "soft", result: false4889 when not confirmed4890 is expected to eq false4891 when confirmed4892 is expected to eq false4893 identity_verification_enabled?: false, identity_verified?: false, email_confirmation_setting: "soft", result: true4894 when not confirmed4895 is expected to eq false4896 when confirmed4897 is expected to eq true4898 identity_verification_enabled?: false, identity_verified?: true, email_confirmation_setting: "soft", result: true4899 when not confirmed4900 is expected to eq false4901 when confirmed4902 is expected to eq true4903 #identity_verification_state4904 credit card verification state4905 when user has not verified a credit card4906 is expected to eq false4907 when user has verified a credit card4908 is expected to eq true4909 phone verification state4910 when user has no phone number4911 is expected to eq false4912 when user has not verified a phone number4913 is expected to eq false4914 when user has verified a phone number4915 is expected to eq true4916 email verification state4917 when user has not verified their email4918 is expected to eq false4919 when user has verified their email4920 is expected to eq true4921 #arkose_risk_band4922 when user does not have an arkose labs risk band4923 is expected to be nil4924 when user has an arkose labs risk band4925 is expected to eq "high"4926 #required_identity_verification_methods4927 risk_band: "High", credit_card: true, phone_number: true, result: ["credit_card", "phone", "email"]4928 is expected to eq ["credit_card", "phone", "email"]4929 risk_band: "High", credit_card: false, phone_number: true, result: ["phone", "email"]4930 is expected to eq ["phone", "email"]4931 risk_band: "High", credit_card: true, phone_number: false, result: ["credit_card", "email"]4932 is expected to eq ["credit_card", "email"]4933 risk_band: "High", credit_card: false, phone_number: false, result: ["email"]4934 is expected to eq ["email"]4935 risk_band: "Medium", credit_card: true, phone_number: true, result: ["phone", "email"]4936 is expected to eq ["phone", "email"]4937 risk_band: "Medium", credit_card: false, phone_number: true, result: ["phone", "email"]4938 is expected to eq ["phone", "email"]4939 risk_band: "Medium", credit_card: true, phone_number: false, result: ["email"]4940 is expected to eq ["email"]4941 risk_band: "Medium", credit_card: false, phone_number: false, result: ["email"]4942 is expected to eq ["email"]4943 risk_band: "Low", credit_card: true, phone_number: true, result: ["email"]4944 is expected to eq ["email"]4945 risk_band: "Low", credit_card: false, phone_number: true, result: ["email"]4946 is expected to eq ["email"]4947 risk_band: "Low", credit_card: true, phone_number: false, result: ["email"]4948 is expected to eq ["email"]4949 risk_band: "Low", credit_card: false, phone_number: false, result: ["email"]4950 is expected to eq ["email"]4951 risk_band: nil, credit_card: true, phone_number: true, result: ["email"]4952 is expected to eq ["email"]4953 risk_band: nil, credit_card: false, phone_number: true, result: ["email"]4954 is expected to eq ["email"]4955 risk_band: nil, credit_card: true, phone_number: false, result: ["email"]4956 is expected to eq ["email"]4957 risk_band: nil, credit_card: false, phone_number: false, result: ["email"]4958 is expected to eq ["email"]4959 when flag is enabled for a specific user4960 risk_band: "High", credit_card: true, phone_number: false, result: ["credit_card", "email"]4961 only affects that user4962 risk_band: "Medium", credit_card: false, phone_number: true, result: ["phone", "email"]4963 only affects that user4964 #credit_card_verified?4965 when user has not verified a credit card4966 is expected to eq false4967 when user has verified a credit card4968 is expected to eq true4969 when credit card has been used by a banned user4970 is expected to eq false4971Resolvers::ComplianceManagement::MergeRequests::ComplianceViolationResolver4972 #resolve4973 user is unauthorized4974 returns nil4975 user is authorized4976 without any filters or sorting4977 finds all the compliance violations4978 filtering the results4979 when given an array of project IDs4980 finds the filtered compliance violations4981 when given merged at dates4982 merged_params: {:merged_before=>Wed, 31 May 2023}, result: lazy { compliance_violation }4983 finds the filtered compliance violations4984 merged_params: {:merged_after=>Wed, 31 May 2023}, result: lazy { compliance_violation2 }4985 finds the filtered compliance violations4986 merged_params: {:merged_before=>Fri, 02 Jun 2023, :merged_after=>Wed, 31 May 2023}, result: lazy { compliance_violation2 }4987 finds the filtered compliance violations4988 sorting the results4989 direction: "SEVERITY_LEVEL_ASC", result: lazy { [compliance_violation, compliance_violation2] }4990 finds the filtered compliance violations4991 uses offset pagination4992 direction: "SEVERITY_LEVEL_DESC", result: lazy { [compliance_violation2, compliance_violation] }4993 finds the filtered compliance violations4994 uses offset pagination4995 direction: "VIOLATION_REASON_ASC", result: lazy { [compliance_violation, compliance_violation2] }4996 finds the filtered compliance violations4997 uses offset pagination4998 direction: "VIOLATION_REASON_DESC", result: lazy { [compliance_violation2, compliance_violation] }4999 finds the filtered compliance violations5000 uses offset pagination5001 direction: "MERGE_REQUEST_TITLE_ASC", result: lazy { [compliance_violation, compliance_violation2] }5002 finds the filtered compliance violations5003 uses offset pagination5004 direction: "MERGE_REQUEST_TITLE_DESC", result: lazy { [compliance_violation2, compliance_violation] }5005 finds the filtered compliance violations5006 uses offset pagination5007 direction: "MERGED_AT_ASC", result: lazy { [compliance_violation, compliance_violation2] }5008 finds the filtered compliance violations5009 uses offset pagination5010 direction: "MERGED_AT_DESC", result: lazy { [compliance_violation2, compliance_violation] }5011 finds the filtered compliance violations5012 uses offset pagination5013 direction: "UNKNOWN_SORT", result: lazy { [compliance_violation, compliance_violation2] }5014 finds the filtered compliance violations5015 uses offset pagination5016Types::DastSiteProfileType5017 is expected to eq "DastSiteProfile"5018 is expected to require graphql authorizations :read_on_demand_dast_scan5019 is expected to expose permissions using Types::PermissionTypes::DastSiteProfile5020 is expected to have graphql fields :id, :profileName, :targetUrl, :targetType, :editPath, :excludedUrls, :requestHeaders, :validationStatus, :userPermissions, :normalizedTargetUrl, :auth, :referencedInSecurityPolicies, :scanMethod, :scanFilePath, and :validationStartedAt5021 is expected to have graphql field :referenced_in_security_policies and {:calls_gitaly?=>true}5022 id field5023 is the global id5024 profileName field5025 is the name5026 targetUrl field5027 is the url of the associated dast_site5028 targetType field5029 is the target type5030 editPath field5031 is the relative path to edit the dast_site_profile5032 auth field5033 is the dast_site_profile5034 excludedUrls field5035 is the excluded urls5036 requestHeaders field5037 when there is no associated secret variable5038 is nil5039 when there an associated secret variable5040 is redacted5041 validation_status field5042 is the validation status5043 normalizedTargetUrl field5044 is the normalized url of the associated dast_site5045 referencedInSecurityPolicies field5046 is the lazy aggregate that is resolved to policies5047 scan_method field5048 is the scan method5049 scan_file_path field5050 is the scan file path5051 dast_site_profiles5052 when security policies are enabled5053 only calls Gitaly twice when multiple profiles are present5054 validation_started_at field5055 when dast_site_validation association does not exist5056 is the validation_started_at5057 when dast_site_validation association does exist5058 is the validation_started_at5059Ci::Minutes::UsagePresenter5060 #monthly_minutes_report5061 when the usage is not enabled5062 when the namespace is not eligible5063 returns not supported report with no usage5064 when the namespace is eligible5065 when minutes are not used5066 returns unlimited report with no usage5067 when minutes are used5068 returns unlimited report with usage5069 when limited5070 when minutes are not all used5071 returns report with under usage5072 when minutes are all used5073 returns report with over quota5074 #purchased_minutes_report5075 when limit enabled5076 when extra minutes have been purchased5077 when all monthly minutes are used and some puarchased minutes are used5078 returns report with under quota5079 when all monthly and all puarchased minutes have been used5080 returns report with over quota5081 when not all monthly minutes have been used5082 returns report with no usage5083 when no extra minutes have been purchased5084 when all monthly minutes have been used5085 returns report without usage5086 when not all monthly minutes have been used5087 returns report with no usage5088 #monthly_percent_used5089 limit not enabled5090 returns the percentage5091 monthly limit set and no usage5092 returns the percentage5093 monthly limit set and usage lower than 100%5094 returns the percentage5095 monthly limit set and usage at 100%5096 returns the percentage5097 monthly limit set and usage above 100%5098 returns the percentage5099 monthly limit not set and no usage5100 returns the percentage5101 monthly limit not set and some usage5102 returns the percentage5103 monthly and purchased limits set and no usage5104 returns the percentage5105 monthly and purchased limits set and low usage5106 returns the percentage5107 usage capped to 100% and overflows into purchased minutes5108 returns the percentage5109 #purchased_percent_used5110 limit not enabled5111 returns the percentage5112 monthly limit not set and purchased limit set and low usage5113 returns the percentage5114 monthly limit set and purchased limit not set and usage below monthly5115 returns the percentage5116 monthly limit set and purchased limit not set and usage above monthly5117 returns the percentage5118 monthly and purchased limits set and no usage5119 returns the percentage5120 monthly and purchased limits set and usage below monthly5121 returns the percentage5122 monthly and purchased limits set and monthly minutes maxed out5123 returns the percentage5124 monthly and purchased limits set and some purchased minutes used5125 returns the percentage5126 monthly and purchased limits set and all minutes used5127 returns the percentage5128 monthly and purchased limits set and usage beyond all limits5129 returns the percentage5130 #any_project_enabled?5131 does not trigger additional queries when called multiple times5132 when namespace has any project with shared runners enabled5133 returns true5134 when namespace has no projects with shared runners enabled5135 returns false5136 #display_shared_runners_data?5137 when the namespace is root and it has a project with shared runners enabled5138 is expected to be truthy5139 when the namespace is not root5140 is expected to be falsey5141 when the namespaces has no project with shared runners enabled5142 is expected to be falsey5143StoreSecurityReportsWorker5144 #perform5145 when there is no pipeline with the given ID5146 does not raise an error5147 when at least one security report feature is enabled5148 report_type: :sast5149 executes IngestReportsService for given pipeline5150 report_type: :dast5151 executes IngestReportsService for given pipeline5152 report_type: :dependency_scanning5153 executes IngestReportsService for given pipeline5154 report_type: :container_scanning5155 executes IngestReportsService for given pipeline5156 report_type: :cluster_image_scanning5157 executes IngestReportsService for given pipeline5158 when running SAST analyzers that produce duplicate vulnerabilities5159 vulnerability_finding_signatures_enabled: true5160 and prefers original analyzer over semgrep when deduplicating5161 does not duplicate vulnerabilities5162 and prefers semgrep over original analyzer when deduplicating5163 does not duplicate vulnerabilities5164 vulnerability_finding_signatures_enabled: false5165 and prefers original analyzer over semgrep when deduplicating5166 does not duplicate vulnerabilities5167 and prefers semgrep over original analyzer when deduplicating5168 does not duplicate vulnerabilities5169 when resolving dropped identifiers5170 resolves vulnerabilities5171 when the same scanner runs multiple times in one pipeline5172 does not mark any of the detected vulnerabilities as resolved5173 when security reports feature is not available5174 does not execute IngestReportsService5175StatusPage::ProjectSetting5176 # order random5177 #masked_aws_secret_key5178 is expected to eq "****************************************"5179 when no secret saved5180 is expected to eq nil5181 #storage_client5182 when status page settings is enabled5183 is expected to be an instance of Gitlab::StatusPage::Storage::S3Client5184 when not enabled5185 is expected to be nil5186 attribute encryption5187 token5188 encrypts original value into encrypted_token attribute5189 #normalized_status_page_url5190 when status_page_url exists5191 is expected to eq "https://status.gitlab.com/#/"5192 when status_page_url is blank5193 is expected to be nil5194 when status_page_url is nil5195 is expected to be nil5196 when status_page_url contains trailing slash5197 is expected to eq "https://status.gitlab.com/#/"5198 when status_page_url contains trailing hash-navigator5199 is expected to eq "https://status.gitlab.com/#/"5200 when status_page_url matches expected url5201 is expected to eq "https://status.gitlab.com/#/"5202 #enabled?5203 is expected to eq true5204 when status page setting is disabled5205 is expected to eq false5206 when license is not available5207 is expected to eq false5208 associations5209 is expected to belong to project required: false inverse_of => status_page_setting5210 validations5211 is expected not to validate that :status_page_url cannot be empty/falsy5212 is expected to validate that :aws_s3_bucket_name cannot be empty/falsy5213 is expected to validate that the length of :aws_s3_bucket_name is between 3 and 635214 is expected to validate that :aws_region cannot be empty/falsy5215 is expected to validate that :aws_access_key cannot be empty/falsy5216 is expected to validate that :encrypted_aws_secret_key cannot be empty/falsy5217 status_page_url5218 disallows invalid urls for status_page_url5219 allows valid urls for status_page_url5220 aws_s3_bucket_name5221 is expected to allow :aws_s3_bucket_name to be ‹"bucket-name"›5222 is expected to allow :aws_s3_bucket_name to be ‹"3ucket-name"›5223 is expected to allow :aws_s3_bucket_name to be ‹"bucket.name"›5224 is expected to allow :aws_s3_bucket_name to be ‹"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"›5225 is expected to allow :aws_s3_bucket_name to be ‹"111111111111111111111111111111111111111111111111111111111111111"›5226 is expected not to allow :aws_s3_bucket_name to be ‹"Bucket-name"›5227 is expected not to allow :aws_s3_bucket_name to be ‹"bucKet-Name"›5228 is expected not to allow :aws_s3_bucket_name to be ‹"bb"›5229 is expected not to allow :aws_s3_bucket_name to be ‹"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"›5230 aws_access_key5231 is expected to allow :aws_access_key to be ‹"AAAAAAAAAAAAAAAAAAAA"›5232 is expected to allow :aws_access_key to be ‹"11111111111111111111"›5233 is expected not to allow :aws_access_key to be ‹"AAAAAAAAAAAAAAAAAAA"›5234 is expected not to allow :aws_access_key to be ‹"1111111111111111111"›5235 is expected not to allow :aws_access_key to be ‹"AAAAAAAAAAAAAAAAAAAAA"›5236 is expected not to allow :aws_access_key to be ‹"111111111111111111111"›5237 aws_secret_key5238 tests the validation5239 existing setting5240 passes validation and removes changes if setting to masked key5241Boards::Lists::ListService5242 #execute5243 when board parent is a project5244 behaves like list service for board with assignee lists5245 when the feature is enabled5246 returns all lists5247 when the feature is disabled5248 filters out assignee lists that might have been created while subscribed5249 behaves like list service for board with milestone lists5250 when the feature is enabled5251 returns all lists5252 when the feature is disabled5253 filters out assignee lists that might have been created while subscribed5254 behaves like list service for board with iteration lists5255 when the feature is enabled5256 returns all lists5257 when feature is disabled5258 filters out iteration lists that might have been created while subscribed5259 when board parent is a group5260 behaves like list service for board with assignee lists5261 when the feature is enabled5262 returns all lists5263 when the feature is disabled5264 filters out assignee lists that might have been created while subscribed5265 behaves like list service for board with milestone lists5266 when the feature is enabled5267 returns all lists5268 when the feature is disabled5269 filters out assignee lists that might have been created while subscribed5270 behaves like list service for board with iteration lists5271 when the feature is enabled5272 returns all lists5273 when feature is disabled5274 filters out iteration lists that might have been created while subscribed5275Custom file template classes5276 Gitlab::Template::CustomDockerfileTemplate5277 .all5278 returns all valid templates5279 .find5280 finds a valid template5281 sets the category correctly (PENDING: {:class_name=>Gitlab::Template::CustomDockerfileTemplate, :category=>"Custom"}.find does not set category correctly)5282 does not find a template with the wrong extension5283 does not find a template in a subdirectory5284 Gitlab::Template::CustomGitignoreTemplate5285 .all5286 returns all valid templates5287 .find5288 finds a valid template5289 sets the category correctly (PENDING: {:class_name=>Gitlab::Template::CustomGitignoreTemplate, :category=>"Custom"}.find does not set category correctly)5290 does not find a template with the wrong extension5291 does not find a template in a subdirectory5292 Gitlab::Template::CustomGitlabCiYmlTemplate5293 .all5294 returns all valid templates5295 .find5296 finds a valid template5297 sets the category correctly (PENDING: {:class_name=>Gitlab::Template::CustomGitlabCiYmlTemplate, :category=>"Custom"}.find does not set category correctly)5298 does not find a template with the wrong extension5299 does not find a template in a subdirectory5300 Gitlab::Template::CustomLicenseTemplate5301 .all5302 returns all valid templates5303 .find5304 finds a valid template5305 sets the category correctly (PENDING: {:class_name=>Gitlab::Template::CustomLicenseTemplate, :category=>"Custom"}.find does not set category correctly)5306 does not find a template with the wrong extension5307 does not find a template in a subdirectory5308 Gitlab::Template::CustomMetricsDashboardYmlTemplate5309 .all5310 returns all valid templates5311 .find5312 finds a valid template5313 sets the category correctly (PENDING: {:class_name=>Gitlab::Template::CustomMetricsDashboardYmlTemplate, :category=>"Custom"}.find does not set category correctly)5314 does not find a template with the wrong extension5315 does not find a template in a subdirectory5316 Gitlab::Template::IssueTemplate5317 .all5318 returns all valid templates5319 .find5320 finds a valid template5321 sets the category correctly (PENDING: {:class_name=>Gitlab::Template::IssueTemplate, :category=>"Project Templates"}.find does not set category correctly)5322 does not find a template with the wrong extension5323 does not find a template in a subdirectory5324 Gitlab::Template::MergeRequestTemplate5325 .all5326 returns all valid templates5327 .find5328 finds a valid template5329 sets the category correctly (PENDING: {:class_name=>Gitlab::Template::MergeRequestTemplate, :category=>"Project Templates"}.find does not set category correctly)5330 does not find a template with the wrong extension5331 does not find a template in a subdirectory5332Security::Ingestion::Tasks::IngestRemediations5333 #execute5334 creates remediations and updates the associations5335 behaves like bulk insertable task5336 when the validation fails5337 can generate error messages correctly5338Gitlab::Ci::Parsers::Security::DependencyScanning5339 #parse!5340 report_format: :dependency_scanning, occurrence_count: 4, identifier_count: 7, scanner_count: 1, file_path: "app/pom.xml", package_name: "io.netty/netty", package_version: "3.9.1.Final", version: "15.0.6"5341 parses all identifiers and findings5342 generates expected location5343 generates expected metadata_version5344 report_format: :dependency_scanning_remediation, occurrence_count: 2, identifier_count: 3, scanner_count: 1, file_path: "yarn.lock", package_name: "debug", package_version: "1.0.5", version: "15.0.6"5345 parses all identifiers and findings5346 generates expected location5347 generates expected metadata_version5348 when parsing a vulnerability with a missing location5349 is expected not to raise Exception5350 when parsing a vulnerability with a missing cve5351 is expected not to raise Exception5352 when vulnerabilities have remediations5353 generates occurrence with expected remediation5354IncidentManagement::IssuableResourceLinks::ZoomLinkService5355 # order random5356 #parse_link5357 with valid Zoom links5358 link_params: "https://zoom.us/j/123456789 Demo meeting", link: "https://zoom.us/j/123456789", link_text: "Demo meeting"5359 is expected to eq ["https://zoom.us/j/123456789", "Demo meeting"]5360 link_params: "https://zoom.us/j/123456789 http://example.com Space fire, fire again", link: "https://zoom.us/j/123456789", link_text: "http://example.com Space fire, fire again"5361 is expected to eq ["https://zoom.us/j/123456789", "http://example.com Space fire, fire again"]5362 link_params: "https://zoom.us/my/name https://zoom.us/j/123456789 Fire, fire on!, extinguishe now!", link: "https://zoom.us/my/name", link_text: "https://zoom.us/j/123456789 Fire, fire on!, extinguishe now!"5363 is expected to eq ["https://zoom.us/my/name", "https://zoom.us/j/123456789 Fire, fire on!, extinguishe now!"]5364 link_params: "https://zoom.us/my/name https://zoom.us/j/123456789", link: "https://zoom.us/my/name", link_text: "https://zoom.us/j/123456789"5365 is expected to eq ["https://zoom.us/my/name", "https://zoom.us/j/123456789"]5366 with invalid Zoom links5367 link_params: nil5368 is expected to eq nil5369 link_params: ""5370 is expected to eq nil5371 link_params: "Text only"5372 is expected to eq nil5373 link_params: "Non-Zoom http://example.com"5374 is expected to eq nil5375 link_params: "Almost Zoom http://zoom.us"5376 is expected to eq nil5377 #add_link5378 when issue is incident type5379 appends the new meeting to zoom_meetings5380 tracks the add event5381 behaves like an incident management tracked event5382 .track_event5383 tracks the event using redis5384 with insufficient issue update permissions5385 cannot add the meeting5386 when link text has multiple commas5387 appends the new meeting to zoom_meetings5388 tracks the add event5389 when service fails to create5390 cannot add the meeting5391 with invalid Zoom url5392 cannot add the meeting5393 with issue type issue5394 cannot add the meeting5395 #can_add_link?5396 is expected to eq true5397 with insufficient issue update permissions5398 is expected to eq false5399Ci::RetryJobService5400 behaves like restricts access to protected environments5401 when build is related to a protected environment5402 when user does not have access to the environment5403 raises Gitlab::Access::DeniedError5404 when user has access to the environment5405 enqueues the build5406 #clone!5407 when user has ability to execute build5408 dast5409 clones the profile associations5410 when build has secrets5411 clones secrets5412 credit card requirement5413 when credit card is required5414 when project is on free plan5415 when user has credit card5416 behaves like creates a retried build5417 creates a retried build5418 when user does not have credit card5419 raises an exception5420 when feature flag is disabled5421 behaves like creates a retried build5422 creates a retried build5423 when credit card is not required5424 behaves like creates a retried build5425 creates a retried build5426 #execute5427 when the CI quota is exceeded5428 when there are no runners available5429 is expected not to be failed5430 when shared runners are available5431 fails the build5432 with private runners5433 is expected not to be failed5434Sidebars::Projects::Menus::AnalyticsMenu5435 Menu items5436 Code Review5437 is expected not to be nil5438 when the user does not have access5439 is expected to be nil5440 Insights5441 is expected not to be nil5442 when insights are not available5443 is expected to be nil5444 when the user does not have access5445 is expected to be nil5446 Issue5447 is expected not to be nil5448 when the user does not have access5449 is expected to be nil5450 when licensed feature issues analytics is not enabled5451 is expected to be nil5452 when issues are disabled5453 is expected to be nil5454 Merge Request5455 is expected not to be nil5456 when the user does not have access5457 is expected to be nil5458 when merge requests are disabled5459 is expected to be nil5460 Dashboards5461 is expected not to be nil5462 with different user access levels5463 access_level: nil, has_menu_item: false5464 when the user is not allowed to view the menu item5465 is expected to be nil5466 access_level: :reporter, has_menu_item: true5467 when the user is allowed to view the menu item5468 is expected not to be nil5469 access_level: :developer, has_menu_item: true5470 when the user is allowed to view the menu item5471 is expected not to be nil5472 access_level: :maintainer, has_menu_item: true5473 when the user is allowed to view the menu item5474 is expected not to be nil5475 when the license does not support the feature5476 is expected to be nil5477 when the dashboards analytics feature is disabled5478 is expected to be nil5479AppSec::Dast::Scans::RunService5480 #execute5481 when a user does not have access to the project5482 returns an error status5483 populates message5484 when the user can run a dast scan5485 returns a success status5486 returns a pipeline5487 creates a pipeline5488 associates the dast profile5489 sets the pipeline ref to the branch5490 sets the source to indicate an ondemand scan5491 creates a stage5492 creates a build5493 sets the build name to indicate a DAST scan5494 creates a build with appropriate options5495 creates a build with appropriate variables5496 when the pipeline fails to save5497 returns an error status5498 populates message5499 when on demand scan licensed feature is not available5500 returns an error status5501 populates message5502Resolvers::DoraMetricsResolver5503 when the user is querying for project-level metrics5504 behaves like dora metrics5505 #resolve5506 returns metrics from production for the last 3 months from the production environment, grouped by day5507 when the user has no access to DORA metrics5508 is expected to be nil5509 when DORA metrics are not licensed5510 is expected to be nil5511 with legacy metric param5512 returns metrics rows with added deprecated "value" field5513 with interval: "daily"5514 returns the metrics grouped by day (the default)5515 with interval: "monthly"5516 returns the metrics grouped by month5517 with interval: "all"5518 returns the metrics grouped into a single bucket with a nil date5519 with a start_date5520 returns metrics for data on or after the provided date5521 with an end_date5522 returns metrics for data on or before the provided date5523 with both a start_date and an end_date5524 returns metrics between the provided dates (inclusive)5525 when the requested date range is too large5526 generates an error5527 when the start date equal to or later than the end date5528 generates an error5529 with multiple environment_tiers5530 returns metrics for all environments combined5531 when the user is querying for group-level metrics5532 behaves like dora metrics5533 #resolve5534 returns metrics from production for the last 3 months from the production environment, grouped by day5535 when the user has no access to DORA metrics5536 is expected to be nil5537 when DORA metrics are not licensed5538 is expected to be nil5539 with legacy metric param5540 returns metrics rows with added deprecated "value" field5541 with interval: "daily"5542 returns the metrics grouped by day (the default)5543 with interval: "monthly"5544 returns the metrics grouped by month5545 with interval: "all"5546 returns the metrics grouped into a single bucket with a nil date5547 with a start_date5548 returns metrics for data on or after the provided date5549 with an end_date5550 returns metrics for data on or before the provided date5551 with both a start_date and an end_date5552 returns metrics between the provided dates (inclusive)5553 when the requested date range is too large5554 generates an error5555 when the start date equal to or later than the end date5556 generates an error5557 with multiple environment_tiers5558 returns metrics for all environments combined5559Geo::ProjectRegistryFinder5560 #find_registries_never_attempted_sync5561 returns registries for projects that have never have an attempt to sync5562 excludes except_ids5563 #find_registries_needs_sync_again5564 with geo_project_wiki_repository_replication feature flag disabled5565 returns registries for dirty projects and/or wiki or that have failed to sync5566 excludes except_ids5567 with geo_project_wiki_repository_replication feature flag enabled5568 returns registries for dirty projects or that have failed to sync5569 excludes except_ids5570 #find_project_ids_pending_verification5571 with geo_project_wiki_repository_replication feature flag disabled5572 returns project IDs where repository and/or wiki is pending verification5573 excludes registries where repository and wiki is missing on primary5574 excludes registries where repository and wiki has not been verified on primary5575 excludes except_ids5576 with geo_project_wiki_repository_replication feature flag enabled5577 returns project IDs where repository is pending verification5578 excludes registries where repository is missing on primary5579 excludes registries where repository has not been verified on primary5580 excludes except_ids5581VulnerabilityExports::ExportService5582 ::export5583 instantiates a new instance of the service class and sends export message to it5584 #export5585 generating the export file5586 runs synchronized with distributed semaphore5587 when the vulnerability_export is not in `created` state5588 does not execute export file generation logic5589 when the vulnerability_export is in `created` state5590 when the export generation fails5591 sets the state of export back to `created`5592 schedules the export deletion background job5593 when the export generation succeeds5594 marks the state of export object as `started` and then `finished`5595 schedules the export deletion background job5596 when the export format is csv5597 calls the VulnerabilityExports::Exporters::CsvService which sets the file and filename5598MergeRequests::BuildService5599 project default template configured5600 issuable default templates feature not available5601 does not set the MR description from template5602 when description is provided5603 sets the user's description5604 issuable default templates feature available5605 sets the MR description from template5606 when description is provided5607 prefers user's description to the default template5608 a Default.md file exists in the repository5609 prefers the project default template5610 when MR is set to close an issue5611 appends closing reference once5612Dast::SiteProfilesBuild5613 associations5614 is expected to belong to ci_build class_name => Ci::Build required: true5615 is expected to belong to dast_site_profile class_name => DastSiteProfile required: true5616 validations5617 is expected to be valid5618 is expected to validate that :ci_build_id cannot be empty/falsy5619 is expected to validate that :dast_site_profile_id cannot be empty/falsy5620 when the ci_build.project_id and dast_site_profile.project_id do not match5621 is not valid5622 behaves like cleanup by a loose foreign key5623 cleans up (delete or nullify) the model5624GroupWikiRepository5625 associations5626 is expected to belong to shard required: false5627 is expected to belong to group required: false5628 validations5629 is expected to validate that :shard cannot be empty/falsy5630 is expected to validate that :group cannot be empty/falsy5631 is expected to validate that :disk_path cannot be empty/falsy5632 uniqueness5633 is expected to validate that :group is case-sensitively unique5634 is expected to validate that :disk_path is case-sensitively unique5635 Geo Replication5636 with root group and subgroup wikis5637 #in_replicables_for_current_secondary?5638 all returns true if all are replicated5639 with selective sync by namespace5640 returns true for groups5641 returns true for subgroups5642 with selective sync by shard5643 returns true for groups in the shard5644 returns false for group wiki repositories not in an included shard5645 #replicables_for_current_secondary5646 returns all group wiki repositories without selective sync5647 returns nothing if an unrecognised selective sync type is used5648 with selective sync by namespace5649 returns group wiki repositories that belong to the namespaces and descendants5650 returns group wiki repositories that belong to the namespace5651 with selective sync by shard5652 returns group wiki repositories that belong to the shards5653IncidentManagement::EscalationPolicies::UpdateService5654 # order random5655 #execute5656 when the current_user is anonymous5657 behaves like error response5658 has an informative message5659 when the current_user does not have permissions to update escalation policies5660 behaves like error response5661 has an informative message5662 when license is not enabled5663 behaves like error response5664 has an informative message5665 when only new rules are added5666 behaves like successful update with no errors5667 returns the updated escalation policy5668 with a user-based rule5669 behaves like successful update with no errors5670 returns the updated escalation policy5671 when all old rules are replaced5672 behaves like successful update with no errors5673 returns the updated escalation policy5674 when some rules are preserved, added, and deleted5675 behaves like successful update with no errors5676 returns the updated escalation policy5677 when rules are only deleted5678 behaves like successful update with no errors5679 returns the updated escalation policy5680 when rules are unchanged5681 behaves like successful update with no errors5682 returns the updated escalation policy5683 when rules are excluded5684 behaves like successful update with no errors5685 returns the updated escalation policy5686 when rules are explicitly nil5687 behaves like successful update with no errors5688 returns the updated escalation policy5689 when rules are explicitly empty5690 behaves like error response5691 has an informative message5692 when too many rules are given5693 behaves like error response5694 has an informative message5695 when the on-call schedule is not on the project5696 behaves like error response5697 has an informative message5698 when the rule's user does not have access to the project5699 behaves like error response5700 has an informative message5701 when an error occurs during update5702 behaves like error response5703 has an informative message5704IssuePolicy5705 on group namespace5706 is expected to be allowed :create_issue, :update_issue, :read_issue_iid, :reopen_issue, :create_design, and :create_note5707 #rules5708 on a group namespace5709 when a member5710 is expected to be allowed :summarize_notes5711 is expected to be allowed :generate_description5712 when experiment features are disabled5713 is expected to be disallowed :summarize_notes5714 when third party ai features are disabled5715 is expected to be disallowed :summarize_notes5716 is expected to be disallowed :generate_description5717 when license is not set5718 is expected to be disallowed :summarize_notes5719 is expected to be disallowed :generate_description5720 when feature flag is not set5721 is expected to be disallowed :summarize_notes5722 is expected to be disallowed :generate_description5723 when not a member5724 is expected to be disallowed :summarize_notes5725 is expected to be disallowed :generate_description5726 on a user namespace5727 is expected to be disallowed :summarize_notes5728 is expected to be disallowed :generate_description5729Dora::Watchers::DeploymentWatcher5730 # order random5731 #process5732 schedules metric refresh for finished_at date5733 .mount5734 when deployment succeeded5735 calls for processing successful event5736Resolvers::BoardListIssuesResolver5737 #resolve5738 filtering by epic5739 accepts epic global id5740 accepts epic wildcard id5741 when providing mutually exclusive filters5742 behaves like raises error on mutually exclusive arguments5743 generates an error if mutually exclusive arguments are present5744 filtering by weight5745 accepts weight wildcard id none5746 accepts weight wildcard id any5747 filters by weight5748 when providing mutually exclusive filters5749 behaves like raises error on mutually exclusive arguments5750 generates an error if mutually exclusive arguments are present5751 filtering by negated weight5752 filters by negated weight5753 filtering by iteration5754 accepts iteration title5755 accepts iteration id5756 when filtering by wildcard id5757 filters by iteration NONE5758 filters by iteration current and cadence id5759 filtering by negated iteration5760 accepts iteration wildcard id5761 filtering by iteration cadence5762 returns issues associated with an iteration cadence5763 filtering by iids5764 filters by iids5765 filtering by negated iids5766 filters by negated iid5767 filter by health status5768 when filtering by specific health status5769 only returns issues that are at risk5770 only returns issues that need attention5771 only returns issues that are on track5772 when filtering by any health status5773 is expected to contain exactly #<Issue id:264 group240/project-820#1>, #<Issue id:266 group240/project-820#3>, and #<Issue id:267 group240/project-820#4>5774 when filtering by no health status5775 is expected to contain exactly #<Issue id:265 group240/project-820#2>5776 when filtering by negated health status5777 is expected to contain exactly #<Issue id:265 group240/project-820#2>, #<Issue id:266 group240/project-820#3>, and #<Issue id:267 group240/project-820#4>5778ProtectedBranches::DestroyService5779 #execute5780 adds a security audit event entry5781 when destroy succeeds but cache refresh fails5782 adds a security audit event entry5783 tracks the exception5784 when security_orchestration_policies is not licensed5785 does not sync scan_finding_approval_rules5786 when security_orchestration_policies is licensed5787 syncs scan_finding_approval_rules5788 when destroy fails5789 doesn't add a security audit event entry5790Security::SecurityOrchestrationPolicies::OperationalVulnerabilitiesConfigurationService5791 #execute5792 when feature is not licensed5793 returns empty collection5794 when feature is licensed5795 when agent project has security_orchestration_policy project5796 when policy is not applicable for agent5797 returns empty response5798 when policy is applicable for agent5799 returns matching configuration5800 when policy is configured on the group level5801 when policy is applicable for agent5802 returns matching configuration5803 when agent project is different from security_orchestration_policy project5804 returns empty response5805Geo::ProjectRegistryStatusFinder5806 #all_projects5807 returns all registries5808 #synced_projects5809 returns only synced registry5810 #pending_projects5811 returns only pending registry5812 #failed_projects5813 returns only failed registry5814AppSec::Dast::ScanConfigs::FetchService5815 #execute5816 when site profile and scanner profile is not configured in ci yml file5817 behaves like an error occurred5818 communicates failure5819 when site profile and scanner profile is configured in ci yml file5820 with an invalid .gitlab-ci.yml5821 behaves like an error occurred5822 communicates failure5823 with a large .gitlab-ci.yml5824 behaves like an error occurred5825 communicates failure5826 with a valid .gitlab-ci.yml5827 returns configured profile values5828 when site profile and scanner profile is configured in security policy5829 and site profile and scanner profile is configured in ci yml file5830 returns configured profile values from policy5831 and site profile and scanner profile is not configured in ci yml file5832 returns configured profile values from policy5833 and when profile data is missing5834 behaves like an error occurred5835 communicates failure5836 and when multiple actions are there5837 returns the correct action5838 when on demand scan licensed feature is not available5839 behaves like an error occurred5840 communicates failure5841Gitlab::CircuitBreaker::Store5842 # order random5843 #increment5844 behaves like reliable circuit breaker store method5845 does not raise an error when Redis::BaseConnectionError is encountered5846 when key does not exist5847 sets key and increments value5848 with expiry5849 sets key and increments value with expiration5850 when key exists5851 increments value5852 with expiry5853 increments value with expiration5854 #delete5855 deletes key5856 behaves like reliable circuit breaker store method5857 does not raise an error when Redis::BaseConnectionError is encountered5858 #key?5859 behaves like reliable circuit breaker store method5860 does not raise an error when Redis::BaseConnectionError is encountered5861 when key exists5862 is expected to eq true5863 when key does not exist5864 is expected to eq false5865 #store5866 stores value for specified key without expiry by default5867 behaves like reliable circuit breaker store method5868 does not raise an error when Redis::BaseConnectionError is encountered5869 when expires option is set5870 stores value for specified key with expiry5871 #values_at5872 behaves like reliable circuit breaker store method5873 does not raise an error when Redis::BaseConnectionError is encountered5874 when keys exist5875 returns values of keys5876 when some keys do not exist5877 returns values of keys with nil for non-existing ones5878 #load5879 behaves like reliable circuit breaker store method5880 does not raise an error when Redis::BaseConnectionError is encountered5881 when key exists5882 returns the value of the key5883 when key does not exist5884 returns nil5885Gitlab::Ci::Pipeline::Chain::Config::Content5886 when project has compliance label defined5887 when feature is available5888 when compliance pipeline configuration is defined5889 behaves like does include compliance pipeline configuration content5890 is expected to eq true5891 when pipeline is downstream of a bridge5892 behaves like does include compliance pipeline configuration content5893 is expected to eq true5894 when pipeline source is parent pipeline5895 behaves like does not include compliance pipeline configuration content5896 is expected not to eq "---\ninclude:\n- project: compliance/hippa\n file: \".compliance-gitlab-ci.yml\"\n"5897 when compliance pipeline configuration is not defined5898 behaves like does not include compliance pipeline configuration content5899 is expected not to eq "---\ninclude:\n- project: compliance/hippa\n file: \".compliance-gitlab-ci.yml\"\n"5900 when compliance pipeline configuration is empty5901 behaves like does not include compliance pipeline configuration content5902 is expected not to eq "---\ninclude:\n- project: compliance/hippa\n file: \".compliance-gitlab-ci.yml\"\n"5903 when feature is not licensed5904 behaves like does not include compliance pipeline configuration content5905 is expected not to eq "---\ninclude:\n- project: compliance/hippa\n file: \".compliance-gitlab-ci.yml\"\n"5906 when project does not have compliance label defined5907 when feature is available5908 behaves like does not include compliance pipeline configuration content5909 is expected not to eq "---\ninclude:\n- project: compliance/hippa\n file: \".compliance-gitlab-ci.yml\"\n"5910Gitlab::Auth::AuthFinders5911 #find_user_from_geo_token5912 is expected to eq #<User id:1609 @user823>5913 when the path is not Geo specific5914 is expected to eq nil5915 when the Authorization header is invalid5916 is expected to eq nil5917 when the Authorization header is nil5918 is expected to eq nil5919 when the Authorization header is a Geo header5920 does not authenticate when the token expired5921 does not authenticate when clocks are not in sync5922 does not authenticate with invalid decryption key error5923 when the scope is not API5924 does not authenticate5925 when it does not contain a user id5926 raises an unauthorize error5927 when the user does not exist5928 raises an unauthorized error5929 #find_user_from_bearer_token5930 with a personal access token5931 returns user5932 when personal access tokens are disabled5933 raises unauthorized error5934 #find_user_from_access_token5935 when validate_access_token! returns valid5936 returns user5937 when personal access tokens are disabled5938 raised unauthorized error5939 #find_user_from_feed_token5940 when the request format is atom5941 when feed_token param is provided5942 when the feed token is valid5943 when personal access tokens are disabled5944 returns user5945 when disable_personal_access_tokens feature is licensed5946 returns nil5947Resolvers::Geo::DependencyProxyBlobRegistriesResolver5948 # order random5949 behaves like a Geo registries resolver5950 #resolve5951 when the parent object is the current node5952 when the user has permission to view Geo data5953 when admin mode is enabled5954 when the ids argument is null5955 returns registries, in order5956 when the ids argument is present5957 returns the requested registries, in order5958 when the replication_state argument is present5959 returns registries with requested replication state, in order5960 with verification enabled5961 when the verification_state argument is present5962 returns registries with requested verification state, in order5963 with verification disabled5964 when the verification_state argument is present5965 raises ArgumentError (PENDING: Skipping because verification is enabled for DependencyProxy::Blob)5966 when admin mode is disabled5967 returns nothing5968 when the user does not have permission to view Geo data5969 returns nothing5970 when the parent object is not the current node5971 when the user has permission to view Geo data5972 returns nothing, because we can't query other nodes' tracking databases5973Geo::RepositoriesCleanUpWorker5974 #perform5975 does not perform Geo::RepositoryCleanupWorker when cannnot obtain a lease5976 does not raise an error when node could not be found5977 without selective sync5978 does not perform Geo::RepositoryCleanupWorker5979 with selective sync by namespace5980 performs the clean up worker for projects that does not belong to the selected namespaces5981 does not leave orphaned entries in the project_registry table5982 with selective sync by shard5983 performs the clean up worker for synced projects that does not belong to the selected shards5984 does not leave orphaned entries in the project_registry table5985Analytics::RefreshReassignData5986 #execute5987 updates first_reassigned_at5988 when first_reassigned_at is already present5989 does not change first_reassigned_at5990 updates first_reassigned_at if forced5991 when no merge request metric is present5992 creates one5993EE::RepositoryCheck::BatchWorker5994 Geo primary5995 loads project ids from main database5996 Geo secondary5997 loads project ids from tracking database5998 loads project ids that were checked more than a month ago from tracking database5999IssuablesAnalytics6000 #data6001 when issuable relation is ordered by priority6002 generates chart data correctly6003 when months_back parameter is nil6004 returns a hash containing the issues count created in the past 12 months6005 when months_back parameter is present6006 returns a hash containing the issues count created in the past x months6007NotesFinder6008 #target6009 returns an epic6010 fails if group id is missing6011 #execute6012 when using target id and type of epics6013 returns the expected notes6014 fails if group id is missing6015 when using an explicit epic target6016 returns the expected notes6017 when notes on public epic in a public group6018 shows all notes when the current_user has reporter access6019 shows only public notes when the current_user has guest access6020ProtectedBranch::UnprotectAccessLevel6021 is expected to validate that :access_level is either ‹30›, ‹40›, or ‹60›6022 is expected to validate that :access_level cannot be empty/falsy6023 is expected to belong to protected_branch required: false6024 when not role?6025 is expected not to validate that :access_level cannot be empty/falsy6026 ::human_access_levels6027 is expected to eq {30=>"Developers + Maintainers", 40=>"Maintainers", 60=>"Instance admins"}6028 #check_access6029 when current_user is nil6030 is expected to eq false6031 when access_level is NO_ACCESS6032 is expected to eq false6033 when instance admin access is configured6034 when current_user is a maintainer6035 is expected to eq false6036 when current_user is admin6037 is expected to eq true6038 when current_user can push_code to project6039 and member access is high enough6040 is expected to eq true6041 when external authorization denies access6042 is expected to be falsey6043 and member access is too low6044 is expected to eq false6045 when current_user cannot push_code to project6046 is expected to eq false6047 #project6048 delegates project to protected_branch association6049 ::allowed_access_levels6050 when running on Gitlab.com?6051 is expected to contain exactly 30 and 406052 when self hosted?6053 is expected to contain exactly 30, 40, and 606054 #check_access6055 when user is assigned6056 when current_user is the user6057 is expected to eq true6058 when current_user is another user6059 is expected to eq false6060 when group is assigned6061 when current_user is in the group6062 is expected to eq true6063 when current_user is not in the group6064 is expected to eq false6065Gitlab::Analytics::CycleAnalytics::BaseQueryBuilder6066 when the subject is `Issue`6067 loads Issue records within the given Group6068 when the subject is `MergeRequest`6069 loads MergeRequest records within the given Group6070AppSec::Dast::Profiles::Audit::UpdateService6071 #execute6072 creates audit events for the changed properties6073 uses names instead of IDs for the changed scanner and site profile messages6074 does not exceed the maximum permitted number of queries6075Llm::MergeRequests::SummarizeDiffService6076 # order random6077 #execute6078 when the user does not have read access to the MR6079 returns without attempting to summarize6080 when the feature is not enabled6081 when the openai_experimentation flag is false6082 returns without attempting to summarize6083 when the project experiment_features_allowed is false6084 returns without attempting to summarize6085 when the project third_party_ai_features_enabled is false6086 returns without attempting to summarize6087 when #llm_client is falsey6088 returns without attempting to summarize6089 when #llm_client.chat returns a typical response6090 returns the content field from the OpenAI response6091 when #llm_client.chat returns an unsuccessful response6092 returns nil6093 when #llm_client.chat returns an nil response6094 returns nil6095 when #llm_client.chat returns a response without parsed_response6096 returns nil6097AuditEvents::ReleaseAssociateMilestoneAuditEventService6098 #security_event6099 with no milestones6100 logs the event to file6101 with one milestone6102 logs the event to file6103 with multiple milestones6104 logs the event to file6105QuickActions::TargetService6106 #execute6107 for epic6108 finds target with valid iid6109 builds a new target if iid from a different group passed6110 for nil type6111 does not raise error6112Projects::Integrations::Jira::IssuesFinder6113 #execute6114 when jira service integration does not have project_key6115 raises error6116 when jira service integration is not active6117 raises error6118 when jira service integration has project_key6119 when Jira API request fails6120 raises error6121 when Jira API request succeeds6122 return service response with issues6123 when sorting6124 behaves like maps sort values6125 is expected to receive client(*(any args)) 1 time6126 behaves like maps sort values6127 is expected to receive client(*(any args)) 1 time6128 behaves like maps sort values6129 is expected to receive client(*(any args)) 1 time6130 behaves like maps sort values6131 is expected to receive client(*(any args)) 1 time6132 behaves like maps sort values6133 is expected to receive client(*(any args)) 1 time6134 behaves like maps sort values6135 is expected to receive client(*(any args)) 1 time6136 when pagination params used6137 passes them to JqlBuilderService6138 when jira_issues_integration licensed feature is not available6139 exits early and returns no issues6140Namespaces::FreeUserCap6141 .notification_or_enforcement_enabled?6142 enforce_preview: true, enforce_standard: true, result: true6143 is expected to equal true6144 enforce_preview: true, enforce_standard: false, result: true6145 is expected to equal true6146 enforce_preview: false, enforce_standard: true, result: true6147 is expected to equal true6148 enforce_preview: false, enforce_standard: false, result: false6149 is expected to equal false6150 .over_user_limit_mails_enabled?6151 when feature flag is enabled6152 is expected to be truthy6153 when feature flag is disabled6154 reflects the state of the feature flag6155 .dashboard_limit6156 when set to default6157 is expected to eq 06158 when not set to default6159 is expected to eq 56160 .owner_access?6161 when user is not provided6162 returns false6163 when user does not have owner access6164 returns false6165 when user has owner access6166 returns true6167 .non_owner_access?6168 when user is not provided6169 returns false6170 when user does not have owner access6171 returns true6172 when user has owner access6173 returns false6174MergeRequest::Metrics6175 #review_start_at6176 is the earliest date from first_comment_at, first_approved_at or first_reassigned_at6177 when all review start candidates are nil6178 is nil6179 when one of review start candidates is nil6180 is earliest date from non-nil values6181 #review_end_at6182 when MR is merged6183 is merged_at6184 when MR is not merged6185 is Time.current6186 #review_time6187 is nil if there is no review_start_at6188 is review_end_at - review_start_at6189Geo::HashedStorageMigratedEventStore6190 #create!6191 behaves like a Geo event store6192 when running on a secondary node6193 does not create an event6194 when running on a primary node6195 does not create an event if there are no secondary nodes6196 creates an event6197 when file subject is not on local store6198 creates an event (PENDING: No file subject defined, skipping)6199 when running on a primary node6200 tracks project attributes6201EE::IntegrationsHelper6202 #integration_form_data6203 does not include Jira-specific fields6204 does not include Slack-specific fields6205 with a Jira integration6206 when there is no license for jira_vulnerabilities_integration6207 includes default Jira fields6208 when all flags are enabled6209 includes all Jira fields6210 with a GitLab Slack App integration6211 includes Slack app upgrade URL6212 includes the flag to upgrade Slack app, set to true6213 when the integration includes all necessary scopes6214 includes the flag to upgrade Slack app, set to false6215 #add_to_slack_link6216 returns the endpoint URL with all needed params6217 #jira_issues_show_data6218 includes Jira issues show data6219 #jira_issue_breadcrumb_link6220 with a valid issue_reference6221 returns the correct HTML6222 when issue_reference contains HTML6223 strips all tags6224 #zentao_issue_breadcrumb_link6225 with valid issue JSON6226 returns the correct HTML6227 when issue_reference contains XSS6228 strips all tags and sanitizes6229 #gitlab_slack_application_data6230 includes the required keys6231 does not suffer from N+1 performance issues6232 serializes nil projects without error6233projects/security/dast_profiles/show6234 renders Vue app root6235 passes new dast site profile path6236 passes new dast scanner profile path6237 passes project's full path6238MergeRequests::SyncCodeOwnerApprovalRules6239 #execute6240 creates rules for code owner entries that do not have a rule6241 deletes rules that are not relevant anymore6242 updates rules for which the users changed6243 when multiple rules for the same pattern with different sections are specified6244 creates and updates the rules that are mapped to the entries6245 when merge request is already merged6246 logs an error6247Mutations::Boards::EpicLists::Update6248 on epic boards6249 behaves like update board list mutation6250 #resolve6251 with permission to admin board lists6252 updates the list position and collapsed state as expected6253 with permission to read board lists6254 updates the list collapsed state but not the list position6255 without permission to read board lists6256 raises Resource Not Found error6257BoardUserPreference6258 relationships6259 is expected to belong to board required: false6260 is expected to belong to user required: false6261 is expected to validate that :user_id is case-sensitively unique within the scope of :board_id, producing a custom validation error on failure6262Sidebars::YourWork::Menus::SecurityDashboardMenu6263 # order random6264 behaves like top-level menu item6265 renders the correct link6266 renders the correct title6267 renders the correct icon6268 defines correct active route6269 behaves like top-level menu item with sub menu items6270 matches expected sub menu items6271 each sub menu item has a unique item_id6272 behaves like top-level menu item6273 renders the correct link6274 renders the correct title6275 renders the correct icon6276 defines correct active route6277 behaves like top-level menu item with context based feature guard6278 when user can access feature6279 renders6280 when user cannot access feature6281 does not render6282Dast::PreScanVerificationStepPolicy6283 # order random6284 behaves like a dast on-demand scan policy6285 dast on-demand policies6286 when a user does not have access to the project6287 is expected to be disallowed :create_on_demand_dast_scan, :edit_on_demand_dast_scan, and :read_on_demand_dast_scan6288 when the user is a guest6289 is expected to be disallowed :create_on_demand_dast_scan, :edit_on_demand_dast_scan, and :read_on_demand_dast_scan6290 when the user is a reporter6291 is expected to be disallowed :create_on_demand_dast_scan, :edit_on_demand_dast_scan, and :read_on_demand_dast_scan6292 when the user is a developer6293 is expected to be allowed :create_on_demand_dast_scan, :edit_on_demand_dast_scan, and :read_on_demand_dast_scan6294 when the user is a maintainer6295 is expected to be allowed :create_on_demand_dast_scan, :edit_on_demand_dast_scan, and :read_on_demand_dast_scan6296 when the user is an owner6297 is expected to be allowed :create_on_demand_dast_scan, :edit_on_demand_dast_scan, and :read_on_demand_dast_scan6298 when the user is an auditor6299 is expected to be disallowed :create_on_demand_dast_scan and :edit_on_demand_dast_scan6300 is expected to be allowed :read_on_demand_dast_scan6301 when the user is allowed6302 when on demand scan licensed feature is not available6303 is expected to be disallowed :create_on_demand_dast_scan, :edit_on_demand_dast_scan, and :read_on_demand_dast_scan6304NewIssueWorker6305 # order random6306 #perform6307 when project bot it logs audit events6308 when licensed6309 does not log audit event if operation fails6310 does not log audit event if operation results in no change6311 when operation succeeds6312 logs an audit event6313 logs the audit event info6314 calls the audit method with the event type6315 when not licensed6316 does not log audit event6317AuditEvents::RegisterRunnerAuditEventService6318 #track_event6319 for instance runner6320 on runner that failed to create6321 returns audit event attributes of a failed runner registration6322 on persisted runner6323 behaves like expected audit event6324 returns audit event attributes6325 with registration token prefixed with RUNNERS_TOKEN_PREFIX6326 behaves like expected audit event6327 returns audit event attributes6328 for group runner6329 on runner that failed to create6330 returns audit event attributes of a failed runner registration6331 on persisted runner6332 behaves like expected audit event6333 returns audit event attributes6334 for project runner6335 on runner that failed to create6336 returns audit event attributes of a failed runner registration6337 on persisted runner6338 behaves like expected audit event6339 returns audit event attributes6340Users::EmailVerification::SendCustomConfirmationInstructionsService6341 # order random6342 #execute6343 calls `set_token` and `send_instructions`6344 #send_instructions6345 confirmed?: true, identity_verification_enabled?: true, token_present?: true, token_saved?: true6346 sends the instructions when expected6347 confirmed?: true, identity_verification_enabled?: true, token_present?: true, token_saved?: false6348 sends the instructions when expected6349 confirmed?: true, identity_verification_enabled?: true, token_present?: false, token_saved?: true6350 sends the instructions when expected6351 confirmed?: true, identity_verification_enabled?: true, token_present?: false, token_saved?: false6352 sends the instructions when expected6353 confirmed?: true, identity_verification_enabled?: false, token_present?: true, token_saved?: true6354 sends the instructions when expected6355 confirmed?: true, identity_verification_enabled?: false, token_present?: true, token_saved?: false6356 sends the instructions when expected6357 confirmed?: true, identity_verification_enabled?: false, token_present?: false, token_saved?: true6358 sends the instructions when expected6359 confirmed?: true, identity_verification_enabled?: false, token_present?: false, token_saved?: false6360 sends the instructions when expected6361 confirmed?: false, identity_verification_enabled?: true, token_present?: true, token_saved?: true6362 sends the instructions when expected6363 confirmed?: false, identity_verification_enabled?: true, token_present?: true, token_saved?: false6364 sends the instructions when expected6365 confirmed?: false, identity_verification_enabled?: true, token_present?: false, token_saved?: true6366 sends the instructions when expected6367 confirmed?: false, identity_verification_enabled?: true, token_present?: false, token_saved?: false6368 sends the instructions when expected6369 confirmed?: false, identity_verification_enabled?: false, token_present?: true, token_saved?: true6370 sends the instructions when expected6371 confirmed?: false, identity_verification_enabled?: false, token_present?: true, token_saved?: false6372 sends the instructions when expected6373 confirmed?: false, identity_verification_enabled?: false, token_present?: false, token_saved?: true6374 sends the instructions when expected6375 confirmed?: false, identity_verification_enabled?: false, token_present?: false, token_saved?: false6376 sends the instructions when expected6377 #set_token6378 when not enabled6379 does not do anything6380 when enabled6381 skips Devise confirmation notification6382 sets the confirmation_token and confirmation_sent_at attributes6383 does not try to save the user6384 when passing `save: true` as (default) argument6385 tries to save the user6386Gitlab::Usage::Metrics::Instrumentations::CountUserMergeRequestsWithAppliedScanResultPoliciesMetric6387 # order random6388 behaves like a correct instrumented metric value and query6389 behaves like a correct instrumented metric value6390 has correct value6391 behaves like a correct instrumented metric query6392 has correct generate query6393 behaves like a correct instrumented metric value and query6394 behaves like a correct instrumented metric value6395 has correct value6396 behaves like a correct instrumented metric query6397 has correct generate query6398Namespaces::Storage::RootExcessSize6399 #above_size_limit?6400 when limit enforcement is off6401 is expected to eq false6402 when limit enforcement is on6403 when below limit6404 is expected to eq false6405 when above limit6406 is expected to eq true6407 #usage_ratio6408 is expected to eq 0.56409 when limit is 06410 when current size is greater than 06411 is expected to eq 16412 when current size is less than 06413 is expected to eq 06414 #current_size6415 is expected to eq 524288006416 when it is a subgroup of the namespace6417 is expected to eq 524288006418 #limit6419 when there is additional purchased storage and a plan6420 is expected to eq 104857600006421 when there is no additionl purchased storage6422 is expected to eq 06423 #enforce_limit?6424 returns true if automatic_purchased_storage_allocation is enabled6425 returns false if automatic_purchased_storage_allocation is disabled6426 #enforcement_type6427 returns :project_repository_limit6428Resolvers::Analytics::DevopsAdoption::EnabledNamespacesResolver6429 #resolve6430 for instance level6431 as an admin user6432 returns enabled_namespaces for all groups without display_namespace6433 as a non-admin user6434 generates ResourceNotAvailable error6435 when the feature is not available6436 generates ResourceNotAvailable error6437 for group level6438 for reporter+6439 returns enabled_namespaces for given parent group and its descendants6440 for guests6441 generates ResourceNotAvailable error6442 when the feature is not available6443 generates ResourceNotAvailable error6444Users::UnblockService6445 # order random6446 #execute6447 audit events6448 when licensed6449 when user unblock operation succeeds6450 logs an audit event6451 logs the audit event info6452 when user unblock operation fails6453 does not log any audit event6454 when not licensed6455 does not log any audit event6456Search::Zoekt::NamespaceIndexerWorker6457 # order random6458 #perform6459 indexes all projects belonging to the namespace6460 when zoekt indexing is disabled6461 does nothing6462 when zoekt indexing is not enabled for the namespace6463 does nothing6464Dast::PreScanVerification6465 # order random6466 instance methods6467 #verification_valid?6468 when the associated dast_site_profile was updated before the pre_scan_verification creation6469 is expected to be verification valid6470 when the associated dast_site_profile was updated after the pre_scan_verification creation6471 is expected not to be verification valid6472 validations6473 is expected to be valid6474 is expected to validate that :dast_profile_id cannot be empty/falsy6475 is expected to validate that :status cannot be empty/falsy6476IncidentManagement::IssuableEscalationStatus6477 # order random6478 resolve6479 does not change escalations_started_at6480 acknowledge6481 does not change escalations_started_at6482 #trigger6483 with escalation policy6484 updates escalations_started_at6485 without escalation policy6486 does not change escalations_started_at6487 validations6488 when policy and escalation start time are both provided6489 is expected to be valid6490 when neither policy and escalation start time are provided6491 is expected to be valid6492 when escalation start time is provided without a policy6493 is invalid6494 when policy is provided without an escalation start time6495 is invalid6496 ignore6497 does not change escalations_started_at6498 #escalation_policy6499 is expected to eq nil6500 when escalation policy exists on the project6501 returns the projects first (only) escalation policy6502 #pending_escalation_target6503 is expected to eq #<Issue id:317 namespace910/project-939#1>6504Elastic::Latest::ApplicationInstanceProxy6505 # order random6506 #index_name6507 when search index is valid6508 returns search index path6509 when search index is missing6510 raises an error6511 when :search_index_partitioning_notes is disabled6512 returns config index_name6513 #namespace_ancestry6514 returns the full ancestry6515 #es_parent6516 includes project id6517 when target type is in routing excluded list6518 is nil6519ExternalStatusChecks::CreateService6520 parameters are invalid6521 is unsuccessful6522 does not create a new rule6523 user not permitted to create approval rule6524 is unsuccessful6525 does not create a new rule6526 responds with the expected errors6527 successfully creating approval rule6528 creates a new ExternalApprovalRule6529 is successful6530 includes the newly created rule in its payload6531 audit events6532 when licensed6533 when external status check save operation succeeds6534 logs an audit event6535 when external status check save operation fails6536 does not log any audit event6537 behaves like does not create audit event when not licensed6538 does not log any audit event6539app/views/shared/labels/_create_label_help_text.html.haml6540 for project label6541 when license has scoped labels feature6542 displays scoped labels hint6543 when license does not have scoped labels feature6544 does not display scoped labels hint6545 for group label6546 when license has scoped labels feature6547 displays scoped labels hint6548 when license does not have scoped labels feature6549 does not display scoped labels hint6550Gitlab::Ci::Config::Entry::DastConfiguration6551 validation6552 when both site and scanner configuration are present6553 behaves like a valid entry6554 #value6555 returns configuration6556 #valid?6557 is valid6558 when only the site profile is present6559 behaves like a valid entry6560 #value6561 returns configuration6562 #valid?6563 is valid6564 when only the scanner profile is present6565 behaves like a valid entry6566 #value6567 returns configuration6568 #valid?6569 is valid6570 when no keys are present6571 behaves like a valid entry6572 #value6573 returns configuration6574 #valid?6575 is valid6576 when entry value is not correct6577 #errors6578 when there is an unknown key present6579 reports error6580Mutations::SecurityPolicy::AssignSecurityPolicyProject6581 #resolve6582 when both fullPath and projectPath are not provided6583 raises exception6584 for project6585 behaves like assigns security policy project6586 when licensed feature is available6587 when user is an owner of the container6588 assigns the security policy project6589 when user is not an owner6590 raises exception6591 when policy_project_id is invalid6592 raises exception6593 when feature is not licensed6594 raises exception6595 for namespace6596 behaves like assigns security policy project6597 when licensed feature is available6598 when user is an owner of the container6599 assigns the security policy project6600 when user is not an owner6601 raises exception6602 when policy_project_id is invalid6603 raises exception6604 when feature is not licensed6605 raises exception6606Vulnerabilities::HistoricalStatistics::AdjustmentService6607 .execute6608 instantiates the service object for given project ids and calls `execute` on them6609 #execute6610 when more than 1000 projects is provided6611 raises error6612 when there is no vulnerability_statistic record for project6613 does not create a new record in database6614 when there is vulnerability_statistic record for project6615 when there is no vulnerability_historical_statistic record for project6616 creates a new record6617 sets the correct values for the record6618 when there is already a vulnerability_historical_statistic record for project6619 does not create a new record in database6620 sets the correct values for the record6621Gitlab::Ci::Config::Entry::Job6622 .nodes6623 when filtering all the entry/node names6624 is expected to include :dast_configuration and :secrets6625 validations6626 when entry value is correct6627 when has secrets6628 behaves like a valid entry6629 #valid?6630 is valid6631 when has dast_configuration6632 behaves like a valid entry6633 #valid?6634 is valid6635 when entry value is not correct6636 when has needs6637 when needs is bridge type6638 behaves like an invalid entry6639 reports error6640 when has invalid dast_configuration6641 behaves like an invalid entry6642 reports error6643 when has invalid secrets6644 behaves like an invalid entry6645 reports error6646 dast_configuration6647 includes dast_profile value6648 secrets6649 includes secrets value6650API::Entities::PendingMember6651 with a user present6652 exposes correct attributes6653 with no user present6654 exposes correct attributes6655MergeRequests::BaseService6656 does not fire compliance hooks6657 for UpdateService6658 fires the correct number of compliance hooks6659 #filter_params6660 filter users and groups6661 calls ParamsFilteringService6662IncidentManagement::OncallSchedulePolicy6663 # order random6664 rules6665 is expected to be disallowed :read_incident_management_oncall_schedule6666 when reporter6667 is expected to be allowed :read_incident_management_oncall_schedule6668 licensed feature disabled6669 is expected to be disallowed :read_incident_management_oncall_schedule6670 when auditor6671 is expected to be allowed :read_incident_management_oncall_schedule6672 is expected to be disallowed :admin_incident_management_oncall_schedule6673 licensed feature disabled6674 is expected to be disallowed :read_incident_management_oncall_schedule6675 is expected to be disallowed :admin_incident_management_oncall_schedule6676Ci::RetryPipelineService6677 when the namespace is out of CI minutes6678 retries the builds with available runners6679 when user is not allowed to retry pipeline because of missing credit card6680 returns an error6681Geo::RepositoryBaseSyncService6682 #lease_key6683 returns a key in the correct pattern6684 #lease_timeout6685 returns a lease timeout value6686 #repository6687 raises a NotImplementedError6688 with a repository defined6689 #fetch_geo_mirror6690 delegates to repository#fetch_as_mirror6691 #clone_geo_mirror6692 delegates to repository#clone_as_mirror6693Mutations::Forecasting::BuildForecast6694 # order random6695 #ready?6696 when horizon argument is invalid6697 behaves like raises argument error6698 raises error with correct message6699 when context_id argument is invalid6700 behaves like raises argument error6701 raises error with correct message6702 when type argument is invalid6703 behaves like raises argument error6704 raises error with correct message6705 #resolve6706 when the user can read dora4 analytics6707 when forecast is good enough6708 returns the forecast with values6709 when the forecast is weak6710 returns the forecast object without values6711 when the user can't read dora4 analytics6712 denies access6713 when context project has no proper license6714 denies access6715Projects::ProjectMembersHelper6716 #project_members_app_data_json6717 does not execute N+16718 #project_member_header_subtext6719 can_admin_member: true, enforce_free_user_cap: true, subtext: standard_subtext, current_project: project6720 contains expected text6721 can_admin_member: true, enforce_free_user_cap: true, subtext: enforcement_subtext, current_project: project_with_group6722 contains expected text6723 can_admin_member: true, enforce_free_user_cap: false, subtext: standard_subtext, current_project: project_with_group6724 contains expected text6725 can_admin_member: false, enforce_free_user_cap: true, subtext: standard_subtext, current_project: project_with_group6726 contains expected text6727 can_admin_member: false, enforce_free_user_cap: false, subtext: standard_subtext, current_project: project_with_group6728 contains expected text6729Gitlab::Llm::VertexAi::Completions::GenerateCommitMessage6730 # order random6731 #execute6732 when the feature flag is disabled6733 falls back to the OpenAI implementation6734 when the chat client returns an unsuccessful response6735 publishes the error to the graphql subscription6736 when the chat client returns a successful response6737 publishes the content from the AI response6738 when an unexpected error is raised6739 records the error6740 publishes a generic error to the graphql subscription6741AuditEvents::Streaming::Headers::CreateService6742 #execute6743 when there are validation issues6744 has an array of errors in the response6745 when the header is created successfully6746 has the header in the response payload6747 sends the audit streaming event6748 with license feature external_audit_events6749 sends correct event type in audit event stream6750IncidentManagement::Incidents::UploadMetricService6751 # order random6752 #execute6753 user does not have permissions6754 behaves like no metric saved, an error given6755 returns an error and does not upload6756 user has permissions6757 behaves like no metric saved, an error given6758 returns an error and does not upload6759 with license6760 behaves like uploads the metric6761 uploads the metric and returns a success6762 no url given6763 behaves like uploads the metric6764 uploads the metric and returns a success6765 record invalid6766 behaves like no metric saved, an error given6767 returns an error and does not upload6768 user is guest6769 behaves like no metric saved, an error given6770 returns an error and does not upload6771 guest is author of issuable6772 behaves like no metric saved, an error given6773 returns an error and does not upload6774SystemCheck::Geo::ClocksSynchronizationCheck6775 # order random6776 with default accessor values6777 #ntp_host6778 returns the default value6779 #ntp_port6780 returns the default value6781 #ntp_timeout6782 returns the default value6783 with accessor values defined by ENV variables6784 #ntp_host6785 returns defined value from NTP_HOST env variable6786 #ntp_port6787 returns defined value from NTP_PORT env variable6788 #ntp_timeout6789 returns defined value from NTP_TIMEOUT env variable6790 #multi_check6791 with custom valid host port and timeout6792 passes with a success message6793 with default NTP connection params6794 passes with a success message6795 when NTP connection times out6796 fails with a warning message6797 when NTP connection fails6798 fails with a warning message6799 when clock difference is greater than max_clock_difference6800 fails with a message6801Dast::Branch6802 when repository does not exist6803 #name6804 returns nil6805 #exists6806 returns false6807 when repository exists6808 #name6809 returns profile.branch_name6810 when branch exists6811 returns true6812 when branch does not exist6813 returns false6814Ci::Runners::ResetRegistrationTokenService#execute6815 with instance scope6816 behaves like a registration token reset operation6817 without user6818 does not audit and returns error response6819 with unauthorized user6820 does not audit and returns error response6821 with admin user6822 calls security_event on RunnersTokenAuditEventService and returns the new token6823 with group scope6824 behaves like a registration token reset operation6825 without user6826 does not audit and returns error response6827 with unauthorized user6828 does not audit and returns error response6829 with admin user6830 calls security_event on RunnersTokenAuditEventService and returns the new token6831 with project scope6832 behaves like a registration token reset operation6833 without user6834 does not audit and returns error response6835 with unauthorized user6836 does not audit and returns error response6837 with admin user6838 calls security_event on RunnersTokenAuditEventService and returns the new token6839Analytics::DevopsAdoption::SnapshotsFinder6840 #execute6841 with timespan provided6842 returns snapshots in given timespan6843 without timespan provided6844 returns all snapshots ordered by end_time6845Sidebars::YourWork::Menus::WorkspacesMenu6846 # order random6847 behaves like top-level menu item6848 renders the correct link6849 renders the correct title6850 renders the correct icon6851 defines correct active route6852 behaves like top-level menu item6853 renders the correct link6854 renders the correct title6855 renders the correct icon6856 defines correct active route6857 behaves like menu without sub menu items6858 does not contain any sub menu6859 behaves like top-level menu item with license feature guard6860 when user can access feature6861 renders6862 when user cannot access feature6863 does not render6864 when user is not logged in6865 does not render6866API::Helpers::IssuesHelpers6867 find_issues6868 with epics6869 returns results6870 avoids N+1 queries6871IncidentManagement::OncallSchedules::CreateService6872 # order random6873 #execute6874 when the current_user is anonymous6875 behaves like error response6876 has an informative message6877 when the current_user does not have permissions to create on-call schedules6878 behaves like error response6879 has an informative message6880 when feature is not available6881 behaves like error response6882 has an informative message6883 when an on-call schedule already exists6884 behaves like error response6885 has an informative message6886 with valid params6887 successfully creates an on-call schedule6888WorkItems::Widgets::WeightService::UpdateService6889 #update6890 when weight feature is licensed6891 when user can only update work item6892 behaves like weight is unchanged6893 does not change work item weight value6894 when user can admin work item6895 when weight param is present6896 new_weight: 26897 correctly sets work item weight value6898 new_weight: nil6899 correctly sets work item weight value6900 when weight param is not present6901 behaves like weight is unchanged6902 does not change work item weight value6903 when widget does not exist in new type6904 removes the work item's weight6905Gitlab::Ci::Jwt6906 #payload6907 environment_protected6908 is false when environment is not protected6909 is true when environment is protected6910Types::VulnerabilitiesCountByDayType6911 is expected to have graphql fields :total, :date, :info, :unknown, :low, :medium, :high, and :critical6912Feature6913 .register_feature_groups6914 registers expected groups6915 .enabled?6916 with gitlab_team_members feature group6917 delegates check to Gitlab::Com.gitlab_com_group_member?6918 .enable6919 when running on a Geo primary node6920 does not create a Geo::CacheInvalidationEvent if there are no Geo secondary nodes6921 creates a Geo::CacheInvalidationEvent6922 .disable6923 when running on a Geo primary node6924 does not create a Geo::CacheInvalidationEvent if there are no Geo secondary nodes6925 creates a Geo::CacheInvalidationEvent6926 Feature::Target6927 #targets6928 when repository target works with group wiki6929 returns all found targets6930shared/issuable/_approver_suggestion.html.haml6931 when the approval feature is enabled6932 renders the MR approvals promo6933 when the approval feature is not enabled6934 when the check_namespace_plan setting is on6935 when the user is an owner of the root group6936 renders the MR approvals promo6937 when the user is not an owner of the root group6938 renders nothing6939 when the check_namespace_plan setting is off6940 renders nothing6941EE::NamespaceUserCapReachedAlertHelper6942 #display_namespace_user_cap_reached_alert?6943 with a non persisted namespace6944 is expected to eq false6945 with a persisted namespace6946 returns true when the user cap is reached for a user who can admin the namespace6947 returns false when the user cap is reached for a user who cannot admin the namespace6948 does not trigger reactive caching if there is no user cap set6949 returns false when the user cap feature is unavailable6950Issues::DuplicateService6951 #execute6952 relates the duplicate issues6953Gitlab::HookData::IssueBuilder6954 #build6955 includes safe attribute6956 when the issue has an image in the description6957 sets the image to use an absolute URL6958 for incident with escalation policies feature enabled6959 includes additional attr6960Branches::ValidateNewService6961 # order random6962 #execute6963 when no push rules are set6964 validates the successfully6965 when an unrelated push rule is set6966 validates successfully6967 when a push rules with branch names are set6968 when branch_name_regex field of push_rule are configured6969 if the regex is not respected6970 returns an appropriate error message6971 when validations before push rule check failed6972 returns an error message from previous validations6973 if the regex is respected6974 validates the successfully6975Types::InstanceSecurityDashboardType6976 is expected to have graphql fields :projects, :vulnerability_scanners, :vulnerability_severities_count, :vulnerability_grades, and :cluster_agents6977 projects6978 when user is not logged in6979 is expected to be nil6980 when user is logged in6981 is a list of projects configured for instance security dashboard6982Namespaces::FreeUserCap::RootSize6983 # order random6984 #above_size_limit?6985 when below limit6986 is expected to eq false6987 when above limit6988 when valid for enforcement6989 is expected to eq true6990 when not valid for enforcement6991 is expected to eq false6992 #limit6993 when there is additional purchased storage and a plan6994 is expected to eq 105906176006995 when there is no additional purchased storage6996 is expected to eq 1048576006997 with cached values6998 caches the value6999Mutations::Boards::UpdateEpicUserPreferences7000 #resolve7001 returns an error if the board is not accessible by the user7002 when user can access the board7003 returns an error if the epic is not accessible by the user7004 when user can access the epic7005 returns updated preferences7006DashboardEnvironmentEntity7007 .as_json7008 includes environment attributes7009MergeRequestResetApprovalsWorker7010 #perform7011 executes MergeRequests::RefreshService with expected values7012 project is missing7013 doesn't execute the service7014 user is missing7015 doesn't execute the service7016Ci::Runners::AssignRunnerService#execute7017 with unauthorized user7018 does not call assign_to on runner and returns error response7019 with admin user7020 with assign_to returning true7021 calls track_event on RunnerCustomAuditEventService and returns success response7022 with assign_to returning false7023 does not call track_event on RunnerCustomAuditEventService and returns error response7024Gitlab::WebIde::Config::Entry::Schemas7025 validations7026 when entry config value is correct7027 is valid7028 when entry config value is incorrect7029 is not valid7030 #errors7031 reports error about a config type7032 when composed7033 #value7034 when entry is correct7035 returns correct value7036ProtectedBranch::MergeAccessLevel7037 # order random7038 #check_access7039 when user is assigned7040 when current_user is the user7041 is expected to eq true7042 when current_user is another user7043 is expected to eq false7044 when group is assigned7045 when current_user is in the group7046 is expected to eq true7047 when current_user is not in the group7048 is expected to eq false7049Gitlab::Llm::OpenAi::Completions::ExplainVulnerability7050 # order random7051 #execute7052 when the chat client returns an unsuccessful response7053 publishes the error to the graphql subscription7054 when the chat client returns a successful response7055 publishes the content from the AI response7056layouts/_page7057 # order random7058 EE tanuki_bot_chat7059 when ::Gitlab::Llm::TanukiBot.enabled_for?(user) is true7060 renders #js-tanuki-bot-chat-app7061 when ::Gitlab::Llm::TanukiBot.enabled_for?(user) is false7062 does not render #js-tanuki-bot-chat-app7063Analytics::CycleAnalytics::ValueStreamErrorsSerializer7064 serializes error on value stream object7065 does not contain stage errors7066 when nested value stream stages are given7067 serializes error on value stream object7068 ::STAGE_ATTRIBUTE_REGEX7069 extracts the index and the stage attribute name7070 is expected to eq ["0", "name"]7071 when large index is given7072 is expected to eq ["11", "name"]7073Boards::EpicUserPreferences::UpdateService7074 #execute7075 creates new preference7076 when user preference already exists7077 updates existing preference7078 when user is not set7079 returns an error7080Sbom::Ingestion::Tasks::IngestSources7081 # order random7082 #execute7083 is idempotent7084 sets source_id for all maps7085 when source already exists7086 does not create a new record for the existing source7087 sets the source_id for all maps7088 when source is not present7089 performs no-op7090 when occurrence_maps is empty7091 is expected not to raise Exception7092registrations/groups/new7093 when Google Tag Manager is enabled7094 contains a Google Tag Manager tag7095 when Google Tag Manager is disabled7096 does not contain a Google Tag Manager tag7097 with expected DOM elements7098 contains js-groups-projects-form class7099 has project creation form tabs7100Clusters::AgentTokens::CreateService7101 # order random7102 #execute7103 when user is authorized7104 when user creates agent token7105 creates AuditEvent with success message7106 when user is not authorized7107 when user attempts to create agent token7108 creates audit logs with failure message7109LicenseTemplateFinder7110 #execute7111 custom templates enabled7112 returns custom templates7113 popular_only requested7114 does not return any custom templates7115 a custom template is specified by name7116 returns the custom template if its name is specified7117 custom templates disabled7118 does not return any custom templates7119Resolvers::Geo::GeoNodeResolver7120 #resolve7121 when the user has permission to view Geo data7122 with a name7123 when the given name matches a node7124 returns the GeoNode7125 when the given name does not match any node7126 returns nil7127 without a name7128 when the GitLab instance has a current Geo node7129 returns the GeoNode7130 when the GitLab instance does not have a current Geo node7131 returns nil7132 when the user does not have permission to view Geo data7133 returns nil7134Gitlab::ImportExport::WikiRepoSaver7135 bundles a group wiki Git repo7136 bundles the repo successfully7137 when the repo is empty7138 bundles the repo successfully7139 #bundle_filename7140 when exportable is a group7141 returns the right filename for group wikis7142 when exportable is a project7143 returns the right filename for project wikis7144Gitlab::Geo::LogHelpers7145 Sidekiq context7146 does not log empty job_id when running outside of job7147 logs sidekiq_context7148IssuePresenter7149 #sla_due_at7150 issue sla available7151 is expected to eq 2023-06-02 07:59:43.630683800 +00007152 issue sla not available7153 is expected to eq nil7154 #web_url7155 when issue has default type7156 is expected to eq "http://localhost/namespace973/project-1002/-/issues/2"7157 when issue has test_case type7158 is expected to eq "http://localhost/namespace974/project-1003/-/quality/test_cases/3"7159NotesHelper7160 #notes_url7161 for vulnerability7162 return vulnerability notes path for vulnerability7163 #discussions_path7164 for vulnerability7165 is expected to eq "/namespace975/project-1004/-/security/vulnerabilities/50/discussions.json"7166Sbom::Component7167 enums7168 is expected to define :component_type as an enum backed by an integer with values ‹{library: 0}›7169 is expected to define :purl_type as an enum backed by an integer with values ‹{composer: 1, conan: 2, gem: 3, golang: 4, maven: 5, npm: 6, nuget: 7, pypi: 8, apk: 9, rpm: 10, deb: 11, cbl_mariner: 12}›7170 validations7171 is expected to validate that :component_type cannot be empty/falsy7172 is expected to validate that :name cannot be empty/falsy7173 is expected to validate that the length of :name is at most 2557174Vulnerabilities::Statistics::ScheduleWorker7175 #perform7176 schedules the AdjustmentWorker with project_ids7177AuditEvents::RunnerCustomAuditEventService7178 #security_event7179 logs the event to file7180EventCollection7181 # order random7182 #to_a7183 with group exclusive event types7184 queries only group events for epic filter7185Analytics::DevopsAdoption::Snapshots::CreateService7186 persists the snapshot7187 when params are invalid7188 does not persist the snapshot7189projects/security/discover/show7190 renders vue app root with correct link7191 candidate for showcase_free_security_features7192 renders showcase and not security discover element7193Geo::ContainerRepositorySyncWorker7194 #perform7195 runs ContainerRepositorySyncService7196 logs error when repository does not exist7197Analytics::CycleAnalytics::StagePresenter7198 #title7199 returns the pre-defined title for the default stage7200 returns the name attribute for a custom stage7201 #description7202 returns the pre-defined description for the default stage7203 returns empty string when custom stage is given7204API::Entities::Deployments::ApprovalSummary7205 exposes correct attributes7206Types::RequirementsManagement::TestReportType7207 is expected to eq "TestReport"7208 is expected to have graphql fields :id, :state, :author, :created_at, and :uses_legacy_iid7209 is expected to require graphql authorizations :read_work_item7210Sidebars::UserSettings::Panel7211 # order random7212 behaves like a panel with uniquely identifiable menu items7213 all menu_items have unique item_id7214 all menu_items have an item_id7215 behaves like a panel without placeholders7216 has no Sidebars::NilMenuItem7217Boards::EpicBoards::Visits::CreateService7218 #execute7219 with epic board7220 behaves like boards recent visit create service7221 returns nil when there is no user7222 returns nil when database is read only7223 records the visit7224Gitlab::Llm::Completions::Chat7225 # order random7226 #execute7227 calls the ZeroShot Agent with the right parameters7228Gitlab::Ci::Minutes::CachedQuota7229 #track_consumption7230 when the cache is cold7231 stores the remaining minutes in the cache and decrements them from there7232 when the cache is warm7233 only decrements the consumption7234 #expire!7235 expires the key7236RemoteDevelopment::AgentConfig::UpdateService7237 # order random7238 when update is successful7239 returns the payload7240 when unlicensed7241 returns false7242 when update fails7243 returns false7244GitlabSubscriptionHistory7245 .create_from_change7246 when supplied an invalid change type7247 raises an error7248 when the required attributes are not present7249 returns an error7250 when supplied extra attributes than exist on the history table7251 saves the tracked attributes without error7252Analytics::DevopsAdoption::Snapshots::CalculateAndSaveService7253 creates a snapshot with whatever snapshot calculator returns7254 when a snapshot for given range already exists7255 updates the snapshot with whatever snapshot calculator returns7256Mutations::Ci::Runner::Update7257 #resolve7258 when user can update runner7259 when mutation includes cost factor arguments7260 updates cost factors to specified values7261Security routing routing7262 root path7263 is expected to redirect to "/-/security/dashboard"7264 /-/security/dashboard7265 is expected to route {:get=>"/-/security/dashboard"} to {:controller=>"security/dashboard", :action=>"show"}7266 /-/security/dashboard/settings7267 is expected to route {:get=>"/-/security/dashboard/settings"} to {:controller=>"security/dashboard", :action=>"settings"}7268Types::AuditEvents::Streaming::HeaderType7269 is expected to eq "AuditEventStreamingHeader"7270 is expected to have graphql fields :id, :key, and :value7271DeleteIssuesFromOriginalIndex7272 behaves like a deprecated Advanced Search migration7273 #migrate7274 logs a message and halts the migration7275 #completed?7276 returns false7277 #obsolete?7278 returns true7279Types::EpicStateEnum7280 is expected to eq "EpicState"7281 exposes all the existing epic states7282Admin::PlanLimits::UpdateService7283 # order random7284 when the plan is paid7285 does not update restricted attributes7286 when the plan is free7287 updates restricted attributes7288Gitlab::Llm::VertexAi::ModelConfigurations::Code7289 # order random7290 #payload7291 returns default payload7292 #url7293 returns correct url replacing default value7294Types::ComplianceManagement::MergeRequests::ComplianceViolationSeverityEnum7295 is expected to eq "ComplianceViolationSeverity"7296 is expected to contain exactly "INFO", "LOW", "MEDIUM", "HIGH", and "CRITICAL"7297Gitlab::SearchContext::Builder7298 #with_group7299 #build!7300 with epics scope7301 search context returns epics scope7302Gitlab::Pagination::Keyset::SimpleOrderBuilder7303 when ordering by a CASE expression and id7304 does not raise error7305 does not support this ordering7306Types::IncidentManagement::OncallShiftType7307 # order random7308 exposes the expected fields7309 is expected to eq "IncidentManagementOncallShift"7310Types::Geo::GeoNodeType7311 is expected to require graphql authorizations :read_geo_node7312 has the expected fields7313Every Geo event7314 includes Geo::Eventable7315 has its class in Geo::EventLog::EVENT_CLASSES7316Types::VulnerabilityDetails::BooleanType7317 is expected to have graphql fields :name, :description, :fieldName, and :value7318Gitlab::Geo::Logger7319 uses the same log_level defined in Rails7320Namespaces::FreeUserCap::BackfillNotificationJobsWorker7321 # order random7322 #perform7323 adds a OverLimitNotificationWorker to the limited capacity worker pool7324Gitlab::Llm::OpenAi::ResponseModifiers::Chat7325 # order random7326 parses content from the ai response7327Types::VulnerabilityStateEnum7328 exposes all vulnerability states7329Types::AppSec::Fuzzing::API::CiConfigurationType7330 is expected to have graphql fields :scanModes and :scanProfiles7331Types::VulnerabilityDetails::CommitType7332 is expected to have graphql fields :name, :description, :fieldName, and :value7333Gitlab::EventStore7334 .instance7335 returns a store with CE and EE subscriptions7336operations/index.html.haml7337 renders the frontend configuration7338Knapsack report was generated. Preview:7339{7340 "ee/spec/services/search/global_service_spec.rb": 681.153381758,7341 "ee/spec/lib/gitlab/geo/log_cursor/daemon_spec.rb": 134.58327331100008,7342 "ee/spec/models/geo/merge_request_diff_registry_spec.rb": 81.28472467100005,7343 "ee/spec/lib/ee/gitlab/usage/service_ping_report_spec.rb": 81.29052060699996,7344 "ee/spec/models/ci/build_spec.rb": 65.25633552099998,7345 "ee/spec/models/upload_spec.rb": 39.83171313599996,7346 "ee/spec/replicators/geo/pipeline_artifact_replicator_spec.rb": 39.422526254000104,7347 "ee/spec/lib/gitlab/import_export/attributes_permitter_spec.rb": 15.080825994000179,7348 "ee/spec/elastic/migrate/20230518064300_backfill_project_permissions_in_blobs_spec.rb": 47.79241992199991,7349 "ee/spec/elastic/migrate/20230321202400_backfill_hashed_root_namespace_id_on_merge_requests_spec.rb": 36.28093073399987,7350 "ee/spec/replicators/geo/lfs_object_replicator_spec.rb": 11.705619656999943,7351 "ee/spec/finders/security/pipeline_vulnerabilities_finder_spec.rb": 32.82440254500011,7352 "ee/spec/services/ee/issues/move_service_spec.rb": 31.025027531999967,7353 "ee/spec/db/seeds/data_seeder/data_seeder_spec.rb": 19.06859083800009,7354 "ee/spec/finders/geo/package_file_registry_finder_spec.rb": 21.229465591999997,7355 "ee/spec/services/requirements_management/import_csv_service_spec.rb": 18.821580867999955,7356 "ee/spec/graphql/resolvers/geo/merge_request_diff_registries_resolver_spec.rb": 28.57222029400009,7357 "ee/spec/graphql/resolvers/timebox_report_resolver_spec.rb": 12.836031317000106,7358 "ee/spec/models/resource_iteration_event_spec.rb": 16.810558582000112,7359 "ee/spec/services/vulnerabilities/resolve_service_spec.rb": 17.71965431600006,7360 "ee/spec/finders/geo/repository_verification_finder_spec.rb": 11.003258878999986,7361 "ee/spec/helpers/code_suggestions_alert_helper_spec.rb": 5.310421588000054,7362 "ee/spec/services/ee/issuable/bulk_update_service_spec.rb": 14.028044822000084,7363 "ee/spec/services/ee/merge_requests/post_merge_service_spec.rb": 15.933774025000048,7364 "ee/spec/services/epics/epic_links/update_service_spec.rb": 14.992541852000159,7365 "ee/spec/services/groups/compliance_report_csv_service_spec.rb": 10.538558217999935,7366 "ee/spec/finders/security/scan_execution_policies_finder_spec.rb": 12.819134533999886,7367 "ee/spec/models/concerns/identity_verifiable_spec.rb": 8.44651143200008,7368 "ee/spec/graphql/resolvers/compliance_management/merge_requests/compliance_violation_resolver_spec.rb": 10.51140585799999,7369 "ee/spec/graphql/types/dast_site_profile_type_spec.rb": 8.567283470999882,7370 "ee/spec/presenters/ci/minutes/usage_presenter_spec.rb": 6.671070339999915,7371 "ee/spec/workers/store_security_reports_worker_spec.rb": 11.071907120999867,7372 "ee/spec/models/status_page/project_setting_spec.rb": 3.506513686000062,7373 "ee/spec/services/ee/boards/lists/list_service_spec.rb": 7.612001661000022,7374 "ee/spec/lib/gitlab/template/custom_templates_spec.rb": 4.111697625000033,7375 "ee/spec/services/security/ingestion/tasks/ingest_remediations_spec.rb": 8.479291448999902,7376 "ee/spec/lib/gitlab/ci/parsers/security/dependency_scanning_spec.rb": 4.625577442000122,7377 "ee/spec/services/incident_management/issuable_resource_links/zoom_link_service_spec.rb": 5.017117869000003,7378 "ee/spec/services/ci/retry_job_service_spec.rb": 7.960636601000033,7379 "ee/spec/lib/ee/sidebars/projects/menus/analytics_menu_spec.rb": 3.9720957560000443,7380 "ee/spec/services/app_sec/dast/scans/run_service_spec.rb": 6.990400202000046,7381 "ee/spec/graphql/resolvers/dora_metrics_resolver_spec.rb": 2.8776054090001253,7382 "ee/spec/finders/geo/project_registry_finder_spec.rb": 6.240899035999973,7383 "ee/spec/services/vulnerability_exports/export_service_spec.rb": 5.531038286000012,7384 "ee/spec/services/merge_requests/build_service_spec.rb": 8.076167104999968,7385 "ee/spec/models/dast/site_profiles_build_spec.rb": 6.888159427999881,7386 "ee/spec/models/group_wiki_repository_spec.rb": 4.022402499999998,7387 "ee/spec/services/incident_management/escalation_policies/update_service_spec.rb": 2.9861082999998416,7388 "ee/spec/policies/issue_policy_spec.rb": 3.8528455860000577,7389 "ee/spec/models/dora/watchers/deployment_watcher_spec.rb": 2.352567393000072,7390 "ee/spec/graphql/ee/resolvers/board_list_issues_resolver_spec.rb": 3.4446271209999395,7391 "ee/spec/services/ee/protected_branches/destroy_service_spec.rb": 4.826647765000189,7392 "ee/spec/services/security/security_orchestration_policies/operational_vulnerabilities_configuration_service_spec.rb": 4.550654797999869,7393 "ee/spec/finders/geo/project_registry_status_finder_spec.rb": 2.892475966999882,7394 "ee/spec/services/app_sec/dast/scan_configs/fetch_service_spec.rb": 2.983574790000148,7395 "ee/spec/lib/gitlab/circuit_breaker/store_spec.rb": 1.1371570040000734,7396 "ee/spec/lib/gitlab/ci/pipeline/chain/config/content_spec.rb": 4.169895628999711,7397 "ee/spec/lib/ee/gitlab/auth/auth_finders_spec.rb": 1.5696406380002372,7398 "ee/spec/graphql/resolvers/geo/dependency_proxy_blob_registries_resolver_spec.rb": 4.9293769770001745,7399 "ee/spec/workers/geo/repositories_clean_up_worker_spec.rb": 5.275263436999921,7400 "ee/spec/lib/analytics/refresh_reassign_data_spec.rb": 5.9485301710001295,7401 "ee/spec/workers/ee/repository_check/batch_worker_spec.rb": 4.252395643,7402 "ee/spec/models/issuables_analytics_spec.rb": 3.9913933750003707,7403 "ee/spec/finders/notes_finder_spec.rb": 4.430817708000177,7404 "ee/spec/models/protected_branch/unprotect_access_level_spec.rb": 2.4471758250001585,7405 "ee/spec/lib/ee/gitlab/analytics/cycle_analytics/base_query_builder_spec.rb": 4.304392459000155,7406 "ee/spec/services/app_sec/dast/profiles/audit/update_service_spec.rb": 4.152367321999918,7407 "ee/spec/services/llm/merge_requests/summarize_diff_service_spec.rb": 3.7763003330001084,7408 "ee/spec/services/audit_events/release_associate_milestone_audit_event_service_spec.rb": 2.1021090729996104,7409 "ee/spec/services/ee/quick_actions/target_service_spec.rb": 2.9042080369999894,7410 "ee/spec/finders/projects/integrations/jira/issues_finder_spec.rb": 1.8322943560001477,7411 "ee/spec/models/namespaces/free_user_cap_spec.rb": 1.73503383499974,7412 "ee/spec/models/ee/merge_request/metrics_spec.rb": 0.5474083930002962,7413 "ee/spec/services/geo/hashed_storage_migrated_event_store_spec.rb": 2.1998205750001034,7414 "ee/spec/helpers/ee/integrations_helper_spec.rb": 2.509080919000098,7415 "ee/spec/views/projects/security/dast_profiles/show.html.haml_spec.rb": 1.7083388269998068,7416 "ee/spec/services/merge_requests/sync_code_owner_approval_rules_spec.rb": 2.4907391910001024,7417 "ee/spec/graphql/mutations/boards/epic_lists/update_spec.rb": 1.3270001579999189,7418 "ee/spec/models/board_user_preference_spec.rb": 1.687212678999913,7419 "ee/spec/lib/ee/sidebars/your_work/menus/security_dashboard_menu_spec.rb": 0.7949698829997942,7420 "ee/spec/policies/dast/pre_scan_verification_step_policy_spec.rb": 2.4556699139998273,7421 "ee/spec/workers/ee/new_issue_worker_spec.rb": 2.7463757099999384,7422 "ee/spec/services/audit_events/register_runner_audit_event_service_spec.rb": 1.2300154170002315,7423 "ee/spec/services/users/email_verification/send_custom_confirmation_instructions_service_spec.rb": 1.3011631909998869,7424 "ee/spec/lib/gitlab/usage/metrics/instrumentations/count_user_merge_requests_with_applied_scan_result_policies_metric_spec.rb": 3.433803695000279,7425 "ee/spec/models/namespaces/storage/root_excess_size_spec.rb": 1.9824936709997019,7426 "ee/spec/graphql/resolvers/analytics/devops_adoption/enabled_namespaces_resolver_spec.rb": 1.1270131500000389,7427 "ee/spec/services/ee/users/unblock_service_spec.rb": 1.0503054359996895,7428 "ee/spec/workers/search/zoekt/namespace_indexer_worker_spec.rb": 2.590303242000118,7429 "ee/spec/models/dast/pre_scan_verification_spec.rb": 1.113492020999729,7430 "ee/spec/models/incident_management/issuable_escalation_status_spec.rb": 1.8399157219996596,7431 "ee/spec/lib/elastic/latest/application_instance_proxy_spec.rb": 2.1420860189996347,7432 "ee/spec/services/external_status_checks/create_service_spec.rb": 1.61987943000031,7433 "ee/spec/views/shared/labels/_create_label_help_text.html.haml_spec.rb": 2.4939112100000784,7434 "ee/spec/lib/gitlab/ci/config/entry/dast_configuration_spec.rb": 0.673351886999626,7435 "ee/spec/graphql/mutations/security_policy/assign_security_policy_project_spec.rb": 1.9253360560001056,7436 "ee/spec/services/vulnerabilities/historical_statistics/adjustment_service_spec.rb": 0.9757833319999918,7437 "ee/spec/lib/gitlab/ci/config/entry/job_spec.rb": 0.5999975220001943,7438 "ee/spec/lib/api/entities/pending_member_spec.rb": 0.9148188760000266,7439 "ee/spec/services/ee/merge_requests/base_service_spec.rb": 3.5803252030000294,7440 "ee/spec/policies/incident_management/oncall_schedule_policy_spec.rb": 1.4325254650002535,7441 "ee/spec/services/ci/retry_pipeline_service_spec.rb": 2.2905731970004126,7442 "ee/spec/services/geo/repository_base_sync_service_spec.rb": 0.7509935099997165,7443 "ee/spec/graphql/mutations/forecasting/build_forecast_spec.rb": 1.3185225339998397,7444 "ee/spec/helpers/projects/project_members_helper_spec.rb": 1.889605918000143,7445 "ee/spec/lib/gitlab/llm/vertex_ai/completions/generate_commit_message_spec.rb": 1.5769985840001937,7446 "ee/spec/services/audit_events/streaming/headers/create_service_spec.rb": 0.7272542009995959,7447 "ee/spec/services/incident_management/incidents/upload_metric_service_spec.rb": 1.5563960950003093,7448 "ee/spec/lib/system_check/geo/clocks_synchronization_check_spec.rb": 0.9941477709999162,7449 "ee/spec/models/dast/branch_spec.rb": 1.6138836600002833,7450 "ee/spec/services/ci/runners/reset_registration_token_service_spec.rb": 1.327459244000238,7451 "ee/spec/finders/analytics/devops_adoption/snapshots_finder_spec.rb": 0.5053735589999633,7452 "ee/spec/lib/ee/sidebars/your_work/menus/workspaces_menu_spec.rb": 0.7811095679999198,7453 "ee/spec/lib/ee/api/helpers/issues_helpers_spec.rb": 1.7270881120002741,7454 "ee/spec/services/incident_management/oncall_schedules/create_service_spec.rb": 1.3603073809999842,7455 "ee/spec/services/work_items/widgets/weight_service/update_service_spec.rb": 1.5197097989998838,7456 "ee/spec/lib/ee/gitlab/ci/jwt_spec.rb": 0.5760001029998421,7457 "ee/spec/graphql/types/vulnerabilities_count_by_day_type_spec.rb": 0.2670655590000024,7458 "ee/spec/lib/ee/feature_spec.rb": 0.8093923250003172,7459 "ee/spec/views/shared/issuable/_approver_suggestion.html.haml_spec.rb": 1.7232113620002565,7460 "ee/spec/helpers/ee/namespace_user_cap_reached_alert_helper_spec.rb": 1.2150438929998018,7461 "ee/spec/services/issues/duplicate_service_spec.rb": 2.047333865999917,7462 "ee/spec/lib/ee/gitlab/hook_data/issue_builder_spec.rb": 1.3444997219999095,7463 "ee/spec/services/ee/branches/validate_new_service_spec.rb": 1.151384218000203,7464 "ee/spec/graphql/types/instance_security_dashboard_type_spec.rb": 1.4922610900002837,7465 "ee/spec/models/namespaces/free_user_cap/root_size_spec.rb": 0.8318524840001373,7466 "ee/spec/graphql/mutations/boards/update_epic_user_preferences_spec.rb": 1.197460374000002,7467 "ee/spec/serializers/dashboard_environment_entity_spec.rb": 1.6583786369997142,7468 "ee/spec/workers/merge_request_reset_approvals_worker_spec.rb": 1.1122771509999438,7469 "ee/spec/services/ci/runners/assign_runner_service_spec.rb": 1.0735319640002672,7470 "ee/spec/lib/gitlab/web_ide/config/entry/schemas_spec.rb": 0.4853779410000243,7471 "ee/spec/models/protected_branch/merge_access_level_spec.rb": 1.189402135000364,7472 "ee/spec/lib/gitlab/llm/open_ai/completions/explain_vulnerability_spec.rb": 2.1649683059999916,7473 "ee/spec/views/layouts/_page.html.haml_spec.rb": 1.6360265689995686,7474 "ee/spec/serializers/analytics/cycle_analytics/value_stream_errors_serializer_spec.rb": 0.6332627289998527,7475 "ee/spec/services/boards/epic_user_preferences/update_service_spec.rb": 0.8750246999998126,7476 "ee/spec/services/sbom/ingestion/tasks/ingest_sources_spec.rb": 0.6896901350000917,7477 "ee/spec/views/registrations/groups/new.html.haml_spec.rb": 0.9400641539996286,7478 "ee/spec/services/clusters/agent_tokens/create_service_audit_log_spec.rb": 1.0261982179999904,7479 "ee/spec/finders/license_template_finder_spec.rb": 0.6896496150002349,7480 "ee/spec/graphql/resolvers/geo/geo_node_resolver_spec.rb": 0.8292887640000117,7481 "ee/spec/lib/ee/gitlab/import_export/wiki_repo_saver_spec.rb": 0.793294316000356,7482 "ee/spec/lib/gitlab/geo/log_helpers_spec.rb": 0.30398095600003217,7483 "ee/spec/presenters/ee/issue_presenter_spec.rb": 0.5017152899999928,7484 "ee/spec/helpers/notes_helper_spec.rb": 0.6464228080003522,7485 "ee/spec/models/sbom/component_spec.rb": 0.4934206099997027,7486 "ee/spec/workers/vulnerabilities/statistics/schedule_worker_spec.rb": 0.716746282999793,7487 "ee/spec/services/audit_events/runner_custom_audit_event_service_spec.rb": 0.6466506980000304,7488 "ee/spec/models/ee/event_collection_spec.rb": 0.8598695310001858,7489 "ee/spec/services/analytics/devops_adoption/snapshots/create_service_spec.rb": 0.6520199479996336,7490 "ee/spec/views/projects/security/discover/show.html.haml_spec.rb": 0.6735518059999777,7491 "ee/spec/workers/geo/container_repository_sync_worker_spec.rb": 0.6311968790000719,7492 "ee/spec/presenters/analytics/cycle_analytics/stage_presenter_spec.rb": 0.40086459800022567,7493 "ee/spec/lib/api/entities/deployments/approval_summary_spec.rb": 0.6355586490003589,7494 "ee/spec/graphql/types/requirements_management/test_report_type_spec.rb": 0.3718758599998182,7495 "ee/spec/lib/sidebars/user_settings/panel_spec.rb": 0.4352482549998058,7496 "ee/spec/services/boards/epic_boards/visits/create_service_spec.rb": 0.49670687100024224,7497 "ee/spec/lib/gitlab/llm/completions/chat_spec.rb": 0.6749003059999268,7498 "ee/spec/lib/gitlab/ci/minutes/cached_quota_spec.rb": 0.4334529249999832,7499 "ee/spec/services/remote_development/agent_config/update_service_spec.rb": 0.3369327830000657,7500 "ee/spec/models/gitlab_subscription_history_spec.rb": 0.36347671100020307,7501 "ee/spec/services/analytics/devops_adoption/snapshots/calculate_and_save_service_spec.rb": 0.45957113299982666,7502 "ee/spec/graphql/ee/mutations/ci/runner/update_spec.rb": 0.37391906999982893,7503 "ee/spec/routing/security_routing_spec.rb": 0.37991603000000396,7504 "ee/spec/graphql/types/audit_events/streaming/header_type_spec.rb": 0.2857273970003007,7505 "ee/spec/elastic/migrate/20210112165500_delete_issues_from_original_index_spec.rb": 0.3253377549999641,7506 "ee/spec/graphql/types/epic_state_enum_spec.rb": 0.27665105799997036,7507 "ee/spec/services/ee/admin/plan_limits/update_service_spec.rb": 0.37582686999985526,7508 "ee/spec/lib/gitlab/llm/vertex_ai/model_configurations/code_spec.rb": 0.35671238099985203,7509 "ee/spec/graphql/types/compliance_management/merge_requests/compliance_violation_severity_enum_spec.rb": 0.28655611699969086,7510 "ee/spec/lib/gitlab/search_context/builder_spec.rb": 0.3398110530001759,7511 "ee/spec/lib/gitlab/pagination/keyset/simple_order_builder_spec.rb": 0.2859186860000591,7512 "ee/spec/graphql/types/incident_management/oncall_shift_type_spec.rb": 0.28293591800002105,7513 "ee/spec/graphql/types/geo/geo_node_type_spec.rb": 0.27656302800005506,7514 "ee/spec/models/geo/every_geo_event_spec.rb": 0.28831191700010095,7515 "ee/spec/graphql/types/vulnerability_details/boolean_type_spec.rb": 0.2451563510003325,7516 "ee/spec/lib/gitlab/geo/logger_spec.rb": 0.24623463000034462,7517 "ee/spec/workers/namespaces/free_user_cap/backfill_notification_jobs_worker_spec.rb": 0.24771753999993962,7518 "ee/spec/lib/gitlab/llm/open_ai/response_modifiers/chat_spec.rb": 0.28515438800013726,7519 "ee/spec/graphql/types/vulnerability_state_enum_spec.rb": 0.2579005400002643,7520 "ee/spec/graphql/types/app_sec/fuzzing/api/ci_configuration_type_spec.rb": 0.2536107999999331,7521 "ee/spec/graphql/types/vulnerability_details/commit_type_spec.rb": 0.25216032999969684,7522 "ee/spec/lib/ee/gitlab/event_store_spec.rb": 0.2585350589997688,7523 "ee/spec/views/operations/index.html.haml_spec.rb": 0.27635047800004037524}7525Knapsack global time execution for tests: 30m 51s7526Pending: (Failures listed here are expected and do not affect your suite's status)7527 1) Geo::PackageFileRegistryFinder 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 ArgumentError7528 # Skipping because verification is enabled for Packages::PackageFile7529 # ./ee/spec/support/shared_examples/finders/geo/framework_registry_finder_shared_examples.rb:987530 2) Geo::PackageFileRegistryFinder 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 ArgumentError7531 # Skipping because verification is enabled for Packages::PackageFile7532 # ./ee/spec/support/shared_examples/finders/geo/framework_registry_finder_shared_examples.rb:1067533 3) Geo::PackageFileRegistryFinder behaves like a framework registry finder #execute when user can read all Geo when admin mode is enabled when search method is not implemented in the registry model raises ArgumentError7534 # Skipping because search method is implemented for Packages::PackageFile7535 # ./ee/spec/support/shared_examples/finders/geo/framework_registry_finder_shared_examples.rb:1227536 4) 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 ArgumentError7537 # Skipping because verification is enabled for MergeRequestDiff7538 # ./ee/spec/support/shared_examples/graphql/geo/geo_registries_resolver_shared_examples.rb:777539 5) Custom file template classes Gitlab::Template::CustomDockerfileTemplate.find sets the category correctly7540 # {:class_name=>Gitlab::Template::CustomDockerfileTemplate, :category=>"Custom"}.find does not set category correctly7541 Failure/Error: expect(found.category).to eq('Custom')7542 expected: "Custom"7543 got: nil7544 (compared using ==)7545 # ./ee/spec/lib/gitlab/template/custom_templates_spec.rb:84:in `block (5 levels) in <top (required)>'7546 # ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'7547 # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'7548 # ./spec/spec_helper.rb:406:in `block (2 levels) in <top (required)>'7549 # ./spec/spec_helper.rb:402:in `block (3 levels) in <top (required)>'7550 # ./lib/gitlab/application_context.rb:61:in `with_raw_context'7551 # ./spec/spec_helper.rb:402:in `block (2 levels) in <top (required)>'7552 # ./spec/spec_helper.rb:243:in `block (2 levels) in <top (required)>'7553 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7554 # ./spec/support/fast_quarantine.rb:23:in `block (2 levels) in <top (required)>'7555 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <top (required)>'7556 # ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'7557 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <top (required)>'7558 6) Custom file template classes Gitlab::Template::CustomGitignoreTemplate.find sets the category correctly7559 # {:class_name=>Gitlab::Template::CustomGitignoreTemplate, :category=>"Custom"}.find does not set category correctly7560 Failure/Error: expect(found.category).to eq('Custom')7561 expected: "Custom"7562 got: nil7563 (compared using ==)7564 # ./ee/spec/lib/gitlab/template/custom_templates_spec.rb:84:in `block (5 levels) in <top (required)>'7565 # ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'7566 # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'7567 # ./spec/spec_helper.rb:406:in `block (2 levels) in <top (required)>'7568 # ./spec/spec_helper.rb:402:in `block (3 levels) in <top (required)>'7569 # ./lib/gitlab/application_context.rb:61:in `with_raw_context'7570 # ./spec/spec_helper.rb:402:in `block (2 levels) in <top (required)>'7571 # ./spec/spec_helper.rb:243:in `block (2 levels) in <top (required)>'7572 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7573 # ./spec/support/fast_quarantine.rb:23:in `block (2 levels) in <top (required)>'7574 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <top (required)>'7575 # ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'7576 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <top (required)>'7577 7) Custom file template classes Gitlab::Template::CustomGitlabCiYmlTemplate.find sets the category correctly7578 # {:class_name=>Gitlab::Template::CustomGitlabCiYmlTemplate, :category=>"Custom"}.find does not set category correctly7579 Failure/Error: expect(found.category).to eq('Custom')7580 expected: "Custom"7581 got: nil7582 (compared using ==)7583 # ./ee/spec/lib/gitlab/template/custom_templates_spec.rb:84:in `block (5 levels) in <top (required)>'7584 # ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'7585 # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'7586 # ./spec/spec_helper.rb:406:in `block (2 levels) in <top (required)>'7587 # ./spec/spec_helper.rb:402:in `block (3 levels) in <top (required)>'7588 # ./lib/gitlab/application_context.rb:61:in `with_raw_context'7589 # ./spec/spec_helper.rb:402:in `block (2 levels) in <top (required)>'7590 # ./spec/spec_helper.rb:243:in `block (2 levels) in <top (required)>'7591 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7592 # ./spec/support/fast_quarantine.rb:23:in `block (2 levels) in <top (required)>'7593 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <top (required)>'7594 # ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'7595 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <top (required)>'7596 8) Custom file template classes Gitlab::Template::CustomLicenseTemplate.find sets the category correctly7597 # {:class_name=>Gitlab::Template::CustomLicenseTemplate, :category=>"Custom"}.find does not set category correctly7598 Failure/Error: expect(found.category).to eq('Custom')7599 expected: "Custom"7600 got: nil7601 (compared using ==)7602 # ./ee/spec/lib/gitlab/template/custom_templates_spec.rb:84:in `block (5 levels) in <top (required)>'7603 # ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'7604 # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'7605 # ./spec/spec_helper.rb:406:in `block (2 levels) in <top (required)>'7606 # ./spec/spec_helper.rb:402:in `block (3 levels) in <top (required)>'7607 # ./lib/gitlab/application_context.rb:61:in `with_raw_context'7608 # ./spec/spec_helper.rb:402:in `block (2 levels) in <top (required)>'7609 # ./spec/spec_helper.rb:243:in `block (2 levels) in <top (required)>'7610 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7611 # ./spec/support/fast_quarantine.rb:23:in `block (2 levels) in <top (required)>'7612 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <top (required)>'7613 # ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'7614 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <top (required)>'7615 9) Custom file template classes Gitlab::Template::CustomMetricsDashboardYmlTemplate.find sets the category correctly7616 # {:class_name=>Gitlab::Template::CustomMetricsDashboardYmlTemplate, :category=>"Custom"}.find does not set category correctly7617 Failure/Error: expect(found.category).to eq('Custom')7618 expected: "Custom"7619 got: nil7620 (compared using ==)7621 # ./ee/spec/lib/gitlab/template/custom_templates_spec.rb:84:in `block (5 levels) in <top (required)>'7622 # ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'7623 # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'7624 # ./spec/spec_helper.rb:406:in `block (2 levels) in <top (required)>'7625 # ./spec/spec_helper.rb:402:in `block (3 levels) in <top (required)>'7626 # ./lib/gitlab/application_context.rb:61:in `with_raw_context'7627 # ./spec/spec_helper.rb:402:in `block (2 levels) in <top (required)>'7628 # ./spec/spec_helper.rb:243:in `block (2 levels) in <top (required)>'7629 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7630 # ./spec/support/fast_quarantine.rb:23:in `block (2 levels) in <top (required)>'7631 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <top (required)>'7632 # ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'7633 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <top (required)>'7634 10) Custom file template classes Gitlab::Template::IssueTemplate.find sets the category correctly7635 # {:class_name=>Gitlab::Template::IssueTemplate, :category=>"Project Templates"}.find does not set category correctly7636 Failure/Error: expect(found.category).to eq('Custom')7637 expected: "Custom"7638 got: nil7639 (compared using ==)7640 # ./ee/spec/lib/gitlab/template/custom_templates_spec.rb:84:in `block (5 levels) in <top (required)>'7641 # ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'7642 # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'7643 # ./spec/spec_helper.rb:406:in `block (2 levels) in <top (required)>'7644 # ./spec/spec_helper.rb:402:in `block (3 levels) in <top (required)>'7645 # ./lib/gitlab/application_context.rb:61:in `with_raw_context'7646 # ./spec/spec_helper.rb:402:in `block (2 levels) in <top (required)>'7647 # ./spec/spec_helper.rb:243:in `block (2 levels) in <top (required)>'7648 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7649 # ./spec/support/fast_quarantine.rb:23:in `block (2 levels) in <top (required)>'7650 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <top (required)>'7651 # ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'7652 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <top (required)>'7653 11) Custom file template classes Gitlab::Template::MergeRequestTemplate.find sets the category correctly7654 # {:class_name=>Gitlab::Template::MergeRequestTemplate, :category=>"Project Templates"}.find does not set category correctly7655 Failure/Error: expect(found.category).to eq('Custom')7656 expected: "Custom"7657 got: nil7658 (compared using ==)7659 # ./ee/spec/lib/gitlab/template/custom_templates_spec.rb:84:in `block (5 levels) in <top (required)>'7660 # ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'7661 # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'7662 # ./spec/spec_helper.rb:406:in `block (2 levels) in <top (required)>'7663 # ./spec/spec_helper.rb:402:in `block (3 levels) in <top (required)>'7664 # ./lib/gitlab/application_context.rb:61:in `with_raw_context'7665 # ./spec/spec_helper.rb:402:in `block (2 levels) in <top (required)>'7666 # ./spec/spec_helper.rb:243:in `block (2 levels) in <top (required)>'7667 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7668 # ./spec/support/fast_quarantine.rb:23:in `block (2 levels) in <top (required)>'7669 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <top (required)>'7670 # ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'7671 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <top (required)>'7672 12) Resolvers::Geo::DependencyProxyBlobRegistriesResolver 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 ArgumentError7673 # Skipping because verification is enabled for DependencyProxy::Blob7674 # ./ee/spec/support/shared_examples/graphql/geo/geo_registries_resolver_shared_examples.rb:777675 13) Geo::HashedStorageMigratedEventStore#create! behaves like a Geo event store when running on a primary node when file subject is not on local store creates an event7676 # No file subject defined, skipping7677 # ./ee/spec/support/shared_examples/services/geo_event_store_shared_examples.rb:367678Finished in 30 minutes 55 seconds (files took 1 minute 34.82 seconds to load)76792855 examples, 0 failures, 13 pending7680Randomized with seed 603607681[TEST PROF INFO] Time spent in factories: 11:12.142 (35.56% of total time)7682RSpec exited with 0.7683No examples to retry, congrats!7685Not uploading cache ruby-gems-debian-bullseye-ruby-3.0-16 due to policy7687Uploading artifacts...7688coverage/: found 5 matching artifact files and directories 7689crystalball/: found 2 matching artifact files and directories 7690WARNING: deprecations/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 7691knapsack/: found 4 matching artifact files and directories 7692WARNING: query_recorder/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 7693rspec/: found 16 matching artifact files and directories 7694WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 7695log/*.log: found 20 matching artifact files and directories 7696WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4400964881/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com7697WARNING: Retrying... context=artifacts-uploader error=request redirected7698Uploading artifacts as "archive" to coordinator... 201 Created id=4400964881 responseStatus=201 Created token=64_SEz8r7699Uploading artifacts...7700rspec/rspec-*.xml: found 1 matching artifact files and directories 7701WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4400964881/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com7702WARNING: Retrying... context=artifacts-uploader error=request redirected7703Uploading artifacts as "junit" to coordinator... 201 Created id=4400964881 responseStatus=201 Created token=64_SEz8r7705Job succeeded