rspec-ee unit pg13 2/18
Passed Started
by
@rkadam3

Rajendra Kadam
1Running with gitlab-runner 15.9.0~beta.115.g598a7c91 (598a7c91)2 on green-3.shared-gitlab-org.runners-manager.gitlab.com/default EuhiQzPR, system ID: s_360bc95445273 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-16.14-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-109-yarn-1.22-graphicsmagick-1.3.36 ...7Starting service postgres:13 ...8Pulling docker image postgres:13 ...9Using docker image sha256:ab3945c8cf7160ed1381efd47c6a203ba9a84fc7327a17e4a389601eb3738b3b for postgres:13 with digest postgres@sha256:67edfda7deeecfda8e40c9b00818eae76573a9e9466ba7edbc536662d128173b ...10Starting service redis:6.2-alpine ...11Pulling docker image redis:6.2-alpine ...12Using docker image sha256:a9a47a706682d445577bb5da7328f0faaa0863a5742a315c829faa461dfc23ae for redis:6.2-alpine with digest redis@sha256:317575f05099ea47b1f2855b1bb6e068b52847bfa19b87014d88d57f82d4b8f0 ...13Starting service elasticsearch:7.17.6 ...14Pulling docker image elasticsearch:7.17.6 ...15Using docker image sha256:5fad10241ffd65d817ed0ddfaf6e87eee1f7dc2a7db33db1047835560ea71fda for elasticsearch:7.17.6 with digest elasticsearch@sha256:6c128de5d01c0c130a806022d6bd99b3e4c27a9af5bfc33b6b81861ae117d028 ...16Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 ...17Authenticating with credentials from job payload (GitLab Registry)18Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 ...19Using docker image sha256:4777ec1fa89def7d692d4979d05cb05234df25da1c6a3f67a564a433ec5ba1c8 for registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:80c0cee4566aefe4f1f287e1091263e08b0ebc41ed3dc4e76930df3634ccb9aa ...20Waiting for services to be up and running (timeout 30 seconds)...21Authenticating with credentials from job payload (GitLab Registry)22Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-rust-1.65-node-16.14-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-109-yarn-1.22-graphicsmagick-1.3.36 ...23Using docker image sha256:552b81110cdd830e05d17c8e7365f72e1dd96842217d7225636cb55a75777ea7 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-rust-1.65-node-16.14-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-109-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-rust-1.65-node-16.14-postgresql-13@sha256:a386dd1acb1341f710f3c3c320984f70512694bcfec8cb1c771365058ac7c475 ...25Running on runner-euhiqzpr-project-278964-concurrent-0 via runner-euhiqzpr-shared-gitlab-org-1681897030-86c43ca0...27$ eval "$CI_PRE_CLONE_SCRIPT"28Fetching changes with git depth set to 20...29Initialized empty Git repository in /builds/gitlab-org/gitlab/.git/30Created fresh repository.31remote: Enumerating objects: 129399, done. 32remote: Counting objects: 100% (129399/129399), done. 33remote: Compressing objects: 100% (84885/84885), done. 34remote: Total 129399 (delta 54003), reused 89052 (delta 39575), pack-reused 0 35Receiving objects: 100% (129399/129399), 122.83 MiB | 32.14 MiB/s, done.36Resolving deltas: 100% (54003/54003), done.38 * [new ref] refs/pipelines/841847819 -> refs/pipelines/84184781939 * [new branch] master -> origin/master40Checking out e2ff33c5 as detached HEAD (ref is master)...41Skipping Git submodules setup42$ git remote set-url origin "${CI_REPOSITORY_URL}"44Checking cache for ruby-gems-debian-bullseye-ruby-3.0-16...45Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/ruby-gems-debian-bullseye-ruby-3.0-16 46Successfully extracted cache48Downloading artifacts for compile-test-assets (4139146271)...49Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4139146271 responseStatus=200 OK token=64_mS5MB50Downloading artifacts for retrieve-tests-metadata (4139146276)...51Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4139146276 responseStatus=200 OK token=64_mS5MB52Downloading artifacts for setup-test-env (4139146274)...53Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4139146274 responseStatus=200 OK token=64_mS5MB55Using docker image sha256:552b81110cdd830e05d17c8e7365f72e1dd96842217d7225636cb55a75777ea7 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-rust-1.65-node-16.14-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-109-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-rust-1.65-node-16.14-postgresql-13@sha256:a386dd1acb1341f710f3c3c320984f70512694bcfec8cb1c771365058ac7c475 ...56$ echo $FOSS_ONLY57$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb58$ export GOPATH=$CI_PROJECT_DIR/.go59$ mkdir -p $GOPATH60$ source scripts/utils.sh61$ source scripts/prepare_build.sh716Using decomposed database config (config/database.yml.decomposed-postgresql)717Geo DB will be set up.718$ setup_db_user_only719CREATE ROLE720GRANT721==> 'setup_db_user_only' succeeded in 0 seconds.722$ bundle exec rake db:drop db:create db:schema:load db:migrate gitlab:db:lock_writes723Dropped database 'gitlabhq_test'724Dropped database 'gitlabhq_test_ci'725Dropped database 'gitlabhq_geo_test'726Created database 'gitlabhq_test'727Created database 'gitlabhq_test_ci'728Created database 'gitlabhq_geo_test'729main: == [advisory_lock_connection] object_id: 274120, pg_backend_pid: 109730main: == [advisory_lock_connection] object_id: 274120, pg_backend_pid: 109731ci: == [advisory_lock_connection] object_id: 274200, pg_backend_pid: 111732ci: == [advisory_lock_connection] object_id: 274200, pg_backend_pid: 111733geo: == [advisory_lock_connection] object_id: 274280, pg_backend_pid: 113734geo: == [advisory_lock_connection] object_id: 274280, pg_backend_pid: 113735==> 'bundle exec rake db:drop db:create db:schema:load db:migrate gitlab:db:lock_writes' succeeded in 53 seconds.736$ setup_db_praefect737SELECT pg_catalog.set_config('search_path', '', false);738CREATE DATABASE praefect_test ENCODING 'UTF8';739$ source ./scripts/rspec_helpers.sh740==> 'setup_db_praefect' succeeded in 0 seconds.741$ run_timed_command "gem install knapsack --no-document"742$ gem install knapsack --no-document743Successfully installed knapsack-4.0.07441 gem installed745==> 'gem install knapsack --no-document' succeeded in 0 seconds.746$ echo -e "\e[0Ksection_start:`date +%s`:gitaly-test-spawn[collapsed=true]\r\e[0KStarting Gitaly"755$ rspec_paralellized_job "--tag ~quarantine --tag ~level:background_migration"756SKIP_FLAKY_TESTS_AUTOMATICALLY: false757RETRY_FAILED_TESTS_IN_NEW_PROCESS: true758KNAPSACK_GENERATE_REPORT: true759FLAKY_RSPEC_GENERATE_REPORT: true760KNAPSACK_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.rb761KNAPSACK_LOG_LEVEL: debug762KNAPSACK_REPORT_PATH: knapsack/rspec-ee_unit_pg13_2_18_report.json763FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json764FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec-ee_unit_pg13_2_18_report.json765NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec-ee_unit_pg13_2_18_report.json766SKIPPED_FLAKY_TESTS_REPORT_PATH: rspec/flaky/skipped_flaky_tests_rspec-ee_unit_pg13_2_18_report.txt767CRYSTALBALL: 768Knapsack node specs:769ee/spec/services/search/project_service_spec.rb770ee/spec/models/ee/ci/job_artifact_spec.rb771ee/spec/lib/gitlab/analytics/type_of_work/tasks_by_type_spec.rb772ee/spec/services/epic_issues/create_service_spec.rb773ee/spec/models/merge_request/blocking_spec.rb774ee/spec/lib/ee/gitlab/git_access_project_spec.rb775ee/spec/models/security/finding_spec.rb776ee/spec/services/deployments/approval_service_spec.rb777ee/spec/finders/epics/cross_hierarchy_children_finder_spec.rb778ee/spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb779ee/spec/models/protected_environment_spec.rb780ee/spec/lib/analytics/devops_adoption/snapshot_calculator_spec.rb781ee/spec/services/resource_access_tokens/create_service_spec.rb782ee/spec/models/ee/protected_branch_spec.rb783ee/spec/helpers/vulnerabilities_helper_spec.rb784ee/spec/finders/geo/project_wiki_repository_registry_finder_spec.rb785ee/spec/serializers/member_entity_spec.rb786ee/spec/workers/geo/repository_registry_sync_worker_spec.rb787ee/spec/models/ee/list_spec.rb788ee/spec/services/ee/members/create_service_spec.rb789ee/spec/models/visible_approvable_spec.rb790ee/spec/workers/store_security_reports_worker_spec.rb791ee/spec/models/ee/iterations/cadence_spec.rb792ee/spec/graphql/resolvers/vulnerabilities_resolver_spec.rb793ee/spec/services/ci/compare_license_scanning_reports_service_spec.rb794ee/spec/services/wiki_pages/destroy_service_spec.rb795ee/spec/graphql/types/project_type_spec.rb796ee/spec/services/analytics/cycle_analytics/aggregator_service_spec.rb797ee/spec/workers/elastic/project_transfer_worker_spec.rb798ee/spec/models/vulnerabilities/statistic_spec.rb799ee/spec/services/ci/trigger_downstream_subscription_service_spec.rb800ee/spec/services/security/security_orchestration_policies/policy_commit_service_spec.rb801ee/spec/models/ci/daily_build_group_report_result_spec.rb802ee/spec/services/ee/allowed_email_domains/update_service_spec.rb803ee/spec/elastic/migrate/20220824123000_add_label_ids_and_schema_version_to_issues_mapping_spec.rb804ee/spec/services/ee/merge_requests/execute_approval_hooks_service_spec.rb805ee/spec/lib/gitlab/code_owners/users_loader_spec.rb806ee/spec/services/app_sec/dast/sites/find_or_create_service_spec.rb807ee/spec/views/registrations/welcome/show.html.haml_spec.rb808ee/spec/services/ci/process_pipeline_service_spec.rb809ee/spec/services/geo/repository_verification_secondary_service_spec.rb810ee/spec/views/shared/_mirror_status.html.haml_spec.rb811ee/spec/lib/gitlab/vulnerabilities/standard_vulnerability_spec.rb812ee/spec/services/security/ingestion/tasks/ingest_finding_identifiers_spec.rb813ee/spec/presenters/subscription_presenter_spec.rb814ee/spec/services/ci/create_pipeline_service/dast_configuration_spec.rb815ee/spec/policies/ee/namespaces/user_namespace_policy_spec.rb816ee/spec/services/deployments/auto_rollback_service_spec.rb817ee/spec/lib/gitlab/auth/smartcard/ldap_certificate_spec.rb818ee/spec/lib/ee/sidebars/projects/menus/security_compliance_menu_spec.rb819ee/spec/services/releases/create_service_spec.rb820ee/spec/lib/gitlab/geo/oauth/logout_token_spec.rb821ee/spec/lib/gitlab/geo/health_check_spec.rb822ee/spec/services/security/store_grouped_scans_service_spec.rb823ee/spec/finders/concerns/epics/with_access_check_spec.rb824ee/spec/lib/gitlab/ingestion/bulk_insertable_task_spec.rb825ee/spec/workers/adjourned_projects_deletion_cron_worker_spec.rb826ee/spec/services/app_sec/dast/scans/create_service_spec.rb827ee/spec/graphql/mutations/merge_requests/set_assignees_spec.rb828ee/spec/lib/gitlab/ci/templates/container_scanning_latest_gitlab_ci_yaml_spec.rb829ee/spec/policies/dast_scanner_profile_policy_spec.rb830ee/spec/services/ci/runners/reset_registration_token_service_spec.rb831ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_first_added_to_board_spec.rb832ee/spec/lib/sidebars/groups/menus/epics_menu_spec.rb833ee/spec/components/namespaces/free_user_cap/usage_quota_trial_alert_component_spec.rb834ee/spec/models/vulnerabilities/finding_identifier_spec.rb835ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_label_removed_spec.rb836ee/spec/models/iteration_note_spec.rb837ee/spec/services/merge_requests/mergeability/check_external_status_checks_passed_service_spec.rb838ee/spec/workers/elastic/namespace_update_worker_spec.rb839ee/spec/workers/vulnerability_exports/export_worker_spec.rb840ee/spec/helpers/projects/learn_gitlab_helper_spec.rb841ee/spec/models/ci/sources/project_spec.rb842ee/spec/finders/ee/projects_finder_spec.rb843ee/spec/services/jira/jql_builder_service_spec.rb844ee/spec/lib/gitlab/ci/minutes/pipeline_consumption_spec.rb845ee/spec/helpers/gitlab_subscriptions/upcoming_reconciliation_helper_spec.rb846ee/spec/workers/compliance_management/update_default_framework_worker_spec.rb847ee/spec/views/projects/project_members/index.html.haml_spec.rb848ee/spec/graphql/types/app_sec/fuzzing/coverage/corpus_type_spec.rb849ee/spec/workers/personal_access_tokens/instance/policy_worker_spec.rb850ee/spec/lib/gitlab/license_scanning/artifact_scanner_spec.rb851ee/spec/lib/gitlab/graphql/aggregations/epics/lazy_epic_aggregate_spec.rb852ee/spec/helpers/projects/on_demand_scans_helper_spec.rb853ee/spec/models/concerns/elastic/namespace_update_spec.rb854ee/spec/workers/sync_seat_link_worker_spec.rb855ee/spec/models/ee/merge_request/metrics_spec.rb856ee/spec/lib/ee/gitlab/ci/pipeline/chain/validate/external_spec.rb857ee/spec/models/dora/watchers/deployment_watcher_spec.rb858ee/spec/services/users_ops_dashboard_projects/destroy_service_spec.rb859ee/spec/workers/geo/repository_cleanup_worker_spec.rb860ee/spec/lib/gitlab/exclusive_lease_spec.rb861ee/spec/models/vulnerabilities/remediation_spec.rb862ee/spec/models/geo/hashed_storage_migrated_event_spec.rb863ee/spec/lib/gitlab/auth/ldap/adapter_spec.rb864ee/spec/models/work_items/widgets/status_spec.rb865ee/spec/services/geo/hashed_storage_attachments_migration_service_spec.rb866ee/spec/services/protected_environments/search_service_spec.rb867ee/spec/finders/auth/provisioned_users_finder_spec.rb868ee/spec/models/zoekt/indexed_namespace_spec.rb869ee/spec/lib/gitlab/auth/saml/membership_updater_spec.rb870ee/spec/serializers/ee/issue_sidebar_extras_entity_spec.rb871ee/spec/lib/gitlab/usage/metrics/instrumentations/approval_project_rules_with_user_metric_spec.rb872ee/spec/serializers/vulnerabilities/response_entity_spec.rb873ee/spec/lib/bulk_imports/projects/pipelines/issues_pipeline_spec.rb874ee/spec/policies/vulnerabilities/issue_link_policy_spec.rb875ee/spec/services/elastic/index_projects_by_range_service_spec.rb876ee/spec/graphql/types/incident_management/issuable_resource_link_type_spec.rb877ee/spec/lib/gitlab/ci/reports/security/locations/dependency_scanning_spec.rb878ee/spec/lib/gitlab/ci/minutes/cached_quota_spec.rb879ee/spec/graphql/types/incident_management/oncall_participant_type_spec.rb880ee/spec/graphql/mutations/dast_site_validations/revoke_spec.rb881ee/spec/models/package_metadata/package_version_spec.rb882ee/spec/helpers/analytics/analytics_dashboards_helper_spec.rb883ee/spec/lib/gitlab/subscription_portal/client_spec.rb884ee/spec/lib/ee/gitlab/hook_data/issue_builder_spec.rb885ee/spec/models/vulnerabilities/finding_link_spec.rb886ee/spec/views/shared/credentials_inventory/ssh_keys/_ssh_key.html.haml_spec.rb887ee/spec/services/gitlab_subscriptions/plan_upgrade_service_spec.rb888ee/spec/lib/sidebars/user_settings/menus/usage_quotas_menu_spec.rb889ee/spec/services/merge_requests/stream_approval_audit_event_service_spec.rb890ee/spec/services/security/security_orchestration_policies/fetch_policy_service_spec.rb891ee/spec/lib/gitlab/geo/log_cursor/events/event_spec.rb892ee/spec/services/ee/git/wiki_push_service_spec.rb893ee/spec/workers/projects/deregister_suggested_reviewers_project_worker_spec.rb894ee/spec/services/issuable/destroy_label_links_service_spec.rb895ee/spec/policies/resource_weight_event_policy_spec.rb896ee/spec/lib/ee/gitlab/slash_commands/incident_management/incident_new_spec.rb897ee/spec/services/ee/integrations/slack_interactions/incident_management/incident_modal_opened_service_spec.rb898ee/spec/services/boards/epic_user_preferences/update_service_spec.rb899ee/spec/lib/gitlab/auth/group_saml/failure_handler_spec.rb900ee/spec/lib/ee/gitlab/ci/pipeline/chain/validate/security_orchestration_policy_spec.rb901ee/spec/models/ldap_group_link_spec.rb902ee/spec/lib/gitlab/usage/metrics/instrumentations/count_slack_app_installations_gbp_metric_spec.rb903ee/spec/services/integrations/slack_options/label_search_handler_spec.rb904ee/spec/lib/system_check/geo/geo_database_configured_check_spec.rb905ee/spec/serializers/ee/blob_entity_spec.rb906ee/spec/helpers/admin/repo_size_limit_helper_spec.rb907ee/spec/lib/ee/gitlab/git_access_design_spec.rb908ee/spec/services/elastic/index_projects_service_spec.rb909ee/spec/services/protected_environments/environment_dropdown_service_spec.rb910ee/spec/services/ee/incident_management/issuable_escalation_statuses/create_service_spec.rb911ee/spec/graphql/mutations/todos/create_spec.rb912ee/spec/models/concerns/projects/custom_branch_rule_spec.rb913ee/spec/views/shared/_kerberos_clone_button.html.haml_spec.rb914ee/spec/views/layouts/nav/sidebar/_push_rules_link.html.haml_spec.rb915ee/spec/models/ee/users/banned_user_spec.rb916ee/spec/helpers/incident_management/escalation_policy_helper_spec.rb917ee/spec/lib/ee/api/entities/member_role_spec.rb918ee/spec/elastic/migrate/20210813134600_add_namespace_ancestry_to_issues_mapping_spec.rb919ee/spec/graphql/ee/types/mutation_type_spec.rb920ee/spec/lib/omni_auth/strategies/kerberos_spec.rb921ee/spec/helpers/trial_status_widget_helper_spec.rb922ee/spec/views/shared/web_hooks/_group_web_hook_disabled_alert.html.haml_spec.rb923ee/spec/graphql/types/group_stats_type_spec.rb924ee/spec/lib/gitlab/code_owners/reference_extractor_spec.rb925ee/spec/serializers/status_page/renderer_spec.rb926ee/spec/services/gitlab_subscriptions/create_lead_service_spec.rb927ee/spec/lib/gitlab/usage/metrics/instrumentations/advanced_search/lucene_version_metric_spec.rb928ee/spec/services/personal_access_tokens/instance/update_lifetime_service_spec.rb929ee/spec/graphql/types/protected_environments/deploy_access_level_type_spec.rb930ee/spec/lib/gitlab/usage/metrics/instrumentations/advanced_search/version_metric_spec.rb931ee/spec/workers/ci/sync_reports_to_report_approval_rules_worker_spec.rb932ee/spec/graphql/types/security_report_summary_section_type_spec.rb933ee/spec/graphql/types/branch_rules/approval_project_rule_type_spec.rb934ee/spec/graphql/types/dora_metric_type_enum_spec.rb935ee/spec/graphql/types/dast/profile_cadence_enum_spec.rb936ee/spec/services/sbom/ingestion/tasks/base_spec.rb937ee/spec/lib/api/entities/protected_environments/approval_rule_spec.rb938ee/spec/lib/gitlab/email/feature_flag_wrapper_spec.rb939ee/spec/graphql/types/vulnerability_details/markdown_type_spec.rb940ee/spec/db/production/license_spec.rb941Filter specs:942Running specs:943Running all node tests without filter944ee/spec/services/search/project_service_spec.rb945ee/spec/models/ee/ci/job_artifact_spec.rb946ee/spec/lib/gitlab/analytics/type_of_work/tasks_by_type_spec.rb947ee/spec/services/epic_issues/create_service_spec.rb948ee/spec/models/merge_request/blocking_spec.rb949ee/spec/lib/ee/gitlab/git_access_project_spec.rb950ee/spec/models/security/finding_spec.rb951ee/spec/services/deployments/approval_service_spec.rb952ee/spec/finders/epics/cross_hierarchy_children_finder_spec.rb953ee/spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb954ee/spec/models/protected_environment_spec.rb955ee/spec/lib/analytics/devops_adoption/snapshot_calculator_spec.rb956ee/spec/services/resource_access_tokens/create_service_spec.rb957ee/spec/models/ee/protected_branch_spec.rb958ee/spec/helpers/vulnerabilities_helper_spec.rb959ee/spec/finders/geo/project_wiki_repository_registry_finder_spec.rb960ee/spec/serializers/member_entity_spec.rb961ee/spec/workers/geo/repository_registry_sync_worker_spec.rb962ee/spec/models/ee/list_spec.rb963ee/spec/services/ee/members/create_service_spec.rb964ee/spec/models/visible_approvable_spec.rb965ee/spec/workers/store_security_reports_worker_spec.rb966ee/spec/models/ee/iterations/cadence_spec.rb967ee/spec/graphql/resolvers/vulnerabilities_resolver_spec.rb968ee/spec/services/ci/compare_license_scanning_reports_service_spec.rb969ee/spec/services/wiki_pages/destroy_service_spec.rb970ee/spec/graphql/types/project_type_spec.rb971ee/spec/services/analytics/cycle_analytics/aggregator_service_spec.rb972ee/spec/workers/elastic/project_transfer_worker_spec.rb973ee/spec/models/vulnerabilities/statistic_spec.rb974ee/spec/services/ci/trigger_downstream_subscription_service_spec.rb975ee/spec/services/security/security_orchestration_policies/policy_commit_service_spec.rb976ee/spec/models/ci/daily_build_group_report_result_spec.rb977ee/spec/services/ee/allowed_email_domains/update_service_spec.rb978ee/spec/elastic/migrate/20220824123000_add_label_ids_and_schema_version_to_issues_mapping_spec.rb979ee/spec/services/ee/merge_requests/execute_approval_hooks_service_spec.rb980ee/spec/lib/gitlab/code_owners/users_loader_spec.rb981ee/spec/services/app_sec/dast/sites/find_or_create_service_spec.rb982ee/spec/views/registrations/welcome/show.html.haml_spec.rb983ee/spec/services/ci/process_pipeline_service_spec.rb984ee/spec/services/geo/repository_verification_secondary_service_spec.rb985ee/spec/views/shared/_mirror_status.html.haml_spec.rb986ee/spec/lib/gitlab/vulnerabilities/standard_vulnerability_spec.rb987ee/spec/services/security/ingestion/tasks/ingest_finding_identifiers_spec.rb988ee/spec/presenters/subscription_presenter_spec.rb989ee/spec/services/ci/create_pipeline_service/dast_configuration_spec.rb990ee/spec/policies/ee/namespaces/user_namespace_policy_spec.rb991ee/spec/services/deployments/auto_rollback_service_spec.rb992ee/spec/lib/gitlab/auth/smartcard/ldap_certificate_spec.rb993ee/spec/lib/ee/sidebars/projects/menus/security_compliance_menu_spec.rb994ee/spec/services/releases/create_service_spec.rb995ee/spec/lib/gitlab/geo/oauth/logout_token_spec.rb996ee/spec/lib/gitlab/geo/health_check_spec.rb997ee/spec/services/security/store_grouped_scans_service_spec.rb998ee/spec/finders/concerns/epics/with_access_check_spec.rb999ee/spec/lib/gitlab/ingestion/bulk_insertable_task_spec.rb1000ee/spec/workers/adjourned_projects_deletion_cron_worker_spec.rb1001ee/spec/services/app_sec/dast/scans/create_service_spec.rb1002ee/spec/graphql/mutations/merge_requests/set_assignees_spec.rb1003ee/spec/lib/gitlab/ci/templates/container_scanning_latest_gitlab_ci_yaml_spec.rb1004ee/spec/policies/dast_scanner_profile_policy_spec.rb1005ee/spec/services/ci/runners/reset_registration_token_service_spec.rb1006ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_first_added_to_board_spec.rb1007ee/spec/lib/sidebars/groups/menus/epics_menu_spec.rb1008ee/spec/components/namespaces/free_user_cap/usage_quota_trial_alert_component_spec.rb1009ee/spec/models/vulnerabilities/finding_identifier_spec.rb1010ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_label_removed_spec.rb1011ee/spec/models/iteration_note_spec.rb1012ee/spec/services/merge_requests/mergeability/check_external_status_checks_passed_service_spec.rb1013ee/spec/workers/elastic/namespace_update_worker_spec.rb1014ee/spec/workers/vulnerability_exports/export_worker_spec.rb1015ee/spec/helpers/projects/learn_gitlab_helper_spec.rb1016ee/spec/models/ci/sources/project_spec.rb1017ee/spec/finders/ee/projects_finder_spec.rb1018ee/spec/services/jira/jql_builder_service_spec.rb1019ee/spec/lib/gitlab/ci/minutes/pipeline_consumption_spec.rb1020ee/spec/helpers/gitlab_subscriptions/upcoming_reconciliation_helper_spec.rb1021ee/spec/workers/compliance_management/update_default_framework_worker_spec.rb1022ee/spec/views/projects/project_members/index.html.haml_spec.rb1023ee/spec/graphql/types/app_sec/fuzzing/coverage/corpus_type_spec.rb1024ee/spec/workers/personal_access_tokens/instance/policy_worker_spec.rb1025ee/spec/lib/gitlab/license_scanning/artifact_scanner_spec.rb1026ee/spec/lib/gitlab/graphql/aggregations/epics/lazy_epic_aggregate_spec.rb1027ee/spec/helpers/projects/on_demand_scans_helper_spec.rb1028ee/spec/models/concerns/elastic/namespace_update_spec.rb1029ee/spec/workers/sync_seat_link_worker_spec.rb1030ee/spec/models/ee/merge_request/metrics_spec.rb1031ee/spec/lib/ee/gitlab/ci/pipeline/chain/validate/external_spec.rb1032ee/spec/models/dora/watchers/deployment_watcher_spec.rb1033ee/spec/services/users_ops_dashboard_projects/destroy_service_spec.rb1034ee/spec/workers/geo/repository_cleanup_worker_spec.rb1035ee/spec/lib/gitlab/exclusive_lease_spec.rb1036ee/spec/models/vulnerabilities/remediation_spec.rb1037ee/spec/models/geo/hashed_storage_migrated_event_spec.rb1038ee/spec/lib/gitlab/auth/ldap/adapter_spec.rb1039ee/spec/models/work_items/widgets/status_spec.rb1040ee/spec/services/geo/hashed_storage_attachments_migration_service_spec.rb1041ee/spec/services/protected_environments/search_service_spec.rb1042ee/spec/finders/auth/provisioned_users_finder_spec.rb1043ee/spec/models/zoekt/indexed_namespace_spec.rb1044ee/spec/lib/gitlab/auth/saml/membership_updater_spec.rb1045ee/spec/serializers/ee/issue_sidebar_extras_entity_spec.rb1046ee/spec/lib/gitlab/usage/metrics/instrumentations/approval_project_rules_with_user_metric_spec.rb1047ee/spec/serializers/vulnerabilities/response_entity_spec.rb1048ee/spec/lib/bulk_imports/projects/pipelines/issues_pipeline_spec.rb1049ee/spec/policies/vulnerabilities/issue_link_policy_spec.rb1050ee/spec/services/elastic/index_projects_by_range_service_spec.rb1051ee/spec/graphql/types/incident_management/issuable_resource_link_type_spec.rb1052ee/spec/lib/gitlab/ci/reports/security/locations/dependency_scanning_spec.rb1053ee/spec/lib/gitlab/ci/minutes/cached_quota_spec.rb1054ee/spec/graphql/types/incident_management/oncall_participant_type_spec.rb1055ee/spec/graphql/mutations/dast_site_validations/revoke_spec.rb1056ee/spec/models/package_metadata/package_version_spec.rb1057ee/spec/helpers/analytics/analytics_dashboards_helper_spec.rb1058ee/spec/lib/gitlab/subscription_portal/client_spec.rb1059ee/spec/lib/ee/gitlab/hook_data/issue_builder_spec.rb1060ee/spec/models/vulnerabilities/finding_link_spec.rb1061ee/spec/views/shared/credentials_inventory/ssh_keys/_ssh_key.html.haml_spec.rb1062ee/spec/services/gitlab_subscriptions/plan_upgrade_service_spec.rb1063ee/spec/lib/sidebars/user_settings/menus/usage_quotas_menu_spec.rb1064ee/spec/services/merge_requests/stream_approval_audit_event_service_spec.rb1065ee/spec/services/security/security_orchestration_policies/fetch_policy_service_spec.rb1066ee/spec/lib/gitlab/geo/log_cursor/events/event_spec.rb1067ee/spec/services/ee/git/wiki_push_service_spec.rb1068ee/spec/workers/projects/deregister_suggested_reviewers_project_worker_spec.rb1069ee/spec/services/issuable/destroy_label_links_service_spec.rb1070ee/spec/policies/resource_weight_event_policy_spec.rb1071ee/spec/lib/ee/gitlab/slash_commands/incident_management/incident_new_spec.rb1072ee/spec/services/ee/integrations/slack_interactions/incident_management/incident_modal_opened_service_spec.rb1073ee/spec/services/boards/epic_user_preferences/update_service_spec.rb1074ee/spec/lib/gitlab/auth/group_saml/failure_handler_spec.rb1075ee/spec/lib/ee/gitlab/ci/pipeline/chain/validate/security_orchestration_policy_spec.rb1076ee/spec/models/ldap_group_link_spec.rb1077ee/spec/lib/gitlab/usage/metrics/instrumentations/count_slack_app_installations_gbp_metric_spec.rb1078ee/spec/services/integrations/slack_options/label_search_handler_spec.rb1079ee/spec/lib/system_check/geo/geo_database_configured_check_spec.rb1080ee/spec/serializers/ee/blob_entity_spec.rb1081ee/spec/helpers/admin/repo_size_limit_helper_spec.rb1082ee/spec/lib/ee/gitlab/git_access_design_spec.rb1083ee/spec/services/elastic/index_projects_service_spec.rb1084ee/spec/services/protected_environments/environment_dropdown_service_spec.rb1085ee/spec/services/ee/incident_management/issuable_escalation_statuses/create_service_spec.rb1086ee/spec/graphql/mutations/todos/create_spec.rb1087ee/spec/models/concerns/projects/custom_branch_rule_spec.rb1088ee/spec/views/shared/_kerberos_clone_button.html.haml_spec.rb1089ee/spec/views/layouts/nav/sidebar/_push_rules_link.html.haml_spec.rb1090ee/spec/models/ee/users/banned_user_spec.rb1091ee/spec/helpers/incident_management/escalation_policy_helper_spec.rb1092ee/spec/lib/ee/api/entities/member_role_spec.rb1093ee/spec/elastic/migrate/20210813134600_add_namespace_ancestry_to_issues_mapping_spec.rb1094ee/spec/graphql/ee/types/mutation_type_spec.rb1095ee/spec/lib/omni_auth/strategies/kerberos_spec.rb1096ee/spec/helpers/trial_status_widget_helper_spec.rb1097ee/spec/views/shared/web_hooks/_group_web_hook_disabled_alert.html.haml_spec.rb1098ee/spec/graphql/types/group_stats_type_spec.rb1099ee/spec/lib/gitlab/code_owners/reference_extractor_spec.rb1100ee/spec/serializers/status_page/renderer_spec.rb1101ee/spec/services/gitlab_subscriptions/create_lead_service_spec.rb1102ee/spec/lib/gitlab/usage/metrics/instrumentations/advanced_search/lucene_version_metric_spec.rb1103ee/spec/services/personal_access_tokens/instance/update_lifetime_service_spec.rb1104ee/spec/graphql/types/protected_environments/deploy_access_level_type_spec.rb1105ee/spec/lib/gitlab/usage/metrics/instrumentations/advanced_search/version_metric_spec.rb1106ee/spec/workers/ci/sync_reports_to_report_approval_rules_worker_spec.rb1107ee/spec/graphql/types/security_report_summary_section_type_spec.rb1108ee/spec/graphql/types/branch_rules/approval_project_rule_type_spec.rb1109ee/spec/graphql/types/dora_metric_type_enum_spec.rb1110ee/spec/graphql/types/dast/profile_cadence_enum_spec.rb1111ee/spec/services/sbom/ingestion/tasks/base_spec.rb1112ee/spec/lib/api/entities/protected_environments/approval_rule_spec.rb1113ee/spec/lib/gitlab/email/feature_flag_wrapper_spec.rb1114ee/spec/graphql/types/vulnerability_details/markdown_type_spec.rb1115ee/spec/db/production/license_spec.rb1116Running all node tests without filter1117Running all node tests without filter1118Running command: bundle exec rspec -Ispec -rspec_helper --color --failure-exit-code 1 --error-exit-code 2 --format documentation --format RspecJunitFormatter --out rspec/junit_rspec.xml --tag ~quarantine --tag ~level:background_migration --default-path {ee -- ee/spec/services/search/project_service_spec.rb ee/spec/models/ee/ci/job_artifact_spec.rb ee/spec/lib/gitlab/analytics/type_of_work/tasks_by_type_spec.rb ee/spec/services/epic_issues/create_service_spec.rb ee/spec/models/merge_request/blocking_spec.rb ee/spec/lib/ee/gitlab/git_access_project_spec.rb ee/spec/models/security/finding_spec.rb ee/spec/services/deployments/approval_service_spec.rb ee/spec/finders/epics/cross_hierarchy_children_finder_spec.rb ee/spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb ee/spec/models/protected_environment_spec.rb ee/spec/lib/analytics/devops_adoption/snapshot_calculator_spec.rb ee/spec/services/resource_access_tokens/create_service_spec.rb ee/spec/models/ee/protected_branch_spec.rb ee/spec/helpers/vulnerabilities_helper_spec.rb ee/spec/finders/geo/project_wiki_repository_registry_finder_spec.rb ee/spec/serializers/member_entity_spec.rb ee/spec/workers/geo/repository_registry_sync_worker_spec.rb ee/spec/models/ee/list_spec.rb ee/spec/services/ee/members/create_service_spec.rb ee/spec/models/visible_approvable_spec.rb ee/spec/workers/store_security_reports_worker_spec.rb ee/spec/models/ee/iterations/cadence_spec.rb ee/spec/graphql/resolvers/vulnerabilities_resolver_spec.rb ee/spec/services/ci/compare_license_scanning_reports_service_spec.rb ee/spec/services/wiki_pages/destroy_service_spec.rb ee/spec/graphql/types/project_type_spec.rb ee/spec/services/analytics/cycle_analytics/aggregator_service_spec.rb ee/spec/workers/elastic/project_transfer_worker_spec.rb ee/spec/models/vulnerabilities/statistic_spec.rb ee/spec/services/ci/trigger_downstream_subscription_service_spec.rb ee/spec/services/security/security_orchestration_policies/policy_commit_service_spec.rb ee/spec/models/ci/daily_build_group_report_result_spec.rb ee/spec/services/ee/allowed_email_domains/update_service_spec.rb ee/spec/elastic/migrate/20220824123000_add_label_ids_and_schema_version_to_issues_mapping_spec.rb ee/spec/services/ee/merge_requests/execute_approval_hooks_service_spec.rb ee/spec/lib/gitlab/code_owners/users_loader_spec.rb ee/spec/services/app_sec/dast/sites/find_or_create_service_spec.rb ee/spec/views/registrations/welcome/show.html.haml_spec.rb ee/spec/services/ci/process_pipeline_service_spec.rb ee/spec/services/geo/repository_verification_secondary_service_spec.rb ee/spec/views/shared/_mirror_status.html.haml_spec.rb ee/spec/lib/gitlab/vulnerabilities/standard_vulnerability_spec.rb ee/spec/services/security/ingestion/tasks/ingest_finding_identifiers_spec.rb ee/spec/presenters/subscription_presenter_spec.rb ee/spec/services/ci/create_pipeline_service/dast_configuration_spec.rb ee/spec/policies/ee/namespaces/user_namespace_policy_spec.rb ee/spec/services/deployments/auto_rollback_service_spec.rb ee/spec/lib/gitlab/auth/smartcard/ldap_certificate_spec.rb ee/spec/lib/ee/sidebars/projects/menus/security_compliance_menu_spec.rb ee/spec/services/releases/create_service_spec.rb ee/spec/lib/gitlab/geo/oauth/logout_token_spec.rb ee/spec/lib/gitlab/geo/health_check_spec.rb ee/spec/services/security/store_grouped_scans_service_spec.rb ee/spec/finders/concerns/epics/with_access_check_spec.rb ee/spec/lib/gitlab/ingestion/bulk_insertable_task_spec.rb ee/spec/workers/adjourned_projects_deletion_cron_worker_spec.rb ee/spec/services/app_sec/dast/scans/create_service_spec.rb ee/spec/graphql/mutations/merge_requests/set_assignees_spec.rb ee/spec/lib/gitlab/ci/templates/container_scanning_latest_gitlab_ci_yaml_spec.rb ee/spec/policies/dast_scanner_profile_policy_spec.rb ee/spec/services/ci/runners/reset_registration_token_service_spec.rb ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_first_added_to_board_spec.rb ee/spec/lib/sidebars/groups/menus/epics_menu_spec.rb ee/spec/components/namespaces/free_user_cap/usage_quota_trial_alert_component_spec.rb ee/spec/models/vulnerabilities/finding_identifier_spec.rb ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_label_removed_spec.rb ee/spec/models/iteration_note_spec.rb ee/spec/services/merge_requests/mergeability/check_external_status_checks_passed_service_spec.rb ee/spec/workers/elastic/namespace_update_worker_spec.rb ee/spec/workers/vulnerability_exports/export_worker_spec.rb ee/spec/helpers/projects/learn_gitlab_helper_spec.rb ee/spec/models/ci/sources/project_spec.rb ee/spec/finders/ee/projects_finder_spec.rb ee/spec/services/jira/jql_builder_service_spec.rb ee/spec/lib/gitlab/ci/minutes/pipeline_consumption_spec.rb ee/spec/helpers/gitlab_subscriptions/upcoming_reconciliation_helper_spec.rb ee/spec/workers/compliance_management/update_default_framework_worker_spec.rb ee/spec/views/projects/project_members/index.html.haml_spec.rb ee/spec/graphql/types/app_sec/fuzzing/coverage/corpus_type_spec.rb ee/spec/workers/personal_access_tokens/instance/policy_worker_spec.rb ee/spec/lib/gitlab/license_scanning/artifact_scanner_spec.rb ee/spec/lib/gitlab/graphql/aggregations/epics/lazy_epic_aggregate_spec.rb ee/spec/helpers/projects/on_demand_scans_helper_spec.rb ee/spec/models/concerns/elastic/namespace_update_spec.rb ee/spec/workers/sync_seat_link_worker_spec.rb ee/spec/models/ee/merge_request/metrics_spec.rb ee/spec/lib/ee/gitlab/ci/pipeline/chain/validate/external_spec.rb ee/spec/models/dora/watchers/deployment_watcher_spec.rb ee/spec/services/users_ops_dashboard_projects/destroy_service_spec.rb ee/spec/workers/geo/repository_cleanup_worker_spec.rb ee/spec/lib/gitlab/exclusive_lease_spec.rb ee/spec/models/vulnerabilities/remediation_spec.rb ee/spec/models/geo/hashed_storage_migrated_event_spec.rb ee/spec/lib/gitlab/auth/ldap/adapter_spec.rb ee/spec/models/work_items/widgets/status_spec.rb ee/spec/services/geo/hashed_storage_attachments_migration_service_spec.rb ee/spec/services/protected_environments/search_service_spec.rb ee/spec/finders/auth/provisioned_users_finder_spec.rb ee/spec/models/zoekt/indexed_namespace_spec.rb ee/spec/lib/gitlab/auth/saml/membership_updater_spec.rb ee/spec/serializers/ee/issue_sidebar_extras_entity_spec.rb ee/spec/lib/gitlab/usage/metrics/instrumentations/approval_project_rules_with_user_metric_spec.rb ee/spec/serializers/vulnerabilities/response_entity_spec.rb ee/spec/lib/bulk_imports/projects/pipelines/issues_pipeline_spec.rb ee/spec/policies/vulnerabilities/issue_link_policy_spec.rb ee/spec/services/elastic/index_projects_by_range_service_spec.rb ee/spec/graphql/types/incident_management/issuable_resource_link_type_spec.rb ee/spec/lib/gitlab/ci/reports/security/locations/dependency_scanning_spec.rb ee/spec/lib/gitlab/ci/minutes/cached_quota_spec.rb ee/spec/graphql/types/incident_management/oncall_participant_type_spec.rb ee/spec/graphql/mutations/dast_site_validations/revoke_spec.rb ee/spec/models/package_metadata/package_version_spec.rb ee/spec/helpers/analytics/analytics_dashboards_helper_spec.rb ee/spec/lib/gitlab/subscription_portal/client_spec.rb ee/spec/lib/ee/gitlab/hook_data/issue_builder_spec.rb ee/spec/models/vulnerabilities/finding_link_spec.rb ee/spec/views/shared/credentials_inventory/ssh_keys/_ssh_key.html.haml_spec.rb ee/spec/services/gitlab_subscriptions/plan_upgrade_service_spec.rb ee/spec/lib/sidebars/user_settings/menus/usage_quotas_menu_spec.rb ee/spec/services/merge_requests/stream_approval_audit_event_service_spec.rb ee/spec/services/security/security_orchestration_policies/fetch_policy_service_spec.rb ee/spec/lib/gitlab/geo/log_cursor/events/event_spec.rb ee/spec/services/ee/git/wiki_push_service_spec.rb ee/spec/workers/projects/deregister_suggested_reviewers_project_worker_spec.rb ee/spec/services/issuable/destroy_label_links_service_spec.rb ee/spec/policies/resource_weight_event_policy_spec.rb ee/spec/lib/ee/gitlab/slash_commands/incident_management/incident_new_spec.rb ee/spec/services/ee/integrations/slack_interactions/incident_management/incident_modal_opened_service_spec.rb ee/spec/services/boards/epic_user_preferences/update_service_spec.rb ee/spec/lib/gitlab/auth/group_saml/failure_handler_spec.rb ee/spec/lib/ee/gitlab/ci/pipeline/chain/validate/security_orchestration_policy_spec.rb ee/spec/models/ldap_group_link_spec.rb ee/spec/lib/gitlab/usage/metrics/instrumentations/count_slack_app_installations_gbp_metric_spec.rb ee/spec/services/integrations/slack_options/label_search_handler_spec.rb ee/spec/lib/system_check/geo/geo_database_configured_check_spec.rb ee/spec/serializers/ee/blob_entity_spec.rb ee/spec/helpers/admin/repo_size_limit_helper_spec.rb ee/spec/lib/ee/gitlab/git_access_design_spec.rb ee/spec/services/elastic/index_projects_service_spec.rb ee/spec/services/protected_environments/environment_dropdown_service_spec.rb ee/spec/services/ee/incident_management/issuable_escalation_statuses/create_service_spec.rb ee/spec/graphql/mutations/todos/create_spec.rb ee/spec/models/concerns/projects/custom_branch_rule_spec.rb ee/spec/views/shared/_kerberos_clone_button.html.haml_spec.rb ee/spec/views/layouts/nav/sidebar/_push_rules_link.html.haml_spec.rb ee/spec/models/ee/users/banned_user_spec.rb ee/spec/helpers/incident_management/escalation_policy_helper_spec.rb ee/spec/lib/ee/api/entities/member_role_spec.rb ee/spec/elastic/migrate/20210813134600_add_namespace_ancestry_to_issues_mapping_spec.rb ee/spec/graphql/ee/types/mutation_type_spec.rb ee/spec/lib/omni_auth/strategies/kerberos_spec.rb ee/spec/helpers/trial_status_widget_helper_spec.rb ee/spec/views/shared/web_hooks/_group_web_hook_disabled_alert.html.haml_spec.rb ee/spec/graphql/types/group_stats_type_spec.rb ee/spec/lib/gitlab/code_owners/reference_extractor_spec.rb ee/spec/serializers/status_page/renderer_spec.rb ee/spec/services/gitlab_subscriptions/create_lead_service_spec.rb ee/spec/lib/gitlab/usage/metrics/instrumentations/advanced_search/lucene_version_metric_spec.rb ee/spec/services/personal_access_tokens/instance/update_lifetime_service_spec.rb ee/spec/graphql/types/protected_environments/deploy_access_level_type_spec.rb ee/spec/lib/gitlab/usage/metrics/instrumentations/advanced_search/version_metric_spec.rb ee/spec/workers/ci/sync_reports_to_report_approval_rules_worker_spec.rb ee/spec/graphql/types/security_report_summary_section_type_spec.rb ee/spec/graphql/types/branch_rules/approval_project_rule_type_spec.rb ee/spec/graphql/types/dora_metric_type_enum_spec.rb ee/spec/graphql/types/dast/profile_cadence_enum_spec.rb ee/spec/services/sbom/ingestion/tasks/base_spec.rb ee/spec/lib/api/entities/protected_environments/approval_rule_spec.rb ee/spec/lib/gitlab/email/feature_flag_wrapper_spec.rb ee/spec/graphql/types/vulnerability_details/markdown_type_spec.rb ee/spec/db/production/license_spec.rbKnapsack report generator started!1119warning: parser/current is loading parser/ruby30, which recognizes 3.0.5-compliant syntax, but you are running 3.0.6.1121Run options: exclude {:quarantine=>true, :level=>"background_migration"}1122Test environment set up in 0.632868584 seconds1123Search::ProjectService1124 when a single project provided1125 behaves like EE search service shared examples1126 #use_elasticsearch?1127 delegates to Gitlab::CurrentSettings.search_using_elasticsearch?1128 when requesting basic_search1129 returns false1130 #execute1131 returns an Elastic result object when elasticsearch is enabled1132 returns an ordinary result object when elasticsearch is disabled1133 advanced syntax queries for all scopes1134 with query "display bug" and scope merge_requests1135 allows advanced query1136 with query "display bug" and scope notes1137 allows advanced query1138 with query "display bug" and scope commits1139 allows advanced query1140 with query "display bug" and scope blobs1141 allows advanced query1142 with query "display bug" and scope projects1143 allows advanced query1144 with query "display bug" and scope issues1145 allows advanced query1146 with query "display bug" and scope wiki_blobs1147 allows advanced query1148 with query "display bug" and scope milestones1149 allows advanced query1150 with query bug -display and scope merge_requests1151 allows advanced query1152 with query bug -display and scope notes1153 allows advanced query1154 with query bug -display and scope commits1155 allows advanced query1156 with query bug -display and scope blobs1157 allows advanced query1158 with query bug -display and scope projects1159 allows advanced query1160 with query bug -display and scope issues1161 allows advanced query1162 with query bug -display and scope wiki_blobs1163 allows advanced query1164 with query bug -display and scope milestones1165 allows advanced query1166 with query bug display | sound and scope merge_requests1167 allows advanced query1168 with query bug display | sound and scope notes1169 allows advanced query1170 with query bug display | sound and scope commits1171 allows advanced query1172 with query bug display | sound and scope blobs1173 allows advanced query1174 with query bug display | sound and scope projects1175 allows advanced query1176 with query bug display | sound and scope issues1177 allows advanced query1178 with query bug display | sound and scope wiki_blobs1179 allows advanced query1180 with query bug display | sound and scope milestones1181 allows advanced query1182 with query bug | (display +sound) and scope merge_requests1183 allows advanced query1184 with query bug | (display +sound) and scope notes1185 allows advanced query1186 with query bug | (display +sound) and scope commits1187 allows advanced query1188 with query bug | (display +sound) and scope blobs1189 allows advanced query1190 with query bug | (display +sound) and scope projects1191 allows advanced query1192 with query bug | (display +sound) and scope issues1193 allows advanced query1194 with query bug | (display +sound) and scope wiki_blobs1195 allows advanced query1196 with query bug | (display +sound) and scope milestones1197 allows advanced query1198 with query bug find_by_* and scope merge_requests1199 allows advanced query1200 with query bug find_by_* and scope notes1201 allows advanced query1202 with query bug find_by_* and scope commits1203 allows advanced query1204 with query bug find_by_* and scope blobs1205 allows advanced query1206 with query bug find_by_* and scope projects1207 allows advanced query1208 with query bug find_by_* and scope issues1209 allows advanced query1210 with query bug find_by_* and scope wiki_blobs1211 allows advanced query1212 with query bug find_by_* and scope milestones1213 allows advanced query1214 with query argument \-last and scope merge_requests1215 allows advanced query1216 with query argument \-last and scope notes1217 allows advanced query1218 with query argument \-last and scope commits1219 allows advanced query1220 with query argument \-last and scope blobs1221 allows advanced query1222 with query argument \-last and scope projects1223 allows advanced query1224 with query argument \-last and scope issues1225 allows advanced query1226 with query argument \-last and scope wiki_blobs1227 allows advanced query1228 with query argument \-last and scope milestones1229 allows advanced query1230 and project is archived1231 uses basic project search1232 #elasticsearchable_scope1233 is set to project1234 when the scope is users1235 is nil1236 when searching with Zoekt1237 searches with Zoekt1238 when project does not have Zoekt enabled1239 does not search with Zoekt1240 when scope is not blobs1241 does not search with Zoekt1242 when basic_search is requested1243 does not search with Zoekt1244 when advanced search is requested1245 does not search with Zoekt1246 when a multiple projects provided1247 behaves like EE search service shared examples1248 #use_elasticsearch?1249 delegates to Gitlab::CurrentSettings.search_using_elasticsearch?1250 when requesting basic_search1251 returns false1252 #execute1253 returns an Elastic result object when elasticsearch is enabled1254 returns an ordinary result object when elasticsearch is disabled1255 advanced syntax queries for all scopes1256 with query "display bug" and scope merge_requests1257 allows advanced query1258 with query "display bug" and scope notes1259 allows advanced query1260 with query "display bug" and scope commits1261 allows advanced query1262 with query "display bug" and scope blobs1263 allows advanced query1264 with query "display bug" and scope projects1265 allows advanced query1266 with query "display bug" and scope issues1267 allows advanced query1268 with query "display bug" and scope wiki_blobs1269 allows advanced query1270 with query "display bug" and scope milestones1271 allows advanced query1272 with query bug -display and scope merge_requests1273 allows advanced query1274 with query bug -display and scope notes1275 allows advanced query1276 with query bug -display and scope commits1277 allows advanced query1278 with query bug -display and scope blobs1279 allows advanced query1280 with query bug -display and scope projects1281 allows advanced query1282 with query bug -display and scope issues1283 allows advanced query1284 with query bug -display and scope wiki_blobs1285 allows advanced query1286 with query bug -display and scope milestones1287 allows advanced query1288 with query bug display | sound and scope merge_requests1289 allows advanced query1290 with query bug display | sound and scope notes1291 allows advanced query1292 with query bug display | sound and scope commits1293 allows advanced query1294 with query bug display | sound and scope blobs1295 allows advanced query1296 with query bug display | sound and scope projects1297 allows advanced query1298 with query bug display | sound and scope issues1299 allows advanced query1300 with query bug display | sound and scope wiki_blobs1301 allows advanced query1302 with query bug display | sound and scope milestones1303 allows advanced query1304 with query bug | (display +sound) and scope merge_requests1305 allows advanced query1306 with query bug | (display +sound) and scope notes1307 allows advanced query1308 with query bug | (display +sound) and scope commits1309 allows advanced query1310 with query bug | (display +sound) and scope blobs1311 allows advanced query1312 with query bug | (display +sound) and scope projects1313 allows advanced query1314 with query bug | (display +sound) and scope issues1315 allows advanced query1316 with query bug | (display +sound) and scope wiki_blobs1317 allows advanced query1318 with query bug | (display +sound) and scope milestones1319 allows advanced query1320 with query bug find_by_* and scope merge_requests1321 allows advanced query1322 with query bug find_by_* and scope notes1323 allows advanced query1324 with query bug find_by_* and scope commits1325 allows advanced query1326 with query bug find_by_* and scope blobs1327 allows advanced query1328 with query bug find_by_* and scope projects1329 allows advanced query1330 with query bug find_by_* and scope issues1331 allows advanced query1332 with query bug find_by_* and scope wiki_blobs1333 allows advanced query1334 with query bug find_by_* and scope milestones1335 allows advanced query1336 with query argument \-last and scope merge_requests1337 allows advanced query1338 with query argument \-last and scope notes1339 allows advanced query1340 with query argument \-last and scope commits1341 allows advanced query1342 with query argument \-last and scope blobs1343 allows advanced query1344 with query argument \-last and scope projects1345 allows advanced query1346 with query argument \-last and scope issues1347 allows advanced query1348 with query argument \-last and scope wiki_blobs1349 allows advanced query1350 with query argument \-last and scope milestones1351 allows advanced query1352 default branch support1353 #use_default_branch?1354 when repository_ref param is blank1355 is expected to be truthy1356 when repository_ref param provided1357 search_scope: "issues", default_branch_given: true, use_default_branch: true1358 is expected to eq true1359 search_scope: "issues", default_branch_given: false, use_default_branch: true1360 is expected to eq true1361 search_scope: "merge_requests", default_branch_given: true, use_default_branch: true1362 is expected to eq true1363 search_scope: "merge_requests", default_branch_given: false, use_default_branch: true1364 is expected to eq true1365 search_scope: "notes", default_branch_given: true, use_default_branch: true1366 is expected to eq true1367 search_scope: "notes", default_branch_given: false, use_default_branch: true1368 is expected to eq true1369 search_scope: "milestones", default_branch_given: true, use_default_branch: true1370 is expected to eq true1371 search_scope: "milestones", default_branch_given: false, use_default_branch: true1372 is expected to eq true1373 search_scope: "blobs", default_branch_given: true, use_default_branch: true1374 is expected to eq true1375 search_scope: "blobs", default_branch_given: false, use_default_branch: false1376 is expected to eq false1377 search_scope: "wiki_blobs", default_branch_given: true, use_default_branch: true1378 is expected to eq true1379 search_scope: "wiki_blobs", default_branch_given: false, use_default_branch: false1380 is expected to eq false1381 search_scope: "commits", default_branch_given: true, use_default_branch: true1382 is expected to eq true1383 search_scope: "commits", default_branch_given: false, use_default_branch: false1384 is expected to eq false1385 #execute1386 returns Elastic results when searching non-default branch1387 returns ordinary results when searching non-default branch1388 visibility1389 merge request1390 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11391 behaves like search respects visibility1392 respects visibility1393 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11394 behaves like search respects visibility1395 respects visibility1396 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11397 behaves like search respects visibility1398 respects visibility1399 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11400 behaves like search respects visibility1401 respects visibility1402 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11403 behaves like search respects visibility1404 respects visibility1405 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11406 behaves like search respects visibility1407 respects visibility1408 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11409 behaves like search respects visibility1410 respects visibility1411 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01412 behaves like search respects visibility1413 respects visibility1414 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11415 behaves like search respects visibility1416 respects visibility1417 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01418 behaves like search respects visibility1419 respects visibility1420 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01421 behaves like search respects visibility1422 respects visibility1423 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01424 behaves like search respects visibility1425 respects visibility1426 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01427 behaves like search respects visibility1428 respects visibility1429 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01430 behaves like search respects visibility1431 respects visibility1432 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01433 behaves like search respects visibility1434 respects visibility1435 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01436 behaves like search respects visibility1437 respects visibility1438 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11439 behaves like search respects visibility1440 respects visibility1441 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11442 behaves like search respects visibility1443 respects visibility1444 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11445 behaves like search respects visibility1446 respects visibility1447 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11448 behaves like search respects visibility1449 respects visibility1450 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11451 behaves like search respects visibility1452 respects visibility1453 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01454 behaves like search respects visibility1455 respects visibility1456 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11457 behaves like search respects visibility1458 respects visibility1459 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01460 behaves like search respects visibility1461 respects visibility1462 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11463 behaves like search respects visibility1464 respects visibility1465 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01466 behaves like search respects visibility1467 respects visibility1468 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01469 behaves like search respects visibility1470 respects visibility1471 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01472 behaves like search respects visibility1473 respects visibility1474 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01475 behaves like search respects visibility1476 respects visibility1477 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01478 behaves like search respects visibility1479 respects visibility1480 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01481 behaves like search respects visibility1482 respects visibility1483 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01484 behaves like search respects visibility1485 respects visibility1486 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11487 behaves like search respects visibility1488 respects visibility1489 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01490 behaves like search respects visibility1491 respects visibility1492 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11493 behaves like search respects visibility1494 respects visibility1495 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01496 behaves like search respects visibility1497 respects visibility1498 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01499 behaves like search respects visibility1500 respects visibility1501 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01502 behaves like search respects visibility1503 respects visibility1504 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01505 behaves like search respects visibility1506 respects visibility1507 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01508 behaves like search respects visibility1509 respects visibility1510 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01511 behaves like search respects visibility1512 respects visibility1513 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01514 behaves like search respects visibility1515 respects visibility1516 note1517 on issues1518 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 21519 behaves like search respects visibility1520 respects visibility1521 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11522 behaves like search respects visibility1523 respects visibility1524 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 21525 behaves like search respects visibility1526 respects visibility1527 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11528 behaves like search respects visibility1529 respects visibility1530 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11531 behaves like search respects visibility1532 respects visibility1533 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11534 behaves like search respects visibility1535 respects visibility1536 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 21537 behaves like search respects visibility1538 respects visibility1539 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01540 behaves like search respects visibility1541 respects visibility1542 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 21543 behaves like search respects visibility1544 respects visibility1545 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11546 behaves like search respects visibility1547 respects visibility1548 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01549 behaves like search respects visibility1550 respects visibility1551 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01552 behaves like search respects visibility1553 respects visibility1554 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01555 behaves like search respects visibility1556 respects visibility1557 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01558 behaves like search respects visibility1559 respects visibility1560 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01561 behaves like search respects visibility1562 respects visibility1563 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01564 behaves like search respects visibility1565 respects visibility1566 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 21567 behaves like search respects visibility1568 respects visibility1569 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11570 behaves like search respects visibility1571 respects visibility1572 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 21573 behaves like search respects visibility1574 respects visibility1575 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11576 behaves like search respects visibility1577 respects visibility1578 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11579 behaves like search respects visibility1580 respects visibility1581 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01582 behaves like search respects visibility1583 respects visibility1584 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 21585 behaves like search respects visibility1586 respects visibility1587 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01588 behaves like search respects visibility1589 respects visibility1590 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 21591 behaves like search respects visibility1592 respects visibility1593 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11594 behaves like search respects visibility1595 respects visibility1596 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01597 behaves like search respects visibility1598 respects visibility1599 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01600 behaves like search respects visibility1601 respects visibility1602 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01603 behaves like search respects visibility1604 respects visibility1605 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01606 behaves like search respects visibility1607 respects visibility1608 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01609 behaves like search respects visibility1610 respects visibility1611 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01612 behaves like search respects visibility1613 respects visibility1614 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 21615 behaves like search respects visibility1616 respects visibility1617 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01618 behaves like search respects visibility1619 respects visibility1620 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 21621 behaves like search respects visibility1622 respects visibility1623 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11624 behaves like search respects visibility1625 respects visibility1626 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01627 behaves like search respects visibility1628 respects visibility1629 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01630 behaves like search respects visibility1631 respects visibility1632 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01633 behaves like search respects visibility1634 respects visibility1635 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01636 behaves like search respects visibility1637 respects visibility1638 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01639 behaves like search respects visibility1640 respects visibility1641 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01642 behaves like search respects visibility1643 respects visibility1644 on merge requests1645 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11646 behaves like search respects visibility1647 respects visibility1648 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11649 behaves like search respects visibility1650 respects visibility1651 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11652 behaves like search respects visibility1653 respects visibility1654 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11655 behaves like search respects visibility1656 respects visibility1657 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11658 behaves like search respects visibility1659 respects visibility1660 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11661 behaves like search respects visibility1662 respects visibility1663 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11664 behaves like search respects visibility1665 respects visibility1666 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01667 behaves like search respects visibility1668 respects visibility1669 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11670 behaves like search respects visibility1671 respects visibility1672 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01673 behaves like search respects visibility1674 respects visibility1675 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01676 behaves like search respects visibility1677 respects visibility1678 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01679 behaves like search respects visibility1680 respects visibility1681 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01682 behaves like search respects visibility1683 respects visibility1684 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01685 behaves like search respects visibility1686 respects visibility1687 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01688 behaves like search respects visibility1689 respects visibility1690 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01691 behaves like search respects visibility1692 respects visibility1693 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11694 behaves like search respects visibility1695 respects visibility1696 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11697 behaves like search respects visibility1698 respects visibility1699 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11700 behaves like search respects visibility1701 respects visibility1702 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11703 behaves like search respects visibility1704 respects visibility1705 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11706 behaves like search respects visibility1707 respects visibility1708 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01709 behaves like search respects visibility1710 respects visibility1711 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11712 behaves like search respects visibility1713 respects visibility1714 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01715 behaves like search respects visibility1716 respects visibility1717 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11718 behaves like search respects visibility1719 respects visibility1720 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01721 behaves like search respects visibility1722 respects visibility1723 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01724 behaves like search respects visibility1725 respects visibility1726 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01727 behaves like search respects visibility1728 respects visibility1729 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01730 behaves like search respects visibility1731 respects visibility1732 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01733 behaves like search respects visibility1734 respects visibility1735 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01736 behaves like search respects visibility1737 respects visibility1738 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01739 behaves like search respects visibility1740 respects visibility1741 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11742 behaves like search respects visibility1743 respects visibility1744 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01745 behaves like search respects visibility1746 respects visibility1747 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11748 behaves like search respects visibility1749 respects visibility1750 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01751 behaves like search respects visibility1752 respects visibility1753 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01754 behaves like search respects visibility1755 respects visibility1756 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01757 behaves like search respects visibility1758 respects visibility1759 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01760 behaves like search respects visibility1761 respects visibility1762 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01763 behaves like search respects visibility1764 respects visibility1765 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01766 behaves like search respects visibility1767 respects visibility1768 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01769 behaves like search respects visibility1770 respects visibility1771 on commits1772 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11773 behaves like search respects visibility1774 respects visibility1775 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11776 behaves like search respects visibility1777 respects visibility1778 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11779 behaves like search respects visibility1780 respects visibility1781 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11782 behaves like search respects visibility1783 respects visibility1784 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11785 behaves like search respects visibility1786 respects visibility1787 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11788 behaves like search respects visibility1789 respects visibility1790 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11791 behaves like search respects visibility1792 respects visibility1793 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01794 behaves like search respects visibility1795 respects visibility1796 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11797 behaves like search respects visibility1798 respects visibility1799 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11800 behaves like search respects visibility1801 respects visibility1802 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01803 behaves like search respects visibility1804 respects visibility1805 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01806 behaves like search respects visibility1807 respects visibility1808 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01809 behaves like search respects visibility1810 respects visibility1811 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01812 behaves like search respects visibility1813 respects visibility1814 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01815 behaves like search respects visibility1816 respects visibility1817 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01818 behaves like search respects visibility1819 respects visibility1820 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11821 behaves like search respects visibility1822 respects visibility1823 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11824 behaves like search respects visibility1825 respects visibility1826 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11827 behaves like search respects visibility1828 respects visibility1829 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11830 behaves like search respects visibility1831 respects visibility1832 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11833 behaves like search respects visibility1834 respects visibility1835 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01836 behaves like search respects visibility1837 respects visibility1838 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11839 behaves like search respects visibility1840 respects visibility1841 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01842 behaves like search respects visibility1843 respects visibility1844 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11845 behaves like search respects visibility1846 respects visibility1847 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11848 behaves like search respects visibility1849 respects visibility1850 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01851 behaves like search respects visibility1852 respects visibility1853 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01854 behaves like search respects visibility1855 respects visibility1856 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01857 behaves like search respects visibility1858 respects visibility1859 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01860 behaves like search respects visibility1861 respects visibility1862 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01863 behaves like search respects visibility1864 respects visibility1865 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01866 behaves like search respects visibility1867 respects visibility1868 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11869 behaves like search respects visibility1870 respects visibility1871 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01872 behaves like search respects visibility1873 respects visibility1874 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11875 behaves like search respects visibility1876 respects visibility1877 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01878 behaves like search respects visibility1879 respects visibility1880 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01881 behaves like search respects visibility1882 respects visibility1883 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01884 behaves like search respects visibility1885 respects visibility1886 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01887 behaves like search respects visibility1888 respects visibility1889 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01890 behaves like search respects visibility1891 respects visibility1892 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01893 behaves like search respects visibility1894 respects visibility1895 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01896 behaves like search respects visibility1897 respects visibility1898 on snippets1899 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11900 behaves like search respects visibility1901 respects visibility1902 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11903 behaves like search respects visibility1904 respects visibility1905 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11906 behaves like search respects visibility1907 respects visibility1908 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11909 behaves like search respects visibility1910 respects visibility1911 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11912 behaves like search respects visibility1913 respects visibility1914 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11915 behaves like search respects visibility1916 respects visibility1917 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11918 behaves like search respects visibility1919 respects visibility1920 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01921 behaves like search respects visibility1922 respects visibility1923 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11924 behaves like search respects visibility1925 respects visibility1926 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11927 behaves like search respects visibility1928 respects visibility1929 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01930 behaves like search respects visibility1931 respects visibility1932 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01933 behaves like search respects visibility1934 respects visibility1935 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01936 behaves like search respects visibility1937 respects visibility1938 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01939 behaves like search respects visibility1940 respects visibility1941 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01942 behaves like search respects visibility1943 respects visibility1944 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01945 behaves like search respects visibility1946 respects visibility1947 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11948 behaves like search respects visibility1949 respects visibility1950 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11951 behaves like search respects visibility1952 respects visibility1953 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11954 behaves like search respects visibility1955 respects visibility1956 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11957 behaves like search respects visibility1958 respects visibility1959 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11960 behaves like search respects visibility1961 respects visibility1962 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01963 behaves like search respects visibility1964 respects visibility1965 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11966 behaves like search respects visibility1967 respects visibility1968 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01969 behaves like search respects visibility1970 respects visibility1971 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11972 behaves like search respects visibility1973 respects visibility1974 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11975 behaves like search respects visibility1976 respects visibility1977 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01978 behaves like search respects visibility1979 respects visibility1980 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01981 behaves like search respects visibility1982 respects visibility1983 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01984 behaves like search respects visibility1985 respects visibility1986 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01987 behaves like search respects visibility1988 respects visibility1989 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01990 behaves like search respects visibility1991 respects visibility1992 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01993 behaves like search respects visibility1994 respects visibility1995 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11996 behaves like search respects visibility1997 respects visibility1998 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01999 behaves like search respects visibility2000 respects visibility2001 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12002 behaves like search respects visibility2003 respects visibility2004 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12005 behaves like search respects visibility2006 respects visibility2007 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02008 behaves like search respects visibility2009 respects visibility2010 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02011 behaves like search respects visibility2012 respects visibility2013 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02014 behaves like search respects visibility2015 respects visibility2016 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02017 behaves like search respects visibility2018 respects visibility2019 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02020 behaves like search respects visibility2021 respects visibility2022 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02023 behaves like search respects visibility2024 respects visibility2025 issue2026 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12027 behaves like search respects visibility2028 respects visibility2029 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12030 behaves like search respects visibility2031 respects visibility2032 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12033 behaves like search respects visibility2034 respects visibility2035 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12036 behaves like search respects visibility2037 respects visibility2038 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12039 behaves like search respects visibility2040 respects visibility2041 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 12042 behaves like search respects visibility2043 respects visibility2044 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12045 behaves like search respects visibility2046 respects visibility2047 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02048 behaves like search respects visibility2049 respects visibility2050 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12051 behaves like search respects visibility2052 respects visibility2053 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12054 behaves like search respects visibility2055 respects visibility2056 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02057 behaves like search respects visibility2058 respects visibility2059 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02060 behaves like search respects visibility2061 respects visibility2062 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02063 behaves like search respects visibility2064 respects visibility2065 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02066 behaves like search respects visibility2067 respects visibility2068 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02069 behaves like search respects visibility2070 respects visibility2071 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02072 behaves like search respects visibility2073 respects visibility2074 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12075 behaves like search respects visibility2076 respects visibility2077 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12078 behaves like search respects visibility2079 respects visibility2080 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12081 behaves like search respects visibility2082 respects visibility2083 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12084 behaves like search respects visibility2085 respects visibility2086 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12087 behaves like search respects visibility2088 respects visibility2089 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 02090 behaves like search respects visibility2091 respects visibility2092 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12093 behaves like search respects visibility2094 respects visibility2095 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02096 behaves like search respects visibility2097 respects visibility2098 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12099 behaves like search respects visibility2100 respects visibility2101 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12102 behaves like search respects visibility2103 respects visibility2104 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02105 behaves like search respects visibility2106 respects visibility2107 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02108 behaves like search respects visibility2109 respects visibility2110 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02111 behaves like search respects visibility2112 respects visibility2113 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02114 behaves like search respects visibility2115 respects visibility2116 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02117 behaves like search respects visibility2118 respects visibility2119 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02120 behaves like search respects visibility2121 respects visibility2122 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12123 behaves like search respects visibility2124 respects visibility2125 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02126 behaves like search respects visibility2127 respects visibility2128 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12129 behaves like search respects visibility2130 respects visibility2131 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12132 behaves like search respects visibility2133 respects visibility2134 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02135 behaves like search respects visibility2136 respects visibility2137 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02138 behaves like search respects visibility2139 respects visibility2140 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02141 behaves like search respects visibility2142 respects visibility2143 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02144 behaves like search respects visibility2145 respects visibility2146 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02147 behaves like search respects visibility2148 respects visibility2149 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02150 behaves like search respects visibility2151 respects visibility2152 wiki2153 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12154 behaves like search respects visibility2155 respects visibility2156 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12157 behaves like search respects visibility2158 respects visibility2159 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12160 behaves like search respects visibility2161 respects visibility2162 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12163 behaves like search respects visibility2164 respects visibility2165 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12166 behaves like search respects visibility2167 respects visibility2168 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 12169 behaves like search respects visibility2170 respects visibility2171 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12172 behaves like search respects visibility2173 respects visibility2174 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02175 behaves like search respects visibility2176 respects visibility2177 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12178 behaves like search respects visibility2179 respects visibility2180 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12181 behaves like search respects visibility2182 respects visibility2183 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02184 behaves like search respects visibility2185 respects visibility2186 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02187 behaves like search respects visibility2188 respects visibility2189 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02190 behaves like search respects visibility2191 respects visibility2192 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02193 behaves like search respects visibility2194 respects visibility2195 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02196 behaves like search respects visibility2197 respects visibility2198 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02199 behaves like search respects visibility2200 respects visibility2201 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12202 behaves like search respects visibility2203 respects visibility2204 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12205 behaves like search respects visibility2206 respects visibility2207 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12208 behaves like search respects visibility2209 respects visibility2210 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12211 behaves like search respects visibility2212 respects visibility2213 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12214 behaves like search respects visibility2215 respects visibility2216 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 02217 behaves like search respects visibility2218 respects visibility2219 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12220 behaves like search respects visibility2221 respects visibility2222 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02223 behaves like search respects visibility2224 respects visibility2225 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12226 behaves like search respects visibility2227 respects visibility2228 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12229 behaves like search respects visibility2230 respects visibility2231 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02232 behaves like search respects visibility2233 respects visibility2234 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02235 behaves like search respects visibility2236 respects visibility2237 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02238 behaves like search respects visibility2239 respects visibility2240 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02241 behaves like search respects visibility2242 respects visibility2243 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02244 behaves like search respects visibility2245 respects visibility2246 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02247 behaves like search respects visibility2248 respects visibility2249 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12250 behaves like search respects visibility2251 respects visibility2252 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02253 behaves like search respects visibility2254 respects visibility2255 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12256 behaves like search respects visibility2257 respects visibility2258 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12259 behaves like search respects visibility2260 respects visibility2261 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02262 behaves like search respects visibility2263 respects visibility2264 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02265 behaves like search respects visibility2266 respects visibility2267 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02268 behaves like search respects visibility2269 respects visibility2270 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02271 behaves like search respects visibility2272 respects visibility2273 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02274 behaves like search respects visibility2275 respects visibility2276 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02277 behaves like search respects visibility2278 respects visibility2279 milestone2280 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12281 respects visibility2282 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12283 respects visibility2284 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12285 respects visibility2286 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12287 respects visibility2288 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12289 respects visibility2290 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 12291 respects visibility2292 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12293 respects visibility2294 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 12295 respects visibility2296 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12297 respects visibility2298 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12299 respects visibility2300 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 12301 respects visibility2302 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 12303 respects visibility2304 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 12305 respects visibility2306 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 12307 respects visibility2308 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 12309 respects visibility2310 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 12311 respects visibility2312 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 12313 respects visibility2314 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 12315 respects visibility2316 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12317 respects visibility2318 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12319 respects visibility2320 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12321 respects visibility2322 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12323 respects visibility2324 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12325 respects visibility2326 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 12327 respects visibility2328 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12329 respects visibility2330 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02331 respects visibility2332 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12333 respects visibility2334 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12335 respects visibility2336 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02337 respects visibility2338 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02339 respects visibility2340 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 12341 respects visibility2342 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 02343 respects visibility2344 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 12345 respects visibility2346 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 12347 respects visibility2348 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02349 respects visibility2350 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02351 respects visibility2352 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12353 respects visibility2354 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12355 respects visibility2356 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12357 respects visibility2358 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12359 respects visibility2360 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12361 respects visibility2362 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 12363 respects visibility2364 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12365 respects visibility2366 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02367 respects visibility2368 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12369 respects visibility2370 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 02371 respects visibility2372 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02373 respects visibility2374 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02375 respects visibility2376 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02377 respects visibility2378 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02379 respects visibility2380 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02381 respects visibility2382 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02383 respects visibility2384 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12385 respects visibility2386 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12387 respects visibility2388 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12389 respects visibility2390 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12391 respects visibility2392 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12393 respects visibility2394 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 02395 respects visibility2396 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12397 respects visibility2398 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 12399 respects visibility2400 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12401 respects visibility2402 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12403 respects visibility2404 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 12405 respects visibility2406 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02407 respects visibility2408 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 12409 respects visibility2410 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 12411 respects visibility2412 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 12413 respects visibility2414 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 12415 respects visibility2416 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 12417 respects visibility2418 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02419 respects visibility2420 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12421 respects visibility2422 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12423 respects visibility2424 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12425 respects visibility2426 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12427 respects visibility2428 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12429 respects visibility2430 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 02431 respects visibility2432 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12433 respects visibility2434 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02435 respects visibility2436 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12437 respects visibility2438 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12439 respects visibility2440 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02441 respects visibility2442 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02443 respects visibility2444 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 12445 respects visibility2446 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 02447 respects visibility2448 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 12449 respects visibility2450 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 12451 respects visibility2452 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02453 respects visibility2454 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02455 respects visibility2456 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12457 respects visibility2458 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12459 respects visibility2460 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12461 respects visibility2462 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12463 respects visibility2464 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12465 respects visibility2466 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 02467 respects visibility2468 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12469 respects visibility2470 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02471 respects visibility2472 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12473 respects visibility2474 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 02475 respects visibility2476 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02477 respects visibility2478 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02479 respects visibility2480 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02481 respects visibility2482 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02483 respects visibility2484 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02485 respects visibility2486 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02487 respects visibility2488 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12489 respects visibility2490 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02491 respects visibility2492 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12493 respects visibility2494 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12495 respects visibility2496 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02497 respects visibility2498 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02499 respects visibility2500 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 12501 respects visibility2502 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 02503 respects visibility2504 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 12505 respects visibility2506 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 12507 respects visibility2508 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02509 respects visibility2510 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02511 respects visibility2512 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12513 respects visibility2514 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02515 respects visibility2516 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12517 respects visibility2518 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 02519 respects visibility2520 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02521 respects visibility2522 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02523 respects visibility2524 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02525 respects visibility2526 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02527 respects visibility2528 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02529 respects visibility2530 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02531 respects visibility2532 sorting2533 issues2534 sort: created_desc2535 sorts results by created_at2536 sort: created_asc2537 sorts results by created_at2538 sort: updated_desc2539 sorts results by updated_desc2540 sort: updated_asc2541 sorts results by updated_asc2542 merge requests2543 sort: created_desc2544 sorts results by created_at2545 sort: created_asc2546 sorts results by created_at2547 sort: updated_desc2548 sorts results by updated_desc2549 sort: updated_asc2550 sorts results by updated_asc2551Ci::JobArtifact2552 #save_verification_details2553 when direct upload is enabled for trace artifacts2554 does not create verification details2555 when direct upload is not enabled2556 does not create verification details2557 .with_verification_state2558 returns records with given scope2559 .checksummed2560 returns records with given scope2561 .not_checksummed2562 returns records with given scope2563 #save_verification_details2564 when model record is not part of verifiables scope2565 does not create verification details2566 when model_record is part of verifiables scope2567 creates verification details2568 #destroy2569 when pipeline is destroyed2570 creates a Geo delete event async2571 JobArtifact destroy fails2572 does not create a JobArtifactDeletedEvent2573 .file_types_for_report2574 returns the report file types for the report type2575 when given an unrecognized report type2576 raises error2577 .of_report_type2578 license_scanning_reports2579 is expected to eq [#<Ci::JobArtifact project_id: 21, file_type: "license_scanning", size: 20252, created_at: "2023-04-1...b_id: 4, locked: "unknown", partition_id: 100, accessibility: "public", verification_checksum: nil>]2580 cluster_image_scanning_reports2581 is expected to eq [#<Ci::JobArtifact project_id: 22, file_type: "cluster_image_scanning", size: 5783, created_at: "2023...b_id: 5, locked: "unknown", partition_id: 100, accessibility: "public", verification_checksum: nil>]2582 metrics_reports2583 when there is a metrics report2584 is expected to eq [#<Ci::JobArtifact project_id: 23, file_type: "metrics", size: 65, created_at: "2023-04-19 09:57:16.2...b_id: 6, locked: "unknown", partition_id: 100, accessibility: "public", verification_checksum: nil>]2585 when there is no metrics reports2586 is expected to be empty2587 coverage_fuzzing_reports2588 when there is a metrics report2589 is expected to eq [#<Ci::JobArtifact project_id: 25, file_type: "coverage_fuzzing", size: 1237, created_at: "2023-04-19...b_id: 8, locked: "unknown", partition_id: 100, accessibility: "public", verification_checksum: nil>]2590 when there is no coverage fuzzing reports2591 is expected to be empty2592 api_fuzzing_reports2593 when there is a metrics report2594 is expected to eq [#<Ci::JobArtifact project_id: 27, file_type: "api_fuzzing", size: 154668, created_at: "2023-04-19 09..._id: 10, locked: "unknown", partition_id: 100, accessibility: "public", verification_checksum: nil>]2595 when there is no coverage fuzzing reports2596 is expected to be empty2597 sbom_reports2598 when there is an sbom report2599 is expected to contain exactly #<Ci::JobArtifact project_id: 29, file_type: "cyclonedx", size: 11887, created_at: "2023-04-19 09:57:...b_id: 12, locked: "unknown", partition_id: 100, accessibility: "public", verification_checksum: nil>2600 when there is no sbom report2601 is expected to be empty2602 .security_reports2603 when the `file_types` parameter is provided2604 when the provided file_types is array2605 when there is a security report with the given value2606 is expected to eq [#<Ci::JobArtifact project_id: 32, file_type: "secret_detection", size: 1559, created_at: "2023-04-19..._id: 15, locked: "unknown", partition_id: 100, accessibility: "public", verification_checksum: nil>]2607 when there are no security reports with the given value2608 is expected to be empty2609 when the provided file_types is string2610 is expected to eq [#<Ci::JobArtifact project_id: 35, file_type: "secret_detection", size: 1559, created_at: "2023-04-19..._id: 18, locked: "unknown", partition_id: 100, accessibility: "public", verification_checksum: nil>]2611 when the file_types parameter is not provided2612 when there is a security report2613 is expected to contain exactly #<Ci::JobArtifact project_id: 36, file_type: "sast", size: 6713, created_at: "2023-04-19 09:57:22.278...b_id: 19, locked: "unknown", partition_id: 100, accessibility: "public", verification_checksum: nil> and #<Ci::JobArtifact project_id: 37, file_type: "secret_detection", size: 1559, created_at: "2023-04-19 ...b_id: 20, locked: "unknown", partition_id: 100, accessibility: "public", verification_checksum: nil>2614 when there are no security reports2615 is expected to be empty2616 .associated_file_types_for2617 file_type: "license_scanning", result: ["license_scanning"]2618 is expected to eq ["license_scanning"]2619 file_type: "codequality", result: ["codequality"]2620 is expected to eq ["codequality"]2621 file_type: "browser_performance", result: ["browser_performance", "performance"]2622 is expected to eq ["browser_performance", "performance"]2623 file_type: "load_performance", result: ["load_performance"]2624 is expected to eq ["load_performance"]2625 file_type: "quality", result: nil2626 is expected to eq nil2627 .search2628 when search query is empty2629 returns all records2630 when search query is not empty2631 without matches2632 filters all job artifacts2633 with matches2634 with project association2635 filters by project path2636 filters by project name2637 filters project description2638 #replicables_for_current_secondary2639 selective_sync_namespaces: nil, selective_sync_shards: nil, factory: [:ci_job_artifact], project_factory: [:project], include_expectation: true2640 when sync object storage is enabled2641 when the job artifact is locally stored2642 is expected to eq true2643 when the job artifact is object stored2644 is expected to eq true2645 when sync object storage is disabled2646 when the job artifact is locally stored2647 is expected to eq true2648 when the job artifact is object stored2649 is expected to be falsey2650 selective_sync_namespaces: nil, selective_sync_shards: :model, factory: [:ci_job_artifact], project_factory: [:project], include_expectation: true2651 when sync object storage is enabled2652 when the job artifact is locally stored2653 is expected to eq true2654 when the job artifact is object stored2655 is expected to eq true2656 when sync object storage is disabled2657 when the job artifact is locally stored2658 is expected to eq true2659 when the job artifact is object stored2660 is expected to be falsey2661 selective_sync_namespaces: nil, selective_sync_shards: :other, factory: [:ci_job_artifact], project_factory: [:project], include_expectation: false2662 when sync object storage is enabled2663 when the job artifact is locally stored2664 is expected to eq false2665 when the job artifact is object stored2666 is expected to eq false2667 when sync object storage is disabled2668 when the job artifact is locally stored2669 is expected to eq false2670 when the job artifact is object stored2671 is expected to be falsey2672 selective_sync_namespaces: :model_parent, selective_sync_shards: nil, factory: [:ci_job_artifact], project_factory: [:project], include_expectation: true2673 when sync object storage is enabled2674 when the job artifact is locally stored2675 is expected to eq true2676 when the job artifact is object stored2677 is expected to eq true2678 when sync object storage is disabled2679 when the job artifact is locally stored2680 is expected to eq true2681 when the job artifact is object stored2682 is expected to be falsey2683 selective_sync_namespaces: :model_parent_parent, selective_sync_shards: nil, factory: [:ci_job_artifact], project_factory: [:project, :in_subgroup], include_expectation: true2684 when sync object storage is enabled2685 when the job artifact is locally stored2686 is expected to eq true2687 when the job artifact is object stored2688 is expected to eq true2689 when sync object storage is disabled2690 when the job artifact is locally stored2691 is expected to eq true2692 when the job artifact is object stored2693 is expected to be falsey2694 selective_sync_namespaces: :other, selective_sync_shards: nil, factory: [:ci_job_artifact], project_factory: [:project], include_expectation: false2695 when sync object storage is enabled2696 when the job artifact is locally stored2697 is expected to eq false2698 when the job artifact is object stored2699 is expected to eq false2700 when sync object storage is disabled2701 when the job artifact is locally stored2702 is expected to eq false2703 when the job artifact is object stored2704 is expected to be falsey2705 selective_sync_namespaces: :other, selective_sync_shards: nil, factory: [:ci_job_artifact], project_factory: [:project, :in_subgroup], include_expectation: false2706 when sync object storage is enabled2707 when the job artifact is locally stored2708 is expected to eq false2709 when the job artifact is object stored2710 is expected to eq false2711 when sync object storage is disabled2712 when the job artifact is locally stored2713 is expected to eq false2714 when the job artifact is object stored2715 is expected to be falsey2716 selective_sync_namespaces: nil, selective_sync_shards: nil, factory: [:ci_job_artifact, :expired], project_factory: [:project], include_expectation: true2717 when sync object storage is enabled2718 when the job artifact is locally stored2719 is expected to eq true2720 when the job artifact is object stored2721 is expected to eq true2722 when sync object storage is disabled2723 when the job artifact is locally stored2724 is expected to eq true2725 when the job artifact is object stored2726 is expected to be falsey2727 #security_report2728 is expected to equal 52729 for different types2730 file_type: :performance, security_report?: false2731 is expected to equal false2732 file_type: :sast, security_report?: true2733 is expected to equal true2734 file_type: :secret_detection, security_report?: true2735 is expected to equal true2736 file_type: :dependency_scanning, security_report?: true2737 is expected to equal true2738 file_type: :container_scanning, security_report?: true2739 is expected to equal true2740 file_type: :cluster_image_scanning, security_report?: true2741 is expected to equal true2742 file_type: :dast, security_report?: true2743 is expected to equal true2744 file_type: :coverage_fuzzing, security_report?: true2745 is expected to equal true2746 when the parsing fails2747 returns an errored report instance2748 schema validation2749 when validate is false2750 calls the parser with the correct arguments2751 when validate is true2752 calls the parser with the correct arguments2753 #clear_security_report2754 clears the security_report2755Gitlab::Analytics::TypeOfWork::TasksByType2756 when subject is `Issue`2757 behaves like #counts_by_labels2758 counts the records by label and date2759 counts should include subgroups2760 does not include count from outside of the group2761 when group without any record is given2762 is expected to be empty2763 when no labels are given2764 is expected to be empty2765 when records are outside of the given time range2766 is expected to be empty2767 when filtering by `project_ids`2768 is expected to eq 12769 when filtering by `author_username`2770 is expected to eq 12771 when filtering by `assignee_username`2772 is expected to eq 12773 when filtering by `milestone_title`2774 is expected to eq 12775 behaves like #top_labels2776 sorts by descending order2777 limits the the size of the results2778 when subject is `MergeRequest`2779 behaves like #counts_by_labels2780 counts the records by label and date2781 counts should include subgroups2782 does not include count from outside of the group2783 when group without any record is given2784 is expected to be empty2785 when no labels are given2786 is expected to be empty2787 when records are outside of the given time range2788 is expected to be empty2789 when filtering by `project_ids`2790 is expected to eq 12791 when filtering by `author_username`2792 is expected to eq 12793 when filtering by `assignee_username`2794 is expected to eq 12795 when filtering by `milestone_title`2796 is expected to eq 12797 behaves like #top_labels2798 sorts by descending order2799 limits the the size of the results2800 when unknown `subject` is given2801 falls back to `MergeRequestFinder`2802EpicIssues::CreateService2803 #execute2804 when epics feature is disabled2805 returns an error2806 no relationship is created2807 does not trigger issuableEpicUpdated2808 when epics feature is enabled2809 when user has permissions to link the issue2810 when the reference list is empty2811 returns an error2812 no relationship is created2813 does not trigger issuableEpicUpdated2814 does not create a system note2815 when there is an issue to relate2816 when shortcut for Issue is given2817 returns an error2818 no relationship is created2819 does not trigger issuableEpicUpdated2820 when a full reference is given2821 creates a new relationship and updates epic2822 orders the epic issue to the first place and moves the existing ones down2823 returns success status and created links2824 triggers issuableEpicUpdated2825 does not perform N + 1 queries2826 async actions2827 creates 1 system note for epic and 1 system note for issue2828 creates a note for epic correctly2829 creates a note for issue correctly2830 records action on usage ping2831 when an issue link is given2832 creates a new relationship and updates epic2833 orders the epic issue to the first place and moves the existing ones down2834 returns success status and created links2835 triggers issuableEpicUpdated2836 async actions2837 creates 1 system note for epic and 1 system note for issue2838 creates a note for epic correctly2839 creates a note for issue correctly2840 records action on usage ping2841 when a link of an issue in a subgroup is given2842 creates a new relationship and updates epic2843 orders the epic issue to the first place and moves the existing ones down2844 returns success status and created links2845 triggers issuableEpicUpdated2846 async actions2847 creates 1 system note for epic and 1 system note for issue2848 creates a note for epic correctly2849 creates a note for issue correctly2850 records action on usage ping2851 when multiple valid issues are given2852 creates new relationships2853 places each issue at the start2854 orders the epic issues to the first place and moves the existing ones down2855 returns success status and created links2856 creates 2 system notes for each issue2857 when there are invalid references2858 creates links only for valid references2859 returns error status2860 when assigning issuable which don't support epics2861 returns an error2862 no relationship is created2863 does not trigger issuableEpicUpdated2864 when user does not have permissions to link the issue2865 returns an error2866 no relationship is created2867 does not trigger issuableEpicUpdated2868 when assigning issue(s) to the same epic2869 no relationship is created2870 does not create notes2871 returns an error2872 when at least one of the issues is still not assigned to the epic2873 creates a new relationship and updates epic2874 orders the epic issue to the first place and moves the existing ones down2875 returns success status and created links2876 triggers issuableEpicUpdated2877 async actions2878 creates 1 system note for epic and 1 system note for issue2879 creates a note for epic correctly2880 creates a note for issue correctly2881 records action on usage ping2882 when an issue is already assigned to another epic2883 does not create a new association2884 updates the existing association2885 returns success status and created links2886 creates 3 system notes2887 updates both old and new epic milestone dates2888 creates a note correctly for the original epic2889 creates a note correctly for the new epic2890 creates a note correctly for the issue2891 when issue from non group project is given2892 returns an error2893 no relationship is created2894 does not trigger issuableEpicUpdated2895MergeRequest2896 associations2897 is expected to contain exactly #<MergeRequestBlock id: 1, blocking_merge_request_id: 238, blocked_merge_request_id: 239, created_at: "2023-04-19 09:59:37.818890112 +0000", updated_at: "2023-04-19 09:59:37.818890112 +0000">2898 is expected to be empty2899 is expected to be empty2900 is expected to contain exactly #<MergeRequestBlock id: 4, blocking_merge_request_id: 244, blocked_merge_request_id: 245, created_at: "2023-04-19 09:59:44.013888992 +0000", updated_at: "2023-04-19 09:59:44.013888992 +0000">2901 is expected to be empty2902 is expected to contain exactly #<MergeRequest id:249 namespace175/project186!1>2903 is expected to contain exactly #<MergeRequest id:250 namespace176/project187!1>2904 is expected to be empty2905 #merge_blocked_by_other_mrs?2906 licensed2907 is false for the blocking MR2908 is true for the blocked MR when the blocking MR is open2909 is true for the blocked MR when the blocking MR is closed2910 is false for the blocked MR when the blocking MR is merged2911 unlicensed2912 is false for the blocked MR2913 #visible_blocking_merge_requests2914 shows blocking MR to developer2915 hides block from guest2916 hides block from anonymous user2917 #visible_blocking_merge_request_refs2918 returns the references for the result of #visible_blocking_merge_requests2919 #hidden_blocking_merge_requests_count2920 returns 0 when all MRs are visible2921 MR is hidden2922 returns 1 when MR is unmerged by default2923 MR is merged2924 returns 0 by default2925 returns 1 when include_merged: true2926Gitlab::GitAccessProject2927 storage size restrictions2928 when namespace storage limits are enforced for a namespace2929 when GIT_OBJECT_DIRECTORY_RELATIVE env var is set2930 when namespace storage size is below the limit2931 when repository size is below the limit2932 when quarantine size exceeds the namespace storage limit2933 rejects the push2934 when quarantine size does not exceed the namespace storage limit2935 behaves like a push to repository below the limit2936 when trying to authenticate the user2937 does not raise an error2938 when pushing a new branch2939 accepts the push2940 when quarantine size exactly equals the remaining namespace storage space2941 behaves like a push to repository below the limit2942 when trying to authenticate the user2943 does not raise an error2944 when pushing a new branch2945 accepts the push2946 when quarantine size exceeds the repository storage limit but not the namespace storage limit2947 behaves like a push to repository below the limit2948 when trying to authenticate the user2949 does not raise an error2950 when pushing a new branch2951 accepts the push2952 when repository size is above the limit2953 when quarantine size exceeds the namespace storage limit2954 rejects the push2955 when quarantine size does not exceed the namespace storage limit2956 behaves like a push to repository below the limit2957 when trying to authenticate the user2958 does not raise an error2959 when pushing a new branch2960 accepts the push2961 when namespace storage size is above the limit2962 when repository size is below the limit2963 when quarantine size does not exceed the repository storage limit2964 behaves like a push to repository over the limit2965 rejects the push2966 when deleting a branch2967 accepts the operation2968 when repository size is above the limit2969 behaves like a push to repository over the limit2970 rejects the push2971 when deleting a branch2972 accepts the operation2973 when namespace storage size limit is not set2974 when the repository size is below the limit2975 behaves like a push to repository below the limit2976 when trying to authenticate the user2977 does not raise an error2978 when pushing a new branch2979 accepts the push2980 when GIT_OBJECT_DIRECTORY_RELATIVE env var is not set2981 when namespace storage size is below the limit2982 when repository size is below the limit2983 when new change size exceeds the namespace storage limit2984 rejects the push2985 when new change size does not exceed the namespace storage limit2986 accepts the push2987 when new change size exceeds the repository storage limit but not the namespace storage limit2988 accepts the push2989 when repository size is above the limit2990 when new change size exceeds the namespace storage limit2991 rejects the push2992 when new change size does not exceed the namespace storage limit2993 accepts the push2994 when namespace storage size is above the limit2995 when repository size is below the limit2996 when new change size does not exceed the repository storage limit2997 behaves like a push to repository over the limit2998 rejects the push2999 when deleting a branch3000 accepts the operation3001 when repository size is above the limit3002 behaves like a push to repository over the limit3003 rejects the push3004 when deleting a branch3005 accepts the operation3006 when namespace storage size limit is not set3007 when the repository size is below the limit3008 behaves like a push to repository below the limit3009 when trying to authenticate the user3010 does not raise an error3011 when pushing a new branch3012 accepts the push3013 when pushing to a subgroup project3014 when the root namespace storage size is above the limit3015 when the project repository is below the limit3016 behaves like a push to repository over the limit3017 rejects the push3018 when deleting a branch3019 accepts the operation3020 #check_download_access!3021 project downloads check for user ban3022 when user is banned from the project's top-level group3023 is expected to raise Gitlab::GitAccess::ForbiddenError3024 when user is not banned from the project's top-level group3025 is expected not to raise Exception3026Security::Finding3027 associations3028 is expected to belong to scan required: true3029 is expected to belong to scanner required: true3030 is expected to belong to vulnerability_finding class_name => Vulnerabilities::Finding required: false3031 is expected to have one build through scan3032 is expected to have one vulnerability through vulnerability_finding3033 is expected to have many state_transitions through vulnerability3034 is expected to have many issue_links through vulnerability3035 is expected to have many merge_request_links through vulnerability3036 is expected to have many feedbacks class_name => Vulnerabilities::Feedback3037 validations3038 is expected to validate that :uuid cannot be empty/falsy3039 finding_data attribute3040 when the finding_data has invalid fields3041 adds errors3042 when the finding_data has valid fields3043 does not add errors3044 delegations3045 is expected to delegate #scan_type to the #scan object, allowing #scan to return nil3046 .by_uuid3047 is expected to contain exactly #<Security::Finding id: 1, scan_id: 1, scanner_id: 1, severity: "critical", confidence: "high", proje..."7c9ea18f-2b6d-40c1-b13d-8e209d96860e", overridden_uuid: nil, partition_number: 1, finding_data: {}>3048 .by_build_ids3049 is expected to contain exactly #<Security::Finding id: 1, scan_id: 1, scanner_id: 1, severity: "critical", confidence: "high", proje..."7c9ea18f-2b6d-40c1-b13d-8e209d96860e", overridden_uuid: nil, partition_number: 1, finding_data: {}>3050 .by_severity_levels3051 is expected to contain exactly #<Security::Finding id: 2, scan_id: 2, scanner_id: 2, severity: "critical", confidence: "high", proje..."2550fc91-35b5-4e48-a259-7de46be4fd6f", overridden_uuid: nil, partition_number: 1, finding_data: {}>3052 .by_confidence_levels3053 is expected to contain exactly #<Security::Finding id: 2, scan_id: 2, scanner_id: 2, severity: "critical", confidence: "high", proje..."2550fc91-35b5-4e48-a259-7de46be4fd6f", overridden_uuid: nil, partition_number: 1, finding_data: {}>3054 .by_report_types3055 is expected to contain exactly #<Security::Finding id: 1, scan_id: 1, scanner_id: 1, severity: "critical", confidence: "high", proje..."7c9ea18f-2b6d-40c1-b13d-8e209d96860e", overridden_uuid: nil, partition_number: 1, finding_data: {}>3056 .by_project_fingerprints3057 is expected to contain exactly #<Security::Finding id: 1, scan_id: 1, scanner_id: 1, severity: "critical", confidence: "high", proje..."7c9ea18f-2b6d-40c1-b13d-8e209d96860e", overridden_uuid: nil, partition_number: 1, finding_data: {}>3058 .by_scanners3059 is expected to contain exactly #<Security::Finding id: 1, scan_id: 1, scanner_id: 1, severity: "critical", confidence: "high", proje..."7c9ea18f-2b6d-40c1-b13d-8e209d96860e", overridden_uuid: nil, partition_number: 1, finding_data: {}>3060 .by_state3061 when the state is `detected`3062 returns findings that are associated with "detected vulnerabilities" along with the recently detected ones3063 when the state is `dismissed`3064 when the `check_feedback` argument is false3065 is expected to contain exactly #<Security::Finding id: 1, scan_id: 1, scanner_id: 1, severity: "critical", confidence: "high", proje..."7c9ea18f-2b6d-40c1-b13d-8e209d96860e", overridden_uuid: nil, partition_number: 1, finding_data: {}>3066 when the `check_feedback` argument is true3067 is expected to contain exactly #<Security::Finding id: 1, scan_id: 1, scanner_id: 1, severity: "critical", confidence: "high", proje..."7c9ea18f-2b6d-40c1-b13d-8e209d96860e", overridden_uuid: nil, partition_number: 1, finding_data: {}> and #<Security::Finding id: 2, scan_id: 2, scanner_id: 2, severity: "critical", confidence: "high", proje..."2550fc91-35b5-4e48-a259-7de46be4fd6f", overridden_uuid: nil, partition_number: 1, finding_data: {}>3068 when the state is `confirmed`3069 is expected to contain exactly #<Security::Finding id: 1, scan_id: 1, scanner_id: 1, severity: "critical", confidence: "high", proje..."7c9ea18f-2b6d-40c1-b13d-8e209d96860e", overridden_uuid: nil, partition_number: 1, finding_data: {}>3070 when the state is `resolved`3071 is expected to contain exactly #<Security::Finding id: 1, scan_id: 1, scanner_id: 1, severity: "critical", confidence: "high", proje..."7c9ea18f-2b6d-40c1-b13d-8e209d96860e", overridden_uuid: nil, partition_number: 1, finding_data: {}>3072 .undismissed_by_vulnerability3073 is expected to contain exactly #<Security::Finding id: 2, scan_id: 2, scanner_id: 2, severity: "critical", confidence: "high", proje..."2550fc91-35b5-4e48-a259-7de46be4fd6f", overridden_uuid: nil, partition_number: 1, finding_data: {}>3074 .undismissed3075 is expected to contain exactly #<Security::Finding id: 2, scan_id: 1, scanner_id: 2, severity: "critical", confidence: "high", proje..."2550fc91-35b5-4e48-a259-7de46be4fd6f", overridden_uuid: nil, partition_number: 1, finding_data: {}>3076 .ordered3077 is expected to eq [#<Security::Finding id: 3, scan_id: 3, scanner_id: 9, severity: "critical", confidence: "high", proj...2550fc91-35b5-4e48-a259-7de46be4fd6f", overridden_uuid: nil, partition_number: 1, finding_data: {}>]3078 .deduplicated3079 is expected to eq [#<Security::Finding id: 1, scan_id: 1, scanner_id: 1, severity: "critical", confidence: "high", proj...7c9ea18f-2b6d-40c1-b13d-8e209d96860e", overridden_uuid: nil, partition_number: 1, finding_data: {}>]3080 .count_by_scan_type3081 is expected to eq {4=>1, 1=>2}3082 .latest_by_uuid3083 is expected to eq #<Security::Finding id: 6, scan_id: 5, scanner_id: 12, severity: "critical", confidence: "high", proj..."7c9ea18f-2b6d-40c1-b13d-8e209d96860e", overridden_uuid: nil, partition_number: 1, finding_data: {}>3084 .partition_full?3085 partition_size: 108447924224, considered_full?: true3086 is expected to eq true3087 partition_size: 107374182400, considered_full?: true3088 is expected to eq true3089 partition_size: 107374182399, considered_full?: false3090 is expected to eq false3091 .detach_partition?3092 when there is no finding for the given partition number3093 is expected to be falsey3094 when the partition is not empty3095 when the scan of last finding in partition returns false to findings_can_be_purged? message3096 is expected to be falsey3097 when the scan of last finding in partition returns true to findings_can_be_purged? message3098 is expected to be truthy3099 .active_partition_number3100 when the `security_findings` is partitioned3101 is expected to match 99993102 when the `security_findings` is not partitioned3103 is expected to match 13104 .fetch_uuids3105 returns the uuids of findings3106 #state3107 when there is no associated vulnerability3108 when there is no associated dismissal feedback3109 is expected to eq "detected"3110 when there is an associated dismissal feedback3111 is expected to eq "dismissed"3112 when there is an associated vulnerability3113 state: :detected3114 is expected to eq "detected"3115 state: :confirmed3116 is expected to eq "confirmed"3117 state: :dismissed3118 is expected to eq "dismissed"3119 state: :resolved3120 is expected to eq "resolved"3121 feedback accessors3122 #dismissal_feedback3123 behaves like has feedback method for3124 when there is no associated dismissal feedback3125 is expected to be nil3126 when there is an associated dismissal feedback3127 is expected to eq #<Vulnerabilities::Feedback id: 10, created_at: "2023-04-19 10:01:14.535476160 +0000", updated_at: "2...d-40c1-b13d-8e209d96860e", dismissal_reason: "acceptable_risk", migrated_to_state_transition: false>3128 #issue_feedback3129 behaves like has feedback method for3130 when there is no associated dismissal feedback3131 is expected to be nil3132 when there is an associated dismissal feedback3133 is expected to eq #<Vulnerabilities::Feedback id: 11, created_at: "2023-04-19 10:01:15.177199474 +0000", updated_at: "2... "7c9ea18f-2b6d-40c1-b13d-8e209d96860e", dismissal_reason: nil, migrated_to_state_transition: false>3134 #merge_request_feedback3135 behaves like has feedback method for3136 when there is no associated dismissal feedback3137 is expected to be nil3138 when there is an associated dismissal feedback3139 is expected to eq #<Vulnerabilities::Feedback id: 12, created_at: "2023-04-19 10:01:15.889104173 +0000", updated_at: "2... "7c9ea18f-2b6d-40c1-b13d-8e209d96860e", dismissal_reason: nil, migrated_to_state_transition: false>3140 attributes delegated to `finding_data`3141 attribute: :name, expected_value: "Test finding"3142 is expected to eq "Test finding"3143 attribute: :description, expected_value: "Test description"3144 is expected to eq "Test description"3145 attribute: :solution, expected_value: "Test solution"3146 is expected to eq "Test solution"3147 attribute: :location, expected_value: "Test location"3148 is expected to eq "Test location"3149 attribute: :identifiers, expected_value: ["Test identifier"]3150 is expected to eq ["Test identifier"]3151 attribute: :links, expected_value: ["Test link"]3152 is expected to eq ["Test link"]3153 attribute: :false_positive?, expected_value: false3154 is expected to eq false3155 attribute: :assets, expected_value: ["Test asset"]3156 is expected to eq ["Test asset"]3157 attribute: :evidence, expected_value: {}3158 is expected to eq {}3159 attribute: :details, expected_value: []3160 is expected to eq []3161 attribute: :remediation_byte_offsets, expected_value: {:start_byte=>0, :end_byte=>1}3162 is expected to eq {:end_byte=>1, :start_byte=>0}3163 attribute: :raw_source_code_extract, expected_value: "AES/ECB/NoPadding"3164 is expected to eq "AES/ECB/NoPadding"3165 finding_details delegated to `finding_data` details3166 is expected to eq [{:name=>"Test Detail"}]3167 #remediations3168 when the remediation byte offsets do not exist3169 does not call the proxy and returns an empty array3170 when the remediation byte offsets exist3171 delegates the call to the proxy3172Deployments::ApprovalService3173 #execute3174 when status is approved3175 approves the deployment3176 with a comment3177 saves the comment3178 with approval rule3179 sets an rule to the deployment approval3180 when status is rejected3181 rejects the deployment3182 with a comment3183 saves the comment3184 with approval rule3185 sets an rule to the deployment approval3186 when user already approved3187 and is approving again3188 approves the deployment3189 with a different comment3190 does not change the comment3191 and is rejecting3192 rejects the deployment3193 with a different comment3194 changes the comment3195 processing the build with unified access level3196 when build is nil3197 does not raise an error3198 when deployment was rejected3199 drops the build3200 when no additional approvals are required3201 enqueues the build3202 unblocks the deployment3203 when additional approvals are required3204 does not change the build3205 processing the build with multi access levels3206 when build is nil3207 does not raise an error3208 when deployment was rejected3209 drops the build3210 when no additional approvals are required3211 keeps the build manual3212 unblocks the deployment3213 when additional approvals are required3214 does not change the build3215 validations3216 when status is not recognized3217 returns an error3218 when environment is not protected3219 returns an error3220 when Protected Environments feature is not available3221 returns an error3222 when deployment approval is not configured3223 returns an error3224 when the user does not have permission to update deployment3225 returns an error3226 with approval rule3227 when the user does not have permission to read deployment3228 returns an error3229 when there are no rules for the user3230 returns an error3231 when there are no approval rules that match represented_as3232 returns an error3233 when user is nil3234 returns an error3235 when deployment is not blocked3236 returns an error3237 when the creator of the deployment is approving3238 when allow pipeline triggerer to approve deployment3239 approves the deployment3240 when not allow pipeline triggerer to approve deployment3241 returns an error3242 when the creator of the deployment is rejecting3243 rejects the deployment3244Epics::CrossHierarchyChildrenFinder3245 # order random3246 #execute3247 when epics feature is enabled3248 without param3249 raises an error when parent param is missing3250 when user can not read parent epic3251 returns empty collection3252 when user has guest access3253 returns all child epics3254 when param include_ancestor_groups is `false`3255 returns all child epics excluding the ones in ancestor groups3256 when param include_descendant_groups is `false`3257 returns all child epics excluding the ones in descendant groups3258 when param include_ancestor_groups and include_descendant_groups are `false`3259 returns all child epics excluding the ones in ancestor and descendant groups3260 when user has reporter access to parent epic group3261 returns visible child epics3262 with children in a different group hierarchy3263 when user is member of private top level group3264 returns all visible child epics3265 when user is member of private base group3266 returns all visible child epics3267 when user is member of private other_subgroup3268 returns all visible child epics3269 with group hierarchy with projects3270 when user is member of top level group project3271 returns child epics in projects group and its ancestors3272 when user is member of a base group project3273 returns child epics in projects group and its ancestors3274 when user is member of the other_subgroup project3275 returns child epics in projects group and its ancestors3276 with shared groups3277 when user is member of a group shared with the top level group3278 returns child epics in top level group and its descendants3279 when user is member of a group shared with the base group3280 returns child epics in the base group and its descendants3281 when user is member of a group shared with the subgroup3282 returns child epics in the other_subgroup3283 behaves like epics hierarchy finder with filtering3284 with correct params3285 returns all epics even if user can not access them3286 with created_at3287 returns all epics created before the given date3288 returns all epics created after the given date3289 returns all epics created within the given interval3290 with search3291 returns all epics that match the search3292 with user reaction emoji3293 returns epics reacted to by user3294 with author3295 returns all epics authored by the given user3296 when using OR3297 returns all epics authored by any of the given users3298 when feature flag is disabled3299 does not add any filter3300 with label3301 returns all epics with given label3302 returns all epics without negated label3303 with state3304 returns all epics with given state3305 with timeframe3306 returns epics which start in the timeframe3307 returns epics which end in the timeframe3308 returns epics which start before and end after the timeframe3309 when one of the timeframe params are missing3310 does not filter by timeframe if start_date is missing3311 does not filter by timeframe if end_date is missing3312 with milestone3313 returns empty result if the milestone is not present3314 returns only epics which have an issue from the milestone3315 when using iid starts with query3316 returns the expected epics if just the first two numbers are given3317 returns the expected epics if the exact id is given3318 fails if iid_starts_with contains a non-numeric string3319 fails if iid_starts_with contains a non-numeric string with line breaks3320 fails if iid_starts_with contains a string which contains a negative number3321 behaves like epic findable finder3322 has expected valid params3323layouts/nav/sidebar/_project3324 Learn GitLab3325 has a link to the learn GitLab3326 Repository3327 Files3328 has a link to the project file locks path3329 Issues3330 Iterations3331 has a link to the iteration cadences path3332 Jira3333 when Jira service integration is not set3334 does not have a link to the Jira issues menu3335 when Jira service integration is set3336 has a link to Jira issues list3337 has an external link to open Jira3338 Requirements3339 has a link to the requirements page3340 CI/CD3341 Test cases3342 has a link to the test cases page3343 when license feature :quality_management is not enabled3344 does not have a link to the test cases page3345 Security and Compliance3346 when user does not have permissions3347 top level navigation link is not visible3348 when user has permissions3349 top level navigation link is visible3350 security dashboard link is visible3351 security vulnerability report link is visible3352 security on demand scans link is visible3353 dependency list link is visible3354 license compliance link is visible3355 policies link is visible3356 security configuration link is visible3357 audit events link is visible3358 Operations3359 On-call schedules3360 has a link to the on-call schedules page3361 when the user does not have access3362 does not have a link to the on-call schedules page3363 Escalation Policies3364 has a link to the escalation policies page3365 when the user does not have access3366 does not have a link to the escalation policies page3367 Analytics3368 Code Review3369 has a link to the Code Review analytics page3370 when user does not have access3371 does not have a link to the Code Review analytics page3372 Insights3373 has a link to the Insights analytics page3374 when user does not have access3375 does not have a link to the Insights analytics page3376 Issue3377 has a link to the issue analytics page3378 when user does not have access3379 does not have a link to the issue analytics page3380 Merge request3381 has a link to the merge request analytics page3382 when user does not have access3383 does not have a link to the merge request analytics page3384 Settings3385 Monitor3386 links to settings page3387 when user is not authorized3388 does not display the link3389ProtectedEnvironment3390 associations3391 is expected to belong to project required: false3392 is expected to have many deploy_access_levels3393 is expected to have many approval_rules class_name => ProtectedEnvironments::ApprovalRule inverse_of => protected_environment3394 validation3395 is expected to validate that :name cannot be empty/falsy3396 is expected to validate that the length of :deploy_access_levels3397 is expected to validate that :required_approval_count looks like an integer greater than or equal to 0 and less than or equal to 53398 can not belong to both group and project3399 must belong to one of group or project3400 group-level protected environment3401 passes the validation when the name is listed in the tiers3402 fails the validation when the name is not listed in the tiers3403 #accessible_to?3404 when user is admin3405 is expected to be truthy3406 when access has been granted to user3407 is expected to be truthy3408 when specific access has been assigned to a group3409 allows members of the group3410 rejects non-members of the group3411 when access has been granted to maintainers3412 allows maintainers3413 rejects developers3414 when access has been granted to developers3415 allows maintainers3416 allows developers3417 #container_access_level3418 with project-level protected environment3419 behaves like correct access levels3420 for project maintainer3421 is expected to eq 403422 for project developer3423 is expected to eq 303424 when user is nil3425 is expected to eq 03426 with group-level protected environment3427 behaves like correct access levels3428 for project maintainer3429 is expected to eq 403430 for project developer3431 is expected to eq 303432 when user is nil3433 is expected to eq 03434 #project_level?3435 for a project-level protected environment3436 is expected to be truthy3437 for a group-level protected environment3438 is expected to be falsey3439 #group_level?3440 for a group-level protected environment3441 is expected to be truthy3442 for a project-level protected environment3443 is expected to be falsey3444 .sorted_by_name3445 sorts protected environments by name3446 .with_environment_id3447 sets corresponding environment id if there is environment matching by name and project3448 .revoke_user3449 deletes matching deploy access levels for the given user3450 when user is assigned to protected environment in the other project3451 deletes matching deploy access levels for the given user in the specific project3452 .revoke_group3453 deletes matching deploy access levels for the given group3454 when user is assigned to protected environment in the other project3455 returns matching deploy access levels for the given group in the specific project3456 .for_environment3457 is expected to contain exactly #<ProtectedEnvironment id: 65, project_id: 383, created_at: "2023-04-19 10:02:51.427125519 +0000", up...2023-04-19 10:02:51.427125519 +0000", name: "production", group_id: nil, required_approval_count: 0>3458 caches result3459 calls .for_environments with the environment3460 when environment does not exist3461 raises an error3462 .for_environments3463 is expected to contain exactly #<ProtectedEnvironment id: 69, project_id: 384, created_at: "2023-04-19 10:02:52.473956628 +0000", up...2023-04-19 10:02:52.473956628 +0000", name: "production", group_id: nil, required_approval_count: 0>3464 raises an error if environments belong to more than one project3465 when environment is a different name3466 is expected to be empty3467 when environment exists in a different project3468 is expected to be empty3469 with group-level protected environment3470 with project-level production environment3471 has multiple protections3472 when project-level protection does not exist3473 has only group-level protection3474 with staging environment3475 does not have any protections3476 with multiple environments3477 is expected to contain exactly #<ProtectedEnvironment id: 78, project_id: 384, created_at: "2023-04-19 10:02:55.749193289 +0000", up...2023-04-19 10:02:55.749193289 +0000", name: "production", group_id: nil, required_approval_count: 0> and #<ProtectedEnvironment id: 79, project_id: 384, created_at: "2023-04-19 10:02:55.845184165 +0000", up...t: "2023-04-19 10:02:55.845184165 +0000", name: "canary", group_id: nil, required_approval_count: 0>3478Analytics::DevopsAdoption::SnapshotCalculator3479 end_time3480 equals to range_end3481 issue_opened3482 is expected to eq false3483 with an issue opened within month3484 is expected to eq true3485 merge_request_opened3486 is expected to eq false3487 with a merge request opened within month3488 is expected to eq true3489 merge_request_approved3490 is expected to eq false3491 with a merge request approved within month3492 is expected to eq true3493 runner_configured3494 is expected to eq false3495 with active runner present3496 is expected to eq true3497 pipeline_succeeded3498 is expected to eq false3499 with successful pipeline within month3500 is expected to eq true3501 deploy_succeeded3502 is expected to eq false3503 with successful deployment within month3504 is expected to eq true3505 total_projects_count3506 is expected to eq 23507 code_owners_used_count3508 is expected to eq 13509 when there is no default branch3510 uses HEAD as default value3511 sast_enabled_count3512 returns number of projects with at least 1 sast CI artifact created in given period3513 dast_enabled_count3514 returns number of projects with at least 1 dast CI artifact created in given period3515 dependency_scanning_enabled_count3516 returns number of projects with at least 1 dependency_scanning CI artifact created in given period3517 coverage_fuzzing_enabled_count3518 returns number of projects with at least 1 coverage_fuzzing CI artifact created in given period3519 vulnerability_management_used_count3520 returns number of projects with at least 1 vulnerability acted upon3521 when snapshot already exists3522 for boolean metrics3523 calculates metrics which are not true yet3524 doesn't change metrics which are true already3525 for numeric metrics3526 always recalculates metric3527ResourceAccessTokens::CreateService3528 #execute3529 with enforced group managed account enabled3530 behaves like token creation succeeds3531 does not cause an error3532 adds the project bot as a member3533 creates a project bot user3534 for SAML enabled groups3535 behaves like token creation succeeds3536 does not cause an error3537 adds the project bot as a member3538 creates a project bot user3539 project access token audit events3540 when project access token is successfully created3541 logs project access token details3542 behaves like audit event details3543 creates an audit event3544 logs author and resource info3545 behaves like sends correct event type in audit event stream3546 sends correct event type in audit event stream3547 when project access token is unsuccessfully created3548 with inadequate permissions3549 logs the permission error message3550 behaves like audit event details3551 creates an audit event3552 logs author and resource info3553 behaves like sends correct event type in audit event stream3554 sends correct event type in audit event stream3555 when access provisioning fails3556 logs the provisioning error message3557 behaves like audit event details3558 creates an audit event3559 logs author and resource info3560 behaves like sends correct event type in audit event stream3561 sends correct event type in audit event stream3562ProtectedBranch3563 associations3564 is expected to have many required_code_owners_sections class_name => ProtectedBranch::RequiredCodeOwnersSection3565 is expected to have and belong to many approval_project_rules3566 is expected to have and belong to many external_status_checks class_name => ::MergeRequests::ExternalStatusCheck3567 behaves like uniqueness validation3568 while checking uniqueness of a role-based merge access level3569 allows a single merge access level for a role (per protected branch)3570 does not count a user-based merge access level with an `access_level` set3571 does not count a group-based merge access level with an `access_level` set3572 while checking uniqueness of a user-based merge access level3573 allows a single merge access level for a user (per protected branch)3574 ignores the `access_level` while validating a user-based merge access level3575 while checking uniqueness of a group-based merge access level3576 allows a single merge access level for a group (per protected branch)3577 ignores the `access_level` while validating a group-based merge access level3578 behaves like uniqueness validation3579 while checking uniqueness of a role-based push access level3580 allows a single push access level for a role (per protected branch)3581 does not count a user-based push access level with an `access_level` set3582 does not count a group-based push access level with an `access_level` set3583 while checking uniqueness of a user-based push access level3584 allows a single push access level for a user (per protected branch)3585 ignores the `access_level` while validating a user-based push access level3586 while checking uniqueness of a group-based push access level3587 allows a single push access level for a group (per protected branch)3588 ignores the `access_level` while validating a group-based push access level3589 #code_owner_approval_required3590 when the attr code_owner_approval_required is true3591 returns true3592 returns false when the project doesn't require approvals3593 when the attr code_owner_approval_required is false3594 returns false3595 #can_unprotect?3596 without unprotect_access_levels3597 doesn't add any additional restriction3598 with access level set to MAINTAINER3599 defaults to requiring maintainer access3600 with access level set to ADMIN3601 prevents access to maintainers3602 grants access to admins3603 multiple access levels3604 grants access if any grant access3605 .branch_requires_code_owner_approval?3606 when there are no match branches3607 return false3608 when `code_owner_approval_required_available?` of project is false3609 return false3610 when there are matched branches3611 feature_available: true, object: project, code_owner_approval_required: false, result: false3612 is expected to eq false3613 feature_available: true, object: project, code_owner_approval_required: true, result: true3614 is expected to eq true3615 feature_available: false, object: project, code_owner_approval_required: true, result: true3616 is expected to eq true3617 feature_available: true, object: group, code_owner_approval_required: false, result: false3618 is expected to eq false3619 feature_available: true, object: group, code_owner_approval_required: true, result: true3620 is expected to eq true3621 feature_available: false, object: group, code_owner_approval_required: true, result: false3622 is expected to eq false3623 #inherited?3624 when the `namespace_id` is nil3625 is expected not to be inherited3626 when the `namespace_id` is present3627 is expected to be inherited3628VulnerabilitiesHelper3629 #vulnerability_details3630 [:can_modify_related_issues]3631 with security dashboard feature enabled3632 when user can manage related issues3633 is expected to include {:can_modify_related_issues => true}3634 when user cannot manage related issues3635 is expected to include {:can_modify_related_issues => false}3636 with security dashboard feature disabled3637 is expected to include {:can_modify_related_issues => false}3638 when pipeline exists3639 has expected vulnerability properties3640 returns expected pipeline data3641 when the issues are disabled for the project3642 has `new_issue_url` set as nil3643 when pipeline is nil3644 has expected vulnerability properties3645 returns no pipeline data3646 when the issues are disabled for the project3647 has `new_issue_url` set as nil3648 dismissal descriptions3649 includes translated dismissal descriptions3650 #create_jira_issue_url_for3651 with jira vulnerabilities integration enabled3652 when the given object is a vulnerability3653 delegates rendering URL to Integrations::Jira3654 when scan property is empty3655 renders description using dedicated template without raising error3656 when the given object is an unpersisted finding3657 delegates rendering URL to Integrations::Jira3658 when the given object is a Security::Finding3659 delegates rendering URL to Integrations::Jira3660 with jira vulnerabilities integration disabled3661 is expected to be nil3662 #vulnerability_finding_data3663 returns finding information3664 when there is no file3665 does not have a blob_path if there is no file3666 when deprecate_vulnerabilities_feedback is disabled3667 with existing dismissal feedback3668 returns dismissal feedback information3669 when deprecate_vulnerabilities_feedback is enabled3670 with existing vulnerability_state_transition, issue link and merge request link3671 returns finding link associations3672 returns dismissal feedback information3673 with markdown field for description3674 when vulnerability has no description and finding has description3675 returns finding information3676 when vulnerability has description and finding has description3677 returns finding information3678 #vulnerability_scan_data?3679 scanner present3680 is expected to be truthy3681 scan present3682 is expected to be truthy3683 neither scan nor scanner being present3684 is expected to be falsey3685Geo::ProjectWikiRepositoryRegistryFinder3686 # order random3687 behaves like a framework registry finder3688 #execute3689 when user cannot read all Geo3690 is expected to be empty3691 when user can read all Geo3692 when admin mode is disabled3693 is expected to be empty3694 when admin mode is enabled3695 with an ids param3696 returns specified registries3697 with an ids param empty3698 returns all registries3699 with a replication_state param3700 returns registries with requested replication state3701 with a replication_state param empty3702 returns all registries3703 with verification enabled3704 with a verification_state param3705 returns registries with requested verification state3706 with a verification_state param empty3707 returns all registries3708 with verification disabled3709 with a verification_state param3710 raises ArgumentError (PENDING: Skipping because verification is enabled for Projects::WikiRepository)3711 with a verification_state param empty3712 raises ArgumentError (PENDING: Skipping because verification is enabled for Projects::WikiRepository)3713 when search method is not implemented in the registry model3714 raises ArgumentError3715 when search method is implemented in the registry model3716 returns a registry filtered by keyword (PENDING: Skipping because search method is not implemented3717 for Projects::WikiRepository or searchable attributes are not defined.)3718 with no params3719 returns all registries3720MemberEntity3721 group member3722 behaves like member.json3723 matches json schema3724 correctly exposes `using_license`3725 correctly exposes `group_sso`3726 correctly exposes `group_managed_account`3727 correctly exposes `can_override`3728 correctly exposes `provisioned_by_this_group`3729 correctly exposes `banned`3730 correctly exposes `can_ban`3731 correctly exposes `can_unban`3732 correctly exposes `can_disable_two_factor`3733 always returns boolean value for `can_disable_two_factor`3734 project member3735 behaves like member.json3736 matches json schema3737 correctly exposes `using_license`3738 correctly exposes `group_sso`3739 correctly exposes `group_managed_account`3740 correctly exposes `can_override`3741 correctly exposes `provisioned_by_this_group`3742 correctly exposes `banned`3743 correctly exposes `can_ban`3744 correctly exposes `can_unban`3745 correctly exposes `can_disable_two_factor`3746 always returns boolean value for `can_disable_two_factor`3747Geo::RepositoryRegistrySyncWorker3748 # order random3749 behaves like a framework registry sync worker3750 #perform3751 does not schedule anything when tracking database is not configured3752 does not schedule anything when node is disabled3753 does not schedule duplicated jobs3754 does not schedule duplicated jobs because of query cache3755 attempts to load a new batch without pending registries3756 #max_capacity3757 when repos_max_capacity is lower than 103758 when container repository replication is enabled3759 returns the container_repositories_max_capacity + 13760 when container repository replication is disabled3761 returns 13762 when repos_max_capacity is multiple of 103763 when container repository replication is enabled3764 returns the capacity based on 1/10 of repos_max_capacity plus container_repositories_max_capacity3765 when container repository replication is disabled3766 returns only 1/10 of repos_max_capacity based capacity3767List3768 relationships3769 is expected to belong to user required: false3770 is expected to belong to milestone required: false3771 is expected to belong to iteration required: false3772 validations3773 is expected to validate that :max_issue_count looks like an integer greater than or equal to 03774 is expected to validate that :max_issue_weight looks like an integer greater than or equal to 03775 is expected to validate that :limit_metric is either ‹"all_metrics"›, ‹"issue_count"›, or ‹"issue_weights"› as long as it is not nil3776 when it is an assignee type3777 is expected to be destroyable3778 is expected to be movable3779 validations3780 is expected to validate that :user cannot be empty/falsy3781 #title3782 returns the username as title3783 when it is a milestone type3784 is expected to be destroyable3785 is expected to be movable3786 validations3787 is expected to validate that :milestone cannot be empty/falsy3788 is invalid when feature is not available3789 #title3790 returns the milestone title3791 when it is an iteration type3792 is expected to be destroyable3793 is expected to be movable3794 validations3795 is expected to validate that :iteration cannot be empty/falsy3796 is invalid when feature is not available3797 #title3798 returns the iteration cadence and period as title3799 #wip_limits_available?3800 with enabled wip_limits3801 returns the expected values3802 with disabled wip_limits3803 returns the expected values3804Members::CreateService3805 with group plan observing quota limits3806 already exceeded invite quota limit3807 behaves like quota limit exceeded3808 is expected to include {:status => :error, :message => "Invite limit of 2 per day exceeded"}3809 is expected not to change `Member.count`3810 will exceed invite quota limit3811 behaves like quota limit exceeded3812 is expected to include {:status => :error, :message => "Invite limit of 3 per day exceeded"}3813 is expected not to change `Member.count`3814 within invite quota limit3815 is expected to eq {:status=>:success}3816 is expected to include #<User id:1260 @user696> and #<User id:1261 @user697>3817 infinite invite quota limit3818 is expected to eq {:status=>:success}3819 is expected to include #<User id:1260 @user696> and #<User id:1261 @user697>3820 without a plan3821 is expected to eq {:status=>:success}3822 is expected to include #<User id:1260 @user696> and #<User id:1261 @user697>3823 when assigning tasks to be done3824 when passing many user ids3825 creates 2 task issues3826 streaming audit event3827 audits event with name3828 sends the audit streaming event3829 with seat availability concerns3830 when creating3831 when seat is available3832 with existing user that is a member in our hierarchy3833 adds the member3834 when under the dashboard limit3835 adds the members3836 when seat is not available3837 does not add members3838 when updating with no seats left3839 allows updating existing invited member3840VisibleApprovable3841 #overall_approvers3842 returns a list of all the project approvers3843 when exclude_code_owners is true3844 excludes code owners3845 when approvers are overwritten3846 returns the list of all the merge request level approvers3847 when author is an approver3848 excludes author if author cannot approve3849 includes author if author is able to approve3850 when a committer is an approver3851 excludes the committer if committers cannot approve3852 includes the committer if committers are able to approve3853 #authors_can_approve?3854 returns false when merge_requests_author_approval flag is off3855 returns true when merge_requests_author_approval flag is turned on3856StoreSecurityReportsWorker3857 #perform3858 when there is no pipeline with the given ID3859 does not raise an error3860 when at least one security report feature is enabled3861 report_type: :sast3862 executes IngestReportsService for given pipeline3863 report_type: :dast3864 executes IngestReportsService for given pipeline3865 report_type: :dependency_scanning3866 executes IngestReportsService for given pipeline3867 report_type: :container_scanning3868 executes IngestReportsService for given pipeline3869 report_type: :cluster_image_scanning3870 executes IngestReportsService for given pipeline3871 when running SAST analyzers that produce duplicate vulnerabilities3872 vulnerability_finding_signatures_enabled: true3873 and prefers original analyzer over semgrep when deduplicating3874 does not duplicate vulnerabilities3875 and prefers semgrep over original analyzer when deduplicating3876 does not duplicate vulnerabilities3877 vulnerability_finding_signatures_enabled: false3878 and prefers original analyzer over semgrep when deduplicating3879 does not duplicate vulnerabilities3880 and prefers semgrep over original analyzer when deduplicating3881 does not duplicate vulnerabilities3882 when resolving dropped identifiers3883 resolves vulnerabilities3884 when the same scanner runs multiple times in one pipeline3885 does not mark any of the detected vulnerabilities as resolved3886 when security reports feature is not available3887 does not execute IngestReportsService3888Iterations::Cadence3889 associations3890 is expected to belong to group required: false3891 is expected to have many iterations inverse_of => iterations_cadence3892 validations3893 is expected to validate that :title cannot be empty/falsy3894 is expected to validate that :group_id cannot be empty/falsy3895 is expected not to allow :active to be ‹nil›3896 is expected not to allow :automatic to be ‹nil›3897 is expected to validate that the length of :description is at most 50003898 when iteration cadence is automatic3899 is expected to validate that :start_date cannot be empty/falsy3900 when iteration cadence is manual3901 is expected not to validate that :start_date cannot be empty/falsy3902 start date validation3903 when cadence has a current iteration3904 when a new start date overlaps with the current iteration3905 behaves like an error is raised when start date is invalid3906 raises an error3907 when cadence has a past iteration3908 does not raise an error when start date does not overlap with the past iteration3909 when the new start date overlaps with the past iteration3910 behaves like an error is raised when start date is invalid3911 raises an error3912 when a past iteration would be retroactively created3913 start_date: lazy { earliest_possible_start_date - 1.day }3914 raises an error3915 start_date: lazy { earliest_possible_start_date - 2.days }3916 raises an error3917 callbacks3918 before_validation :reset_automation_params3919 when converted to manual3920 resets automation params3921 after_commit3922 ensure_iterations_in_advance3923 does not call CreateIterationsWorker when non-automation field is updated3924 does not call CreateIterationsWorker when manual cadence is created3925 calls CreateIterationsWorker when automation fields are updated3926 calls CreateIterationsWorker when automatic cadence is created3927 calls CreateIterationsWorker when automation fields are updated3928 calls CreateIterationsWorker when automatic cadence is created3929 calls CreateIterationsWorker when automation fields are updated3930 calls CreateIterationsWorker when automatic cadence is created3931 scopes3932 next_to_auto_schedule3933 returns automatic cadences with 'next_run_date' set in the past or to the current date3934 #next_schedule_date_and_count3935 today: lazy { cadence_start_date + 6.days }, existing_iterations: [], expected_schedule_start: lazy { cadence_start_date }, expected_schedule_count: 23936 returns the next occurring cadence start day after the most recent iteration is due with correct scheduling count3937 today: lazy { cadence_start_date }, existing_iterations: [], expected_schedule_start: lazy { cadence_start_date }, expected_schedule_count: 23938 returns the next occurring cadence start day after the most recent iteration is due with correct scheduling count3939 today: lazy { cadence_start_date - 6.days }, existing_iterations: [], expected_schedule_start: lazy { cadence_start_date }, expected_schedule_count: 13940 returns the next occurring cadence start day after the most recent iteration is due with correct scheduling count3941 today: lazy { cadence_start_date + 7.days }, existing_iterations: lazy { [{ start_date: cadence_start_date, due_date: cadence_start_date + 6.days }] }, expected_schedule_start: lazy { cadence_start_date + 7.days }, expected_schedule_count: 23942 returns the next occurring cadence start day after the most recent iteration is due with correct scheduling count3943 today: Sun, 10 Apr 2022, existing_iterations: [{:start_date=>Tue, 05 Apr 2022, :due_date=>Sat, 09 Apr 2022}], expected_schedule_start: lazy { Date.new(2022, 4, 9).next_week.next_occurring(cadence_start_day) }, expected_schedule_count: 13944 returns the next occurring cadence start day after the most recent iteration is due with correct scheduling count3945 today: Sun, 10 Apr 2022, existing_iterations: lazy do3946 [3947 { start_date: Date.new(2022, 4, 1), due_date: Date.new(2022, 4, 4) },3948 { start_date: Date.new(2022, 4, 5), due_date: Date.new(2022, 4, 10) }3949 ]3950 end, expected_schedule_start: lazy { Date.new(2022, 4, 10).next_week.next_occurring(cadence_start_day) }, expected_schedule_count: 13951 returns the next occurring cadence start day after the most recent iteration is due with correct scheduling count3952 #next_open_iteration_start_date3953 returns the cadence start date when neither past nor current iteration exists3954 when start date is set to an upcoming date3955 returns the cadence start date3956 when past iteration exists3957 when past iteration is the cadence start day from the previous week3958 returns the cadence start day for the current week3959 when many iterations can fit in-between the current date and the previous iteration due date3960 returns the date for the cadence start day nearest to the current date from the last iteration's due date3961 when past iteration is yesterday3962 returns the date for the cadence start day nearest to the current date from the last iteration's due date3963 when current iteration exists3964 returns the date for the cadence start day following the current iteration's due date3965 #update_iteration_sequences3966 an iteration is created or updated3967 start_date: Wed, 12 Apr 2023 09:43:10.445889971 UTC +00:00, expected_ordered_title: lazy { %w[iteration a b] }3968 sequence numbers are correctly updated3969 start_date: Wed, 19 Apr 2023, expected_ordered_title: lazy { %w[iteration a b] }3970 sequence numbers are correctly updated3971 start_date: Wed, 03 May 2023 09:43:10.446455811 UTC +00:00, expected_ordered_title: lazy { %w[a iteration b] }3972 sequence numbers are correctly updated3973 start_date: Wed, 17 May 2023 09:43:10.446591401 UTC +00:00, expected_ordered_title: lazy { %w[a b iteration] }3974 sequence numbers are correctly updated3975Resolvers::VulnerabilitiesResolver3976 #resolve3977 when given sort3978 when sorting descending by severity3979 is expected to eq [#<Vulnerability id:47 [vulnerability:namespace632/project657/47]>, #<Vulnerability id:48 [vulnerabil...ity:namespace632/project657/48]>, #<Vulnerability id:46 [vulnerability:namespace632/project657/46]>]3980 when sorting ascending by severity3981 is expected to eq [#<Vulnerability id:46 [vulnerability:namespace632/project657/46]>, #<Vulnerability id:48 [vulnerabil...ity:namespace632/project657/48]>, #<Vulnerability id:47 [vulnerability:namespace632/project657/47]>]3982 when sorting param is not provided3983 is expected to eq [#<Vulnerability id:47 [vulnerability:namespace632/project657/47]>, #<Vulnerability id:48 [vulnerabil...ity:namespace632/project657/48]>, #<Vulnerability id:46 [vulnerability:namespace632/project657/46]>]3984 when sorting by invalid param3985 is expected to eq [#<Vulnerability id:47 [vulnerability:namespace632/project657/47]>, #<Vulnerability id:48 [vulnerabil...ity:namespace632/project657/48]>, #<Vulnerability id:46 [vulnerability:namespace632/project657/46]>]3986 when given severities3987 only returns vulnerabilities of the given severities3988 when given states3989 only returns vulnerabilities of the given states3990 when given scanner external IDs3991 only returns vulnerabilities of the given scanner external IDs3992 when given scanner ID3993 only returns vulnerabilities of the given scanner IDs3994 when given report types3995 only returns vulnerabilities of the given report types3996 when given value for hasIssues argument3997 when has_issues is set to true3998 only returns vulnerabilities that have issues3999 when has_issues is set to false4000 only returns vulnerabilities that does not have issues4001 when given value for has_resolution argument4002 when has_resolution is set to true4003 only returns resolution that have resolution4004 when has_resolution is set to false4005 only returns resolution that does not have resolution4006 when given project IDs4007 only returns vulnerabilities belonging to the given projects4008 with multiple project IDs4009 avoids N+1 queries4010 when resolving vulnerabilities for a project4011 returns the project's vulnerabilities4012 when resolving vulnerabilities for an instance security dashboard4013 when there is a current user4014 returns vulnerabilities for all projects on the current user's instance security dashboard4015 and there is no current user4016 returns no vulnerabilities4017 when image is given4018 only returns vulnerabilities with given image4019 when different report_type is given along with image4020 returns empty list4021 when cluster_id is given4022 ignores the filter and returns unmatching vulnerabilities4023 when cluster_agent_id is given4024 only returns vulnerabilities with given cluster4025 when different report_type is given along with cluster4026 returns empty list4027Ci::CompareLicenseScanningReportsService4028 #execute4029 when loading data for multiple reports4030 loads the data efficiently4031 when head pipeline has license scanning reports4032 when the license_scanning_sbom_scanner feature flag is false4033 reports new licenses4034 when the license_scanning_sbom_scanner feature flag is true4035 reports new licenses4036 when head pipeline has not run and base pipeline is for a forked project4037 when the license_scanning_sbom_scanner feature flag is false4038 reports new licenses4039 when the license_scanning_sbom_scanner feature flag is true4040 reports new licenses4041 when base and head pipelines have test reports4042 when the license_scanning_sbom_scanner feature flag is false4043 reports status as parsed4044 reports new licenses4045 reports existing licenses4046 reports removed licenses4047 when the license_scanning_sbom_scanner feature flag is true4048 reports status as parsed4049 reports new licenses4050 reports existing licenses4051 reports removed licenses4052 when pipelines have corrupted reports4053 when the license_scanning_sbom_scanner feature flag is false4054 when base and head pipeline have corrupted reports4055 does not expose parser errors4056 when the base pipeline is nil4057 does not expose parser errors4058WikiPages::DestroyService4059 #execute4060 with geo_project_wiki_repository_replication feature flag disabled4061 calls Geo::RepositoryUpdatedService when running on a Geo primary node4062 does not call Geo::RepositoryUpdatedService when not running on a Geo primary node4063 with geo_project_wiki_repository_replication feature flag enabled4064 when on a Geo primary site4065 does not call Geo::RepositoryUpdatedService4066 when wiki_repository does not exist4067WARNING: An expectation of `:replicator` was set on `nil`. To allow expectations on `nil` and suppress this message, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `true`. To disallow expectations on `nil`, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `false`. Called from /builds/gitlab-org/gitlab/ee/spec/services/wiki_pages/destroy_service_spec.rb:59:in `block (6 levels) in <top (required)>'.4068 does not call replicator to update Geo4069 when wiki_repository exists4070 calls replicator to update Geo4071 when not on a Geo primary site4072 does not call replicator to update Geo4073 behaves like WikiPages::DestroyService#execute4074 executes webhooks4075 increments the delete count4076 creates a new wiki page deletion event (PENDING: group wiki support)4077 does not call Geo::RepositoryUpdatedService when container is group4078 when the deletion fails4079 returns an error response4080 does not increment the delete count if the deletion failed4081Types::ProjectType4082 includes the ee specific fields4083 security_scanners4084 returns a list of analyzers enabled for the project4085 returns a list of analyzers which were run in the last pipeline for the project4086 vulnerabilities4087 returns the project's vulnerabilities4088 code coverage summary field4089 is expected to have graphql type Types::Ci::CodeCoverageSummaryType4090 compliance_frameworks4091 queries in batches4092 push rules field4093 is expected to have graphql type Types::PushRulesType4094 scan_execution_policies4095 returns associated scan execution policies4096 scan_result_policies4097 returns associated scan result policies4098 dora field4099 is expected to have graphql type Types::DoraType4100 vulnerability_images4101 when user is not logged in4102 is expected to be nil4103 when user is logged in4104 returns a list of container images reported for vulnerabilities4105Analytics::CycleAnalytics::AggregatorService4106 when invalid mode is given4107 raises error4108 when the group is not licensed4109 sets the aggregation record disabled4110 calls the DataLoaderService only once4111 when a subgroup is given4112 sets the aggregation record disabled4113 when the aggregation succeeds4114 when nothing to aggregate4115 updates the aggregation record with metadata4116 when the aggregation already contains metadata about the previous runs4117 updates the statistical columns4118 when merge requests and issues are present for the configured VSA stages4119 updates the aggregation record with record count and the last cursor4120 when running a full aggregation4121 when aggregation is not finished4122 persists the cursor attributes4123 when aggregation is finished during the second run4124 resets the cursor attributes so the aggregation starts from the beginning4125Elastic::ProjectTransferWorker4126 is labeled as idempotent4127 performs multiple times sequentially without raising an exception4128 #perform4129 when elasticsearch_limit_indexing is on4130 when transferring from a non-existent namespace to an indexed namespace4131 invalidates cache when an namespace is not found4132 when transferring from a non-indexed namespace to an indexed namespace4133 invalidates the cache and indexes the project and all associated data4134 when transferring between an indexed namespace to a non-indexed namespace4135 invalidates the cache and removes the project from the index4136 when both namespaces are indexed4137 does not invalidate the cache and indexes the project and associated data4138 when elasticsearch_limit_indexing is off4139 does not invalidate the cache and indexes the project and all associated data4140Vulnerabilities::Statistic4141 associations4142 is expected to belong to project required: true4143 is expected to belong to pipeline required: false4144 validations4145 is expected to validate that :total looks like a number greater than or equal to 04146 is expected to validate that :critical looks like a number greater than or equal to 04147 is expected to validate that :high looks like a number greater than or equal to 04148 is expected to validate that :medium looks like a number greater than or equal to 04149 is expected to validate that :low looks like a number greater than or equal to 04150 is expected to validate that :unknown looks like a number greater than or equal to 04151 is expected to validate that :info looks like a number greater than or equal to 04152 is expected to define :letter_grade as an enum backed by an integer with values ‹[:a, :b, :c, :d, :f]›4153 .before_save4154 #assign_letter_grade4155 assigns the letter_grade4156 .by_grade4157 is expected to contain exactly #<Vulnerabilities::Statistic id: 26, created_at: "2023-04-19 10:06:53.805179279 +0000", updated_at: "...cal: 0, high: 0, medium: 0, low: 0, unknown: 0, info: 0, letter_grade: "a", latest_pipeline_id: nil>4158 .letter_grade_for4159 when the given object is an instance of Vulnerabilities::Statistic4160 is expected to eq 44161 when the given object is a Hash4162 is expected to eq 34163 .letter_grade_sql_for4164 target_critical: 0, target_unknown: 0, target_high: 0, target_medium: 0, target_low: 0, excluded_critical: 0, excluded_unknown: 0, excluded_high: 0, excluded_medium: 0, excluded_low: 04165 matches the application layer logic4166 target_critical: 0, target_unknown: 0, target_high: 0, target_medium: 0, target_low: 0, excluded_critical: 0, excluded_unknown: 0, excluded_high: 0, excluded_medium: 0, excluded_low: 14167 matches the application layer logic4168 target_critical: 0, target_unknown: 0, target_high: 0, target_medium: 0, target_low: 1, excluded_critical: 0, excluded_unknown: 0, excluded_high: 0, excluded_medium: 0, excluded_low: 04169 matches the application layer logic4170 target_critical: 0, target_unknown: 0, target_high: 0, target_medium: 0, target_low: 1, excluded_critical: 0, excluded_unknown: 0, excluded_high: 0, excluded_medium: 0, excluded_low: 14171 matches the application layer logic4172 target_critical: 0, target_unknown: 0, target_high: 0, target_medium: 0, target_low: 1, excluded_critical: 0, excluded_unknown: 0, excluded_high: 0, excluded_medium: 1, excluded_low: 14173 matches the application layer logic4174 target_critical: 0, target_unknown: 0, target_high: 0, target_medium: 1, target_low: 1, excluded_critical: 0, excluded_unknown: 0, excluded_high: 0, excluded_medium: 0, excluded_low: 14175 matches the application layer logic4176 target_critical: 0, target_unknown: 0, target_high: 0, target_medium: 1, target_low: 1, excluded_critical: 0, excluded_unknown: 0, excluded_high: 0, excluded_medium: 1, excluded_low: 14177 matches the application layer logic4178 target_critical: 0, target_unknown: 0, target_high: 0, target_medium: 1, target_low: 1, excluded_critical: 0, excluded_unknown: 0, excluded_high: 1, excluded_medium: 1, excluded_low: 14179 matches the application layer logic4180 target_critical: 0, target_unknown: 0, target_high: 1, target_medium: 1, target_low: 1, excluded_critical: 0, excluded_unknown: 0, excluded_high: 0, excluded_medium: 1, excluded_low: 14181 matches the application layer logic4182 target_critical: 0, target_unknown: 0, target_high: 1, target_medium: 1, target_low: 1, excluded_critical: 0, excluded_unknown: 0, excluded_high: 1, excluded_medium: 1, excluded_low: 14183 matches the application layer logic4184 target_critical: 0, target_unknown: 0, target_high: 1, target_medium: 1, target_low: 1, excluded_critical: 0, excluded_unknown: 1, excluded_high: 1, excluded_medium: 1, excluded_low: 14185 matches the application layer logic4186 target_critical: 0, target_unknown: 1, target_high: 1, target_medium: 1, target_low: 1, excluded_critical: 0, excluded_unknown: 0, excluded_high: 1, excluded_medium: 1, excluded_low: 14187 matches the application layer logic4188 target_critical: 0, target_unknown: 1, target_high: 1, target_medium: 1, target_low: 1, excluded_critical: 0, excluded_unknown: 1, excluded_high: 1, excluded_medium: 1, excluded_low: 14189 matches the application layer logic4190 target_critical: 0, target_unknown: 1, target_high: 1, target_medium: 1, target_low: 1, excluded_critical: 1, excluded_unknown: 1, excluded_high: 1, excluded_medium: 1, excluded_low: 14191 matches the application layer logic4192 target_critical: 1, target_unknown: 1, target_high: 1, target_medium: 1, target_low: 1, excluded_critical: 0, excluded_unknown: 1, excluded_high: 1, excluded_medium: 1, excluded_low: 14193 matches the application layer logic4194 target_critical: 1, target_unknown: 1, target_high: 1, target_medium: 1, target_low: 1, excluded_critical: 1, excluded_unknown: 1, excluded_high: 1, excluded_medium: 1, excluded_low: 14195 matches the application layer logic4196 .set_latest_pipeline_with4197 when there is already a vulnerability_statistic record available for the project of given pipeline4198 updates the `latest_pipeline_id` attribute of the existing record4199 when there is no vulnerability_statistic record available for the project of given pipeline4200 creates a new record with the `latest_pipeline_id` attribute is set4201 loose foreign key on vulnerability_statistics.latest_pipeline_id4202 behaves like cleanup by a loose foreign key4203 cleans up (delete or nullify) the model4204Ci::TriggerDownstreamSubscriptionService4205 #execute4206 when pipeline project has downstream projects4207 when subscription has an author4208 uses the subscription author as pipeline user4209 behaves like creates a downstream pipeline4210 associates the downstream pipeline with the upstream project4211 when the legacy subscription does not have an author4212 uses the downstream project creator as pipeline user4213 behaves like creates a downstream pipeline4214 associates the downstream pipeline with the upstream project4215 when project creator no longer exists4216 does not create a downstream pipeline4217 when pipeline project does not have downstream projects4218 does not call the create pipeline service4219Security::SecurityOrchestrationPolicies::PolicyCommitService4220 #execute4221 when service is used for project4222 behaves like commits policy to associated project4223 when policy_yaml is invalid4224 returns error4225 when defined branch is missing4226 returns error4227 when security_orchestration_policies_configuration does not exist for container4228 does not create new project4229 when policy already exists in policy project4230 append4231 does not create branch4232 replace4233 creates branch with updated policy4234 remove4235 creates branch with removed policy (FAILED - 1)42371st Try error in ./ee/spec/services/security/security_orchestration_policies/policy_commit_service_spec.rb:117:4238expected: :success4239 got: :error4240(compared using ==)4241Diff:4242@@ -1 +1 @@4243-:success4244+:error4246RSpec::Retry: 2nd try ./ee/spec/services/security/security_orchestration_policies/policy_commit_service_spec.rb:1174247 with branch_name as parameter4248 returns error4249 with user as a member of security project4250 returns success4251 when service is used for namespace4252 behaves like commits policy to associated project4253 when policy_yaml is invalid4254 returns error4255 when defined branch is missing4256 returns error4257 when security_orchestration_policies_configuration does not exist for container4258 does not create new project4259 when policy already exists in policy project4260 append4261 does not create branch4262 replace4263 creates branch with updated policy4264 remove4265 creates branch with removed policy4266 with branch_name as parameter4267 returns error4268 with user as a member of security project4269 returns success4270Ci::DailyBuildGroupReportResult4271 scopes4272 .latest4273 returns the most recent records by date and projects4274 .summaries_per_project4275 when projects with coverages4276 returns the code coverage summary by project4277 executes only 1 SQL query4278 when coverage has more than 3 decimals4279 returns average_coverage with 2 decimals4280 when project does not have coverage4281 returns an empty hash4282 executes only 1 SQL query4283 .activity_per_group4284 when group has project with several coverage4285 returns coverage activity for the group4286 when group has projects with several coverage4287 returns coverage activity for the group4288 when coverage has more than 3 decimals4289 returns average_coverage with 2 decimals4290 when group has projects without coverage4291 returns an empty collection4292EE::AllowedEmailDomains::UpdateService4293 #execute4294 as a normal user4295 for a group that has no email domain restriction4296 with valid domains4297 does not build new allowed_email_domain records4298 registers an error4299 as a group owner4300 for a group that has no email domain restriction4301 with valid domains4302 builds new allowed_email_domain records4303 builds new allowed_email_domain records with the provided domains4304 for a group that already has email domain restriction4305 with empty domain4306 marks all existing allowed_email_domain records for destruction4307 with valid domains4308 with an entirely new set of domains4309 each domain in the list is unique4310 builds new allowed_email_domain records with all of the specified domains4311 behaves like removes all existing allowed_email_domain records4312 marks all the existing allowed_email_domain records for destruction4313 list has space around the names of domains4314 builds new allowed_email_domain records with all of the specified domains without spaces around them4315 behaves like removes all existing allowed_email_domain records4316 marks all the existing allowed_email_domain records for destruction4317 domains in the list repeats4318 builds new allowed_email_domain records with only the unique domains among the specified domains4319 behaves like removes all existing allowed_email_domain records4320 marks all the existing allowed_email_domain records for destruction4321 replacing one of the existing domains with another4322 marks the allowed_email_domain record of the replaced domain for destruction4323 retains the allowed_email_domain record of the other existing domain4324 builds a new allowed_email_domain record with the newly specified domain4325AddLabelIdsAndSchemaVersionToIssuesMapping4326 # order random4327 .completed?4328 mapping has been updated4329 is expected to be completed4330 mapping has not been updated4331 is expected not to be completed4332 .migrate4333 when migration is already completed4334 does not modify data4335 migration process4336 updates the issues index mappings4337MergeRequests::ExecuteApprovalHooksService4338 #execute4339 with remaining approvals4340 fires an approval webhook4341 does not send an email4342 with required approvals4343 fires an approved webhook4344 sends an email4345Gitlab::CodeOwners::UsersLoader4346 #load_to4347 returns the user case insensitive for usernames4348 returns users for confirmed primary emails4349 returns users for unconfirmed primary emails4350 returns users for confirmed secondary emails4351 does not return users for unconfirmed secondary emails4352 input has no matching e-mail or usernames4353 returns an empty list of users4354 nil input4355 returns an empty relation when nil was passed4356 input as array of strings4357 is treated as one string4358AppSec::Dast::Sites::FindOrCreateService4359 #execute!4360 when a user does not have access to the project4361 raises an exception4362 when the user can run a dast scan4363 returns a dast_site4364 creates a dast_site4365 when the dast_site already exists4366 returns the existing dast_site4367 does not create a new dast_site4368 when the record is invalid4369 raises an exception4370 when on demand scan licensed feature is not available4371 raises an exception4372registrations/welcome/show4373 # order random4374 for rendering the hidden email opt in checkbox4375 is expected to have visible css "input[name=\"user[email_opted_in]\"]"4376 is expected to have visible css ".js-email-opt-in.hidden"4377 forms and progress bar4378 redirect_path: "/-/subscriptions/new", signup_onboarding_enabled: false, show_progress_bar: true, flow: :subscription, continue?: true, show_joining_question: true4379 shows the correct text for the :setup_for_company label4380 shows the correct text for the submit button4381 is expected to have visible css "#progress-bar"4382 is expected to have visible css "#joining_project_true"4383 renders a select and text field for additional information4384 redirect_path: "/-/subscriptions/new", signup_onboarding_enabled: true, show_progress_bar: true, flow: :subscription, continue?: true, show_joining_question: true4385 shows the correct text for the :setup_for_company label4386 shows the correct text for the submit button4387 is expected to have visible css "#progress-bar"4388 is expected to have visible css "#joining_project_true"4389 renders a select and text field for additional information4390 redirect_path: "/oauth/authorize/abc123", signup_onboarding_enabled: false, show_progress_bar: false, flow: nil, continue?: false, show_joining_question: true4391 shows the correct text for the :setup_for_company label4392 shows the correct text for the submit button4393 is expected not to have visible css "#progress-bar"4394 is expected to have visible css "#joining_project_true"4395 renders a select and text field for additional information4396 redirect_path: "/oauth/authorize/abc123", signup_onboarding_enabled: true, show_progress_bar: false, flow: nil, continue?: false, show_joining_question: true4397 shows the correct text for the :setup_for_company label4398 shows the correct text for the submit button4399 is expected not to have visible css "#progress-bar"4400 is expected to have visible css "#joining_project_true"4401 renders a select and text field for additional information4402 redirect_path: nil, signup_onboarding_enabled: false, show_progress_bar: false, flow: nil, continue?: false, show_joining_question: true4403 shows the correct text for the :setup_for_company label4404 shows the correct text for the submit button4405 is expected not to have visible css "#progress-bar"4406 is expected to have visible css "#joining_project_true"4407 renders a select and text field for additional information4408 redirect_path: nil, signup_onboarding_enabled: true, show_progress_bar: true, flow: nil, continue?: true, show_joining_question: true4409 shows the correct text for the :setup_for_company label4410 shows the correct text for the submit button4411 is expected to have visible css "#progress-bar"4412 is expected to have visible css "#joining_project_true"4413 renders a select and text field for additional information4414Ci::ProcessPipelineService#execute4415 cross-project pipelines4416 creates a downstream cross-project pipeline4417Geo::RepositoryVerificationSecondaryService4418 #execute4419 for a repository4420 does not calculate the checksum when not running on a secondary4421 does not verify the checksum if resync is needed4422 does not verify the checksum if primary was never verified4423 does not verify the checksum if the current checksum matches4424 sets checksum when the checksum matches4425 does not mark the verification as failed when there is no repo4426 when the checksum mismatch4427 keeps track of failures4428 ensures the next retry time is capped properly4429 when checksum calculation fails4430 keeps track of failures4431 ensures the next retry time is capped properly4432 for a wiki4433 with geo_project_wiki_repository_replication feature flag disabled4434 does not calculate the checksum when not running on a secondary4435 does not verify the checksum if resync is needed4436 does not verify the checksum if primary was never verified4437 does not verify the checksum if the current checksum matches4438 sets checksum when the checksum matches4439 does not mark the verification as failed when there is no repo4440 when the checksum mismatch4441 keeps track of failures4442 ensures the next retry time is capped properly4443 when checksum calculation fails4444 keeps track of failures4445 ensures the next retry time is capped properly4446 with geo_project_wiki_repository_replication feature flag enabled4447 does not calculate the wiki checksum4448shared/_mirror_status.html.haml4449 when mirror has not updated yet4450 does not render anything4451 when mirror successful4452 renders success message4453 when mirror failed4454 renders failure message4455 renders failure message with icon4456 with a previous successful update4457 renders failure message4458 with a hard failed mirror4459 renders hard failed message4460Gitlab::Vulnerabilities::StandardVulnerability4461 inherits from Gitlab::Vulnerabilities::BaseVulnerability4462 #title4463 when title is present4464 returns title4465 when title is not set4466 fallbacks to name4467 when title and name are not set4468 returns nil4469 #description4470 when description is present4471 returns description4472 when description is not set4473 fallbacks to title4474 when description and title are not set4475 fallbacks to name4476 when title, name and description are not set4477 returns nil4478 #file4479 when file is present4480 returns file4481 when file is not set4482 fallbacks to location4483 when file and location are not set4484 returns nil4485 #line4486 when line is present4487 returns line4488 when line is not set4489 fallbacks to location4490 when line and location are not set4491 returns nil4492 #location_text4493 when line is nil4494 returns a string with file4495 when line is present4496 returns a string with file and line4497 #location_link4498 when blob_path is nil4499 returns file path4500 when line is present4501 returns a string with file and line4502 #blob_path4503 when blob_path is in top level data4504 returns blob_path from top level4505 when blob_path is not in top level data but is in location data4506 returns blob_path from location data4507 when blob_path is not present4508 returns nil4509Security::Ingestion::Tasks::IngestFindingIdentifiers4510 #execute4511 associates findings with the identifiers4512 behaves like bulk insertable task4513 when the validation fails4514 can generate error messages correctly4515SubscriptionPresenter4516 #plan4517 is expected to eq "ultimate"4518 #notify_admins?4519 remaining_days_count: nil, expected_result: false4520 is expected to equal false4521 remaining_days_count: 0, expected_result: true4522 is expected to equal true4523 remaining_days_count: -1 days and 15 seconds, expected_result: true4524 is expected to equal true4525 remaining_days_count: 15, expected_result: true4526 is expected to equal true4527 remaining_days_count: 1 day and 15 seconds, expected_result: false4528 is expected to equal false4529 #notify_users?4530 is expected to equal false4531 #block_changes_at4532 is expected to eq Fri, 03 May 20244533 when end_date is nil4534 is nil4535 #block_changes?4536 end_date is nil4537 is expected to equal false4538 is not expired4539 is false4540 is expired4541 is not past grace period4542 is false4543 is past grace period4544 is true4545 #will_block_changes?4546 when end_date exists4547 is expected to equal true4548 when end_date does not exist4549 is false4550 #remaining_days4551 is nil when end_date is nil4552 returns the number of days between end_date and today4553 is 0 if expired4554Ci::CreatePipelineService4555 when the feature is not licensed4556 behaves like it does not expand the dast variables4557 does not include the profile variables4558 when the feature is licensed4559 when the stage is dast4560 persists dast_configuration in build options4561 expands the dast variables4562 when the user has permission4563 expands the secret dast variables4564 when the site profile does not exist4565 behaves like a missing profile4566 communicates failure4567 when the scanner profile does not exist4568 behaves like a missing profile4569 communicates failure4570 when there is an unexpected system error4571 handles the error4572 when the stage is not dast4573 behaves like it does not expand the dast variables4574 does not include the profile variables4575 behaves like pipelines are created without N+1 SQL queries4576 avoids N+1 queries4577 behaves like pipelines are created without N+1 SQL queries4578 avoids N+1 queries4579Namespaces::UserNamespacePolicy4580 auditor4581 owner4582 is expected to be allowed :create_projects, :admin_namespace, :read_namespace, and :read_billable_member4583 non-owner4584 is expected to be disallowed :create_projects, :admin_namespace, :read_namespace, and :read_billable_member4585 admin4586 when admin mode is enabled4587 is expected to be allowed :create_projects, :admin_namespace, :read_namespace, and :read_billable_member4588 when admin mode is disabled4589 is expected to be disallowed :create_projects, :admin_namespace, :read_namespace, and :read_billable_member4590 :admin_compliance_framework4591 when feature is licensed4592 when user is admin4593 behaves like permitted4594 is expected to be allowed :admin_compliance_framework4595 when user is owner4596 behaves like permitted4597 is expected to be allowed :admin_compliance_framework4598 when feature is not licensed4599 when user is admin4600 behaves like not permitted4601 is expected to be disallowed :admin_compliance_framework4602 when user is owner4603 behaves like not permitted4604 is expected to be disallowed :admin_compliance_framework4605 behaves like update namespace limit policy4606 update_subscription_limit4607 role: :user, is_com: true, allowed: false4608 when admin mode enabled4609 is expected to be disallowed :update_subscription_limit4610 when admin mode disabled4611 is expected to be disallowed :update_subscription_limit4612 role: :owner, is_com: true, allowed: false4613 when admin mode enabled4614 is expected to be disallowed :update_subscription_limit4615 when admin mode disabled4616 is expected to be disallowed :update_subscription_limit4617 role: :admin, is_com: true, allowed: true4618 when admin mode enabled4619 is expected to be allowed :update_subscription_limit4620 when admin mode disabled4621 is expected to be disallowed :update_subscription_limit4622 role: :user, is_com: false, allowed: false4623 when admin mode enabled4624 is expected to be disallowed :update_subscription_limit4625 when admin mode disabled4626 is expected to be disallowed :update_subscription_limit4627 role: :owner, is_com: false, allowed: false4628 when admin mode enabled4629 is expected to be disallowed :update_subscription_limit4630 when admin mode disabled4631 is expected to be disallowed :update_subscription_limit4632 role: :admin, is_com: false, allowed: false4633 when admin mode enabled4634 is expected to be disallowed :update_subscription_limit4635 when admin mode disabled4636 is expected to be disallowed :update_subscription_limit4637Deployments::AutoRollbackService4638 #execute4639 successfully rolls back a deployment4640 when RetryJobService fails to retry the deployable4641 behaves like rollback failure4642 returns an error4643 when auto_rollback checkbox is disabled on the project4644 behaves like rollback failure4645 returns an error4646 when project does not have an sufficient license4647 behaves like rollback failure4648 returns an error4649 when there are running deployments4650 behaves like rollback failure4651 returns an error4652 when auto rollback was triggered recently4653 behaves like rollback failure4654 returns an error4655 when there are no deployments on the environment4656 behaves like rollback failure4657 returns an error4658 when there are no deployed commits in the repository4659 behaves like rollback failure4660 returns an error4661 when rollback target's deployable is not available4662 behaves like rollback failure4663 returns an error4664 when rollback target's deployable is not retryable4665 behaves like rollback failure4666 returns an error4667 when the user who performed deployments is no longer a project member4668 raises an error4669Gitlab::Auth::Smartcard::LdapCertificate4670 #find_or_create_user4671 user and smartcard ldap certificate already exists4672 finds existing user4673 does not create new user4674 user exists but it is using a new ldap certificate4675 finds existing user4676 does create new user identity4677 user already has a different ldap certificate identity4678 doesn't create a new identity4679 doesn't create a new user4680 user does not exist4681 creates user with correct attributes4682 creates identity4683 creates identity with correct attributes4684 calls Users::BuildService with correct params4685 behaves like creates user4686 is expected to change `User.count` from 0 to 14687 when the current minimum password length is different from the default minimum password length4688 behaves like creates user4689 is expected to change `User.count` from 0 to 14690 username generation4691 uses LDAP uid4692 creates user with correct username4693 avoids conflicting namespaces4694 creates user with correct username4695 behaves like a valid certificate is required4696 invalid certificate4697 returns nil4698 incorrect certificate4699 returns nil4700 behaves like a certificate store4701 .store4702 loads CA bundle4703 uses correct method4704 without valid CA file4705 raises error4706Sidebars::Projects::Menus::SecurityComplianceMenu4707 #link4708 show_discover_project_security: true, security_dashboard_feature: true, dependency_scanning_feature: true, audit_events_feature: true, expected_link: "/-/security/discover"4709 returns the expected link4710 show_discover_project_security: false, security_dashboard_feature: true, dependency_scanning_feature: true, audit_events_feature: true, expected_link: "/-/security/dashboard"4711 returns the expected link4712 show_discover_project_security: false, security_dashboard_feature: false, dependency_scanning_feature: true, audit_events_feature: true, expected_link: "/-/dependencies"4713 returns the expected link4714 show_discover_project_security: false, security_dashboard_feature: false, dependency_scanning_feature: false, audit_events_feature: true, expected_link: "/-/audit_events"4715 returns the expected link4716 show_discover_project_security: false, security_dashboard_feature: false, dependency_scanning_feature: false, audit_events_feature: false, expected_link: "/-/security/configuration"4717 returns the expected link4718 when no security menu item and show promotions4719 returns nil4720 Menu items4721 Configuration4722 #sidebar_security_configuration_paths4723 includes all the security configuration paths4724 Discover Security and Compliance4725 when show_discover_project_security is true4726 is expected not to be nil4727 when show_discover_project_security is not true4728 is expected to be nil4729 Security Dashboard4730 when user can access security dashboard4731 is expected not to be nil4732 when user cannot access security dashboard4733 is expected to be nil4734 Vulnerability Report4735 when user can access vulnerabilities report4736 is expected not to be nil4737 when user cannot access vulnerabilities report4738 is expected to be nil4739 On Demand Scans4740 when user can access vulnerabilities report4741 is expected not to be nil4742 when user cannot access vulnerabilities report4743 is expected to be nil4744 Dependency List4745 when user can access dependency list4746 is expected not to be nil4747 when user cannot access dependency list4748 is expected to be nil4749 License Compliance4750 when user can access license compliance4751 is expected not to be nil4752 when user cannot access license compliance4753 is expected to be nil4754 Policies4755 when user can access policies tab4756 is expected not to be nil4757 when user cannot access policies tab4758 is expected to be nil4759 Audit Events4760 when user can access audit events4761 is expected not to be nil4762 when feature audit events is licensed4763 is expected not to be nil4764 when feature audit events is not licensed4765 when show promotions is enabled4766 is expected not to be nil4767 when show promotions is disabled4768 is expected to be nil4769 when user cannot access audit events4770 is expected to be nil4771Releases::CreateService4772 group milestones4773 when a group milestone is passed4774 when licenced4775 adds the group milestone4776 when unlicensed4777 returns an error4778 when a supergroup milestone is passed4779 raises an error4780Gitlab::Geo::Oauth::LogoutToken4781 #valid?4782 returns false when current user is nil4783 returns false when state is nil4784 returns false when state is empty4785 returns false when token has an incorrect encoding4786 returns false when token could not be found4787 returns false when token has an invalid status4788 returns false when token does not belong to the user4789 returns true when token is valid4790 #return_to4791 returns nil when token is invalid4792 returns nil when there is no Geo node associated with the OAuth application4793 when state return_to param is nil4794 returns the Geo node URL associated with the OAuth application4795 when state return_to param is empty4796 returns the Geo node URL associated with the OAuth application4797 when state return_to param is set4798 returns the full path to the Geo node URL associated with the OAuth application4799 replaces the host with the Geo node associated with the OAuth application4800 handles leading and trailing slashes correctly4801Gitlab::Geo::HealthCheck4802 #perform_checks4803 when an exception is raised4804 catches the exception nicely and returns the message4805 with PostgreSQL4806 on the primary node4807 returns an empty string4808 on the secondary node4809 when the Geo tracking DB is not configured4810 returns an error4811 when reusing an existing tracking database4812 returns an error when event_log_state is older than current node created_at4813 when the database is writable4814 returns an error4815 streaming replication4816 returns an error when replication is not working4817 archive recovery replication4818 returns an error when replication is not working4819 some sort of replication4820 that is not working4821 returns an error4822 that is working4823 returns an error if database is not fully migrated4824 finally returns an empty string when everything is healthy4825 #db_replication_lag_seconds4826 when there is no lag4827 returns 0 seconds4828 when there is lag4829 returns the number of seconds4830 #replication_enabled?4831 streaming_replication_enabled: false, archive_recovery_replication_enabled: false, result: false4832 returns the correct result4833 streaming_replication_enabled: true, archive_recovery_replication_enabled: false, result: true4834 returns the correct result4835 streaming_replication_enabled: false, archive_recovery_replication_enabled: true, result: true4836 returns the correct result4837 #replication_working?4838 streaming_replication_enabled: false, streaming_replication_active: nil, some_replication_active: false, result: false4839 returns the correct result4840 streaming_replication_enabled: false, streaming_replication_active: nil, some_replication_active: true, result: true4841 returns the correct result4842 streaming_replication_enabled: true, streaming_replication_active: false, some_replication_active: nil, result: false4843 returns the correct result4844 streaming_replication_enabled: true, streaming_replication_active: true, some_replication_active: nil, result: true4845 returns the correct result4846Security::StoreGroupedScansService4847 .execute4848 delegates the call to an instance of `Security::StoreGroupedScansService`4849 #execute4850 when there is a parsing error4851nil versions are discouraged and will be deprecated in Rubygems 44852 does not propagate the error to the caller4853 tracks the error4854 when there is no error4855 schema validation4856 when there is only one report4857 accesses the validated security report4858 when there are more than one reports4859 accesses the validated security reports4860 when the artifacts are not dependency_scanning4861 and reports doesn't pass schema validation4862 calls the Security::StoreScanService with ordered artifacts4863 some of the reports don't pass schema validation4864 calls the Security::StoreScanService with correctly ordered artifacts4865 and report does pass schema validation4866 calls the Security::StoreScanService with ordered artifacts4867 when the artifacts are sast4868 calls the Security::StoreScanService with ordered artifacts4869 when the artifacts are dependency_scanning4870 calls the Security::StoreScanService with ordered artifacts4871Epics::WithAccessCheck4872 # order random4873 when user has reporter access to all groups4874 returns only visible epics4875 when user has reporter access to base epic's group4876 returns only visible epics4877 when param include_ancestor_groups is false4878 excludes epics from ancestor groups4879 when param include_descendant_groups is false4880 excludes epics from descendant groups4881 when user has guest access to base epic's group4882 returns only visible epics4883 when required methods are not implemented4884 when `epics_collection` is not defined in inheriting class4885 raises NotImplementedError4886 when `base_epic` is not defined in inheriting class4887 raises NotImplementedError4888Gitlab::Ingestion::BulkInsertableTask4889 .unique_by4890 does not try to create/update duplicate records4891AdjournedProjectsDeletionCronWorker4892 #perform4893 only schedules to delete projects marked for deletion before number of days from settings4894 when two projects are scheduled for deletion4895 schedules the second job 10 seconds after the first4896 marked for deletion exectly before number of days from settings4897 schedules to delete project4898 when settings are set to not-default number of days4899 only schedules to delete projects marked for deletion before number of days from settings4900AppSec::Dast::Scans::CreateService4901 execute4902 when on demand scan licensed feature is not available4903 when the user cannot run an on demand scan4904 communicates failure4905 when the feature is enabled4906 when user can run an on demand scan4907 communicates success4908 returns a pipeline and pipeline_url4909 behaves like a service that calls AppSec::Dast::Scans::RunService4910 delegates pipeline creation to AppSec::Dast::Scans::RunService4911 when a branch is specified4912 when the branch does not exist4913 responds with error message4914 when the branch exists4915 communicates success4916 when dast_scanner_profile is nil4917 communicates success4918 when dast_profile is specified4919 communicates success4920 behaves like a service that calls AppSec::Dast::Scans::RunService4921 delegates pipeline creation to AppSec::Dast::Scans::RunService4922 when target is not validated and an active scan is requested4923 communicates failure4924Mutations::MergeRequests::SetAssignees4925 behaves like a multi-assignable resource4926 #resolve4927 when the user can update the resource4928 sets the assignees4929 removes assignees not in the list4930 when passing "append" as true4931 does not remove assignees not in the list4932Container-Scanning.latest.gitlab-ci.yml4933 # order random4934 the created pipeline4935 when project has no license4936 when branch pipeline4937 includes job4938 when MR pipeline4939 creates a pipeline with the expected jobs4940 with CS_MAJOR_VERSION greater than 34941 includes job4942 when CONTAINER_SCANNING_DISABLED=14943 includes no jobs4944 when CONTAINER_SCANNING_DISABLED="true"4945 includes no jobs4946 when CONTAINER_SCANNING_DISABLED="false"4947 includes job4948DastScannerProfilePolicy4949 behaves like a dast on-demand scan policy4950 dast on-demand policies4951 when a user does not have access to the project4952 is expected to be disallowed :create_on_demand_dast_scan, :edit_on_demand_dast_scan, and :read_on_demand_dast_scan4953 when the user is a guest4954 is expected to be disallowed :create_on_demand_dast_scan, :edit_on_demand_dast_scan, and :read_on_demand_dast_scan4955 when the user is a reporter4956 is expected to be disallowed :create_on_demand_dast_scan, :edit_on_demand_dast_scan, and :read_on_demand_dast_scan4957 when the user is a developer4958 is expected to be allowed :create_on_demand_dast_scan, :edit_on_demand_dast_scan, and :read_on_demand_dast_scan4959 when the user is a maintainer4960 is expected to be allowed :create_on_demand_dast_scan, :edit_on_demand_dast_scan, and :read_on_demand_dast_scan4961 when the user is an owner4962 is expected to be allowed :create_on_demand_dast_scan, :edit_on_demand_dast_scan, and :read_on_demand_dast_scan4963 when the user is an auditor4964 is expected to be disallowed :create_on_demand_dast_scan and :edit_on_demand_dast_scan4965 is expected to be allowed :read_on_demand_dast_scan4966 when the user is allowed4967 when on demand scan licensed feature is not available4968 is expected to be disallowed :create_on_demand_dast_scan, :edit_on_demand_dast_scan, and :read_on_demand_dast_scan4969Ci::Runners::ResetRegistrationTokenService#execute4970 with instance scope4971 behaves like a registration token reset operation4972 without user4973 does not audit and returns error response4974 with unauthorized user4975 does not audit and returns error response4976 with admin user4977 calls security_event on RunnersTokenAuditEventService and returns the new token4978 with group scope4979 behaves like a registration token reset operation4980 without user4981 does not audit and returns error response4982 with unauthorized user4983 does not audit and returns error response4984 with admin user4985 calls security_event on RunnersTokenAuditEventService and returns the new token4986 with project scope4987 behaves like a registration token reset operation4988 without user4989 does not audit and returns error response4990 with unauthorized user4991 does not audit and returns error response4992 with admin user4993 calls security_event on RunnersTokenAuditEventService and returns the new token4994Gitlab::Analytics::CycleAnalytics::StageEvents::IssueFirstAddedToBoard4995 behaves like value stream analytics event4996 is expected to be a kind of String4997 is expected to be a kind of Symbol4998 is expected to include ApplicationRecord(abstract)4999 is expected to respond to #timestamp_projection5000 is expected to respond to #html_description5001 is expected to be a kind of Array5002 #apply_query_customization5003 expects an ActiveRecord::Relation object as argument and returns a modified version of it5004 #hash_code5005 returns a hash that uniquely identifies an event5006 does not differ when the same object is built with the same params5007 behaves like LEFT JOIN-able value stream analytics event5008 can use the event as LEFT JOIN5009 when looking at the record with data5010 contains the timestamp expression5011 when looking at the record without data5012 returns nil for the timestamp expression5013Sidebars::Groups::Menus::EpicsMenu5014 Menu Items5015 when the user has access to epics5016 has all the menus5017 when the user does not have access5018 is expected to be empty5019 behaves like pill_count formatted results5020 returns all digits for count value under 10005021 returns truncated digits for count value over 10005022 returns truncated digits for count value over 100005023 returns truncated digits for count value over 1000005024 behaves like serializable as super_sidebar_menu_args5025 returns hash with provided attributes5026 returns hash with an item_id5027Namespaces::FreeUserCap::UsageQuotaTrialAlertComponent5028 when on trial5029 renders the banner5030 when group is public5031 does not have banner content5032 when the free_user_cap feature flag is not enabled5033 does not have banner content5034 when not on trial5035 does not have banner content5036Vulnerabilities::FindingIdentifier5037 associations5038 is expected to belong to finding class_name => Vulnerabilities::Finding required: false5039 is expected to belong to identifier class_name => Vulnerabilities::Identifier required: false5040 validations5041 is expected to validate that :finding cannot be empty/falsy5042 is expected to validate that :identifier cannot be empty/falsy5043 is expected to validate that :identifier_id is case-sensitively unique within the scope of :occurrence_id5044Gitlab::Analytics::CycleAnalytics::StageEvents::IssueLabelRemoved5045 behaves like value stream analytics event5046 is expected to be a kind of String5047 is expected to be a kind of Symbol5048 is expected to include ApplicationRecord(abstract)5049 is expected to respond to #timestamp_projection5050 is expected to respond to #html_description5051 is expected to be a kind of Array5052 #apply_query_customization5053 expects an ActiveRecord::Relation object as argument and returns a modified version of it5054 #hash_code5055 returns a hash that uniquely identifies an event5056 does not differ when the same object is built with the same params5057 behaves like LEFT JOIN-able value stream analytics event5058 can use the event as LEFT JOIN5059 when looking at the record with data5060 contains the timestamp expression5061 when looking at the record without data5062 returns nil for the timestamp expression5063IterationNote5064 .from_event5065 behaves like a synthetic note5066 behaves like a system note5067 has the correct attributes5068 #discussion_id5069 returns the expected discussion id5070 with a remove iteration event5071 creates the expected note5072MergeRequests::Mergeability::CheckExternalStatusChecksPassedService5073 # order random5074 #execute5075 only_allow_merge_if_all_status_checks_passed_enabled?: true, any_external_status_checks_not_passed?: false, prevent?: false5076 returns correct status5077 only_allow_merge_if_all_status_checks_passed_enabled?: false, any_external_status_checks_not_passed?: true, prevent?: false5078 returns correct status5079 only_allow_merge_if_all_status_checks_passed_enabled?: false, any_external_status_checks_not_passed?: false, prevent?: false5080 returns correct status5081 only_allow_merge_if_all_status_checks_passed_enabled?: true, any_external_status_checks_not_passed?: true, prevent?: true5082 returns correct status5083 #only_allow_merge_if_all_status_checks_passed_enabled?5084 license: false, column_value: false, return_value: false5085 returns correct value5086 license: true, column_value: false, return_value: false5087 returns correct value5088 license: false, column_value: true, return_value: false5089 returns correct value5090 license: true, column_value: true, return_value: true5091 returns correct value5092 #cacheable?5093 returns false5094 #skip?5095 returns false5096Elastic::NamespaceUpdateWorker5097 # order random5098 when elasticsearch indexing is enabled5099 for a project5100 does not call Elastic::ProcessBookkeepingService.track!5101 when the project has a member5102 calls Elastic::ProcessBookkeepingService.track! for the user5103 for a group5104 does not call Elastic::ProcessBookkeepingService.track!5105 when the group has a member5106 calls Elastic::ProcessBookkeepingService.track! for the user5107 when the group has a subgroup with a member5108 calls Elastic::ProcessBookkeepingService.track! for the user5109 when the group has a parent with a member5110 does not call Elastic::ProcessBookkeepingService.track!5111VulnerabilityExports::ExportWorker5112 #perform5113 when vulnerability export does not exist5114 does not raise any error5115 does not call VulnerabilityExports::ExportService::export5116 when vulnerability export exists5117 calls VulnerabilityExports::ExportService::export with the vulnerability_export object5118 sidekiq_retries_exhausted callback5119 when the max retry count is not reached5120 does not mark the vulnerability export object as failed5121 when the max retry count is reached5122 marks the vulnerability export object as failed5123Projects::LearnGitlabHelper5124 # order random5125 #onboarding_track_label5126 params: lazy { { trial_onboarding_flow: 'true' } }, result: "trial_registration"5127 returns free_registration5128 params: lazy { { trial_onboarding_flow: 'false' } }, result: "free_registration"5129 returns free_registration5130 params: lazy { {} }, result: "free_registration"5131 returns free_registration5132 #learn_gitlab_data5133 sets correct completion statuses5134 behaves like has all data5135 has all actions5136 has all section data5137 has all project data5138 with security_actions_continuous_onboarding experiment5139 when control5140 sets correct paths5141 when candidate5142 sets correct paths5143 for trial- and subscription-related actions5144 when namespace has free or no subscription5145 provides URLs to start a trial to namespace admins5146 provides URLs to Gitlab docs to namespace non-admins5147 when namespace has paid subscription5148 provides URLs to Gitlab docs to namespace admins5149 provides URLs to Gitlab docs to namespace non-admins5150Ci::Sources::Project5151 Relations5152 is expected to belong to pipeline required: true5153 is expected to belong to source_project class_name => ::Project required: true5154 Validations5155 is expected to validate that :pipeline_id is case-sensitively unique within the scope of :source_project_id5156 loose foreign key on ci_sources_projects.source_project_id5157 behaves like cleanup by a loose foreign key5158 cleans up (delete or nullify) the model5159ProjectsFinder5160 #execute5161 filter by plans5162 with ultimate plan5163 is expected to contain exactly #<Project id:832 namespace906/project899>> and #<Project id:833 namespace907/project900>>5164 with multiple plans5165 is expected to contain exactly #<Project id:832 namespace906/project899>>, #<Project id:833 namespace907/project900>>, and #<Project id:834 namespace908/project901>>5166 with other plans5167 is expected to be empty5168 without plans5169 is expected to contain exactly #<Project id:832 namespace906/project899>>, #<Project id:833 namespace907/project900>>, #<Project id:834 namespace908/project901>>, and #<Project id:835 namespace909/project902>>5170 with empty plans5171 is expected to contain exactly #<Project id:832 namespace906/project899>>, #<Project id:833 namespace907/project900>>, #<Project id:834 namespace908/project901>>, and #<Project id:835 namespace909/project902>>5172 filter by aimed for deletion5173 is expected to contain exactly #<Project id:836 namespace910/project903>>5174 filter by not aimed for deletion5175 is expected to contain exactly #<Project id:832 namespace906/project899>>, #<Project id:833 namespace907/project900>>, #<Project id:834 namespace908/project901>>, and #<Project id:835 namespace909/project902>>5176 filter by hidden5177 when include hidden is true5178 is expected to contain exactly #<Project id:832 namespace906/project899>>, #<Project id:833 namespace907/project900>>, #<Project id:834 namespace908/project901>>, #<Project id:835 namespace909/project902>>, and #<Project id:840 namespace914/project907>>5179 when include hidden is false5180 is expected to contain exactly #<Project id:832 namespace906/project899>>, #<Project id:833 namespace907/project900>>, #<Project id:834 namespace908/project901>>, and #<Project id:835 namespace909/project902>>5181Jira::JqlBuilderService5182 #execute5183 when no params5184 builds jql with default ordering5185 with special characters in project key5186 escapes quotes and backslashes5187 with search param5188 builds jql5189 search param with single qoutes5190 builds jql5191 search param with single double qoutes5192 builds jql5193 search param with special characters5194 builds jql5195 with labels param5196 builds jql5197 with status param5198 builds jql5199 with author_username param5200 builds jql5201 with assignee_username param5202 builds jql5203 with sort params5204 builds jql5205 with opened state param5206 builds jql5207 with closed state param5208 builds jql5209 with any other state param5210 builds jql5211 with vulnerability_ids params5212 builds jql5213 with issue_ids params5214 builds jql5215Gitlab::Ci::Minutes::PipelineConsumption5216 # order random5217 #amount5218 calculates minutes consumed correctly5219 filters out non-completed builds5220 correctly rounds numbers5221 does not error for completed builds with no duration5222 with private runners5223 excludes non-instance runners5224GitlabSubscriptions::UpcomingReconciliationHelper5225 with namespace5226 returns true and reconciliation date5227 with a group5228 returns true and reconciliation date5229 when instance does not have paid namespaces (ex: self managed instance)5230 returns false and empty hash5231 when user is not owner5232 returns false and empty hash5233 when namespace does not exist in upcoming_reconciliations table5234 returns false and empty hash5235 without namespace5236 returns true and reconciliation date5237 when not in admin mode or user is not admin5238 returns false and empty hash5239 when there is no row in upcoming_reconciliations table5240 returns false and empty hash5241 returns false and empty hash5242ComplianceManagement::UpdateDefaultFrameworkWorker5243 # order random5244 #perform5245 invokes Projects::UpdateService5246 updates the compliance framework for the project5247 rescues and logs the exception if project does not exist5248 behaves like an idempotent worker5249 is labeled as idempotent5250 performs multiple times sequentially without raising an exception5251projects/project_members/index5252 # order random5253 when user can not invite members or group for the project5254 when membership is locked and project can not be shared5255 renders as expected5256 when user can invite members for the project5257 when membership is locked5258 renders as expected5259 when project can not be shared5260 renders as expected5261 when managing members text is present5262 renders as expected5263Types::AppSec::Fuzzing::Coverage::CorpusType5264 is expected to eq "CoverageFuzzingCorpus"5265 is expected to eq "Corpus for a coverage fuzzing job."5266 is expected to require graphql authorizations :read_coverage_fuzzing5267 is expected to have graphql fields :id and :package5268 id field5269 correctly resolves the field5270 package field5271 correctly resolves the field5272PersonalAccessTokens::Instance::PolicyWorker5273 #perform5274 when a token is valid5275 doesn't revoked valid tokens5276 when limit is nil5277 doesn't revoked valid tokens5278 doesn't call the revoke invalid service5279 invalid tokens5280 PATs of users that do not belong to a managed group5281 when a token doesn't have an expiration time5282 enforces the policy on tokens5283 when a token expires after the limit5284 enforces the policy on tokens5285 PATs of users that belongs to a managed group5286 when the group has set a PAT expiry policy5287 PAT invalid as per the instance PAT expiration policy5288 does not revoke the PAT5289 PAT invalid as per the group PAT expiration policy5290 does not revoke the PAT5291 when the group has not set a PAT expiry policy5292 PAT invalid as per the instance PAT expiration policy5293 revokes the PAT5294 PAT valid as per the instance PAT expiration policy5295 does not revoke the PAT5296Gitlab::LicenseScanning::ArtifactScanner5297 # order random5298 #latest_build_for_default_branch5299 when project has license scanning jobs5300 returns build for default branch5301 when project has no license scanning jobs5302 returns a nil result5303 .latest_pipeline5304 when the pipeline contains a license_scanning report5305 returns the latest pipeline with a report for the specified ref5306 when the pipeline does not contain a license_scanning report5307 returns nil5308 #results_available?5309 when pipeline is running5310 is expected to be falsey5311 when pipeline status is success5312 is expected to be truthy5313 #report5314 when pipeline contains a license scanning report5315 returns a non-empty report5316 when pipeline contains no license scanning report5317 returns an empty report5318 #has_data?5319 when pipeline has a license scanning report5320 returns true5321 when pipeline has no license scanning report5322 returns false5323 when pipeline is nil5324 returns false5325Gitlab::Graphql::Aggregations::Epics::LazyEpicAggregate5326 #initialize5327 requires either :weight_sum, :health_status_sum or :count as a facet5328 adds the epic_id to lazy state5329 adds facets to lazy state5330 with valid facets :weight_sum, :health_status_sum or :count5331 as a symbol5332 as a string5333 #epic_aggregate5334 if the record has already been loaded5335 does not make the query again5336 if the record has not been loaded5337 clears the pending IDs5338 creates the parent-child associations5339 when different facets are passed5340 when health_status_sum facet is requested5341 forwards count_health_status true to aggregate loader5342 when count and weight sum facets are requested5343 forwards negative count_health_status to aggregate loader5344 if a block is provided5345 calls the block5346 for a parent-child relationship5347 assembles recursive sums for the parent5348 for a standalone epic with no issues5349 assembles recursive sums5350 when checking cached counts5351 behaves like no logged mismatch5352 does not log an error if cached counts match5353 when cached count does not match aggregate count5354 does log an error if cached counts do not match5355 when check_epic_cached_values is disabled5356 behaves like no logged mismatch5357 does not log an error if cached counts match5358 when epic is not set5359 behaves like no logged mismatch5360 does not log an error if cached counts match5361Projects::OnDemandScansHelper5362 #on_demand_scans_data5363 returns proper data5364 #on_demand_scans_form_data5365 returns proper data5366Elastic::NamespaceUpdate5367 # order random5368 when changing parent_id5369 does not enqueue Elastic::NamespaceUpdateWorker5370 when elastic indexing is enabled5371 enqueues Elastic::NamespaceUpdateWorker5372 when transfering a group5373 enqueues Elastic::NamespaceUpdateWorker when changing parent from nil5374 enqueues Elastic::NamespaceUpdateWorker when changing parent to nil5375 when transfering a project5376 enqueues Elastic::NamespaceUpdateWorker when changing parent5377SyncSeatLinkWorker5378 #perform5379 when current, paid license is active5380 executes the SyncSeatLinkRequestWorker with expected params5381 when the timezone makes date one day in advance5382 executes the SyncSeatLinkRequestWorker with expected params5383 when the timezone makes date one day before than UTC5384 executes the SyncSeatLinkRequestWorker with expected params5385 license checks5386 when license is missing5387 does not execute the SyncSeatLinkRequestWorker5388 when using a trial license5389 does not execute the SyncSeatLinkRequestWorker5390 when the license has no expiration date5391 does not execute the SyncSeatLinkRequestWorker5392 when using an expired license5393 executes the SyncSeatLinkRequestWorker5394 with a non cloud license5395 does not execute the SyncSeatLinkRequestWorker5396MergeRequest::Metrics5397 #review_start_at5398 is the earliest date from first_comment_at, first_approved_at or first_reassigned_at5399 when all review start candidates are nil5400 is nil5401 when one of review start candidates is nil5402 is earliest date from non-nil values5403 #review_end_at5404 when MR is merged5405 is merged_at5406 when MR is not merged5407 is Time.current5408 #review_time5409 is nil if there is no review_start_at5410 is review_end_at - review_start_at5411Gitlab::Ci::Pipeline::Chain::Validate::External5412 #validation_service_payload5413 respects the defined schema and returns the default plan5414 does not fire N+1 SQL queries5415 with a project in a subgroup5416 returns an Ultimate plan on trial5417 when user is provisioned by group5418 returns the provisioned group with an Ultimate plan5419Dora::Watchers::DeploymentWatcher5420 # order random5421 #process5422 schedules metric refresh for finished_at date5423 .mount5424 when deployment succeeded5425 calls for processing successful event5426UsersOpsDashboardProjects::DestroyService5427 #execute5428 with an added project5429 removes the project5430 returns the removed project5431 without projects added5432 does not remove the project5433 returns nil5434Geo::RepositoryCleanupWorker5435 #perform5436 skips repository clean up if the current node is a primary5437 when node does not have selective sync restriction5438 does not delegate project removal5439 when node has selective sync restriction5440 does not delegate project removal for projects that belong to selected namespaces to replicate5441 delegates project removal for projects that do not belong to selected namespaces to replicate5442Gitlab::ExclusiveLease5443 #try_obtain_with_ttl5444 cannot obtain twice before the lease has expired5445 can obtain after the lease has expired5446 #same_uuid?5447 returns true for an existing lease5448 returns false for a lease that does not exist5449Vulnerabilities::Remediation5450 is expected to belong to project required: true5451 is expected to have many finding_remediations class_name => Vulnerabilities::FindingRemediation5452 is expected to have many findings through finding_remediations5453 is expected to validate that :summary cannot be empty/falsy5454 is expected to validate that :file cannot be empty/falsy5455 is expected to validate that :checksum cannot be empty/falsy5456 is expected to validate that the length of :summary is at most 2005457 .by_checksum5458 is expected to contain exactly #<Vulnerabilities::Remediation id: 2, created_at: "2023-04-19 10:10:36.637082574 +0000", updated_at: ...419-327-79y8eq", checksum: "d4735e3a265e16eee03f59718b9b5d03019c07d8b6c51f90da...", project_id: 863>5459 #diff5460 is expected to eq "foo"5461Geo::HashedStorageMigratedEvent5462 relationships5463 is expected to belong to project required: false5464 validations5465 is expected to validate that :project cannot be empty/falsy5466 is expected to validate that :repository_storage_name cannot be empty/falsy5467 is expected to validate that :old_disk_path cannot be empty/falsy5468 is expected to validate that :new_disk_path cannot be empty/falsy5469 is expected to validate that :old_wiki_disk_path cannot be empty/falsy5470 is expected to validate that :new_wiki_disk_path cannot be empty/falsy5471 is expected to validate that :new_storage_version cannot be empty/falsy5472Gitlab::Auth::Ldap::Adapter5473 includes the EE module5474 #groups5475 searches with the proper options5476 returns a group object if search returns a result5477 #filter_search5478 searches with the proper options5479 errors out with an invalid filter5480 #user_by_certificate_assertion5481 searches with the proper options5482 return value5483 returns a person object5484 returns correct attributes5485WorkItems::Widgets::Status5486 # order random5487 .type5488 is expected to eq :status5489 #status5490 when last test report status is `failed`5491 is expected to eq "failed"5492 when last test report status is `passed`5493 is expected to eq "satisfied"5494 when test report is not present5495 is expected to eq "unverified"5496 #type5497 is expected to eq :status5498Geo::HashedStorageAttachmentsMigrationService5499 #execute5500 when succeeds5501 moves attachments to hashed storage layout5502 when original folder does not exist anymore5503 skips moving folders and go to next5504 when target folder already exists5505 raises AttachmentMigrationError5506 #async_execute5507 starts the worker5508 returns job id5509ProtectedEnvironments::SearchService#execute5510 with empty search5511 returns unfiltered unprotected environments5512 with specific search5513 returns specific unprotected environments and matches case insensitively5514 when no match5515 returns an empty array5516Auth::ProvisionedUsersFinder5517 #execute5518 #base_scope5519 when provisioning_group param is not passed5520 raises provisioning group error5521 when provisioning_group param is passed5522 returns provisioned_user5523 #by_search5524 filters by search5525Zoekt::IndexedNamespace5526 # order random5527 #enabled_for_project?5528 returns true for projects in indexed namespaces5529 returns false for projects in unindexed namespaces5530 delegates to root namespace for projects in subgroups5531 with validations5532 does not allow you to mark a subgroup as indexed5533 #enabled_for_namespace?5534 returns true for those indexed namespace records5535 returns false for unindexed namespace records5536 delegates to root namespace for subgroups5537 #create!5538 triggers indexing for the namespace5539Gitlab::Auth::Saml::MembershipUpdater5540 when SAML group links exist5541 when group sync is not available5542 does not enqueue group sync5543 when group sync is available5544 enqueues group sync5545 when auth hash contains no groups5546 enqueues group sync5547 when auth hash groups do not match group links5548 enqueues group sync5549IssueSidebarExtrasEntity5550 exposing epic5551 when epic is confidential5552 returns nil for a user who is a project member5553 exposes the epic for a user who is a group member5554 when epic is not confidential5555 exposes the epic for a project member5556 exposes the epic for a user who is a group member5557Gitlab::Usage::Metrics::Instrumentations::ApprovalProjectRulesWithUserMetric5558 for more approvers than required5559 behaves like a correct instrumented metric value and query5560 behaves like a correct instrumented metric value5561 has correct value5562 behaves like a correct instrumented metric query5563 has correct generate query5564 for more approvers than required5565 behaves like a correct instrumented metric value and query5566 behaves like a correct instrumented metric value5567 has correct value5568 behaves like a correct instrumented metric query5569 has correct generate query5570 for more approvers than required5571 behaves like a correct instrumented metric value and query5572 behaves like a correct instrumented metric value5573 has correct value5574 behaves like a correct instrumented metric query5575 has correct generate query5576Vulnerabilities::ResponseEntity5577 #as_json5578 contains required fields5579BulkImports::Projects::Pipelines::IssuesPipeline5580 #run5581 with pre-existing epic5582 associates existing epic with imported issue5583 without pre-existing epic5584 creates a new epic for imported issue5585Vulnerabilities::IssueLinkPolicy5586 :admin_vulnerability_issue_link5587 with missing vulnerability5588 is expected to be disallowed :admin_vulnerability_issue_link5589 when issue and link belong to the same project5590 is expected to be allowed :admin_vulnerability_issue_link5591 when issue and link don't belong to the same project5592 is expected to be allowed :admin_vulnerability_issue_link5593 :read_issue_link5594 when the associated issue can not be read by the user5595 is expected to be disallowed :read_issue_link5596 when the associated issue can be read by the user5597 is expected to be allowed :read_issue_link5598Elastic::IndexProjectsByRangeService5599 #execute5600 when without project5601 does not err5602 when range not specified5603 schedules for all projects5604 respects batch_size setting5605 when range specified5606 schedules for projects within range5607 respects batch_size setting5608Types::IncidentManagement::IssuableResourceLinkType5609 # order random5610 is expected to eq "IssuableResourceLink"5611 is expected to require graphql authorizations :admin_issuable_resource_link5612 exposes expected fields5613Gitlab::Ci::Reports::Security::Locations::DependencyScanning5614 behaves like vulnerability location5615 #initialize5616 when all params are given5617 initializes an instance5618 param: :file_path5619 when param file_path is missing5620 raises an error5621 param: :package_name5622 when param package_name is missing5623 raises an error5624 #fingerprint5625 generates expected fingerprint5626 #fingerprint_path5627 generates expected fingerprint5628 #==5629 returns true when fingerprints are equal5630 returns false when fingerprints are different5631Gitlab::Ci::Minutes::CachedQuota5632 #track_consumption5633 when the cache is cold5634 stores the remaining minutes in the cache and decrements them from there5635 when the cache is warm5636 only decrements the consumption5637 #expire!5638 expires the key5639Types::IncidentManagement::OncallParticipantType5640 # order random5641 exposes the expected fields5642 is expected to eq "OncallParticipantType"5643Mutations::DastSiteValidations::Revoke5644 is expected to require graphql authorizations :create_on_demand_dast_scan5645 #resolve5646 when on demand scan feature is enabled5647 when the project does not exist5648 raises an exception5649 when the user can run a dast scan5650 deletes dast_site_validations where state=passed5651 correctly calls AppSec::Dast::SiteValidations::RevokeService5652PackageMetadata::PackageVersion5653 # order random5654 validations5655 is expected to validate that :version cannot be empty/falsy5656 is expected to validate that the length of :version is at most 2555657 association5658 is expected to belong to package required: true5659Analytics::AnalyticsDashboardsHelper5660 # order random5661 #analytics_dashboards_list_app_data5662 product_analytics_enabled_setting: true, feature_flag_enabled: true, licensed_feature_enabled: true, user_has_permission: true, enabled: true5663 returns the expected data5664 product_analytics_enabled_setting: false, feature_flag_enabled: true, licensed_feature_enabled: true, user_has_permission: true, enabled: false5665 returns the expected data5666 product_analytics_enabled_setting: true, feature_flag_enabled: false, licensed_feature_enabled: true, user_has_permission: true, enabled: false5667 returns the expected data5668 product_analytics_enabled_setting: true, feature_flag_enabled: true, licensed_feature_enabled: false, user_has_permission: true, enabled: false5669 returns the expected data5670 product_analytics_enabled_setting: true, feature_flag_enabled: true, licensed_feature_enabled: true, user_has_permission: false, enabled: false5671 returns the expected data5672Gitlab::SubscriptionPortal::Client5673 is expected to includes the Gitlab::SubscriptionPortal::Clients::Graphql module5674 is expected to includes the Gitlab::SubscriptionPortal::Clients::Rest module5675Gitlab::HookData::IssueBuilder5676 #build5677 includes safe attribute5678 includes additional attr5679 when the issue has an image in the description5680 sets the image to use an absolute URL5681 for incident with escalation policies feature enabled5682 includes additional attr5683Vulnerabilities::FindingLink5684 associations5685 is expected to belong to finding class_name => Vulnerabilities::Finding required: false inverse_of => finding_links5686 validations5687 is expected to validate that :url cannot be empty/falsy5688 is expected to validate that the length of :url is at most 20485689 is expected to validate that the length of :name is at most 2555690 is expected to validate that :finding cannot be empty/falsy5691shared/credentials_inventory/ssh_keys/_ssh_key.html.haml5692 shows the users name5693 shows the created on date5694 shows the expiry date5695 shows the delete button5696 last accessed date5697 when set5698 shows the last accessed on date5699 when not set5700 shows "Never" for the last accessed on date5701GitlabSubscriptions::PlanUpgradeService5702 #execute5703 when the response is a failure5704 returns nil values5705 when the response is successful5706 eligible: true, assisted_id: "111", free_id: "222", plan_id: "111"5707 returns the correct values5708 eligible: true, assisted_id: nil, free_id: "222", plan_id: "222"5709 returns the correct values5710 eligible: true, assisted_id: "111", free_id: nil, plan_id: "111"5711 returns the correct values5712 eligible: true, assisted_id: nil, free_id: nil, plan_id: nil5713 returns the correct values5714 eligible: false, assisted_id: "111", free_id: "222", plan_id: "111"5715 returns the correct values5716 eligible: false, assisted_id: "111", free_id: nil, plan_id: "111"5717 returns the correct values5718 eligible: false, assisted_id: nil, free_id: "222", plan_id: "222"5719 returns the correct values5720 eligible: nil, assisted_id: "111", free_id: "222", plan_id: nil5721 returns the correct values5722Sidebars::UserSettings::Menus::UsageQuotasMenu5723 # order random5724 behaves like User settings menu #render? method5725 #render?5726 when user is logged in5727 renders5728 when user is not logged in5729 does not render5730 behaves like User settings menu5731 does not contain any sub menu5732 renders the correct link5733 renders the correct title5734 renders the correct icon5735 defines correct active route5736MergeRequests::StreamApprovalAuditEventService5737 #execute5738 sends the audit streaming event5739Security::SecurityOrchestrationPolicies::FetchPolicyService5740 #execute5741 when retrieving an existing policy by name5742 returns policy5743 when retrieving an non-existing policy by name5744 returns nil5745Gitlab::Geo::LogCursor::Events::Event5746 #process5747 enqueues Geo::EventWorker5748 eventually calls Replicator#consume5749Git::WikiPushService5750 #process_changes5751 with a group wiki5752 does not create any events5753 when elasticsearch is enabled5754 when changes include master ref5755 triggers a wiki update5756 with a group wiki5757 does not trigger a wiki update5758 when changes do not include master ref5759 does not trigger a wiki update5760 when elasticsearch is disabled5761 when changes include master ref5762 does nothing even if changes include master ref5763Projects::DeregisterSuggestedReviewersProjectWorker5764 # order random5765 #perform5766 when project is not found5767 returns without calling the deregister service5768 when project is found5769 when user is not found5770 returns without calling the deregister service5771 when user is found5772 when suggested reviews is not available for the project5773 returns without calling the deregister service5774 when suggested reviews is available for the project5775 when suggested reviews is enabled for the project5776 returns without calling the deregister service5777 when suggested reviews is not enabled for the project5778 when service returns success5779 calls deregister service and logs an info with payload5780 when service returns error5781 when error is swallowable5782 swallows the error5783 when error is trackable and raisable5784 tracks and raises the error5785Issuable::DestroyLabelLinksService5786 #execute5787 behaves like service deleting label links of an issuable5788 deletes label links for specified target ID and type5789ResourceWeightEventPolicy5790 # order random5791 #read_resource_weight_event5792 with non-member user5793 does not allow to read event5794 with member user5795 allows to read event for accessible iteration5796Gitlab::SlashCommands::IncidentManagement::IncidentNew5797 # order random5798 #collection5799 when collection method id called5800 calls IssuesFinder5801 #execute5802 when invoked5803 sends ephemeral response5804 #allowed?5805 returns true5806 when feature flag is disabled5807 returns false in allowed?5808EE::Integrations::SlackInteractions::IncidentManagement::IncidentModalOpenedService5809 # order random5810 #execute5811 when triggered5812 opens the modal5813 when there are no projects with slack integration5814 does not open the modal5815 when Slack API call raises an HTTP exception5816 tracks the exception and returns an error response5817 when api returns an error5818 returns error when called5819Boards::EpicUserPreferences::UpdateService5820 #execute5821 creates new preference5822 when user preference already exists5823 updates existing preference5824 when user is not set5825 returns an error5826Gitlab::Auth::GroupSaml::FailureHandler5827 calls Groups::OmniauthCallbacksController#failure for GroupSaml5828 falls back to parent on_failure handler5829Gitlab::Ci::Pipeline::Chain::Validate::SecurityOrchestrationPolicy5830 #perform5831 when security policies feature is not licensed5832 does not return warning5833 when security policies feature is licensed5834 when policy file is missing5835 returns warning5836 when policy file is present5837 when policy file is invalid5838 returns warning5839 when policy file is valid5840 does not return warning5841LdapGroupLink5842 validation5843 cn5844 validates uniqueness based on group_id and provider5845 is invalid when a filter is also present5846 filter5847 validates uniqueness based on group_id and provider5848 validates the LDAP filter5849 provider5850 shows the set value5851 defaults to the first ldap server if empty5852Gitlab::Usage::Metrics::Instrumentations::CountSlackAppInstallationsGbpMetric5853 behaves like a correct instrumented metric value and query5854 behaves like a correct instrumented metric value5855 has correct value5856 behaves like a correct instrumented metric query5857 has correct generate query5858Integrations::SlackOptions::LabelSearchHandler5859 # order random5860 #execute5861 when user has permission to read project and group labels5862 returns the labels matching the search term5863 when user does not have permissions to read project/group labels5864 returns empty array5865SystemCheck::Geo::GeoDatabaseConfiguredCheck5866 #multi_check5867 checks database configuration5868 checks database configuration5869 checks table existence5870 checks if existing database is being reused5871 returns true when all checks passed5872BlobEntity5873 as json5874 exposes needed attributes5875Admin::RepoSizeLimitHelper5876 #repo_size_limit_feature_available?5877 when repository_size_limit feature is available5878 is expected to be truthy5879 when repo_size_limit_feature_available is not available5880 is expected to be falsey5881 when usage ping is enabled5882 when usage_ping_features is enabled5883 is expected to be truthy5884 when usage_ping_features is disabled5885 is expected to be falsey5886 when usage ping is disabled5887 is expected to be falsey5888Gitlab::GitAccessDesign5889 #check5890 protocol_name: "ssh"5891 is expected to be a kind of Gitlab::GitAccessResult::Success5892 protocol_name: "web"5893 is expected to be a kind of Gitlab::GitAccessResult::Success5894 protocol_name: "http"5895 is expected to be a kind of Gitlab::GitAccessResult::Success5896 protocol_name: "https"5897 is expected to be a kind of Gitlab::GitAccessResult::Success5898Elastic::IndexProjectsService5899 #execute5900 when elasticsearch_limit_indexing? is true5901 schedules indexing for selected projects and namespaces5902 when elasticsearch_limit_indexing? is false5903 schedules indexing for all projects5904ProtectedEnvironments::EnvironmentDropdownService#roles5905 #roles5906 returns a hash with access levels for allowed to deploy option5907IncidentManagement::IssuableEscalationStatuses::CreateService5908 # order random5909 creates an escalation status for the incident with no policy set5910Mutations::Todos::Create5911 with epics as target5912 behaves like create todo mutation5913 when user does not have permission to create todo5914 raises error5915 when user has permission to create todo5916 creates a todo5917Projects::CustomBranchRule5918 # order random5919 #approval_project_rules?5920 raises NotImplementedError5921 #name5922 raises NotImplementedError5923 #matching_branches_count5924 raises NotImplementedError5925 #external_status_checks5926 raises NotImplementedError5927shared/kerberos_clone_button5928 Kerberos clone can be triggered5929 renders a working clone button for the project5930 renders a working clone button for the wiki5931layouts/nav/sidebar/_admin5932 license includes push rules feature5933 shows the link5934 license does not include push rules feature5935 hides the link5936Users::BannedUser5937 # order random5938 #after_commit5939 when add_hidden_to_issues migration is not finished5940 does not call reindex_issues when add_hidden_to_issues migration is not finished5941 when add_hidden_to_issues migration is finished5942 does not call reindex_issues on update5943 calls reindex_issues on create5944 calls reindex_issues on destroy5945IncidentManagement::EscalationPolicyHelper5946 # order random5947 #escalation_policy_data5948 returns escalation policies data5949EE::API::Entities::MemberRole5950 # order random5951 exposes expected fields5952 exposes the attributes5953AddNamespaceAncestryToIssuesMapping5954 behaves like a deprecated Advanced Search migration5955 #migrate5956 logs a message and halts the migration5957 #completed?5958 returns false5959 #obsolete?5960 returns true5961Types::MutationType5962 deprecated mutations5963 field_name: "ApiFuzzingCiConfigurationCreate", reason: "The configuration snippet is now generated client-side", milestone: "15.1"5964 is expected to be present5965 is expected to eq "The configuration snippet is now generated client-side. Deprecated in 15.1."5966OmniAuth::Strategies::Kerberos5967 uses the principal name as the "uid"5968 extracts the username5969 turns the principal name into an email address5970 clears its special session key5971TrialStatusWidgetHelper5972 data attributes for mounting Vue components5973 #trial_status_popover_data_attrs5974 returns the needed data attributes for mounting the popover Vue component5975 #trial_status_widget_data_attrs5976 returns the needed data attributes for mounting the widget Vue component5977shared/web_hooks/_group_web_hook_disabled_alert5978 # order random5979 when helper returns false5980 does not add alert to `:after_flash_content`5981 when the helper returns true5982 adds alert to `:after_flash_content`5983Types::GroupStatsType5984 is expected to require graphql authorizations :read_group5985 has the expected fields5986Gitlab::CodeOwners::ReferenceExtractor5987 #emails5988 includes all mentioned email addresses5989 #names5990 includes all mentioned usernames and groupnames5991 #references5992 includes all user-references once5993StatusPage::Renderer5994 # order random5995 .markdown5996 delegates to MarkupHelper.markdown_field5997GitlabSubscriptions::CreateLeadService5998 # order random5999 #execute6000 successfully creates a trial6001 errors while creating trial6002Gitlab::Usage::Metrics::Instrumentations::AdvancedSearch::LuceneVersionMetric6003 behaves like a correct instrumented metric value6004 has correct value6005 elasticsearch_indexing is enabled6006 behaves like a correct instrumented metric value6007 has correct value6008PersonalAccessTokens::Instance::UpdateLifetimeService6009 #execute6010 when we can obtain the lease6011 schedules the worker6012 when we can't obtain the lease6013 does not schedule the worker6014Types::ProtectedEnvironments::DeployAccessLevelType6015 # order random6016 is expected to eq "ProtectedEnvironmentDeployAccessLevel"6017 includes the expected fields6018Gitlab::Usage::Metrics::Instrumentations::AdvancedSearch::VersionMetric6019 behaves like a correct instrumented metric value6020 has correct value6021 elasticsearch_indexing is enabled6022 behaves like a correct instrumented metric value6023 has correct value6024Ci::SyncReportsToReportApprovalRulesWorker6025 #perform6026 when pipeline exists6027 executes SyncReportsToApprovalRulesService for given pipeline6028 when pipeline is missing6029 does not execute SyncReportsToApprovalRulesService6030Types::SecurityReportSummarySectionType6031 is expected to eq "SecurityReportSummarySection"6032 has specific fields6033Types::BranchRules::ApprovalProjectRuleType6034 # order random6035 is expected to have graphql fields :id, :name, :type, :approvals_required, and :eligible_approvers6036 is expected to require graphql authorizations :read_approval_rule6037Types::DoraMetricTypeEnum6038 includes a value for each DORA metric type6039Types::Dast::ProfileCadenceUnitEnum6040 exposes all alert field names6041Sbom::Ingestion::Tasks::Base6042 # order random6043 raises error when execute is not implemented6044API::Entities::ProtectedEnvironments::ApprovalRule6045 exposes correct attributes6046Gitlab::Email::FeatureFlagWrapper6047 # order random6048 #flipper_id6049 returns a string containing the email6050Types::VulnerabilityDetails::MarkdownType6051 is expected to have graphql fields :name, :description, :fieldName, and :value6052Automated License Installation6053 executes the gitlab:license:load task6054Knapsack report was generated. Preview:6055{6056 "ee/spec/services/search/project_service_spec.rb": 837.462382487,6057 "ee/spec/models/ee/ci/job_artifact_spec.rb": 48.09717912200017,6058 "ee/spec/lib/gitlab/analytics/type_of_work/tasks_by_type_spec.rb": 49.528576753999914,6059 "ee/spec/services/epic_issues/create_service_spec.rb": 45.91315085699989,6060 "ee/spec/models/merge_request/blocking_spec.rb": 44.963492131000066,6061 "ee/spec/lib/ee/gitlab/git_access_project_spec.rb": 32.8236932719999,6062 "ee/spec/models/security/finding_spec.rb": 28.16831451400003,6063 "ee/spec/services/deployments/approval_service_spec.rb": 27.879366091000065,6064 "ee/spec/finders/epics/cross_hierarchy_children_finder_spec.rb": 24.890264288000026,6065 "ee/spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb": 21.88891403699995,6066 "ee/spec/models/protected_environment_spec.rb": 19.96828648199994,6067 "ee/spec/lib/analytics/devops_adoption/snapshot_calculator_spec.rb": 18.258527160000085,6068 "ee/spec/services/resource_access_tokens/create_service_spec.rb": 18.817829031999963,6069 "ee/spec/models/ee/protected_branch_spec.rb": 19.768747465999922,6070 "ee/spec/helpers/vulnerabilities_helper_spec.rb": 12.901741669000103,6071 "ee/spec/finders/geo/project_wiki_repository_registry_finder_spec.rb": 22.695840105000116,6072 "ee/spec/serializers/member_entity_spec.rb": 19.60131625100007,6073 "ee/spec/workers/geo/repository_registry_sync_worker_spec.rb": 14.536377925999886,6074 "ee/spec/models/ee/list_spec.rb": 13.007830843000193,6075 "ee/spec/services/ee/members/create_service_spec.rb": 13.18846445600002,6076 "ee/spec/models/visible_approvable_spec.rb": 14.242279418999942,6077 "ee/spec/workers/store_security_reports_worker_spec.rb": 11.157863765999991,6078 "ee/spec/models/ee/iterations/cadence_spec.rb": 4.213835860000017,6079 "ee/spec/graphql/resolvers/vulnerabilities_resolver_spec.rb": 7.2803914769999665,6080 "ee/spec/services/ci/compare_license_scanning_reports_service_spec.rb": 9.868923025000186,6081 "ee/spec/services/wiki_pages/destroy_service_spec.rb": 10.182305879000069,6082 "ee/spec/graphql/types/project_type_spec.rb": 8.801987415999974,6083 "ee/spec/services/analytics/cycle_analytics/aggregator_service_spec.rb": 10.172321668999984,6084 "ee/spec/workers/elastic/project_transfer_worker_spec.rb": 7.842502349000142,6085 "ee/spec/models/vulnerabilities/statistic_spec.rb": 5.13154302099997,6086 "ee/spec/services/ci/trigger_downstream_subscription_service_spec.rb": 8.908598317000042,6087 "ee/spec/services/security/security_orchestration_policies/policy_commit_service_spec.rb": 7.671796743999948,6088 "ee/spec/models/ci/daily_build_group_report_result_spec.rb": 8.02706021300014,6089 "ee/spec/services/ee/allowed_email_domains/update_service_spec.rb": 5.54849275499987,6090 "ee/spec/elastic/migrate/20220824123000_add_label_ids_and_schema_version_to_issues_mapping_spec.rb": 6.68071197800009,6091 "ee/spec/services/ee/merge_requests/execute_approval_hooks_service_spec.rb": 5.036185750000186,6092 "ee/spec/lib/gitlab/code_owners/users_loader_spec.rb": 4.98757188400009,6093 "ee/spec/services/app_sec/dast/sites/find_or_create_service_spec.rb": 8.814625048999915,6094 "ee/spec/views/registrations/welcome/show.html.haml_spec.rb": 3.2801956289999907,6095 "ee/spec/services/ci/process_pipeline_service_spec.rb": 4.870906191999893,6096 "ee/spec/services/geo/repository_verification_secondary_service_spec.rb": 2.4877699179999126,6097 "ee/spec/views/shared/_mirror_status.html.haml_spec.rb": 5.470991373000061,6098 "ee/spec/lib/gitlab/vulnerabilities/standard_vulnerability_spec.rb": 1.1579294139999092,6099 "ee/spec/services/security/ingestion/tasks/ingest_finding_identifiers_spec.rb": 6.394073836999951,6100 "ee/spec/presenters/subscription_presenter_spec.rb": 3.756370565999987,6101 "ee/spec/services/ci/create_pipeline_service/dast_configuration_spec.rb": 6.084429451999995,6102 "ee/spec/policies/ee/namespaces/user_namespace_policy_spec.rb": 1.435363058999883,6103 "ee/spec/services/deployments/auto_rollback_service_spec.rb": 5.556263997000087,6104 "ee/spec/lib/gitlab/auth/smartcard/ldap_certificate_spec.rb": 2.6587915400000384,6105 "ee/spec/lib/ee/sidebars/projects/menus/security_compliance_menu_spec.rb": 3.0555335500000638,6106 "ee/spec/services/releases/create_service_spec.rb": 4.3315213479997965,6107 "ee/spec/lib/gitlab/geo/oauth/logout_token_spec.rb": 6.187223587000062,6108 "ee/spec/lib/gitlab/geo/health_check_spec.rb": 1.5129552849998618,6109 "ee/spec/services/security/store_grouped_scans_service_spec.rb": 4.489391049999995,6110 "ee/spec/finders/concerns/epics/with_access_check_spec.rb": 3.735490857000059,6111 "ee/spec/lib/gitlab/ingestion/bulk_insertable_task_spec.rb": 3.607546083999978,6112 "ee/spec/workers/adjourned_projects_deletion_cron_worker_spec.rb": 5.370645947999947,6113 "ee/spec/services/app_sec/dast/scans/create_service_spec.rb": 4.5751695760000075,6114 "ee/spec/graphql/mutations/merge_requests/set_assignees_spec.rb": 4.953586047999806,6115 "ee/spec/lib/gitlab/ci/templates/container_scanning_latest_gitlab_ci_yaml_spec.rb": 3.5620176850000007,6116 "ee/spec/policies/dast_scanner_profile_policy_spec.rb": 2.6653592200000276,6117 "ee/spec/services/ci/runners/reset_registration_token_service_spec.rb": 1.3883896820000245,6118 "ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_first_added_to_board_spec.rb": 1.579779563000102,6119 "ee/spec/lib/sidebars/groups/menus/epics_menu_spec.rb": 1.0268294200000128,6120 "ee/spec/components/namespaces/free_user_cap/usage_quota_trial_alert_component_spec.rb": 1.839505870000039,6121 "ee/spec/models/vulnerabilities/finding_identifier_spec.rb": 4.864027592999946,6122 "ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_label_removed_spec.rb": 1.6385744889998932,6123 "ee/spec/models/iteration_note_spec.rb": 3.921163077999836,6124 "ee/spec/services/merge_requests/mergeability/check_external_status_checks_passed_service_spec.rb": 0.9323367549998238,6125 "ee/spec/workers/elastic/namespace_update_worker_spec.rb": 3.1481318260000535,6126 "ee/spec/workers/vulnerability_exports/export_worker_spec.rb": 2.016967581000017,6127 "ee/spec/helpers/projects/learn_gitlab_helper_spec.rb": 4.234457943000052,6128 "ee/spec/models/ci/sources/project_spec.rb": 3.678928380000116,6129 "ee/spec/finders/ee/projects_finder_spec.rb": 3.1266047509998316,6130 "ee/spec/services/jira/jql_builder_service_spec.rb": 1.0267906879998918,6131 "ee/spec/lib/gitlab/ci/minutes/pipeline_consumption_spec.rb": 1.9138291679998929,6132 "ee/spec/helpers/gitlab_subscriptions/upcoming_reconciliation_helper_spec.rb": 1.3722149500001706,6133 "ee/spec/workers/compliance_management/update_default_framework_worker_spec.rb": 2.7555738109999766,6134 "ee/spec/views/projects/project_members/index.html.haml_spec.rb": 1.788864187999934,6135 "ee/spec/graphql/types/app_sec/fuzzing/coverage/corpus_type_spec.rb": 1.6934075950000533,6136 "ee/spec/workers/personal_access_tokens/instance/policy_worker_spec.rb": 2.5713592350000454,6137 "ee/spec/lib/gitlab/license_scanning/artifact_scanner_spec.rb": 2.5861617440000373,6138 "ee/spec/lib/gitlab/graphql/aggregations/epics/lazy_epic_aggregate_spec.rb": 1.4328348559999995,6139 "ee/spec/helpers/projects/on_demand_scans_helper_spec.rb": 2.021109828999897,6140 "ee/spec/models/concerns/elastic/namespace_update_spec.rb": 3.127652580999893,6141 "ee/spec/workers/sync_seat_link_worker_spec.rb": 1.2068910340001366,6142 "ee/spec/models/ee/merge_request/metrics_spec.rb": 0.6561314580001181,6143 "ee/spec/lib/ee/gitlab/ci/pipeline/chain/validate/external_spec.rb": 3.6820374059998358,6144 "ee/spec/models/dora/watchers/deployment_watcher_spec.rb": 2.4313606359999085,6145 "ee/spec/services/users_ops_dashboard_projects/destroy_service_spec.rb": 2.415806676999864,6146 "ee/spec/workers/geo/repository_cleanup_worker_spec.rb": 2.3968444489999,6147 "ee/spec/lib/gitlab/exclusive_lease_spec.rb": 2.6273636409998744,6148 "ee/spec/models/vulnerabilities/remediation_spec.rb": 1.596041002999982,6149 "ee/spec/models/geo/hashed_storage_migrated_event_spec.rb": 0.7327849319999586,6150 "ee/spec/lib/gitlab/auth/ldap/adapter_spec.rb": 0.6199064299999009,6151 "ee/spec/models/work_items/widgets/status_spec.rb": 2.1440699499999027,6152 "ee/spec/services/geo/hashed_storage_attachments_migration_service_spec.rb": 2.4663951239999733,6153 "ee/spec/services/protected_environments/search_service_spec.rb": 2.54901712700007,6154 "ee/spec/finders/auth/provisioned_users_finder_spec.rb": 2.2101380639999206,6155 "ee/spec/models/zoekt/indexed_namespace_spec.rb": 1.9553857939999943,6156 "ee/spec/lib/gitlab/auth/saml/membership_updater_spec.rb": 0.7722032679998847,6157 "ee/spec/serializers/ee/issue_sidebar_extras_entity_spec.rb": 1.7701443489997928,6158 "ee/spec/lib/gitlab/usage/metrics/instrumentations/approval_project_rules_with_user_metric_spec.rb": 1.771016228999997,6159 "ee/spec/serializers/vulnerabilities/response_entity_spec.rb": 1.4869044119998307,6160 "ee/spec/lib/bulk_imports/projects/pipelines/issues_pipeline_spec.rb": 2.0098113500000636,6161 "ee/spec/policies/vulnerabilities/issue_link_policy_spec.rb": 3.142814828999917,6162 "ee/spec/services/elastic/index_projects_by_range_service_spec.rb": 0.5855733539999619,6163 "ee/spec/graphql/types/incident_management/issuable_resource_link_type_spec.rb": 0.511744877999945,6164 "ee/spec/lib/gitlab/ci/reports/security/locations/dependency_scanning_spec.rb": 0.5687012749999667,6165 "ee/spec/lib/gitlab/ci/minutes/cached_quota_spec.rb": 0.7458141199999773,6166 "ee/spec/graphql/types/incident_management/oncall_participant_type_spec.rb": 0.33652953299997534,6167 "ee/spec/graphql/mutations/dast_site_validations/revoke_spec.rb": 1.5551617459998397,6168 "ee/spec/models/package_metadata/package_version_spec.rb": 0.7180758130000413,6169 "ee/spec/helpers/analytics/analytics_dashboards_helper_spec.rb": 1.477130402000057,6170 "ee/spec/lib/gitlab/subscription_portal/client_spec.rb": 0.5363149469999371,6171 "ee/spec/lib/ee/gitlab/hook_data/issue_builder_spec.rb": 1.6448962889999166,6172 "ee/spec/models/vulnerabilities/finding_link_spec.rb": 1.4378720060001342,6173 "ee/spec/views/shared/credentials_inventory/ssh_keys/_ssh_key.html.haml_spec.rb": 0.8728864610000073,6174 "ee/spec/services/gitlab_subscriptions/plan_upgrade_service_spec.rb": 0.8604367709999678,6175 "ee/spec/lib/sidebars/user_settings/menus/usage_quotas_menu_spec.rb": 0.7072304640000766,6176 "ee/spec/services/merge_requests/stream_approval_audit_event_service_spec.rb": 1.560069676000012,6177 "ee/spec/services/security/security_orchestration_policies/fetch_policy_service_spec.rb": 1.7143515940001635,6178 "ee/spec/lib/gitlab/geo/log_cursor/events/event_spec.rb": 1.4263366459999816,6179 "ee/spec/services/ee/git/wiki_push_service_spec.rb": 1.0985704029999397,6180 "ee/spec/workers/projects/deregister_suggested_reviewers_project_worker_spec.rb": 0.8968418479998945,6181 "ee/spec/services/issuable/destroy_label_links_service_spec.rb": 1.5068765900000471,6182 "ee/spec/policies/resource_weight_event_policy_spec.rb": 1.3560935319999317,6183 "ee/spec/lib/ee/gitlab/slash_commands/incident_management/incident_new_spec.rb": 0.7585367090000545,6184 "ee/spec/services/ee/integrations/slack_interactions/incident_management/incident_modal_opened_service_spec.rb": 1.214706643999989,6185 "ee/spec/services/boards/epic_user_preferences/update_service_spec.rb": 1.044532806999996,6186 "ee/spec/lib/gitlab/auth/group_saml/failure_handler_spec.rb": 1.0418985270000576,6187 "ee/spec/lib/ee/gitlab/ci/pipeline/chain/validate/security_orchestration_policy_spec.rb": 1.1164434009999695,6188 "ee/spec/models/ldap_group_link_spec.rb": 0.6628745979999167,6189 "ee/spec/lib/gitlab/usage/metrics/instrumentations/count_slack_app_installations_gbp_metric_spec.rb": 1.1613275180000073,6190 "ee/spec/services/integrations/slack_options/label_search_handler_spec.rb": 0.9981331099997988,6191 "ee/spec/lib/system_check/geo/geo_database_configured_check_spec.rb": 0.7555450589998145,6192 "ee/spec/serializers/ee/blob_entity_spec.rb": 1.546494106999944,6193 "ee/spec/helpers/admin/repo_size_limit_helper_spec.rb": 0.5145273879998058,6194 "ee/spec/lib/ee/gitlab/git_access_design_spec.rb": 0.6625818369998342,6195 "ee/spec/services/elastic/index_projects_service_spec.rb": 0.9547337939998215,6196 "ee/spec/services/protected_environments/environment_dropdown_service_spec.rb": 0.43760291499984305,6197 "ee/spec/services/ee/incident_management/issuable_escalation_statuses/create_service_spec.rb": 0.6944581239999934,6198 "ee/spec/graphql/mutations/todos/create_spec.rb": 0.9660564340001656,6199 "ee/spec/models/concerns/projects/custom_branch_rule_spec.rb": 0.605348991000028,6200 "ee/spec/views/shared/_kerberos_clone_button.html.haml_spec.rb": 2.0743429150002157,6201 "ee/spec/views/layouts/nav/sidebar/_push_rules_link.html.haml_spec.rb": 0.4906852809999691,6202 "ee/spec/models/ee/users/banned_user_spec.rb": 0.7538038099996811,6203 "ee/spec/helpers/incident_management/escalation_policy_helper_spec.rb": 0.983730691999881,6204 "ee/spec/lib/ee/api/entities/member_role_spec.rb": 1.0046579300001213,6205 "ee/spec/elastic/migrate/20210813134600_add_namespace_ancestry_to_issues_mapping_spec.rb": 0.5338968080000086,6206 "ee/spec/graphql/ee/types/mutation_type_spec.rb": 0.48936251999975866,6207 "ee/spec/lib/omni_auth/strategies/kerberos_spec.rb": 0.4394910340001843,6208 "ee/spec/helpers/trial_status_widget_helper_spec.rb": 0.5525559570000951,6209 "ee/spec/views/shared/web_hooks/_group_web_hook_disabled_alert.html.haml_spec.rb": 0.39821198900017407,6210 "ee/spec/graphql/types/group_stats_type_spec.rb": 0.3724710410001535,6211 "ee/spec/lib/gitlab/code_owners/reference_extractor_spec.rb": 0.43092504600008397,6212 "ee/spec/serializers/status_page/renderer_spec.rb": 0.28891114699990794,6213 "ee/spec/services/gitlab_subscriptions/create_lead_service_spec.rb": 0.4894948700002715,6214 "ee/spec/lib/gitlab/usage/metrics/instrumentations/advanced_search/lucene_version_metric_spec.rb": 0.5478735169999709,6215 "ee/spec/services/personal_access_tokens/instance/update_lifetime_service_spec.rb": 0.41043913700013945,6216 "ee/spec/graphql/types/protected_environments/deploy_access_level_type_spec.rb": 0.4756239819998882,6217 "ee/spec/lib/gitlab/usage/metrics/instrumentations/advanced_search/version_metric_spec.rb": 0.40666958800011344,6218 "ee/spec/workers/ci/sync_reports_to_report_approval_rules_worker_spec.rb": 0.4124468469999556,6219 "ee/spec/graphql/types/security_report_summary_section_type_spec.rb": 0.45839035300014075,6220 "ee/spec/graphql/types/branch_rules/approval_project_rule_type_spec.rb": 0.47096066299991435,6221 "ee/spec/graphql/types/dora_metric_type_enum_spec.rb": 0.3606121009997878,6222 "ee/spec/graphql/types/dast/profile_cadence_enum_spec.rb": 0.38802379900016604,6223 "ee/spec/services/sbom/ingestion/tasks/base_spec.rb": 0.5268330079998123,6224 "ee/spec/lib/api/entities/protected_environments/approval_rule_spec.rb": 0.3998577679999471,6225 "ee/spec/lib/gitlab/email/feature_flag_wrapper_spec.rb": 0.34475901299992984,6226 "ee/spec/graphql/types/vulnerability_details/markdown_type_spec.rb": 0.3715519209999911,6227 "ee/spec/db/production/license_spec.rb": 0.29823263599973876228}6229Knapsack global time execution for tests: 28m 38s6230Pending: (Failures listed here are expected and do not affect your suite's status)6231 1) Geo::ProjectWikiRepositoryRegistryFinder 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 ArgumentError6232 # Skipping because verification is enabled for Projects::WikiRepository6233 # ./ee/spec/support/shared_examples/finders/geo/framework_registry_finder_shared_examples.rb:986234 2) Geo::ProjectWikiRepositoryRegistryFinder 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 ArgumentError6235 # Skipping because verification is enabled for Projects::WikiRepository6236 # ./ee/spec/support/shared_examples/finders/geo/framework_registry_finder_shared_examples.rb:1066237 3) Geo::ProjectWikiRepositoryRegistryFinder behaves like a framework registry finder #execute when user can read all Geo when admin mode is enabled when search method is implemented in the registry model returns a registry filtered by keyword6238 # Skipping because search method is not implemented6239 for Projects::WikiRepository or searchable attributes are not defined.6240 # ./ee/spec/support/shared_examples/finders/geo/framework_registry_finder_shared_examples.rb:1536241 4) WikiPages::DestroyService behaves like WikiPages::DestroyService#execute creates a new wiki page deletion event6242 # group wiki support6243 Failure/Error: expect { service.execute(page) }.to change { Event.count }.by 16244 expected `Event.count` to have changed by 1, but was changed by 06245 Shared Example Group: "WikiPages::DestroyService#execute" called from ./ee/spec/services/wiki_pages/destroy_service_spec.rb:906246 # ./spec/support/shared_examples/services/wiki_pages/destroy_service_shared_examples.rb:27:in `block (2 levels) in <top (required)>'6247 # ./spec/spec_helper.rb:427:in `block (3 levels) in <top (required)>'6248 # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'6249 # ./spec/spec_helper.rb:419:in `block (2 levels) in <top (required)>'6250 # ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'6251 # ./lib/gitlab/application_context.rb:61:in `with_raw_context'6252 # ./spec/spec_helper.rb:415:in `block (2 levels) in <top (required)>'6253 # ./spec/spec_helper.rb:242:in `block (2 levels) in <top (required)>'6254 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6255 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <top (required)>'6256 # ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'6257 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <top (required)>'6258Failures:6259 1) Security::SecurityOrchestrationPolicies::PolicyCommitService#execute when service is used for project behaves like commits policy to associated project when policy already exists in policy project remove creates branch with removed policy6260 Failure/Error: expect(response[:status]).to eq(:success)6261 expected: :success6262 got: :error6263 (compared using ==)6264 Diff:6265 @@ -1 +1 @@6266 -:success6267 +:error6268 Shared Example Group: "commits policy to associated project" called from ./ee/spec/services/security/security_orchestration_policies/policy_commit_service_spec.rb:1626269 # ./ee/spec/services/security/security_orchestration_policies/policy_commit_service_spec.rb:120:in `block (6 levels) in <top (required)>'6270 # ./ee/spec/services/security/security_orchestration_policies/policy_commit_service_spec.rb:25:in `block (4 levels) in <top (required)>'6271 # ./ee/spec/services/security/security_orchestration_policies/policy_commit_service_spec.rb:25:in `block (3 levels) in <top (required)>'6272 # ./spec/spec_helper.rb:427:in `block (3 levels) in <top (required)>'6273 # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'6274 # ./spec/spec_helper.rb:419:in `block (2 levels) in <top (required)>'6275 # ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'6276 # ./lib/gitlab/application_context.rb:61:in `with_raw_context'6277 # ./spec/spec_helper.rb:415:in `block (2 levels) in <top (required)>'6278 # ./spec/spec_helper.rb:242:in `block (2 levels) in <top (required)>'6279 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6280 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <top (required)>'6281 # ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'6282 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <top (required)>'6283Finished in 28 minutes 43 seconds (files took 1 minute 20.56 seconds to load)62842187 examples, 1 failure, 4 pending6285Failed examples:6286rspec './ee/spec/services/security/security_orchestration_policies/policy_commit_service_spec.rb[1:1:1:1:4:3:1]' # Security::SecurityOrchestrationPolicies::PolicyCommitService#execute when service is used for project behaves like commits policy to associated project when policy already exists in policy project remove creates branch with removed policy6287Randomized with seed 343136288[TEST PROF INFO] Time spent in factories: 11:25.320 (39.03% of total time)6289Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected6290RSpec exited with 1.6291RETRIED_TESTS_REPORT_PATH: rspec/flaky/retried_tests_rspec-ee_unit_pg13_2_18_report.txt6292Retrying the failing examples in a new RSpec process...6293$ gem install junit_merge --no-document --version 0.1.26294Successfully installed nokogiri-1.14.3-x86_64-linux6295Successfully installed junit_merge-0.1.262962 gems installed6297==> 'gem install junit_merge --no-document --version 0.1.2' succeeded in 1 seconds.6298Running RSpec command: bin/rspec -Ispec -rspec_helper --color --failure-exit-code 1 --error-exit-code 2 --format documentation --format RspecJunitFormatter --out rspec/junit_rspec-retry.xml --only-failures --pattern "{ee/}spec/{bin,channels,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.rb"6299warning: parser/current is loading parser/ruby30, which recognizes 3.0.5-compliant syntax, but you are running 3.0.6.6301Run options: include {:last_run_status=>"failed"}6302Test environment set up in 0.575752377 seconds6303Security::SecurityOrchestrationPolicies::PolicyCommitService6304 #execute6305 when service is used for project6306 behaves like commits policy to associated project6307 when policy already exists in policy project6308 remove6309 creates branch with removed policy6310Finished in 6.34 seconds (files took 37.92 seconds to load)63111 example, 0 failures6312[TEST PROF INFO] Time spent in factories: 00:02.309 (28.86% of total time)6313A test was flaky and succeeded after being retried. Checking to see if flaky test is part of this MR...6314Flaky test was not part of this MR.6316Not uploading cache ruby-gems-debian-bullseye-ruby-3.0-16 due to policy6318Uploading artifacts...6319coverage/: found 4 matching artifact files and directories 6320WARNING: crystalball/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 6321WARNING: deprecations/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 6322knapsack/: found 3 matching artifact files and directories 6323query_recorder/: found 2 matching artifact files and directories 6324rspec/: found 10 matching artifact files and directories 6325WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 6326log/*.log: found 17 matching artifact files and directories 6327WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4139146481/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com6328WARNING: Retrying... context=artifacts-uploader error=request redirected6329Uploading artifacts as "archive" to coordinator... 201 Created id=4139146481 responseStatus=201 Created token=64_mS5MB6330Uploading artifacts...6331rspec/junit_rspec.xml: found 1 matching artifact files and directories 6332WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4139146481/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com6333WARNING: Retrying... context=artifacts-uploader error=request redirected6334Uploading artifacts as "junit" to coordinator... 201 Created id=4139146481 responseStatus=201 Created token=64_mS5MB6336Job succeeded