rspec-ee unit pg12 single-db 12/16
Passed Started
by
@leetickett

Lee Tickett
1Running with gitlab-runner 15.2.0~beta.17.g34ae4a68 (34ae4a68)2 on green-1.private.runners-manager.gitlab.com/gitlab.com/gitlab-org 4bq1s9yM3 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-101-yarn-1.22-graphicsmagick-1.3.36 ...7Starting service postgres:12 ...8Pulling docker image postgres:12 ...9Using docker image sha256:ac3b8cd6a8b42e839456256bc514d6230b5a2538c738b3d522e1384a2a172b96 for postgres:12 with digest postgres@sha256:e6ffad42c91a4d5a29257a27ac4e160c3ae7196696b37bf2e80410024ed95951 ...10Starting service redis:6.0-alpine ...11Pulling docker image redis:6.0-alpine ...12Using docker image sha256:09401fed2a421bf0019f96dcec70c85f82ec7b76beb1ae589547b0dc302d6b76 for redis:6.0-alpine with digest redis@sha256:217a9db40a914cc3f6206a143a4d750da0607500cc013a147a4979e08e40beff ...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-101-yarn-1.22-graphicsmagick-1.3.36 ...19Using docker image sha256:642191311550aaa03aba1d11d8d921042ead8ee5afeb833fc7e4e3f933b7ed04 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-101-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:f0990c59018be757dd56365bb2cc6791d65f3f4bf99a431c3b26e3df08260f6a ...21Running on runner-4bq1s9ym-project-278964-concurrent-0 via runner-4bq1s9ym-private-1656907550-ffdbdf9b...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: 115982, done. 28remote: Counting objects: 100% (115982/115982), done. 29remote: Compressing objects: 100% (81018/81018), done. 30remote: Total 115982 (delta 48513), reused 75495 (delta 30560), pack-reused 0 31Receiving objects: 100% (115982/115982), 108.44 MiB | 21.70 MiB/s, done.32Resolving deltas: 100% (48513/48513), done.34 * [new ref] refs/pipelines/579176392 -> refs/pipelines/57917639235Checking out 204b4379 as refs/merge-requests/91556/merge...36Skipping Git submodules setup37$ git remote set-url origin "${CI_REPOSITORY_URL}"39Checking cache for ruby-gems-debian-bullseye-ruby-2.7-10...40cache.zip is up to date 41Successfully extracted cache42Checking cache for gitaly-ruby-gems-debian-bullseye-ruby-2.7-10...43cache.zip is up to date 44Successfully extracted cache46Downloading artifacts for compile-test-assets (2673336706)...47Downloading artifacts from coordinator... ok id=2673336706 responseStatus=200 OK token=xV7BdZzz48Downloading artifacts for detect-tests (2673336715)...49Downloading artifacts from coordinator... ok id=2673336715 responseStatus=200 OK token=xV7BdZzz50Downloading artifacts for retrieve-tests-metadata (2673336722)...51Downloading artifacts from coordinator... ok id=2673336722 responseStatus=200 OK token=xV7BdZzz52Downloading artifacts for setup-test-env (2673336712)...53Downloading artifacts from coordinator... ok id=2673336712 responseStatus=200 OK token=xV7BdZzz55Using docker image sha256:642191311550aaa03aba1d11d8d921042ead8ee5afeb833fc7e4e3f933b7ed04 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-101-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:f0990c59018be757dd56365bb2cc6791d65f3f4bf99a431c3b26e3df08260f6a ...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.3.5 with native extensions86==> 'bundle pristine pg' succeeded in 10 seconds.87$ setup_db_user_only88CREATE ROLE89GRANT90==> 'setup_db_user_only' succeeded in 0 seconds.91$ bundle exec rake db:drop db:create db:schema:load db:migrate92Dropped database 'gitlabhq_test'93Dropped database 'gitlabhq_geo_test'94Created database 'gitlabhq_test'95Created database 'gitlabhq_geo_test'96==> 'bundle exec rake db:drop db:create db:schema:load db:migrate' succeeded in 27 seconds.97$ setup_db_praefect98SELECT pg_catalog.set_config('search_path', '', false);99CREATE DATABASE praefect_test ENCODING 'UTF8';100==> 'setup_db_praefect' succeeded in 0 seconds.101$ run_timed_command "gem install knapsack --no-document"102$ gem install knapsack --no-document103Successfully installed knapsack-4.0.01041 gem installed105==> 'gem install knapsack --no-document' succeeded in 0 seconds.106$ run_timed_command "scripts/gitaly-test-spawn"107$ scripts/gitaly-test-spawn108find: ‘/builds/gitlab-org/gitlab/tmp/tests/gitaly/cmd’: No such file or directory109Don't run Bundler as root. Bundler can ask for sudo if it is needed, and110installing your bundle as root will break this application for all non-root111users on this machine.112Using abstract_type 0.0.7113Using concurrent-ruby 1.1.10114Using i18n 1.10.0115Using minitest 5.15.0116Using tzinfo 2.0.4117Using zeitwerk 2.5.4118Using activesupport 6.1.4.7119Using builder 3.2.4120Using erubi 1.10.0121Using mini_portile2 2.8.0122Using racc 1.6.0123Using nokogiri 1.13.6 (x86_64-linux)124Using rails-dom-testing 2.0.3125Using crass 1.0.6126Using loofah 2.16.0127Using rails-html-sanitizer 1.4.2128Using actionview 6.1.4.7129Using rack 2.2.3130Using rack-test 1.1.0131Using actionpack 6.1.4.7132Using ice_nine 0.11.2133Using thread_safe 0.3.6134Using memoizable 0.4.2135Using adamantium 0.2.0136Using public_suffix 4.0.6137Using addressable 2.7.0138Using ast 2.4.2139Using binding_ninja 0.2.3140Using bundler 2.3.15141Using charlock_holmes 0.7.7142Using coderay 1.1.2143Using equalizer 0.0.11144Using concord 0.1.5145Using diff-lcs 1.3146Using dotenv 2.7.6147Using escape_utils 1.2.1148Using factory_bot 5.0.2149Using multipart-post 2.1.1150Using faraday 1.0.1151Using ffi 1.15.3152Using json 2.5.1153Using gemojione 3.3.0154Using mini_mime 1.0.2155Using rugged 1.2.0156Using github-linguist 7.12.1157Using github-markup 1.7.0158Using mime-types-data 3.2020.1104159Using mime-types 3.3.1160Using gitlab-gollum-rugged_adapter 0.4.4.4.gitlab.1161Using rouge 3.27.0162Using sanitize 6.0.0163Using stringex 2.8.5164Using gitlab-gollum-lib 4.2.7.10.gitlab.2165Using google-protobuf 3.19.1 (x86_64-linux)166Using googleapis-common-protos-types 1.3.0167Using grpc 1.42.0 (x86_64-linux)168Using opentracing 0.5.0169Using thrift 0.15.0170Using jaeger-client 1.1.0171Using pg_query 2.1.1172Using redis 4.4.0173Using gitlab-labkit 0.23.0174Using rubyzip 2.3.2175Using thor 1.1.0176Using tomlrb 2.0.1177Using with_env 1.1.0178Using rexml 3.2.5179Using xml-simple 1.1.9180Using gitlab-license_finder 6.14.2.1181Using gitlab-markup 1.7.1182Using grpc-tools 1.42.0183Using sawyer 0.8.2184Using octokit 4.20.0185Using reverse_markdown 1.4.0186Using licensee 9.14.1187Using method_source 0.9.2188Using msgpack 1.3.3189Using optimist 3.0.1190Using parallel 1.19.2191Using parser 3.0.3.2192Using procto 0.0.3193Using unparser 0.4.7194Using proc_to_ast 0.1.0195Using pry 0.12.2196Using rainbow 3.0.0197Using rbtrace 0.4.14198Using rdoc 6.3.2199Using regexp_parser 1.8.1200Using rspec-support 3.8.0201Using rspec-core 3.8.0202Using rspec-expectations 3.8.3203Using rspec-mocks 3.8.0204Using rspec 3.8.0205Using rspec-parameterized 0.4.2206Using rubocop-ast 0.2.0207Using ruby-progressbar 1.10.1208Using unicode-display_width 1.7.0209Using rubocop 0.86.0210Using sentry-raven 3.0.4211Using timecop 0.9.1212Bundle complete! 22 Gemfile dependencies, 100 gems now installed.213Gems in the groups 'production' and 'development' were not installed.214Bundled gems are installed into `/builds/gitlab-org/gitlab/vendor/gitaly-ruby`215Checking gitaly-ruby Gemfile...216Checking gitaly-ruby bundle...217The Gemfile's dependencies are satisfied218Trying to connect to gitaly: ....................................... OK219Trying to connect to gitaly2: ......................................................... OK220Starting Praefect with in-memory election strategyTrying to connect to praefect: ........ OK221==> 'scripts/gitaly-test-spawn' succeeded in 12 seconds.222$ source ./scripts/rspec_helpers.sh223$ rspec_paralellized_job "--tag ~quarantine --tag ~level:migration"224SKIP_FLAKY_TESTS_AUTOMATICALLY: true225RETRY_FAILED_TESTS_IN_NEW_PROCESS: true226KNAPSACK_GENERATE_REPORT: true227FLAKY_RSPEC_GENERATE_REPORT: true228KNAPSACK_TEST_FILE_PATTERN: {ee/}spec/{bin,channels,config,db,dependencies,elastic,elastic_integration,experiments,events,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.rb229KNAPSACK_LOG_LEVEL: debug230KNAPSACK_REPORT_PATH: knapsack/rspec-ee_unit_pg12_single-db_12_16_report.json231FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json232FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec-ee_unit_pg12_single-db_12_16_report.json233NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec-ee_unit_pg12_single-db_12_16_report.json234SKIPPED_FLAKY_TESTS_REPORT_PATH: rspec/flaky/skipped_flaky_tests_rspec-ee_unit_pg12_single-db_12_16_report.txt235RETRIED_TESTS_REPORT_PATH: rspec/flaky/retried_tests_rspec-ee_unit_pg12_single-db_12_16_report.txt236CRYSTALBALL: 237Knapsack node specs:238ee/spec/lib/ee/gitlab/usage_data_spec.rb239ee/spec/lib/gitlab/insights/finders/issuable_finder_spec.rb240ee/spec/services/members/activate_service_spec.rb241ee/spec/models/geo/terraform_state_version_registry_spec.rb242ee/spec/lib/compliance_management/merge_request_approval_settings/resolver_spec.rb243ee/spec/services/epics/epic_links/create_service_spec.rb244ee/spec/replicators/geo/merge_request_diff_replicator_spec.rb245ee/spec/models/burndown_spec.rb246ee/spec/lib/gitlab/import_export/attributes_permitter_spec.rb247ee/spec/models/geo/pages_deployment_registry_spec.rb248ee/spec/lib/gitlab/elastic/snippet_search_results_spec.rb249ee/spec/services/elastic/cluster_reindexing_service_spec.rb250ee/spec/services/todo_service_spec.rb251ee/spec/services/merge_requests/push_options_handler_service_spec.rb252ee/spec/lib/ee/gitlab/background_migration/populate_status_column_of_security_scans_spec.rb253ee/spec/services/ci/process_build_service_spec.rb254ee/spec/workers/store_security_reports_worker_spec.rb255ee/spec/services/groups/sync_service_spec.rb256ee/spec/lib/gitlab/background_migration/migrate_requirements_to_work_items_spec.rb257ee/spec/services/geo/framework_repository_sync_service_spec.rb258ee/spec/lib/ee/gitlab/background_migration/populate_resolved_on_default_branch_column_spec.rb259ee/spec/services/vulnerabilities/create_service_spec.rb260ee/spec/lib/gitlab/auth/ldap/access_spec.rb261ee/spec/lib/gitlab/expiring_subscription_message_spec.rb262ee/spec/services/status_page/trigger_publish_service_spec.rb263ee/spec/services/security/vulnerability_counting_service_spec.rb264ee/spec/services/requirements_management/import_csv_service_spec.rb265ee/spec/finders/merge_requests_finder_spec.rb266ee/spec/services/app_sec/dast/scans/run_service_spec.rb267ee/spec/helpers/ee/issues_helper_spec.rb268ee/spec/workers/geo/secondary/registry_consistency_worker_spec.rb269ee/spec/services/ee/boards/lists/create_service_spec.rb270ee/spec/finders/audit_log_finder_spec.rb271ee/spec/finders/security/vulnerability_reads_finder_spec.rb272ee/spec/models/status_page/project_setting_spec.rb273ee/spec/replicators/geo/group_wiki_repository_replicator_spec.rb274ee/spec/graphql/mutations/issues/set_weight_spec.rb275ee/spec/models/concerns/epic_tree_sorting_spec.rb276ee/spec/presenters/ci/pipeline_presenter_spec.rb277ee/spec/services/ci/create_pipeline_service/dast_configuration_spec.rb278ee/spec/services/ci/subscribe_bridge_service_spec.rb279ee/spec/lib/analytics/refresh_comments_data_spec.rb280ee/spec/workers/security/store_scans_worker_spec.rb281ee/spec/lib/gitlab/search/recent_epics_spec.rb282ee/spec/services/vulnerabilities/finding_dismiss_service_spec.rb283ee/spec/services/app_sec/dast/sites/find_or_create_service_spec.rb284ee/spec/models/deployments/approval_spec.rb285ee/spec/lib/gitlab/ci/templates/api_security_gitlab_ci_yaml_spec.rb286ee/spec/services/ci/compare_license_scanning_reports_service_spec.rb287ee/spec/lib/gitlab/graphql/loaders/bulk_epic_aggregate_loader_spec.rb288ee/spec/workers/concerns/elastic/indexing_control_spec.rb289ee/spec/services/ee/todos/destroy/entity_leave_service_spec.rb290ee/spec/services/approval_rules/merge_request_rule_destroy_service_spec.rb291ee/spec/graphql/resolvers/board_groupings/epics_resolvers_spec.rb292ee/spec/graphql/mutations/dast_scanner_profiles/create_spec.rb293ee/spec/workers/elastic_remove_expired_namespace_subscriptions_from_index_cron_worker_spec.rb294ee/spec/graphql/mutations/dast_site_validations/create_spec.rb295ee/spec/models/analytics/devops_adoption/snapshot_spec.rb296ee/spec/graphql/mutations/dast_site_tokens/create_spec.rb297ee/spec/services/app_sec/dast/profiles/create_associations_service_spec.rb298ee/spec/services/requirements_management/create_requirement_service_spec.rb299ee/spec/policies/dast/profile_schedule_policy_spec.rb300ee/spec/graphql/resolvers/dast_site_validation_resolver_spec.rb301ee/spec/lib/ee/sidebars/projects/menus/analytics_menu_spec.rb302ee/spec/lib/system_check/geo/authorized_keys_check_spec.rb303ee/spec/services/jira/jql_builder_service_spec.rb304ee/spec/lib/analytics/refresh_reassign_data_spec.rb305ee/spec/workers/geo/repository_verification/secondary/scheduler_worker_spec.rb306ee/spec/services/audit_events/register_runner_audit_event_service_spec.rb307ee/spec/lib/gitlab_subscriptions/upcoming_reconciliation_entity_spec.rb308ee/spec/lib/gitlab/geo/oauth/logout_state_spec.rb309ee/spec/graphql/resolvers/geo/merge_request_diff_registries_resolver_spec.rb310ee/spec/lib/ee/gitlab/ci/pipeline/chain/validate/external_spec.rb311ee/spec/services/merge_requests/sync_code_owner_approval_rules_spec.rb312ee/spec/services/ee/alert_management/alerts/update_service_spec.rb313ee/spec/presenters/group_member_presenter_spec.rb314ee/spec/lib/gitlab/sitemaps/generator_spec.rb315ee/spec/workers/security/orchestration_policy_rule_schedule_namespace_worker_spec.rb316ee/spec/lib/ee/api/helpers_spec.rb317ee/spec/serializers/dashboard_environments_serializer_spec.rb318ee/spec/presenters/ee/projects/security/configuration_presenter_spec.rb319ee/spec/finders/ee/user_recent_events_finder_spec.rb320ee/spec/graphql/types/pipeline_security_report_finding_type_spec.rb321ee/spec/graphql/resolvers/vulnerabilities/scanners_resolver_spec.rb322ee/spec/lib/ee/gitlab/background_migration/migrate_job_artifact_registry_to_ssf_spec.rb323ee/spec/workers/repository_import_worker_spec.rb324ee/spec/policies/dast/branch_policy_spec.rb325ee/spec/lib/gitlab/import_export/project/object_builder_spec.rb326ee/spec/workers/incident_management/apply_incident_sla_exceeded_label_worker_spec.rb327ee/spec/services/award_emojis/destroy_service_spec.rb328ee/spec/services/security/ingestion/ingest_reports_service_spec.rb329ee/spec/lib/ee/gitlab/email/handler/service_desk_handler_spec.rb330ee/spec/lib/ee/gitlab/import_export/repo_restorer_spec.rb331ee/spec/graphql/mutations/incident_management/issuable_resource_link/destroy_spec.rb332ee/spec/services/ee/namespace_settings/update_service_spec.rb333ee/spec/lib/ee/gitlab/analytics/cycle_analytics/aggregated/base_query_builder_spec.rb334ee/spec/lib/gitlab/geo/log_cursor/logger_spec.rb335ee/spec/lib/ee/gitlab/auth/ldap/sync/external_users_spec.rb336ee/spec/services/projects/setup_ci_cd_spec.rb337ee/spec/models/ee/merge_request/metrics_spec.rb338ee/spec/services/namespaces/free_user_cap/update_prevent_sharing_outside_hierarchy_service_spec.rb339ee/spec/serializers/integrations/zentao_serializers/issue_entity_spec.rb340ee/spec/graphql/resolvers/incident_management/oncall_rotations_resolver_spec.rb341ee/spec/serializers/analytics/cycle_analytics/value_stream_errors_serializer_spec.rb342ee/spec/models/analytics/issues_analytics_spec.rb343ee/spec/services/ee/labels/create_service_spec.rb344ee/spec/lib/gitlab/ci/reports/dependency_list/dependency_spec.rb345ee/spec/serializers/integrations/jira_serializers/issue_entity_spec.rb346ee/spec/finders/analytics/cycle_analytics/stage_finder_spec.rb347ee/spec/services/dashboard/environments/list_service_spec.rb348ee/spec/helpers/ee/projects/security/configuration_helper_spec.rb349ee/spec/graphql/types/boards/epic_board_type_spec.rb350ee/spec/workers/requirements_management/process_requirements_reports_worker_spec.rb351ee/spec/helpers/markup_helper_spec.rb352ee/spec/views/projects/security/discover/show.html.haml_spec.rb353ee/spec/lib/analytics/productivity_analytics_request_params_spec.rb354ee/spec/views/layouts/header/_new_dropdown.haml_spec.rb355ee/spec/graphql/types/alert_management/payload_alert_field_path_segment_type_spec.rb356ee/spec/services/projects/licenses/create_policy_service_spec.rb357ee/spec/workers/merge_request_reset_approvals_worker_spec.rb358ee/spec/helpers/nav/top_nav_helper_spec.rb359ee/spec/serializers/evidences/evidence_entity_spec.rb360ee/spec/views/registrations/groups_projects/new.html.haml_spec.rb361ee/spec/workers/geo/scheduler/per_shard_scheduler_worker_spec.rb362ee/spec/services/ee/gpg_keys/destroy_service_spec.rb363ee/spec/lib/gitlab/graphql/aggregations/issues/lazy_links_aggregate_spec.rb364ee/spec/lib/gitlab/cidr_spec.rb365ee/spec/lib/gitlab/ci/reports/metrics/report_spec.rb366ee/spec/models/ee/incident_management/project_incident_management_setting_spec.rb367ee/spec/services/ee/resource_events/change_labels_service_spec.rb368ee/spec/lib/ee/gitlab/import_export/wiki_repo_saver_spec.rb369ee/spec/lib/gitlab/audit/events/preloader_spec.rb370ee/spec/lib/bulk_imports/projects/pipelines/push_rule_pipeline_spec.rb371ee/spec/workers/adjourned_group_deletion_worker_spec.rb372ee/spec/views/operations/index.html.haml_spec.rb373ee/spec/lib/gitlab/insights/serializers/chartjs/multi_series_serializer_spec.rb374ee/spec/services/ci/runners/assign_runner_service_spec.rb375ee/spec/lib/gitlab/audit/levels/instance_spec.rb376ee/spec/lib/gitlab/analytics/cycle_analytics/data_for_duration_chart_spec.rb377ee/spec/serializers/issues/linked_issue_feature_flag_entity_spec.rb378ee/spec/graphql/resolvers/vulnerabilities_count_per_day_resolver_spec.rb379ee/spec/workers/approval_rules/external_approval_rule_payload_worker_spec.rb380ee/spec/lib/ee/gitlab/namespace_storage_size_error_message_spec.rb381ee/spec/graphql/ee/types/issue_sort_enum_spec.rb382ee/spec/graphql/types/vulnerability_details/table_type_spec.rb383ee/spec/serializers/test_suite_comparer_entity_spec.rb384ee/spec/workers/namespaces/sync_namespace_name_worker_spec.rb385ee/spec/graphql/types/epic_sort_enum_spec.rb386ee/spec/graphql/types/json_string_type_spec.rb387ee/spec/graphql/types/group_stats_type_spec.rb388ee/spec/workers/geo/sync_timeout_cron_worker_spec.rb389ee/spec/graphql/types/compliance_management/merge_requests/compliance_violation_type_spec.rb390ee/spec/lib/gitlab/search_context/builder_spec.rb391ee/spec/graphql/types/app_sec/fuzzing/api/scan_mode_enum_spec.rb392ee/spec/graphql/types/vulnerability_location/secret_detection_type_spec.rb393ee/spec/workers/todos_destroyer/confidential_epic_worker_spec.rb394ee/spec/lib/ee/gitlab/application_rate_limiter_spec.rb395ee/spec/lib/elastic/latest/snippet_instance_proxy_spec.rb396ee/spec/lib/gitlab/analytics/cycle_analytics/summary/base_dora_summary_spec.rb397ee/spec/views/operations/environments.html.haml_spec.rb398ee/spec/lib/ee/gitlab/auth/saml/identity_linker_spec.rb399ee/spec/lib/gitlab/kerberos/authentication_spec.rb400ee/spec/models/geo/repositories_changed_event_spec.rb401ee/spec/lib/gitlab/alert_management/alert_payload_field_extractor_spec.rb402ee/spec/graphql/types/permission_types/project_spec.rb403Filter specs:404Running specs:405Running all node tests without filter406ee/spec/lib/ee/gitlab/usage_data_spec.rb407ee/spec/lib/gitlab/insights/finders/issuable_finder_spec.rb408ee/spec/services/members/activate_service_spec.rb409ee/spec/models/geo/terraform_state_version_registry_spec.rb410ee/spec/lib/compliance_management/merge_request_approval_settings/resolver_spec.rb411ee/spec/services/epics/epic_links/create_service_spec.rb412ee/spec/replicators/geo/merge_request_diff_replicator_spec.rb413ee/spec/models/burndown_spec.rb414ee/spec/lib/gitlab/import_export/attributes_permitter_spec.rb415ee/spec/models/geo/pages_deployment_registry_spec.rb416ee/spec/lib/gitlab/elastic/snippet_search_results_spec.rb417ee/spec/services/elastic/cluster_reindexing_service_spec.rb418ee/spec/services/todo_service_spec.rb419ee/spec/services/merge_requests/push_options_handler_service_spec.rb420ee/spec/lib/ee/gitlab/background_migration/populate_status_column_of_security_scans_spec.rb421ee/spec/services/ci/process_build_service_spec.rb422ee/spec/workers/store_security_reports_worker_spec.rb423ee/spec/services/groups/sync_service_spec.rb424ee/spec/lib/gitlab/background_migration/migrate_requirements_to_work_items_spec.rb425ee/spec/services/geo/framework_repository_sync_service_spec.rb426ee/spec/lib/ee/gitlab/background_migration/populate_resolved_on_default_branch_column_spec.rb427ee/spec/services/vulnerabilities/create_service_spec.rb428ee/spec/lib/gitlab/auth/ldap/access_spec.rb429ee/spec/lib/gitlab/expiring_subscription_message_spec.rb430ee/spec/services/status_page/trigger_publish_service_spec.rb431ee/spec/services/security/vulnerability_counting_service_spec.rb432ee/spec/services/requirements_management/import_csv_service_spec.rb433ee/spec/finders/merge_requests_finder_spec.rb434ee/spec/services/app_sec/dast/scans/run_service_spec.rb435ee/spec/helpers/ee/issues_helper_spec.rb436ee/spec/workers/geo/secondary/registry_consistency_worker_spec.rb437ee/spec/services/ee/boards/lists/create_service_spec.rb438ee/spec/finders/audit_log_finder_spec.rb439ee/spec/finders/security/vulnerability_reads_finder_spec.rb440ee/spec/models/status_page/project_setting_spec.rb441ee/spec/replicators/geo/group_wiki_repository_replicator_spec.rb442ee/spec/graphql/mutations/issues/set_weight_spec.rb443ee/spec/models/concerns/epic_tree_sorting_spec.rb444ee/spec/presenters/ci/pipeline_presenter_spec.rb445ee/spec/services/ci/create_pipeline_service/dast_configuration_spec.rb446ee/spec/services/ci/subscribe_bridge_service_spec.rb447ee/spec/lib/analytics/refresh_comments_data_spec.rb448ee/spec/workers/security/store_scans_worker_spec.rb449ee/spec/lib/gitlab/search/recent_epics_spec.rb450ee/spec/services/vulnerabilities/finding_dismiss_service_spec.rb451ee/spec/services/app_sec/dast/sites/find_or_create_service_spec.rb452ee/spec/models/deployments/approval_spec.rb453ee/spec/lib/gitlab/ci/templates/api_security_gitlab_ci_yaml_spec.rb454ee/spec/services/ci/compare_license_scanning_reports_service_spec.rb455ee/spec/lib/gitlab/graphql/loaders/bulk_epic_aggregate_loader_spec.rb456ee/spec/workers/concerns/elastic/indexing_control_spec.rb457ee/spec/services/ee/todos/destroy/entity_leave_service_spec.rb458ee/spec/services/approval_rules/merge_request_rule_destroy_service_spec.rb459ee/spec/graphql/resolvers/board_groupings/epics_resolvers_spec.rb460ee/spec/graphql/mutations/dast_scanner_profiles/create_spec.rb461ee/spec/workers/elastic_remove_expired_namespace_subscriptions_from_index_cron_worker_spec.rb462ee/spec/graphql/mutations/dast_site_validations/create_spec.rb463ee/spec/models/analytics/devops_adoption/snapshot_spec.rb464ee/spec/graphql/mutations/dast_site_tokens/create_spec.rb465ee/spec/services/app_sec/dast/profiles/create_associations_service_spec.rb466ee/spec/services/requirements_management/create_requirement_service_spec.rb467ee/spec/policies/dast/profile_schedule_policy_spec.rb468ee/spec/graphql/resolvers/dast_site_validation_resolver_spec.rb469ee/spec/lib/ee/sidebars/projects/menus/analytics_menu_spec.rb470ee/spec/lib/system_check/geo/authorized_keys_check_spec.rb471ee/spec/services/jira/jql_builder_service_spec.rb472ee/spec/lib/analytics/refresh_reassign_data_spec.rb473ee/spec/workers/geo/repository_verification/secondary/scheduler_worker_spec.rb474ee/spec/services/audit_events/register_runner_audit_event_service_spec.rb475ee/spec/lib/gitlab_subscriptions/upcoming_reconciliation_entity_spec.rb476ee/spec/lib/gitlab/geo/oauth/logout_state_spec.rb477ee/spec/graphql/resolvers/geo/merge_request_diff_registries_resolver_spec.rb478ee/spec/lib/ee/gitlab/ci/pipeline/chain/validate/external_spec.rb479ee/spec/services/merge_requests/sync_code_owner_approval_rules_spec.rb480ee/spec/services/ee/alert_management/alerts/update_service_spec.rb481ee/spec/presenters/group_member_presenter_spec.rb482ee/spec/lib/gitlab/sitemaps/generator_spec.rb483ee/spec/workers/security/orchestration_policy_rule_schedule_namespace_worker_spec.rb484ee/spec/lib/ee/api/helpers_spec.rb485ee/spec/serializers/dashboard_environments_serializer_spec.rb486ee/spec/presenters/ee/projects/security/configuration_presenter_spec.rb487ee/spec/finders/ee/user_recent_events_finder_spec.rb488ee/spec/graphql/types/pipeline_security_report_finding_type_spec.rb489ee/spec/graphql/resolvers/vulnerabilities/scanners_resolver_spec.rb490ee/spec/lib/ee/gitlab/background_migration/migrate_job_artifact_registry_to_ssf_spec.rb491ee/spec/workers/repository_import_worker_spec.rb492ee/spec/policies/dast/branch_policy_spec.rb493ee/spec/lib/gitlab/import_export/project/object_builder_spec.rb494ee/spec/workers/incident_management/apply_incident_sla_exceeded_label_worker_spec.rb495ee/spec/services/award_emojis/destroy_service_spec.rb496ee/spec/services/security/ingestion/ingest_reports_service_spec.rb497ee/spec/lib/ee/gitlab/email/handler/service_desk_handler_spec.rb498ee/spec/lib/ee/gitlab/import_export/repo_restorer_spec.rb499ee/spec/graphql/mutations/incident_management/issuable_resource_link/destroy_spec.rb500ee/spec/services/ee/namespace_settings/update_service_spec.rb501ee/spec/lib/ee/gitlab/analytics/cycle_analytics/aggregated/base_query_builder_spec.rb502ee/spec/lib/gitlab/geo/log_cursor/logger_spec.rb503ee/spec/lib/ee/gitlab/auth/ldap/sync/external_users_spec.rb504ee/spec/services/projects/setup_ci_cd_spec.rb505ee/spec/models/ee/merge_request/metrics_spec.rb506ee/spec/services/namespaces/free_user_cap/update_prevent_sharing_outside_hierarchy_service_spec.rbKnapsack report generator started!507DEPRECATION WARNING: /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/postgresql_adapter.rb:78: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call508/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/pg-1.3.5/lib/pg.rb:68: warning: The called method `connect' is defined here509 (called from new_client at /builds/gitlab-org/gitlab/config/initializers/00_connection_logger.rb:21)510Run options: exclude {:quarantine=>true, :level=>"migration"}511Test environment set up in 0.6887994 seconds512Gitlab::UsageData513 clears memoized values514 .data515/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH516/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here517 gathers usage data518/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH519/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here520 gathers usage counts521/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH522/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here523 gathers security products usage data524/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH525/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here526 gathers group overview preferences usage data527/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH528/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here529 includes a recording_ee_finished_at timestamp530 .features_usage_data_ee531 gathers feature usage data of EE532 .license_usage_data533 gathers license data534 .components_usage_data535 gathers components usage data536 .requirements_counts537 when requirements are disabled538 returns empty hash539 when requirements are enabled540 returns created requirements count541 merge requests merged using approval rules542 counts the approval rules for merged merge requests543 .operations_dashboard_usage544 gathers data on operations dashboard545 bases counts on active users546 usage_activity_by_stage_configure547 includes accurate usage_activity_by_stage data548 usage_activity_by_stage_create549 includes accurate usage_activity_by_stage data550 usage_data_by_stage_enablement551 returns empty hash if geo is not enabled552 geo enabled553 excludes data outside of the date range554 node status fields555 only includes active secondary nodes556 includes all resource status fields557 usage_activity_by_stage_manage558 includes accurate usage_activity_by_stage data559 usage_activity_by_stage_monitor560 includes accurate usage_activity_by_stage data561 usage_activity_by_stage_plan562 includes accurate usage_activity_by_stage data563 usage_activity_by_stage_release564 includes accurate usage_activity_by_stage data565 usage_activity_by_stage_secure566 includes accurate usage_activity_by_stage data567 counts pipelines that have security jobs568 counts unique users correctly across multiple scanners569 combines license_scanning into license_management570 when count fails571 with should_raise_for_dev? true572 raises an error573 with should_raise_for_dev? false574 has to resort to 0 for counting license scan575 usage_activity_by_stage_verify576 includes accurate usage_activity_by_stage data577Gitlab::Insights::Finders::IssuableFinder578 #issuable_type579 issuable_type_in_query: "issue", expected_issuable_type: :issue580 is expected to eq :issue581 issuable_type_in_query: "issues", expected_issuable_type: :issue582 is expected to eq :issue583 issuable_type_in_query: "merge_request", expected_issuable_type: :merge_request584 is expected to eq :merge_request585 issuable_type_in_query: "merge_requests", expected_issuable_type: :merge_request586 is expected to eq :merge_request587 #issuable_state588 issuable_state_in_query: nil, expected_issuable_state: :opened589 is expected to eq :opened590 issuable_state_in_query: "opened", expected_issuable_state: :opened591 is expected to eq :opened592 issuable_state_in_query: "closed", expected_issuable_state: :closed593 is expected to eq :closed594 issuable_state_in_query: "merged", expected_issuable_state: :merged595 is expected to eq :merged596 issuable_state_in_query: "locked", expected_issuable_state: :locked597 is expected to eq :locked598 #period_field599 issuable_type_in_query: "issue", issuable_state_in_query: nil, expected_period_field: :created_at600 is expected to eq :created_at601 issuable_type_in_query: "merge_request", issuable_state_in_query: nil, expected_period_field: :created_at602 is expected to eq :created_at603 issuable_type_in_query: "issue", issuable_state_in_query: "opened", expected_period_field: :created_at604 is expected to eq :created_at605 issuable_type_in_query: "merge_request", issuable_state_in_query: "opened", expected_period_field: :created_at606 is expected to eq :created_at607 issuable_type_in_query: "issue", issuable_state_in_query: "closed", expected_period_field: :closed_at608 is expected to eq :closed_at609 issuable_type_in_query: "merge_request", issuable_state_in_query: "closed", expected_period_field: :created_at610 is expected to eq :created_at611 issuable_type_in_query: "issue", issuable_state_in_query: "merged", expected_period_field: :created_at612 is expected to eq :created_at613 issuable_type_in_query: "merge_request", issuable_state_in_query: "merged", expected_period_field: :merged_at614 is expected to eq :merged_at615 issuable_type_in_query: "issue", issuable_state_in_query: "locked", expected_period_field: :created_at616 is expected to eq :created_at617 issuable_type_in_query: "merge_request", issuable_state_in_query: "locked", expected_period_field: :created_at618 is expected to eq :created_at619 #find620 raises an error for an invalid :issuable_type option621 raises an error for an invalid entity object622 raises an error for an invalid :group_by option623 defaults to the "days" period if no :group_by is given624 raises an error for an invalid :period_limit option625 for a group626 issues627 avoids N + 1 queries628 :period_limit query629 with group_by: "day"630 returns issuable created after 30 days ago631 with group_by: "day", period_limit: 1632 returns issuable created after one day ago633 with group_by: "week"634 returns issuable created after 12 weeks ago635 with group_by: "week", period_limit: 1636 returns issuable created after one week ago637 with group_by: "month"638 returns issuable created after 12 months ago639 with group_by: "month", period_limit: 1640 returns issuable created after one month ago641 :projects option642 when `projects.only` are specified by one id643 returns issuables for that project644 when `projects.only` are specified by two ids645 returns issuables for all valid projects646 when `projects.only` are specified by bad id647 returns nothing648 when `projects.only` are specified by bad id and good id649 returns issuables for good project650 when `projects.only` are specified by one project full path651 returns issuables for that project652 when `projects.only` are specified by project full path and id653 returns issuables for all valid projects654 when `projects.only` are specified by duplicated projects655 returns issuables for that project without duplicated issuables656 when `projects.only` are specified by bad project path657 returns nothing658 when `projects.only` are specified by unrelated project659 returns nothing660 merge requests661 avoids N + 1 queries662 :period_limit query663 with group_by: "day"664 returns issuable created after 30 days ago665 with group_by: "day", period_limit: 1666 returns issuable created after one day ago667 with group_by: "week"668 returns issuable created after 12 weeks ago669 with group_by: "week", period_limit: 1670 returns issuable created after one week ago671 with group_by: "month"672 returns issuable created after 12 months ago673 with group_by: "month", period_limit: 1674 returns issuable created after one month ago675 :projects option676 when `projects.only` are specified by one id677 returns issuables for that project678 when `projects.only` are specified by two ids679 returns issuables for all valid projects680 when `projects.only` are specified by bad id681 returns nothing682 when `projects.only` are specified by bad id and good id683 returns issuables for good project684 when `projects.only` are specified by one project full path685 returns issuables for that project686 when `projects.only` are specified by project full path and id687 returns issuables for all valid projects688 when `projects.only` are specified by duplicated projects689 returns issuables for that project without duplicated issuables690 when `projects.only` are specified by bad project path691 returns nothing692 when `projects.only` are specified by unrelated project693 returns nothing694 for a group with subgroups695 issues696 avoids N + 1 queries697 :period_limit query698 with group_by: "day"699 returns issuable created after 30 days ago700 with group_by: "day", period_limit: 1701 returns issuable created after one day ago702 with group_by: "week"703 returns issuable created after 12 weeks ago704 with group_by: "week", period_limit: 1705 returns issuable created after one week ago706 with group_by: "month"707 returns issuable created after 12 months ago708 with group_by: "month", period_limit: 1709 returns issuable created after one month ago710 :projects option711 when `projects.only` are specified by one id712 returns issuables for that project713 when `projects.only` are specified by two ids714 returns issuables for all valid projects715 when `projects.only` are specified by bad id716 returns nothing717 when `projects.only` are specified by bad id and good id718 returns issuables for good project719 when `projects.only` are specified by one project full path720 returns issuables for that project721 when `projects.only` are specified by project full path and id722 returns issuables for all valid projects723 when `projects.only` are specified by duplicated projects724 returns issuables for that project without duplicated issuables725 when `projects.only` are specified by bad project path726 returns nothing727 when `projects.only` are specified by unrelated project728 returns nothing729 merge requests730 avoids N + 1 queries731 :period_limit query732 with group_by: "day"733 returns issuable created after 30 days ago734 with group_by: "day", period_limit: 1735 returns issuable created after one day ago736 with group_by: "week"737 returns issuable created after 12 weeks ago738 with group_by: "week", period_limit: 1739 returns issuable created after one week ago740 with group_by: "month"741 returns issuable created after 12 months ago742 with group_by: "month", period_limit: 1743 returns issuable created after one month ago744 :projects option745 when `projects.only` are specified by one id746 returns issuables for that project747 when `projects.only` are specified by two ids748 returns issuables for all valid projects749 when `projects.only` are specified by bad id750 returns nothing751 when `projects.only` are specified by bad id and good id752 returns issuables for good project753 when `projects.only` are specified by one project full path754 returns issuables for that project755 when `projects.only` are specified by project full path and id756 returns issuables for all valid projects757 when `projects.only` are specified by duplicated projects758 returns issuables for that project without duplicated issuables759 when `projects.only` are specified by bad project path760 returns nothing761 when `projects.only` are specified by unrelated project762 returns nothing763 for a project764 issues765 avoids N + 1 queries766 :period_limit query767 with group_by: "day"768 returns issuable created after 30 days ago769 with group_by: "day", period_limit: 1770 returns issuable created after one day ago771 with group_by: "week"772 returns issuable created after 12 weeks ago773 with group_by: "week", period_limit: 1774 returns issuable created after one week ago775 with group_by: "month"776 returns issuable created after 12 months ago777 with group_by: "month", period_limit: 1778 returns issuable created after one month ago779 :projects option780 when `projects.only` are specified by one id781 returns issuables for that project782 when `projects.only` are specified by two ids783 returns issuables for all valid projects784 when `projects.only` are specified by bad id785 returns nothing786 when `projects.only` are specified by bad id and good id787 returns issuables for good project788 when `projects.only` are specified by one project full path789 returns issuables for that project790 when `projects.only` are specified by project full path and id791 returns issuables for all valid projects792 when `projects.only` are specified by duplicated projects793 returns issuables for that project without duplicated issuables794 when `projects.only` are specified by bad project path795 returns nothing796 when `projects.only` are specified by unrelated project797 returns nothing798 merge requests799 avoids N + 1 queries800 :period_limit query801 with group_by: "day"802 returns issuable created after 30 days ago803 with group_by: "day", period_limit: 1804 returns issuable created after one day ago805 with group_by: "week"806 returns issuable created after 12 weeks ago807 with group_by: "week", period_limit: 1808 returns issuable created after one week ago809 with group_by: "month"810 returns issuable created after 12 months ago811 with group_by: "month", period_limit: 1812 returns issuable created after one month ago813 :projects option814 when `projects.only` are specified by one id815 returns issuables for that project816 when `projects.only` are specified by two ids817 returns issuables for all valid projects818 when `projects.only` are specified by bad id819 returns nothing820 when `projects.only` are specified by bad id and good id821 returns issuables for good project822 when `projects.only` are specified by one project full path823 returns issuables for that project824 when `projects.only` are specified by project full path and id825 returns issuables for all valid projects826 when `projects.only` are specified by duplicated projects827 returns issuables for that project without duplicated issuables828 when `projects.only` are specified by bad project path829 returns nothing830 when `projects.only` are specified by unrelated project831 returns nothing832 merged merge requests833 avoids N + 1 queries834 :period_limit query835 with group_by: "day"836 returns issuable created after 30 days ago837 with group_by: "day", period_limit: 1838 returns issuable created after one day ago839 with group_by: "week"840 returns issuable created after 12 weeks ago841 with group_by: "week", period_limit: 1842 returns issuable created after one week ago843 with group_by: "month"844 returns issuable created after 12 months ago845 with group_by: "month", period_limit: 1846 returns issuable created after one month ago847 :projects option848 when `projects.only` are specified by one id849 returns issuables for that project850 when `projects.only` are specified by two ids851 returns issuables for all valid projects852 when `projects.only` are specified by bad id853 returns nothing854 when `projects.only` are specified by bad id and good id855 returns issuables for good project856 when `projects.only` are specified by one project full path857 returns issuables for that project858 when `projects.only` are specified by project full path and id859 returns issuables for all valid projects860 when `projects.only` are specified by duplicated projects861 returns issuables for that project without duplicated issuables862 when `projects.only` are specified by bad project path863 returns nothing864 when `projects.only` are specified by unrelated project865 returns nothing866 #period_limit867 default values868 with group_by: "day"869 returns 30870 with group_by: "week"871 returns 12872 with group_by: "month"873 returns 12874 custom values875 with period_limit: 42876 returns 42877 with an invalid period_limit878 raises an error879Members::ActivateService880 #execute881 when unauthorized882 returns an access error883 when no group is provided884 returns an error885 when authorized886 when member, user or activate_all is not mutual exclusive887 returns an error888 when no member, no user or activate_all is provided889 returns an error890 when activating an individual member891 when member is an awaiting member of a root group892 behaves like successful member activation893 activates the member and sets updated_at894 calls UserProjectAccessChangedService895 logs the approval in application logs896 tracks an audit event897 when member is an awaiting member of a sub-group898 behaves like successful member activation899 activates the member and sets updated_at900 calls UserProjectAccessChangedService901 logs the approval in application logs902 tracks an audit event903 when member is an awaiting member of a project904 behaves like successful member activation905 activates the member and sets updated_at906 calls UserProjectAccessChangedService907 logs the approval in application logs908 tracks an audit event909 when member is not an awaiting member910 returns an error911 when there are multiple awaiting member records in the hierarchy912 for existing members913 activates the members914 for invited members915 activates the members916 when member is not member of the group917 returns an error918 behaves like handles free user cap919 check if free user cap has been reached920 when the :free_user_cap feature flag is disabled921 behaves like successful member activation922 activates the member and sets updated_at923 calls UserProjectAccessChangedService924 logs the approval in application logs925 tracks an audit event926 when the :free_user_cap feature flag is enabled927 when the free user cap has not been reached928 behaves like successful member activation929 activates the member and sets updated_at930 calls UserProjectAccessChangedService931 logs the approval in application logs932 tracks an audit event933 behaves like successful member activation934 activates the member and sets updated_at935 calls UserProjectAccessChangedService936 logs the approval in application logs937 tracks an audit event938 behaves like successful member activation939 activates the member and sets updated_at940 calls UserProjectAccessChangedService941 logs the approval in application logs942 tracks an audit event943 when the free user cap has been reached944 when group member945 keeps the member awaiting946 when sub-group member947 keeps the member awaiting948 when project member949 keeps the member awaiting950 when there is already an active membership951 when active group membership952 sets the group member to active953 when active project membership954 sets the group member to active955 behaves like when user has multiple memberships with invalid access levels956 activates all memberships957 when activating a user958 when user is an awaiting member of a root group959 behaves like successful member activation960 activates the member and sets updated_at961 calls UserProjectAccessChangedService962 logs the approval in application logs963 tracks an audit event964 when user is an awaiting member of a sub-group965 behaves like successful member activation966 activates the member and sets updated_at967 calls UserProjectAccessChangedService968 logs the approval in application logs969 tracks an audit event970 when user is an awaiting member of a project971 behaves like successful member activation972 activates the member and sets updated_at973 calls UserProjectAccessChangedService974 logs the approval in application logs975 tracks an audit event976 when user is not an awaiting member977 returns an error978 when there are multiple awaiting member records in the hierarchy for the user979 activates the members980 when user is not member of the group981 returns an error982 behaves like handles free user cap983 check if free user cap has been reached984 when the :free_user_cap feature flag is disabled985 behaves like successful member activation986 activates the member and sets updated_at987 calls UserProjectAccessChangedService988 logs the approval in application logs989 tracks an audit event990 when the :free_user_cap feature flag is enabled991 when the free user cap has not been reached992 behaves like successful member activation993 activates the member and sets updated_at994 calls UserProjectAccessChangedService995 logs the approval in application logs996 tracks an audit event997 behaves like successful member activation998 activates the member and sets updated_at999 calls UserProjectAccessChangedService1000 logs the approval in application logs1001 tracks an audit event1002 behaves like successful member activation1003 activates the member and sets updated_at1004 calls UserProjectAccessChangedService1005 logs the approval in application logs1006 tracks an audit event1007 when the free user cap has been reached1008 when group member1009 keeps the member awaiting1010 when sub-group member1011 keeps the member awaiting1012 when project member1013 keeps the member awaiting1014 when there is already an active membership1015 when active group membership1016 sets the group member to active1017 when active project membership1018 sets the group member to active1019 behaves like when user has multiple memberships with invalid access levels1020 activates all memberships1021 when activating all awaiting members1022 activates all awaiting group members1023 activates all awaiting sub_group members1024 activates all awaiting project members1025 logs the approval in application logs1026 calls UserProjectAccessChangedService1027 when on saas1028 when group is a group with paid plan1029 is successful1030 when group is a group with a free plan1031 returns an error1032Geo::TerraformStateVersionRegistry1033 factory is valid1034 scopes1035 sync_timed_out1036 return correct records1037 finders1038 .find_registries_never_attempted_sync1039 returns unsynced items1040 returns items that never have an attempt to sync except some specific item ID1041 .find_registries_needs_sync_again1042 returns failed items1043 returns failed items except some specific item ID1044 orders records according to retry_at1045 .fail_sync_timeouts1046 marks started records as failed if they are expired1047 #failed!1048 sets last_sync_failure with message1049 truncates a long last_sync_failure1050 increments retry_count1051 sets retry_at to a time in the future1052 when an error is given1053 includes error.message in last_sync_failure1054 when missing_on_primary is not given1055 caps retry_at to default 1 hour1056 when missing_on_primary is falsey1057 caps retry_at to default 1 hour1058 when missing_on_primary is truthy1059 caps retry_at to 4 hours1060 state machine1061 when transitioning to synced1062 marks verification as pending1063 when the model_record cannot be verified1064 when the registry is already verification_disabled1065 changes verification to disabled1066 when the registry is verification_pending1067 changes verification to disabled1068 verification_state machine1069 when transitioning to verification_failed1070 changes state from synced to failed1071 .verification_pending_batch1072 returns IDs of rows which are synced and pending verification1073 excludes rows which are not synced or are not pending verification1074 marks verification as started1075 .verification_failed_batch1076 with a failed record with retry due1077 returns IDs of rows which are synced and have failed verification1078 excludes rows which are not synced or have not failed verification1079 marks verification as started1080 when verification_retry_at is in the future1081 does not return the row which failed verification1082 .needs_verification_count1083 returns the number of rows which are synced and pending verification1084 includes rows which are synced and failed verification and are due for retry1085 excludes rows which are synced and failed verification and have a future retry time1086 excludes rows which are not synced or are not (pending or failed) verification1087 #verification_succeeded!1088 clears checksum mismatch fields1089 #track_checksum_attempt!1090 yields to the checksum calculation1091 when verification was not yet started1092 starts verification1093 when the model record cannot be verified1094 when the registry is already verification_disabled1095 leaves verification as disabled1096 when the registry is verification_pending1097 changes verification to disabled1098 when the primary site is expected to checksum the model record1099 comparison with primary checksum1100 when the calculated checksum matches the primary checksum1101 transitions to verification_succeeded and updates the checksum1102 when the calculated checksum does not match the primary checksum1103 transitions to verification_failed and updates mismatch fields1104 when verification was started1105 does not update verification_started_at1106 when an error occurs while yielding1107 sets verification_failed1108ComplianceManagement::MergeRequestApprovalSettings::Resolver1109 is initialized1110 #allow_author_approval1111 instance_prevents_approval: true, group_allows_approval: true, project_allows_approval: nil, value: false, locked: true, inherited_from: :instance1112 behaves like a MR approval setting1113 has the correct value1114 has the correct locked status1115 has the correct inheritance1116 instance_prevents_approval: true, group_allows_approval: false, project_allows_approval: nil, value: false, locked: true, inherited_from: :instance1117 behaves like a MR approval setting1118 has the correct value1119 has the correct locked status1120 has the correct inheritance1121 instance_prevents_approval: false, group_allows_approval: true, project_allows_approval: nil, value: true, locked: false, inherited_from: nil1122 behaves like a MR approval setting1123 has the correct value1124 has the correct locked status1125 has the correct inheritance1126 instance_prevents_approval: false, group_allows_approval: false, project_allows_approval: nil, value: false, locked: false, inherited_from: nil1127 behaves like a MR approval setting1128 has the correct value1129 has the correct locked status1130 has the correct inheritance1131 instance_prevents_approval: false, group_allows_approval: nil, project_allows_approval: true, value: true, locked: false, inherited_from: nil1132 behaves like a MR approval setting1133 has the correct value1134 has the correct locked status1135 has the correct inheritance1136 instance_prevents_approval: false, group_allows_approval: nil, project_allows_approval: false, value: false, locked: false, inherited_from: nil1137 behaves like a MR approval setting1138 has the correct value1139 has the correct locked status1140 has the correct inheritance1141 instance_prevents_approval: true, group_allows_approval: nil, project_allows_approval: false, value: false, locked: true, inherited_from: :instance1142 behaves like a MR approval setting1143 has the correct value1144 has the correct locked status1145 has the correct inheritance1146 instance_prevents_approval: false, group_allows_approval: true, project_allows_approval: true, value: true, locked: false, inherited_from: nil1147 behaves like a MR approval setting1148 has the correct value1149 has the correct locked status1150 has the correct inheritance1151 instance_prevents_approval: false, group_allows_approval: false, project_allows_approval: true, value: false, locked: true, inherited_from: :group1152 behaves like a MR approval setting1153 has the correct value1154 has the correct locked status1155 has the correct inheritance1156 instance_prevents_approval: true, group_allows_approval: true, project_allows_approval: true, value: false, locked: true, inherited_from: :instance1157 behaves like a MR approval setting1158 has the correct value1159 has the correct locked status1160 has the correct inheritance1161 instance_prevents_approval: false, group_allows_approval: true, project_allows_approval: false, value: false, locked: false, inherited_from: nil1162 behaves like a MR approval setting1163 has the correct value1164 has the correct locked status1165 has the correct inheritance1166 #allow_committer_approval1167 instance_prevents_approval: true, group_allows_approval: true, project_prevents_approval: nil, value: false, locked: true, inherited_from: :instance1168 behaves like a MR approval setting1169 has the correct value1170 has the correct locked status1171 has the correct inheritance1172 instance_prevents_approval: true, group_allows_approval: false, project_prevents_approval: nil, value: false, locked: true, inherited_from: :instance1173 behaves like a MR approval setting1174 has the correct value1175 has the correct locked status1176 has the correct inheritance1177 instance_prevents_approval: false, group_allows_approval: true, project_prevents_approval: nil, value: true, locked: false, inherited_from: nil1178 behaves like a MR approval setting1179 has the correct value1180 has the correct locked status1181 has the correct inheritance1182 instance_prevents_approval: false, group_allows_approval: false, project_prevents_approval: nil, value: false, locked: false, inherited_from: nil1183 behaves like a MR approval setting1184 has the correct value1185 has the correct locked status1186 has the correct inheritance1187 instance_prevents_approval: false, group_allows_approval: nil, project_prevents_approval: true, value: false, locked: false, inherited_from: nil1188 behaves like a MR approval setting1189 has the correct value1190 has the correct locked status1191 has the correct inheritance1192 instance_prevents_approval: true, group_allows_approval: nil, project_prevents_approval: false, value: false, locked: true, inherited_from: :instance1193 behaves like a MR approval setting1194 has the correct value1195 has the correct locked status1196 has the correct inheritance1197 instance_prevents_approval: false, group_allows_approval: true, project_prevents_approval: true, value: false, locked: false, inherited_from: nil1198 behaves like a MR approval setting1199 has the correct value1200 has the correct locked status1201 has the correct inheritance1202 instance_prevents_approval: false, group_allows_approval: false, project_prevents_approval: false, value: false, locked: true, inherited_from: :group1203 behaves like a MR approval setting1204 has the correct value1205 has the correct locked status1206 has the correct inheritance1207 instance_prevents_approval: true, group_allows_approval: true, project_prevents_approval: false, value: false, locked: true, inherited_from: :instance1208 behaves like a MR approval setting1209 has the correct value1210 has the correct locked status1211 has the correct inheritance1212 #allow_overrides_to_approver_list_per_merge_request1213 instance_prevents_approval: true, group_allows_approval: true, project_prevents_approval: nil, value: false, locked: true, inherited_from: :instance1214 behaves like a MR approval setting1215 has the correct value1216 has the correct locked status1217 has the correct inheritance1218 instance_prevents_approval: true, group_allows_approval: false, project_prevents_approval: nil, value: false, locked: true, inherited_from: :instance1219 behaves like a MR approval setting1220 has the correct value1221 has the correct locked status1222 has the correct inheritance1223 instance_prevents_approval: false, group_allows_approval: true, project_prevents_approval: nil, value: true, locked: false, inherited_from: nil1224 behaves like a MR approval setting1225 has the correct value1226 has the correct locked status1227 has the correct inheritance1228 instance_prevents_approval: false, group_allows_approval: false, project_prevents_approval: nil, value: false, locked: false, inherited_from: nil1229 behaves like a MR approval setting1230 has the correct value1231 has the correct locked status1232 has the correct inheritance1233 instance_prevents_approval: false, group_allows_approval: nil, project_prevents_approval: true, value: false, locked: false, inherited_from: nil1234 behaves like a MR approval setting1235 has the correct value1236 has the correct locked status1237 has the correct inheritance1238 instance_prevents_approval: true, group_allows_approval: nil, project_prevents_approval: false, value: false, locked: true, inherited_from: :instance1239 behaves like a MR approval setting1240 has the correct value1241 has the correct locked status1242 has the correct inheritance1243 instance_prevents_approval: false, group_allows_approval: true, project_prevents_approval: true, value: false, locked: false, inherited_from: nil1244 behaves like a MR approval setting1245 has the correct value1246 has the correct locked status1247 has the correct inheritance1248 instance_prevents_approval: false, group_allows_approval: false, project_prevents_approval: false, value: false, locked: true, inherited_from: :group1249 behaves like a MR approval setting1250 has the correct value1251 has the correct locked status1252 has the correct inheritance1253 instance_prevents_approval: true, group_allows_approval: true, project_prevents_approval: false, value: false, locked: true, inherited_from: :instance1254 behaves like a MR approval setting1255 has the correct value1256 has the correct locked status1257 has the correct inheritance1258 #retain_approvals_on_push1259 group_retains_approvals: true, project_resets_approvals: nil, value: true, locked: false, inherited_from: nil1260 behaves like a MR approval setting1261 has the correct value1262 has the correct locked status1263 has the correct inheritance1264 group_retains_approvals: false, project_resets_approvals: nil, value: false, locked: false, inherited_from: nil1265 behaves like a MR approval setting1266 has the correct value1267 has the correct locked status1268 has the correct inheritance1269 group_retains_approvals: nil, project_resets_approvals: true, value: false, locked: false, inherited_from: nil1270 behaves like a MR approval setting1271 has the correct value1272 has the correct locked status1273 has the correct inheritance1274 group_retains_approvals: nil, project_resets_approvals: false, value: true, locked: false, inherited_from: nil1275 behaves like a MR approval setting1276 has the correct value1277 has the correct locked status1278 has the correct inheritance1279 group_retains_approvals: true, project_resets_approvals: false, value: true, locked: false, inherited_from: nil1280 behaves like a MR approval setting1281 has the correct value1282 has the correct locked status1283 has the correct inheritance1284 group_retains_approvals: false, project_resets_approvals: true, value: false, locked: true, inherited_from: :group1285 behaves like a MR approval setting1286 has the correct value1287 has the correct locked status1288 has the correct inheritance1289 group_retains_approvals: false, project_resets_approvals: false, value: false, locked: true, inherited_from: :group1290 behaves like a MR approval setting1291 has the correct value1292 has the correct locked status1293 has the correct inheritance1294 group_retains_approvals: true, project_resets_approvals: true, value: false, locked: false, inherited_from: nil1295 behaves like a MR approval setting1296 has the correct value1297 has the correct locked status1298 has the correct inheritance1299 #require_password_to_approve1300 group_requires_password: true, project_requires_password: nil, value: true, locked: false, inherited_from: nil1301 behaves like a MR approval setting1302 has the correct value1303 has the correct locked status1304 has the correct inheritance1305 group_requires_password: false, project_requires_password: nil, value: false, locked: false, inherited_from: nil1306 behaves like a MR approval setting1307 has the correct value1308 has the correct locked status1309 has the correct inheritance1310 group_requires_password: nil, project_requires_password: true, value: true, locked: false, inherited_from: nil1311 behaves like a MR approval setting1312 has the correct value1313 has the correct locked status1314 has the correct inheritance1315 group_requires_password: nil, project_requires_password: false, value: false, locked: false, inherited_from: nil1316 behaves like a MR approval setting1317 has the correct value1318 has the correct locked status1319 has the correct inheritance1320 group_requires_password: true, project_requires_password: false, value: true, locked: true, inherited_from: :group1321 behaves like a MR approval setting1322 has the correct value1323 has the correct locked status1324 has the correct inheritance1325 group_requires_password: true, project_requires_password: true, value: true, locked: true, inherited_from: :group1326 behaves like a MR approval setting1327 has the correct value1328 has the correct locked status1329 has the correct inheritance1330 group_requires_password: false, project_requires_password: false, value: false, locked: false, inherited_from: nil1331 behaves like a MR approval setting1332 has the correct value1333 has the correct locked status1334 has the correct inheritance1335 group_requires_password: false, project_requires_password: true, value: true, locked: false, inherited_from: nil1336 behaves like a MR approval setting1337 has the correct value1338 has the correct locked status1339 has the correct inheritance1340Epics::EpicLinks::CreateService1341 #execute1342 when subepics feature is disabled1343 returns an error1344 no relationship is created1345 when subepics feature is enabled1346 when an error occurs1347 when a single epic is given1348 when a user does not have permissions to add an epic1349 returns an error1350 no relationship is created1351 when a user has permissions to add an epic1352 when an epic from another group is given1353DEPRECATION WARNING: ActiveModel::Errors#values is deprecated and will be removed in Rails 6.2.1354To achieve the same use:1355 errors.map { |error| error.message } (called from create_single_link at /builds/gitlab-org/gitlab/ee/app/services/epics/epic_links/create_service.rb:33)1356 returns an error1357DEPRECATION WARNING: ActiveModel::Errors#values is deprecated and will be removed in Rails 6.2.1358To achieve the same use:1359 errors.map { |error| error.message } (called from create_single_link at /builds/gitlab-org/gitlab/ee/app/services/epics/epic_links/create_service.rb:33)1360 no relationship is created1361 when hierarchy is cyclic1362 when given child epic is the same as given parent1363DEPRECATION WARNING: ActiveModel::Errors#values is deprecated and will be removed in Rails 6.2.1364To achieve the same use:1365 errors.map { |error| error.message } (called from create_single_link at /builds/gitlab-org/gitlab/ee/app/services/epics/epic_links/create_service.rb:33)1366 returns an error1367DEPRECATION WARNING: ActiveModel::Errors#values is deprecated and will be removed in Rails 6.2.1368To achieve the same use:1369 errors.map { |error| error.message } (called from create_single_link at /builds/gitlab-org/gitlab/ee/app/services/epics/epic_links/create_service.rb:33)1370 no relationship is created1371 when given child epic is parent of the given parent1372DEPRECATION WARNING: ActiveModel::Errors#values is deprecated and will be removed in Rails 6.2.1373To achieve the same use:1374 errors.map { |error| error.message } (called from create_single_link at /builds/gitlab-org/gitlab/ee/app/services/epics/epic_links/create_service.rb:33)1375 returns an error1376DEPRECATION WARNING: ActiveModel::Errors#values is deprecated and will be removed in Rails 6.2.1377To achieve the same use:1378 errors.map { |error| error.message } (called from create_single_link at /builds/gitlab-org/gitlab/ee/app/services/epics/epic_links/create_service.rb:33)1379 no relationship is created1380 when new child epic is an ancestor of the given parent1381DEPRECATION WARNING: ActiveModel::Errors#values is deprecated and will be removed in Rails 6.2.1382To achieve the same use:1383 errors.map { |error| error.message } (called from create_single_link at /builds/gitlab-org/gitlab/ee/app/services/epics/epic_links/create_service.rb:33)1384 returns an error1385DEPRECATION WARNING: ActiveModel::Errors#values is deprecated and will be removed in Rails 6.2.1386To achieve the same use:1387 errors.map { |error| error.message } (called from create_single_link at /builds/gitlab-org/gitlab/ee/app/services/epics/epic_links/create_service.rb:33)1388 no relationship is created1389 when adding an epic that is already a child of the parent epic1390DEPRECATION WARNING: ActiveModel::Errors#values is deprecated and will be removed in Rails 6.2.1391To achieve the same use:1392 errors.map { |error| error.message } (called from create_single_link at /builds/gitlab-org/gitlab/ee/app/services/epics/epic_links/create_service.rb:33)1393 returns an error1394DEPRECATION WARNING: ActiveModel::Errors#values is deprecated and will be removed in Rails 6.2.1395To achieve the same use:1396 errors.map { |error| error.message } (called from create_single_link at /builds/gitlab-org/gitlab/ee/app/services/epics/epic_links/create_service.rb:33)1397 no relationship is created1398 when adding to an Epic that is already at maximum depth1399 returns an error1400 no relationship is created1401 when total depth after adding would exceed depth limit1402DEPRECATION WARNING: ActiveModel::Errors#values is deprecated and will be removed in Rails 6.2.1403To achieve the same use:1404 errors.map { |error| error.message } (called from create_single_link at /builds/gitlab-org/gitlab/ee/app/services/epics/epic_links/create_service.rb:33)1405 returns an error1406DEPRECATION WARNING: ActiveModel::Errors#values is deprecated and will be removed in Rails 6.2.1407To achieve the same use:1408 errors.map { |error| error.message } (called from create_single_link at /builds/gitlab-org/gitlab/ee/app/services/epics/epic_links/create_service.rb:33)1409 no relationship is created1410 when multiple epics are given1411 when a user dos not have permissions to add an epic1412 returns an error1413 no relationship is created1414 when a user has permissions to add an epic1415 when adding epics that are already a child of the parent epic1416 returns an error1417 no relationship is created1418 when total depth after adding would exceed limit1419 returns an error1420 no relationship is created1421 when an epic from a another group is given1422 returns an error1423 no relationship is created1424 when hierarchy is cyclic1425 when given child epic is the same as given parent1426 returns an error1427 no relationship is created1428 when given child epic is parent of the given parent1429 returns an error1430 no relationship is created1431 when the reference list is empty1432 returns an error1433 no relationship is created1434 when there are invalid references1435 adds only valid references1436 returns error status1437 when everything is ok1438 when a correct reference is given1439 creates a new relationship and updates epic1440 moves the new child epic to the top and moves the existing ones down1441 returns success status and created links1442 creates system notes1443 when an epic from a subgroup is given1444 creates a new relationship and updates epic1445 moves the new child epic to the top and moves the existing ones down1446 returns success status and created links1447 creates system notes1448 when multiple valid epics are given1449 creates new relationships1450 creates system notes1451 returns success status and created links1452 avoids un-necessary database queries1453 when at least one epic is still not assigned to the parent epic1454 creates new relationships1455 creates system notes1456 returns success status and created links1457 when adding an Epic that has existing children1458 when Epic to add has more than 5 children1459 creates a new relationship and updates epic1460 moves the new child epic to the top and moves the existing ones down1461 returns success status and created links1462 creates system notes1463 when an epic is already assigned to another epic1464 creates a new relationship and updates epic1465 moves the new child epic to the top and moves the existing ones down1466 returns success status and created links1467 creates system notes1468Geo::MergeRequestDiffReplicator1469 invokes replicator.handle_after_create_commit on create1470 behaves like a replicator1471 Geo node status1472 on a secondary node1473 .synced_count1474 returns the number of synced items on secondary1475 .failed_count1476 returns the number of failed items on secondary1477 #replicator1478 is defined and does not raise error1479 .replicables_for_current_secondary1480 when syncing object storage is enabled1481 behaves like is implemented and returns a valid relation1482 is implemented1483 when syncing object storage is disabled1484 behaves like is implemented and returns a valid relation1485 is implemented1486 with selective sync disabled1487 behaves like is implemented and returns a valid relation1488 is implemented1489 with selective sync enabled for namespaces1490 behaves like is implemented and returns a valid relation1491 is implemented1492 with selective sync enabled for shards1493 behaves like is implemented and returns a valid relation1494 is implemented1495 #handle_after_create_commit1496 creates a Geo::Event1497 calls #after_verifiable_update1498 when replication feature flag is disabled1499 does not call #after_verifiable_update1500 does not publish1501 #handle_after_destroy1502 creates a Geo::Event1503 when replication feature flag is disabled1504 does not publish1505 created event consumption1506 when the blob's project is in replicables for this geo node1507 invokes Geo::BlobDownloadService1508 when the blob's project is not in replicables for this geo node1509 does not invoke Geo::BlobDownloadService1510 deleted event consumption1511 when model_record was deleted from the DB and the replicator only has its ID1512 invokes Geo::FileRegistryRemovalService1513 backward compatibility1514 invokes Geo::FileRegistryRemovalService when delete event is in deprecated format1515 when object storage is enabled1516 deletes the file from object storage1517 #carrierwave_uploader1518 is implemented1519 #model1520 is implemented1521 is a Class1522 #blob_path1523 when the file is locally stored1524 returns a valid path to a file1525 #calculate_checksum1526 when the file is locally stored1527 when the file exists1528 returns hexdigest of the file1529 when the file does not exist1530 raises an error1531 when the file is remotely stored1532 raises an error1533 #file_exists?1534 is expected to be truthy1535 when the file does not exist1536 is expected to be falsey1537 when the file is nil1538 is expected to be falsey1539 .bulk_create_delete_events_async1540 creates events1541 raises error when model_record_id is nil1542 events1543 has checksum_succeeded event1544 .verification_enabled?1545 when replication is enabled1546 when verification_feature_flag_enabled? returns true1547 returns true1548 when verification_feature_flag_enabled? returns false1549 returns false1550 when replication is disabled1551 returns false1552 .checksummed_count1553 when verification is enabled1554 returns the number of available verifiables where verification succeeded1555 excludes non-success verification states1556 when verification is disabled1557 returns nil1558 .checksum_failed_count1559 when verification is enabled1560 returns the number of available verifiables where verification failed1561 excludes other verification states1562 when verification is disabled1563 returns nil1564 .verification_total_count1565 when verification is enabled1566 returns the number of verification_not_disabled registry rows1567 when verification is disabled1568 returns nil1569 .trigger_background_verification1570 when verification is enabled1571 enqueues VerificationBatchWorker1572 enqueues VerificationTimeoutWorker1573 enqueues VerificationStateBackfillWorker1574 for a Geo secondary1575 does not enqueue ReverificationBatchWorker1576 for a Geo primary1577 enqueues ReverificationBatchWorker1578 when verification is disabled1579 does not enqueue VerificationBatchWorker1580 does not enqueue VerificationTimeoutWorker1581 .backfill_verification_state_table1582 calls VerificationStateBackfillService1583 when on secondary1584 returns false1585 .verify_batch1586 when there are records needing verification1587 calls #verify on each replicator1588 .remaining_verification_batch_count1589 converts needs_verification_count to number of batches1590 .remaining_reverification_batch_count1591 converts needs_reverification_count to number of batches1592 .reverify_batch!1593 calls #reverify_batch1594 .replicator_batch_to_verify1595 returns usable Replicator instances1596 .model_record_id_batch_to_verify1597 when the batch is filled by pending rows1598 returns IDs of pending rows1599 does not call .verification_failed_batch1600 when that batch is not filled by pending rows1601 includes IDs of failed rows1602 .verification_pending_batch1603 when current node is a primary1604 delegates to the model class of the replicator1605 when current node is a secondary1606 delegates to the registry class of the replicator1607 .verification_failed_batch1608 when current node is a primary1609 delegates to the model class of the replicator1610 when current node is a secondary1611 delegates to the registry class of the replicator1612 .fail_verification_timeouts1613 when current node is a primary1614 delegates to the model class of the replicator1615 when current node is a secondary1616 delegates to the registry class of the replicator1617 #after_verifiable_update1618 verification_enabled: true, immutable: true, checksum: nil, checksummable: true, expect_verify_async: true1619 calls verify_async only if needed1620 verification_enabled: true, immutable: true, checksum: nil, checksummable: false, expect_verify_async: false1621 calls verify_async only if needed1622 verification_enabled: true, immutable: true, checksum: "abc123", checksummable: true, expect_verify_async: false1623 calls verify_async only if needed1624 verification_enabled: true, immutable: true, checksum: "abc123", checksummable: false, expect_verify_async: false1625 calls verify_async only if needed1626 verification_enabled: true, immutable: false, checksum: nil, checksummable: true, expect_verify_async: true1627 calls verify_async only if needed1628 verification_enabled: true, immutable: false, checksum: nil, checksummable: false, expect_verify_async: false1629 calls verify_async only if needed1630 verification_enabled: true, immutable: false, checksum: "abc123", checksummable: true, expect_verify_async: true1631 calls verify_async only if needed1632 verification_enabled: true, immutable: false, checksum: "abc123", checksummable: false, expect_verify_async: false1633 calls verify_async only if needed1634 verification_enabled: false, immutable: true, checksum: nil, checksummable: true, expect_verify_async: false1635 calls verify_async only if needed1636 verification_enabled: false, immutable: true, checksum: nil, checksummable: false, expect_verify_async: false1637 calls verify_async only if needed1638 verification_enabled: false, immutable: true, checksum: "abc123", checksummable: true, expect_verify_async: false1639 calls verify_async only if needed1640 verification_enabled: false, immutable: true, checksum: "abc123", checksummable: false, expect_verify_async: false1641 calls verify_async only if needed1642 verification_enabled: false, immutable: false, checksum: nil, checksummable: true, expect_verify_async: false1643 calls verify_async only if needed1644 verification_enabled: false, immutable: false, checksum: nil, checksummable: false, expect_verify_async: false1645 calls verify_async only if needed1646 verification_enabled: false, immutable: false, checksum: "abc123", checksummable: true, expect_verify_async: false1647 calls verify_async only if needed1648 verification_enabled: false, immutable: false, checksum: "abc123", checksummable: false, expect_verify_async: false1649 calls verify_async only if needed1650 #verify_async1651 on a Geo primary1652 calls verification_started! and enqueues VerificationWorker1653 #verify1654 wraps the checksum calculation in track_checksum_attempt!1655 #verification_state_tracker1656 on a Geo primary1657 returns model_record1658 on a Geo secondary1659 returns registry1660 #handle_after_checksum_succeeded1661 on a Geo primary1662 creates checksum_succeeded event1663 is called on verification success1664 on a Geo secondary1665 does not create an event1666 #consume_event_checksum_succeeded1667 with a persisted model_record1668 on a Geo primary1669 does nothing1670 on a Geo secondary1671 with a persisted registry1672 with a registry which is verified1673 sets state to verification_pending1674 with a registry which is pending verification1675 does not change state from verification_pending1676 with an unpersisted registry1677 does not persist the registry1678 #primary_verification_succeeded?1679 when the model record is verification_succeeded1680 returns true1681 when the model record is verification_succeeded1682 returns false1683 integration tests1684 on a primary1685 background backfill1686 verifies model records1687 triggered by events1688 verifies model records1689 on a secondary1690 background backfill1691 verifies registries1692 triggered by events1693 verifies registries1694Burndown1695 project milestone burndown1696 behaves like burndown for milestone1697 generates an array of issues with date, issue weight and action1698 returns empty array if milestone start date is nil1699 returns empty array if milestone due date is nil1700 counts until today if milestone due date > Date.today1701 ignores follow-up events with the same action1702 when issues belong to a public project1703 does not include confidential issues for users who are not project members1704 when all closed issues do not have closed events1705 considers closed_at as milestone start date1706 group milestone burndown1707 when nested group milestone1708 behaves like burndown for milestone1709 generates an array of issues with date, issue weight and action1710 returns empty array if milestone start date is nil1711 returns empty array if milestone due date is nil1712 counts until today if milestone due date > Date.today1713 ignores follow-up events with the same action1714 when issues belong to a public project1715 does not include confidential issues for users who are not project members1716 when all closed issues do not have closed events1717 considers closed_at as milestone start date1718 when non-nested group milestone1719 behaves like burndown for milestone1720 generates an array of issues with date, issue weight and action1721 returns empty array if milestone start date is nil1722 returns empty array if milestone due date is nil1723 counts until today if milestone due date > Date.today1724 ignores follow-up events with the same action1725 when issues belong to a public project1726 does not include confidential issues for users who are not project members1727 when all closed issues do not have closed events1728 considers closed_at as milestone start date1729 load burndown events1730 avoids N+1 database queries1731Gitlab::ImportExport::AttributesPermitter1732 #permitted_attributes_defined?1733 relation_name: :push_rule, permitted_attributes_defined: true1734 is expected to eq true1735 relation_name: :issuable_sla, permitted_attributes_defined: false1736 is expected to eq false1737 relation_name: :unprotect_access_levels, permitted_attributes_defined: true1738 is expected to eq true1739 relation_name: :deploy_access_levels, permitted_attributes_defined: true1740 is expected to eq true1741 relation_name: :protected_environments, permitted_attributes_defined: true1742 is expected to eq true1743 relation_name: :security_setting, permitted_attributes_defined: true1744 is expected to eq true1745 relation_name: :project, permitted_attributes_defined: true1746 is expected to eq true1747 included_attributes for Project1748 for user1749 behaves like a permitted attribute1750 contains only attributes that are defined as permitted in the import/export config1751 does not contain attributes that would be cleaned with AttributeCleaner1752 does not contain prohibited attributes that are not related to given relation1753 for author1754 behaves like a permitted attribute1755 is disabled1756 for ci_cd_settings1757 behaves like a permitted attribute1758 contains only attributes that are defined as permitted in the import/export config1759 does not contain attributes that would be cleaned with AttributeCleaner1760 does not contain prohibited attributes that are not related to given relation1761 for metrics_setting1762 behaves like a permitted attribute1763 contains only attributes that are defined as permitted in the import/export config1764 does not contain attributes that would be cleaned with AttributeCleaner1765 does not contain prohibited attributes that are not related to given relation1766 for project_badges1767 behaves like a permitted attribute1768 contains only attributes that are defined as permitted in the import/export config1769 does not contain attributes that would be cleaned with AttributeCleaner1770 does not contain prohibited attributes that are not related to given relation1771 for pipeline_schedules1772 behaves like a permitted attribute1773 contains only attributes that are defined as permitted in the import/export config1774 does not contain attributes that would be cleaned with AttributeCleaner1775 does not contain prohibited attributes that are not related to given relation1776 for error_tracking_setting1777 behaves like a permitted attribute1778 contains only attributes that are defined as permitted in the import/export config1779 does not contain attributes that would be cleaned with AttributeCleaner1780 does not contain prohibited attributes that are not related to given relation1781 for auto_devops1782 behaves like a permitted attribute1783 contains only attributes that are defined as permitted in the import/export config1784 does not contain attributes that would be cleaned with AttributeCleaner1785 does not contain prohibited attributes that are not related to given relation1786 for boards1787 behaves like a permitted attribute1788 contains only attributes that are defined as permitted in the import/export config1789 does not contain attributes that would be cleaned with AttributeCleaner1790 does not contain prohibited attributes that are not related to given relation1791 for lists1792 behaves like a permitted attribute1793 contains only attributes that are defined as permitted in the import/export config1794 does not contain attributes that would be cleaned with AttributeCleaner1795 does not contain prohibited attributes that are not related to given relation1796 for custom_attributes1797 behaves like a permitted attribute1798 contains only attributes that are defined as permitted in the import/export config1799 does not contain attributes that would be cleaned with AttributeCleaner1800 does not contain prohibited attributes that are not related to given relation1801 for label1802 behaves like a permitted attribute1803 contains only attributes that are defined as permitted in the import/export config1804 does not contain attributes that would be cleaned with AttributeCleaner1805 does not contain prohibited attributes that are not related to given relation1806 for labels1807 behaves like a permitted attribute1808 contains only attributes that are defined as permitted in the import/export config1809 does not contain attributes that would be cleaned with AttributeCleaner1810 does not contain prohibited attributes that are not related to given relation1811 for priorities1812 behaves like a permitted attribute1813 contains only attributes that are defined as permitted in the import/export config1814 does not contain attributes that would be cleaned with AttributeCleaner1815 does not contain prohibited attributes that are not related to given relation1816 for milestone1817 behaves like a permitted attribute1818 contains only attributes that are defined as permitted in the import/export config1819 does not contain attributes that would be cleaned with AttributeCleaner1820 does not contain prohibited attributes that are not related to given relation1821 for milestones1822 behaves like a permitted attribute1823 contains only attributes that are defined as permitted in the import/export config1824 does not contain attributes that would be cleaned with AttributeCleaner1825 does not contain prohibited attributes that are not related to given relation1826 for protected_branches1827 behaves like a permitted attribute1828 contains only attributes that are defined as permitted in the import/export config1829 does not contain attributes that would be cleaned with AttributeCleaner1830 does not contain prohibited attributes that are not related to given relation1831 for protected_tags1832 behaves like a permitted attribute1833 contains only attributes that are defined as permitted in the import/export config1834 does not contain attributes that would be cleaned with AttributeCleaner1835 does not contain prohibited attributes that are not related to given relation1836 for create_access_levels1837 behaves like a permitted attribute1838 contains only attributes that are defined as permitted in the import/export config1839 does not contain attributes that would be cleaned with AttributeCleaner1840 does not contain prohibited attributes that are not related to given relation1841 for merge_access_levels1842 behaves like a permitted attribute1843 contains only attributes that are defined as permitted in the import/export config1844 does not contain attributes that would be cleaned with AttributeCleaner1845 does not contain prohibited attributes that are not related to given relation1846 for push_access_levels1847 behaves like a permitted attribute1848 contains only attributes that are defined as permitted in the import/export config1849 does not contain attributes that would be cleaned with AttributeCleaner1850 does not contain prohibited attributes that are not related to given relation1851 for releases1852 behaves like a permitted attribute1853 contains only attributes that are defined as permitted in the import/export config1854 does not contain attributes that would be cleaned with AttributeCleaner1855 does not contain prohibited attributes that are not related to given relation1856 for links1857 behaves like a permitted attribute1858 contains only attributes that are defined as permitted in the import/export config1859 does not contain attributes that would be cleaned with AttributeCleaner1860 does not contain prohibited attributes that are not related to given relation1861 for container_expiration_policy1862 behaves like a permitted attribute1863 contains only attributes that are defined as permitted in the import/export config1864 does not contain attributes that would be cleaned with AttributeCleaner1865 does not contain prohibited attributes that are not related to given relation1866 for project_feature1867 behaves like a permitted attribute1868 contains only attributes that are defined as permitted in the import/export config1869 does not contain attributes that would be cleaned with AttributeCleaner1870 does not contain prohibited attributes that are not related to given relation1871 for prometheus_metrics1872 behaves like a permitted attribute1873 contains only attributes that are defined as permitted in the import/export config1874 does not contain attributes that would be cleaned with AttributeCleaner1875 does not contain prohibited attributes that are not related to given relation1876 for service_desk_setting1877 behaves like a permitted attribute1878 contains only attributes that are defined as permitted in the import/export config1879 does not contain attributes that would be cleaned with AttributeCleaner1880 does not contain prohibited attributes that are not related to given relation1881 for snippets1882 behaves like a permitted attribute1883 contains only attributes that are defined as permitted in the import/export config1884 does not contain attributes that would be cleaned with AttributeCleaner1885 does not contain prohibited attributes that are not related to given relation1886 for project_members1887 behaves like a permitted attribute1888 contains only attributes that are defined as permitted in the import/export config1889 does not contain attributes that would be cleaned with AttributeCleaner1890 does not contain prohibited attributes that are not related to given relation1891 for merge_request1892 behaves like a permitted attribute1893 contains only attributes that are defined as permitted in the import/export config1894 does not contain attributes that would be cleaned with AttributeCleaner1895 does not contain prohibited attributes that are not related to given relation1896 for merge_requests1897 behaves like a permitted attribute1898 contains only attributes that are defined as permitted in the import/export config1899 does not contain attributes that would be cleaned with AttributeCleaner1900 does not contain prohibited attributes that are not related to given relation1901 for award_emoji1902 behaves like a permitted attribute1903 contains only attributes that are defined as permitted in the import/export config1904 does not contain attributes that would be cleaned with AttributeCleaner1905 does not contain prohibited attributes that are not related to given relation1906 for commit_author1907 behaves like a permitted attribute1908 contains only attributes that are defined as permitted in the import/export config1909 does not contain attributes that would be cleaned with AttributeCleaner1910 does not contain prohibited attributes that are not related to given relation1911 for committer1912 behaves like a permitted attribute1913 contains only attributes that are defined as permitted in the import/export config1914 does not contain attributes that would be cleaned with AttributeCleaner1915 does not contain prohibited attributes that are not related to given relation1916 for events1917 behaves like a permitted attribute1918 contains only attributes that are defined as permitted in the import/export config1919 does not contain attributes that would be cleaned with AttributeCleaner1920 does not contain prohibited attributes that are not related to given relation1921 for label_links1922 behaves like a permitted attribute1923 contains only attributes that are defined as permitted in the import/export config1924 does not contain attributes that would be cleaned with AttributeCleaner1925 does not contain prohibited attributes that are not related to given relation1926 for merge_request_diff1927 behaves like a permitted attribute1928 contains only attributes that are defined as permitted in the import/export config1929 does not contain attributes that would be cleaned with AttributeCleaner1930 does not contain prohibited attributes that are not related to given relation1931 for merge_request_diff_commits1932 behaves like a permitted attribute1933 contains only attributes that are defined as permitted in the import/export config1934 does not contain attributes that would be cleaned with AttributeCleaner1935 does not contain prohibited attributes that are not related to given relation1936 for merge_request_diff_files1937 behaves like a permitted attribute1938 contains only attributes that are defined as permitted in the import/export config1939 does not contain attributes that would be cleaned with AttributeCleaner1940 does not contain prohibited attributes that are not related to given relation1941 for metrics1942 behaves like a permitted attribute1943 contains only attributes that are defined as permitted in the import/export config1944 does not contain attributes that would be cleaned with AttributeCleaner1945 does not contain prohibited attributes that are not related to given relation1946 for notes1947 behaves like a permitted attribute1948 contains only attributes that are defined as permitted in the import/export config1949 does not contain attributes that would be cleaned with AttributeCleaner1950 does not contain prohibited attributes that are not related to given relation1951 for push_event_payload1952 behaves like a permitted attribute1953 contains only attributes that are defined as permitted in the import/export config1954 does not contain attributes that would be cleaned with AttributeCleaner1955 does not contain prohibited attributes that are not related to given relation1956 for resource_label_events1957 behaves like a permitted attribute1958 contains only attributes that are defined as permitted in the import/export config1959 does not contain attributes that would be cleaned with AttributeCleaner1960 does not contain prohibited attributes that are not related to given relation1961 for suggestions1962 behaves like a permitted attribute1963 contains only attributes that are defined as permitted in the import/export config1964 does not contain attributes that would be cleaned with AttributeCleaner1965 does not contain prohibited attributes that are not related to given relation1966 for system_note_metadata1967 behaves like a permitted attribute1968 contains only attributes that are defined as permitted in the import/export config1969 does not contain attributes that would be cleaned with AttributeCleaner1970 does not contain prohibited attributes that are not related to given relation1971 for timelogs1972 behaves like a permitted attribute1973 contains only attributes that are defined as permitted in the import/export config1974 does not contain attributes that would be cleaned with AttributeCleaner1975 does not contain prohibited attributes that are not related to given relation1976 for external_pull_request1977 behaves like a permitted attribute1978 contains only attributes that are defined as permitted in the import/export config1979 does not contain attributes that would be cleaned with AttributeCleaner1980 does not contain prohibited attributes that are not related to given relation1981 for external_pull_requests1982 behaves like a permitted attribute1983 contains only attributes that are defined as permitted in the import/export config1984 does not contain attributes that would be cleaned with AttributeCleaner1985 does not contain prohibited attributes that are not related to given relation1986 for statuses1987 behaves like a permitted attribute1988 contains only attributes that are defined as permitted in the import/export config1989 does not contain attributes that would be cleaned with AttributeCleaner1990 does not contain prohibited attributes that are not related to given relation1991 for ci_pipelines1992 behaves like a permitted attribute1993 contains only attributes that are defined as permitted in the import/export config1994 does not contain attributes that would be cleaned with AttributeCleaner1995 does not contain prohibited attributes that are not related to given relation1996 for stages1997 behaves like a permitted attribute1998 contains only attributes that are defined as permitted in the import/export config1999 does not contain attributes that would be cleaned with AttributeCleaner2000 does not contain prohibited attributes that are not related to given relation2001 for actions2002 behaves like a permitted attribute2003 contains only attributes that are defined as permitted in the import/export config2004 does not contain attributes that would be cleaned with AttributeCleaner2005 does not contain prohibited attributes that are not related to given relation2006 for design2007 behaves like a permitted attribute2008 contains only attributes that are defined as permitted in the import/export config2009 does not contain attributes that would be cleaned with AttributeCleaner2010 does not contain prohibited attributes that are not related to given relation2011 for designs2012 behaves like a permitted attribute2013 contains only attributes that are defined as permitted in the import/export config2014 does not contain attributes that would be cleaned with AttributeCleaner2015 does not contain prohibited attributes that are not related to given relation2016 for design_versions2017 behaves like a permitted attribute2018 contains only attributes that are defined as permitted in the import/export config2019 does not contain attributes that would be cleaned with AttributeCleaner2020 does not contain prohibited attributes that are not related to given relation2021 for issue_assignees2022 behaves like a permitted attribute2023 contains only attributes that are defined as permitted in the import/export config2024 does not contain attributes that would be cleaned with AttributeCleaner2025 does not contain prohibited attributes that are not related to given relation2026 for sentry_issue2027 behaves like a permitted attribute2028 contains only attributes that are defined as permitted in the import/export config2029 does not contain attributes that would be cleaned with AttributeCleaner2030 does not contain prohibited attributes that are not related to given relation2031 for zoom_meetings2032 behaves like a permitted attribute2033 contains only attributes that are defined as permitted in the import/export config2034 does not contain attributes that would be cleaned with AttributeCleaner2035 does not contain prohibited attributes that are not related to given relation2036 for issues2037 behaves like a permitted attribute2038 contains only attributes that are defined as permitted in the import/export config2039 does not contain attributes that would be cleaned with AttributeCleaner2040 does not contain prohibited attributes that are not related to given relation2041 for group_members2042 behaves like a permitted attribute2043 contains only attributes that are defined as permitted in the import/export config2044 does not contain attributes that would be cleaned with AttributeCleaner2045 does not contain prohibited attributes that are not related to given relation2046 for project2047 behaves like a permitted attribute2048 contains only attributes that are defined as permitted in the import/export config2049 does not contain attributes that would be cleaned with AttributeCleaner2050 does not contain prohibited attributes that are not related to given relation2051 for issuable_sla2052 behaves like a permitted attribute2053 is disabled2054 for push_rule2055 behaves like a permitted attribute2056 contains only attributes that are defined as permitted in the import/export config2057 does not contain attributes that would be cleaned with AttributeCleaner2058 does not contain prohibited attributes that are not related to given relation2059 for unprotect_access_levels2060 behaves like a permitted attribute2061 contains only attributes that are defined as permitted in the import/export config2062 does not contain attributes that would be cleaned with AttributeCleaner2063 does not contain prohibited attributes that are not related to given relation2064 for deploy_access_levels2065 behaves like a permitted attribute2066 contains only attributes that are defined as permitted in the import/export config2067 does not contain attributes that would be cleaned with AttributeCleaner2068 does not contain prohibited attributes that are not related to given relation2069 for protected_environments2070 behaves like a permitted attribute2071 contains only attributes that are defined as permitted in the import/export config2072 does not contain attributes that would be cleaned with AttributeCleaner2073 does not contain prohibited attributes that are not related to given relation2074 for security_setting2075 behaves like a permitted attribute2076 contains only attributes that are defined as permitted in the import/export config2077 does not contain attributes that would be cleaned with AttributeCleaner2078 does not contain prohibited attributes that are not related to given relation2079Geo::PagesDeploymentRegistry2080 factory is valid2081 scopes2082 sync_timed_out2083 return correct records2084 finders2085 .find_registries_never_attempted_sync2086 returns unsynced items2087 returns items that never have an attempt to sync except some specific item ID2088 .find_registries_needs_sync_again2089 returns failed items2090 returns failed items except some specific item ID2091 orders records according to retry_at2092 .fail_sync_timeouts2093 marks started records as failed if they are expired2094 #failed!2095 sets last_sync_failure with message2096 truncates a long last_sync_failure2097 increments retry_count2098 sets retry_at to a time in the future2099 when an error is given2100 includes error.message in last_sync_failure2101 when missing_on_primary is not given2102 caps retry_at to default 1 hour2103 when missing_on_primary is falsey2104 caps retry_at to default 1 hour2105 when missing_on_primary is truthy2106 caps retry_at to 4 hours2107 state machine2108 when transitioning to synced2109 marks verification as pending2110 when the model_record cannot be verified2111 when the registry is already verification_disabled2112 changes verification to disabled2113 when the registry is verification_pending2114 changes verification to disabled2115 verification_state machine2116 when transitioning to verification_failed2117 changes state from synced to failed2118 .verification_pending_batch2119 returns IDs of rows which are synced and pending verification2120 excludes rows which are not synced or are not pending verification2121 marks verification as started2122 .verification_failed_batch2123 with a failed record with retry due2124 returns IDs of rows which are synced and have failed verification2125 excludes rows which are not synced or have not failed verification2126 marks verification as started2127 when verification_retry_at is in the future2128 does not return the row which failed verification2129 .needs_verification_count2130 returns the number of rows which are synced and pending verification2131 includes rows which are synced and failed verification and are due for retry2132 excludes rows which are synced and failed verification and have a future retry time2133 excludes rows which are not synced or are not (pending or failed) verification2134 #verification_succeeded!2135 clears checksum mismatch fields2136 #track_checksum_attempt!2137 yields to the checksum calculation2138 when verification was not yet started2139 starts verification2140 when the model record cannot be verified2141 when the registry is already verification_disabled2142 leaves verification as disabled2143 when the registry is verification_pending2144 changes verification to disabled2145 when the primary site is expected to checksum the model record2146 comparison with primary checksum2147 when the calculated checksum matches the primary checksum2148 transitions to verification_succeeded and updates the checksum2149 when the calculated checksum does not match the primary checksum2150 transitions to verification_failed and updates mismatch fields2151 when verification was started2152 does not update verification_started_at2153 when an error occurs while yielding2154 sets verification_failed2155Gitlab::Elastic::SnippetSearchResults2156 pagination2157 returns the correct page of results2158 returns the correct number of results for one page2159 #snippet_titles_count2160 returns the amount of matched snippet titles2161 #formatted_count2162 value: 1, expected: "1"2163 returns the expected formatted count limited and delimited2164 value: 9999, expected: "9,999"2165 returns the expected formatted count limited and delimited2166 value: 10000, expected: "10,000+"2167 returns the expected formatted count limited and delimited2168 value: 20000, expected: "10,000+"2169 returns the expected formatted count limited and delimited2170 value: 0, expected: "0"2171 returns the expected formatted count limited and delimited2172 value: nil, expected: "0"2173 returns the expected formatted count limited and delimited2174 #highlight_map2175 returns the expected highlight map2176 when user is not author2177 returns nothing2178 when user is nil2179 returns nothing2180 when snippet is public2181 returns public snippet2182 when user has read_all_resources2183 admin mode disabled2184 returns nothing2185 admin mode enabled2186 returns matched snippets2187Elastic::ClusterReindexingService2188 state: initial2189 aborts if the main index does not use aliases2190 aborts if there are pending ES migrations2191 errors when there is not enough space2192 pauses elasticsearch indexing2193 state: indexing_paused2194 creates subtasks and slices2195 state: reindexing2196 errors are raised2197 errors if task is not found2198 documents count2199 errors if documents count is different2200 reindexing slice failed2201 when retry limit is reached on a slice2202 errors and changes task state from reindexing to failed2203 before retry limit reached2204 increases retry_attempt and reindexes the slice again2205 slice totals do not match2206 when retry limit is reached on a slice2207 errors and changes task state from reindexing to failed2208 before retry limit reached2209 increases retry_attempt and reindexes the slice again2210 slice batching2211 kicks off the next set of slices if the current slice is finished2212 task finishes correctly2213 refresh_interval: nil, current_settings: {}2214 launches all state steps2215 refresh_interval: "60s", current_settings: {:refresh_interval=>"60s"}2216 launches all state steps2217TodoService2218 Epics2219 Epics2220 #new_epic2221 when an epic belongs to a public group2222 for mentioned users2223 creates todos for users mentioned2224 does not create todos for users not mentioned or without permissions2225 for directly addressed users2226 creates todos for users mentioned2227 does not create todos for users not mentioned or without permissions2228 combined2229 mentioned users2230 creates todos for users mentioned2231 does not create todos for users not mentioned or without permissions2232 directly addressed users2233 creates todos for users mentioned2234 does not create todos for users not mentioned or without permissions2235 when an epic belongs to a private group2236 for mentioned users2237 creates todos for users mentioned2238 does not create todos for users not mentioned or without permissions2239 for directly addressed users2240 creates todos for users mentioned2241 does not create todos for users not mentioned or without permissions2242 creates todos for group members when a group is mentioned2243 creates todos for users mentioned2244 does not create todos for users not mentioned or without permissions2245 #update_epic2246 for mentioned users2247 creates todos for users mentioned2248 does not create todos for users not mentioned or without permissions2249 for directly addressed users2250 creates todos for users mentioned2251 does not create todos for users not mentioned or without permissions2252 when toggling task list items2253 does not create todos2254 #new_note2255 when a note is created for an epic2256 marks pending epic todos for the note author as done2257 does not mark pending epic todos for the note author as done for system notes2258 mentions2259 for mentioned users2260 creates todos for users mentioned2261 does not create todos for users not mentioned or without permissions2262 for directly addressed users2263 creates todos for users mentioned2264 does not create todos for users not mentioned or without permissions2265 combined2266 mentioned users2267 creates todos for users mentioned2268 does not create todos for users not mentioned or without permissions2269 directly addressed users2270 creates todos for users mentioned2271 does not create todos for users not mentioned or without permissions2272 Merge Requests2273 #new_merge_request2274 when the merge request has approvers2275 creates a todo2276 when code owner is mentioned2277 creates a todo2278 Merge Requests2279 an approver has lost access to the project2280 #new_merge_request2281 does not create a todo for the approver2282 #merge_train_removed2283 creates a pending todo for each merge_participant2284MergeRequests::PushOptionsHandlerService2285 `assign` push option2286 behaves like with a new branch2287 adds an error to the service2288 behaves like a service that does not create a merge request2289 is expected not to change `MergeRequest.count`2290 behaves like when coupled with the `create` push option2291 behaves like a service that can create a merge request2292 creates a merge request with the correct target branch2293 when project has been forked2294 sets the correct source and target project2295 behaves like a service that can change assignees of a merge request2296 changes assignee count2297 behaves like with an existing branch but no open MR2298 adds an error to the service2299 behaves like a service that does not create a merge request2300 is expected not to change `MergeRequest.count`2301 behaves like when coupled with the `create` push option2302 behaves like a service that can create a merge request2303 creates a merge request with the correct target branch2304 when project has been forked2305 sets the correct source and target project2306 behaves like a service that can change assignees of a merge request2307 changes assignee count2308 behaves like with an existing branch that has a merge request open2309 behaves like a service that does not create a merge request2310 is expected not to change `MergeRequest.count`2311 behaves like a service that can change assignees of a merge request2312 changes assignee count2313 `unassign` push option2314 behaves like with a new branch2315 adds an error to the service2316 behaves like a service that does not create a merge request2317 is expected not to change `MergeRequest.count`2318 behaves like when coupled with the `create` push option2319 behaves like a service that can create a merge request2320 creates a merge request with the correct target branch2321 when project has been forked2322 sets the correct source and target project2323 behaves like a service that can change assignees of a merge request2324 changes assignee count2325 behaves like with an existing branch but no open MR2326 adds an error to the service2327 behaves like a service that does not create a merge request2328 is expected not to change `MergeRequest.count`2329 behaves like when coupled with the `create` push option2330 behaves like a service that can create a merge request2331 creates a merge request with the correct target branch2332 when project has been forked2333 sets the correct source and target project2334 behaves like a service that can change assignees of a merge request2335 changes assignee count2336 behaves like with an existing branch that has a merge request open2337 behaves like a service that does not create a merge request2338 is expected not to change `MergeRequest.count`2339 behaves like a service that can change assignees of a merge request2340 changes assignee count2341Ci::ProcessBuildService#execute2342 when related to a protected environment2343 when Protected Environments feature is not available on project2344 enqueues the build2345 when Protected Environments feature is available on project2346 when user does not have access to the environment2347 fails the build2348 and the build is manual2349 actionizes the build2350 when user has access to the environment2351 enqueues the build2352 with unified access level2353 behaves like blocking deployment job2354 makes the build a manual action2355 and the build has a deployment2356 blocks the deployment2357 makes the build a manual action2358 sets manual to build.when2359 and the build is schedulable2360 blocks the deployment2361 makes the build a manual action2362 and the build is actionable2363 blocks the deployment2364 makes the build a manual action2365 with multi access levels2366 behaves like blocking deployment job2367 makes the build a manual action2368 and the build has a deployment2369 blocks the deployment2370 makes the build a manual action2371 sets manual to build.when2372 and the build is schedulable2373 blocks the deployment2374 makes the build a manual action2375 and the build is actionable2376 blocks the deployment2377 makes the build a manual action2378StoreSecurityReportsWorker2379 #secret_detection_vulnerability_found?2380 is expected to equal true2381 #revoke_secret_detection_token?2382 visibility: :public, token_revocation_enabled: true, secret_detection_vulnerability_found: true2383 is expected to eql true2384 visibility: :public, token_revocation_enabled: true, secret_detection_vulnerability_found: false2385 is expected to eql false2386 visibility: :public, token_revocation_enabled: false, secret_detection_vulnerability_found: true2387 is expected to eql false2388 visibility: :public, token_revocation_enabled: false, secret_detection_vulnerability_found: false2389 is expected to eql false2390 visibility: :private, token_revocation_enabled: true, secret_detection_vulnerability_found: true2391 is expected to eql false2392 visibility: :private, token_revocation_enabled: true, secret_detection_vulnerability_found: false2393 is expected to eql false2394 visibility: :private, token_revocation_enabled: false, secret_detection_vulnerability_found: true2395 is expected to eql false2396 visibility: :private, token_revocation_enabled: false, secret_detection_vulnerability_found: false2397 is expected to eql false2398 visibility: nil, token_revocation_enabled: true, secret_detection_vulnerability_found: true2399 is expected to eql false2400 visibility: nil, token_revocation_enabled: true, secret_detection_vulnerability_found: false2401 is expected to eql false2402 visibility: nil, token_revocation_enabled: false, secret_detection_vulnerability_found: true2403 is expected to eql false2404 visibility: nil, token_revocation_enabled: false, secret_detection_vulnerability_found: false2405 is expected to eql false2406 #perform2407 when at least one security report feature is enabled2408 report_type: :sast2409 scans security reports for token revocation2410 executes IngestReportsService for given pipeline2411 report_type: :dast2412 scans security reports for token revocation2413 executes IngestReportsService for given pipeline2414 report_type: :dependency_scanning2415 scans security reports for token revocation2416 executes IngestReportsService for given pipeline2417 report_type: :container_scanning2418 scans security reports for token revocation2419 executes IngestReportsService for given pipeline2420 report_type: :cluster_image_scanning2421 scans security reports for token revocation2422 executes IngestReportsService for given pipeline2423 when running SAST analyzers that produce duplicate vulnerabilities2424 vulnerability_finding_signatures_enabled: true2425 and prefers original analyzer over semgrep when deduplicating2426 does not duplicate vulnerabilities2427 and prefers semgrep over original analyzer when deduplicating2428 when update_vuln_identifiers_flag is on2429 does not duplicate vulnerabilities2430 when update_vuln_identifiers_flag is off2431 duplicates vulnerabilities2432 vulnerability_finding_signatures_enabled: false2433 and prefers original analyzer over semgrep when deduplicating2434 does not duplicate vulnerabilities2435 and prefers semgrep over original analyzer when deduplicating2436 when update_vuln_identifiers_flag is on2437 does not duplicate vulnerabilities2438 when update_vuln_identifiers_flag is off2439 duplicates vulnerabilities2440 when security reports feature is not available2441 does not execute IngestReportsService2442Groups::SyncService2443 #execute2444 adds two new group member records2445 adds the user to top_level_group as Guest2446 adds the user to group1 as Developer2447 returns a success response2448 returns sync stats as payload2449 when the user is already a member2450 with the correct access level2451 does not change group member count2452 retains the correct access level2453 does not call Group find_by_id2454 with a different access level2455 when the user is not the last owner2456 does not change the group member count2457 updates the access_level2458 returns sync stats as payload2459 when the user is the last owner2460 does not change the group member count2461 does not update the access_level2462 returns sync stats as payload2463 but should no longer be a member2464 when manage_group_ids is present2465 reduces group member count by 12466 removes the matching user2467 returns sync stats as payload2468 when manage_group_ids is empty2469 reduces group member count by 12470 removes the matching user2471 returns sync stats as payload2472 when manage_groups_ids is nil2473 reduces group member count by 12474 removes the matching user2475 returns sync stats as payload2476 in a group that is not managed2477 does not change the group member count2478 retains the correct access level2479Geo::FrameworkRepositorySyncService2480 behaves like geo base sync execution2481 #execute2482 when can acquire exclusive lease2483 executes the synchronization2484 when exclusive lease is not acquired2485 is does not execute synchronization2486 behaves like geo base sync fetch2487 #sync_repository2488 tells registry that sync will start now2489 #fetch_repository2490 cleans up temporary repository2491 syncs the HEAD ref2492 with existing repository2493 fetches repository from geo node2494 with a never synced repository2495 clones repository from geo node2496 reschedules sync due to race condition instead of waiting for backfill2497 #mark_sync_as_successful2498 when UpdatedEvent was processed during a sync2499 reschedules the sync2500 #execute2501 returns the lease when succeed2502 returns the lease when sync fail2503 does not fetch project repository if cannot obtain a lease2504 voids the failure message when it succeeds after an error2505 expires repository caches2506 with existing repository2507 fetches project repository with JWT credentials2508 rescues when Gitlab::Shell::Error is raised2509 rescues exception and fires after_create hook when Gitlab::Git::Repository::NoRepository is raised2510 increases retry count when Gitlab::Git::Repository::NoRepository is raised2511 marks sync as successful if no repository found2512 marks sync as failed2513 with a never synced repository2514 with geo_use_clone_on_first_sync flag enabled2515 clones repository with JWT credentials2516 with geo_use_clone_on_first_sync flag disabled2517 fetches repository with JWT credentials2518 tracking database2519 temporary repositories2520 there is a leftover repository2521 removes leftover repository2522 when repository sync succeed2523 sets last_synced_at2524 logs success with timings2525 sets retry_count and repository_retry_at to nil2526 with non empty repositories2527 when HEAD change2528 syncs gitattributes to info/attributes2529 updates the default branch2530 when HEAD does not change2531 syncs gitattributes to info/attributes2532 updates the default branch2533 when repository sync fail2534 sets correct values for registry record2535 retries2536 with repository previously synced2537 tries to fetch repo2538 tries to redownload when should_be_redownloaded2539 successfully redownloads the repository even if the retry time exceeds max value2540 no repository2541 does not raise an error2542 when repository is redownloaded2543 sets the redownload flag to false after success2544 tries to redownload repo2545 with geo_use_clone_on_first_sync flag disabled2546 creates a new repository and fetches with JWT credentials2547 cleans temporary repo after redownload2548 with geo_use_clone_on_first_sync flag enabled2549 clones a new repository with JWT credentials2550 cleans temporary repo after redownload2551 behaves like sync retries use the snapshot RPC2552 snapshot synchronization method2553 does not attempt to snapshot for initial sync2554 does not attempt to snapshot for ordinary retries2555 registry is ready to be snapshotted2556 attempts to snapshot2557 attempts to clone if snapshotting raises an exception2558 #should_be_redownloaded?2559 force_to_redownload: false, retry_count: nil, expected: false2560 returns the expected boolean2561 force_to_redownload: false, retry_count: 0, expected: false2562 returns the expected boolean2563 force_to_redownload: false, retry_count: 1, expected: false2564 returns the expected boolean2565 force_to_redownload: false, retry_count: 10, expected: false2566 returns the expected boolean2567 force_to_redownload: false, retry_count: 11, expected: true2568 returns the expected boolean2569 force_to_redownload: false, retry_count: 12, expected: false2570 returns the expected boolean2571 force_to_redownload: false, retry_count: 13, expected: true2572 returns the expected boolean2573 force_to_redownload: false, retry_count: 14, expected: false2574 returns the expected boolean2575 force_to_redownload: false, retry_count: 101, expected: true2576 returns the expected boolean2577 force_to_redownload: false, retry_count: 102, expected: false2578 returns the expected boolean2579 force_to_redownload: true, retry_count: nil, expected: true2580 returns the expected boolean2581 force_to_redownload: true, retry_count: 0, expected: true2582 returns the expected boolean2583 force_to_redownload: true, retry_count: 11, expected: true2584 returns the expected boolean2585Vulnerabilities::CreateService2586 with an authorized user with proper permissions2587 creates a vulnerability from finding and attaches it to the vulnerability2588 starts a new transaction for the create sequence2589 behaves like calls Vulnerabilities::Statistics::UpdateService2590 calls the service class2591 and finding is dismissed2592 creates a vulnerability in a dismissed state and sets dismissal information2593 when finding name is longer than 255 characters2594 truncates vulnerability title to have 255 characters2595 when finding id is unknown2596 adds expected error to the response2597 when finding does not belong to the vulnerability project2598 adds expected error to the response2599 when a vulnerability already exists for a specific finding2600 rejects creation of a new vulnerability from this finding2601 does not update vulnerability statistics2602 when security dashboard feature is disabled2603 raises an "access denied" error2604 when user does not have rights to dismiss a vulnerability2605 raises an "access denied" error2606Gitlab::Auth::Ldap::Access2607 #allowed?2608 LDAP user2609Deprecation warning: Net::LDAP::ConnectionRefused will be deprecated. Use Errno::ECONNREFUSED instead.2610Deprecation warning: Net::LDAP::ConnectionRefused will be deprecated. Use Errno::ECONNREFUSED instead.2611 finds a user by dn first2612 finds a user by email if not found by dn2613 returns false if user cannot be found2614 when exists in LDAP/AD2615 user blocked in LDAP/AD2616 blocks user in GitLab2617 on a read-only instance2618 does not block user in GitLab2619 user unblocked in LDAP/AD2620 unblocks user in GitLab2621 on a read-only instance2622 does not unblock user in GitLab2623 when no longer exist in LDAP/AD2624 blocks user in GitLab2625 on a read-only instance2626 does not block user in GitLab2627 #update_user2628 email address2629 does not update email if email attribute is not set2630 does not update the email if the user has the same email in GitLab and in LDAP2631 does not update the email if the user has the same email GitLab and in LDAP, but with upper case in LDAP2632 when mail is different2633 does not update the email when in a read-only GitLab instance2634 updates the email if the user email is different2635 does not update the name if the user email is different2636 name2637 does not update name if name attribute is not set2638 does not update the name if the user has the same name in GitLab and in LDAP2639 when cn is different2640 does not update the name when in a read-only GitLab instance2641 updates the name if the user name is different2642 does not update the email if the user name is different2643 when first and last name attributes passed2644 does not update the name when in a read-only GitLab instance2645 updates the name if the user name is different2646 does not update the email if the user name is different2647 group memberships2648 doesn't continue when there is no `memberOf` param2649 when there is `memberof` param2650 triggers a sync for all groups found in `memberof` for new users2651 doesn't trigger a sync when in a read-only GitLab instance2652 doesn't trigger a sync when there are no links for the provider2653 does not performs the membership update for existing users2654 SSH keys2655 adds a SSH key if it is in LDAP but not in gitlab2656 adds a SSH key and give it a proper name2657 does not add a SSH key if it is invalid2658 does not add a SSH key when in a read-only GitLab instance2659 user has at least one LDAPKey2660 removes a SSH key if it is no longer in LDAP2661 removes a SSH key if the ldap attribute was removed2662 kerberos identity2663 adds a Kerberos identity if it is in Active Directory but not in GitLab2664 updates existing Kerberos identity in GitLab if Active Directory has a different one2665 does not remove Kerberos identities from GitLab if they are none in the LDAP provider2666 does not modify identities in GitLab if they are no kerberos principal in the LDAP provider2667 does not add a Kerberos identity when in a read-only GitLab instance2668 LDAP entity2669 whent external UID changed in the entry2670 updates the external UID2671 does not update the external UID when in a read-only GitLab instance2672Gitlab::ExpiringSubscriptionMessage2673 message2674 plan_name: "gold"2675 subscribable installed2676 subscribable should not notify admins2677 returns nil2678 subscribable should notify admins2679 admin signed in2680 subscribable expired2681 when it blocks changes2682 when it is currently blocking changes2683 has a nice subject2684 when the subscription hasn't been properly downgraded yet2685 shows the expiring message2686 no namespace2687 has an expiration blocking message2688 with namespace2689 has an expiration blocking message2690 is auto_renew2691 has a nice subject2692 has an expiration blocking message2693 when there is a future renewal2694 is expected to be nil2695 without gitlab_subscription2696 does not check for a future renewal2697 when it is not currently blocking changes2698 has a nice subject2699 has an expiration blocking message2700 subscribable is expiring soon2701 has a nice subject2702 without namespace2703 has an expiration blocking message2704 when a future dated license is applied2705 returns nil2706 with namespace2707 has bronze plan specific messaging2708 plan: "gold"2709 has plan specific messaging2710 plan: "ultimate"2711 has plan specific messaging2712 plan: "silver"2713 has plan specific messaging2714 plan: "premium"2715 has plan specific messaging2716 is auto_renew nil2717 returns nil2718 is auto_renew2719 returns nil2720 when there is a future renewal2721 is expected to be nil2722 without gitlab_subscription2723 does not check for a future renewal2724 with a sub-group2725 checks for a future renewal2726 when parent namespace has a future renewal2727 is expected to be nil2728 no subscribable installed2729 is expected to be blank2730 plan_name: "ultimate"2731 subscribable installed2732 subscribable should not notify admins2733 returns nil2734 subscribable should notify admins2735 admin signed in2736 subscribable expired2737 when it blocks changes2738 when it is currently blocking changes2739 has a nice subject2740 when the subscription hasn't been properly downgraded yet2741 shows the expiring message2742 no namespace2743 has an expiration blocking message2744 with namespace2745 has an expiration blocking message2746 is auto_renew2747 has a nice subject2748 has an expiration blocking message2749 when there is a future renewal2750 is expected to be nil2751 without gitlab_subscription2752 does not check for a future renewal2753 when it is not currently blocking changes2754 has a nice subject2755 has an expiration blocking message2756 subscribable is expiring soon2757 has a nice subject2758 without namespace2759 has an expiration blocking message2760 when a future dated license is applied2761 returns nil2762 with namespace2763 has bronze plan specific messaging2764 plan: "gold"2765 has plan specific messaging2766 plan: "ultimate"2767 has plan specific messaging2768 plan: "silver"2769 has plan specific messaging2770 plan: "premium"2771 has plan specific messaging2772 is auto_renew nil2773 returns nil2774 is auto_renew2775 returns nil2776 when there is a future renewal2777 is expected to be nil2778 without gitlab_subscription2779 does not check for a future renewal2780 with a sub-group2781 checks for a future renewal2782 when parent namespace has a future renewal2783 is expected to be nil2784 no subscribable installed2785 is expected to be blank2786StatusPage::TriggerPublishService2787 #execute2788 invalid action2789 raises an argument error and does not process2790 triggered by issue2791 changes: {:weight=>23}, shared_example_name: "no trigger status page publish"2792 does not trigger status page publish service2793 changes: {:title=>"changed"}, shared_example_name: "trigger status page publish"2794 triggers status page publish2795 changes: {:description=>"changed"}, shared_example_name: "trigger status page publish"2796 triggers status page publish2797 changes: {:confidential=>true}, shared_example_name: "trigger status page publish"2798 triggers status page publish2799 without changes2800 does not trigger status page publish service2801 with init action2802 triggers status page publish2803 when a confidential issue changes2804 does not trigger status page publish service2805 when a non-published issue changes2806 does not trigger status page publish service2807 when closing an issue2808 triggers status page publish2809 when reopening an issue2810 triggers status page publish2811 triggered by note2812 for issues2813 without changes2814 does not trigger status page publish service2815 when changed2816 triggers status page publish2817 when destroyed2818 triggers status page publish2819 as system note2820 does not trigger status page publish service2821 without recognized emoji2822 when changed2823 does not trigger status page publish service2824 when destroyed2825 triggers status page publish2826 for merge requests2827 when changed2828 does not trigger status page publish service2829 triggered by award emoji2830 for notes on issues2831 triggers status page publish2832 without recognized emoji2833 does not trigger status page publish service2834 for issues2835 does not trigger status page publish service2836 for notes on merge requests2837 does not trigger status page publish service2838 triggered by unsupported type2839 for some abitary type2840 raises ArgumentError2841 with eligable triggered_by2842 when eligable2843 triggers status page publish2844 when status page is missing2845 does not trigger status page publish service2846 when status page is not enabled2847 does not trigger status page publish service2848 when license is not available2849 does not trigger status page publish service2850 when user cannot publish status page2851 does not trigger status page publish service2852Security::VulnerabilityCountingService#execute2853 The pipeline has security builds2854 All report types are requested2855 is expected to match (a hash including {"sast" => 5, "dast" => 20, "container_scanning" => 8, "dependency_scanning" => 4})2856 Only the report type dast is requested2857 is expected to eq {"dast"=>20}2858 The Pipeline has no security builds2859 is expected to match (a hash including {"sast" => 0, "dast" => 0, "container_scanning" => 0, "dependency_scanning" => 0})2860 performance2861 performs only one query2862RequirementsManagement::ImportCsvService2863 when user can create requirements2864 #execute2865 invalid file extension2866 behaves like invalid file2867 returns invalid file error2868 behaves like importer with email notification2869 notifies user of import result2870 empty file2871 behaves like invalid file2872 returns invalid file error2873 behaves like importer with email notification2874 notifies user of import result2875 file without headers2876 behaves like invalid file2877 returns invalid file error2878 behaves like importer with email notification2879 notifies user of import result2880 with a file generated by Gitlab CSV export2881 imports the CSV without errors2882 correctly sets the issuable attributes2883 behaves like importer with email notification2884 notifies user of import result2885 comma delimited file2886 imports CSV without errors2887 correctly sets the issuable attributes2888 behaves like importer with email notification2889 notifies user of import result2890 tab delimited file with error row2891 imports CSV with some error rows2892 correctly sets the issuable attributes2893 behaves like importer with email notification2894 notifies user of import result2895 semicolon delimited file with CRLF2896 imports CSV with a blank row2897 correctly sets the issuable attributes2898 behaves like importer with email notification2899 notifies user of import result2900 when user cannot create requirements2901 behaves like resource not available2902 raises an error2903 when requirements feature is not available2904 behaves like resource not available2905 raises an error2906MergeRequestsFinder2907 #execute2908 ignores filtering by weight2909 merge commit sha2910 filters by merge commit sha2911 filtering by scoped label wildcard2912 returns all merge requests that match the wildcard2913AppSec::Dast::Scans::RunService2914 #execute2915 when a user does not have access to the project2916 returns an error status2917 populates message2918 when the user can run a dast scan2919 returns a success status2920 returns a pipeline2921 creates a pipeline2922 associates the dast profile2923 sets the pipeline ref to the branch2924 sets the source to indicate an ondemand scan2925 creates a stage2926 creates a build2927 sets the build name to indicate a DAST scan2928 creates a build with appropriate options2929 creates a build with appropriate variables2930 when the pipeline fails to save2931 returns an error status2932 populates message2933 when on demand scan licensed feature is not available2934 returns an error status2935 populates message2936EE::IssuesHelper2937 #issue_closed_link2938 with linked issue2939 with promoted issue2940 when user has permission to see new epic2941 returns link2942 when user has no permission to see new epic2943 returns nil2944 #issue_in_subepic?2945 returns false if epic_id parameter is not set or is wildcard2946 returns false if epic_id parameter is the same as issue epic_id2947 returns false if the issue is not part of an epic2948 returns true if epic_id parameter is not the same as issue epic_id2949 #show_timeline_view_toggle?2950 is expected to be falsy2951 issue is an incident2952 is expected to be falsy2953 with license2954 is expected to be truthy2955 #scoped_labels_available?2956 project2957 behaves like without license2958 is expected to be falsy2959 behaves like with license2960 is expected to be truthy2961 group2962 behaves like without license2963 is expected to be falsy2964 behaves like with license2965 is expected to be truthy2966 #project_issues_list_data2967 when features are enabled2968 returns data with licensed features enabled2969 when project does not have group2970 does not return group_path2971 when features are disabled2972 returns data with licensed features disabled2973 #group_issues_list_data2974 when features are enabled2975 returns data with licensed features enabled2976 when features are disabled2977 returns data with licensed features disabled2978Geo::Secondary::RegistryConsistencyWorker2979 uses a cronjob queue2980 behaves like reenqueuer2981 implements lease_timeout2982 uses the :none deduplication strategy2983 #perform2984 tries to obtain a lease2985 #perform2986 creates missing registries for each registry class2987 behaves like #perform is rate limited to 1 call per2988 when the work finishes in 0 seconds2989 sleeps exactly the minimum duration2990 when the work finishes in 10% of minimum duration2991 sleeps 90% of minimum duration2992 when the work finishes in 90% of minimum duration2993 sleeps 10% of minimum duration2994 when the work finishes exactly at minimum duration2995 does not sleep2996 when the work takes 10% longer than minimum duration2997 does not sleep2998 when the work takes twice as long as minimum duration2999 does not sleep3000 when RegistryConsistencyService#execute returns true at least once3001 returns true3002 RegistryConsistencyWorker gets reenqueued3003 when RegistryConsistencyService#execute returns false for all registry classes3004 returns false3005 RegistryConsistencyWorker does not get reenqueued (we will wait until next cronjob)3006 when the current Geo node is disabled or primary3007 returns false3008 does not execute RegistryConsistencyService3009Boards::Lists::CreateService3010 #execute3011 when assignee_id param is sent3012 creates a new assignee list3013 when milestone_id param is sent3014 creates a milestone list when param is valid3015 when iteration_id param is sent3016 creates an iteration list when param is valid3017 returns an error when license is unavailable3018 when iteration is from another group3019 returns an error3020 max limits3021 #create_list_attributes3022 behaves like attribute provider for list creation3023 params: {:max_issue_count=>0}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil3024 contains the expected max limits3025 params: {:max_issue_count=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil3026 contains the expected max limits3027 params: {:max_issue_count=>1}, expected_max_issue_count: 1, expected_max_issue_weight: 0, expected_limit_metric: nil3028 contains the expected max limits3029 params: {:max_issue_weight=>0}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil3030 contains the expected max limits3031 params: {:max_issue_weight=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil3032 contains the expected max limits3033 params: {:max_issue_weight=>1}, expected_max_issue_count: 0, expected_max_issue_weight: 1, expected_limit_metric: nil3034 contains the expected max limits3035 params: {:max_issue_count=>1, :max_issue_weight=>0}, expected_max_issue_count: 1, expected_max_issue_weight: 0, expected_limit_metric: nil3036 contains the expected max limits3037 params: {:max_issue_count=>0, :max_issue_weight=>1}, expected_max_issue_count: 0, expected_max_issue_weight: 1, expected_limit_metric: nil3038 contains the expected max limits3039 params: {:max_issue_count=>1, :max_issue_weight=>1}, expected_max_issue_count: 1, expected_max_issue_weight: 1, expected_limit_metric: nil3040 contains the expected max limits3041 params: {:max_issue_count=>nil, :max_issue_weight=>1}, expected_max_issue_count: 0, expected_max_issue_weight: 1, expected_limit_metric: nil3042 contains the expected max limits3043 params: {:max_issue_count=>1, :max_issue_weight=>nil}, expected_max_issue_count: 1, expected_max_issue_weight: 0, expected_limit_metric: nil3044 contains the expected max limits3045 params: {:max_issue_count=>nil, :max_issue_weight=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil3046 contains the expected max limits3047 params: {:limit_metric=>"all_metrics"}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: "all_metrics"3048 contains the expected max limits3049 params: {:limit_metric=>"issue_count"}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: "issue_count"3050 contains the expected max limits3051 params: {:limit_metric=>"issue_weights"}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: "issue_weights"3052 contains the expected max limits3053 params: {:limit_metric=>""}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: ""3054 contains the expected max limits3055 params: {:limit_metric=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil3056 contains the expected max limits3057 behaves like attribute provider for list creation3058 params: {:max_issue_count=>0}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil3059 contains the expected max limits3060 params: {:max_issue_count=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil3061 contains the expected max limits3062 params: {:max_issue_count=>1}, expected_max_issue_count: 1, expected_max_issue_weight: 0, expected_limit_metric: nil3063 contains the expected max limits3064 params: {:max_issue_weight=>0}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil3065 contains the expected max limits3066 params: {:max_issue_weight=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil3067 contains the expected max limits3068 params: {:max_issue_weight=>1}, expected_max_issue_count: 0, expected_max_issue_weight: 1, expected_limit_metric: nil3069 contains the expected max limits3070 params: {:max_issue_count=>1, :max_issue_weight=>0}, expected_max_issue_count: 1, expected_max_issue_weight: 0, expected_limit_metric: nil3071 contains the expected max limits3072 params: {:max_issue_count=>0, :max_issue_weight=>1}, expected_max_issue_count: 0, expected_max_issue_weight: 1, expected_limit_metric: nil3073 contains the expected max limits3074 params: {:max_issue_count=>1, :max_issue_weight=>1}, expected_max_issue_count: 1, expected_max_issue_weight: 1, expected_limit_metric: nil3075 contains the expected max limits3076 params: {:max_issue_count=>nil, :max_issue_weight=>1}, expected_max_issue_count: 0, expected_max_issue_weight: 1, expected_limit_metric: nil3077 contains the expected max limits3078 params: {:max_issue_count=>1, :max_issue_weight=>nil}, expected_max_issue_count: 1, expected_max_issue_weight: 0, expected_limit_metric: nil3079 contains the expected max limits3080 params: {:max_issue_count=>nil, :max_issue_weight=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil3081 contains the expected max limits3082 params: {:limit_metric=>"all_metrics"}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: "all_metrics"3083 contains the expected max limits3084 params: {:limit_metric=>"issue_count"}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: "issue_count"3085 contains the expected max limits3086 params: {:limit_metric=>"issue_weights"}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: "issue_weights"3087 contains the expected max limits3088 params: {:limit_metric=>""}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: ""3089 contains the expected max limits3090 params: {:limit_metric=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil3091 contains the expected max limits3092AuditLogFinder3093 #execute3094 scoping the results3095 when project level3096 finds all project events3097 when group level3098 when audit_log_group_level feature enabled3099 finds all group and project events3100 when audit_log_group_level feature disabled3101 finds all group events3102 when instance level3103 finds all instance level events3104 when invalid level3105 raises exception3106 filtering by entity_id3107 no entity_type provided3108 behaves like no filtering3109 finds all the events3110 invalid entity_id3111 ignores entity_id and returns all events for given entity_type3112 User Event3113 behaves like finds the right event3114 finds the right event3115 Project Event3116 behaves like finds the right event3117 finds the right event3118 Group Event3119 behaves like finds the right event3120 finds the right event3121 filtering by entity_type3122 User Event3123 finds the right user event3124 Project Event3125 finds the right project event3126 Group Event3127 finds the right group event3128 invalid entity types3129 blank entity_type3130 behaves like no filtering3131 finds all the events3132 invalid entity_type3133 behaves like no filtering3134 finds all the events3135 filtering by author_id3136 no author_id provided3137 behaves like no filtering3138 finds all the events3139 invalid author_id3140 ignores author_id and returns all events irrespective of entity_type3141 Group Event3142 behaves like finds the right event3143 finds the right event3144 Project Event3145 behaves like finds the right event3146 finds the right event3147 filtering by created_at3148 through created_after3149 returns events created on or after the given date3150 through created_before3151 returns events created on or before the given date3152 through created_after and created_before3153 returns events created between the given dates3154 filtering by entity_username3155 User Event3156 finds the right event3157 filtering by author_username3158 username is too short3159 ignores author_username and returns all events irrespective of entity_type3160 username is too long3161 ignores author_username and returns all events irrespective of entity_type3162 Instance Event3163 finds all the events the user authored3164 Group Event3165 behaves like finds the right event3166 finds the right event3167 Project Event3168 behaves like finds the right event3169 finds the right event3170 #find_by!3171 is expected to eq #<AuditEvent id: 74, author_id: 1955, entity_id: 1952, entity_type: "User", details: {:change=>"email...Jones2138", created_at: "2022-07-01 07:36:12.909593800 +0000", target_type: "User", target_id: 1956>3172 non-existent id provided3173 raises exception3174Security::VulnerabilityReadsFinder3175 when not given a second argument3176 does not filter the vulnerability list3177 when filtered by report type3178 only returns vulnerabilities matching the given report types3179 when filtered by severity3180 only returns vulnerabilities matching the given severities3181 when filtered by state3182 only returns vulnerabilities matching the given states3183 when filtered by scanner external ID3184 only returns vulnerabilities matching the given scanner IDs3185 when filtered by scanner_id3186 only returns vulnerabilities matching the given scanner IDs3187 when filtered by project3188 only returns vulnerabilities matching the given projects3189 when sorted3190 when sort method is not given3191 is expected to eq [#<Vulnerabilities::Read id: 18, vulnerability_id: 18, project_id: 1111, scanner_id: 62, report_type:...-55bb-8481-68df3d1eb409", location_image: nil, cluster_agent_id: nil, casted_cluster_agent_id: nil>]3192 ascending by severity3193 is expected to eq [#<Vulnerabilities::Read id: 17, vulnerability_id: 17, project_id: 1111, scanner_id: 61, report_type:...-5d45-b00b-277113b2374a", location_image: nil, cluster_agent_id: nil, casted_cluster_agent_id: nil>]3194 descending by severity3195 is expected to eq [#<Vulnerabilities::Read id: 18, vulnerability_id: 18, project_id: 1111, scanner_id: 62, report_type:...-55bb-8481-68df3d1eb409", location_image: nil, cluster_agent_id: nil, casted_cluster_agent_id: nil>]3196 ascending by detected_at3197 is expected to eq [#<Vulnerabilities::Read id: 17, vulnerability_id: 17, project_id: 1111, scanner_id: 61, report_type:...-56d2-99b9-de978f96e9a1", location_image: nil, cluster_agent_id: nil, casted_cluster_agent_id: nil>]3198 descending by detected_at3199 is expected to eq [#<Vulnerabilities::Read id: 19, vulnerability_id: 19, project_id: 1111, scanner_id: 63, report_type:...-55bb-8481-68df3d1eb409", location_image: nil, cluster_agent_id: nil, casted_cluster_agent_id: nil>]3200 when filtered by has_issues argument3201 when has_issues is set to true3202 only returns vulnerabilities that have issues3203 when has_issues is set to false3204 only returns vulnerabilities that does not have issues3205 when filtered by has_resolution argument3206 when has_resolution is set to true3207 only returns vulnerabilities that have resolution3208 when has_resolution is set to false3209 only returns vulnerabilities that do not have resolution3210 when filtered by more than one property3211 only returns vulnerabilities matching all of the given filters3212 when filtered by image3213 only returns vulnerabilities matching the given image3214 when different report_type is passed3215 returns an empty relation3216 when vulnerable is InstanceSecurityDashboard3217 does not include cluster vulnerability3218 when filtered by cluster_agent_id3219 only returns vulnerabilities matching the given agent_id3220 when different report_type is passed3221 returns empty list3222 use of unnested filters3223 when the `use_unnested_queries` feature is enabled3224 when the given vulnerable is a project3225 calls `use_unnested_filters` on relation3226 when the given vulnerable is not a project3227 does not call `use_unnested_filters` on relation3228 when the `use_unnested_queries` feature is enabled3229 when the given vulnerable is a project3230 does not call `use_unnested_filters` on relation3231 when the given vulnerable is not a project3232 does not call `use_unnested_filters` on relation3233StatusPage::ProjectSetting3234 associations3235 is expected to belong to project required: false3236 validations3237 is expected not to validate that :status_page_url cannot be empty/falsy3238 is expected to validate that :aws_s3_bucket_name cannot be empty/falsy3239 is expected to validate that the length of :aws_s3_bucket_name is between 3 and 633240 is expected to validate that :aws_region cannot be empty/falsy3241 is expected to validate that :aws_access_key cannot be empty/falsy3242 is expected to validate that :encrypted_aws_secret_key cannot be empty/falsy3243 status_page_url3244 disallows invalid urls for status_page_url3245 allows valid urls for status_page_url3246 aws_s3_bucket_name3247 is expected to allow :aws_s3_bucket_name to be ‹"bucket-name"›3248 is expected to allow :aws_s3_bucket_name to be ‹"3ucket-name"›3249 is expected to allow :aws_s3_bucket_name to be ‹"bucket.name"›3250 is expected to allow :aws_s3_bucket_name to be ‹"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"›3251 is expected to allow :aws_s3_bucket_name to be ‹"111111111111111111111111111111111111111111111111111111111111111"›3252 is expected not to allow :aws_s3_bucket_name to be ‹"Bucket-name"›3253 is expected not to allow :aws_s3_bucket_name to be ‹"bucKet-Name"›3254 is expected not to allow :aws_s3_bucket_name to be ‹"bb"›3255 is expected not to allow :aws_s3_bucket_name to be ‹"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"›3256 aws_access_key3257 is expected to allow :aws_access_key to be ‹"AAAAAAAAAAAAAAAAAAAA"›3258 is expected to allow :aws_access_key to be ‹"11111111111111111111"›3259 is expected not to allow :aws_access_key to be ‹"AAAAAAAAAAAAAAAAAAA"›3260 is expected not to allow :aws_access_key to be ‹"1111111111111111111"›3261 is expected not to allow :aws_access_key to be ‹"AAAAAAAAAAAAAAAAAAAAA"›3262 is expected not to allow :aws_access_key to be ‹"111111111111111111111"›3263 aws_secret_key3264 tests the validation3265 existing setting3266 passes validation and removes changes if setting to masked key3267 attribute encryption3268 token3269 encrypts original value into encrypted_token attribute3270 #masked_aws_secret_key3271 is expected to eq "****************************************"3272 when no secret saved3273 is expected to eq nil3274 #enabled?3275 is expected to eq true3276 when status page setting is disabled3277 is expected to eq false3278 when license is not available3279 is expected to eq false3280 #normalized_status_page_url3281 when status_page_url exists3282 is expected to eq "https://status.gitlab.com/#/"3283 when status_page_url is blank3284 is expected to be nil3285 when status_page_url is nil3286 is expected to be nil3287 when status_page_url contains trailing slash3288 is expected to eq "https://status.gitlab.com/#/"3289 when status_page_url contains trailing hash-navigator3290 is expected to eq "https://status.gitlab.com/#/"3291 when status_page_url matches expected url3292 is expected to eq "https://status.gitlab.com/#/"3293 #storage_client3294 when status page settings is enabled3295 is expected to be an instance of Gitlab::StatusPage::Storage::S3Client3296 when not enabled3297 is expected to be nil3298Geo::GroupWikiRepositoryReplicator3299 invokes replicator.handle_after_create_commit on create3300 behaves like a replicator3301 Geo node status3302 on a secondary node3303 .synced_count3304 returns the number of synced items on secondary3305 .failed_count3306 returns the number of failed items on secondary3307 #replicator3308 is defined and does not raise error3309 .replicables_for_current_secondary3310 when syncing object storage is enabled3311 behaves like is implemented and returns a valid relation3312 is implemented3313 when syncing object storage is disabled3314 behaves like is implemented and returns a valid relation3315 is implemented3316 with selective sync disabled3317 behaves like is implemented and returns a valid relation3318 is implemented3319 with selective sync enabled for namespaces3320 behaves like is implemented and returns a valid relation3321 is implemented3322 with selective sync enabled for shards3323 behaves like is implemented and returns a valid relation3324 is implemented3325 #handle_after_update3326 creates a Geo::Event3327 when replication feature flag is disabled3328 does not publish3329 #handle_after_destroy3330 creates a Geo::Event3331 when replication feature flag is disabled3332 does not publish3333 updated event consumption3334 in replicables_for_current_secondary list3335 runs Geo::FrameworkRepositorySyncService service3336 not in replicables_for_current_secondary list3337 does not run Geo::FrameworkRepositorySyncService service3338 deleted event consumption3339 runs Geo::RepositoryRegistryRemovalService service3340 .git_access_class3341 is implemented3342 .no_repo_message3343 is implemented3344 #model3345 is implemented3346 is a Class3347 .no_repo_message3348 returns the proper error message for group-level wikis3349Mutations::Issues::SetWeight3350 #resolve3351 behaves like permission level for issue mutation is correctly verified3352 when the user is not a project member3353 behaves like when the user does not have access to the resource3354 raises an error3355 even if assigned to the issue3356 does not modify issue3357 even if author of the issue3358 does not modify issue3359 when the user is a project member3360 with guest role3361 behaves like when the user does not have access to the resource3362 raises an error3363 even if assigned to the issue3364 does not modify issue3365 even if author of the issue3366 does not modify issue3367 when the user can update the issue3368 returns the issue with correct weight3369 when the weight is nil3370 updates weight to be nil3371EpicTreeSorting3372 #relative_siblings3373 includes both epics and epic issues for an epic issue3374 includes both epics and epic issues for an epic3375 there is an ID collision3376 includes the collision from either collision member3377 #move_after3378 moves an epic3379 moves an epic_issue3380 #move_before3381 moves an epic3382 moves an epic_issue3383 #move_between3384 moves an epic3385 moves an epic_issue3386 #move_sequence3387 when self is an epic3388 moves all objects correctly3389 when self is an epic_issue3390 moves all objects correctly3391Ci::PipelinePresenter3392 #failure_reason3393 when pipeline has failure reason3394 represents a failure reason sentence3395 when pipeline does not have failure reason3396 returns nil3397 #expose_security_dashboard?3398 with developer3399 when features are available3400 calls latest_report_artifacts once3401 when there is an artifact of a right type3402 is expected to be truthy3403 when there is an artifact of a wrong type3404 is expected to be falsey3405 when there is no found artifact3406 is expected to be falsey3407 when all features are available3408 does not increase the number of queries3409 calls latest_report_artifacts once3410 when features are disabled3411 when there is an artifact of a right type3412 is expected to be falsey3413 with reporter3414 is expected to be falsey3415 #downloadable_path_for_report_type3416 with browser_performance artifact3417 when feature is available3418 returns the downloadable path3419 when feature is not available3420 doesn't return the downloadable path3421 when user is not authorized3422 doesn't return the downloadable path3423 with load_performance artifact3424 when feature is available3425 returns the downloadable path3426 when feature is not available3427 doesn't return the downloadable path3428 when user is not authorized3429 doesn't return the downloadable path3430 with license_scanning artifact3431 when feature is available3432 returns the downloadable path3433 when feature is not available3434 doesn't return the downloadable path3435 when user is not authorized3436 doesn't return the downloadable path3437 #degradation_threshold3438 when feature is available3439 returns the degradation threshold3440 when feature is not available3441 doesn't return the degradation threshold3442 when user is not authorized3443 doesn't return the degradation threshold3444 #retryable?3445 with pipeline for merge train3446 is expected to equal false3447 with branch pipeline3448 is expected to equal true3449Ci::CreatePipelineService3450 when the feature is not licensed3451 behaves like it does not expand the dast variables3452 does not include the profile variables3453 when the feature is licensed3454 when the stage is dast3455 persists dast_configuration in build options3456 expands the dast variables3457 when the user has permission3458 expands the secret dast variables3459 when the site profile does not exist3460 behaves like a missing profile3461 communicates failure3462 when the scanner profile does not exist3463 behaves like a missing profile3464 communicates failure3465 when there is an unexpected system error3466 handles the error3467 when the stage is not dast3468 behaves like it does not expand the dast variables3469 does not include the profile variables3470 behaves like pipelines are created without N+1 SQL queries3471 avoids N+1 queries3472 behaves like pipelines are created without N+1 SQL queries3473 avoids N+1 queries3474Ci::SubscribeBridgeService3475 #execute3476 when the upstream project exists3477 when the upstream project has a pipeline3478 when the user has permissions3479 populates the pipeline project source3480 persists the bridge3481 when the pipeline already finished3482 mirrors the pipeline status to the bridge job instantly3483 when the user does not have permissions3484 drops the bridge3485 when the upstream project does not have a pipeline3486 skips the bridge3487 when the upstream project does not exist3488 drops the bridge3489Analytics::RefreshCommentsData3490 .for_note3491 for non-commit, non-mr note3492 is expected to be nil3493 for MR note3494 returns refresh comments instance for note MR3495 for commit note3496 returns refresh comments instance for commit MR3497 #execute3498 updates first_comment_at3499 when first_comment_at is already present3500 does not change first_comment_at3501 updates first_comment_at if forced3502 when no merge request metric is present3503 creates one3504Security::StoreScansWorker3505 #perform3506 when security reports can not be stored for the pipeline3507 does not call `Security::StoreScansService`3508 behaves like does not record an onboarding progress action3509 is expected not to receive new(*(any args)) 0 times3510 when security reports can be stored for the pipeline3511 calls `Security::StoreScansService`3512 security sast3513 behaves like records an onboarding progress action3514 is expected to receive execute({:action=>[:security_scan_enabled]}) 1 time3515 security dependency_scanning3516 behaves like records an onboarding progress action3517 is expected to receive execute({:action=>[:secure_dependency_scanning_run]}) 1 time3518 security container_scanning3519 behaves like records an onboarding progress action3520 is expected to receive execute({:action=>[:secure_container_scanning_run]}) 1 time3521 security dast3522 behaves like records an onboarding progress action3523 is expected to receive execute({:action=>[:secure_dast_run]}) 1 time3524 security secret_detection3525 behaves like records an onboarding progress action3526 is expected to receive execute({:action=>[:secure_secret_detection_run]}) 1 time3527 security coverage_fuzzing3528 behaves like records an onboarding progress action3529 is expected to receive execute({:action=>[:secure_coverage_fuzzing_run]}) 1 time3530 security api_fuzzing3531 behaves like records an onboarding progress action3532 is expected to receive execute({:action=>[:secure_api_fuzzing_run]}) 1 time3533 security cluster_image_scanning3534 behaves like records an onboarding progress action3535 is expected to receive execute({:action=>[:secure_cluster_image_scanning_run]}) 1 time3536Gitlab::Search::RecentEpics3537 behaves like search recent items3538 #log_view3539 adds the item to the recent items3540 removes an item when it exceeds the size items_limit3541 expires the items after expires_after3542 does not include results logged for another user3543 #search3544 matches partial text in the item title3545 returns results sorted by recently viewed3546 does not leak items you no longer have access to3547 limits results to 5 items3548Vulnerabilities::FindingDismissService3549 with an authorized user with proper permissions3550 when comment is added3551 dismisses a finding with comment3552 when the dismissal_reason is added3553 dismisses a finding3554 when Vulnerabilities::Feedback creation fails3555 returns the error3556 when security dashboard feature is disabled3557 raises an "access denied" error3558AppSec::Dast::Sites::FindOrCreateService3559 #execute!3560 when a user does not have access to the project3561 raises an exception3562 when the user can run a dast scan3563 returns a dast_site3564 creates a dast_site3565 when the dast_site already exists3566 returns the existing dast_site3567 does not create a new dast_site3568 when the record is invalid3569 raises an exception3570 when on demand scan licensed feature is not available3571 raises an exception3572Deployments::Approval3573 associations3574 is expected to belong to user required: false3575 is expected to belong to deployment required: false3576 is expected to belong to approval_rule class_name => ProtectedEnvironments::ApprovalRule required: false inverse_of => deployment_approvals3577 validations3578 is expected to validate that :user cannot be empty/falsy3579 is expected to validate that :user is case-sensitively unique within the scope of :deployment_id3580 is expected to validate that :deployment cannot be empty/falsy3581 is expected to validate that :status cannot be empty/falsy3582 is expected to validate that the length of :comment is at most 2553583API-Fuzzing.gitlab-ci.yml3584 is expected not to be nil3585 the template file3586 uses the production repository3587 doesn't use the staging repository3588 the created pipeline3589 when no stages3590 when project has no stages3591 includes no jobs3592 when stages includes fuzz3593 when project has no license3594 includes job to display error3595 when project has Ultimate license3596 by default3597 includes a job3598 when configured with HAR3599 includes job3600 when configured with OpenAPI3601 includes job3602 when configured with Postman3603 includes job3604 when API_FUZZING_DISABLED=13605 includes no jobs3606 when CI_GITLAB_FIPS_MODE=false3607 sets FUZZAPI_IMAGE_SUFFIX to ""3608 when CI_GITLAB_FIPS_MODE=true3609 sets FUZZAPI_IMAGE_SUFFIX to "-fips"3610Ci::CompareLicenseScanningReportsService3611 #execute3612 when loading data for multiple reports3613 loads the data efficiently3614 when head pipeline has license scanning reports3615 reports new licenses3616 when head pipeline has not run and base pipeline is for a forked project3617 reports new licenses3618 when base and head pipelines have test reports3619 reports status as parsed3620 reports new licenses3621 reports existing licenses3622 reports removed licenses3623 when head pipeline has corrupted license scanning reports3624 does not expose parser errors3625 when the base pipeline is nil3626 does not expose parser errors3627Gitlab::Graphql::Loaders::BulkEpicAggregateLoader3628 when epic ids with issues is provided3629 sums all the weights, even confidential, or in private groups3630 contains results for all epics, even if they do not have issues3631 errors when the number of retrieved records exceeds the maximum3632 errors when the number of retrieved epics exceeds the maximum3633 testing for a single database query3634 does not repeat database queries for subepics3635 avoids N+13636 when an epic without issues is provided3637 returns a placeholder3638 when no epic ids are provided3639 returns an empty set3640 returns an empty set3641 returns an empty set3642Elastic::IndexingControl3643 ::WORKERS3644 only includes classes which inherit from this class3645 with stub_const3646 .non_cached_pause_indexing?3647 calls current_without_cache3648 .resume_processing!3649 triggers job processing if there are jobs3650 does nothing if no jobs available3651 with elasticsearch indexing paused3652 adds jobs to the waiting queue3653 ignores changes from a different worker3654 with elasticsearch indexing unpaused3655 performs the job3656Todos::Destroy::EntityLeaveService3657 #execute3658 behaves like removes only confidential epics todos3659 removes todos targeting confidential epics in the group3660 when user is still member of ancestor group3661 does not remove todos targeting confidential epics in the group3662 when user was a member of public group with private subgroup3663 removes epic todos from private subgroup3664 when user role is downgraded to guest3665 behaves like removes only confidential epics todos3666 removes todos targeting confidential epics in the group3667ApprovalRules::MergeRequestRuleDestroyService3668 user cannot edit approval rule3669 returns error status3670 user can edit approval rule3671 when rule successfully deleted3672 returns successful status3673 tracks delete event via a usage counter3674 when rule not successfully deleted3675 returns error status3676 does not track delete event via a usage counter3677Resolvers::BoardGroupings::EpicsResolver3678 #resolve3679 when user can not see epics3680 does not return epics3681 when user can access the group3682 finds all epics for issues in the project board3683 finds all epics for issues in the group board3684 finds only epics for issues matching issue filters3685 finds only epics for issues matching search param3686 accepts negated issue params3687 generates an error if both epic_id and epic_wildcard_id are present3688 accepts epic global id3689 accepts epic wildcard id3690Mutations::DastScannerProfiles::Create3691 is expected to require graphql authorizations :create_on_demand_dast_scan3692 #resolve3693 when the project does not exist3694 raises an exception3695 when the user can run a dast scan3696 returns the dast_scanner_profile id3697 returns the complete dast_scanner_profile3698 calls the dast_scanner_profile creation service3699 when the dast_scanner_profile already exists3700 returns an error3701ElasticRemoveExpiredNamespaceSubscriptionsFromIndexCronWorker3702 behaves like an idempotent worker3703 is labeled as idempotent3704 performs multiple times sequentially without raising an exception3705 finds the subscriptions that expired over a week ago that are in the index and deletes them3706 when not com?3707 does nothing3708 when the exclusive lease is already locked3709 does nothing3710Mutations::DastSiteValidations::Create3711 is expected to require graphql authorizations :create_on_demand_dast_scan3712 #resolve3713 when on demand scan feature is enabled3714 when the project does not exist3715 raises an exception3716 when the user can run a dast scan3717 returns the dast_site_validation id3718 returns the dast_site_validation status3719Analytics::DevopsAdoption::Snapshot3720 is expected to belong to namespace required: false3721 is expected to validate that :namespace cannot be empty/falsy3722 is expected to validate that :recorded_at cannot be empty/falsy3723 is expected to validate that :end_time cannot be empty/falsy3724 .latest_for_namespace_ids3725 returns for previous month finalized snapshot for the given namespace ids based on snapshot end_time3726 .for_month3727 returns all snapshots where end_time equals given datetime end of month3728 .not_finalized3729 returns all snapshots which were recorded earlier than snapshot end_time3730 .finalized3731 returns all snapshots which were recorded later than snapshot end_time3732 .for_timespan3733 returns snapshots for given timespan3734 .for_namespaces3735 returns all snapshots with given namespaces3736 #start_time3737 is start of the month of end_time3738Mutations::DastSiteTokens::Create3739 is expected to require graphql authorizations :create_on_demand_dast_scan3740 #resolve3741 when on demand scan feature is enabled3742 when the project does not exist3743 raises an exception3744 when the user can run a dast scan3745 returns the dast_site_token id3746 returns the dast_site_token status3747 returns the dast_site_token token3748 when the associated dast_site_validation has been validated3749 returns the correct status3750AppSec::Dast::Profiles::CreateAssociationsService3751 #execute3752 when the feature is licensed3753 when the user cannot create dast scans3754 behaves like an error occurred during the dast profile association3755 communicates failure3756 dast_site_profile3757 behaves like it attempts to associate the profile3758 when the profile exists3759 assigns the association3760 when the profile is not provided3761 behaves like it has no effect3762 does not assign the association3763 when the profile does not exist3764 behaves like an error occurred during the dast profile association3765 communicates failure3766 dast_scanner_profile3767 behaves like it attempts to associate the profile3768 when the profile exists3769 assigns the association3770 when the profile is not provided3771 behaves like it has no effect3772 does not assign the association3773 when the profile does not exist3774 behaves like an error occurred during the dast profile association3775 communicates failure3776 when the user cannot create dast scans3777 behaves like an error occurred during the dast profile association3778 communicates failure3779 when the build has multiple dast_configurations3780 with different name and same project3781 associate the associations correctly3782 with same named profiles from different project3783 associate the associations correctly3784 when not licensed3785 behaves like an error occurred during the dast profile association3786 communicates failure3787RequirementsManagement::CreateRequirementService3788 #execute3789 when user can create requirements3790 creates new requirement3791 uses only permitted params3792 when syncing with requirement issues3793 creates an issue and a requirement3794 creates an associated issue of type requirement with same attributes3795 when creation of requirement fails3796 does not create issue3797 when creation of issue fails3798 does not create requirement3799 logs error3800 when user is not allowed to create requirements3801 raises an exception3802Dast::ProfileSchedulePolicy3803 behaves like a dast on-demand scan policy3804 dast on-demand policies3805 when a user does not have access to the project3806 is expected to be disallowed :create_on_demand_dast_scan and :read_on_demand_dast_scan3807 when the user is a guest3808 is expected to be disallowed :create_on_demand_dast_scan and :read_on_demand_dast_scan3809 when the user is a reporter3810 is expected to be disallowed :create_on_demand_dast_scan and :read_on_demand_dast_scan3811 when the user is a developer3812 is expected to be allowed :create_on_demand_dast_scan and :read_on_demand_dast_scan3813 when the user is a maintainer3814 is expected to be allowed :create_on_demand_dast_scan and :read_on_demand_dast_scan3815 when the user is an owner3816 is expected to be allowed :create_on_demand_dast_scan and :read_on_demand_dast_scan3817 when the user is allowed3818 when on demand scan licensed feature is not available3819 is expected to be disallowed :create_on_demand_dast_scan and :read_on_demand_dast_scan3820Resolvers::DastSiteValidationResolver3821 is expected to have nullable GraphQL type DastSiteValidationConnection3822 when resolving multiple DAST site validations3823 when there is no filtering3824 behaves like there is no filtering3825 is expected to contain exactly #<DastSiteValidation id: 7, dast_site_token_id: 11, created_at: "2022-07-04 07:39:14.540685651 +0000"... "http://example27.test:80", url_path: "some/path/GitLab-DAST-Site-Validation.txt", state: "failed">, #<DastSiteValidation id: 6, dast_site_token_id: 10, created_at: "2022-07-04 07:39:14.449495687 +0000"... "http://example26.test:80", url_path: "some/path/GitLab-DAST-Site-Validation.txt", state: "passed">, #<DastSiteValidation id: 5, dast_site_token_id: 9, created_at: "2022-07-04 07:39:14.310869567 +0000",...tp://example25.test:80", url_path: "some/path/GitLab-DAST-Site-Validation.txt", state: "inprogress">, and #<DastSiteValidation id: 4, dast_site_token_id: 8, created_at: "2022-07-04 07:39:14.215756003 +0000",..."http://example24.test:80", url_path: "some/path/GitLab-DAST-Site-Validation.txt", state: "pending">3826 when multiple normalized_target_urls are specified3827 is expected to contain exactly #<DastSiteValidation id: 6, dast_site_token_id: 10, created_at: "2022-07-04 07:39:14.449495687 +0000"... "http://example26.test:80", url_path: "some/path/GitLab-DAST-Site-Validation.txt", state: "passed"> and #<DastSiteValidation id: 4, dast_site_token_id: 8, created_at: "2022-07-04 07:39:14.215756003 +0000",..."http://example24.test:80", url_path: "some/path/GitLab-DAST-Site-Validation.txt", state: "pending">3828 when one normalized_target_url is specified3829 is expected to contain exactly #<DastSiteValidation id: 5, dast_site_token_id: 9, created_at: "2022-07-04 07:39:14.310869567 +0000",...tp://example25.test:80", url_path: "some/path/GitLab-DAST-Site-Validation.txt", state: "inprogress">3830 when an empty array is specified3831 is expected to be empty3832 when status is specified3833 when filtering by pending3834 is expected to contain exactly #<DastSiteValidation id: 4, dast_site_token_id: 8, created_at: "2022-07-04 07:39:14.215756003 +0000",..."http://example24.test:80", url_path: "some/path/GitLab-DAST-Site-Validation.txt", state: "pending">3835 when filtering by in progress3836 is expected to contain exactly #<DastSiteValidation id: 5, dast_site_token_id: 9, created_at: "2022-07-04 07:39:14.310869567 +0000",...tp://example25.test:80", url_path: "some/path/GitLab-DAST-Site-Validation.txt", state: "inprogress">3837 when filtering by passed3838 is expected to contain exactly #<DastSiteValidation id: 6, dast_site_token_id: 10, created_at: "2022-07-04 07:39:14.449495687 +0000"... "http://example26.test:80", url_path: "some/path/GitLab-DAST-Site-Validation.txt", state: "passed">3839 when filtering by failed3840 is expected to contain exactly #<DastSiteValidation id: 7, dast_site_token_id: 11, created_at: "2022-07-04 07:39:14.540685651 +0000"... "http://example27.test:80", url_path: "some/path/GitLab-DAST-Site-Validation.txt", state: "failed">3841Sidebars::Projects::Menus::AnalyticsMenu3842 Menu items3843 Code Review3844 is expected not to be nil3845 when the user does not have access3846 is expected to be nil3847 Insights3848 is expected not to be nil3849 when insights are not available3850 is expected to be nil3851 when the user does not have access3852 is expected to be nil3853 Issue3854 is expected not to be nil3855 when the user does not have access3856 is expected to be nil3857 when licensed feature issues analytics is not enabled3858 is expected to be nil3859 Merge Request3860 is expected not to be nil3861 when the user does not have access3862 is expected to be nil3863SystemCheck::Geo::AuthorizedKeysCheck3864 #multi_check3865 succeed when all conditions are met3866 OpenSSH config file3867 fails when config file does not exist3868 skips when config file is not readable3869 in docker3870 fails when config file does not exist3871 AuthorizedKeysCommand3872 fails when config file does not contain the AuthorizedKeysCommand3873 warns when config file does not contain the correct AuthorizedKeysCommand3874 fails when cannot find referred authorized keys file on disk3875 AuthorizedKeysCommandUser3876 fails when config file does not contain the AuthorizedKeysCommandUser3877 fails when config file does not contain the correct AuthorizedKeysCommandUser3878 #extract_authorized_keys_command3879 returns false when no command is available3880 returns correct (uncommented) command3881 returns correct (leading whitespace) command3882 returns command without comments and without quotes3883 #extract_authorized_keys_command_user3884 returns false when no command user is available3885 returns correct (uncommented) command3886 returns correct (leading whitespace) command3887 returns command without comments3888 #openssh_config_path3889 when in docker container3890 returns /assets/sshd_config3891 when not in docker container3892 returns /etc/ssh/sshd_config3893Jira::JqlBuilderService3894 #execute3895 when no params3896 builds jql with default ordering3897 with special characters in project key3898 escapes quotes and backslashes3899 with search param3900 builds jql3901 search param with single qoutes3902 builds jql3903 search param with single double qoutes3904 builds jql3905 search param with special characters3906 builds jql3907 with labels param3908 builds jql3909 with status param3910 builds jql3911 with author_username param3912 builds jql3913 with assignee_username param3914 builds jql3915 with sort params3916 builds jql3917 with opened state param3918 builds jql3919 with closed state param3920 builds jql3921 with any other state param3922 builds jql3923 with vulnerability_ids params3924 builds jql3925 with issue_ids params3926 builds jql3927Analytics::RefreshReassignData3928 #execute3929 updates first_reassigned_at3930 when first_reassigned_at is already present3931 does not change first_reassigned_at3932 updates first_reassigned_at if forced3933 when no merge request metric is present3934 creates one3935Geo::RepositoryVerification::Secondary::SchedulerWorker3936 #perform3937 skips verification for repositories on other shards3938 skips verification for projects on missing shards3939 skips verification for projects with downed Gitaly server3940 skips verification for projects on shards excluded by selective sync3941 when geo_repository_verification is disabled3942 does not schedule jobs3943AuditEvents::RegisterRunnerAuditEventService3944 #track_event3945 for instance runner3946 on runner that failed to create3947 returns audit event attributes of a failed runner registration3948 on persisted runner3949 behaves like expected audit log3950 returns audit event attributes3951 with registration token prefixed with RUNNERS_TOKEN_PREFIX3952 behaves like expected audit log3953 returns audit event attributes3954 for group runner3955 on runner that failed to create3956 returns audit event attributes of a failed runner registration3957 on persisted runner3958 behaves like expected audit log3959 returns audit event attributes3960 for project runner3961 on runner that failed to create3962 returns audit event attributes of a failed runner registration3963 on persisted runner3964 behaves like expected audit log3965 returns audit event attributes3966GitlabSubscriptions::UpcomingReconciliationEntity3967 is expected to delegate #next_reconciliation_date to the #upcoming_reconciliation object3968 is expected to delegate #display_alert? to the #upcoming_reconciliation object3969 #has_permissions?3970 with namespace3971 checks if user can admin_namespace3972 without namespace3973 checks if user is admin3974 when current_user is nil3975 returns false3976 #cookie_key3977 with namespace3978 includes namespace id in key3979 without namespace3980 does not include namespace id in cookie key3981 #display_alert?3982 upcoming_reconciliation_display_alert: false, with_namespace: true, offline_cloud_license: true, expected: false3983 returns result3984 upcoming_reconciliation_display_alert: false, with_namespace: true, offline_cloud_license: false, expected: false3985 returns result3986 upcoming_reconciliation_display_alert: true, with_namespace: true, offline_cloud_license: true, expected: true3987 returns result3988 upcoming_reconciliation_display_alert: true, with_namespace: true, offline_cloud_license: false, expected: true3989 returns result3990 upcoming_reconciliation_display_alert: true, with_namespace: false, offline_cloud_license: false, expected: true3991 returns result3992 upcoming_reconciliation_display_alert: true, with_namespace: false, offline_cloud_license: true, expected: false3993 returns result3994 without upcoming_reconciliation3995 returns false3996 without namespace3997 returns false3998Gitlab::Geo::Oauth::LogoutState3999 #encode4000 returns nil when token is nil4001 returns nil when encryption fails4002 returns a string with salt, tag, encrypted access token, and return_to full path colon separated4003 includes a empty value for return_to into state when return_to is nil4004 #decode4005 returns nil when salt is nil4006 returns nil when salt has invalid base644007 returns nil when tag is nil4008 returns nil when encrypted token has invalid base644009 returns nil when encrypted token is nil4010 returns nil when decryption fails4011 returns nil when tag has an invalid byte size4012 returns nil when tag has been modified4013 returns nil when return_to has been modified4014 returns access_token when token is recoverable4015 #return_to4016 returns nil when return_to is nil4017 returns an empty string when return_to is empty4018 returns the full path of the return_to URL4019Resolvers::Geo::MergeRequestDiffRegistriesResolver4020 behaves like a Geo registries resolver4021 #resolve4022 when the parent object is the current node4023 when the user has permission to view Geo data4024 when admin mode is enabled4025 when the ids argument is null4026 returns registries, in order4027 when the ids argument is present4028 returns the requested registries, in order4029 when admin mode is disabled4030 returns nothing4031 when the user does not have permission to view Geo data4032 returns nothing4033 when the parent object is not the current node4034 when the user has permission to view Geo data4035 returns nothing, because we can't query other nodes' tracking databases4036Gitlab::Ci::Pipeline::Chain::Validate::External4037 #validation_service_payload4038 respects the defined schema and returns the default plan4039 does not fire N+1 SQL queries4040 with a project in a subgroup4041 returns an Ultimate plan on trial4042 when user is provisioned by group4043 returns the provisioned group with an Ultimate plan4044MergeRequests::SyncCodeOwnerApprovalRules4045 #execute4046 creates rules for code owner entries that don't have a rule4047 deletes rules that are not relevant anymore4048 updates rules for which the users changed4049 when merge request is already merged4050 logs an error4051AlertManagement::Alerts::UpdateService4052 #execute4053 when a status is included4054 when moving from a closed status to an open status4055 behaves like creates an escalation4056 is expected to receive perform_async(a kind of Integer) 1 time4057 moving from an open status to closed status4058 is expected to change `target.pending_escalations.reload.count` from 1 to 04059 moving from a status of the same group4060 does not create or delete escalations4061GroupMemberPresenter4062 #group_sso?4063 calls through to User#group_sso?4064 when member does not have a user (invited member)4065 returns `false`4066 #group_managed_account?4067 when member does not have a user (invited member)4068 returns `false`4069 when user is part of the group managed account4070 returns `true`4071 when user is not part of the group managed account4072 returns `false`4073 #can_update?4074 when user cannot update_group_member but can override_group_member4075 is expected to eq true4076 when user cannot update_group_member and cannot override_group_member4077 is expected to eq false4078 #valid_level_roles?4079 with minimal access role feature switched on4080 is expected to eq {"Developer"=>30, "Guest"=>10, "Maintainer"=>40, "Minimal Access"=>5, "Owner"=>50, "Reporter"=>20}4081 with minimal access role feature switched off4082 behaves like #valid_level_roles4083 returns all roles when no parent member is present4084 returns higher roles when a parent member is present4085Gitlab::Sitemaps::Generator4086 returns error if the env is not .com4087 when env is .com4088 returns error if group gitlab-org is not found4089 when group gitlab-org is present and public4090 and it is not public4091 returns and error4092 and it is public4093 includes default explore routes and gitlab-org group routes4094Security::OrchestrationPolicyRuleScheduleNamespaceWorker4095 #perform4096 when schedule exists4097 when schedule is created for security orchestration policy configuration in namespace4098 when next_run_at is in future4099 does not execute the rule schedule service4100 when next_run_at is in the past4101 executes the rule schedule service for all projects in the group4102 updates next run at value4103 when schedule is created for security orchestration policy configuration in project4104 does not execute the rule schedule service4105 when schedule does not exist4106 does not execute the rule schedule service4107EE::API::Helpers4108 #authenticate_by_gitlab_geo_node_token!4109 rescues from ::Gitlab::Geo::InvalidDecryptionKeyError4110 rescues from ::Gitlab::Geo::InvalidSignatureTimeError4111 returns unauthorized response when scope is not valid4112 #authorize_change_param4113 does not throw exception if param is authorized4114 unauthorized param4115 throws exception if unauthorized param is present4116 does not throw exception is unauthorized param is not present4117 #find_project!4118 when current_user is from a job4119 public project4120 returns requested project4121 private project without access4122 returns not found4123DashboardEnvironmentsSerializer4124 .represent4125 returns an empty array when there are no projects4126 includes project attributes4127 preloads only relevant ci_builds and does not result in N+14128Projects::Security::ConfigurationPresenter4129 #to_h4130 includes settings for auto_fix feature4131 reports auto_fix permissions4132 reports security_training_enabled4133 #to_html_data_attribute4134 includes feature meta information for dast scanner4135 does not include feature meta information for other scanner4136UserRecentEventsFinder4137 #execute4138 when the optimized_followed_users_queries FF is on4139 behaves like UserRecentEventsFinder examples4140 epic related activities4141 when profile is public4142 is expected to contain exactly #<Event project_id: nil, author_id: 2376, target_id: 86, created_at: "2022-07-04 07:39:55.676647223 +...76647223 +0000", action: "commented", target_type: "Note", group_id: nil, fingerprint: nil, id: 363> and #<Event project_id: nil, author_id: 2376, target_id: 328, created_at: "2022-07-04 07:39:55.681144423 ...5.681144423 +0000", action: "closed", target_type: "Epic", group_id: nil, fingerprint: nil, id: 364>4143 when profile is private4144 is expected to be empty4145 wehen fetching events from multiple users4146 when filtering for epic events4147 is expected to eq [#<Event project_id: nil, author_id: 2377, target_id: 328, created_at: "2022-07-04 07:39:55.770295757....681144423 +0000", action: "closed", target_type: "Epic", group_id: nil, fingerprint: nil, id: 364>]4148 when the optimized_followed_users_queries FF is off4149 behaves like UserRecentEventsFinder examples4150 epic related activities4151 when profile is public4152 is expected to contain exactly #<Event project_id: nil, author_id: 2376, target_id: 86, created_at: "2022-07-04 07:39:55.676647223 +...76647223 +0000", action: "commented", target_type: "Note", group_id: nil, fingerprint: nil, id: 363> and #<Event project_id: nil, author_id: 2376, target_id: 328, created_at: "2022-07-04 07:39:55.681144423 ...5.681144423 +0000", action: "closed", target_type: "Epic", group_id: nil, fingerprint: nil, id: 364>4153 when profile is private4154 is expected to be empty4155 wehen fetching events from multiple users4156 when filtering for epic events4157 is expected to eq [#<Event project_id: nil, author_id: 2377, target_id: 328, created_at: "2022-07-04 07:39:55.906214568....681144423 +0000", action: "closed", target_type: "Epic", group_id: nil, fingerprint: nil, id: 364>]4158Types::PipelineSecurityReportFindingType4159 is expected to eq "PipelineSecurityReportFinding"4160 is expected to require graphql authorizations :read_security_resource4161 is expected to have graphql fields :report_type, :name, :title, :severity, :confidence, :scanner, :identifiers, :links, :assets, :evidence, :project_fingerprint, :uuid, :project, :description, :location, :falsePositive, :solution, and :state4162 false_positive4163 when the vulnerability has a false-positive flag4164 returns false-positive value4165 when the vulnerability does not have any false-positive flag4166 returns false for false-positive field4167 when there exists no license4168 returns nil for false-positive field4169Resolvers::Vulnerabilities::ScannersResolver4170 #resolve4171 when listing scanners for group4172 is expected to contain exactly #<Representation::VulnerabilityScannerEntry(#<Vulnerabilities::Scanner id: 72, created_at: "2022-07-0..._id: 1289, external_id: "find_sec_bugs_60", name: "Find Security Bugs", vendor: "Security Vendor">)>4173 when listing scanners for project4174 is expected to contain exactly #<Representation::VulnerabilityScannerEntry(#<Vulnerabilities::Scanner id: 73, created_at: "2022-07-0..._id: 1290, external_id: "find_sec_bugs_61", name: "Find Security Bugs", vendor: "Security Vendor">)>4175 when listing scanners for instance dashboard4176 is expected to contain exactly #<Representation::VulnerabilityScannerEntry(#<Vulnerabilities::Scanner id: 73, created_at: "2022-07-0..._id: 1290, external_id: "find_sec_bugs_61", name: "Find Security Bugs", vendor: "Security Vendor">)>4177RepositoryImportWorker4178 updates the error on custom project template Import/Export4179 when project is a mirror4180 adds mirror in front of the mirror scheduler queue4181 sidekiq options4182 disables retry4183 disables dead4184 sets default status expiration4185Dast::BranchPolicy4186 behaves like a dast on-demand scan policy4187 dast on-demand policies4188 when a user does not have access to the project4189 is expected to be disallowed :create_on_demand_dast_scan and :read_on_demand_dast_scan4190 when the user is a guest4191 is expected to be disallowed :create_on_demand_dast_scan and :read_on_demand_dast_scan4192 when the user is a reporter4193 is expected to be disallowed :create_on_demand_dast_scan and :read_on_demand_dast_scan4194 when the user is a developer4195 is expected to be allowed :create_on_demand_dast_scan and :read_on_demand_dast_scan4196 when the user is a maintainer4197 is expected to be allowed :create_on_demand_dast_scan and :read_on_demand_dast_scan4198 when the user is an owner4199 is expected to be allowed :create_on_demand_dast_scan and :read_on_demand_dast_scan4200 when the user is allowed4201 when on demand scan licensed feature is not available4202 is expected to be disallowed :create_on_demand_dast_scan and :read_on_demand_dast_scan4203Gitlab::ImportExport::Project::ObjectBuilder4204 epics4205 finds the existing epic4206 finds the existing epic in root ancestor4207 creates a new epic4208IncidentManagement::ApplyIncidentSlaExceededLabelWorker4209 adds a label to the incident4210 sets the label applied boolean4211 adds a note that the label was added4212 label exists already4213 does not add a label4214 label is already added4215 does not add a label4216 sets the label applied boolean4217 for plain issues4218 does not add a label4219 without license4220 does not add a label4221AwardEmojis::DestroyService4222 #execute4223 publish to status page4224 with recognized emoji4225 triggers status page publish4226 with unrecognized emoji4227 does not trigger status page publish service4228 tracking emoji removing4229 when awardable is an epic4230 tracks usage4231 when awardable is not an epic4232 does not track epic emoji awarding4233Security::Ingestion::IngestReportsService4234 #execute4235 calls IngestReportService for each succeeded security scan4236 sets the resolved vulnerabilities, latest pipeline ID and has_vulnerabilities flag4237 calls MarkAsResolvedService with the recently ingested vulnerability IDs4238 scheduling the AutoFix background job4239 when the auto_fix is not enabled for the project4240 when the pipeline does not have any auto fix enabled report type4241 does not schedule the background job4242 when the pipeline has an auto fix enabled report type4243 does not schedule the background job4244 when the auto_fix is enabled for the project4245 when the pipeline does not have any auto fix enabled report type4246 does not schedule the background job4247 when the pipeline has an auto fix enabled report type4248 does not schedule the background job4249Gitlab::Email::Handler::ServiceDeskHandler4250 service desk is enabled for the project4251 when everything is fine4252 when using inherited issue templates4253 from instance4254 appends instance issue description template4255 from groups4256 appends group issue description template4257Gitlab::ImportExport::RepoRestorer4258 restores group wiki bundles4259 when group wiki in bundle4260 restores the repo successfully4261 when no group wiki in the bundle4262 does not creates an empty wiki4263Mutations::IncidentManagement::IssuableResourceLink::Destroy4264 is expected to require graphql authorizations :admin_issuable_resource_link4265 #resolve4266 when a user has permissions to delete issuable resource link4267 when IssuableResourceLinks::DestroyService responds with success4268 returns the issuable resource link with no errors4269 when IssuableResourceLinks::DestroyService responds with an error4270 returns errors4271 when a user has no permissions to delete an issuable resource link4272 raises an error4273 when issuable resource links feature is not avaiable4274 raises an error4275 when feature flag is disabled4276 raises an error4277EE::NamespaceSettings::UpdateService4278 #execute4279 as a normal user4280 does not change settings4281 registers an error4282 as a group owner4283 for a group that does not have prevent forking feature4284 does not change settings4285 registers an error4286 for a group that has prevent forking feature4287 changes settings4288Gitlab::Analytics::CycleAnalytics::Aggregated::BaseQueryBuilder4289 looks up items within the group hierarchy4290 accepts project_ids filter4291 #build_sorted_query4292 returns the items in order (by end_event)4293 returns the items in order (by duration)4294 handles the project_ids filter4295Gitlab::Geo::LogCursor::Logger4296 logs an info event4297 logs a warning event4298 logs an error event4299 .event_info4300 logs an info event4301 when class is extended with StdoutLogger4302 logs to stdout4303EE::Gitlab::Auth::Ldap::Sync::ExternalUsers4304 #update_permissions4305 adds users from both external LDAP groups as external users4306 removes users that are not in the LDAP group4307 leaves external users that do not have the LDAP provider4308 leaves external users that have a different provider identity4309 when ldap connection fails4310 logs a debug message4311Projects::SetupCiCd4312 sets up pull mirroring on the project4313 disables some features4314 when import_url is blank4315 doesn't update the project4316MergeRequest::Metrics4317 #review_start_at4318 is the earliest date from first_comment_at, first_approved_at or first_reassigned_at4319 when all review start candidates are nil4320 is nil4321 when one of review start candidates is nil4322 is earliest date from non-nil values4323 #review_end_at4324 when MR is merged4325 is merged_at4326 when MR is not merged4327 is Time.current4328 #review_time4329 is nil if there is no review_start_at4330 is review_end_at - review_start_at4331Namespaces::FreeUserCap::UpdatePreventSharingOutsideHierarchyService4332 #execute4333 sets setting to true4334 logs an info4335 when already set to true4336 makes no setting change4337 does not log4338 when namespace is nil4339 does not log4340 when an error occurs4341 logs an error4342Integrations::ZentaoSerializers::IssueEntity4343 when status is "opened"4344 returns the ZenTao issues attributes4345 when status is "closed"4346 returns the ZenTao issues attributes4347Resolvers::IncidentManagement::OncallRotationsResolver4348 is expected to have nullable GraphQL type IncidentManagementOncallRotationConnection4349 returns on-call rotations4350 when user does not have permissions4351 returns no rotations4352 when resolving a single item4353 when id given4354 returns the on-call rotation4355Analytics::CycleAnalytics::ValueStreamErrorsSerializer4356 serializes error on value stream object4357 does not contain stage errors4358 when nested value stream stages are given4359 serializes error on value stream object4360 ::STAGE_ATTRIBUTE_REGEX4361 extracts the index and the stage attribute name4362 is expected to eq ["0", "name"]4363 when large index is given4364 is expected to eq ["11", "name"]4365Analytics::IssuesAnalytics4366 #monthly_counters4367 without months_back specified4368 returns data for 12 months4369 with months_back set to 34370 returns data for 3 months4371Labels::CreateService4372 #execute4373 for scoped labels4374 for a project4375 behaves like records an onboarding progress action4376 is expected to receive execute({:action=>:scoped_label_created}) 1 time4377 for a group4378 behaves like records an onboarding progress action4379 is expected to receive execute({:action=>:scoped_label_created}) 1 time4380 without a group or project4381 behaves like does not record an onboarding progress action4382 is expected not to receive new(*(any args)) 0 times4383 without scoped label4384 behaves like does not record an onboarding progress action4385 is expected not to receive new(*(any args)) 0 times4386Gitlab::Ci::Reports::DependencyList::Dependency4387 initialize4388 sets all required properties4389 keeps vulnerabilities that are not duplicates4390 removes vulnerability duplicates4391 update dependency4392 is expected to eq [{:id=>12, :name=>"DDoS", :severity=>"high", :url=>"some_url_12"}, {:id=>4, :name=>"XSS vulnerability...rity=>"low", :url=>"some_url_4"}, {:id=>3, :name=>"problem", :severity=>"high", :url=>"some_url_3"}]4393Integrations::JiraSerializers::IssueEntity4394 returns the Jira issues attributes4395 with Jira Server configuration4396 returns the Jira Server profile URL4397 includes the Atlassian referrer on gitlab.com4398 sets user id field to `name`4399 with only url4400 returns URLs with the web url4401 with Jira Cloud configuration4402 returns the Jira Cloud profile URL4403 includes the Atlassian referrer on gitlab.com4404 sets user id field to `accountId`4405 without assignee4406 returns an empty array4407 without labels4408 returns an empty array4409Analytics::CycleAnalytics::StageFinder4410 when looking up in-memory default stage by name exists4411 is expected not to be persisted4412 is expected to eq "issue"4413 when in-memory default stage cannot be found4414 is expected to raise ActiveRecord::RecordNotFound4415 when persisted stage exists4416 is expected to be persisted4417 is expected to eq "Stage #6"4418 when persisted stage cannot be found4419 is expected to raise ActiveRecord::RecordNotFound4420Dashboard::Environments::ListService4421 #execute4422 returns a list of projects4423 when unlicensed4424 returns an empty array4425EE::Projects::Security::ConfigurationHelper4426 when user can access discover security4427 is expected to eq "/namespace1359/project1362/-/security/discover"4428 when user can not access discover security4429 is expected to eq "https://about.gitlab.com/pricing/"4430Types::Boards::EpicBoardType4431 is expected to eq "EpicBoard"4432 is expected to require graphql authorizations :read_epic_board4433 has specific fields4434RequirementsManagement::ProcessRequirementsReportsWorker4435 #perform4436 build exists4437 processes requirements reports4438 behaves like an idempotent worker4439 is labeled as idempotent4440 performs multiple times sequentially without raising an exception4441 when the service raises a Gitlab::Access::AccessDeniedError4442 rescues the error4443 build does not exist4444 does not store requirements reports4445MarkupHelper4446 #first_line_in_markdown4447 with scoped label references4448 shows proper tooltip4449 #render_wiki_content4450 when file is Markdown4451 when content has labels4452 when wiki is a group wiki4453 behaves like renders label4454 is expected not to be empty4455 when wiki is a project wiki4456 behaves like renders label4457 is expected not to be empty4458projects/security/discover/show4459 renders vue app root with correct link4460 candidate for pql_three_cta_test4461 renders vue app root with candidate url4462 candidate for showcase_free_security_features4463 renders showcase and not security discover element4464Analytics::ProductivityAnalyticsRequestParams4465 validations4466 is valid4467 `merged_at` params4468 when `merged_before` is earlier than `merged_after`4469 is invalid4470 when `merged_after` is earlier than `productivity_analytics_start_date`4471 is invalid4472 when `merged_before` is earlier than `productivity_analytics_start_date`4473 is invalid4474 default values4475 `merged_before`4476 defaults to today date4477 `merged_after`4478 when `productivity_analytics_start_date` is within the last 30 days4479 defaults to `productivity_analytics_start_date`4480 when `productivity_analytics_start_date` older than 30 days4481 defaults to 30 days ago4482layouts/header/_new_dropdown4483 general menu links4484 renders a 'New project/repository' link4485 group-specific links4486 does not have "New epic" link4487 as a Group owner4488 with the epics license4489 has a "New epic" link4490Types::AlertManagement::PayloadAlertFieldPathSegmentType4491 is expected to eq "PayloadAlertFieldPathSegment"4492 .coerce_input4493 with string4494 is expected to eq "string"4495 with integer4496 is expected to eq 164497 with non-string or integer4498 is expected to eq nil4499 .coerce_result4500 with string4501 is expected to eq "string"4502 with integer4503 is expected to eq 164504 with non-string or integer4505 is expected to eq "[1, 2, 3]"4506Projects::Licenses::CreatePolicyService4507 #execute4508 when creating a policy for a software license by the software license database id4509 creates a new policy4510 when creating a policy for a software license by the software license SPDX identifier4511 creates a new policy4512 when the software license is not specified4513 returns an error4514 when the classification is invalid4515 returns an error4516MergeRequestResetApprovalsWorker4517 #perform4518 executes MergeRequests::RefreshService with expected values4519 project is missing4520 doesn't execute the service4521 user is missing4522 doesn't execute the service4523Nav::TopNavHelper4524 #top_nav_view_model4525 with environments4526 has expected :primary4527 with operations4528 has expected :primary4529 with security4530 has expected :primary4531 with geo4532 has expected :secondary4533 with projects4534 has expected :primary4535 when licensed feature is available4536 has expected :linksPrimary4537Evidences::EvidenceEntity4538 matches the schema when evidence has report artifacts4539registrations/groups_projects/new4540 when Google Tag Manager is enabled4541 contains a Google Tag Manager tag4542 when Google Tag Manager is disabled4543 does not contain a Google Tag Manager tag4544 expected DOM elements4545 contains js-groups-projects-form class4546Geo::Scheduler::PerShardSchedulerWorker4547 includes ApplicationWorker4548 includes CronjobQueue4549 includes Gitlab::Utils::StrongMemoize4550 includes Gitlab::Geo::LogHelpers4551 instance methods4552 #schedule_job4553 raises a NotImplementedError exception4554 #ready_shards4555 returns an array of ready shards4556 #healthy_ready_shards4557 returns an array of healthy shard names4558 logs unhealthy shards4559 #healthy_shard_names4560 returns an array of healthy shard names4561GpgKeys::DestroyService4562 creates an audit event4563 returns the correct value4564 when destroy operation fails4565 does not create an audit event4566 returns the correct value4567Gitlab::Graphql::Aggregations::Issues::LazyLinksAggregate4568 behaves like issuable lazy links aggregate4569 #initialize4570 adds the issuable_id to the `blocked` lazy state by default4571 #links_aggregate4572 when link_type is `blocked`4573 behaves like block provided4574WARNING: An expectation of `:do_thing` was set on `nil`. To allow expectations on `nil` and suppress this message, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `true`. To disallow expectations on `nil`, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `false`. Called from /builds/gitlab-org/gitlab/ee/spec/support/shared_examples/lib/gitlab/graphql/issuables_lazy_links_aggregate_shared_examples.rb:39:in `block (4 levels) in <top (required)>'.4575 calls the block4576 behaves like the record has already been loaded4577 does not make the query again4578 behaves like the record has not been loaded4579 clears the pending IDs4580 when link_type is `blocking`4581 behaves like block provided4582WARNING: An expectation of `:do_thing` was set on `nil`. To allow expectations on `nil` and suppress this message, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `true`. To disallow expectations on `nil`, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `false`. Called from /builds/gitlab-org/gitlab/ee/spec/support/shared_examples/lib/gitlab/graphql/issuables_lazy_links_aggregate_shared_examples.rb:39:in `block (4 levels) in <top (required)>'.4583 calls the block4584 behaves like the record has already been loaded4585 does not make the query again4586 behaves like the record has not been loaded4587 clears the pending IDs4588Gitlab::CIDR4589 validation4590 raises an exception when an octet is invalid4591 raises an exception when a bitmask is invalid4592 raises an exception when one IP from a set is invalid4593 matching4594 values: "192.1.1.1", ip: "192.1.1.1", match: true4595 is expected to eq true4596 values: "192.1.1.1, 192.1.2.1", ip: "192.1.2.1", match: true4597 is expected to eq true4598 values: "192.1.1.0/24", ip: "192.1.1.223", match: true4599 is expected to eq true4600 values: "192.1.0.0/16", ip: "192.1.223.223", match: true4601 is expected to eq true4602 values: "192.1.0.0/16, 192.1.2.0/24", ip: "192.1.2.223", match: true4603 is expected to eq true4604 values: "192.1.0.0/16", ip: "192.2.1.1", match: false4605 is expected to eq false4606 values: "192.1.0.1", ip: "192.2.1.1", match: false4607 is expected to eq false4608Gitlab::Ci::Reports::Metrics::Report4609 #add_metric4610 stores given metric4611 correctly stores metric params4612EE::IncidentManagement::ProjectIncidentManagementSetting4613 Validations4614 validate SLA settings4615 #sla_timer_minutes4616 sla_timer is disabled4617 is expected not to validate that :sla_timer_minutes cannot be empty/falsy4618 sla_timer is enabled4619 is expected to validate that :sla_timer_minutes looks like a number greater than or equal to 154620 is expected to validate that :sla_timer_minutes looks like a number less than or equal to 5259494621ResourceEvents::ChangeLabelsService4622 .execute4623 when adding a label4624 tracks the label change4625 when removing a label4626 tracks the label change4627 when both adding and removing labels4628 tracks the label change4629Gitlab::ImportExport::WikiRepoSaver4630 bundles a group wiki Git repo4631 bundles the repo successfully4632 when the repo is empty4633 bundles the repo successfully4634 #bundle_filename4635 when exportable is a group4636 returns the right filename for group wikis4637 when exportable is a project4638 returns the right filename for project wikis4639Gitlab::Audit::Events::Preloader4640 .preload!4641 returns an ActiveRecord::Relation4642 preloads associated records4643 #find_each4644 yields a list audit events4645 loads audit events in batches with preloaded associated records4646BulkImports::Projects::Pipelines::PushRulePipeline4647 #run4648 imports push rules4649AdjournedGroupDeletionWorker4650 #perform4651 only schedules to delete groups marked for deletion on or before the specified `deletion_adjourned_period`4652 does not schedule to delete a group not marked for deletion4653 does not schedule to delete a group that is marked for deletion after the specified `deletion_adjourned_period`4654 schedules groups 20 seconds apart4655operations/index.html.haml4656 renders the frontend configuration4657Gitlab::Insights::Serializers::Chartjs::MultiSeriesSerializer4658 returns the correct format4659 wrong input formats4660 input: []4661 raises an error if the input is not in the correct format4662 input: [1, 2, 3]4663 raises an error if the input is not in the correct format4664 input: {:a=>:b}4665 raises an error if the input is not in the correct format4666 input: {:a=>[:a, "b"]}4667 raises an error if the input is not in the correct format4668Ci::Runners::AssignRunnerService#execute4669 with unauthorized user4670 does not call assign_to on runner and returns false4671 with admin user4672 calls track_event on RunnerCustomAuditEventService and returns assign_to return value4673Gitlab::Audit::Levels::Instance4674 #apply4675 finds all events4676Gitlab::Analytics::CycleAnalytics::DataForDurationChart4677 #average_by_day4678DEPRECATION WARNING: `.reorder(nil)` with `.first` / `.first!` no longer takes non-deterministic result in Rails 6.2. To continue taking non-deterministic result, use `.take` / `.take!` instead. (called from block (3 levels) in <top (required)> at /builds/gitlab-org/gitlab/ee/spec/lib/gitlab/analytics/cycle_analytics/data_for_duration_chart_spec.rb:30)4679 returns average duration by day4680Issues::LinkedIssueFeatureFlagEntity4681 #as_json4682 returns json4683Resolvers::VulnerabilitiesCountPerDayResolver4684 #resolve4685 fetches historical vulnerability data from the start date to the end date4686ApprovalRules::ExternalApprovalRulePayloadWorker4687 #perform4688 executes a WebHookService4689 behaves like an idempotent worker4690 is labeled as idempotent4691 performs multiple times sequentially without raising an exception4692EE::Gitlab::NamespaceStorageSizeErrorMessage4693 #commit_error4694 returns the expected message4695 #push_error4696 returns the expected message4697 #new_changes_error4698 returns the expected message4699 #above_size_limit_message4700 returns the expected message4701Types::IssueSortEnum4702 is expected to eq "IssueSort"4703 exposes all the existing EE issue sort values4704 behaves like common sort values4705 exposes all the existing common sort values4706Types::VulnerabilityDetails::TableType4707 is expected to have graphql fields :name, :description, :fieldName, :headers, and :rows4708TestSuiteComparerEntity4709 #as_json4710 when head sutie has a newly failed test case which does not exist in base4711 contains correct compared test suite details4712 when head sutie still has a failed test case which failed in base4713 contains correct compared test suite details4714 when head sutie has a success test case which failed in base4715 contains correct compared test suite details4716Namespaces::SyncNamespaceNameWorker4717 #perform4718 triggers a sync for the namespace name to CustomersDot4719 when the namespace is not found4720 does not trigger a sync for the namespace name to CustomersDot4721 does not raise an error4722 when the sync fails4723 raises a RequestError4724Types::EpicSortEnum4725 is expected to eq "EpicSort"4726 exposes all the existing epic sort orders4727Types::JsonStringType4728 is expected to eq "JsonString"4729 .coerce_input4730 when a JSON string is a valid JSON4731 coerces JSON string into a Hash4732 when a JSON string is not a JSON4733 raises an exception4734 .coerce_result4735 coerces a hash to a JSON string4736Types::GroupStatsType4737 is expected to require graphql authorizations :read_group4738 has the expected fields4739Geo::SyncTimeoutCronWorker4740 uses a cronjob queue4741 #perform4742 calls fail_sync_timeouts4743Types::ComplianceManagement::MergeRequests::ComplianceViolationType4744 is expected to eq "ComplianceViolation"4745 is expected to have graphql fields :id, :severity_level, :reason, :violating_user, and :merge_request4746 is expected to require graphql authorizations :read_group_compliance_dashboard4747Gitlab::SearchContext::Builder4748 #with_group4749 #build!4750 with epics scope4751 search context returns epics scope4752Types::AppSec::Fuzzing::API::ScanModeEnum4753 exposes all API fuzzing scan modes4754Types::VulnerabilityLocation::SecretDetectionType4755 is expected to have graphql fields :end_line, :file, :start_line, :vulnerable_class, :vulnerable_method, and :blob_path4756TodosDestroyer::ConfidentialEpicWorker4757 calls the Todos::Destroy::ConfidentialEpicService with epic_id parameter4758EE::Gitlab::ApplicationRateLimiter4759 .rate_limits4760 includes values for unique_project_downloads4761Elastic::Latest::SnippetInstanceProxy4762 #as_indexed_json4763 serializes snippet as hash4764Gitlab::Analytics::CycleAnalytics::Summary::BaseDoraSummary4765 #metric_key4766 is required to be overloaded4767operations/environments.html.haml4768 renders the frontend configuration4769Gitlab::Auth::Saml::IdentityLinker4770 updates membership4771Gitlab::Kerberos::Authentication4772 .kerberos_default_realm4773 returns the default realm exposed by the Kerberos library4774Geo::RepositoriesChangedEvent4775 relationships4776 is expected to belong to geo_node required: false4777 validations4778 is expected to validate that :geo_node cannot be empty/falsy4779Gitlab::AlertManagement::AlertPayloadFieldExtractor4780 #extract4781 returns all the possible field combination and types suggestions4782Types::PermissionTypes::Project4783 is expected to have graphql field :admin_path_locks4784Knapsack report was generated. Preview:4785{4786 "ee/spec/lib/ee/gitlab/usage_data_spec.rb": 304.00836602399977,4787 "ee/spec/lib/gitlab/insights/finders/issuable_finder_spec.rb": 212.56253684700096,4788 "ee/spec/services/members/activate_service_spec.rb": 132.5811191820012,4789 "ee/spec/models/geo/terraform_state_version_registry_spec.rb": 94.30484932199943,4790 "ee/spec/lib/compliance_management/merge_request_approval_settings/resolver_spec.rb": 70.95467313899826,4791 "ee/spec/services/epics/epic_links/create_service_spec.rb": 78.91338714800077,4792 "ee/spec/replicators/geo/merge_request_diff_replicator_spec.rb": 98.51956674599933,4793 "ee/spec/models/burndown_spec.rb": 59.11765598300008,4794 "ee/spec/lib/gitlab/import_export/attributes_permitter_spec.rb": 39.90456419899965,4795 "ee/spec/models/geo/pages_deployment_registry_spec.rb": 51.170849393000026,4796 "ee/spec/lib/gitlab/elastic/snippet_search_results_spec.rb": 54.15733949999958,4797 "ee/spec/services/elastic/cluster_reindexing_service_spec.rb": 45.38652710399947,4798 "ee/spec/services/todo_service_spec.rb": 30.853397741999288,4799 "ee/spec/services/merge_requests/push_options_handler_service_spec.rb": 37.035201423001126,4800 "ee/spec/services/ci/process_build_service_spec.rb": 39.80297970599895,4801 "ee/spec/workers/store_security_reports_worker_spec.rb": 21.09648729699984,4802 "ee/spec/services/groups/sync_service_spec.rb": 22.703945191000457,4803 "ee/spec/services/geo/framework_repository_sync_service_spec.rb": 12.324969318000512,4804 "ee/spec/services/vulnerabilities/create_service_spec.rb": 18.91797834799945,4805 "ee/spec/lib/gitlab/auth/ldap/access_spec.rb": 12.150673899999674,4806 "ee/spec/lib/gitlab/expiring_subscription_message_spec.rb": 3.2490479280004365,4807 "ee/spec/services/status_page/trigger_publish_service_spec.rb": 14.134496294998826,4808 "ee/spec/services/security/vulnerability_counting_service_spec.rb": 15.281085856999198,4809 "ee/spec/services/requirements_management/import_csv_service_spec.rb": 14.70738889599852,4810 "ee/spec/finders/merge_requests_finder_spec.rb": 14.536777318000532,4811 "ee/spec/services/app_sec/dast/scans/run_service_spec.rb": 8.574784374000956,4812 "ee/spec/helpers/ee/issues_helper_spec.rb": 9.249139428999115,4813 "ee/spec/workers/geo/secondary/registry_consistency_worker_spec.rb": 9.616055432999929,4814 "ee/spec/services/ee/boards/lists/create_service_spec.rb": 4.7618160040001385,4815 "ee/spec/finders/audit_log_finder_spec.rb": 4.856049158999667,4816 "ee/spec/finders/security/vulnerability_reads_finder_spec.rb": 9.730919766001534,4817 "ee/spec/models/status_page/project_setting_spec.rb": 4.785450802999549,4818 "ee/spec/replicators/geo/group_wiki_repository_replicator_spec.rb": 5.785379995999392,4819 "ee/spec/graphql/mutations/issues/set_weight_spec.rb": 7.630962188999547,4820 "ee/spec/models/concerns/epic_tree_sorting_spec.rb": 9.612138864000372,4821 "ee/spec/presenters/ci/pipeline_presenter_spec.rb": 10.851132959000097,4822 "ee/spec/services/ci/create_pipeline_service/dast_configuration_spec.rb": 7.181543110000348,4823 "ee/spec/services/ci/subscribe_bridge_service_spec.rb": 10.78288982400045,4824 "ee/spec/lib/analytics/refresh_comments_data_spec.rb": 7.36860108700057,4825 "ee/spec/workers/security/store_scans_worker_spec.rb": 4.530028710998522,4826 "ee/spec/lib/gitlab/search/recent_epics_spec.rb": 8.456441512998936,4827 "ee/spec/services/vulnerabilities/finding_dismiss_service_spec.rb": 6.306535469000664,4828 "ee/spec/services/app_sec/dast/sites/find_or_create_service_spec.rb": 7.892568290999407,4829 "ee/spec/models/deployments/approval_spec.rb": 5.718028658999174,4830 "ee/spec/lib/gitlab/ci/templates/api_security_gitlab_ci_yaml_spec.rb": 3.4759319530003268,4831 "ee/spec/services/ci/compare_license_scanning_reports_service_spec.rb": 6.3704061650005315,4832 "ee/spec/lib/gitlab/graphql/loaders/bulk_epic_aggregate_loader_spec.rb": 2.3084028829998715,4833 "ee/spec/workers/concerns/elastic/indexing_control_spec.rb": 5.347878525000851,4834 "ee/spec/services/ee/todos/destroy/entity_leave_service_spec.rb": 4.279013497998676,4835 "ee/spec/services/approval_rules/merge_request_rule_destroy_service_spec.rb": 6.814719885000159,4836 "ee/spec/graphql/resolvers/board_groupings/epics_resolvers_spec.rb": 6.040526087999751,4837 "ee/spec/graphql/mutations/dast_scanner_profiles/create_spec.rb": 5.070700943999327,4838 "ee/spec/workers/elastic_remove_expired_namespace_subscriptions_from_index_cron_worker_spec.rb": 5.745126857998912,4839 "ee/spec/graphql/mutations/dast_site_validations/create_spec.rb": 5.431931529001304,4840 "ee/spec/models/analytics/devops_adoption/snapshot_spec.rb": 2.376571127999341,4841 "ee/spec/graphql/mutations/dast_site_tokens/create_spec.rb": 5.852854259999731,4842 "ee/spec/services/app_sec/dast/profiles/create_associations_service_spec.rb": 3.8438124179992883,4843 "ee/spec/services/requirements_management/create_requirement_service_spec.rb": 2.97599088700008,4844 "ee/spec/policies/dast/profile_schedule_policy_spec.rb": 4.391218579999986,4845 "ee/spec/graphql/resolvers/dast_site_validation_resolver_spec.rb": 2.93936309899982,4846 "ee/spec/lib/ee/sidebars/projects/menus/analytics_menu_spec.rb": 2.046992821000458,4847 "ee/spec/lib/system_check/geo/authorized_keys_check_spec.rb": 1.0678917069999443,4848 "ee/spec/services/jira/jql_builder_service_spec.rb": 0.7509774290010682,4849 "ee/spec/lib/analytics/refresh_reassign_data_spec.rb": 4.441041267000401,4850 "ee/spec/workers/geo/repository_verification/secondary/scheduler_worker_spec.rb": 2.6375261700013652,4851 "ee/spec/services/audit_events/register_runner_audit_event_service_spec.rb": 1.1594420009987516,4852 "ee/spec/lib/gitlab_subscriptions/upcoming_reconciliation_entity_spec.rb": 0.8997601890005171,4853 "ee/spec/lib/gitlab/geo/oauth/logout_state_spec.rb": 0.8896929989987257,4854 "ee/spec/graphql/resolvers/geo/merge_request_diff_registries_resolver_spec.rb": 3.275662686000942,4855 "ee/spec/lib/ee/gitlab/ci/pipeline/chain/validate/external_spec.rb": 3.377130439999746,4856 "ee/spec/services/merge_requests/sync_code_owner_approval_rules_spec.rb": 2.2637793960002455,4857 "ee/spec/services/ee/alert_management/alerts/update_service_spec.rb": 2.017815192000853,4858 "ee/spec/presenters/group_member_presenter_spec.rb": 2.1482659739995142,4859 "ee/spec/lib/gitlab/sitemaps/generator_spec.rb": 2.8132368280002993,4860 "ee/spec/workers/security/orchestration_policy_rule_schedule_namespace_worker_spec.rb": 1.478201738998905,4861 "ee/spec/lib/ee/api/helpers_spec.rb": 2.2340190979994077,4862 "ee/spec/serializers/dashboard_environments_serializer_spec.rb": 3.035014853001485,4863 "ee/spec/presenters/ee/projects/security/configuration_presenter_spec.rb": 1.349327608000749,4864 "ee/spec/finders/ee/user_recent_events_finder_spec.rb": 1.51083450599981,4865 "ee/spec/graphql/types/pipeline_security_report_finding_type_spec.rb": 2.36433247900095,4866 "ee/spec/graphql/resolvers/vulnerabilities/scanners_resolver_spec.rb": 1.8555150329993921,4867 "ee/spec/workers/repository_import_worker_spec.rb": 1.7105291329989996,4868 "ee/spec/policies/dast/branch_policy_spec.rb": 2.6474051189998136,4869 "ee/spec/lib/gitlab/import_export/project/object_builder_spec.rb": 3.9604077490002965,4870 "ee/spec/workers/incident_management/apply_incident_sla_exceeded_label_worker_spec.rb": 2.7533251619988732,4871 "ee/spec/services/award_emojis/destroy_service_spec.rb": 2.5180844080005045,4872 "ee/spec/services/security/ingestion/ingest_reports_service_spec.rb": 1.4368133610005316,4873 "ee/spec/lib/ee/gitlab/email/handler/service_desk_handler_spec.rb": 3.5857177959987894,4874 "ee/spec/lib/ee/gitlab/import_export/repo_restorer_spec.rb": 1.2105288270013261,4875 "ee/spec/graphql/mutations/incident_management/issuable_resource_link/destroy_spec.rb": 2.146681662999981,4876 "ee/spec/services/ee/namespace_settings/update_service_spec.rb": 2.448765442999502,4877 "ee/spec/lib/ee/gitlab/analytics/cycle_analytics/aggregated/base_query_builder_spec.rb": 2.2176848689996405,4878 "ee/spec/lib/gitlab/geo/log_cursor/logger_spec.rb": 0.3577726849998726,4879 "ee/spec/lib/ee/gitlab/auth/ldap/sync/external_users_spec.rb": 2.9356521099998645,4880 "ee/spec/services/projects/setup_ci_cd_spec.rb": 2.59563367300143,4881 "ee/spec/models/ee/merge_request/metrics_spec.rb": 0.8216780929997185,4882 "ee/spec/services/namespaces/free_user_cap/update_prevent_sharing_outside_hierarchy_service_spec.rb": 0.44891774999996414,4883 "ee/spec/serializers/integrations/zentao_serializers/issue_entity_spec.rb": 1.459915519999413,4884 "ee/spec/graphql/resolvers/incident_management/oncall_rotations_resolver_spec.rb": 1.8143708860006882,4885 "ee/spec/serializers/analytics/cycle_analytics/value_stream_errors_serializer_spec.rb": 0.5981362290003744,4886 "ee/spec/models/analytics/issues_analytics_spec.rb": 2.55478541499906,4887 "ee/spec/services/ee/labels/create_service_spec.rb": 1.0062864209994586,4888 "ee/spec/lib/gitlab/ci/reports/dependency_list/dependency_spec.rb": 0.36823621499934234,4889 "ee/spec/serializers/integrations/jira_serializers/issue_entity_spec.rb": 1.2861935529999755,4890 "ee/spec/finders/analytics/cycle_analytics/stage_finder_spec.rb": 0.524678395000592,4891 "ee/spec/services/dashboard/environments/list_service_spec.rb": 2.316663162000623,4892 "ee/spec/helpers/ee/projects/security/configuration_helper_spec.rb": 1.0151757010007714,4893 "ee/spec/graphql/types/boards/epic_board_type_spec.rb": 0.48698995700033265,4894 "ee/spec/workers/requirements_management/process_requirements_reports_worker_spec.rb": 0.9556330849991355,4895 "ee/spec/helpers/markup_helper_spec.rb": 1.1809383389991126,4896 "ee/spec/views/projects/security/discover/show.html.haml_spec.rb": 1.0220522399995389,4897 "ee/spec/lib/analytics/productivity_analytics_request_params_spec.rb": 0.63136794699858,4898 "ee/spec/views/layouts/header/_new_dropdown.haml_spec.rb": 0.9696160240000609,4899 "ee/spec/graphql/types/alert_management/payload_alert_field_path_segment_type_spec.rb": 0.3981962420002674,4900 "ee/spec/services/projects/licenses/create_policy_service_spec.rb": 1.8163772160005465,4901 "ee/spec/workers/merge_request_reset_approvals_worker_spec.rb": 1.710110022999288,4902 "ee/spec/helpers/nav/top_nav_helper_spec.rb": 1.1148087639994628,4903 "ee/spec/serializers/evidences/evidence_entity_spec.rb": 1.6687480269993102,4904 "ee/spec/views/registrations/groups_projects/new.html.haml_spec.rb": 0.8037600549996569,4905 "ee/spec/workers/geo/scheduler/per_shard_scheduler_worker_spec.rb": 0.36857980499917176,4906 "ee/spec/services/ee/gpg_keys/destroy_service_spec.rb": 0.7999354349994974,4907 "ee/spec/lib/gitlab/graphql/aggregations/issues/lazy_links_aggregate_spec.rb": 0.8448666019994562,4908 "ee/spec/lib/gitlab/cidr_spec.rb": 0.47281475799900363,4909 "ee/spec/lib/gitlab/ci/reports/metrics/report_spec.rb": 0.507459155000106,4910 "ee/spec/models/ee/incident_management/project_incident_management_setting_spec.rb": 1.2722030830009317,4911 "ee/spec/services/ee/resource_events/change_labels_service_spec.rb": 1.2250723369998013,4912 "ee/spec/lib/ee/gitlab/import_export/wiki_repo_saver_spec.rb": 0.727451460001248,4913 "ee/spec/lib/gitlab/audit/events/preloader_spec.rb": 1.004922620999423,4914 "ee/spec/lib/bulk_imports/projects/pipelines/push_rule_pipeline_spec.rb": 1.0370641790013906,4915 "ee/spec/workers/adjourned_group_deletion_worker_spec.rb": 1.098708596000506,4916 "ee/spec/views/operations/index.html.haml_spec.rb": 0.27667679200021666,4917 "ee/spec/lib/gitlab/insights/serializers/chartjs/multi_series_serializer_spec.rb": 0.4718237990000489,4918 "ee/spec/services/ci/runners/assign_runner_service_spec.rb": 1.1982923380001012,4919 "ee/spec/lib/gitlab/audit/levels/instance_spec.rb": 1.1218624539997109,4920 "ee/spec/lib/gitlab/analytics/cycle_analytics/data_for_duration_chart_spec.rb": 1.6787652160001016,4921 "ee/spec/serializers/issues/linked_issue_feature_flag_entity_spec.rb": 0.9720589139997173,4922 "ee/spec/graphql/resolvers/vulnerabilities_count_per_day_resolver_spec.rb": 0.8659886109999206,4923 "ee/spec/workers/approval_rules/external_approval_rule_payload_worker_spec.rb": 1.006533280999065,4924 "ee/spec/lib/ee/gitlab/namespace_storage_size_error_message_spec.rb": 0.6793375739998737,4925 "ee/spec/graphql/ee/types/issue_sort_enum_spec.rb": 0.18489368699920306,4926 "ee/spec/graphql/types/vulnerability_details/table_type_spec.rb": 0.14249089999975695,4927 "ee/spec/serializers/test_suite_comparer_entity_spec.rb": 0.5621239219999552,4928 "ee/spec/workers/namespaces/sync_namespace_name_worker_spec.rb": 0.3653516650010715,4929 "ee/spec/graphql/types/epic_sort_enum_spec.rb": 0.41982776100121555,4930 "ee/spec/graphql/types/json_string_type_spec.rb": 0.2424236339993513,4931 "ee/spec/graphql/types/group_stats_type_spec.rb": 0.1358407210009318,4932 "ee/spec/workers/geo/sync_timeout_cron_worker_spec.rb": 0.2772535609983606,4933 "ee/spec/graphql/types/compliance_management/merge_requests/compliance_violation_type_spec.rb": 0.1661400289995072,4934 "ee/spec/lib/gitlab/search_context/builder_spec.rb": 0.2117721859995072,4935 "ee/spec/graphql/types/app_sec/fuzzing/api/scan_mode_enum_spec.rb": 0.3765696940008638,4936 "ee/spec/graphql/types/vulnerability_location/secret_detection_type_spec.rb": 0.39898813299987523,4937 "ee/spec/workers/todos_destroyer/confidential_epic_worker_spec.rb": 0.1105009520015301,4938 "ee/spec/lib/ee/gitlab/application_rate_limiter_spec.rb": 0.21102761600013764,4939 "ee/spec/lib/elastic/latest/snippet_instance_proxy_spec.rb": 0.3993494419992203,4940 "ee/spec/lib/gitlab/analytics/cycle_analytics/summary/base_dora_summary_spec.rb": 0.18502624800021295,4941 "ee/spec/views/operations/environments.html.haml_spec.rb": 0.6342443369994726,4942 "ee/spec/lib/ee/gitlab/auth/saml/identity_linker_spec.rb": 0.24918654300017806,4943 "ee/spec/lib/gitlab/kerberos/authentication_spec.rb": 0.4269820700010314,4944 "ee/spec/models/geo/repositories_changed_event_spec.rb": 0.23040794499866024,4945 "ee/spec/lib/gitlab/alert_management/alert_payload_field_extractor_spec.rb": 0.30417377000048873,4946 "ee/spec/graphql/types/permission_types/project_spec.rb": 0.468884378000439034947}4948Knapsack global time execution for tests: 30m 42s4949Finished in 30 minutes 45 seconds (files took 41.91 seconds to load)49502105 examples, 0 failures4951RSpec exited with 0.4952No examples to retry, congrats!4954Not uploading cache ruby-gems-debian-bullseye-ruby-2.7-10 due to policy4955Not uploading cache gitaly-ruby-gems-debian-bullseye-ruby-2.7-10 due to policy4957Uploading artifacts...4958coverage/: found 5 matching files and directories 4959crystalball/: found 2 matching files and directories 4960deprecations/: found 12 matching files and directories 4961knapsack/: found 3 matching files and directories 4962rspec/: found 8 matching files and directories 4963WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory 4964log/*.log: found 19 matching files and directories 4965WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/2673337948/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com4966WARNING: Retrying... context=artifacts-uploader error=request redirected4967Uploading artifacts as "archive" to coordinator... 201 Created id=2673337948 responseStatus=201 Created token=xV7BdZzz4968Uploading artifacts...4969rspec/junit_rspec.xml: found 1 matching files and directories 4970WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/2673337948/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com4971WARNING: Retrying... context=artifacts-uploader error=request redirected4972Uploading artifacts as "junit" to coordinator... 201 Created id=2673337948 responseStatus=201 Created token=xV7BdZzz4974Job succeeded