rspec-ee unit pg12 2/16
Passed Started
by
@dbalexandre

Douglas Barbosa Alexandre
1Running with gitlab-runner 15.4.0~beta.5.gdefc7017 (defc7017)2 on blue-3.private.runners-manager.gitlab.com/gitlab.com/gitlab-org 6io2xoDD3 feature flags: FF_USE_FASTZIP:true6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-103-yarn-1.22-graphicsmagick-1.3.36 ...7Starting service postgres:12 ...8Pulling docker image postgres:12 ...9Using docker image sha256:f2f1f275f1a1dff86079a737d24a925772f06910c3559b43f32ef6b0dd23b152 for postgres:12 with digest postgres@sha256:a2405cf650dd888788953bf3f69cbe9c8af99fd0e325122eb903707d1d16b162 ...10Starting service redis:6.0-alpine ...11Pulling docker image redis:6.0-alpine ...12Using docker image sha256:648aa889c697d1745a25a82475ee0df2c22ffe74dc3b7e11d2785b7738f1bcaa for redis:6.0-alpine with digest redis@sha256:4af27048227d6f68911c0098f56fff75d2e0af41d424536a571c604a5a2aa85f ...13Starting service elasticsearch:7.17.0 ...14Pulling docker image elasticsearch:7.17.0 ...15Using docker image sha256:6fe993d6e7ed5e00a18f9b146d867b77559bf9948e6596bbf880ddbefeec46f7 for elasticsearch:7.17.0 with digest elasticsearch@sha256:332c6d416808f6e9a2cbcbe0170d9a9bb14bfe772180d37de5084c223dd8948b ...16Waiting for services to be up and running (timeout 30 seconds)...17Authenticating with credentials from job payload (GitLab Registry)18Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-103-yarn-1.22-graphicsmagick-1.3.36 ...19Using docker image sha256:0de04b8fae6d288f2674c8ee330dead655389b1f4c48fa027d76f2d798deadaf for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-103-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12@sha256:3632d3da2a61b74f7c4724eb8752b609c16b498daf20e9800a9c44629adab0bc ...21Running on runner-6io2xodd-project-278964-concurrent-0 via runner-6io2xodd-private-1661344325-c7657c9c...23$ eval "$CI_PRE_CLONE_SCRIPT"24Fetching changes with git depth set to 20...25Initialized empty Git repository in /builds/gitlab-org/gitlab/.git/26Created fresh repository.27remote: Enumerating objects: 115695, done. 28remote: Counting objects: 100% (115695/115695), done. 29remote: Compressing objects: 100% (77168/77168), done. 30remote: Total 115695 (delta 47763), reused 80641 (delta 34098), pack-reused 0 31Receiving objects: 100% (115695/115695), 110.34 MiB | 21.23 MiB/s, done.32Resolving deltas: 100% (47763/47763), done.34 * [new ref] refs/pipelines/621982466 -> refs/pipelines/62198246635Checking out 63997366 as refs/merge-requests/95971/merge...36Skipping Git submodules setup37$ git remote set-url origin "${CI_REPOSITORY_URL}"39Checking cache for ruby-gems-debian-bullseye-ruby-2.7-14...40cache.zip is up to date 41Successfully extracted cache42Checking cache for gitaly-ruby-gems-debian-bullseye-ruby-2.7-14...43cache.zip is up to date 44Successfully extracted cache46Downloading artifacts for compile-test-assets (2929379408)...47Downloading artifacts from coordinator... ok id=2929379408 responseStatus=200 OK token=4ogrSsrn48Downloading artifacts for detect-tests (2929379414)...49Downloading artifacts from coordinator... ok id=2929379414 responseStatus=200 OK token=4ogrSsrn50Downloading artifacts for retrieve-tests-metadata (2929379417)...51Downloading artifacts from coordinator... ok id=2929379417 responseStatus=200 OK token=4ogrSsrn52Downloading artifacts for setup-test-env (2929379411)...53Downloading artifacts from coordinator... ok id=2929379411 responseStatus=200 OK token=4ogrSsrn55Using docker image sha256:0de04b8fae6d288f2674c8ee330dead655389b1f4c48fa027d76f2d798deadaf for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-103-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12@sha256:3632d3da2a61b74f7c4724eb8752b609c16b498daf20e9800a9c44629adab0bc ...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.sh623.2.3363Bundler version 2.2.3364Successfully installed bundler-2.3.15651 gem installed66production:development67Settings are listed in order of priority. The top value will be used.68clean69Set for your local app (/builds/gitlab-org/gitlab/.bundle/config): true70frozen71Set via BUNDLE_FROZEN: true72install_flags73Set via BUNDLE_INSTALL_FLAGS: "--jobs=$(nproc) --retry=3 --quiet"74path75Set for your local app (/builds/gitlab-org/gitlab/.bundle/config): "/builds/gitlab-org/gitlab/vendor"76without77Set via BUNDLE_WITHOUT: [:production, :development]78$ bundle install --jobs=$(nproc) --retry=3 --quiet && bundle check79Don't run Bundler as root. Bundler can ask for sudo if it is needed, and80installing your bundle as root will break this application for all non-root81users on this machine.82The Gemfile's dependencies are satisfied83==> 'bundle install --jobs=$(nproc) --retry=3 --quiet && bundle check' succeeded in 2 seconds.84$ bundle pristine pg85Installing pg 1.4.1 with native extensions86==> 'bundle pristine pg' succeeded in 11 seconds.87Using decomposed database config (config/database.yml.decomposed-postgresql)88$ setup_db_user_only89CREATE ROLE90GRANT91==> 'setup_db_user_only' succeeded in 0 seconds.92$ bundle exec rake db:drop db:create db:schema:load db:migrate93Dropped database 'gitlabhq_test'94Dropped database 'gitlabhq_test_ci'95Dropped database 'gitlabhq_geo_test'96Created database 'gitlabhq_test'97Created database 'gitlabhq_test_ci'98Created database 'gitlabhq_geo_test'99==> 'bundle exec rake db:drop db:create db:schema:load db:migrate' succeeded in 36 seconds.100$ setup_db_praefect101SELECT pg_catalog.set_config('search_path', '', false);102CREATE DATABASE praefect_test ENCODING 'UTF8';103==> 'setup_db_praefect' succeeded in 0 seconds.104$ run_timed_command "gem install knapsack --no-document"105$ gem install knapsack --no-document106Successfully installed knapsack-4.0.01071 gem installed108==> 'gem install knapsack --no-document' succeeded in 1 seconds.109$ run_timed_command "scripts/gitaly-test-spawn"110$ scripts/gitaly-test-spawn111find: ‘/builds/gitlab-org/gitlab/tmp/tests/gitaly/cmd’: No such file or directory112find: ‘/builds/gitlab-org/gitlab/tmp/tests/gitaly/cmd’: No such file or directory113find: ‘/builds/gitlab-org/gitlab/tmp/tests/gitaly/cmd’: No such file or directory114find: ‘/builds/gitlab-org/gitlab/tmp/tests/gitaly/cmd’: No such file or directory115find: ‘/builds/gitlab-org/gitlab/tmp/tests/gitaly/cmd’: No such file or directory116find: ‘/builds/gitlab-org/gitlab/tmp/tests/gitaly/cmd’: No such file or directory117Don't run Bundler as root. Bundler can ask for sudo if it is needed, and118installing your bundle as root will break this application for all non-root119users on this machine.120Using abstract_type 0.0.7121Using concurrent-ruby 1.1.10122Using i18n 1.12.0123Using minitest 5.16.2124Using tzinfo 2.0.5125Using zeitwerk 2.6.0126Using activesupport 6.1.6.1127Using builder 3.2.4128Using erubi 1.10.0129Using mini_portile2 2.8.0130Using racc 1.6.0131Using nokogiri 1.13.8 (x86_64-linux)132Using rails-dom-testing 2.0.3133Using crass 1.0.6134Using loofah 2.18.0135Using rails-html-sanitizer 1.4.3136Using actionview 6.1.6.1137Using rack 2.2.4138Using rack-test 1.1.0139Using actionpack 6.1.6.1140Using ice_nine 0.11.2141Using thread_safe 0.3.6142Using memoizable 0.4.2143Using adamantium 0.2.0144Using public_suffix 4.0.7145Using addressable 2.8.0146Using ast 2.4.2147Using binding_ninja 0.2.3148Using bundler 2.3.15149Using charlock_holmes 0.7.7150Using coderay 1.1.2151Using equalizer 0.0.11152Using concord 0.1.5153Using diff-lcs 1.3154Using dotenv 2.7.6155Using escape_utils 1.2.2156Using factory_bot 5.0.2157Using multipart-post 2.1.1158Using faraday 1.0.1159Using ffi 1.15.5160Using json 2.5.1161Using gemojione 3.3.0162Using mini_mime 1.1.2163Using rugged 1.2.0164Using github-linguist 7.20.0165Using github-markup 1.7.0166Using mime-types-data 3.2020.1104167Using mime-types 3.3.1168Using gitlab-gollum-rugged_adapter 0.4.4.4.gitlab.1169Using rouge 3.30.0170Using sanitize 6.0.0171Using stringex 2.8.5172Using gitlab-gollum-lib 4.2.7.10.gitlab.2173Using google-protobuf 3.21.3 (x86_64-linux)174Using googleapis-common-protos-types 1.3.0175Using grpc 1.42.0 (x86_64-linux)176Using opentracing 0.5.0177Using thrift 0.15.0178Using jaeger-client 1.1.0179Using pg_query 2.1.3180Using redis 4.4.0181Using gitlab-labkit 0.23.0182Using rubyzip 2.3.2183Using thor 1.1.0184Using tomlrb 2.0.1185Using with_env 1.1.0186Using rexml 3.2.5187Using xml-simple 1.1.9188Using gitlab-license_finder 6.14.2.1189Using gitlab-markup 1.7.1190Using grpc-tools 1.42.0191Using sawyer 0.8.2192Using octokit 4.20.0193Using reverse_markdown 1.4.0194Using licensee 9.15.2195Using method_source 0.9.2196Using msgpack 1.3.3197Using optimist 3.0.1198Using parallel 1.19.2199Using parser 3.0.3.2200Using procto 0.0.3201Using unparser 0.4.7202Using proc_to_ast 0.1.0203Using pry 0.12.2204Using rainbow 3.0.0205Using rbtrace 0.4.14206Using rdoc 6.3.2207Using regexp_parser 1.8.1208Using rspec-support 3.8.0209Using rspec-core 3.8.0210Using rspec-expectations 3.8.3211Using rspec-mocks 3.8.0212Using rspec 3.8.0213Using rspec-parameterized 0.4.2214Using rubocop-ast 0.2.0215Using ruby-progressbar 1.10.1216Using unicode-display_width 1.7.0217Using rubocop 0.86.0218Using sentry-raven 3.0.4219Using timecop 0.9.1220Bundle complete! 22 Gemfile dependencies, 100 gems now installed.221Gems in the groups 'production' and 'development' were not installed.222Bundled gems are installed into `/builds/gitlab-org/gitlab/vendor/gitaly-ruby`223Checking gitaly-ruby Gemfile...224Checking gitaly-ruby bundle...225The Gemfile's dependencies are satisfied226Trying to connect to gitaly: .............................................. OK227Trying to connect to gitaly2: ............................................................... OK228Starting Praefect with in-memory election strategyTrying to connect to praefect: ......... OK229==> 'scripts/gitaly-test-spawn' succeeded in 13 seconds.230$ source ./scripts/rspec_helpers.sh231$ rspec_paralellized_job "--tag ~quarantine --tag ~level:migration"232SKIP_FLAKY_TESTS_AUTOMATICALLY: true233RETRY_FAILED_TESTS_IN_NEW_PROCESS: true234KNAPSACK_GENERATE_REPORT: true235FLAKY_RSPEC_GENERATE_REPORT: true236KNAPSACK_TEST_FILE_PATTERN: {ee/}spec/{bin,channels,config,db,dependencies,elastic,elastic_integration,experiments,factories,finders,frontend,graphql,haml_lint,helpers,initializers,lib,metrics_server,models,policies,presenters,rack_servers,replicators,routing,rubocop,scripts,serializers,services,sidekiq,sidekiq_cluster,spam,support_specs,tasks,uploaders,validators,views,workers,tooling,components}{,/**/}*_spec.rb237KNAPSACK_LOG_LEVEL: debug238KNAPSACK_REPORT_PATH: knapsack/rspec-ee_unit_pg12_2_16_report.json239FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json240FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec-ee_unit_pg12_2_16_report.json241NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec-ee_unit_pg12_2_16_report.json242SKIPPED_FLAKY_TESTS_REPORT_PATH: rspec/flaky/skipped_flaky_tests_rspec-ee_unit_pg12_2_16_report.txt243RETRIED_TESTS_REPORT_PATH: rspec/flaky/retried_tests_rspec-ee_unit_pg12_2_16_report.txt244CRYSTALBALL: 245Knapsack node specs:246ee/spec/services/search/group_service_spec.rb247ee/spec/services/geo/file_registry_removal_service_spec.rb248ee/spec/services/merge_requests/merge_service_spec.rb249ee/spec/services/members/activate_service_spec.rb250ee/spec/services/auto_merge/merge_train_service_spec.rb251ee/spec/lib/gitlab/background_migration/populate_test_reports_issue_id_spec.rb252ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb253ee/spec/services/resource_access_tokens/create_service_spec.rb254ee/spec/services/security/security_orchestration_policies/process_scan_result_policy_service_spec.rb255ee/spec/models/productivity_analytics_spec.rb256ee/spec/helpers/subscriptions_helper_spec.rb257ee/spec/services/ee/issuable/bulk_update_service_spec.rb258ee/spec/services/app_sec/dast/scanner_profiles/create_service_spec.rb259ee/spec/models/concerns/ee/issuable_spec.rb260ee/spec/services/namespaces/storage/email_notification_service_spec.rb261ee/spec/workers/elastic/project_transfer_worker_spec.rb262ee/spec/services/boards/epics/list_service_spec.rb263ee/spec/lib/gitlab/auth/group_saml/gma_membership_enforcer_spec.rb264ee/spec/graphql/mutations/dast_on_demand_scans/create_spec.rb265ee/spec/graphql/types/dast_site_profile_type_spec.rb266ee/spec/services/wiki_pages/update_service_spec.rb267ee/spec/services/merge_trains/refresh_service_spec.rb268ee/spec/views/projects/issues/show.html.haml_spec.rb269ee/spec/services/boards/epics/move_service_spec.rb270ee/spec/lib/ee/audit/project_setting_changes_auditor_spec.rb271ee/spec/workers/admin_emails_worker_spec.rb272ee/spec/models/ci/daily_build_group_report_result_spec.rb273ee/spec/models/dora/daily_metrics_spec.rb274ee/spec/services/geo/project_housekeeping_service_spec.rb275ee/spec/services/software_license_policies/create_service_spec.rb276ee/spec/models/ee/pages_deployment_spec.rb277ee/spec/services/merge_requests/approval_service_spec.rb278ee/spec/helpers/ee/gitlab_routing_helper_spec.rb279ee/spec/services/security/ingestion/tasks/ingest_finding_identifiers_spec.rb280ee/spec/graphql/mutations/dast/profiles/create_spec.rb281ee/spec/graphql/mutations/epics/add_issue_spec.rb282ee/spec/services/security/findings/cleanup_service_spec.rb283ee/spec/graphql/mutations/incident_management/oncall_rotation/create_spec.rb284ee/spec/models/group_wiki_repository_spec.rb285ee/spec/graphql/types/vulnerability_location_type_spec.rb286ee/spec/workers/project_template_export_worker_spec.rb287ee/spec/workers/geo/container_repository_sync_dispatch_worker_spec.rb288ee/spec/graphql/mutations/boards/epics/create_spec.rb289ee/spec/models/concerns/geo/replicable_model_spec.rb290ee/spec/models/namespace_limit_spec.rb291ee/spec/policies/protected_branch_policy_spec.rb292ee/spec/views/shared/_mirror_update_button.html.haml_spec.rb293ee/spec/graphql/mutations/security_policy/unassign_security_policy_project_spec.rb294ee/spec/models/vulnerabilities/scanner_spec.rb295ee/spec/services/app_sec/dast/scan_configs/fetch_service_spec.rb296ee/spec/lib/ee/audit/compliance_framework_changes_auditor_spec.rb297ee/spec/helpers/ee/groups/group_members_helper_spec.rb298ee/spec/routing/webhook_routes_spec.rb299ee/spec/lib/gitlab/status_page/storage_spec.rb300ee/spec/lib/gitlab/vulnerabilities/standard_vulnerability_spec.rb301ee/spec/services/ci/runners/register_runner_service_spec.rb302ee/spec/services/security/security_orchestration_policies/project_create_service_spec.rb303ee/spec/lib/gitlab/ci/templates/secret_detection_latest_gitlab_ci_yaml_spec.rb304ee/spec/policies/dast/profile_schedule_policy_spec.rb305ee/spec/policies/ee/namespaces/user_namespace_policy_spec.rb306ee/spec/lib/gitlab_subscriptions/upcoming_reconciliation_entity_spec.rb307ee/spec/services/ee/merge_requests/update_reviewers_service_spec.rb308ee/spec/services/security/ingestion/finding_map_spec.rb309ee/spec/services/status_page/publish_service_spec.rb310ee/spec/workers/merge_requests/stream_approval_audit_event_worker_spec.rb311ee/spec/lib/ee/gitlab/import_export/project/tree_saver_spec.rb312ee/spec/lib/gitlab/geo/signed_data_spec.rb313ee/spec/helpers/ee/dashboard_helper_spec.rb314ee/spec/services/projects/cleanup_service_spec.rb315ee/spec/graphql/resolvers/iterations/cadences_resolver_spec.rb316ee/spec/models/ee/release_spec.rb317ee/spec/lib/ee/sidebars/groups/menus/issues_menu_spec.rb318ee/spec/workers/merge_request_reset_approvals_worker_spec.rb319ee/spec/models/ee/key_spec.rb320ee/spec/workers/merge_requests/sync_code_owner_approval_rules_worker_spec.rb321ee/spec/graphql/mutations/vulnerabilities/dismiss_spec.rb322ee/spec/services/analytics/cycle_analytics/stages/list_service_spec.rb323ee/spec/graphql/mutations/vulnerabilities/revert_to_detected_spec.rb324ee/spec/policies/incident_management/oncall_shift_policy_spec.rb325ee/spec/lib/ee/gitlab/auth/ldap/sync/external_users_spec.rb326ee/spec/graphql/resolvers/vulnerabilities/container_images_resolver_spec.rb327ee/spec/models/ee/alert_management/alert_spec.rb328ee/spec/graphql/mutations/boards/epic_lists/create_spec.rb329ee/spec/services/ci/minutes/additional_packs/create_service_spec.rb330ee/spec/models/ee/project_wiki_spec.rb331ee/spec/finders/ee/clusters/agents_finder_spec.rb332ee/spec/lib/gitlab/auth/group_saml/xml_response_spec.rb333ee/spec/views/subscriptions/buy_storage.html.haml_spec.rb334ee/spec/workers/ci/initial_pipeline_process_worker_spec.rb335ee/spec/lib/gitlab/sitemaps/generator_spec.rb336ee/spec/lib/ee/audit/group_changes_auditor_spec.rb337ee/spec/policies/approval_project_rule_policy_spec.rb338ee/spec/finders/dast/profiles_finder_spec.rb339ee/spec/models/concerns/deprecated_approvals_before_merge_spec.rb340ee/spec/models/ee/groups/feature_setting_spec.rb341ee/spec/workers/incident_management/pending_escalations/schedule_check_cron_worker_spec.rb342ee/spec/services/work_items/update_service_spec.rb343ee/spec/models/namespaces/free_user_cap_spec.rb344ee/spec/services/geo/container_repository_sync_spec.rb345ee/spec/services/app_sec/dast/site_profiles/audit/update_service_spec.rb346ee/spec/workers/analytics/cycle_analytics/consistency_worker_spec.rb347ee/spec/serializers/dashboard_environment_entity_spec.rb348ee/spec/services/elastic/process_initial_bookkeeping_service_spec.rb349ee/spec/models/concerns/elastic/projects_search_spec.rb350ee/spec/workers/app_sec/dast/site_profiles_builds/consistency_worker_spec.rb351ee/spec/lib/gitlab/incident_management_spec.rb352ee/spec/graphql/mutations/instance_security_dashboard/remove_project_spec.rb353ee/spec/models/vulnerabilities/finding_link_spec.rb354ee/spec/lib/gitlab/insights/finders/projects_finder_spec.rb355ee/spec/lib/gitlab/metrics/samplers/global_search_sampler_spec.rb356ee/spec/helpers/markup_helper_spec.rb357ee/spec/serializers/vulnerabilities/response_entity_spec.rb358ee/spec/models/concerns/ee/weight_eventable_spec.rb359ee/spec/graphql/types/security/training_type_spec.rb360ee/spec/lib/gitlab/auth/group_saml/response_store_spec.rb361ee/spec/services/analytics/devops_adoption/enabled_namespaces/delete_service_spec.rb362ee/spec/services/ee/terraform/states/destroy_service_spec.rb363ee/spec/models/analytics/language_trend/repository_language_spec.rb364ee/spec/models/milestone_spec.rb365ee/spec/lib/gitlab/ci/parsers/security/coverage_fuzzing_spec.rb366ee/spec/workers/ci/sync_reports_to_report_approval_rules_worker_spec.rb367ee/spec/views/shared/issuable/_health_status_dropdown.html.haml_spec.rb368ee/spec/initializers/database_config_spec.rb369ee/spec/helpers/ee/feature_flags_helper_spec.rb370ee/spec/presenters/project_member_presenter_spec.rb371ee/spec/lib/gitlab/analytics/cycle_analytics/aggregated/data_for_duration_chart_spec.rb372ee/spec/lib/gitlab/ci/reports/license_scanning/dependency_spec.rb373ee/spec/models/group_deletion_schedule_spec.rb374ee/spec/serializers/vulnerability_entity_spec.rb375ee/spec/serializers/linked_feature_flag_issue_entity_spec.rb376ee/spec/lib/bulk_imports/common/pipelines/wiki_pipeline_spec.rb377ee/spec/workers/security/auto_fix_worker_spec.rb378ee/spec/validators/password/complexity_validator_spec.rb379ee/spec/workers/audit_events/user_impersonation_event_create_worker_spec.rb380ee/spec/models/concerns/elastic/application_versioned_search_spec.rb381ee/spec/lib/gitlab/insights/serializers/chartjs/bar_serializer_spec.rb382ee/spec/serializers/metrics_report_metric_entity_spec.rb383ee/spec/graphql/mutations/namespaces/increase_storage_temporarily_spec.rb384ee/spec/services/groups/schedule_bulk_repository_shard_moves_service_spec.rb385ee/spec/graphql/types/push_rules_type_spec.rb386ee/spec/graphql/types/vulnerable_kubernetes_resource_type_spec.rb387ee/spec/elastic/migrate/20210201104800_migrate_notes_to_separate_index_spec.rb388ee/spec/graphql/types/geo/registry_state_enum_spec.rb389ee/spec/graphql/types/audit_events/streaming/header_type_spec.rb390ee/spec/lib/gitlab/code_owners/reference_extractor_spec.rb391ee/spec/lib/gitlab/ci/reports/metrics/report_spec.rb392ee/spec/models/boards/epic_board_label_spec.rb393ee/spec/graphql/types/boards/epic_list_type_spec.rb394ee/spec/graphql/ee/types/mutation_type_spec.rb395ee/spec/graphql/types/merge_requests/approval_state_type_spec.rb396ee/spec/helpers/ee/version_check_helper_spec.rb397ee/spec/graphql/types/vulnerability_location/generic_type_spec.rb398ee/spec/lib/ee/bulk_imports/groups/stage_spec.rb399ee/spec/lib/gitlab/usage/metrics/instrumentations/advanced_search/build_type_metric_spec.rb400ee/spec/services/users/update_highest_member_role_service_spec.rb401ee/spec/lib/ee/gitlab/usage/service_ping/payload_keys_processor_spec.rb402ee/spec/lib/gitlab/status_page/filter/mention_anonymization_filter_spec.rb403ee/spec/models/protected_branch/unprotect_access_level_spec.rb404ee/spec/graphql/types/ci/code_quality_degradation_severity_enum_spec.rb405ee/spec/factories/lfs_object_spec.rb406Filter specs:407Running specs:408Running all node tests without filter409ee/spec/services/search/group_service_spec.rb410ee/spec/services/geo/file_registry_removal_service_spec.rb411ee/spec/services/merge_requests/merge_service_spec.rb412ee/spec/services/members/activate_service_spec.rb413ee/spec/services/auto_merge/merge_train_service_spec.rb414ee/spec/lib/gitlab/background_migration/populate_test_reports_issue_id_spec.rb415ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb416ee/spec/services/resource_access_tokens/create_service_spec.rb417ee/spec/services/security/security_orchestration_policies/process_scan_result_policy_service_spec.rb418ee/spec/models/productivity_analytics_spec.rb419ee/spec/helpers/subscriptions_helper_spec.rb420ee/spec/services/ee/issuable/bulk_update_service_spec.rb421ee/spec/services/app_sec/dast/scanner_profiles/create_service_spec.rb422ee/spec/models/concerns/ee/issuable_spec.rb423ee/spec/services/namespaces/storage/email_notification_service_spec.rb424ee/spec/workers/elastic/project_transfer_worker_spec.rb425ee/spec/services/boards/epics/list_service_spec.rb426ee/spec/lib/gitlab/auth/group_saml/gma_membership_enforcer_spec.rb427ee/spec/graphql/mutations/dast_on_demand_scans/create_spec.rb428ee/spec/graphql/types/dast_site_profile_type_spec.rb429ee/spec/services/wiki_pages/update_service_spec.rb430ee/spec/services/merge_trains/refresh_service_spec.rb431ee/spec/views/projects/issues/show.html.haml_spec.rb432ee/spec/services/boards/epics/move_service_spec.rb433ee/spec/lib/ee/audit/project_setting_changes_auditor_spec.rb434ee/spec/workers/admin_emails_worker_spec.rb435ee/spec/models/ci/daily_build_group_report_result_spec.rb436ee/spec/models/dora/daily_metrics_spec.rb437ee/spec/services/geo/project_housekeeping_service_spec.rb438ee/spec/services/software_license_policies/create_service_spec.rb439ee/spec/models/ee/pages_deployment_spec.rb440ee/spec/services/merge_requests/approval_service_spec.rb441ee/spec/helpers/ee/gitlab_routing_helper_spec.rb442ee/spec/services/security/ingestion/tasks/ingest_finding_identifiers_spec.rb443ee/spec/graphql/mutations/dast/profiles/create_spec.rb444ee/spec/graphql/mutations/epics/add_issue_spec.rb445ee/spec/services/security/findings/cleanup_service_spec.rb446ee/spec/graphql/mutations/incident_management/oncall_rotation/create_spec.rb447ee/spec/models/group_wiki_repository_spec.rb448ee/spec/graphql/types/vulnerability_location_type_spec.rb449ee/spec/workers/project_template_export_worker_spec.rb450ee/spec/workers/geo/container_repository_sync_dispatch_worker_spec.rb451ee/spec/graphql/mutations/boards/epics/create_spec.rb452ee/spec/models/concerns/geo/replicable_model_spec.rb453ee/spec/models/namespace_limit_spec.rb454ee/spec/policies/protected_branch_policy_spec.rb455ee/spec/views/shared/_mirror_update_button.html.haml_spec.rb456ee/spec/graphql/mutations/security_policy/unassign_security_policy_project_spec.rb457ee/spec/models/vulnerabilities/scanner_spec.rb458ee/spec/services/app_sec/dast/scan_configs/fetch_service_spec.rb459ee/spec/lib/ee/audit/compliance_framework_changes_auditor_spec.rb460ee/spec/helpers/ee/groups/group_members_helper_spec.rb461ee/spec/routing/webhook_routes_spec.rb462ee/spec/lib/gitlab/status_page/storage_spec.rb463ee/spec/lib/gitlab/vulnerabilities/standard_vulnerability_spec.rb464ee/spec/services/ci/runners/register_runner_service_spec.rb465ee/spec/services/security/security_orchestration_policies/project_create_service_spec.rb466ee/spec/lib/gitlab/ci/templates/secret_detection_latest_gitlab_ci_yaml_spec.rb467ee/spec/policies/dast/profile_schedule_policy_spec.rb468ee/spec/policies/ee/namespaces/user_namespace_policy_spec.rb469ee/spec/lib/gitlab_subscriptions/upcoming_reconciliation_entity_spec.rb470ee/spec/services/ee/merge_requests/update_reviewers_service_spec.rb471ee/spec/services/security/ingestion/finding_map_spec.rb472ee/spec/services/status_page/publish_service_spec.rb473ee/spec/workers/merge_requests/stream_approval_audit_event_worker_spec.rb474ee/spec/lib/ee/gitlab/import_export/project/tree_saver_spec.rb475ee/spec/lib/gitlab/geo/signed_data_spec.rb476ee/spec/helpers/ee/dashboard_helper_spec.rb477ee/spec/services/projects/cleanup_service_spec.rb478ee/spec/graphql/resolvers/iterations/cadences_resolver_spec.rb479ee/spec/models/ee/release_spec.rb480ee/spec/lib/ee/sidebars/groups/menus/issues_menu_spec.rb481ee/spec/workers/merge_request_reset_approvals_worker_spec.rb482ee/spec/models/ee/key_spec.rb483ee/spec/workers/merge_requests/sync_code_owner_approval_rules_worker_spec.rb484ee/spec/graphql/mutations/vulnerabilities/dismiss_spec.rb485ee/spec/services/analytics/cycle_analytics/stages/list_service_spec.rb486ee/spec/graphql/mutations/vulnerabilities/revert_to_detected_spec.rb487ee/spec/policies/incident_management/oncall_shift_policy_spec.rb488ee/spec/lib/ee/gitlab/auth/ldap/sync/external_users_spec.rb489ee/spec/graphql/resolvers/vulnerabilities/container_images_resolver_spec.rb490ee/spec/models/ee/alert_management/alert_spec.rb491ee/spec/graphql/mutations/boards/epic_lists/create_spec.rb492ee/spec/services/ci/minutes/additional_packs/create_service_spec.rb493ee/spec/models/ee/project_wiki_spec.rb494ee/spec/finders/ee/clusters/agents_finder_spec.rb495ee/spec/lib/gitlab/auth/group_saml/xml_response_spec.rb496ee/spec/views/subscriptions/buy_storage.html.haml_spec.rb497ee/spec/workers/ci/initial_pipeline_process_worker_spec.rb498ee/spec/lib/gitlab/sitemaps/generator_spec.rb499ee/spec/lib/ee/audit/group_changes_auditor_spec.rb500ee/spec/policies/approval_project_rule_policy_spec.rb501ee/spec/finders/dast/profiles_finder_spec.rb502ee/spec/models/concerns/deprecated_approvals_before_merge_spec.rb503ee/spec/models/ee/groups/feature_setting_spec.rb504ee/spec/workers/incident_management/pending_escalations/schedule_check_cron_worker_spec.rb505ee/spec/services/work_items/update_service_spec.rb506ee/spec/models/namespaces/free_user_cap_spec.rb507ee/spec/services/geo/container_repository_sync_spec.rb508ee/spec/services/app_sec/dast/site_profiles/audit/update_service_spec.rb509ee/spec/workers/analytics/cycle_analytics/consistency_worker_spec.rb510ee/spec/serializers/dashboard_environment_entity_spec.rb511ee/spec/services/elastic/process_initial_bookkeeping_service_spec.rb512ee/spec/models/concerns/elastic/projects_search_spec.rb513ee/spec/workers/app_sec/dast/site_profiles_builds/consistency_worker_spec.rb514ee/spec/lib/gitlab/incident_management_spec.rb515ee/spec/graphql/mutations/instance_security_dashboard/remove_project_spec.rb516ee/spec/models/vulnerabilities/finding_link_spec.rb517ee/spec/lib/gitlab/insights/finders/projects_finder_spec.rb518ee/spec/lib/gitlab/metrics/samplers/global_search_sampler_spec.rb519ee/spec/helpers/markup_helper_spec.rb520ee/spec/serializers/vulnerabilities/response_entity_spec.rb521ee/spec/models/concerns/ee/weight_eventable_spec.rb522ee/spec/graphql/types/security/training_type_spec.rb523ee/spec/lib/gitlab/auth/group_saml/response_store_spec.rb524ee/spec/services/analytics/devops_adoption/enabled_namespaces/delete_service_spec.rb525ee/spec/services/ee/terraform/states/destroy_service_spec.rb526ee/spec/models/analytics/language_trend/repository_language_spec.rbKnapsack report generator started!527Run options: exclude {:quarantine=>true, :level=>"migration"}528Test environment set up in 0.617106079 seconds529Search::GroupService530 behaves like EE search service shared examples531 #use_elasticsearch?532 delegates to Gitlab::CurrentSettings.search_using_elasticsearch?533 when requesting basic_search534 returns false535 #execute536 returns an Elastic result object when elasticsearch is enabled537 returns an ordinary result object when elasticsearch is disabled538 advanced syntax queries for all scopes539 with query "display bug" and scope merge_requests540 allows advanced query541 with query "display bug" and scope notes542 allows advanced query543 with query "display bug" and scope commits544 allows advanced query545 with query "display bug" and scope blobs546 allows advanced query547 with query "display bug" and scope projects548 allows advanced query549 with query "display bug" and scope issues550 allows advanced query551 with query "display bug" and scope wiki_blobs552 allows advanced query553 with query "display bug" and scope milestones554 allows advanced query555 with query bug -display and scope merge_requests556 allows advanced query557 with query bug -display and scope notes558 allows advanced query559 with query bug -display and scope commits560 allows advanced query561 with query bug -display and scope blobs562 allows advanced query563 with query bug -display and scope projects564 allows advanced query565 with query bug -display and scope issues566 allows advanced query567 with query bug -display and scope wiki_blobs568 allows advanced query569 with query bug -display and scope milestones570 allows advanced query571 with query bug display | sound and scope merge_requests572 allows advanced query573 with query bug display | sound and scope notes574 allows advanced query575 with query bug display | sound and scope commits576 allows advanced query577 with query bug display | sound and scope blobs578 allows advanced query579 with query bug display | sound and scope projects580 allows advanced query581 with query bug display | sound and scope issues582 allows advanced query583 with query bug display | sound and scope wiki_blobs584 allows advanced query585 with query bug display | sound and scope milestones586 allows advanced query587 with query bug | (display +sound) and scope merge_requests588 allows advanced query589 with query bug | (display +sound) and scope notes590 allows advanced query591 with query bug | (display +sound) and scope commits592 allows advanced query593 with query bug | (display +sound) and scope blobs594 allows advanced query595 with query bug | (display +sound) and scope projects596 allows advanced query597 with query bug | (display +sound) and scope issues598 allows advanced query599 with query bug | (display +sound) and scope wiki_blobs600 allows advanced query601 with query bug | (display +sound) and scope milestones602 allows advanced query603 with query bug find_by_* and scope merge_requests604 allows advanced query605 with query bug find_by_* and scope notes606 allows advanced query607 with query bug find_by_* and scope commits608 allows advanced query609 with query bug find_by_* and scope blobs610 allows advanced query611 with query bug find_by_* and scope projects612 allows advanced query613 with query bug find_by_* and scope issues614 allows advanced query615 with query bug find_by_* and scope wiki_blobs616 allows advanced query617 with query bug find_by_* and scope milestones618 allows advanced query619 with query argument \-last and scope merge_requests620 allows advanced query621 with query argument \-last and scope notes622 allows advanced query623 with query argument \-last and scope commits624 allows advanced query625 with query argument \-last and scope blobs626 allows advanced query627 with query argument \-last and scope projects628 allows advanced query629 with query argument \-last and scope issues630 allows advanced query631 with query argument \-last and scope wiki_blobs632 allows advanced query633 with query argument \-last and scope milestones634 allows advanced query635 group search636 finding projects by name637 in parent group638 is expected to contain exactly #<Project id:4 group3/group2/inner_randomname_1>>, #<Project id:5 group3/group2/inner_randomname_2>>, and #<Project id:6 group3/outer_randomname>>639 in subgroup640 is expected to contain exactly #<Project id:10 group5/group4/inner_randomname_1>> and #<Project id:11 group5/group4/inner_randomname_2>>641 visibility642 merge request643 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 1644 behaves like search respects visibility645 respects visibility646 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 1647 behaves like search respects visibility648 respects visibility649 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 1650 behaves like search respects visibility651 respects visibility652 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 1653 behaves like search respects visibility654 respects visibility655 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 1656 behaves like search respects visibility657 respects visibility658 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 1659 behaves like search respects visibility660 respects visibility661 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 1662 behaves like search respects visibility663 respects visibility664 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 0665 behaves like search respects visibility666 respects visibility667 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 1668 behaves like search respects visibility669 respects visibility670 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 0671 behaves like search respects visibility672 respects visibility673 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 0674 behaves like search respects visibility675 respects visibility676 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 0677 behaves like search respects visibility678 respects visibility679 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 0680 behaves like search respects visibility681 respects visibility682 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 0683 behaves like search respects visibility684 respects visibility685 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 0686 behaves like search respects visibility687 respects visibility688 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 0689 behaves like search respects visibility690 respects visibility691 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 1692 behaves like search respects visibility693 respects visibility694 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 1695 behaves like search respects visibility696 respects visibility697 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 1698 behaves like search respects visibility699 respects visibility700 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 1701 behaves like search respects visibility702 respects visibility703 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 1704 behaves like search respects visibility705 respects visibility706 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 0707 behaves like search respects visibility708 respects visibility709 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 1710 behaves like search respects visibility711 respects visibility712 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 0713 behaves like search respects visibility714 respects visibility715 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 1716 behaves like search respects visibility717 respects visibility718 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 0719 behaves like search respects visibility720 respects visibility721 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 0722 behaves like search respects visibility723 respects visibility724 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 0725 behaves like search respects visibility726 respects visibility727 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 0728 behaves like search respects visibility729 respects visibility730 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 0731 behaves like search respects visibility732 respects visibility733 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 0734 behaves like search respects visibility735 respects visibility736 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 0737 behaves like search respects visibility738 respects visibility739 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 1740 behaves like search respects visibility741 respects visibility742 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 0743 behaves like search respects visibility744 respects visibility745 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 1746 behaves like search respects visibility747 respects visibility748 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 0749 behaves like search respects visibility750 respects visibility751 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 0752 behaves like search respects visibility753 respects visibility754 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 0755 behaves like search respects visibility756 respects visibility757 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 0758 behaves like search respects visibility759 respects visibility760 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 0761 behaves like search respects visibility762 respects visibility763 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 0764 behaves like search respects visibility765 respects visibility766 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 0767 behaves like search respects visibility768 respects visibility769 blob and commit770 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 1771 populate_commit_permissions_in_main_index migration has not been completed772 behaves like search respects visibility773 respects visibility774 behaves like search respects visibility775 respects visibility776 behaves like search respects visibility777 respects visibility778 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 1779 populate_commit_permissions_in_main_index migration has not been completed780 behaves like search respects visibility781 respects visibility782 behaves like search respects visibility783 respects visibility784 behaves like search respects visibility785 respects visibility786 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 1787 populate_commit_permissions_in_main_index migration has not been completed788 behaves like search respects visibility789 respects visibility790 behaves like search respects visibility791 respects visibility792 behaves like search respects visibility793 respects visibility794 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 1795 populate_commit_permissions_in_main_index migration has not been completed796 behaves like search respects visibility797 respects visibility798 behaves like search respects visibility799 respects visibility800 behaves like search respects visibility801 respects visibility802 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 1803 populate_commit_permissions_in_main_index migration has not been completed804 behaves like search respects visibility805 respects visibility806 behaves like search respects visibility807 respects visibility808 behaves like search respects visibility809 respects visibility810 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 1811 populate_commit_permissions_in_main_index migration has not been completed812 behaves like search respects visibility813 respects visibility814 behaves like search respects visibility815 respects visibility816 behaves like search respects visibility817 respects visibility818 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 1819 populate_commit_permissions_in_main_index migration has not been completed820 behaves like search respects visibility821 respects visibility822 behaves like search respects visibility823 respects visibility824 behaves like search respects visibility825 respects visibility826 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 0827 populate_commit_permissions_in_main_index migration has not been completed828 behaves like search respects visibility829 respects visibility830 behaves like search respects visibility831 respects visibility832 behaves like search respects visibility833 respects visibility834 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 1835 populate_commit_permissions_in_main_index migration has not been completed836 behaves like search respects visibility837 respects visibility838 behaves like search respects visibility839 respects visibility840 behaves like search respects visibility841 respects visibility842 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 1843 populate_commit_permissions_in_main_index migration has not been completed844 behaves like search respects visibility845 respects visibility846 behaves like search respects visibility847 respects visibility848 behaves like search respects visibility849 respects visibility850 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 0851 populate_commit_permissions_in_main_index migration has not been completed852 behaves like search respects visibility853 respects visibility854 behaves like search respects visibility855 respects visibility856 behaves like search respects visibility857 respects visibility858 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 0859 populate_commit_permissions_in_main_index migration has not been completed860 behaves like search respects visibility861 respects visibility862 behaves like search respects visibility863 respects visibility864 behaves like search respects visibility865 respects visibility866 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 0867 populate_commit_permissions_in_main_index migration has not been completed868 behaves like search respects visibility869 respects visibility870 behaves like search respects visibility871 respects visibility872 behaves like search respects visibility873 respects visibility874 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 0875 populate_commit_permissions_in_main_index migration has not been completed876 behaves like search respects visibility877 respects visibility878 behaves like search respects visibility879 respects visibility880 behaves like search respects visibility881 respects visibility882 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 0883 populate_commit_permissions_in_main_index migration has not been completed884 behaves like search respects visibility885 respects visibility886 behaves like search respects visibility887 respects visibility888 behaves like search respects visibility889 respects visibility890 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 0891 populate_commit_permissions_in_main_index migration has not been completed892 behaves like search respects visibility893 respects visibility894 behaves like search respects visibility895 respects visibility896 behaves like search respects visibility897 respects visibility898 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 1899 populate_commit_permissions_in_main_index migration has not been completed900 behaves like search respects visibility901 respects visibility902 behaves like search respects visibility903 respects visibility904 behaves like search respects visibility905 respects visibility906 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 1907 populate_commit_permissions_in_main_index migration has not been completed908 behaves like search respects visibility909 respects visibility910 behaves like search respects visibility911 respects visibility912 behaves like search respects visibility913 respects visibility914 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 1915 populate_commit_permissions_in_main_index migration has not been completed916 behaves like search respects visibility917 respects visibility918 behaves like search respects visibility919 respects visibility920 behaves like search respects visibility921 respects visibility922 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 1923 populate_commit_permissions_in_main_index migration has not been completed924 behaves like search respects visibility925 respects visibility926 behaves like search respects visibility927 respects visibility928 behaves like search respects visibility929 respects visibility930 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 1931 populate_commit_permissions_in_main_index migration has not been completed932 behaves like search respects visibility933 respects visibility934 behaves like search respects visibility935 respects visibility936 behaves like search respects visibility937 respects visibility938 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 0939 populate_commit_permissions_in_main_index migration has not been completed940 behaves like search respects visibility941 respects visibility942 behaves like search respects visibility943 respects visibility944 behaves like search respects visibility945 respects visibility946 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 1947 populate_commit_permissions_in_main_index migration has not been completed948 behaves like search respects visibility949 respects visibility950 behaves like search respects visibility951 respects visibility952 behaves like search respects visibility953 respects visibility954 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 0955 populate_commit_permissions_in_main_index migration has not been completed956 behaves like search respects visibility957 respects visibility958 behaves like search respects visibility959 respects visibility960 behaves like search respects visibility961 respects visibility962 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 1963 populate_commit_permissions_in_main_index migration has not been completed964 behaves like search respects visibility965 respects visibility966 behaves like search respects visibility967 respects visibility968 behaves like search respects visibility969 respects visibility970 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 1971 populate_commit_permissions_in_main_index migration has not been completed972 behaves like search respects visibility973 respects visibility974 behaves like search respects visibility975 respects visibility976 behaves like search respects visibility977 respects visibility978 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 0979 populate_commit_permissions_in_main_index migration has not been completed980 behaves like search respects visibility981 respects visibility982 behaves like search respects visibility983 respects visibility984 behaves like search respects visibility985 respects visibility986 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 0987 populate_commit_permissions_in_main_index migration has not been completed988 behaves like search respects visibility989 respects visibility990 behaves like search respects visibility991 respects visibility992 behaves like search respects visibility993 respects visibility994 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 0995 populate_commit_permissions_in_main_index migration has not been completed996 behaves like search respects visibility997 respects visibility998 behaves like search respects visibility999 respects visibility1000 behaves like search respects visibility1001 respects visibility1002 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01003 populate_commit_permissions_in_main_index migration has not been completed1004 behaves like search respects visibility1005 respects visibility1006 behaves like search respects visibility1007 respects visibility1008 behaves like search respects visibility1009 respects visibility1010 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01011 populate_commit_permissions_in_main_index migration has not been completed1012 behaves like search respects visibility1013 respects visibility1014 behaves like search respects visibility1015 respects visibility1016 behaves like search respects visibility1017 respects visibility1018 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01019 populate_commit_permissions_in_main_index migration has not been completed1020 behaves like search respects visibility1021 respects visibility1022 behaves like search respects visibility1023 respects visibility1024 behaves like search respects visibility1025 respects visibility1026 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11027 populate_commit_permissions_in_main_index migration has not been completed1028 behaves like search respects visibility1029 respects visibility1030 behaves like search respects visibility1031 respects visibility1032 behaves like search respects visibility1033 respects visibility1034 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01035 populate_commit_permissions_in_main_index migration has not been completed1036 behaves like search respects visibility1037 respects visibility1038 behaves like search respects visibility1039 respects visibility1040 behaves like search respects visibility1041 respects visibility1042 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11043 populate_commit_permissions_in_main_index migration has not been completed1044 behaves like search respects visibility1045 respects visibility1046 behaves like search respects visibility1047 respects visibility1048 behaves like search respects visibility1049 respects visibility1050 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01051 populate_commit_permissions_in_main_index migration has not been completed1052 behaves like search respects visibility1053 respects visibility1054 behaves like search respects visibility1055 respects visibility1056 behaves like search respects visibility1057 respects visibility1058 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01059 populate_commit_permissions_in_main_index migration has not been completed1060 behaves like search respects visibility1061 respects visibility1062 behaves like search respects visibility1063 respects visibility1064 behaves like search respects visibility1065 respects visibility1066 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01067 populate_commit_permissions_in_main_index migration has not been completed1068 behaves like search respects visibility1069 respects visibility1070 behaves like search respects visibility1071 respects visibility1072 behaves like search respects visibility1073 respects visibility1074 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01075 populate_commit_permissions_in_main_index migration has not been completed1076 behaves like search respects visibility1077 respects visibility1078 behaves like search respects visibility1079 respects visibility1080 behaves like search respects visibility1081 respects visibility1082 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01083 populate_commit_permissions_in_main_index migration has not been completed1084 behaves like search respects visibility1085 respects visibility1086 behaves like search respects visibility1087 respects visibility1088 behaves like search respects visibility1089 respects visibility1090 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01091 populate_commit_permissions_in_main_index migration has not been completed1092 behaves like search respects visibility1093 respects visibility1094 behaves like search respects visibility1095 respects visibility1096 behaves like search respects visibility1097 respects visibility1098 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01099 populate_commit_permissions_in_main_index migration has not been completed1100 behaves like search respects visibility1101 respects visibility1102 behaves like search respects visibility1103 respects visibility1104 behaves like search respects visibility1105 respects visibility1106 note1107 on issues1108 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11109 behaves like search respects visibility1110 respects visibility1111 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11112 behaves like search respects visibility1113 respects visibility1114 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11115 behaves like search respects visibility1116 respects visibility1117 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11118 behaves like search respects visibility1119 respects visibility1120 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11121 behaves like search respects visibility1122 respects visibility1123 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11124 behaves like search respects visibility1125 respects visibility1126 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11127 behaves like search respects visibility1128 respects visibility1129 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01130 behaves like search respects visibility1131 respects visibility1132 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11133 behaves like search respects visibility1134 respects visibility1135 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11136 behaves like search respects visibility1137 respects visibility1138 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01139 behaves like search respects visibility1140 respects visibility1141 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01142 behaves like search respects visibility1143 respects visibility1144 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01145 behaves like search respects visibility1146 respects visibility1147 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01148 behaves like search respects visibility1149 respects visibility1150 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01151 behaves like search respects visibility1152 respects visibility1153 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01154 behaves like search respects visibility1155 respects visibility1156 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11157 behaves like search respects visibility1158 respects visibility1159 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11160 behaves like search respects visibility1161 respects visibility1162 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11163 behaves like search respects visibility1164 respects visibility1165 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11166 behaves like search respects visibility1167 respects visibility1168 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11169 behaves like search respects visibility1170 respects visibility1171 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01172 behaves like search respects visibility1173 respects visibility1174 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11175 behaves like search respects visibility1176 respects visibility1177 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01178 behaves like search respects visibility1179 respects visibility1180 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11181 behaves like search respects visibility1182 respects visibility1183 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11184 behaves like search respects visibility1185 respects visibility1186 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01187 behaves like search respects visibility1188 respects visibility1189 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01190 behaves like search respects visibility1191 respects visibility1192 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01193 behaves like search respects visibility1194 respects visibility1195 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01196 behaves like search respects visibility1197 respects visibility1198 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01199 behaves like search respects visibility1200 respects visibility1201 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01202 behaves like search respects visibility1203 respects visibility1204 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11205 behaves like search respects visibility1206 respects visibility1207 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01208 behaves like search respects visibility1209 respects visibility1210 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11211 behaves like search respects visibility1212 respects visibility1213 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11214 behaves like search respects visibility1215 respects visibility1216 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01217 behaves like search respects visibility1218 respects visibility1219 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01220 behaves like search respects visibility1221 respects visibility1222 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01223 behaves like search respects visibility1224 respects visibility1225 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01226 behaves like search respects visibility1227 respects visibility1228 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01229 behaves like search respects visibility1230 respects visibility1231 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01232 behaves like search respects visibility1233 respects visibility1234 on merge requests1235 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11236 behaves like search respects visibility1237 respects visibility1238 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11239 behaves like search respects visibility1240 respects visibility1241 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11242 behaves like search respects visibility1243 respects visibility1244 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11245 behaves like search respects visibility1246 respects visibility1247 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11248 behaves like search respects visibility1249 respects visibility1250 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11251 behaves like search respects visibility1252 respects visibility1253 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11254 behaves like search respects visibility1255 respects visibility1256 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01257 behaves like search respects visibility1258 respects visibility1259 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11260 behaves like search respects visibility1261 respects visibility1262 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01263 behaves like search respects visibility1264 respects visibility1265 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01266 behaves like search respects visibility1267 respects visibility1268 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01269 behaves like search respects visibility1270 respects visibility1271 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01272 behaves like search respects visibility1273 respects visibility1274 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01275 behaves like search respects visibility1276 respects visibility1277 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01278 behaves like search respects visibility1279 respects visibility1280 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01281 behaves like search respects visibility1282 respects visibility1283 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11284 behaves like search respects visibility1285 respects visibility1286 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11287 behaves like search respects visibility1288 respects visibility1289 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11290 behaves like search respects visibility1291 respects visibility1292 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11293 behaves like search respects visibility1294 respects visibility1295 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11296 behaves like search respects visibility1297 respects visibility1298 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01299 behaves like search respects visibility1300 respects visibility1301 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11302 behaves like search respects visibility1303 respects visibility1304 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01305 behaves like search respects visibility1306 respects visibility1307 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11308 behaves like search respects visibility1309 respects visibility1310 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01311 behaves like search respects visibility1312 respects visibility1313 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01314 behaves like search respects visibility1315 respects visibility1316 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01317 behaves like search respects visibility1318 respects visibility1319 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01320 behaves like search respects visibility1321 respects visibility1322 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01323 behaves like search respects visibility1324 respects visibility1325 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01326 behaves like search respects visibility1327 respects visibility1328 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01329 behaves like search respects visibility1330 respects visibility1331 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11332 behaves like search respects visibility1333 respects visibility1334 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01335 behaves like search respects visibility1336 respects visibility1337 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11338 behaves like search respects visibility1339 respects visibility1340 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01341 behaves like search respects visibility1342 respects visibility1343 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01344 behaves like search respects visibility1345 respects visibility1346 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01347 behaves like search respects visibility1348 respects visibility1349 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01350 behaves like search respects visibility1351 respects visibility1352 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01353 behaves like search respects visibility1354 respects visibility1355 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01356 behaves like search respects visibility1357 respects visibility1358 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01359 behaves like search respects visibility1360 respects visibility1361 on commits1362 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11363 behaves like search respects visibility1364 respects visibility1365 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11366 behaves like search respects visibility1367 respects visibility1368 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11369 behaves like search respects visibility1370 respects visibility1371 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11372 behaves like search respects visibility1373 respects visibility1374 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11375 behaves like search respects visibility1376 respects visibility1377 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11378 behaves like search respects visibility1379 respects visibility1380 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11381 behaves like search respects visibility1382 respects visibility1383 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01384 behaves like search respects visibility1385 respects visibility1386 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11387 behaves like search respects visibility1388 respects visibility1389 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11390 behaves like search respects visibility1391 respects visibility1392 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01393 behaves like search respects visibility1394 respects visibility1395 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01396 behaves like search respects visibility1397 respects visibility1398 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01399 behaves like search respects visibility1400 respects visibility1401 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01402 behaves like search respects visibility1403 respects visibility1404 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01405 behaves like search respects visibility1406 respects visibility1407 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01408 behaves like search respects visibility1409 respects visibility1410 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11411 behaves like search respects visibility1412 respects visibility1413 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11414 behaves like search respects visibility1415 respects visibility1416 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11417 behaves like search respects visibility1418 respects visibility1419 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11420 behaves like search respects visibility1421 respects visibility1422 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11423 behaves like search respects visibility1424 respects visibility1425 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01426 behaves like search respects visibility1427 respects visibility1428 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11429 behaves like search respects visibility1430 respects visibility1431 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01432 behaves like search respects visibility1433 respects visibility1434 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11435 behaves like search respects visibility1436 respects visibility1437 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11438 behaves like search respects visibility1439 respects visibility1440 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01441 behaves like search respects visibility1442 respects visibility1443 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01444 behaves like search respects visibility1445 respects visibility1446 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01447 behaves like search respects visibility1448 respects visibility1449 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01450 behaves like search respects visibility1451 respects visibility1452 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01453 behaves like search respects visibility1454 respects visibility1455 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01456 behaves like search respects visibility1457 respects visibility1458 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11459 behaves like search respects visibility1460 respects visibility1461 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01462 behaves like search respects visibility1463 respects visibility1464 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11465 behaves like search respects visibility1466 respects visibility1467 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01468 behaves like search respects visibility1469 respects visibility1470 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01471 behaves like search respects visibility1472 respects visibility1473 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01474 behaves like search respects visibility1475 respects visibility1476 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01477 behaves like search respects visibility1478 respects visibility1479 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01480 behaves like search respects visibility1481 respects visibility1482 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01483 behaves like search respects visibility1484 respects visibility1485 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01486 behaves like search respects visibility1487 respects visibility1488 on snippets1489 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11490 behaves like search respects visibility1491 respects visibility1492 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11493 behaves like search respects visibility1494 respects visibility1495 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11496 behaves like search respects visibility1497 respects visibility1498 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11499 behaves like search respects visibility1500 respects visibility1501 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11502 behaves like search respects visibility1503 respects visibility1504 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11505 behaves like search respects visibility1506 respects visibility1507 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11508 behaves like search respects visibility1509 respects visibility1510 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01511 behaves like search respects visibility1512 respects visibility1513 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11514 behaves like search respects visibility1515 respects visibility1516 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11517 behaves like search respects visibility1518 respects visibility1519 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01520 behaves like search respects visibility1521 respects visibility1522 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01523 behaves like search respects visibility1524 respects visibility1525 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01526 behaves like search respects visibility1527 respects visibility1528 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01529 behaves like search respects visibility1530 respects visibility1531 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01532 behaves like search respects visibility1533 respects visibility1534 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01535 behaves like search respects visibility1536 respects visibility1537 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11538 behaves like search respects visibility1539 respects visibility1540 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11541 behaves like search respects visibility1542 respects visibility1543 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11544 behaves like search respects visibility1545 respects visibility1546 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11547 behaves like search respects visibility1548 respects visibility1549 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11550 behaves like search respects visibility1551 respects visibility1552 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01553 behaves like search respects visibility1554 respects visibility1555 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11556 behaves like search respects visibility1557 respects visibility1558 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01559 behaves like search respects visibility1560 respects visibility1561 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11562 behaves like search respects visibility1563 respects visibility1564 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11565 behaves like search respects visibility1566 respects visibility1567 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01568 behaves like search respects visibility1569 respects visibility1570 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01571 behaves like search respects visibility1572 respects visibility1573 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01574 behaves like search respects visibility1575 respects visibility1576 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01577 behaves like search respects visibility1578 respects visibility1579 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01580 behaves like search respects visibility1581 respects visibility1582 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01583 behaves like search respects visibility1584 respects visibility1585 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11586 behaves like search respects visibility1587 respects visibility1588 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01589 behaves like search respects visibility1590 respects visibility1591 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11592 behaves like search respects visibility1593 respects visibility1594 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11595 behaves like search respects visibility1596 respects visibility1597 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01598 behaves like search respects visibility1599 respects visibility1600 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01601 behaves like search respects visibility1602 respects visibility1603 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01604 behaves like search respects visibility1605 respects visibility1606 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01607 behaves like search respects visibility1608 respects visibility1609 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01610 behaves like search respects visibility1611 respects visibility1612 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01613 behaves like search respects visibility1614 respects visibility1615 issue1616 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11617 behaves like search respects visibility1618 respects visibility1619 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11620 behaves like search respects visibility1621 respects visibility1622 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11623 behaves like search respects visibility1624 respects visibility1625 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11626 behaves like search respects visibility1627 respects visibility1628 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11629 behaves like search respects visibility1630 respects visibility1631 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11632 behaves like search respects visibility1633 respects visibility1634 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11635 behaves like search respects visibility1636 respects visibility1637 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01638 behaves like search respects visibility1639 respects visibility1640 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11641 behaves like search respects visibility1642 respects visibility1643 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11644 behaves like search respects visibility1645 respects visibility1646 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01647 behaves like search respects visibility1648 respects visibility1649 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01650 behaves like search respects visibility1651 respects visibility1652 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01653 behaves like search respects visibility1654 respects visibility1655 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01656 behaves like search respects visibility1657 respects visibility1658 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01659 behaves like search respects visibility1660 respects visibility1661 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01662 behaves like search respects visibility1663 respects visibility1664 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11665 behaves like search respects visibility1666 respects visibility1667 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11668 behaves like search respects visibility1669 respects visibility1670 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11671 behaves like search respects visibility1672 respects visibility1673 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11674 behaves like search respects visibility1675 respects visibility1676 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11677 behaves like search respects visibility1678 respects visibility1679 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01680 behaves like search respects visibility1681 respects visibility1682 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11683 behaves like search respects visibility1684 respects visibility1685 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01686 behaves like search respects visibility1687 respects visibility1688 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11689 behaves like search respects visibility1690 respects visibility1691 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11692 behaves like search respects visibility1693 respects visibility1694 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01695 behaves like search respects visibility1696 respects visibility1697 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01698 behaves like search respects visibility1699 respects visibility1700 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01701 behaves like search respects visibility1702 respects visibility1703 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01704 behaves like search respects visibility1705 respects visibility1706 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01707 behaves like search respects visibility1708 respects visibility1709 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01710 behaves like search respects visibility1711 respects visibility1712 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11713 behaves like search respects visibility1714 respects visibility1715 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01716 behaves like search respects visibility1717 respects visibility1718 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11719 behaves like search respects visibility1720 respects visibility1721 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11722 behaves like search respects visibility1723 respects visibility1724 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01725 behaves like search respects visibility1726 respects visibility1727 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01728 behaves like search respects visibility1729 respects visibility1730 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01731 behaves like search respects visibility1732 respects visibility1733 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01734 behaves like search respects visibility1735 respects visibility1736 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01737 behaves like search respects visibility1738 respects visibility1739 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01740 behaves like search respects visibility1741 respects visibility1742 wiki1743 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11744 behaves like search respects visibility1745 respects visibility1746 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11747 behaves like search respects visibility1748 respects visibility1749 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11750 behaves like search respects visibility1751 respects visibility1752 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11753 behaves like search respects visibility1754 respects visibility1755 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11756 behaves like search respects visibility1757 respects visibility1758 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11759 behaves like search respects visibility1760 respects visibility1761 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11762 behaves like search respects visibility1763 respects visibility1764 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01765 behaves like search respects visibility1766 respects visibility1767 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11768 behaves like search respects visibility1769 respects visibility1770 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11771 behaves like search respects visibility1772 respects visibility1773 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01774 behaves like search respects visibility1775 respects visibility1776 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01777 behaves like search respects visibility1778 respects visibility1779 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01780 behaves like search respects visibility1781 respects visibility1782 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01783 behaves like search respects visibility1784 respects visibility1785 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01786 behaves like search respects visibility1787 respects visibility1788 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01789 behaves like search respects visibility1790 respects visibility1791 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11792 behaves like search respects visibility1793 respects visibility1794 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11795 behaves like search respects visibility1796 respects visibility1797 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11798 behaves like search respects visibility1799 respects visibility1800 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11801 behaves like search respects visibility1802 respects visibility1803 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11804 behaves like search respects visibility1805 respects visibility1806 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01807 behaves like search respects visibility1808 respects visibility1809 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11810 behaves like search respects visibility1811 respects visibility1812 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01813 behaves like search respects visibility1814 respects visibility1815 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11816 behaves like search respects visibility1817 respects visibility1818 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11819 behaves like search respects visibility1820 respects visibility1821 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01822 behaves like search respects visibility1823 respects visibility1824 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01825 behaves like search respects visibility1826 respects visibility1827 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01828 behaves like search respects visibility1829 respects visibility1830 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01831 behaves like search respects visibility1832 respects visibility1833 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01834 behaves like search respects visibility1835 respects visibility1836 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01837 behaves like search respects visibility1838 respects visibility1839 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11840 behaves like search respects visibility1841 respects visibility1842 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01843 behaves like search respects visibility1844 respects visibility1845 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11846 behaves like search respects visibility1847 respects visibility1848 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11849 behaves like search respects visibility1850 respects visibility1851 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01852 behaves like search respects visibility1853 respects visibility1854 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01855 behaves like search respects visibility1856 respects visibility1857 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01858 behaves like search respects visibility1859 respects visibility1860 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01861 behaves like search respects visibility1862 respects visibility1863 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01864 behaves like search respects visibility1865 respects visibility1866 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01867 behaves like search respects visibility1868 respects visibility1869 milestone1870 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11871 respects visibility1872 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11873 respects visibility1874 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11875 respects visibility1876 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11877 respects visibility1878 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11879 respects visibility1880 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11881 respects visibility1882 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11883 respects visibility1884 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 11885 respects visibility1886 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11887 respects visibility1888 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11889 respects visibility1890 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 11891 respects visibility1892 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 11893 respects visibility1894 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 11895 respects visibility1896 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 11897 respects visibility1898 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 11899 respects visibility1900 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 11901 respects visibility1902 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 11903 respects visibility1904 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 11905 respects visibility1906 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11907 respects visibility1908 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11909 respects visibility1910 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11911 respects visibility1912 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11913 respects visibility1914 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11915 respects visibility1916 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11917 respects visibility1918 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11919 respects visibility1920 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01921 respects visibility1922 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11923 respects visibility1924 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11925 respects visibility1926 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01927 respects visibility1928 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01929 respects visibility1930 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 11931 respects visibility1932 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 01933 respects visibility1934 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 11935 respects visibility1936 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 11937 respects visibility1938 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01939 respects visibility1940 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01941 respects visibility1942 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11943 respects visibility1944 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11945 respects visibility1946 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11947 respects visibility1948 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11949 respects visibility1950 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11951 respects visibility1952 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11953 respects visibility1954 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11955 respects visibility1956 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01957 respects visibility1958 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11959 respects visibility1960 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01961 respects visibility1962 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01963 respects visibility1964 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01965 respects visibility1966 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01967 respects visibility1968 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01969 respects visibility1970 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01971 respects visibility1972 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01973 respects visibility1974 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11975 respects visibility1976 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11977 respects visibility1978 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11979 respects visibility1980 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11981 respects visibility1982 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11983 respects visibility1984 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01985 respects visibility1986 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11987 respects visibility1988 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 11989 respects visibility1990 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11991 respects visibility1992 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11993 respects visibility1994 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 11995 respects visibility1996 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01997 respects visibility1998 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 11999 respects visibility2000 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 12001 respects visibility2002 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 12003 respects visibility2004 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 12005 respects visibility2006 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 12007 respects visibility2008 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02009 respects visibility2010 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12011 respects visibility2012 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12013 respects visibility2014 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12015 respects visibility2016 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12017 respects visibility2018 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12019 respects visibility2020 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 02021 respects visibility2022 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12023 respects visibility2024 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02025 respects visibility2026 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12027 respects visibility2028 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12029 respects visibility2030 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02031 respects visibility2032 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02033 respects visibility2034 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 12035 respects visibility2036 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 02037 respects visibility2038 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 12039 respects visibility2040 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 12041 respects visibility2042 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02043 respects visibility2044 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02045 respects visibility2046 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12047 respects visibility2048 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12049 respects visibility2050 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12051 respects visibility2052 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12053 respects visibility2054 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12055 respects visibility2056 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 02057 respects visibility2058 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12059 respects visibility2060 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02061 respects visibility2062 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12063 respects visibility2064 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 02065 respects visibility2066 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02067 respects visibility2068 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02069 respects visibility2070 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02071 respects visibility2072 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02073 respects visibility2074 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02075 respects visibility2076 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02077 respects visibility2078 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12079 respects visibility2080 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02081 respects visibility2082 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12083 respects visibility2084 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12085 respects visibility2086 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02087 respects visibility2088 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02089 respects visibility2090 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 12091 respects visibility2092 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 02093 respects visibility2094 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 12095 respects visibility2096 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 12097 respects visibility2098 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02099 respects visibility2100 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02101 respects visibility2102 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12103 respects visibility2104 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02105 respects visibility2106 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12107 respects visibility2108 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 02109 respects visibility2110 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02111 respects visibility2112 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02113 respects visibility2114 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02115 respects visibility2116 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02117 respects visibility2118 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02119 respects visibility2120 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02121 respects visibility2122 project2123 project_level: :public, membership: :reporter, expected_count: 12124 respects visibility2125 project_level: :public, membership: :guest, expected_count: 12126 respects visibility2127 project_level: :public, membership: :non_member, expected_count: 12128 respects visibility2129 project_level: :public, membership: :anonymous, expected_count: 12130 respects visibility2131 project_level: :internal, membership: :reporter, expected_count: 12132 respects visibility2133 project_level: :internal, membership: :guest, expected_count: 12134 respects visibility2135 project_level: :internal, membership: :non_member, expected_count: 12136 respects visibility2137 project_level: :internal, membership: :anonymous, expected_count: 02138 respects visibility2139 project_level: :private, membership: :reporter, expected_count: 12140 respects visibility2141 project_level: :private, membership: :guest, expected_count: 12142 respects visibility2143 project_level: :private, membership: :non_member, expected_count: 02144 respects visibility2145 project_level: :private, membership: :anonymous, expected_count: 02146 respects visibility2147 sorting2148 issues2149 sort: created_desc2150 sorts results by created_at2151 sort: created_asc2152 sorts results by created_at2153 sort: updated_desc2154 sorts results by updated_desc2155 sort: updated_asc2156 sorts results by updated_asc2157 merge requests2158 sort: created_desc2159 sorts results by created_at2160 sort: created_asc2161 sorts results by created_at2162 sort: updated_desc2163 sorts results by updated_desc2164 sort: updated_asc2165 sorts results by updated_asc2166 #allowed_scopes2167 epics scope2168 epics available2169 does include epics to allowed_scopes2170 epics is no available2171 does not include epics to allowed_scopes2172Geo::FileRegistryRemovalService2173 #execute2174 when upload registry record exists2175 with file on local storage2176 when file exists on disk2177 removes the file2178 removes upload registry record2179 when something went wrong removing the file2180 logs an error message2181 does not remove the upload registry record2182 when file does not exist on disk2183 does not remove the file2184 removes upload registry record2185 with file on remote storage2186 when object storage is enabled2187 when file exists on object storage2188 when Gitlab managed replication is enabled2189 removes the file2190 removes upload registry record2191 when Gitlab managed replication is disabled2192 does not remove the file2193 removes upload registry record2194 when file does not exist on object storage2195 when GitLab managed replication is enabled2196 does not remove the file2197 removes upload registry record2198 when Gitlab managed replication is disabled2199 skips file removal2200 removes upload registry record2201 when object storage is disabled2202 when Gitlab managed replication is enabled2203 does not remove the file2204 removes upload registry record2205 when Gitlab managed replication is disabled2206 does not remove the file2207 removes upload registry record2208 when upload registry record does not exist2209 with file on local storage2210 when file exists on disk2211 removes the file2212 does not remove an upload registry record2213 when something went wrong removing the file2214 logs an error message2215 does not remove an upload registry record2216 when file does not exist on disk2217 does not remove the file2218 does not remove an upload registry record2219 with file on remote storage2220 when object storage is enabled2221 when file exists on object storage2222 when GitLab managed replication is enabled2223 removes the file2224 does not remove an upload registry record2225 when Gitlab managed replication is disabled2226 skips file removal2227 does not remove an upload registry record2228 when file does not exist on object storage2229 when GitLab managed replicaiton is enabled2230 does not remove the file2231 does not remove an upload registry record2232 when Gitlab managed replication is disabled2233 skips file removal2234 does not remove an upload registry record2235 when object storage is disabled2236 when GitLab managed replication is enabled2237 does not remove the file2238 does not remove an upload registry record2239 when GitLab managed replication is disabled2240 does not remove the file2241 does not remove an upload registry record2242 when upload record does not exist2243 with file on local storage2244 when the file_path is passed2245 when file exists on disk2246 removes the file2247 removes upload registry record2248 when something went wrong removing the file2249 logs an error message2250 does not remove the upload registry record2251 when file does not exist on disk2252 does not remove the file2253 removes upload registry record2254 when the file_path is not passed2255 when file exists on disk2256 logs an error message2257 removes upload registry record2258 when file does not exist on disk2259 logs an error message2260 removes upload registry record2261 with file on remote storage2262 when the file_path is passed2263 when object storage is enabled2264 when GitLab managed replication is enabled2265 logs an error message2266 removes upload registry record2267 when Gitlab managed replication is disabled2268 logs an error message2269 removes upload registry record2270 when object storage is disabled2271 when Gitlab managed replication is enabled2272 logs an error message2273 removes upload registry record2274 when Gitlab managed replication is disabled2275 logs an error message2276 removes upload registry record2277 when the file_path is not passed2278 when object storage is enabled2279 when GitLab managed replication is enabled2280 logs an error message2281 removes upload registry record2282 when Gitlab managed replication is disabled2283 logs an error message2284 removes upload registry record2285 when object storage is disabled2286 when GitLab managed replication is enabled2287 logs an error message2288 removes upload registry record2289 when GitLab managed replication is disabled2290 logs an error message2291 removes upload registry record2292 with an unrecognized replicable type2293 with file on local storage2294 raises an error2295 with file on remote storage2296 when the file_path is passed2297 when object storage is enabled2298 when GitLab managed replication is enabled2299 raises an error2300 when GitLab managed replication is disabled2301 raises an error2302 when object storage is disabled2303 when GitLab managed replication is enabled2304 raises an error2305 when GitLab managed replication is disabled2306 raises an error2307MergeRequests::MergeService2308 #execute2309 project has exceeded size limit2310 persists the correct error message2311 when the namespace storage limit has been exceeded2312 persists the correct error message2313 when the repository size limit has been exceeded, but the namespace storage limit has not2314 does not set an error message2315 when the namespace storage limit has been exceeded and the merge request is for a subgroup project2316 persists the correct error message2317 when merge request rule exists2318 creates approved_approvers2319 with jira issue enforcement2320 prevent_merge: true, issue_specified: true, merged: true2321 sets the correct merged state and raises an error when applicable2322 prevent_merge: true, issue_specified: false, merged: false2323 sets the correct merged state and raises an error when applicable2324 prevent_merge: false, issue_specified: true, merged: true2325 sets the correct merged state and raises an error when applicable2326 prevent_merge: false, issue_specified: false, merged: true2327 sets the correct merged state and raises an error when applicable2328 behaves like merge validation hooks2329 returns true when valid2330 commit message validation for required characters2331 returns false and matches validation error2332 behaves like hook validations are skipped when push rules unlicensed2333 is expected to be truthy2334 commit message validation for forbidden characters2335 returns false and saves error when invalid2336 behaves like hook validations are skipped when push rules unlicensed2337 is expected to be truthy2338 authors email validation2339 returns false and saves error when invalid2340 validates against the commit email2341 behaves like hook validations are skipped when push rules unlicensed2342 is expected to be truthy2343 fast forward merge request2344 returns true when fast forward is enabled2345Members::ActivateService2346 .for_invite2347 creates a new instance with the correct members2348 .for_users2349 creates a new instance with the correct members2350 .for_group2351 creates a new instance with the correct members2352 #execute2353 when unauthorized2354 behaves like returns an error2355 is expected to eq "You do not have permission to approve a member"2356 when current_user is nil2357 behaves like returns an error2358 is expected to eq "You do not have permission to approve a member"2359 when skipping authorization2360 behaves like successful member activation2361 activates the member and sets updated_at2362 calls UserProjectAccessChangedService2363 logs the approval in application logs2364 audit events2365 when licensed2366 tracks an audit event2367 when unlicensed2368 does not track audit event2369 when authorized2370 when there are awaiting members2371 behaves like successful member activation2372 activates the member and sets updated_at2373 calls UserProjectAccessChangedService2374 logs the approval in application logs2375 audit events2376 when licensed2377 tracks an audit event2378 when unlicensed2379 does not track audit event2380 when there are other awaiting members2381 with .for_invite2382 activates only provided invite2383 with .for_users2384 activates only provided invite2385 with .for_group2386 activates only provided invite2387 when there are other awaiting members for invite2388 activates only provided members2389 when users are no awaiting members2390 behaves like returns an error2391 is expected to eq "No memberships found"2392 when the members are only invites2393 does not call UserProjectAccessChangedService2394 behaves like handles free user cap2395 check if free user cap has been reached2396 when group is a group with paid plan2397 behaves like successful member activation2398 activates the member and sets updated_at2399 calls UserProjectAccessChangedService2400 logs the approval in application logs2401 audit events2402 when licensed2403 tracks an audit event2404 when unlicensed2405 does not track audit event2406 when group is on a free plan2407 when free_user_cap is not enforced2408 behaves like successful member activation2409 activates the member and sets updated_at2410 calls UserProjectAccessChangedService2411 logs the approval in application logs2412 audit events2413 when licensed2414 tracks an audit event2415 when unlicensed2416 does not track audit event2417 when free_user_cap is enforced2418 when the free user cap has not been reached2419 behaves like successful member activation2420 activates the member and sets updated_at2421 calls UserProjectAccessChangedService2422 logs the approval in application logs2423 audit events2424 when licensed2425 tracks an audit event2426 when unlicensed2427 does not track audit event2428 when the free user cap has been reached2429 keeps the members awaiting2430 when there is already an active membership for the user2431 when active group membership2432 sets the members to active2433 when active project membership2434 sets the members to active2435 behaves like when a user has memberships with invalid access levels2436 activates all memberships2437AutoMerge::MergeTrainService2438 #execute2439 enables auto merge on the merge request2440 creates merge train2441 creates system note2442 returns result code2443 when failed to save the record2444 returns result code2445 when statement timeout happened on system note creation2446 returns failed status2447 rollback the transaction2448 tracks the exception2449 #process2450 calls RefreshWorker2451 when merge request is not on a merge train2452 does not call RefreshWorker2453 #cancel2454 cancels auto merge on the merge request2455 writes system note to the merge request2456 when pipeline exists2457 cancels the jobs in the pipeline2458 when train ref exists2459 deletes train ref2460 when train ref does not exist2461 does not raise an error2462 when the other merge request is following the merge request2463 processes the train by default2464 when the status is stale already2465 does not do anything2466 when statement timeout happened on system note creation2467 returns error2468 rollback the transaction2469 tracks the exception2470 #abort2471 aborts auto merge on the merge request2472 writes system note to the merge request2473 when the other merge request is following the merge request2474 processes the train2475 when process_next is false2476 does not process the next merge request on the train2477 when statement timeout happened on system note creation2478 returns error2479 rollback the transaction2480 tracks the exception2481 #available_for?2482 is expected to be truthy2483 memoizes the result2484 when merge trains flag is disabled2485 is expected to be falsy2486 when there is an open MR dependency2487 is expected to be falsy2488 when merge train ci setting is disabled2489 is expected to be falsy2490 when merge request is not mergeable2491 is expected to be falsy2492 when the user does not have permission to merge2493 is expected to be falsy2494 when the head pipeline of the merge request has not finished2495 is expected to be falsy2496Gitlab::Ci::Config::Entry::Need2497 with Bridge config2498 when upstream is specified2499 #valid?2500 is expected to be valid2501 #value2502 returns job needs configuration2503 when need is empty2504 #valid?2505 is expected not to be valid2506 #errors2507 is returns an error about an empty config2508 with CrossProjectDependency config2509 #artifacts2510 artifacts: {:artifacts=>true}, value: true, validity: true2511 #valid?2512 is expected to eq true2513 #value2514 returns job needs configuration2515 #type2516 is expected to eq :cross_dependency2517 artifacts: {:artifacts=>false}, value: false, validity: true2518 #valid?2519 is expected to eq true2520 #value2521 returns job needs configuration2522 #type2523 is expected to eq :cross_dependency2524 artifacts: {:artifacts=>nil}, value: true, validity: true2525 #valid?2526 is expected to eq true2527 #value2528 returns job needs configuration2529 #type2530 is expected to eq :cross_dependency2531 artifacts: {}, value: true, validity: true2532 #valid?2533 is expected to eq true2534 #value2535 returns job needs configuration2536 #type2537 is expected to eq :cross_dependency2538 artifacts: {:artifacts=>1}, value: 1, validity: false2539 #valid?2540 is expected to eq false2541 #value2542 returns job needs configuration2543 #type2544 is expected to eq :cross_dependency2545 artifacts: {:artifacts=>"str"}, value: "str", validity: false2546 #valid?2547 is expected to eq false2548 #value2549 returns job needs configuration2550 #type2551 is expected to eq :cross_dependency2552 behaves like required string attribute2553 #project2554 value: {}, validity: false, error: "can't be blank"2555 #valid?2556 is expected to eq false2557 #value2558 returns needs configuration2559 #type2560 is expected to eq :cross_dependency2561 #errors2562 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222563 is expected to include "cross project dependency project can't be blank"2564 value: {:project=>nil}, validity: false, error: "can't be blank"2565 #valid?2566 is expected to eq false2567 #value2568 returns needs configuration2569 #type2570 is expected to eq :cross_dependency2571 #errors2572 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222573 is expected to include "cross project dependency project can't be blank"2574 value: {:project=>"something"}, validity: true, error: ""2575 #valid?2576 is expected to eq true2577 #value2578 returns needs configuration2579 #type2580 is expected to eq :cross_dependency2581 #errors2582 is expected to be empty2583 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1232584 value: {:project=>:symbol}, validity: false, error: "should be a string"2585 #valid?2586 is expected to eq false2587 #value2588 returns needs configuration2589 #type2590 is expected to eq :cross_dependency2591 #errors2592 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222593 is expected to include "cross project dependency project should be a string"2594 value: {:project=>1}, validity: false, error: "should be a string"2595 #valid?2596 is expected to eq false2597 #value2598 returns needs configuration2599 #type2600 is expected to eq :cross_dependency2601 #errors2602 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222603 is expected to include "cross project dependency project should be a string"2604 behaves like required string attribute2605 #job2606 value: {}, validity: false, error: "can't be blank"2607 #valid?2608 is expected to eq false2609 #value2610 returns needs configuration2611 #type2612 is expected to eq :cross_dependency2613 #errors2614 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222615 is expected to include "cross project dependency job can't be blank"2616 value: {:job=>nil}, validity: false, error: "can't be blank"2617 #valid?2618 is expected to eq false2619 #value2620 returns needs configuration2621 #type2622 is expected to eq :cross_dependency2623 #errors2624 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222625 is expected to include "cross project dependency job can't be blank"2626 value: {:job=>"something"}, validity: true, error: ""2627 #valid?2628 is expected to eq true2629 #value2630 returns needs configuration2631 #type2632 is expected to eq :cross_dependency2633 #errors2634 is expected to be empty2635 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1232636 value: {:job=>:symbol}, validity: false, error: "should be a string"2637 #valid?2638 is expected to eq false2639 #value2640 returns needs configuration2641 #type2642 is expected to eq :cross_dependency2643 #errors2644 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222645 is expected to include "cross project dependency job should be a string"2646 value: {:job=>1}, validity: false, error: "should be a string"2647 #valid?2648 is expected to eq false2649 #value2650 returns needs configuration2651 #type2652 is expected to eq :cross_dependency2653 #errors2654 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222655 is expected to include "cross project dependency job should be a string"2656 behaves like required string attribute2657 #ref2658 value: {}, validity: false, error: "can't be blank"2659 #valid?2660 is expected to eq false2661 #value2662 returns needs configuration2663 #type2664 is expected to eq :cross_dependency2665 #errors2666 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222667 is expected to include "cross project dependency ref can't be blank"2668 value: {:ref=>nil}, validity: false, error: "can't be blank"2669 #valid?2670 is expected to eq false2671 #value2672 returns needs configuration2673 #type2674 is expected to eq :cross_dependency2675 #errors2676 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222677 is expected to include "cross project dependency ref can't be blank"2678 value: {:ref=>"something"}, validity: true, error: ""2679 #valid?2680 is expected to eq true2681 #value2682 returns needs configuration2683 #type2684 is expected to eq :cross_dependency2685 #errors2686 is expected to be empty2687 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1232688 value: {:ref=>:symbol}, validity: false, error: "should be a string"2689 #valid?2690 is expected to eq false2691 #value2692 returns needs configuration2693 #type2694 is expected to eq :cross_dependency2695 #errors2696 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222697 is expected to include "cross project dependency ref should be a string"2698 value: {:ref=>1}, validity: false, error: "should be a string"2699 #valid?2700 is expected to eq false2701 #value2702 returns needs configuration2703 #type2704 is expected to eq :cross_dependency2705 #errors2706 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222707 is expected to include "cross project dependency ref should be a string"2708ResourceAccessTokens::CreateService2709 #execute2710 with enforced group managed account enabled2711 behaves like token creation succeeds2712 does not cause an error2713 adds the project bot as a member2714 creates a project bot user2715 for SAML enabled groups2716 behaves like token creation succeeds2717 does not cause an error2718 adds the project bot as a member2719 creates a project bot user2720 project access token audit events2721 when project access token is successfully created2722 logs project access token details2723 behaves like audit event details2724 creates an audit event2725 logs author and resource info2726 behaves like sends correct event type in audit event stream2727 sends correct event type in audit event stream2728 when project access token is unsuccessfully created2729 with inadequate permissions2730 logs the permission error message2731 behaves like audit event details2732 creates an audit event2733 logs author and resource info2734 behaves like sends correct event type in audit event stream2735 sends correct event type in audit event stream2736 when access provisioning fails2737 logs the provisioning error message2738 behaves like audit event details2739 creates an audit event2740 logs author and resource info2741 behaves like sends correct event type in audit event stream2742 sends correct event type in audit event stream2743Security::SecurityOrchestrationPolicies::ProcessScanResultPolicyService2744 #execute2745 sets project approval rules names based on policy name2746 without any require_approval action2747 does not create approval project rules2748 without any rule of the scan_finding type2749 does not create approval project rules2750 with only user id2751 behaves like create approval rule with specific approver2752 succeeds creating approval rules with specific approver2753 with only username2754 behaves like create approval rule with specific approver2755 succeeds creating approval rules with specific approver2756 with only group id2757 behaves like create approval rule with specific approver2758 succeeds creating approval rules with specific approver2759 with public group outside of the scope2760 does not include any approvers2761 with private group outside of the scope2762 does not include any approvers2763 with an invited group2764 includes group related approvers2765 with only group path2766 behaves like create approval rule with specific approver2767 succeeds creating approval rules with specific approver2768 with a specific number of rules2769 rules_count: 4, expected_rules_count: 42770 creates approval rules up to limit2771 rules_count: 5, expected_rules_count: 52772 creates approval rules up to limit2773 rules_count: 6, expected_rules_count: 52774 creates approval rules up to limit2775ProductivityAnalytics2776 metrics data2777 #histogram_data2778 metric: "days_to_merge", expected_result: {3=>2, 14=>1, 30=>1}2779 calculates correctly2780 metric: "time_to_first_comment", expected_result: {0=>3, 24=>1}2781 calculates correctly2782 metric: "time_to_last_commit", expected_result: {312=>1, 696=>1, 48=>2}2783 calculates correctly2784 metric: "time_to_merge", expected_result: {24=>3, 0=>1}2785 calculates correctly2786 metric: "commits_count", expected_result: {1=>2, 5=>1, 20=>1}2787 calculates correctly2788 metric: "loc_per_commit", expected_result: {15=>1, 16=>1, 14=>1, 5=>1}2789 calculates correctly2790 metric: "files_touched", expected_result: {15=>1, 3=>2, 1=>1}2791 calculates correctly2792 metric: "something_invalid", expected_result: nil2793 calculates correctly2794 for multiple labeled mrs2795 returns aggregated data2796 #scatterplot_data2797 returns metric values for each MR2798 for multiple labeled mrs2799 properly returns MRs with metrics calculated2800 #merge_requests_extended2801 returns MRs data with all the metrics calculated2802 with custom sorting2803 reorders MRs according to custom sorting2804 with unknown sorting2805 sorts by id desc2806 for multiple labeled mrs2807 properly returns MRs with metrics calculated2808 .start_date2809 delegates to ApplicationSetting2810SubscriptionsHelper2811 #subscription_data2812 is expected to include {:setup_for_company => ""}2813 is expected to include {:full_name => "First Last"}2814 is expected to include {:available_plans => "[{\"id\":\"bronze_id\",\"code\":\"bronze\",\"price_per_year\":48.0,\"name\":\"Bronze Plan\"}]"}2815 is expected to include {:plan_id => "bronze_id"}2816 is expected to include {:namespace_id => "967"}2817 is expected to include {:source => "some_source"}2818 is expected to include {:group_data => "[{\"id\":967,\"account_id\":null,\"name\":\"My Namespace\",\"full_path\":\"my_namespace\"}]"}2819 is expected to include {:trial => "false"}2820 is expected to include {:new_trial_registration_path => "/-/trial_registrations/new"}2821 when user is on trial2822 is expected to include {:trial => "true"}2823 new_user2824 referer: "http://example.com/users/sign_up/welcome?foo=bar", expected_result: "true"2825 is expected to include {:new_user => "true"}2826 referer: "http://example.com", expected_result: "false"2827 is expected to include {:new_user => "false"}2828 referer: nil, expected_result: "false"2829 is expected to include {:new_user => "false"}2830 when bronze_plan is deprecated2831 is expected to include {:available_plans => "[{\"id\":\"bronze_id\",\"code\":\"bronze\",\"price_per_year\":48.0,\"deprecated\":true,\"name\":\"Bronze Plan\"}]"}2832 when bronze_plan has hide_card attribute set to true2833 and is set to hide_deprecated_billing_plans true2834 is expected not to include {:available_plans => "[{\"id\":\"bronze_id\",\"code\":\"bronze\",\"price_per_year\":48.0,\"deprecated\":false,\"name\":\"Bronze Plan\",\"hide_card\":true}]"}2835 and is set to false2836 is expected to include {:available_plans => "[{\"id\":\"bronze_id\",\"code\":\"bronze\",\"price_per_year\":48.0,\"deprecated\":false,\"name\":\"Bronze Plan\",\"hide_card\":true}]"}2837 #plan_title2838 is expected to eq "Bronze"2839 no plan_id URL parameter present2840 is expected to eq nil2841 a non-existing plan_id URL parameter present2842 is expected to eq nil2843 #buy_addon_data2844 is expected to include {:namespace_id => "968"}2845 is expected to include {:active_subscription => {:name => "S-000000000"}}2846 is expected to include {:source => "some_source"}2847 is expected to include {:group_data => "[{\"id\":968,\"account_id\":\"111111111111\",\"name\":\"My Namespace\",\"full_path\":\"my_namespace\"}]"}2848 is expected to include {:redirect_after_success => "/groups/my_namespace/-/usage_quotas?purchased_product=CI+Minutes#pipelines-quota-tab"}2849Issuable::BulkUpdateService2850 with issues2851 updating health status and epic2852 when features are enabled2853 succeeds and returns the correct number of issuables updated2854 when params value is '0'2855 succeeds and remove values2856 when epic param is incorrect2857 returns error2858 when feature issuable_health_status is disabled2859 behaves like does not update issuables attribute2860 does not update attribute2861 when user can not update issues2862 behaves like does not update issuables attribute2863 does not update attribute2864 behaves like does not update issuables attribute2865 does not update attribute2866 when user can not admin epic2867 behaves like does not update issuables attribute2868 does not update attribute2869 updating iterations2870 at group level2871 when issues2872 behaves like updates iterations2873 succeeds2874 updates the issuables iteration2875 at project level2876 behaves like updates iterations2877 succeeds2878 updates the issuables iteration2879 with epics2880 updating labels2881 when epics are enabled2882 behaves like updates issuables attribute2883 succeeds and returns the correct number of issuables updated2884 when epics have different labels2885 keeps existing labels2886 when epics are disabled2887 behaves like does not update issuables attribute2888 does not update attribute2889 when issuable_ids contain external epics2890 updates epics that belong to the parent group or descendants2891AppSec::Dast::ScannerProfiles::CreateService2892 #execute2893 when a user does not have access to a project2894 returns an error status2895 populates message2896 when the user does not have permission to run a dast scan2897 returns an error status2898 populates message2899 when the user can run a dast scan2900 returns a success status2901 creates a dast_scanner_profile2902 creates a dast_scanner_profile with the given params2903 returns a dast_scanner_profile payload2904 audits the creation2905 when the dast_scanner_profile name exists2906 does not create a new dast_scanner_profile2907 returns an error status2908 populates message2909 when on demand scan licensed feature is not available2910 returns an error status2911 populates message2912EE::Issuable2913 Validation2914 general validations2915 is expected to validate that :author cannot be empty/falsy2916 is expected to validate that :title cannot be empty/falsy2917 is expected to validate that the length of :title is at most 2552918 is expected to validate that the length of :description is at most 10485762919 behaves like validates description length with custom validation2920 when Issuable is a new record2921 validates the maximum description length2922 on create2923 does not validate the maximum description length2924 when Issuable is an existing record2925 does not validate the maximum description length2926 behaves like truncates the description to its allowed maximum length on import2927 truncates the description to its allowed maximum length2928 #matches_cross_reference_regex?2929 epic description with long path string2930 behaves like matches_cross_reference_regex? fails fast2931 fails fast for long strings2932 #supports_epic?2933 issuable_type: :issue, project: :project_with_group, supports_epic: true2934 is expected to eq true2935 issuable_type: :issue, project: :project_without_group, supports_epic: false2936 is expected to eq false2937 issuable_type: :incident, project: :project_with_group, supports_epic: false2938 is expected to eq false2939 issuable_type: :incident, project: :project_without_group, supports_epic: false2940 is expected to eq false2941 issuable_type: :merge_request, project: :project_with_group, supports_epic: false2942 is expected to eq false2943 issuable_type: :merge_request, project: :project_without_group, supports_epic: false2944 is expected to eq false2945 #weight_available?2946 issuable_type: :issue, project: :project_with_group, weight_available: true2947 is expected to eq true2948 issuable_type: :issue, project: :project_without_group, weight_available: true2949 is expected to eq true2950 issuable_type: :incident, project: :project_with_group, weight_available: false2951 is expected to eq false2952 issuable_type: :incident, project: :project_without_group, weight_available: false2953 is expected to eq false2954 issuable_type: :merge_request, project: :project_with_group, weight_available: false2955 is expected to eq false2956 issuable_type: :merge_request, project: :project_without_group, weight_available: false2957 is expected to eq false2958 #supports_iterations?2959 issuable_type: :issue, project: :project_with_group, supports_iterations: true2960 is expected to eq true2961 issuable_type: :issue, project: :project_without_group, supports_iterations: true2962 is expected to eq true2963 issuable_type: :incident, project: :project_with_group, supports_iterations: false2964 is expected to eq false2965 issuable_type: :incident, project: :project_without_group, supports_iterations: false2966 is expected to eq false2967 issuable_type: :merge_request, project: :project_with_group, supports_iterations: false2968 is expected to eq false2969 issuable_type: :merge_request, project: :project_without_group, supports_iterations: false2970 is expected to eq false2971 #escalation_policies_available?2972 issuable_type: :issue, oncall_schedules_enabled: true, escalation_policies_enabled: true, available: false2973 is expected to eq false2974 issuable_type: :incident, oncall_schedules_enabled: false, escalation_policies_enabled: false, available: false2975 is expected to eq false2976 issuable_type: :incident, oncall_schedules_enabled: true, escalation_policies_enabled: false, available: false2977 is expected to eq false2978 issuable_type: :incident, oncall_schedules_enabled: false, escalation_policies_enabled: true, available: false2979 is expected to eq false2980 issuable_type: :incident, oncall_schedules_enabled: true, escalation_policies_enabled: true, available: true2981 is expected to eq true2982 #to_hook_data2983 escalation status is updated2984 delegates to Gitlab::DataBuilder::Issuable#build2985 with policy and status changes2986 includes both status and policy fields simultaneously2987 #allows_scoped_labels?2988 allows scoped labels with licensed project2989 allows scoped labels with licensed group2990 does not allow scoped labels without license2991Namespaces::Storage::EmailNotificationService2992 execute2993 in a saas environment2994 sends an email to all group owners2995 does not send an out of storage notification twice2996 does nothing if there is no root_storage_statistics2997 limit: 100, used: 100, last_notification_level: :storage_remaining, expected_level: :exceeded2998 sends an out of storage notification when the namespace runs out of storage2999 limit: 100, used: 200, last_notification_level: :storage_remaining, expected_level: :exceeded3000 sends an out of storage notification when the namespace runs out of storage3001 limit: 100, used: 100, last_notification_level: :caution, expected_level: :exceeded3002 sends an out of storage notification when the namespace runs out of storage3003 limit: 100, used: 100, last_notification_level: :warning, expected_level: :exceeded3004 sends an out of storage notification when the namespace runs out of storage3005 limit: 100, used: 100, last_notification_level: :danger, expected_level: :exceeded3006 sends an out of storage notification when the namespace runs out of storage3007 limit: 100, used: 70, last_notification_level: :storage_remaining, expected_percent: 30, expected_size: 31457280, expected_level: :caution3008 sends a storage limit notification when storage is running low3009 limit: 100, used: 85, last_notification_level: :storage_remaining, expected_percent: 15, expected_size: 15728640, expected_level: :warning3010 sends a storage limit notification when storage is running low3011 limit: 100, used: 95, last_notification_level: :storage_remaining, expected_percent: 5, expected_size: 5242880, expected_level: :danger3012 sends a storage limit notification when storage is running low3013 limit: 100, used: 77, last_notification_level: :storage_remaining, expected_percent: 23, expected_size: 24117248, expected_level: :caution3014 sends a storage limit notification when storage is running low3015 limit: 1000, used: 971, last_notification_level: :storage_remaining, expected_percent: 2, expected_size: 30408704, expected_level: :danger3016 sends a storage limit notification when storage is running low3017 limit: 100, used: 85, last_notification_level: :caution, expected_percent: 15, expected_size: 15728640, expected_level: :warning3018 sends a storage limit notification when storage is running low3019 limit: 100, used: 95, last_notification_level: :warning, expected_percent: 5, expected_size: 5242880, expected_level: :danger3020 sends a storage limit notification when storage is running low3021 limit: 100, used: 99, last_notification_level: :exceeded, expected_percent: 1, expected_size: 1048576, expected_level: :danger3022 sends a storage limit notification when storage is running low3023 limit: 100, used: 94, last_notification_level: :danger, expected_percent: 6, expected_size: 6291456, expected_level: :warning3024 sends a storage limit notification when storage is running low3025 limit: 100, used: 84, last_notification_level: :warning, expected_percent: 16, expected_size: 16777216, expected_level: :caution3026 sends a storage limit notification when storage is running low3027 limit: 8192, used: 6144, last_notification_level: :storage_remaining, expected_percent: 25, expected_size: 2147483648, expected_level: :caution3028 sends a storage limit notification when storage is running low3029 limit: 5120, used: 3840, last_notification_level: :storage_remaining, expected_percent: 25, expected_size: 1342177280.0, expected_level: :caution3030 sends a storage limit notification when storage is running low3031 limit: 5120, used: 5118, last_notification_level: :warning, expected_percent: 0, expected_size: 2097152, expected_level: :danger3032 sends a storage limit notification when storage is running low3033 limit: 100, used: 5, last_notification_level: :storage_remaining3034 does not send an email when there is sufficient storage remaining3035 limit: 100, used: 69, last_notification_level: :storage_remaining3036 does not send an email when there is sufficient storage remaining3037 limit: 100, used: 69, last_notification_level: :caution3038 does not send an email when there is sufficient storage remaining3039 limit: 100, used: 69, last_notification_level: :warning3040 does not send an email when there is sufficient storage remaining3041 limit: 100, used: 69, last_notification_level: :danger3042 does not send an email when there is sufficient storage remaining3043 limit: 100, used: 69, last_notification_level: :exceeded3044 does not send an email when there is sufficient storage remaining3045 limit: 1000, used: 699, last_notification_level: :exceeded3046 does not send an email when there is sufficient storage remaining3047 limit: 0, used: 0, last_notification_level: :storage_remaining3048 does not send an email when there is no storage limit3049 limit: 0, used: 150, last_notification_level: :storage_remaining3050 does not send an email when there is no storage limit3051 limit: 0, used: 0, last_notification_level: :caution3052 does not send an email when there is no storage limit3053 limit: 0, used: 100, last_notification_level: :caution3054 does not send an email when there is no storage limit3055 limit: 0, used: 0, last_notification_level: :warning3056 does not send an email when there is no storage limit3057 limit: 0, used: 50, last_notification_level: :warning3058 does not send an email when there is no storage limit3059 limit: 0, used: 0, last_notification_level: :danger3060 does not send an email when there is no storage limit3061 limit: 0, used: 50, last_notification_level: :danger3062 does not send an email when there is no storage limit3063 limit: 0, used: 0, last_notification_level: :exceeded3064 does not send an email when there is no storage limit3065 limit: 0, used: 1, last_notification_level: :exceeded3066 does not send an email when there is no storage limit3067 limit: 100, used: 70, last_notification_level: :caution3068 does not send a storage limit notification for the same threshold twice3069 limit: 100, used: 85, last_notification_level: :warning3070 does not send a storage limit notification for the same threshold twice3071 limit: 100, used: 95, last_notification_level: :danger3072 does not send a storage limit notification for the same threshold twice3073 with a personal namespace3074 sends a limit notification3075 sends an out of storage notification3076 in a self-managed environment3077 does nothing3078Elastic::ProjectTransferWorker3079 is labeled as idempotent3080 performs multiple times sequentially without raising an exception3081 #perform3082 when elasticsearch_limit_indexing is on3083 when transferring from a non-indexed namespace to an indexed namespace3084 invalidates the cache and indexes the project and all associated data3085 when transferring between an indexed namespace to a non-indexed namespace3086 invalidates the cache and removes the project from the index3087 when both namespaces are indexed3088 does not invalidate the cache and indexes the project and associated data3089 when elasticsearch_limit_indexing is off3090 does not invalidate the cache and indexes the project and all associated data3091Boards::Epics::ListService3092 #execute3093 returns epics sorted by position on the board3094 calls the from_id scope3095 returns opened items when using board param only3096 behaves like items list service3097 avoids N+13098 returns opened items when list_id and list are missing3099 returns opened items when listing items from Backlog3100 returns opened items that have label list applied when listing items from a label list3101 returns closed items when listing items from Closed sorted by closed_at in descending order3102 raises an error if the list does not belong to the board3103 raises an error if list and list id are invalid or missing3104 returns items from all lists if :all_list is used3105 returns opened items that have label list applied when using list param3106 #metadata3107 with all fields included in the required_fields3108 contains correct data including weight3109 with total_weight not included in the required_fields3110 contains correct data without weight3111 with epics_count not included in the required_fields3112 contains correct data without weight3113 with required_fields set to nil3114 does not contain any data3115Gitlab::Auth::GroupSaml::GmaMembershipEnforcer3116 allows adding a project bot to project3117 when user is group-managed3118 allows adding user to project3119 when user is not group-managed3120 does not allow adding user to project3121 when the project is forked3122 when user is group-managed3123 allows adding user to project3124 when user is not group-managed3125 does not allow adding user to project3126 from deleted project3127 when user is group-managed3128 allows adding user to project3129 when user is not group-managed3130 does not allow adding user to project3131 when project is forked from namespace to group3132 when user is group-managed3133 allows adding user to project3134 when user is not group-managed3135 does not allow adding user to project3136Mutations::DastOnDemandScans::Create3137 is expected to require graphql authorizations :create_on_demand_dast_scan3138 #resolve3139 when on demand scan feature is enabled3140 when the project does not exist3141 raises an exception3142 when the user can run a dast scan3143 returns a pipeline_url containing the correct path3144 when the dast_site_profile does not exist3145 raises an exception3146 when dast_scanner_profile_id is provided3147 has no errors3148 passes additional arguments to the underlying service object3149 when scan_type=active3150 when target is not validated3151 communicates failure3152 when target is validated3153 has no errors3154Types::DastSiteProfileType3155 is expected to eq "DastSiteProfile"3156 is expected to require graphql authorizations :read_on_demand_dast_scan3157 is expected to expose permissions using Types::PermissionTypes::DastSiteProfile3158 is expected to have graphql fields :id, :profileName, :targetUrl, :targetType, :editPath, :excludedUrls, :requestHeaders, :validationStatus, :userPermissions, :normalizedTargetUrl, :auth, :referencedInSecurityPolicies, and :scanMethod3159 is expected to have graphql field :referenced_in_security_policies and {:calls_gitaly?=>true}3160 id field3161 is the global id3162 profileName field3163 is the name3164 targetUrl field3165 is the url of the associated dast_site3166 targetType field3167 is the target type3168 editPath field3169 is the relative path to edit the dast_site_profile3170 auth field3171 is the dast_site_profile3172 excludedUrls field3173 is the excluded urls3174 requestHeaders field3175 when there is no associated secret variable3176 is nil3177 when there an associated secret variable3178 is redacted3179 validation_status field3180 is the validation status3181 normalizedTargetUrl field3182 is the normalized url of the associated dast_site3183 referencedInSecurityPolicies field3184 is the lazy aggregate that is resolved to policies3185 scan_method field3186 when the feature flag is disabled3187 resolves nil3188 when the feature flag is enabled3189 is the scan method3190 dast_site_profiles3191 when security policies are enabled3192 only calls Gitaly twice when multiple profiles are present3193WikiPages::UpdateService3194 #execute3195DEPRECATION WARNING: `.reorder(nil)` with `.first` / `.first!` no longer takes non-deterministic result in Rails 7.0. To continue taking non-deterministic result, use `.take` / `.take!` instead. (called from wiki_event at /builds/gitlab-org/gitlab/app/services/event_create_service.rb:151)3196 calls Geo::RepositoryUpdatedService when running on a Geo primary node3197DEPRECATION WARNING: `.reorder(nil)` with `.first` / `.first!` no longer takes non-deterministic result in Rails 7.0. To continue taking non-deterministic result, use `.take` / `.take!` instead. (called from wiki_event at /builds/gitlab-org/gitlab/app/services/event_create_service.rb:151)3198 does not call Geo::RepositoryUpdatedService when not running on a Geo primary node3199 behaves like WikiPages::UpdateService#execute3200 updates the wiki page3201 executes webhooks3202 counts edit events3203 does not call Geo::RepositoryUpdatedService when container is group3204 the page is at the top level3205 adds a new wiki page activity event (PENDING: group wiki support)3206 the page is in a subsection3207 adds a new wiki page activity event (PENDING: group wiki support)3208 when the options are bad3209 does not count an edit event3210 does not record the activity3211 reports the error3212MergeTrains::RefreshService3213 #execute3214 when merge request 1 is passed3215 executes RefreshMergeRequestService to all the following merge requests3216 when refresh service 1 returns error status3217 specifies require_recreate to refresh service 23218 when refresh service 1 returns success status and did not create a pipeline3219 does not specify require_recreate to refresh service 23220 when refresh service 1 returns success status and created a pipeline3221 specifies require_recreate to refresh service 23222 when merge request 1 is not on a merge train3223 does not refresh3224 when merge request 1 was on a merge train3225 does not refresh3226 when the other thread has already been processing the merge train3227 does not refresh3228 enqueues the merge request id to BatchPopQueueing3229 when merge request 2 is passed3230 executes RefreshMergeRequestService to all the merge requests from beginning3231projects/issues/show3232 when issue is created by a GitLab team member3233 renders an employee badge next to their name3234 for applicable incidents3235 renders a timeline toggle3236Boards::Epics::MoveService3237 #execute3238 when user does not have permissions to move an epic3239 does not close the epic3240 when user has permissions to move an epic3241 when moving an epic between lists3242 when moving the epic from backlog3243 to a labeled list3244 keeps the epic opened and adds the labels3245 to the closed list3246 closes the epic3247 to the closed list in another board3248 does not close the epic3249 when moving the epic from a labeled list3250 to another labeled list3251 changes the labels3252 to the closed list3253 closes the epic3254 removes the board labels from the epic3255 when repositioning an epic3256 with invalid params3257 with board from another group3258 raises an error3259 in current list3260 when all epics have respective position records3261 behaves like correct positioning3262 when both move_before_id and move_after_id are present3263 moves the epic3264 when only move_before_id is present3265 moves the epic3266 when only move_after_id is present3267 moves the epic3268 when epics do not have respective position records3269 behaves like correct positioning3270 when both move_before_id and move_after_id are present3271 moves the epic3272 when only move_before_id is present3273 moves the epic3274 when only move_after_id is present3275 moves the epic3276 during a movement to another list3277 when all epics have respective position records3278 behaves like correct positioning3279 when both move_before_id and move_after_id are present3280 moves the epic3281 when only move_before_id is present3282 moves the epic3283 when only move_after_id is present3284 moves the epic3285 when epics do not have respective position records3286 behaves like correct positioning3287 when both move_before_id and move_after_id are present3288 moves the epic3289 when only move_before_id is present3290 moves the epic3291 when only move_after_id is present3292 moves the epic3293EE::Audit::ProjectSettingChangesAuditor3294 #execute3295 when project setting is updated3296 when squash option is changed3297 does not create audit event3298 when squash option is changed3299 creates an audit event3300 streams correct audit event stream3301 when squash option is changed3302 creates an audit event3303 streams correct audit event stream3304 when squash option is changed3305 creates an audit event3306 streams correct audit event stream3307 when squash option is changed3308 creates an audit event3309 streams correct audit event stream3310 when squash option is changed3311 does not create audit event3312 when squash option is changed3313 creates an audit event3314 streams correct audit event stream3315 when squash option is changed3316 creates an audit event3317 streams correct audit event stream3318 when squash option is changed3319 creates an audit event3320 streams correct audit event stream3321 when squash option is changed3322 creates an audit event3323 streams correct audit event stream3324 when squash option is changed3325 does not create audit event3326 when squash option is changed3327 creates an audit event3328 streams correct audit event stream3329 when squash option is changed3330 creates an audit event3331 streams correct audit event stream3332 when squash option is changed3333 creates an audit event3334 streams correct audit event stream3335 when squash option is changed3336 creates an audit event3337 streams correct audit event stream3338 when squash option is changed3339 does not create audit event3340 when allow_merge_on_skipped_pipeline is changed3341 prev_value: true, new_value: false3342 creates an audit event3343 streams correct audit event stream3344 prev_value: false, new_value: true3345 creates an audit event3346 streams correct audit event stream3347 when squash_commit_template is changed3348 creates an audit event3349 streams correct audit event stream3350AdminEmailsWorker3351 recipients3352 sending emails to members of a group only3353 sends email to subscribed users3354 sending emails to members of a project only3355 sends email to subscribed users3356 sending emails to users directly3357 sends email to subscribed users3358Ci::DailyBuildGroupReportResult3359 scopes3360 .latest3361 returns the most recent records by date and projects3362 .summaries_per_project3363 when projects with coverages3364 returns the code coverage summary by project3365 executes only 1 SQL query3366 when coverage has more than 3 decimals3367 returns average_coverage with 2 decimals3368 when project does not have coverage3369 returns an empty hash3370 executes only 1 SQL query3371 .activity_per_group3372 when group has project with several coverage3373 returns coverage activity for the group3374 when group has projects with several coverage3375 returns coverage activity for the group3376 when coverage has more than 3 decimals3377 returns average_coverage with 2 decimals3378 when group has projects without coverage3379 returns an empty collection3380Dora::DailyMetrics3381 associations3382 is expected to belong to environment required: false3383 .in_range_of3384 when between 2 days ago and 1 day ago3385 returns the correct metrics3386 when between 3 days ago and 2 days ago3387 returns the correct metrics3388 .for_environments3389 when targeting environment A only3390 returns the entry of environment A3391 when targeting environment B only3392 returns the entry of environment B3393 .refresh!3394 refreshes with whatever metrics return3395 when there is an existing metric already overwrites data3396 .aggregate_for!3397 when metric is deployment frequency3398 when interval is all3399 aggregates the rows3400 when interval is monthly3401 aggregates the rows3402 when interval is daily3403 aggregates the rows3404 when interval is unknown3405 is expected to raise ArgumentError with "Unknown interval"3406 when metric is change_failure_rate3407 when interval is all3408 aggregates the rows3409 when interval is monthly3410 aggregates the rows3411 when interval is daily3412 aggregates the rows3413 when interval is unknown3414 is expected to raise ArgumentError with "Unknown interval"3415 when metric is lead time for changes3416 when interval is all3417 calculates the median3418 when interval is monthly3419 calculates the median3420 when interval is daily3421 calculates the median3422 when interval is unknown3423 is expected to raise ArgumentError with "Unknown interval"3424 when metric is time_to_restore_service3425 when interval is all3426 calculates the median3427 when interval is monthly3428 calculates the median3429 when interval is daily3430 calculates the median3431 when interval is unknown3432 is expected to raise ArgumentError with "Unknown interval"3433 when metric is unknown3434 is expected to raise ArgumentError with "Unknown metric"3435Geo::ProjectHousekeepingService3436 #execute3437 executes housekeeping when conditions are fulfilled3438 does not execute housekeeping when conditions are not fulfilled3439 resets counter when syncs_since_gc > gc_period3440 task type3441 goes through all three housekeeping tasks, executing only the highest task when there is overlap3442 new repository3443 runs gc for a new repository3444 non-new repository3445 does not run gc for a non-new repository3446 do_housekeeping3447 enqueues a sidekiq job3448 does not create object pool3449 when no lease can be obtained3450 does not enqueue a job3451 does not reset syncs_since_gc3452 #needed?3453 when the count is low enough3454 when the count is high enough3455 when its a new repository3456 #increment!3457 increments the syncs_since_gc counter3458 #registry3459 returns a Geo::ProjectRegistry linked to current project3460 #create_object_pool_on_secondary3461 creates the object pool when source project repository exists3462 doesn't create the object pool when the object pool exists3463 doesn't create the object pool when the source project repository doesn't exist3464SoftwareLicensePolicies::CreateService3465 #execute3466 with license management unavailable3467 does not creates a software license policy3468 with a user who is allowed to admin3469 when valid parameters are specified3470 creates one software license policy correctly3471 when an argument error is raised3472 is expected to equal :error3473 is expected to be present3474 is expected to equal 4003475 when invalid input is provided3476 is expected to equal :error3477 is expected to be present3478 is expected to equal 4003479 with a user not allowed to admin3480 does not create a software license policy3481PagesDeployment3482 #save_verification_details3483 when model_record is part of available_verifiables scope3484 creates verification details3485 .replicables_for_current_secondary3486 selective_sync_enabled: true, object_storage_sync_enabled: true, pages_object_storage_enabled: true, synced_pages: 53487 returns the proper number of pages deployments3488 selective_sync_enabled: true, object_storage_sync_enabled: true, pages_object_storage_enabled: false, synced_pages: 53489 returns the proper number of pages deployments3490 selective_sync_enabled: true, object_storage_sync_enabled: false, pages_object_storage_enabled: true, synced_pages: 03491 returns the proper number of pages deployments3492 selective_sync_enabled: true, object_storage_sync_enabled: false, pages_object_storage_enabled: false, synced_pages: 53493 returns the proper number of pages deployments3494 selective_sync_enabled: false, object_storage_sync_enabled: true, pages_object_storage_enabled: true, synced_pages: 103495 returns the proper number of pages deployments3496 selective_sync_enabled: false, object_storage_sync_enabled: true, pages_object_storage_enabled: false, synced_pages: 103497 returns the proper number of pages deployments3498 selective_sync_enabled: false, object_storage_sync_enabled: false, pages_object_storage_enabled: true, synced_pages: 03499 returns the proper number of pages deployments3500 selective_sync_enabled: false, object_storage_sync_enabled: false, pages_object_storage_enabled: false, synced_pages: 103501 returns the proper number of pages deployments3502MergeRequests::ApprovalService3503 #execute3504 with invalid approval3505 does not reset approvals cache3506 with valid approval3507 resets the cache for approvals3508 when project requires force auth for approval3509 when password not specified3510 does not update the approvals3511 when incorrect password is specified3512 does not update the approvals3513 when correct password is specified3514 approves the merge request3515EE::GitlabRoutingHelper3516 #geo_primary_web_url3517 public / default URL3518 generates a path to the project3519 generates a path to the wiki3520 internal URL3521 generates a path to the project3522 generates a path to the wiki3523 #geo_primary_default_url_to_repo3524 HTTP3525 project3526 is expected to eq "http://localhost:123/relative/foo/bar.git"3527 wiki3528 is expected to eq "http://localhost:123/relative/foo/bar.wiki.git"3529 HTTPS3530 project3531 is expected to eq "https://localhost:123/relative/foo/bar.git"3532 wiki3533 is expected to eq "https://localhost:123/relative/foo/bar.wiki.git"3534 SSH3535 project3536 is expected to eq "git@localhost:foo/bar.git"3537 wiki3538 is expected to eq "git@localhost:foo/bar.wiki.git"3539 #license_management_settings_path3540 generates a path to the license compliance page3541 #user_group_saml_omniauth_metadata_path3542 uses metadata path3543 appends group path and token3544 #user_group_saml_omniauth_metadata_url3545 creates full metadata URL3546 #upgrade_plan_path3547 when the group is present3548 returns the group billing path3549 when the group is blank3550 returns the profile billing path3551 #vulnerability_url3552 returns the full url of the vulnerability3553 #usage_quotas_path3554 returns the group usage quota path for a group namespace3555 returns the profile usage quotas path for any other namespace3556 returns the path with any args supplied3557 #usage_quotas_url3558 returns the group usage quota url for a group namespace3559 returns the profile usage quotas url for any other namespace3560 returns the url with any args supplied3561Security::Ingestion::Tasks::IngestFindingIdentifiers3562 #execute3563 associates findings with the identifiers3564 behaves like bulk insertable task3565 when the validation fails3566 can generate error messages correctly3567Mutations::Dast::Profiles::Create3568 is expected to require graphql authorizations :create_on_demand_dast_scan3569 #resolve3570 when the feature is licensed3571 when the user can run a dast scan3572 returns the dast_profile3573 returns the dast_profile_schedule3574 when run_after_create=true3575 behaves like it checks branch permissions before creating a DAST on-demand scan pipeline3576 when the user does not have access to the branch3577 communicates failure3578 behaves like it creates a DAST on-demand scan pipeline3579 creates a new ci_pipeline for the given project (FAILED - 1)35811st Try error in ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:16:3582Couldn't find Ci::Pipeline3584RSpec::Retry: 2nd try ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:1635862nd Try error in ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:16:3587Couldn't find Ci::Pipeline3588 RSpec::Retry: 3rd try ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:1635903rd Try error in ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:16:3591Couldn't find Ci::Pipeline3592 RSpec::Retry: 4th try ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:163593 creates a single build associated with the ci_pipeline (FAILED - 2)35951st Try error in ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:22:3596Couldn't find Ci::Pipeline3598RSpec::Retry: 2nd try ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:2236002nd Try error in ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:22:3601Couldn't find Ci::Pipeline3602 RSpec::Retry: 3rd try ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:2236043rd Try error in ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:22:3605Couldn't find Ci::Pipeline3606 RSpec::Retry: 4th try ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:223607 creates an association between the dast_profile and the ci_pipeline (FAILED - 3)36091st Try error in ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:28:3610Couldn't find Ci::Pipeline3612RSpec::Retry: 2nd try ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:2836142nd Try error in ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:28:3615Couldn't find Ci::Pipeline3616 RSpec::Retry: 3rd try ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:2836183rd Try error in ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:28:3619Couldn't find Ci::Pipeline3620 RSpec::Retry: 4th try ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:283621 returns the pipeline_url (FAILED - 4)36231st Try error in ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:34:3624Couldn't find Ci::Pipeline3626RSpec::Retry: 2nd try ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:3436282nd Try error in ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:34:3629Couldn't find Ci::Pipeline3630 RSpec::Retry: 3rd try ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:3436323rd Try error in ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:34:3633Couldn't find Ci::Pipeline3634 RSpec::Retry: 4th try ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:343635 behaves like it delegates scan creation to another service3636 calls AppSec::Dast::Scans::CreateService3637Mutations::Epics::AddIssue3638 #resolve3639 behaves like permission level for epic mutation is correctly verified3640 when the user is not a group member3641 behaves like when the user does not have access to the resource3642 raises an error3643 even if author of the epic3644 raises an error3645 even if assigned to the epic3646 raises an error3647 even if maintainer of the project3648 raises an error3649 when the user is a group member3650 with guest role3651 behaves like when the user does not have access to the resource3652 raises an error3653 even if author of the epic3654 raises an error3655 even if assigned to the epic3656 raises an error3657 even if maintainer of the project3658 raises an error3659 when the user can update the epic3660 adds the issue to the epic3661 returns error if the issue is already assigned to the epic3662 returns error if issue is not found3663Security::Findings::CleanupService3664 class interface3665 .delete_stale_records3666 instantiates the service class with stale scans3667 .delete_by_build_ids3668 instantiates the service class with scans by given build ids3669 #execute3670 deletes the findings of the given security scan object and marks the scan as purged3671 when iterating through security findings3672 deletes findings in batches of 1003673Mutations::IncidentManagement::OncallRotation::Create3674 #resolve3675 user has access to project3676 when OncallRotation::CreateService responds with success3677 returns the on-call rotation with no errors3678 with endsAt arg3679 returns the on-call rotation with no errors3680 when endsAt is nil3681 returns the on-call rotation with no errors3682 when OncallRotations::CreateService responds with an error3683 returns errors3684 with active period times given3685 returns the on-call rotation with no errors3686 saves the on-call rotation with active period times3687 hours rotation length unit3688 returns errors3689 end time is before start time3690 saves the on-call rotation with active period times3691 invalid time given3692 raises an error3693 error cases3694 user cannot be found3695 raises an error3696 project path incorrect3697 raises an error3698 duplicate participants3699 raises an error3700 schedule does not exist3701 raises an error3702 too many users3703 raises an error3704 when resource is not accessible to the user3705 raises an error3706GroupWikiRepository3707 associations3708 is expected to belong to shard required: false3709 is expected to belong to group required: false3710 validations3711 is expected to validate that :shard cannot be empty/falsy3712 is expected to validate that :group cannot be empty/falsy3713 is expected to validate that :disk_path cannot be empty/falsy3714 uniqueness3715 is expected to validate that :group is case-sensitively unique3716 is expected to validate that :disk_path is case-sensitively unique3717 Geo Replication3718 with root group and subgroup wikis3719 #in_replicables_for_current_secondary?3720 all returns true if all are replicated3721 with selective sync by namespace3722 returns true for groups3723 returns true for subgroups3724 with selective sync by shard3725 returns true for groups in the shard3726 returns false for group wiki repositories not in an included shard3727 #replicables_for_current_secondary3728 returns all group wiki repositories without selective sync3729 returns nothing if an unrecognised selective sync type is used3730 with selective sync by namespace3731 returns group wiki repositories that belong to the namespaces and descendants3732 returns group wiki repositories that belong to the namespace3733 with selective sync by shard3734 returns group wiki repositories that belong to the shards3735Types::VulnerabilityLocationType3736 returns all possible types3737 #resolve_type3738 report_type: :cluster_image_scanning, expected_type: Types::VulnerabilityLocation::ClusterImageScanningType3739 is expected to eq Types::VulnerabilityLocation::ClusterImageScanningType3740 report_type: :container_scanning, expected_type: Types::VulnerabilityLocation::ContainerScanningType3741 is expected to eq Types::VulnerabilityLocation::ContainerScanningType3742 report_type: :dependency_scanning, expected_type: Types::VulnerabilityLocation::DependencyScanningType3743 is expected to eq Types::VulnerabilityLocation::DependencyScanningType3744 report_type: :dast, expected_type: Types::VulnerabilityLocation::DastType3745 is expected to eq Types::VulnerabilityLocation::DastType3746 report_type: :api_fuzzing, expected_type: Types::VulnerabilityLocation::DastType3747 is expected to eq Types::VulnerabilityLocation::DastType3748 report_type: :sast, expected_type: Types::VulnerabilityLocation::SastType3749 is expected to eq Types::VulnerabilityLocation::SastType3750 report_type: :secret_detection, expected_type: Types::VulnerabilityLocation::SecretDetectionType3751 is expected to eq Types::VulnerabilityLocation::SecretDetectionType3752 report_type: :coverage_fuzzing, expected_type: Types::VulnerabilityLocation::CoverageFuzzingType3753 is expected to eq Types::VulnerabilityLocation::CoverageFuzzingType3754 report_type: :generic, expected_type: Types::VulnerabilityLocation::GenericType3755 is expected to eq Types::VulnerabilityLocation::GenericType3756 when report_type is unknown3757 raises an error3758ProjectTemplateExportWorker3759 behaves like export worker3760 #perform3761 when it succeeds3762 calls the ExportService3763 export job3764 creates an export job record for the project3765 sets the export job status to started3766 sets the export job status to finished3767 when it fails3768 does not raise an exception when strategy is invalid3769 does not raise error when project cannot be found3770 does not raise error when user cannot be found3771 fails the export job status3772 sidekiq options3773 disables retry3774 disables dead3775 sets default status expiration3776Geo::ContainerRepositorySyncDispatchWorker3777 does not schedule anything when tracking database is not configured3778 does not schedule anything when node is disabled3779 does not schedule anything when registry replication is disabled3780 performs Geo::ContainerRepositorySyncWorker3781 performs Geo::ContainerRepositorySyncWorker for failed syncs3782 does not perform Geo::ContainerRepositorySyncWorker for synced repositories3783 with a failed sync3784 does not stall backfill3785 does not retry failed files when retry_at is tomorrow3786 retries failed files when retry_at is in the past3787Mutations::Boards::Epics::Create3788 field tests3789 is expected to have graphql arguments :boardId, :listId, :title, and :groupPath3790 is expected to have graphql fields :epic3791 #resolve3792 with proper permissions3793 create epic via label list3794 creates a new epic3795 creates and returns a new epic with that label3796 when group not found3797 behaves like epic creation error3798 raises error3799 when board not found3800 returns an error3801 when list not found3802 returns an error3803 when list is not under that board3804 returns an error3805 when title empty3806 returns an error3807 when title nil3808 returns an error3809 with epics not available3810 behaves like epic creation error3811 raises error3812 without proper permissions3813 behaves like epic creation error3814 raises error3815Geo::ReplicableModel3816-- create_table(:_test_dummy_models, {:force=>true})3817 -> 0.0055s3818 behaves like a replicable model3819 invokes replicator.handle_after_create_commit on create3820 #replicator3821 is defined and does not raise error3822 .replicables_for_current_secondary3823 when syncing object storage is enabled3824 behaves like is implemented and returns a valid relation3825 is implemented3826 when syncing object storage is disabled3827 behaves like is implemented and returns a valid relation3828 is implemented3829 with selective sync disabled3830 behaves like is implemented and returns a valid relation3831 is implemented3832 with selective sync enabled for namespaces3833 behaves like is implemented and returns a valid relation3834 is implemented3835 with selective sync enabled for shards3836 behaves like is implemented and returns a valid relation3837 is implemented3838 #geo_create_event!3839 when the replicator raises an error3840 saves the model3841 after_destroy hook3842 when the replicator raises an error3843 destroys the model3844 .verifiables3845 when the model can be filtered by locally stored files3846 filters by locally stored files3847 when the model cannot be filtered by locally stored files3848 does not filter by locally stored files3849 #in_replicables_for_current_secondary?3850 reuses replicables_for_current_secondary3851 #in_available_verifiables?3852 reuses available_verifiables3853-- drop_table(:_test_dummy_models, {:force=>true})3854 -> 0.0025s3855NamespaceLimit3856 is expected to belong to namespace required: false3857 #temporary_storage_increase_enabled?3858 when date is not set3859 is expected to eq false3860 when temporary storage increase end date is today3861 is expected to eq true3862 when feature is disabled3863 is expected to eq false3864 when temporary storage increase end date is exceeded3865 is expected to eq false3866 #eligible_for_temporary_storage_increase?3867 when usage ratio is above the threshold3868 is expected to eq true3869 when feature flag :temporary_storage_increase disabled3870 is expected to eq false3871 when feature flag :namespace_storage_limit disabled3872 is expected to eq false3873 when feature flag :namespace_storage_limit disabled3874 is expected to eq true3875 when usage ratio is below the threshold3876 is expected to eq false3877 when feature flag :namespace_storage_limit disabled3878 is expected to eq false3879 validations3880 is expected to validate that :namespace cannot be empty/falsy3881 with namespace_is_root_namespace3882 when associated namespace is root3883 is expected to be valid3884 when associated namespace is not root3885 is invalid3886 with temporary_storage_increase_set_once3887 when temporary_storage_increase_ends_on was nil3888 can be set3889 when temporary_storage_increase_ends_on is already set3890 can not be set again3891 with temporary_storage_increase_eligibility3892 when storage usage is above threshold3893 is expected to be valid3894 when feature flag :namespace_storage_limit disabled3895 is expected to be valid3896 when storage usage is below threshold3897 is invalid3898 when feature flag :namespace_storage_limit disabled3899 is invalid3900ProtectedBranchPolicy3901 when unprotection is limited by access levels3902 when unprotection restriction feature is unlicensed3903 users can remove protections3904 when unprotection restriction feature is licensed3905 users can't remove protections without specific access3906 and access levels grant the user control3907 users can manage protections3908 creating restrictions3909 is prevented if the user wouldn't be able to remove the restriction3910 when the user can remove the restriction3911 is allowed3912shared/mirror_update_button3913 renders a notification if the last update succeeded3914 renders no notification if the last update did not succeed3915 renders nothing if the user can't push code3916 mirror update can be triggered3917 user is owner3918 renders a working update button3919 user is developer3920 renders a disabled update button3921 user is anonymous3922 renders nothing3923 mirror update due3924 renders a disabled update button3925 mirror is currently updating3926 renders a disabled update button3927 project is not a mirror3928 renders nothing3929Mutations::SecurityPolicy::UnassignSecurityPolicyProject3930 #resolve3931 when both fullPath and projectPath are not provided3932 raises exception3933 for project3934 behaves like unassigns security policy project3935 when permission is set for user3936 when user is an owner of the project3937 when policy project is assigned to a container3938 unassigns the security policy project3939 when policy project is not assigned to a container3940 respond with an error3941 when user is not an owner3942 raises exception3943 when feature is not licensed3944 raises exception3945 for namespace3946 behaves like unassigns security policy project3947 when permission is set for user3948 when user is an owner of the project3949 when policy project is assigned to a container3950 unassigns the security policy project3951 when policy project is not assigned to a container3952 respond with an error3953 when user is not an owner3954 raises exception3955 when feature is not licensed3956 raises exception3957Vulnerabilities::Scanner3958 associations3959 is expected to belong to project required: false3960 is expected to have many findings class_name => Vulnerabilities::Finding3961 is expected to have many security_findings class_name => Security::Finding3962 validations3963 is expected to validate that :name cannot be empty/falsy3964 is expected to validate that :project cannot be empty/falsy3965 is expected to validate that :external_id cannot be empty/falsy3966 is expected to validate that :external_id is case-sensitively unique within the scope of :project_id3967 is expected to validate that the length of :vendor is at most 2553968 .with_external_id3969 when scanner has the corresponding external_id3970 selects the scanner3971 when scanner does not have the corresponding external_id3972 does not select the scanner3973AppSec::Dast::ScanConfigs::FetchService3974 #execute3975 when site profile and scanner profile is not configured in ci yml file3976 behaves like an error occurred3977 communicates failure3978 when site profile and scanner profile is configured in ci yml file3979 with an invalid .gitlab-ci.yml3980 behaves like an error occurred3981 communicates failure3982 with a valid .gitlab-ci.yml3983 returns configured profile values3984 when site profile and scanner profile is configured in security policy3985 and site profile and scanner profile is configured in ci yml file3986 returns configured profile values from policy3987 and site profile and scanner profile is not configured in ci yml file3988 returns configured profile values from policy3989 and when profile data is missing3990 behaves like an error occurred3991 communicates failure3992 and when multiple actions are there3993 returns the correct action3994 when on demand scan licensed feature is not available3995 behaves like an error occurred3996 communicates failure3997EE::Audit::ComplianceFrameworkChangesAuditor3998 auditing compliance framework changes3999 when a project has no compliance framework4000 when the framework is added4001 adds an audit event4002 when a project has a compliance framework4003 when the framework is removed4004 adds an audit event4005 streams correct audit event stream4006 when the framework is changed4007 adds an audit event4008 when the framework is not changed4009 does not add an audit event4010Groups::GroupMembersHelper4011 .group_member_select_options4012 returns an options hash with skip_ldap4013 #group_members_app_data4014 adds `ldap_override_path`4015 adds `can_export_members`4016 adds `export_csv_path`4017 adds `can_filter_by_enterprise`4018 banned members4019 returns `members` property that matches json schema4020 sets `member_path` property4021 #group_member_header_subtext4022 can_admin_member: true, enforce_free_user_cap: true, subtext: enforcement_subtext4023 contains expected text4024 can_admin_member: true, enforce_free_user_cap: false, subtext: standard_subtext4025 contains expected text4026 can_admin_member: false, enforce_free_user_cap: true, subtext: standard_subtext4027 contains expected text4028 can_admin_member: false, enforce_free_user_cap: false, subtext: standard_subtext4029 contains expected text4030routes to the proper webhooks controller4031 with a project context4032 routes the test action4033 routes a single record4034 with a group context4035 routes the test action4036 routes a single record4037Gitlab::StatusPage::Storage4038 MAX_KEYS_PER_PAGE times MAX_PAGES establishes upload limit4039 .details_path4040 is expected to eq "data/incident/123.json"4041 .details_url4042 when issue is not published4043 is expected to be nil4044 with a published incident4045 without a status page setting4046 is expected to be nil4047 when status page setting is disabled4048 is expected to be nil4049 when status page setting is enabled4050 is expected to eq "https://status.gitlab.com/#/data%2Fincident%2F1.json"4051 when status page setting does not include a url4052 is expected to be nil4053 .list_path4054 is expected to eq "data/list.json"4055 .upload_path4056 is expected to eq "data/incident/2/50b7a196557cf72a98e86a7ab4b1ac3b/screenshot.png"4057 .uploads_path4058 is expected to eq "data/incident/2/"4059Gitlab::Vulnerabilities::StandardVulnerability4060 inherits from Gitlab::Vulnerabilities::BaseVulnerability4061 #title4062 when title is present4063 returns title4064 when title is not set4065 fallbacks to name4066 when title and name are not set4067 returns nil4068 #description4069 when description is present4070 returns description4071 when description is not set4072 fallbacks to title4073 when description and title are not set4074 fallbacks to name4075 when title, name and description are not set4076 returns nil4077 #file4078 when file is present4079 returns file4080 when file is not set4081 fallbacks to location4082 when file and location are not set4083 returns nil4084 #line4085 when line is present4086 returns line4087 when line is not set4088 fallbacks to location4089 when line and location are not set4090 returns nil4091 #location_text4092 when line is nil4093 returns a string with file4094 when line is present4095 returns a string with file and line4096 #location_link4097 when blob_path is nil4098 returns file path4099 when line is present4100 returns a string with file and line4101 #blob_path4102 when blob_path is in top level data4103 returns blob_path from top level4104 when blob_path is not in top level data but is in location data4105 returns blob_path from location data4106 when blob_path is not present4107 returns nil4108Ci::Runners::RegisterRunnerService#execute4109 with a registration token4110 behaves like a service logging a runner registration audit event4111 returns newly-created Runner4112 when project token is used4113 behaves like a service logging a runner registration audit event4114 returns newly-created Runner4115 when it exceeds the application limits4116 behaves like a service logging a failed runner registration audit event4117 returns a Runner4118 returns a non-persisted Runner4119 when group token is used4120 behaves like a service logging a runner registration audit event4121 returns newly-created Runner4122 when it exceeds the application limits4123 behaves like a service logging a failed runner registration audit event4124 returns a Runner4125 returns a non-persisted Runner4126Security::SecurityOrchestrationPolicies::ProjectCreateService4127 #execute4128 when security_orchestration_policies_configuration does not exist for project4129 creates policy project with maintainers and developers from target project as developers4130 when security_orchestration_policies_configuration does not exist for namespace4131 creates policy project with maintainers and developers from target group as developers4132 when adding users to security policy project fails4133 returns error4134 when project creation fails4135 returns error4136 when security_orchestration_policies_configuration already exists for project4137 returns error4138Secret-Detection.gitlab-ci.yml4139 the created pipeline4140 when project has no license4141 when SECRET_DETECTION_DISABLED=14142 includes no jobs4143 when branch pipeline4144 creates a pipeline with the expected jobs4145 when MR pipeline4146 creates a pipeline with the expected jobs4147Dast::ProfileSchedulePolicy4148 behaves like a dast on-demand scan policy4149 dast on-demand policies4150 when a user does not have access to the project4151 is expected to be disallowed :create_on_demand_dast_scan and :read_on_demand_dast_scan4152 when the user is a guest4153 is expected to be disallowed :create_on_demand_dast_scan and :read_on_demand_dast_scan4154 when the user is a reporter4155 is expected to be disallowed :create_on_demand_dast_scan and :read_on_demand_dast_scan4156 when the user is a developer4157 is expected to be allowed :create_on_demand_dast_scan and :read_on_demand_dast_scan4158 when the user is a maintainer4159 is expected to be allowed :create_on_demand_dast_scan and :read_on_demand_dast_scan4160 when the user is an owner4161 is expected to be allowed :create_on_demand_dast_scan and :read_on_demand_dast_scan4162 when the user is allowed4163 when on demand scan licensed feature is not available4164 is expected to be disallowed :create_on_demand_dast_scan and :read_on_demand_dast_scan4165Namespaces::UserNamespacePolicy4166 auditor4167 owner4168 is expected to be allowed :create_projects, :admin_namespace, and :read_namespace4169 non-owner4170 is expected to be disallowed :create_projects, :admin_namespace, and :read_namespace4171 :over_storage_limit4172 when the namespace has exceeded its storage limit4173 is expected to be disallowed :create_projects4174 when the namespace has not exceeded its storage limit4175 is expected to be allowed :create_projects4176 :admin_compliance_framework4177 when feature is licensed4178 when user is admin4179 behaves like permitted4180 is expected to be allowed :admin_compliance_framework4181 when user is owner4182 behaves like permitted4183 is expected to be allowed :admin_compliance_framework4184 when feature is not licensed4185 when user is admin4186 behaves like not permitted4187 is expected to be disallowed :admin_compliance_framework4188 when user is owner4189 behaves like not permitted4190 is expected to be disallowed :admin_compliance_framework4191 behaves like update namespace limit policy4192 update_subscription_limit4193 role: :user, is_com: true, allowed: false4194 when admin mode enabled4195 is expected to be disallowed :update_subscription_limit4196 when admin mode disabled4197 is expected to be disallowed :update_subscription_limit4198 role: :owner, is_com: true, allowed: false4199 when admin mode enabled4200 is expected to be disallowed :update_subscription_limit4201 when admin mode disabled4202 is expected to be disallowed :update_subscription_limit4203 role: :admin, is_com: true, allowed: true4204 when admin mode enabled4205 is expected to be allowed :update_subscription_limit4206 when admin mode disabled4207 is expected to be disallowed :update_subscription_limit4208 role: :user, is_com: false, allowed: false4209 when admin mode enabled4210 is expected to be disallowed :update_subscription_limit4211 when admin mode disabled4212 is expected to be disallowed :update_subscription_limit4213 role: :owner, is_com: false, allowed: false4214 when admin mode enabled4215 is expected to be disallowed :update_subscription_limit4216 when admin mode disabled4217 is expected to be disallowed :update_subscription_limit4218 role: :admin, is_com: false, allowed: false4219 when admin mode enabled4220 is expected to be disallowed :update_subscription_limit4221 when admin mode disabled4222 is expected to be disallowed :update_subscription_limit4223GitlabSubscriptions::UpcomingReconciliationEntity4224 is expected to delegate #next_reconciliation_date to the #upcoming_reconciliation object4225 is expected to delegate #display_alert? to the #upcoming_reconciliation object4226 #has_permissions?4227 with namespace4228 checks if user can admin_namespace4229 without namespace4230 checks if user is admin4231 when current_user is nil4232 returns false4233 #cookie_key4234 with namespace4235 includes namespace id in key4236 without namespace4237 does not include namespace id in cookie key4238 #display_alert?4239 upcoming_reconciliation_display_alert: false, with_namespace: true, offline_cloud_license: true, expected: false4240 returns result4241 upcoming_reconciliation_display_alert: false, with_namespace: true, offline_cloud_license: false, expected: false4242 returns result4243 upcoming_reconciliation_display_alert: true, with_namespace: true, offline_cloud_license: true, expected: true4244 returns result4245 upcoming_reconciliation_display_alert: true, with_namespace: true, offline_cloud_license: false, expected: true4246 returns result4247 upcoming_reconciliation_display_alert: true, with_namespace: false, offline_cloud_license: false, expected: true4248 returns result4249 upcoming_reconciliation_display_alert: true, with_namespace: false, offline_cloud_license: true, expected: false4250 returns result4251 without upcoming_reconciliation4252 returns false4253 without namespace4254 returns false4255MergeRequests::UpdateReviewersService4256 execute4257 when the parameters are valid4258 when using sentinel values4259 removes all reviewers4260 when the reviewer_ids parameter is the empty list4261 removes all reviewers4262 when the reviewer_ids parameter contains both zeros and valid IDs4263 ignores 0 IDs4264Security::Ingestion::FindingMap4265 #uuid4266 is expected to delegate #uuid to the #security_finding object4267 #identifiers4268 is expected to eq [#<Gitlab::Ci::Reports::Security::Identifier:0x00007ff9418ba708 @external_id="PREDICTABLE_RANDOM", @e...c_bugs_type-PREDICTABLE_RANDOM", @url=nil, @fingerprint="5848739446034d982ef7beece3bb19bff4044ffb">]4269 #set_identifier_ids_by4270 changes the identifier_ids of the finding_map4271 #issue_feedback4272 is expected to eq #<Vulnerabilities::Feedback id: 1, created_at: "2022-08-24 17:52:08.673004097 +0000", updated_at: "20...comment_timestamp: nil, finding_uuid: "ff35ca45-7d2a-5793-bbac-d5d9ca36e315", dismissal_reason: nil>4273 #to_hash4274 is expected to eq {:confidence=>:medium, :cve=>"find_sec_bugs_type:PREDICTABLE_RANDOM:8e509ac62752a3d9330f31e89a000c95b... encrypted data, providing integrity of the result.", :uuid=>"37debd8c-8acd-4a3f-971b-2e4788a2df70"}4275StatusPage::PublishService4276 #execute4277 publish details4278 when upload succeeds4279 uploads incident details and list4280 behaves like an incident management tracked event4281 .track_event4282 tracks the event using redis4283 when upload fails4284 propagates the exception4285 unpublish details4286 when unpublish succeeds4287 unpublishes incident details and uploads incident list4288 behaves like does not track incident management event4289 does not track the event4290 when unpublish service responses with error4291 returns the response4292 publish list4293 when upload fails4294 returns error response4295 with unrelated issue4296 returns error issue not found4297 when user cannot publish4298 returns error missing publish permission4299MergeRequests::StreamApprovalAuditEventWorker4300 calls MergeRequests::SteamApprovalAuditEventService4301 behaves like subscribes to event4302 consumes the published event4303 behaves like an idempotent worker4304 is labeled as idempotent4305 performs multiple times sequentially without raising an exception4306 when the user does not exist4307 behaves like when object does not exist4308 logs and does not call MergeRequests::SteamApprovalAuditEventService4309 when the merge request does not exist4310 behaves like when object does not exist4311 logs and does not call MergeRequests::SteamApprovalAuditEventService4312Gitlab::ImportExport::Project::TreeSaver4313 with JSON4314 behaves like EE saves project tree successfully4315 epics4316 has epic_issue4317 has epic4318 does not have epic_id4319 does not have issue_id4320 security setting4321 has security settings4322 push_rule4323 has push rules4324 with NDJSON4325 behaves like EE saves project tree successfully4326 epics4327 has epic_issue4328 has epic4329 does not have epic_id4330 does not have issue_id4331 security setting4332 has security settings4333 push_rule4334 has push rules4335Gitlab::Geo::SignedData4336 #sign_and_encode_data4337 formats the signed data properly4338 defaults to 1-minute expiration time4339 when data is not set4340 does not set the data attribute4341 when geo_node is not set4342 raises a GeoNodeNotFoundError error4343 with custom validity period4344 uses that expiration time4345 #decode_data4346 is expected to eq {:input=>123, :other_input=>"string value"}4347 when data is not set4348 is expected to be nil4349 for disabled nodes4350 fails to decode for disabled nodes by default4351 is expected to be nil4352 when include_disabled_nodes is set to false4353 is expected to be nil4354 when include_disabled_nodes is set to true4355 is expected to eq {:input=>123, :other_input=>"string value"}4356 with the wrong key4357 is expected to be nil4358 time checks4359 successfully decodes when clocks are off by IAT leeway4360 raises an error after expiring4361 raises an error when clocks are not in sync4362 JWT raised errors4363 surfaces expected errors4364 raised_error: JWT::ImmatureSignature, expected_error: Gitlab::Geo::InvalidSignatureTimeError4365 raises expected error4366 raised_error: JWT::ExpiredSignature, expected_error: Gitlab::Geo::InvalidSignatureTimeError4367 raises expected error4368 for a decoding error4369 is expected to be nil4370DashboardHelper4371 #dashboard_nav_links4372 operations dashboard link4373 when the feature is available on the license4374 and the user is authenticated4375 is included in the nav4376 and the user is not authenticated4377 is not included in the nav4378 when the feature is not available on the license4379 is not included in the nav4380 environments dashboard link4381 and the feature is available on the license4382 and the user is authenticated4383 is included in the nav4384 and the user is not authenticated4385 is not included in the nav4386 and the feature is not available on the license4387 is not included in the nav4388 security dashboard link4389 and the feature is available on the license4390 and the user is authenticated4391 is included in the nav4392 and the user is not authenticated4393 is not included in the nav4394 when the feature is not available on the license4395 is not included in the nav4396 .has_start_trial?4397 has_license: false, current_user: :admin, output: true4398 is expected to eq true4399 has_license: false, current_user: :user, output: false4400 is expected to eq false4401 has_license: true, current_user: :admin, output: false4402 is expected to eq false4403 has_license: true, current_user: :user, output: false4404 is expected to eq false4405Projects::CleanupService4406 #execute4407 sends a Geo notification about the update on success4408 does not send a Geo notification if the update fails4409Resolvers::Iterations::CadencesResolver4410 #resolve4411 iterations cadences for project4412 behaves like fetches iteration cadences4413 when user does not have permissions to read iterations cadences4414 generates an error4415 when user has permissions to read iterations cadences4416 returns iterations cadences from group4417 iteration cadences by id4418 returns iterations cadence by global id4419 when project does not have a parent group4420 generates an error4421 iterations cadences for group4422 behaves like fetches iteration cadences4423 when user does not have permissions to read iterations cadences4424 generates an error4425 when user has permissions to read iterations cadences4426 returns iterations cadences from group4427 iteration cadences by id4428 returns iterations cadence by global id4429Release4430 .by_namespace_id4431 when a single namespace id is passed4432 returns releases associated to projects of the provided group4433 when an array of namespace ids is passed4434 returns releases associated to projects of all provided groups4435Sidebars::Groups::Menus::IssuesMenu4436 Menu Items4437 Iterations4438 when licensed feature iterations is not enabled4439 does not include iterations menu item4440 when licensed feature iterations is enabled4441 when user can read iterations4442 includes iterations menu item4443 when user cannot read iterations4444 does not include iterations menu item4445 when iteration_cadences are not enabled4446 contains the interation link4447 includes iterations active routes4448 when iteration_cadences is enabled4449 contains the iteration cadences link4450 includes iteration and iteration_cadences active routes4451MergeRequestResetApprovalsWorker4452 #perform4453 executes MergeRequests::RefreshService with expected values4454 project is missing4455 doesn't execute the service4456 user is missing4457 doesn't execute the service4458Key4459 validations4460 expiration4461 key: #<Key id: nil, user_id: nil, created_at: nil, updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: "2022-08-22 17:15:30.215513730 +0000", expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil>, valid: false4462 checks if ssh key expiration is enforced4463 key: #<Key id: nil, user_id: nil, created_at: nil, updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: "2022-08-26 17:15:30.393493559 +0000", expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil>, valid: true4464 checks if ssh key expiration is enforced4465 key: #<Key id: nil, user_id: nil, created_at: nil, updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: nil, expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil>, valid: true4466 checks if ssh key expiration is enforced4467 #validate_expires_at_before_max_expiry_date4468 for a range of key expiry combinations4469 key: #<Key id: nil, user_id: nil, created_at: "2022-08-24 17:15:30.487703338 +0000", updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: nil, expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil>, max_ssh_key_lifetime: nil, valid: true4470 checks if ssh key expiration is valid4471 key: #<Key id: nil, user_id: nil, created_at: "2022-08-24 17:15:30.517505505 +0000", updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: "2022-09-13 17:15:30.517533655 +0000", expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil>, max_ssh_key_lifetime: nil, valid: true4472 checks if ssh key expiration is valid4473 key: #<Key id: nil, user_id: nil, created_at: "2022-08-23 17:15:30.550481231 +0000", updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: "2022-09-13 17:15:30.550598691 +0000", expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil>, max_ssh_key_lifetime: 10, valid: false4474 checks if ssh key expiration is valid4475 key: #<Key id: nil, user_id: nil, created_at: "2022-08-18 17:15:30.597494355 +0000", updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: "2022-08-27 17:15:30.597636946 +0000", expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil>, max_ssh_key_lifetime: 10, valid: true4476 checks if ssh key expiration is valid4477 key: #<Key id: nil, user_id: nil, created_at: "2022-08-14 17:15:30.630058552 +0000", updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: "2022-08-31 17:15:30.630186572 +0000", expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil>, max_ssh_key_lifetime: 10, valid: false4478 checks if ssh key expiration is valid4479 key: #<Key id: nil, user_id: nil, created_at: "2022-08-24 17:15:30.671607317 +0000", updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: nil, expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil>, max_ssh_key_lifetime: 20, valid: false4480 checks if ssh key expiration is valid4481 key: #<Key id: nil, user_id: nil, created_at: nil, updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: nil, expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil>, max_ssh_key_lifetime: 30, valid: false4482 checks if ssh key expiration is valid4483 when keys and max expiry are set4484 key: #<Key id: nil, user_id: nil, created_at: "2022-08-24 17:15:30.744003018 +0000", updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: "2022-09-13 17:15:30.744030658 +0000", expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil>, max_ssh_key_lifetime: 10, valid: false4485 checks validity properly in the future too4486 key: #<Key id: nil, user_id: nil, created_at: "2022-08-24 17:15:30.807237201 +0000", updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: "2022-08-31 17:15:30.807271581 +0000", expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil>, max_ssh_key_lifetime: 10, valid: true4487 checks validity properly in the future too4488 #audit_details4489 equals to the title4490MergeRequests::SyncCodeOwnerApprovalRulesWorker4491 #perform4492 behaves like an idempotent worker4493 is labeled as idempotent4494 performs multiple times sequentially without raising an exception4495 when merge request is not found4496 returns without attempting to sync code owner rules4497 when merge request is found4498 attempts to sync code owner rules4499Mutations::Vulnerabilities::Dismiss4500 #resolve4501 when the user can dismiss the vulnerability4502 when user does not have access to the project4503 raises an error4504 when user has access to the project4505 returns the dismissed vulnerability4506Analytics::CycleAnalytics::Stages::ListService4507 returns empty array4508 provides the default stages as non-persisted objects4509 does not persist the value stream record4510 behaves like permission check for Value Stream Analytics Stage services4511 when user has no access4512 is expected to be error4513 is expected to eq :forbidden4514 when license is missing4515 is expected to be error4516 is expected to eq :forbidden4517 when there are persisted stages4518 returns the persisted stages in order4519Mutations::Vulnerabilities::RevertToDetected4520 is expected to require graphql authorizations :admin_vulnerability4521 #resolve4522 when the user can revert the vulnerability to detected4523 when user does not have access to the project4524 raises an error4525 when user has access to the project4526 returns the vulnerability back in detected state4527IncidentManagement::OncallShiftPolicy4528 rules4529 is expected to be disallowed :read_incident_management_oncall_schedule4530 when guest4531 is expected to be disallowed :read_incident_management_oncall_schedule4532 when reporter4533 is expected to be allowed :read_incident_management_oncall_schedule4534 licensed feature disabled4535 is expected to be disallowed :read_incident_management_oncall_schedule4536 when auditor4537 is expected to be allowed :read_incident_management_oncall_schedule4538 is expected to be disallowed :admin_incident_management_oncall_schedule4539 licensed feature disabled4540 is expected to be disallowed :read_incident_management_oncall_schedule4541 is expected to be disallowed :admin_incident_management_oncall_schedule4542EE::Gitlab::Auth::Ldap::Sync::ExternalUsers4543 #update_permissions4544 adds users from both external LDAP groups as external users4545 removes users that are not in the LDAP group4546 leaves external users that do not have the LDAP provider4547 leaves external users that have a different provider identity4548 when ldap connection fails4549 logs a debug message4550Resolvers::Vulnerabilities::ContainerImagesResolver4551 #resolve4552 when resolved for project4553 behaves like fetches vulnerability container images4554 when user is not logged in4555 is expected to be blank4556 when user is logged in4557 when user does not have permissions4558 is expected to be blank4559 when user have permissions to access vulnerabilities4560 returns related container images4561AlertManagement::Alert4562 associations4563 is expected to have many pending_escalations class_name => IncidentManagement::PendingEscalations::Alert4564 after_create4565 attempts to trigger auto rollback4566 #trigger_auto_rollback4567 executes AutoRollbackWorker4568 when status is not triggered4569 does not execute AutoRollbackWorker4570 when severity is not critical4571 does not execute AutoRollbackWorker4572 when project does not enable auto rollback4573 does not execute AutoRollbackWorker4574 when project does not have a license for auto rollback4575 does not execute AutoRollbackWorker4576 #escalation_policy4577 is expected to eq nil4578 when escalation policy exists on the project4579 returns the projects first (only) escalation policy4580Mutations::Boards::EpicLists::Create4581 behaves like board lists create mutation4582 #ready?4583 raises an error if required arguments are missing4584 raises an error if too many required arguments are specified4585 #resolve4586 with proper permissions4587 backlog list4588 creates one and only one backlog4589 label list4590 creates a new label board list4591 when label not found4592 returns an error4593 without proper permissions4594 raises an error4595Ci::Minutes::AdditionalPacks::CreateService4596 #execute4597 with a non-admin user4598 raises an error4599 with an admin user4600 when a record exists4601 returns success4602 returns the existing and newly created records4603 when no record exists4604 creates new records4605 kicks off reset ci minutes service4606 returns success4607 with invalid params4608 returns an error4609ProjectWiki4610 behaves like EE wiki model4611 uses Elasticsearch4612 #kerberos_url_to_repo4613 returns valid kerberos url for this repo4614 #after_wiki_activity4615 updates project_repository_state activity4616Clusters::AgentsFinder4617 #execute4618 user does not have permission4619 is expected to be empty4620 filtering by has_vulnerabilities4621 when params are not provided4622 is expected to contain exactly #<Clusters::Agent id: 1, created_at: "2022-08-24 17:52:56.919726164 +0000", updated_at: "2022-08-24 1...6164 +0000", project_id: 457, name: "agent-1", created_by_user_id: 1252, has_vulnerabilities: false> and #<Clusters::Agent id: 2, created_at: "2022-08-24 17:52:57.064281587 +0000", updated_at: "2022-08-24 1...81587 +0000", project_id: 457, name: "agent-2", created_by_user_id: 1253, has_vulnerabilities: true>4623 when has_vulnerabilities is set to true4624 is expected to contain exactly #<Clusters::Agent id: 2, created_at: "2022-08-24 17:52:57.064281587 +0000", updated_at: "2022-08-24 1...81587 +0000", project_id: 457, name: "agent-2", created_by_user_id: 1253, has_vulnerabilities: true>4625 when has_vulnerabilities is set to false4626 is expected to contain exactly #<Clusters::Agent id: 1, created_at: "2022-08-24 17:52:56.919726164 +0000", updated_at: "2022-08-24 1...6164 +0000", project_id: 457, name: "agent-1", created_by_user_id: 1252, has_vulnerabilities: false>4627Gitlab::Auth::GroupSaml::XmlResponse4628 configures ruby-saml using configured settings4629 validates xml according to SAML spec4630 correctly detects fingerprint mismatch4631 attributes from encoded XML4632 retrieves NameID from XML4633 retrieves NameID Format from XML4634 provides decoded XML4635subscriptions/buy_storage4636 behaves like buy storage addon form data4637 is expected to have visible css "#js-buy-storage[data-active-subscription-name='S-000000000']"4638 is expected to have visible css "#js-buy-storage[data-group-data='[{\"id\":\"storage_plan_id\",\"code\":\"storage\",\"price_per_year\":10.0}]']"4639 is expected to have visible css "#js-buy-storage[data-plan-id='storage_plan_id']"4640 is expected to have visible css "#js-buy-storage[data-namespace-id='2']"4641 is expected to have visible css "#js-buy-storage[data-source='some_source']"4642 is expected to have visible css "#js-buy-storage[data-redirect-after-success='/groups/my-group/-/usage_quotas#storage-quota-tab']"4643Ci::InitialPipelineProcessWorker4644 #perform4645 is labeled as idempotent4646 performs multiple times sequentially without raising an exception4647 when the project is out of CI minutes4648 marks the pipeline as failed4649Gitlab::Sitemaps::Generator4650 returns error if the env is not .com4651 when env is .com4652 returns error if group gitlab-org is not found4653 when group gitlab-org is present and public4654 and it is not public4655 returns and error4656 and it is public4657 includes default explore routes and gitlab-org group routes4658EE::Audit::GroupChangesAuditor4659 .audit_changes4660 non audit changes4661 does not call the audit event service4662 audit changes4663 creates and event when the visibility change4664 creates an event for project creation level change4665 creates an event when attributes change4666ApprovalProjectRulePolicy4667 when user can admin project4668 allows updating approval rule4669 when user cannot admin project4670 disallow updating approval rule4671Dast::ProfilesFinder4672 #execute4673 returns dast_profiles limited to 100 records4674 filtering by id4675 returns the matching dast_profile4676 filtering by project_id4677 returns the matching dast_profiles4678 filtering by has_schedule?4679 when has_dast_profile_schedule is true4680 returns the dast_profiles with schedule4681 filtering by *4682 returns the matching dast_profile4683 when the dast_profile does not exist4684 returns an empty relation4685 sorting4686 orders by id desc by default4687DeprecatedApprovalsBeforeMerge4688 merge request4689 behaves like with approvals before merge deprecated4690 updating approvals_before_merge4691 creates any_approver rule4692 project4693 behaves like with approvals before merge deprecated4694 updating approvals_before_merge4695 creates any_approver rule4696Groups::FeatureSetting4697 #feature_available?4698 when features are disabled4699 returns false4700 when features are enabled only for group members4701 returns false when user is not a group member4702 returns true when user is a group member4703 when admin mode is enabled4704 returns true if user is an admin4705 when admin mode is disabled4706 returns false when user is an admin4707 when feature is enabled for everyone4708 returns true4709 when feature has any other value4710 returns true4711IncidentManagement::PendingEscalations::ScheduleCheckCronWorker4712 #perform4713 schedules a job for each processable escalation4714WorkItems::UpdateService4715 #execute4716 behaves like work item widgetable service4717 executes callbacks for expected widgets4718Namespaces::FreeUserCap4719 .trimming_enabled?4720 when free_user_cap_data_remediation_job is disabled4721 is expected to equal false4722 when :free_user_cap_data_remediation_job is enabled4723 is expected to equal true4724 .group_sharing_remediation_enabled?4725 when :free_user_cap_group_sharing_remediation is disabled4726 is expected to equal false4727 when :free_user_cap_group_sharing_remediation is enabled4728 is expected to equal true4729 .enforce_preview_or_standard?4730 enforce_preview: true, enforce_standard: true, result: true4731 is expected to equal true4732 enforce_preview: true, enforce_standard: false, result: true4733 is expected to equal true4734 enforce_preview: false, enforce_standard: true, result: true4735 is expected to equal true4736 enforce_preview: false, enforce_standard: false, result: false4737 is expected to equal false4738Geo::ContainerRepositorySync4739 #execute4740 single manifest4741 determines list of tags to sync and to remove correctly4742 when primary repository has no tags4743 removes secondary tags and does not fail4744 manifest list4745 pushes the correct blobs and manifests4746 oci manifest list4747 pushes the correct blobs and manifests4748 buildkit cache images4749 pushes the correct blobs and manifests4750AppSec::Dast::SiteProfiles::Audit::UpdateService4751 #execute4752 audits the changes in the given properties4753 omits the values for secret properties4754 omits the values for properties too long to be displayed4755 sorts properties that are arrays before comparing them4756Analytics::CycleAnalytics::ConsistencyWorker4757 invokes the consistency check service for merge requests4758 when no pending aggregation records present4759 does nothing4760 when pending aggregation records present4761 invokes the consistency services4762 when worker is over time4763 breaks at the second iteration due to overtime, saving cursor information4764 when the service runs out of time4765 stops while processing a batch, saving cursor information, and restart from where it left on the next run4766DashboardEnvironmentEntity4767 .as_json4768 includes environment attributes4769Elastic::ProcessInitialBookkeepingService4770 .backfill_projects!4771 calls initial project indexing4772 raises an exception if non project is provided4773 uses a separate queue4774Elastic::ProjectsSearch4775 #maintain_elasticsearch_create4776 calls track!4777 #maintain_elasticsearch_update4778 initiates repository reindexing when permissions change4779 #maintain_elasticsearch_destroy4780 calls delete worker4781AppSec::Dast::SiteProfilesBuilds::ConsistencyWorker4782 #perform4783 ensures cross database association is created4784 behaves like an idempotent worker4785 is labeled as idempotent4786 performs multiple times sequentially without raising an exception4787Gitlab::IncidentManagement4788 .oncall_schedules_available?4789 is expected to be truthy4790 when there is no license4791 is expected to be falsey4792 .escalation_policies_available?4793 is expected to be truthy4794 when escalation policies not avaialble4795 is expected to be falsey4796 when on-call schedules not available4797 is expected to be falsey4798 .issuable_resource_links_available?4799 is expected to be truthy4800 when feature flag is disabled4801 is expected to be falsey4802 when feature is not avaiable4803 is expected to be falsey4804Mutations::InstanceSecurityDashboard::RemoveProject4805 #resolve4806 when user is not logged_in4807 raises Gitlab::Graphql::Errors::ResourceNotAvailable error4808 when user is logged_in4809 when security_dashboard is not enabled4810 raises Gitlab::Graphql::Errors::ResourceNotAvailable error4811 when security_dashboard is enabled4812 when project is not configured in security dashboard4813 is expected to eq {:errors=>["The project does not belong to your dashboard or you don't have permission to perform this action"]}4814 when project is configured in security dashboard4815 is expected to eq {:errors=>[]}4816Vulnerabilities::FindingLink4817 associations4818 is expected to belong to finding class_name => Vulnerabilities::Finding required: false inverse_of => finding_links4819 validations4820 is expected to validate that :url cannot be empty/falsy4821 is expected to validate that the length of :url is at most 20484822 is expected to validate that the length of :name is at most 2554823 is expected to validate that :finding cannot be empty/falsy4824Gitlab::Insights::Finders::ProjectsFinder4825 when using ids4826 is expected to contain exactly #<Project id:495 namespace532/project529>> and #<Project id:497 namespace534/project531>>4827 when using paths4828 is expected to contain exactly #<Project id:495 namespace532/project529>> and #<Project id:496 namespace533/project530>>4829 when using mixed types4830 is expected to contain exactly #<Project id:495 namespace532/project529>> and #<Project id:497 namespace534/project531>>4831 when using unknown references4832 is expected to contain exactly #<Project id:497 namespace534/project531>>4833 when empty array is given4834 is expected to eq nil4835Gitlab::Metrics::Samplers::GlobalSearchSampler4836 behaves like metrics sampler4837 when sampling interval is passed explicitly4838 is expected to eq 424839 when sampling interval is passed through the environment4840 is expected to eq 424841 when no sampling interval is passed anywhere4842 uses the hardcoded default4843 #start4844 calls the sample method on the sampler thread4845 with warmup set to true4846 calls the sample method first on the caller thread4847 #safe_sample4848 calls #sample once4849 when sampling fails with error4850 recovers from errors4851 with logger4852 logs errors4853 #sample4854 invokes the Elastic::MetricsUpdateService4855MarkupHelper4856 #first_line_in_markdown4857 with scoped label references4858 shows proper tooltip4859 #render_wiki_content4860 when file is Markdown4861 when content has labels4862 when wiki is a group wiki4863 behaves like renders label4864 is expected not to be empty4865 when wiki is a project wiki4866 behaves like renders label4867 is expected not to be empty4868Vulnerabilities::ResponseEntity4869 #as_json4870 contains required fields4871EE::WeightEventable4872 associations4873 is expected to have many resource_weight_events4874 #first_weight_event?4875 returns false as it has no weight changes4876 returns false as it has no previous weight4877 returns false as it has already a resoure_weight_event4878 returns true as the previous weight exists and there is no resoure_weight_event record4879Types::Security::TrainingType4880 is expected to have graphql fields :id, :name, :description, :url, :logo_url, :is_enabled, and :is_primary4881Gitlab::Auth::GroupSaml::ResponseStore4882 #set_raw4883 stores values in Redis4884 sets a redis expiry time4885 #get_raw4886 retrives a value set by set_response4887 prevents memory bloat by deleting the value4888Analytics::DevopsAdoption::EnabledNamespaces::DeleteService4889 deletes the enabled_namespace4890 authorizes for manage_devops_adoption4891 when deletion fails4892 returns error response4893 when user cannot manage enabled_namespaces for the namespace4894 returns forbidden error4895Terraform::States::DestroyService4896 #execute4897 creates deletion events for associated state versions4898Analytics::LanguageTrend::RepositoryLanguage4899 associations4900 is expected to belong to programming_language required: false4901 is expected to belong to project required: false4902Milestone4903 Associations4904 is expected to have many boards4905Gitlab::Ci::Parsers::Security::CoverageFuzzing4906 #parse!4907 parses all identifiers and findings4908 generates expected location4909Ci::SyncReportsToReportApprovalRulesWorker4910 #perform4911 when pipeline exists4912 executes SyncReportsToApprovalRulesService for given pipeline4913 when pipeline is missing4914 does not execute SyncReportsToApprovalRulesService4915shared/issuable/_health_status_dropdown.html.haml4916 behaves like issuable bulk dropdown4917 renders hidden input4918 renders vue root4919 without parent4920 is nil4921 without feature4922 is nil4923Database config initializer for GitLab EE4924 and the runtime is Sidekiq4925 when no custom headroom is specified4926 sets the pool size based on the number of worker threads4927 when specifying headroom through an ENV variable4928 adds headroom on top of the calculated size4929EE::FeatureFlagsHelper4930 #edit_feature_flags_data4931 with permissions4932 adds the search path4933 adds the issue links path4934 without permissions4935 adds a blank search path4936 adds a blank issue links path4937ProjectMemberPresenter4938 #group_sso?4939 returns `false`4940 #group_managed_account?4941 returns `false`4942 #can_update?4943 when user cannot update project_member4944 when user can override_project_member4945 is expected to eq true4946 when user cannot override_project_member4947 is expected to eq false4948 #can_unban?4949 is expected to eq false4950Gitlab::Analytics::CycleAnalytics::Aggregated::DataForDurationChart4951 calculates the daily average stage duration4952Gitlab::Ci::Reports::LicenseScanning::Dependency4953 value equality4954 cannot add the same dependency to a set twice4955 is expected to eql #<Gitlab::Ci::Reports::LicenseScanning::Dependency:0x00007ff94d7daf98 @name="bundler", @package_manager=nil, @path=nil, @version=nil>4956 #blob_path_for4957 when a project, sha and path are provided4958 is expected to eql "/namespace550/project547/-/blob/b83d6e391c22777fca1ed3012fce84f633d7fed0/Gemfile.lock"4959 when a path is not available4960 is expected to be nil4961 when a project is not provided4962 is expected to eql "Gemfile.lock"4963 when a sha is not provided4964 is expected to eql "/namespace552/project549/-/blob/master/Gemfile.lock"4965GroupDeletionSchedule4966 Associations4967 is expected to belong to group required: false4968 is expected to belong to deleting_user class_name => User required: false4969 Validations4970 is expected to validate that :marked_for_deletion_on cannot be empty/falsy4971VulnerabilityEntity4972 exposes vulnerability-specific elements4973LinkedFeatureFlagIssueEntity4974 #as_json4975 returns json4976BulkImports::Common::Pipelines::WikiPipeline4977 #run4978 behaves like wiki pipeline imports a wiki for an entity4979 #run4980 when wiki exists4981 imports new wiki into destination project4982 when wiki does not exist4983 does not import wiki4984Security::AutoFixWorker4985 #perform4986 when auto_fix feature is enabled4987 run AutoFix Service4988 when auto_fix feature is disabled4989 does not run AutoFix Service4990 when feature flag is disabled4991 does not run AutoFix Service4992Password::ComplexityValidator4993 #validates_each4994 without any validation rule4995 is valid4996 with a validation rule4997 when lowcase required rule is not matched4998 is invalid4999 when lowcase required rule is matched5000 is valid5001 .required_complexity_rules5002 when no rules are enabled5003 returns an empty array5004 when lowcase required rule is enabled5005 returns a lowcase required rule5006 when all rules are required5007 returns 4 rules5008AuditEvents::UserImpersonationEventCreateWorker5009 #perform5010 invokes the UserImpersonationGroupAuditEventService5011Elastic::ApplicationVersionedSearch5012 .elastic_index_dependant_association5013 adds the associations to elastic_index_dependants5014 when the association does not exist5015 raises an error5016 when the class is not an ApplicationRecord5017 raises an error5018Gitlab::Insights::Serializers::Chartjs::BarSerializer5019 returns the correct format5020 wrong input formats5021 input: []5022 raises an error if the input is not in the correct format5023 input: [1, 2, 3]5024 raises an error if the input is not in the correct format5025 input: {:a=>:b}5026 raises an error if the input is not in the correct format5027MetricsReportMetricEntity5028 #as_json5029 contains the correct metric5030 when the metric did not change5031 does not expose previous_value5032 when the metric changed5033 exposes the previous_value5034Mutations::Namespaces::IncreaseStorageTemporarily5035 #resolve5036 when user is not the admin of the namespace5037 raises a not accessible error5038 when the user can admin the namespace5039 sets temporary_storage_increase_ends_on5040Groups::ScheduleBulkRepositoryShardMovesService5041 behaves like moves repository shard in bulk5042 #execute5043 schedules container repository storage moves5044 read-only repository5045 does not get scheduled5046 .enqueue5047 defers to the worker5048Types::PushRulesType5049 is expected to eq "PushRules"5050 is expected to require graphql authorizations :read_project5051 has the expected fields5052Types::VulnerableKubernetesResourceType5053 is expected to have graphql fields :namespace, :kind, :name, :container_name, :agent, and :cluster_id5054MigrateNotesToSeparateIndex5055 behaves like a deprecated Advanced Search migration5056 #migrate5057 logs a message and halts the migration5058 #completed?5059 returns false5060 #obsolete?5061 returns true5062Types::Geo::RegistryStateEnum5063 is expected to eq "RegistryState"5064 exposes the correct registry states5065Types::AuditEvents::Streaming::HeaderType5066 is expected to eq "AuditEventStreamingHeader"5067 is expected to have graphql fields :id, :key, and :value5068Gitlab::CodeOwners::ReferenceExtractor5069 #emails5070 includes all mentioned email addresses5071 #names5072 includes all mentioned usernames and groupnames5073 #references5074 includes all user-references once5075Gitlab::Ci::Reports::Metrics::Report5076 #add_metric5077 stores given metric5078 correctly stores metric params5079Boards::EpicBoardLabel5080 associations5081 is expected to belong to epic_board required: true inverse_of => epic_board_labels5082 is expected to belong to label required: true inverse_of => epic_board_labels5083Types::Boards::EpicListType5084 is expected to eq "EpicList"5085 has specific fields5086Types::MutationType5087 deprecated mutations5088 field_name: "ApiFuzzingCiConfigurationCreate", reason: "The configuration snippet is now generated client-side", milestone: "15.1"5089 is expected to be present5090 is expected to eq "The configuration snippet is now generated client-side. Deprecated in 15.1."5091Types::MergeRequests::ApprovalStateType5092 is expected to have graphql fields :approval_rules_overwritten and :rules5093 is expected to require graphql authorizations :read_merge_request5094EE::VersionCheckHelper5095 #link_to_version5096 for a pre-release5097 links to an ee-commit5098 for a normal release5099 links to an ee-tag5100Types::VulnerabilityLocation::GenericType5101 is expected to have graphql fields :description5102BulkImports::Groups::Stage5103 #pipelines5104 includes EE pipelines5105 overrides the CE stage value for the EntityFinisher Pipeline5106Gitlab::Usage::Metrics::Instrumentations::AdvancedSearch::BuildTypeMetric5107 behaves like a correct instrumented metric value5108 has correct value5109 elasticsearch_indexing is enabled5110 behaves like a correct instrumented metric value5111 has correct value5112Users::UpdateHighestMemberRoleService5113 #execute5114 with an EE-only access level5115 updates the highest access level5116Gitlab::Usage::ServicePing::PayloadKeysProcessor5117 missing_instrumented_metrics_key_paths5118 returns the missing keys5119Gitlab::StatusPage::Filter::MentionAnonymizationFilter5120 replaces user link with anonymized text5121ProtectedBranch::UnprotectAccessLevel5122 is expected to validate that :access_level is either ‹40›, ‹30›, or ‹0›5123Types::Ci::CodeQualityDegradationSeverityEnum5124 exposes all code quality degradation severity types5125Knapsack report was generated. Preview:5126{5127 "ee/spec/services/search/group_service_spec.rb": 1619.4636726259996,5128 "ee/spec/services/geo/file_registry_removal_service_spec.rb": 35.14527855299821,5129 "ee/spec/services/merge_requests/merge_service_spec.rb": 36.98270503800086,5130 "ee/spec/services/members/activate_service_spec.rb": 27.436254699001438,5131 "ee/spec/services/auto_merge/merge_train_service_spec.rb": 26.601174704002915,5132 "ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb": 4.86703212899738,5133 "ee/spec/services/resource_access_tokens/create_service_spec.rb": 24.173397287002445,5134 "ee/spec/services/security/security_orchestration_policies/process_scan_result_policy_service_spec.rb": 24.118033543996717,5135 "ee/spec/models/productivity_analytics_spec.rb": 22.17446216299868,5136 "ee/spec/helpers/subscriptions_helper_spec.rb": 17.282327395998436,5137 "ee/spec/services/ee/issuable/bulk_update_service_spec.rb": 19.18941624099898,5138 "ee/spec/services/app_sec/dast/scanner_profiles/create_service_spec.rb": 19.264580372000637,5139 "ee/spec/models/concerns/ee/issuable_spec.rb": 13.458447939003236,5140 "ee/spec/services/namespaces/storage/email_notification_service_spec.rb": 9.216332418000093,5141 "ee/spec/workers/elastic/project_transfer_worker_spec.rb": 16.963201271999424,5142 "ee/spec/services/boards/epics/list_service_spec.rb": 10.703079630002321,5143 "ee/spec/lib/gitlab/auth/group_saml/gma_membership_enforcer_spec.rb": 13.819110258002183,5144 "ee/spec/graphql/mutations/dast_on_demand_scans/create_spec.rb": 15.047307589000411,5145 "ee/spec/graphql/types/dast_site_profile_type_spec.rb": 8.409701808999671,5146 "ee/spec/services/wiki_pages/update_service_spec.rb": 13.003098260000115,5147 "ee/spec/services/merge_trains/refresh_service_spec.rb": 12.28504047199749,5148 "ee/spec/views/projects/issues/show.html.haml_spec.rb": 3.755640704999678,5149 "ee/spec/services/boards/epics/move_service_spec.rb": 9.107281069998862,5150 "ee/spec/lib/ee/audit/project_setting_changes_auditor_spec.rb": 3.982115579998208,5151 "ee/spec/workers/admin_emails_worker_spec.rb": 7.4628857059979055,5152 "ee/spec/models/ci/daily_build_group_report_result_spec.rb": 10.883585330000642,5153 "ee/spec/models/dora/daily_metrics_spec.rb": 6.479929766999703,5154 "ee/spec/services/geo/project_housekeeping_service_spec.rb": 7.78101501099809,5155 "ee/spec/services/software_license_policies/create_service_spec.rb": 7.496065541999997,5156 "ee/spec/models/ee/pages_deployment_spec.rb": 7.798763399001473,5157 "ee/spec/services/merge_requests/approval_service_spec.rb": 8.347377434998634,5158 "ee/spec/helpers/ee/gitlab_routing_helper_spec.rb": 3.354965317997994,5159 "ee/spec/services/security/ingestion/tasks/ingest_finding_identifiers_spec.rb": 8.255441278000944,5160 "ee/spec/graphql/mutations/dast/profiles/create_spec.rb": 7.717400500001531,5161 "ee/spec/graphql/mutations/epics/add_issue_spec.rb": 7.021659499001544,5162 "ee/spec/services/security/findings/cleanup_service_spec.rb": 6.634728383000038,5163 "ee/spec/graphql/mutations/incident_management/oncall_rotation/create_spec.rb": 5.193246087997977,5164 "ee/spec/models/group_wiki_repository_spec.rb": 5.085131970001385,5165 "ee/spec/graphql/types/vulnerability_location_type_spec.rb": 6.582998089001194,5166 "ee/spec/workers/project_template_export_worker_spec.rb": 6.294202002001839,5167 "ee/spec/workers/geo/container_repository_sync_dispatch_worker_spec.rb": 6.765872688003583,5168 "ee/spec/graphql/mutations/boards/epics/create_spec.rb": 2.9428092050002306,5169 "ee/spec/models/concerns/geo/replicable_model_spec.rb": 2.5922640440003306,5170 "ee/spec/models/namespace_limit_spec.rb": 3.057246390999353,5171 "ee/spec/policies/protected_branch_policy_spec.rb": 5.120442996001657,5172 "ee/spec/views/shared/_mirror_update_button.html.haml_spec.rb": 3.32058028100073,5173 "ee/spec/graphql/mutations/security_policy/unassign_security_policy_project_spec.rb": 4.871779705001245,5174 "ee/spec/models/vulnerabilities/scanner_spec.rb": 3.193255304999184,5175 "ee/spec/services/app_sec/dast/scan_configs/fetch_service_spec.rb": 3.7763133500011463,5176 "ee/spec/lib/ee/audit/compliance_framework_changes_auditor_spec.rb": 3.995877624001878,5177 "ee/spec/helpers/ee/groups/group_members_helper_spec.rb": 3.3985754319983243,5178 "ee/spec/routing/webhook_routes_spec.rb": 3.380019174001063,5179 "ee/spec/lib/gitlab/status_page/storage_spec.rb": 1.6742870090020006,5180 "ee/spec/lib/gitlab/vulnerabilities/standard_vulnerability_spec.rb": 1.110605552999914,5181 "ee/spec/services/ci/runners/register_runner_service_spec.rb": 3.2682061769992288,5182 "ee/spec/services/security/security_orchestration_policies/project_create_service_spec.rb": 5.101745158000995,5183 "ee/spec/lib/gitlab/ci/templates/secret_detection_latest_gitlab_ci_yaml_spec.rb": 4.054621677998512,5184 "ee/spec/policies/dast/profile_schedule_policy_spec.rb": 3.2596342680008092,5185 "ee/spec/policies/ee/namespaces/user_namespace_policy_spec.rb": 2.173215702001471,5186 "ee/spec/lib/gitlab_subscriptions/upcoming_reconciliation_entity_spec.rb": 1.3646797340006742,5187 "ee/spec/services/ee/merge_requests/update_reviewers_service_spec.rb": 4.250288495000859,5188 "ee/spec/services/security/ingestion/finding_map_spec.rb": 2.6376118389998737,5189 "ee/spec/services/status_page/publish_service_spec.rb": 2.1496888140027295,5190 "ee/spec/workers/merge_requests/stream_approval_audit_event_worker_spec.rb": 2.379197087997454,5191 "ee/spec/lib/ee/gitlab/import_export/project/tree_saver_spec.rb": 2.1227842179978325,5192 "ee/spec/lib/gitlab/geo/signed_data_spec.rb": 1.1222789920029754,5193 "ee/spec/helpers/ee/dashboard_helper_spec.rb": 2.324663644001703,5194 "ee/spec/services/projects/cleanup_service_spec.rb": 2.6474154780007666,5195 "ee/spec/graphql/resolvers/iterations/cadences_resolver_spec.rb": 3.16424810999888,5196 "ee/spec/models/ee/release_spec.rb": 2.310061416003009,5197 "ee/spec/lib/ee/sidebars/groups/menus/issues_menu_spec.rb": 3.2846169149997877,5198 "ee/spec/workers/merge_request_reset_approvals_worker_spec.rb": 1.395722160999867,5199 "ee/spec/models/ee/key_spec.rb": 0.8956562479979766,5200 "ee/spec/workers/merge_requests/sync_code_owner_approval_rules_worker_spec.rb": 1.5019424179990892,5201 "ee/spec/graphql/mutations/vulnerabilities/dismiss_spec.rb": 3.5301734780005063,5202 "ee/spec/services/analytics/cycle_analytics/stages/list_service_spec.rb": 1.623778975001187,5203 "ee/spec/graphql/mutations/vulnerabilities/revert_to_detected_spec.rb": 2.8516024939999625,5204 "ee/spec/policies/incident_management/oncall_shift_policy_spec.rb": 2.4450581210003293,5205 "ee/spec/lib/ee/gitlab/auth/ldap/sync/external_users_spec.rb": 2.74793071699969,5206 "ee/spec/graphql/resolvers/vulnerabilities/container_images_resolver_spec.rb": 2.20155984899975,5207 "ee/spec/models/ee/alert_management/alert_spec.rb": 1.9759867649991065,5208 "ee/spec/graphql/mutations/boards/epic_lists/create_spec.rb": 1.2015875739998592,5209 "ee/spec/services/ci/minutes/additional_packs/create_service_spec.rb": 1.033142262000183,5210 "ee/spec/models/ee/project_wiki_spec.rb": 1.6998904760002915,5211 "ee/spec/finders/ee/clusters/agents_finder_spec.rb": 2.1231100379991403,5212 "ee/spec/lib/gitlab/auth/group_saml/xml_response_spec.rb": 1.8493110000017623,5213 "ee/spec/views/subscriptions/buy_storage.html.haml_spec.rb": 1.2469775579993438,5214 "ee/spec/workers/ci/initial_pipeline_process_worker_spec.rb": 2.4077348059981887,5215 "ee/spec/lib/gitlab/sitemaps/generator_spec.rb": 3.9997459730002447,5216 "ee/spec/lib/ee/audit/group_changes_auditor_spec.rb": 2.1028201510016515,5217 "ee/spec/policies/approval_project_rule_policy_spec.rb": 1.9709536849986762,5218 "ee/spec/finders/dast/profiles_finder_spec.rb": 2.0920019810000667,5219 "ee/spec/models/concerns/deprecated_approvals_before_merge_spec.rb": 2.1753475819969026,5220 "ee/spec/models/ee/groups/feature_setting_spec.rb": 0.9388206129988248,5221 "ee/spec/workers/incident_management/pending_escalations/schedule_check_cron_worker_spec.rb": 2.202701469002932,5222 "ee/spec/services/work_items/update_service_spec.rb": 1.1832548050006153,5223 "ee/spec/models/namespaces/free_user_cap_spec.rb": 0.5441659479984082,5224 "ee/spec/services/geo/container_repository_sync_spec.rb": 1.1014654140017228,5225 "ee/spec/services/app_sec/dast/site_profiles/audit/update_service_spec.rb": 1.345915137000702,5226 "ee/spec/workers/analytics/cycle_analytics/consistency_worker_spec.rb": 1.47556944200187,5227 "ee/spec/serializers/dashboard_environment_entity_spec.rb": 2.0057777610018093,5228 "ee/spec/services/elastic/process_initial_bookkeeping_service_spec.rb": 1.826032902001316,5229 "ee/spec/models/concerns/elastic/projects_search_spec.rb": 0.23608398199939984,5230 "ee/spec/workers/app_sec/dast/site_profiles_builds/consistency_worker_spec.rb": 1.0460105210004258,5231 "ee/spec/lib/gitlab/incident_management_spec.rb": 0.8900112690025708,5232 "ee/spec/graphql/mutations/instance_security_dashboard/remove_project_spec.rb": 1.5683543109989841,5233 "ee/spec/models/vulnerabilities/finding_link_spec.rb": 1.4716883520013653,5234 "ee/spec/lib/gitlab/insights/finders/projects_finder_spec.rb": 1.369306193999364,5235 "ee/spec/lib/gitlab/metrics/samplers/global_search_sampler_spec.rb": 1.3698280440003145,5236 "ee/spec/helpers/markup_helper_spec.rb": 1.4481157240006723,5237 "ee/spec/serializers/vulnerabilities/response_entity_spec.rb": 1.6525188019986672,5238 "ee/spec/models/concerns/ee/weight_eventable_spec.rb": 1.3330983080013539,5239 "ee/spec/graphql/types/security/training_type_spec.rb": 0.2585752900013176,5240 "ee/spec/lib/gitlab/auth/group_saml/response_store_spec.rb": 0.6842393820006691,5241 "ee/spec/services/analytics/devops_adoption/enabled_namespaces/delete_service_spec.rb": 1.319623010000214,5242 "ee/spec/services/ee/terraform/states/destroy_service_spec.rb": 1.3796010020014364,5243 "ee/spec/models/analytics/language_trend/repository_language_spec.rb": 0.53038731000197,5244 "ee/spec/models/milestone_spec.rb": 0.3575635189990862,5245 "ee/spec/lib/gitlab/ci/parsers/security/coverage_fuzzing_spec.rb": 2.4604128190003394,5246 "ee/spec/workers/ci/sync_reports_to_report_approval_rules_worker_spec.rb": 0.3371743619973131,5247 "ee/spec/views/shared/issuable/_health_status_dropdown.html.haml_spec.rb": 1.110169103001681,5248 "ee/spec/initializers/database_config_spec.rb": 0.7796453709997877,5249 "ee/spec/helpers/ee/feature_flags_helper_spec.rb": 0.6940320209978381,5250 "ee/spec/presenters/project_member_presenter_spec.rb": 0.2901231869982439,5251 "ee/spec/lib/gitlab/analytics/cycle_analytics/aggregated/data_for_duration_chart_spec.rb": 0.9892899669976032,5252 "ee/spec/lib/gitlab/ci/reports/license_scanning/dependency_spec.rb": 1.253907447000529,5253 "ee/spec/models/group_deletion_schedule_spec.rb": 0.9307688340013556,5254 "ee/spec/serializers/vulnerability_entity_spec.rb": 1.0945658249984263,5255 "ee/spec/serializers/linked_feature_flag_issue_entity_spec.rb": 1.0723036769995815,5256 "ee/spec/lib/bulk_imports/common/pipelines/wiki_pipeline_spec.rb": 1.071628657002293,5257 "ee/spec/workers/security/auto_fix_worker_spec.rb": 0.694947341002262,5258 "ee/spec/validators/password/complexity_validator_spec.rb": 0.5794753739974112,5259 "ee/spec/workers/audit_events/user_impersonation_event_create_worker_spec.rb": 0.4342577200004598,5260 "ee/spec/models/concerns/elastic/application_versioned_search_spec.rb": 0.24854504200266092,5261 "ee/spec/lib/gitlab/insights/serializers/chartjs/bar_serializer_spec.rb": 0.34359710100034135,5262 "ee/spec/serializers/metrics_report_metric_entity_spec.rb": 0.301267735001602,5263 "ee/spec/graphql/mutations/namespaces/increase_storage_temporarily_spec.rb": 0.7485862249995989,5264 "ee/spec/services/groups/schedule_bulk_repository_shard_moves_service_spec.rb": 0.7098156890024256,5265 "ee/spec/graphql/types/push_rules_type_spec.rb": 0.29021139700125786,5266 "ee/spec/graphql/types/vulnerable_kubernetes_resource_type_spec.rb": 0.2759745080002176,5267 "ee/spec/elastic/migrate/20210201104800_migrate_notes_to_separate_index_spec.rb": 0.48729502499918453,5268 "ee/spec/graphql/types/geo/registry_state_enum_spec.rb": 0.1677520410012221,5269 "ee/spec/graphql/types/audit_events/streaming/header_type_spec.rb": 0.249837061001017,5270 "ee/spec/lib/gitlab/code_owners/reference_extractor_spec.rb": 0.3638633980008308,5271 "ee/spec/lib/gitlab/ci/reports/metrics/report_spec.rb": 0.2886587069988309,5272 "ee/spec/models/boards/epic_board_label_spec.rb": 0.5467462969972985,5273 "ee/spec/graphql/types/boards/epic_list_type_spec.rb": 0.41075261299920385,5274 "ee/spec/graphql/ee/types/mutation_type_spec.rb": 0.17507964999822434,5275 "ee/spec/graphql/types/merge_requests/approval_state_type_spec.rb": 0.325515163000091,5276 "ee/spec/helpers/ee/version_check_helper_spec.rb": 0.6679175739991479,5277 "ee/spec/graphql/types/vulnerability_location/generic_type_spec.rb": 0.5780084239995631,5278 "ee/spec/lib/ee/bulk_imports/groups/stage_spec.rb": 0.5547904269988067,5279 "ee/spec/lib/gitlab/usage/metrics/instrumentations/advanced_search/build_type_metric_spec.rb": 0.5306917389971204,5280 "ee/spec/services/users/update_highest_member_role_service_spec.rb": 0.6822153020002588,5281 "ee/spec/lib/ee/gitlab/usage/service_ping/payload_keys_processor_spec.rb": 4.641833770998346,5282 "ee/spec/lib/gitlab/status_page/filter/mention_anonymization_filter_spec.rb": 0.23762593299761647,5283 "ee/spec/models/protected_branch/unprotect_access_level_spec.rb": 0.36382707899974776,5284 "ee/spec/graphql/types/ci/code_quality_degradation_severity_enum_spec.rb": 0.79796037900086965285}5286Knapsack global time execution for tests: 38m 39s5287Pending: (Failures listed here are expected and do not affect your suite's status)5288 1) WikiPages::UpdateService behaves like WikiPages::UpdateService#execute the page is at the top level adds a new wiki page activity event5289 # group wiki support5290 Failure/Error: expect { service.execute(page) }.to change { Event.count }.by 15291 expected `Event.count` to have changed by 1, but was changed by 05292 Shared Example Group: "adds activity event" called from ./spec/support/shared_examples/services/wiki_pages/update_service_shared_examples.rb:635293 Shared Example Group: "WikiPages::UpdateService#execute" called from ./ee/spec/services/wiki_pages/update_service_spec.rb:415294 # ./spec/support/shared_examples/services/wiki_pages/update_service_shared_examples.rb:50:in `block (3 levels) in <top (required)>'5295 # ./spec/spec_helper.rb:435:in `block (3 levels) in <top (required)>'5296 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'5297 # ./spec/spec_helper.rb:426:in `block (2 levels) in <top (required)>'5298 # ./spec/spec_helper.rb:422:in `block (3 levels) in <top (required)>'5299 # ./lib/gitlab/application_context.rb:56:in `with_raw_context'5300 # ./spec/spec_helper.rb:422:in `block (2 levels) in <top (required)>'5301 # ./spec/spec_helper.rb:265:in `block (2 levels) in <top (required)>'5302 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'5303 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'5304 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'5305 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'5306 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'5307 2) WikiPages::UpdateService behaves like WikiPages::UpdateService#execute the page is in a subsection adds a new wiki page activity event5308 # group wiki support5309 Failure/Error: expect { service.execute(page) }.to change { Event.count }.by 15310 expected `Event.count` to have changed by 1, but was changed by 05311 Shared Example Group: "adds activity event" called from ./spec/support/shared_examples/services/wiki_pages/update_service_shared_examples.rb:695312 Shared Example Group: "WikiPages::UpdateService#execute" called from ./ee/spec/services/wiki_pages/update_service_spec.rb:415313 # ./spec/support/shared_examples/services/wiki_pages/update_service_shared_examples.rb:50:in `block (3 levels) in <top (required)>'5314 # ./spec/spec_helper.rb:435:in `block (3 levels) in <top (required)>'5315 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'5316 # ./spec/spec_helper.rb:426:in `block (2 levels) in <top (required)>'5317 # ./spec/spec_helper.rb:422:in `block (3 levels) in <top (required)>'5318 # ./lib/gitlab/application_context.rb:56:in `with_raw_context'5319 # ./spec/spec_helper.rb:422:in `block (2 levels) in <top (required)>'5320 # ./spec/spec_helper.rb:265:in `block (2 levels) in <top (required)>'5321 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'5322 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'5323 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'5324 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'5325 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'5326Failures:5327 1) Mutations::Dast::Profiles::Create#resolve when the feature is licensed when the user can run a dast scan when run_after_create=true behaves like it creates a DAST on-demand scan pipeline creates a new ci_pipeline for the given project5328 Got 4 failures and 1 other error:5329 Shared Example Group: "it creates a DAST on-demand scan pipeline" called from ./ee/spec/graphql/mutations/dast/profiles/create_spec.rb:565330 1.1) Failure/Error: example.run5331 expected `Ci::Pipeline.where(project: project).count` to have changed by 1, but was changed by 05332 # ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:17:in `block (2 levels) in <top (required)>'5333 # ./spec/spec_helper.rb:435:in `block (3 levels) in <top (required)>'5334 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'5335 # ./spec/spec_helper.rb:426:in `block (2 levels) in <top (required)>'5336 # ./spec/spec_helper.rb:422:in `block (3 levels) in <top (required)>'5337 # ./lib/gitlab/application_context.rb:56:in `with_raw_context'5338 # ./spec/spec_helper.rb:422:in `block (2 levels) in <top (required)>'5339 # ./spec/spec_helper.rb:265:in `block (2 levels) in <top (required)>'5340 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'5341 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'5342 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'5343 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'5344 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'5345 1.2) Failure/Error: example.run5346 expected `Ci::Pipeline.where(project: project).count` to have changed by 1, but was changed by 05347 # ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:17:in `block (2 levels) in <top (required)>'5348 # ./spec/spec_helper.rb:435:in `block (3 levels) in <top (required)>'5349 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'5350 # ./spec/spec_helper.rb:426:in `block (2 levels) in <top (required)>'5351 # ./spec/spec_helper.rb:422:in `block (3 levels) in <top (required)>'5352 # ./lib/gitlab/application_context.rb:56:in `with_raw_context'5353 # ./spec/spec_helper.rb:422:in `block (2 levels) in <top (required)>'5354 # ./spec/spec_helper.rb:265:in `block (2 levels) in <top (required)>'5355 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'5356 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'5357 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'5358 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'5359 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'5360 1.3) Failure/Error: example.run5361 expected `Ci::Pipeline.where(project: project).count` to have changed by 1, but was changed by 05362 # ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:17:in `block (2 levels) in <top (required)>'5363 # ./spec/spec_helper.rb:435:in `block (3 levels) in <top (required)>'5364 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'5365 # ./spec/spec_helper.rb:426:in `block (2 levels) in <top (required)>'5366 # ./spec/spec_helper.rb:422:in `block (3 levels) in <top (required)>'5367 # ./lib/gitlab/application_context.rb:56:in `with_raw_context'5368 # ./spec/spec_helper.rb:422:in `block (2 levels) in <top (required)>'5369 # ./spec/spec_helper.rb:265:in `block (2 levels) in <top (required)>'5370 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'5371 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'5372 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'5373 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'5374 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'5375 1.4) Failure/Error: example.run5376 expected `Ci::Pipeline.where(project: project).count` to have changed by 1, but was changed by 05377 # ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:17:in `block (2 levels) in <top (required)>'5378 # ./spec/spec_helper.rb:435:in `block (3 levels) in <top (required)>'5379 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'5380 # ./spec/spec_helper.rb:426:in `block (2 levels) in <top (required)>'5381 # ./spec/spec_helper.rb:422:in `block (3 levels) in <top (required)>'5382 # ./lib/gitlab/application_context.rb:56:in `with_raw_context'5383 # ./spec/spec_helper.rb:422:in `block (2 levels) in <top (required)>'5384 # ./spec/spec_helper.rb:265:in `block (2 levels) in <top (required)>'5385 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'5386 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'5387 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'5388 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'5389 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'5390 1.5) Failure/Error: example.run5391 ActiveRecord::RecordNotFound:5392 Couldn't find Ci::Pipeline5393 # ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:8:in `block (2 levels) in <top (required)>'5394 # ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:19:in `block (2 levels) in <top (required)>'5395 # ./spec/spec_helper.rb:435:in `block (3 levels) in <top (required)>'5396 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'5397 # ./spec/spec_helper.rb:426:in `block (2 levels) in <top (required)>'5398 # ./spec/spec_helper.rb:422:in `block (3 levels) in <top (required)>'5399 # ./lib/gitlab/application_context.rb:56:in `with_raw_context'5400 # ./spec/spec_helper.rb:422:in `block (2 levels) in <top (required)>'5401 # ./spec/spec_helper.rb:265:in `block (2 levels) in <top (required)>'5402 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'5403 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'5404 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'5405 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'5406 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'5407 2) Mutations::Dast::Profiles::Create#resolve when the feature is licensed when the user can run a dast scan when run_after_create=true behaves like it creates a DAST on-demand scan pipeline creates a single build associated with the ci_pipeline5408 Failure/Error: example.run5409 ActiveRecord::RecordNotFound:5410 Couldn't find Ci::Pipeline5411 Shared Example Group: "it creates a DAST on-demand scan pipeline" called from ./ee/spec/graphql/mutations/dast/profiles/create_spec.rb:565412 # ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:8:in `block (2 levels) in <top (required)>'5413 # ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:25:in `block (2 levels) in <top (required)>'5414 # ./spec/spec_helper.rb:435:in `block (3 levels) in <top (required)>'5415 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'5416 # ./spec/spec_helper.rb:426:in `block (2 levels) in <top (required)>'5417 # ./spec/spec_helper.rb:422:in `block (3 levels) in <top (required)>'5418 # ./lib/gitlab/application_context.rb:56:in `with_raw_context'5419 # ./spec/spec_helper.rb:422:in `block (2 levels) in <top (required)>'5420 # ./spec/spec_helper.rb:265:in `block (2 levels) in <top (required)>'5421 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'5422 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'5423 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'5424 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'5425 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'5426 3) Mutations::Dast::Profiles::Create#resolve when the feature is licensed when the user can run a dast scan when run_after_create=true behaves like it creates a DAST on-demand scan pipeline creates an association between the dast_profile and the ci_pipeline5427 Failure/Error: example.run5428 ActiveRecord::RecordNotFound:5429 Couldn't find Ci::Pipeline5430 Shared Example Group: "it creates a DAST on-demand scan pipeline" called from ./ee/spec/graphql/mutations/dast/profiles/create_spec.rb:565431 # ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:8:in `block (2 levels) in <top (required)>'5432 # ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:31:in `block (2 levels) in <top (required)>'5433 # ./spec/spec_helper.rb:435:in `block (3 levels) in <top (required)>'5434 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'5435 # ./spec/spec_helper.rb:426:in `block (2 levels) in <top (required)>'5436 # ./spec/spec_helper.rb:422:in `block (3 levels) in <top (required)>'5437 # ./lib/gitlab/application_context.rb:56:in `with_raw_context'5438 # ./spec/spec_helper.rb:422:in `block (2 levels) in <top (required)>'5439 # ./spec/spec_helper.rb:265:in `block (2 levels) in <top (required)>'5440 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'5441 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'5442 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'5443 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'5444 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'5445 4) Mutations::Dast::Profiles::Create#resolve when the feature is licensed when the user can run a dast scan when run_after_create=true behaves like it creates a DAST on-demand scan pipeline returns the pipeline_url5446 Failure/Error: example.run5447 ActiveRecord::RecordNotFound:5448 Couldn't find Ci::Pipeline5449 Shared Example Group: "it creates a DAST on-demand scan pipeline" called from ./ee/spec/graphql/mutations/dast/profiles/create_spec.rb:565450 # ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:8:in `block (2 levels) in <top (required)>'5451 # ./ee/spec/support/shared_examples/graphql/mutations/dast_on_demand_scans_shared_examples.rb:39:in `block (2 levels) in <top (required)>'5452 # ./spec/spec_helper.rb:435:in `block (3 levels) in <top (required)>'5453 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'5454 # ./spec/spec_helper.rb:426:in `block (2 levels) in <top (required)>'5455 # ./spec/spec_helper.rb:422:in `block (3 levels) in <top (required)>'5456 # ./lib/gitlab/application_context.rb:56:in `with_raw_context'5457 # ./spec/spec_helper.rb:422:in `block (2 levels) in <top (required)>'5458 # ./spec/spec_helper.rb:265:in `block (2 levels) in <top (required)>'5459 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'5460 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'5461 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'5462 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'5463 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'5464Finished in 38 minutes 43 seconds (files took 1 minute 20.62 seconds to load)54651962 examples, 4 failures, 2 pending5466Failed examples:5467rspec './ee/spec/graphql/mutations/dast/profiles/create_spec.rb[1:2:1:1:3:2:1]' # Mutations::Dast::Profiles::Create#resolve when the feature is licensed when the user can run a dast scan when run_after_create=true behaves like it creates a DAST on-demand scan pipeline creates a new ci_pipeline for the given project5468rspec './ee/spec/graphql/mutations/dast/profiles/create_spec.rb[1:2:1:1:3:2:2]' # Mutations::Dast::Profiles::Create#resolve when the feature is licensed when the user can run a dast scan when run_after_create=true behaves like it creates a DAST on-demand scan pipeline creates a single build associated with the ci_pipeline5469rspec './ee/spec/graphql/mutations/dast/profiles/create_spec.rb[1:2:1:1:3:2:3]' # Mutations::Dast::Profiles::Create#resolve when the feature is licensed when the user can run a dast scan when run_after_create=true behaves like it creates a DAST on-demand scan pipeline creates an association between the dast_profile and the ci_pipeline5470rspec './ee/spec/graphql/mutations/dast/profiles/create_spec.rb[1:2:1:1:3:2:4]' # Mutations::Dast::Profiles::Create#resolve when the feature is licensed when the user can run a dast scan when run_after_create=true behaves like it creates a DAST on-demand scan pipeline returns the pipeline_url5471Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected5472RSpec exited with 1.5473Retrying the failing examples in a new RSpec process...5474$ gem install junit_merge --no-document --version 0.1.25475Successfully installed nokogiri-1.13.8-x86_64-linux5476Successfully installed junit_merge-0.1.254772 gems installed5478==> 'gem install junit_merge --no-document --version 0.1.2' succeeded in 1 seconds.5479Running RSpec command: bin/rspec -Ispec -rspec_helper --color --format documentation --format RspecJunitFormatter --out rspec/junit_rspec-retry.xml --only-failures --pattern "{ee/}spec/{bin,channels,config,db,dependencies,elastic,elastic_integration,experiments,factories,finders,frontend,graphql,haml_lint,helpers,initializers,lib,metrics_server,models,policies,presenters,rack_servers,replicators,routing,rubocop,scripts,serializers,services,sidekiq,sidekiq_cluster,spam,support_specs,tasks,uploaders,validators,views,workers,tooling,components}{,/**/}*_spec.rb"5480Run options: include {:last_run_status=>"failed"}5481Test environment set up in 1.335733158 seconds5482Mutations::Dast::Profiles::Create5483 #resolve5484 when the feature is licensed5485 when the user can run a dast scan5486 when run_after_create=true5487 behaves like it creates a DAST on-demand scan pipeline5488 creates a new ci_pipeline for the given project5489 creates a single build associated with the ci_pipeline5490 creates an association between the dast_profile and the ci_pipeline5491 returns the pipeline_url5492Finished in 10.79 seconds (files took 47.2 seconds to load)54934 examples, 0 failures5495Not uploading cache ruby-gems-debian-bullseye-ruby-2.7-14 due to policy5496Not uploading cache gitaly-ruby-gems-debian-bullseye-ruby-2.7-14 due to policy5498Uploading artifacts...5499coverage/: found 4 matching files and directories 5500crystalball/: found 2 matching files and directories 5501deprecations/: found 6 matching files and directories 5502knapsack/: found 3 matching files and directories 5503rspec/: found 10 matching files and directories 5504WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory 5505log/*.log: found 20 matching files and directories 5506WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/2929379606/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com5507WARNING: Retrying... context=artifacts-uploader error=request redirected5508Uploading artifacts as "archive" to coordinator... 201 Created id=2929379606 responseStatus=201 Created token=4ogrSsrn5509Uploading artifacts...5510rspec/junit_rspec.xml: found 1 matching files and directories 5511WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/2929379606/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com5512WARNING: Retrying... context=artifacts-uploader error=request redirected5513Uploading artifacts as "junit" to coordinator... 201 Created id=2929379606 responseStatus=201 Created token=4ogrSsrn5515Job succeeded