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

Douglas Barbosa Alexandre
1Running with gitlab-runner 15.4.0~beta.5.gdefc7017 (defc7017)2 on blue-4.private.runners-manager.gitlab.com/gitlab.com/gitlab-org tDjA3Sp33 feature flags: FF_USE_FASTZIP:true6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-103-yarn-1.22-graphicsmagick-1.3.36 ...7Starting service postgres:12 ...8Pulling docker image postgres:12 ...9Using docker image sha256:f2f1f275f1a1dff86079a737d24a925772f06910c3559b43f32ef6b0dd23b152 for postgres:12 with digest postgres@sha256:afc79f5499a589f3130bd8666c1743db6748aa43083b52f823db72dd3af89785 ...10Starting service redis:6.0-alpine ...11Pulling docker image redis:6.0-alpine ...12Using docker image sha256:648aa889c697d1745a25a82475ee0df2c22ffe74dc3b7e11d2785b7738f1bcaa for redis:6.0-alpine with digest redis@sha256:4af27048227d6f68911c0098f56fff75d2e0af41d424536a571c604a5a2aa85f ...13Starting service elasticsearch:7.17.0 ...14Pulling docker image elasticsearch:7.17.0 ...15Using docker image sha256:6fe993d6e7ed5e00a18f9b146d867b77559bf9948e6596bbf880ddbefeec46f7 for elasticsearch:7.17.0 with digest elasticsearch@sha256:332c6d416808f6e9a2cbcbe0170d9a9bb14bfe772180d37de5084c223dd8948b ...16Waiting for services to be up and running (timeout 30 seconds)...17Authenticating with credentials from job payload (GitLab Registry)18Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-103-yarn-1.22-graphicsmagick-1.3.36 ...19Using docker image sha256:0de04b8fae6d288f2674c8ee330dead655389b1f4c48fa027d76f2d798deadaf for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-103-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12@sha256:3632d3da2a61b74f7c4724eb8752b609c16b498daf20e9800a9c44629adab0bc ...21Running on runner-tdja3sp3-project-278964-concurrent-0 via runner-tdja3sp3-private-1661358603-65677086...23$ eval "$CI_PRE_CLONE_SCRIPT"24Fetching changes with git depth set to 20...25Initialized empty Git repository in /builds/gitlab-org/gitlab/.git/26Created fresh repository.27remote: Enumerating objects: 115695, done. 28remote: Counting objects: 100% (115695/115695), done. 29remote: Compressing objects: 100% (77168/77168), done. 30remote: Total 115695 (delta 47763), reused 80641 (delta 34098), pack-reused 0 31Receiving objects: 100% (115695/115695), 110.34 MiB | 26.26 MiB/s, done.32Resolving deltas: 100% (47763/47763), done.34 * [new ref] refs/pipelines/621982466 -> refs/pipelines/62198246635Checking out 63997366 as refs/merge-requests/95971/merge...36Skipping Git submodules setup37$ git remote set-url origin "${CI_REPOSITORY_URL}"39Checking cache for ruby-gems-debian-bullseye-ruby-2.7-14...40cache.zip is up to date 41Successfully extracted cache42Checking cache for gitaly-ruby-gems-debian-bullseye-ruby-2.7-14...43cache.zip is up to date 44Successfully extracted cache46Downloading artifacts for compile-test-assets (2929379408)...47Downloading artifacts from coordinator... ok id=2929379408 responseStatus=200 OK token=rdAZijaW48Downloading artifacts for detect-tests (2929379414)...49Downloading artifacts from coordinator... ok id=2929379414 responseStatus=200 OK token=rdAZijaW50Downloading artifacts for retrieve-tests-metadata (2929379417)...51Downloading artifacts from coordinator... ok id=2929379417 responseStatus=200 OK token=rdAZijaW52Downloading artifacts for setup-test-env (2929379411)...53Downloading artifacts from coordinator... ok id=2929379411 responseStatus=200 OK token=rdAZijaW55Using docker image sha256:0de04b8fae6d288f2674c8ee330dead655389b1f4c48fa027d76f2d798deadaf for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-103-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12@sha256:3632d3da2a61b74f7c4724eb8752b609c16b498daf20e9800a9c44629adab0bc ...56$ echo $FOSS_ONLY57$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb58$ export GOPATH=$CI_PROJECT_DIR/.go59$ mkdir -p $GOPATH60$ source scripts/utils.sh61$ source scripts/prepare_build.sh623.2.3363Bundler version 2.2.3364Successfully installed bundler-2.3.15651 gem installed66production:development67Settings are listed in order of priority. The top value will be used.68clean69Set for your local app (/builds/gitlab-org/gitlab/.bundle/config): true70frozen71Set via BUNDLE_FROZEN: true72install_flags73Set via BUNDLE_INSTALL_FLAGS: "--jobs=$(nproc) --retry=3 --quiet"74path75Set for your local app (/builds/gitlab-org/gitlab/.bundle/config): "/builds/gitlab-org/gitlab/vendor"76without77Set via BUNDLE_WITHOUT: [:production, :development]78$ bundle install --jobs=$(nproc) --retry=3 --quiet && bundle check79Don't run Bundler as root. Bundler can ask for sudo if it is needed, and80installing your bundle as root will break this application for all non-root81users on this machine.82The Gemfile's dependencies are satisfied83==> 'bundle install --jobs=$(nproc) --retry=3 --quiet && bundle check' succeeded in 2 seconds.84$ bundle pristine pg85Installing pg 1.4.1 with native extensions86==> 'bundle pristine pg' succeeded in 9 seconds.87Using decomposed database config (config/database.yml.decomposed-postgresql)88$ setup_db_user_only89CREATE ROLE90GRANT91==> 'setup_db_user_only' succeeded in 1 seconds.92$ bundle exec rake db:drop db:create db:schema:load db:migrate93Dropped database 'gitlabhq_test'94Dropped database 'gitlabhq_test_ci'95Dropped database 'gitlabhq_geo_test'96Created database 'gitlabhq_test'97Created database 'gitlabhq_test_ci'98Created database 'gitlabhq_geo_test'99==> 'bundle exec rake db:drop db:create db:schema:load db:migrate' succeeded in 31 seconds.100$ setup_db_praefect101SELECT pg_catalog.set_config('search_path', '', false);102CREATE DATABASE praefect_test ENCODING 'UTF8';103==> 'setup_db_praefect' succeeded in 0 seconds.104$ run_timed_command "gem install knapsack --no-document"105$ gem install knapsack --no-document106Successfully installed knapsack-4.0.01071 gem installed108==> 'gem install knapsack --no-document' succeeded in 1 seconds.109$ run_timed_command "scripts/gitaly-test-spawn"110$ scripts/gitaly-test-spawn111find: ‘/builds/gitlab-org/gitlab/tmp/tests/gitaly/cmd’: No such file or directory112find: ‘/builds/gitlab-org/gitlab/tmp/tests/gitaly/cmd’: No such file or directory113find: ‘/builds/gitlab-org/gitlab/tmp/tests/gitaly/cmd’: No such file or directory114find: ‘/builds/gitlab-org/gitlab/tmp/tests/gitaly/cmd’: No such file or directory115find: ‘/builds/gitlab-org/gitlab/tmp/tests/gitaly/cmd’: No such file or directory116find: ‘/builds/gitlab-org/gitlab/tmp/tests/gitaly/cmd’: No such file or directory117Don't run Bundler as root. Bundler can ask for sudo if it is needed, and118installing your bundle as root will break this application for all non-root119users on this machine.120Using abstract_type 0.0.7121Using concurrent-ruby 1.1.10122Using i18n 1.12.0123Using minitest 5.16.2124Using tzinfo 2.0.5125Using zeitwerk 2.6.0126Using activesupport 6.1.6.1127Using builder 3.2.4128Using erubi 1.10.0129Using mini_portile2 2.8.0130Using racc 1.6.0131Using nokogiri 1.13.8 (x86_64-linux)132Using rails-dom-testing 2.0.3133Using crass 1.0.6134Using loofah 2.18.0135Using rails-html-sanitizer 1.4.3136Using actionview 6.1.6.1137Using rack 2.2.4138Using rack-test 1.1.0139Using actionpack 6.1.6.1140Using ice_nine 0.11.2141Using thread_safe 0.3.6142Using memoizable 0.4.2143Using adamantium 0.2.0144Using public_suffix 4.0.7145Using addressable 2.8.0146Using ast 2.4.2147Using binding_ninja 0.2.3148Using bundler 2.3.15149Using charlock_holmes 0.7.7150Using coderay 1.1.2151Using equalizer 0.0.11152Using concord 0.1.5153Using diff-lcs 1.3154Using dotenv 2.7.6155Using escape_utils 1.2.2156Using factory_bot 5.0.2157Using multipart-post 2.1.1158Using faraday 1.0.1159Using ffi 1.15.5160Using json 2.5.1161Using gemojione 3.3.0162Using mini_mime 1.1.2163Using rugged 1.2.0164Using github-linguist 7.20.0165Using github-markup 1.7.0166Using mime-types-data 3.2020.1104167Using mime-types 3.3.1168Using gitlab-gollum-rugged_adapter 0.4.4.4.gitlab.1169Using rouge 3.30.0170Using sanitize 6.0.0171Using stringex 2.8.5172Using gitlab-gollum-lib 4.2.7.10.gitlab.2173Using google-protobuf 3.21.3 (x86_64-linux)174Using googleapis-common-protos-types 1.3.0175Using grpc 1.42.0 (x86_64-linux)176Using opentracing 0.5.0177Using thrift 0.15.0178Using jaeger-client 1.1.0179Using pg_query 2.1.3180Using redis 4.4.0181Using gitlab-labkit 0.23.0182Using rubyzip 2.3.2183Using thor 1.1.0184Using tomlrb 2.0.1185Using with_env 1.1.0186Using rexml 3.2.5187Using xml-simple 1.1.9188Using gitlab-license_finder 6.14.2.1189Using gitlab-markup 1.7.1190Using grpc-tools 1.42.0191Using sawyer 0.8.2192Using octokit 4.20.0193Using reverse_markdown 1.4.0194Using licensee 9.15.2195Using method_source 0.9.2196Using msgpack 1.3.3197Using optimist 3.0.1198Using parallel 1.19.2199Using parser 3.0.3.2200Using procto 0.0.3201Using unparser 0.4.7202Using proc_to_ast 0.1.0203Using pry 0.12.2204Using rainbow 3.0.0205Using rbtrace 0.4.14206Using rdoc 6.3.2207Using regexp_parser 1.8.1208Using rspec-support 3.8.0209Using rspec-core 3.8.0210Using rspec-expectations 3.8.3211Using rspec-mocks 3.8.0212Using rspec 3.8.0213Using rspec-parameterized 0.4.2214Using rubocop-ast 0.2.0215Using ruby-progressbar 1.10.1216Using unicode-display_width 1.7.0217Using rubocop 0.86.0218Using sentry-raven 3.0.4219Using timecop 0.9.1220Bundle complete! 22 Gemfile dependencies, 100 gems now installed.221Gems in the groups 'production' and 'development' were not installed.222Bundled gems are installed into `/builds/gitlab-org/gitlab/vendor/gitaly-ruby`223Checking gitaly-ruby Gemfile...224Checking gitaly-ruby bundle...225The Gemfile's dependencies are satisfied226Trying to connect to gitaly: ..................................... OK227Trying to connect to gitaly2: .................................................... OK228Starting Praefect with in-memory election strategyTrying to connect to praefect: ........ OK229==> 'scripts/gitaly-test-spawn' succeeded in 11 seconds.230$ source ./scripts/rspec_helpers.sh231$ rspec_paralellized_job "--tag ~quarantine --tag ~level:migration"232SKIP_FLAKY_TESTS_AUTOMATICALLY: true233RETRY_FAILED_TESTS_IN_NEW_PROCESS: true234KNAPSACK_GENERATE_REPORT: true235FLAKY_RSPEC_GENERATE_REPORT: true236KNAPSACK_TEST_FILE_PATTERN: {ee/}spec/{bin,channels,config,db,dependencies,elastic,elastic_integration,experiments,factories,finders,frontend,graphql,haml_lint,helpers,initializers,lib,metrics_server,models,policies,presenters,rack_servers,replicators,routing,rubocop,scripts,serializers,services,sidekiq,sidekiq_cluster,spam,support_specs,tasks,uploaders,validators,views,workers,tooling,components}{,/**/}*_spec.rb237KNAPSACK_LOG_LEVEL: debug238KNAPSACK_REPORT_PATH: knapsack/rspec-ee_unit_pg12_11_16_report.json239FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json240FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec-ee_unit_pg12_11_16_report.json241NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec-ee_unit_pg12_11_16_report.json242SKIPPED_FLAKY_TESTS_REPORT_PATH: rspec/flaky/skipped_flaky_tests_rspec-ee_unit_pg12_11_16_report.txt243RETRIED_TESTS_REPORT_PATH: rspec/flaky/retried_tests_rspec-ee_unit_pg12_11_16_report.txt244CRYSTALBALL: 245Knapsack node specs:246ee/spec/lib/gitlab/elastic/project_search_results_spec.rb247ee/spec/services/quick_actions/interpret_service_spec.rb248ee/spec/services/vulnerabilities/revert_to_detected_service_spec.rb249ee/spec/services/ee/issues/update_service_spec.rb250ee/spec/config/metrics/every_metric_definition_spec.rb251ee/spec/policies/merge_request_policy_spec.rb252ee/spec/models/ee/ci/job_artifact_spec.rb253ee/spec/lib/gitlab/import_export/attributes_permitter_spec.rb254ee/spec/lib/ee/gitlab/background_migration/backfill_iteration_cadence_id_for_boards_spec.rb255ee/spec/tasks/gitlab/seed/group_seed_rake_spec.rb256ee/spec/finders/geo/merge_request_diff_registry_finder_spec.rb257ee/spec/lib/ee/gitlab/ci/templates/templates_spec.rb258ee/spec/models/concerns/elastic/issue_spec.rb259ee/spec/services/security/ingestion/tasks/ingest_vulnerabilities_spec.rb260ee/spec/lib/gitlab/ci/minutes/cost_factor_spec.rb261ee/spec/models/approval_wrapped_rule_spec.rb262ee/spec/services/boards/update_service_spec.rb263ee/spec/models/note_spec.rb264ee/spec/models/dast_site_profile_spec.rb265ee/spec/services/groups/memberships/export_service_spec.rb266ee/spec/finders/geo/upload_registry_finder_spec.rb267ee/spec/workers/geo/registry_sync_worker_spec.rb268ee/spec/models/resource_iteration_event_spec.rb269ee/spec/services/security/ingestion/tasks/update_vulnerability_uuids_spec.rb270ee/spec/services/epics/related_epic_links/create_service_spec.rb271ee/spec/services/ee/ci/job_artifacts/destroy_all_expired_service_spec.rb272ee/spec/models/requirements_management/test_report_spec.rb273ee/spec/graphql/resolvers/geo/pages_deployment_registries_resolver_spec.rb274ee/spec/services/users/abuse/excessive_projects_download_ban_service_spec.rb275ee/spec/services/groups/create_service_spec.rb276ee/spec/finders/dast_site_profiles_finder_spec.rb277ee/spec/lib/omni_auth/strategies/group_saml_spec.rb278ee/spec/models/geo/lfs_object_registry_spec.rb279ee/spec/services/ldap_group_reset_service_spec.rb280ee/spec/lib/gitlab/spdx/catalogue_gateway_spec.rb281ee/spec/lib/ee/gitlab/background_migration/populate_namespace_statistics_spec.rb282ee/spec/models/ee/iterations/cadence_spec.rb283ee/spec/models/vulnerabilities/identifier_spec.rb284ee/spec/lib/gitlab/ci/minutes/build_consumption_spec.rb285ee/spec/helpers/users_helper_spec.rb286ee/spec/models/project_feature_spec.rb287ee/spec/lib/elastic/latest/git_instance_proxy_spec.rb288ee/spec/models/epic/related_epic_link_spec.rb289ee/spec/lib/ee/gitlab/auth/ldap/sync/groups_spec.rb290ee/spec/lib/banzai/reference_parser/epic_parser_spec.rb291ee/spec/lib/ee/sidebars/projects/menus/security_compliance_menu_spec.rb292ee/spec/services/ee/groups/autocomplete_service_spec.rb293ee/spec/services/ee/vulnerability_feedback_module/update_service_spec.rb294ee/spec/graphql/mutations/dast_site_tokens/create_spec.rb295ee/spec/services/projects/prometheus/alerts/notify_service_spec.rb296ee/spec/services/app_sec/dast/site_profiles/destroy_service_spec.rb297ee/spec/lib/gitlab/ci/templates/Jobs/browser_performance_testing_gitlab_ci_yaml_spec.rb298ee/spec/services/incident_management/oncall_schedules/update_service_spec.rb299ee/spec/models/incident_management/escalation_rule_spec.rb300ee/spec/graphql/resolvers/user_discussions_count_resolver_spec.rb301ee/spec/models/analytics/cycle_analytics/project_stage_spec.rb302ee/spec/services/geo/metrics_update_service_spec.rb303ee/spec/services/epic_issues/list_service_spec.rb304ee/spec/services/system_notes/vulnerabilities_service_spec.rb305ee/spec/lib/gitlab/ci/templates/dast_api_gitlab_ci_yaml_spec.rb306ee/spec/views/shared/billings/_eoa_bronze_plan_banner.html.haml_spec.rb307ee/spec/services/ee/merge_requests/execute_approval_hooks_service_spec.rb308ee/spec/lib/gitlab/ci/templates/dast_api_latest_gitlab_ci_yaml_spec.rb309ee/spec/lib/gitlab/pagination_delegate_spec.rb310ee/spec/services/audit_events/release_created_audit_event_service_spec.rb311ee/spec/services/ee/merge_request_metrics_service_spec.rb312ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_last_edited_spec.rb313ee/spec/services/geo/files_expire_service_spec.rb314ee/spec/services/ee/merge_requests/base_service_spec.rb315ee/spec/workers/iterations/roll_over_issues_worker_spec.rb316ee/spec/lib/gitlab/ci/reports/security/locations/container_scanning_spec.rb317ee/spec/models/analytics/cycle_analytics/group_value_stream_spec.rb318ee/spec/helpers/ee/security_orchestration_helper_spec.rb319ee/spec/lib/ee/gitlab/search_results_spec.rb320ee/spec/services/licenses/destroy_service_spec.rb321ee/spec/models/container_repository_spec.rb322ee/spec/services/boards/epic_boards/create_service_spec.rb323ee/spec/lib/ee/api/entities/user_with_admin_spec.rb324ee/spec/services/ci/external_pull_requests/process_github_event_service_spec.rb325ee/spec/graphql/types/incident_management/oncall_rotation_date_input_type_spec.rb326ee/spec/workers/personal_access_tokens/instance/policy_worker_spec.rb327ee/spec/lib/container_registry/client_spec.rb328ee/spec/views/shared/credentials_inventory/personal_access_tokens/_personal_access_token.html.haml_spec.rb329ee/spec/serializers/clusters/environment_entity_spec.rb330ee/spec/finders/security/training_providers/base_url_finder_spec.rb331ee/spec/services/vulnerabilities/destroy_dismissal_feedback_service_spec.rb332ee/spec/services/incident_management/oncall_rotations/destroy_service_spec.rb333ee/spec/services/security/store_scans_service_spec.rb334ee/spec/finders/incident_management/escalation_rules_finder_spec.rb335ee/spec/services/milestones/destroy_service_spec.rb336ee/spec/lib/gitlab/ci/reports/dependency_list/report_spec.rb337ee/spec/services/gitlab_subscriptions/plan_upgrade_service_spec.rb338ee/spec/lib/gitlab/auth/ldap/adapter_spec.rb339ee/spec/graphql/resolvers/external_issue_resolver_spec.rb340ee/spec/serializers/ee/note_entity_spec.rb341ee/spec/lib/gitlab/ci/parsers/security/validators/default_branch_image_validator_spec.rb342ee/spec/services/security/security_orchestration_policies/process_policy_service_spec.rb343ee/spec/models/ee/clusters/agent_spec.rb344ee/spec/views/shared/issuable/_approver_suggestion.html.haml_spec.rb345ee/spec/finders/geo/project_registry_status_finder_spec.rb346ee/spec/services/analytics/devops_adoption/snapshots/create_service_spec.rb347ee/spec/lib/ee/sidebars/projects/menus/monitor_menu_spec.rb348ee/spec/graphql/ee/types/user_merge_request_interaction_type_spec.rb349ee/spec/models/ee/merge_request/metrics_spec.rb350ee/spec/models/approvals/scan_finding_wrapped_rule_set_spec.rb351ee/spec/components/namespaces/free_user_cap/usage_quota_trial_alert_component_spec.rb352ee/spec/views/projects/security/dast_site_profiles/new.html.haml_spec.rb353ee/spec/lib/banzai/filter/jira_private_image_link_filter_spec.rb354ee/spec/services/ee/design_management/save_designs_service_spec.rb355ee/spec/helpers/admin/emails_helper_spec.rb356ee/spec/lib/gitlab/ci/config/entry/vault/secret_spec.rb357ee/spec/services/concerns/epics/related_epic_links/usage_data_helper_spec.rb358ee/spec/services/geo/node_status_request_service_spec.rb359ee/spec/lib/ee/banzai/filter/sanitization_filter_spec.rb360ee/spec/services/analytics/cycle_analytics/stages/delete_service_spec.rb361ee/spec/graphql/ee/resolvers/board_lists_resolver_spec.rb362ee/spec/graphql/types/incident_management/oncall_schedule_type_spec.rb363ee/spec/lib/gitlab/auth/smartcard/session_enforcer_spec.rb364ee/spec/services/users/abuse/namespace_bans/create_service_spec.rb365ee/spec/graphql/types/scan_type_spec.rb366ee/spec/services/group_saml/saml_group_links/create_service_spec.rb367ee/spec/graphql/mutations/incident_management/oncall_schedule/create_spec.rb368ee/spec/services/projects/licenses/create_policy_service_spec.rb369ee/spec/lib/gitlab/geo/base_request_spec.rb370ee/spec/services/personal_access_tokens/create_service_audit_log_spec.rb371ee/spec/workers/adjourned_group_deletion_worker_spec.rb372ee/spec/models/concerns/auditable_spec.rb373ee/spec/policies/group_hook_policy_spec.rb374ee/spec/workers/geo/scheduler/scheduler_worker_spec.rb375ee/spec/services/vulnerabilities/user_notes_count_service_spec.rb376ee/spec/workers/elastic_index_bulk_cron_worker_spec.rb377ee/spec/lib/ee/gitlab/scim/filter_parser_spec.rb378ee/spec/serializers/evidences/build_artifact_entity_spec.rb379ee/spec/services/projects/disable_deploy_key_service_spec.rb380ee/spec/services/security/security_orchestration_policies/ci_configuration_service_spec.rb381ee/spec/lib/ee/gitlab/gon_helper_spec.rb382ee/spec/services/geo/repositories_changed_event_store_spec.rb383ee/spec/services/ee/alert_management/alerts/update_service_spec.rb384ee/spec/workers/incident_management/incident_sla_exceeded_check_worker_spec.rb385ee/spec/routing/groups/cadences_routing_spec.rb386ee/spec/lib/gitlab/analytics/cycle_analytics/summary/lead_time_spec.rb387ee/spec/graphql/ee/types/merge_request_type_spec.rb388ee/spec/lib/arkose/settings_spec.rb389ee/spec/graphql/types/vulnerability_details/diff_type_spec.rb390ee/spec/views/projects/security/discover/show.html.haml_spec.rb391ee/spec/finders/analytics/devops_adoption/snapshots_finder_spec.rb392ee/spec/graphql/types/work_items/widget_interface_spec.rb393ee/spec/graphql/types/dast/profile_branch_type_spec.rb394ee/spec/helpers/ee/emails_helper_spec.rb395ee/spec/lib/api/entities/deployments/approval_spec.rb396ee/spec/elastic/migrate/20201116142400_add_new_data_to_issues_documents_spec.rb397ee/spec/elastic/migrate/20210813134600_add_namespace_ancestry_to_issues_mapping_spec.rb398ee/spec/workers/geo/design_repository_sync_worker_spec.rb399ee/spec/services/keys/create_service_spec.rb400ee/spec/models/ee/analytics/cycle_analytics/stage_event_hash_spec.rb401ee/spec/graphql/types/dast/profile_schedule_input_type_spec.rb402ee/spec/graphql/types/projects/services_enum_spec.rb403ee/spec/lib/gitlab/console_spec.rb404ee/spec/graphql/types/geo/job_artifact_registry_type_spec.rb405ee/spec/models/geo/repositories_changed_event_spec.rb406ee/spec/lib/ee/gitlab/application_rate_limiter_spec.rb407ee/spec/graphql/types/incident_management/issuable_resource_link_type_enum_spec.rb408ee/spec/graphql/types/dast/profile_cadence_enum_spec.rb409ee/spec/graphql/types/approval_rule_type_spec.rb410ee/spec/models/protected_branch/required_code_owners_section_spec.rb411ee/spec/graphql/types/vulnerability_details/file_location_type_spec.rb412ee/spec/helpers/epics_helper_spec.rb413ee/spec/graphql/types/vulnerability_details/module_location_type_spec.rb414ee/spec/graphql/types/app_sec/fuzzing/api/scan_profile_type_spec.rb415ee/spec/views/groups/compliance_frameworks/new.html.haml_spec.rb416ee/spec/services/todos/allowed_target_filter_service_spec.rb417Filter specs:418Running specs:419Running all node tests without filter420ee/spec/lib/gitlab/elastic/project_search_results_spec.rb421ee/spec/services/quick_actions/interpret_service_spec.rb422ee/spec/services/vulnerabilities/revert_to_detected_service_spec.rb423ee/spec/services/ee/issues/update_service_spec.rb424ee/spec/config/metrics/every_metric_definition_spec.rb425ee/spec/policies/merge_request_policy_spec.rb426ee/spec/models/ee/ci/job_artifact_spec.rb427ee/spec/lib/gitlab/import_export/attributes_permitter_spec.rb428ee/spec/lib/ee/gitlab/background_migration/backfill_iteration_cadence_id_for_boards_spec.rb429ee/spec/tasks/gitlab/seed/group_seed_rake_spec.rb430ee/spec/finders/geo/merge_request_diff_registry_finder_spec.rb431ee/spec/lib/ee/gitlab/ci/templates/templates_spec.rb432ee/spec/models/concerns/elastic/issue_spec.rb433ee/spec/services/security/ingestion/tasks/ingest_vulnerabilities_spec.rb434ee/spec/lib/gitlab/ci/minutes/cost_factor_spec.rb435ee/spec/models/approval_wrapped_rule_spec.rb436ee/spec/services/boards/update_service_spec.rb437ee/spec/models/note_spec.rb438ee/spec/models/dast_site_profile_spec.rb439ee/spec/services/groups/memberships/export_service_spec.rb440ee/spec/finders/geo/upload_registry_finder_spec.rb441ee/spec/workers/geo/registry_sync_worker_spec.rb442ee/spec/models/resource_iteration_event_spec.rb443ee/spec/services/security/ingestion/tasks/update_vulnerability_uuids_spec.rb444ee/spec/services/epics/related_epic_links/create_service_spec.rb445ee/spec/services/ee/ci/job_artifacts/destroy_all_expired_service_spec.rb446ee/spec/models/requirements_management/test_report_spec.rb447ee/spec/graphql/resolvers/geo/pages_deployment_registries_resolver_spec.rb448ee/spec/services/users/abuse/excessive_projects_download_ban_service_spec.rb449ee/spec/services/groups/create_service_spec.rb450ee/spec/finders/dast_site_profiles_finder_spec.rb451ee/spec/lib/omni_auth/strategies/group_saml_spec.rb452ee/spec/models/geo/lfs_object_registry_spec.rb453ee/spec/services/ldap_group_reset_service_spec.rb454ee/spec/lib/gitlab/spdx/catalogue_gateway_spec.rb455ee/spec/lib/ee/gitlab/background_migration/populate_namespace_statistics_spec.rb456ee/spec/models/ee/iterations/cadence_spec.rb457ee/spec/models/vulnerabilities/identifier_spec.rb458ee/spec/lib/gitlab/ci/minutes/build_consumption_spec.rb459ee/spec/helpers/users_helper_spec.rb460ee/spec/models/project_feature_spec.rb461ee/spec/lib/elastic/latest/git_instance_proxy_spec.rb462ee/spec/models/epic/related_epic_link_spec.rb463ee/spec/lib/ee/gitlab/auth/ldap/sync/groups_spec.rb464ee/spec/lib/banzai/reference_parser/epic_parser_spec.rb465ee/spec/lib/ee/sidebars/projects/menus/security_compliance_menu_spec.rb466ee/spec/services/ee/groups/autocomplete_service_spec.rb467ee/spec/services/ee/vulnerability_feedback_module/update_service_spec.rb468ee/spec/graphql/mutations/dast_site_tokens/create_spec.rb469ee/spec/services/projects/prometheus/alerts/notify_service_spec.rb470ee/spec/services/app_sec/dast/site_profiles/destroy_service_spec.rb471ee/spec/lib/gitlab/ci/templates/Jobs/browser_performance_testing_gitlab_ci_yaml_spec.rb472ee/spec/services/incident_management/oncall_schedules/update_service_spec.rb473ee/spec/models/incident_management/escalation_rule_spec.rb474ee/spec/graphql/resolvers/user_discussions_count_resolver_spec.rb475ee/spec/models/analytics/cycle_analytics/project_stage_spec.rb476ee/spec/services/geo/metrics_update_service_spec.rb477ee/spec/services/epic_issues/list_service_spec.rb478ee/spec/services/system_notes/vulnerabilities_service_spec.rb479ee/spec/lib/gitlab/ci/templates/dast_api_gitlab_ci_yaml_spec.rb480ee/spec/views/shared/billings/_eoa_bronze_plan_banner.html.haml_spec.rb481ee/spec/services/ee/merge_requests/execute_approval_hooks_service_spec.rb482ee/spec/lib/gitlab/ci/templates/dast_api_latest_gitlab_ci_yaml_spec.rb483ee/spec/lib/gitlab/pagination_delegate_spec.rb484ee/spec/services/audit_events/release_created_audit_event_service_spec.rb485ee/spec/services/ee/merge_request_metrics_service_spec.rb486ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_last_edited_spec.rb487ee/spec/services/geo/files_expire_service_spec.rb488ee/spec/services/ee/merge_requests/base_service_spec.rb489ee/spec/workers/iterations/roll_over_issues_worker_spec.rb490ee/spec/lib/gitlab/ci/reports/security/locations/container_scanning_spec.rb491ee/spec/models/analytics/cycle_analytics/group_value_stream_spec.rb492ee/spec/helpers/ee/security_orchestration_helper_spec.rb493ee/spec/lib/ee/gitlab/search_results_spec.rb494ee/spec/services/licenses/destroy_service_spec.rb495ee/spec/models/container_repository_spec.rb496ee/spec/services/boards/epic_boards/create_service_spec.rb497ee/spec/lib/ee/api/entities/user_with_admin_spec.rb498ee/spec/services/ci/external_pull_requests/process_github_event_service_spec.rb499ee/spec/graphql/types/incident_management/oncall_rotation_date_input_type_spec.rb500ee/spec/workers/personal_access_tokens/instance/policy_worker_spec.rb501ee/spec/lib/container_registry/client_spec.rb502ee/spec/views/shared/credentials_inventory/personal_access_tokens/_personal_access_token.html.haml_spec.rb503ee/spec/serializers/clusters/environment_entity_spec.rb504ee/spec/finders/security/training_providers/base_url_finder_spec.rb505ee/spec/services/vulnerabilities/destroy_dismissal_feedback_service_spec.rb506ee/spec/services/incident_management/oncall_rotations/destroy_service_spec.rb507ee/spec/services/security/store_scans_service_spec.rb508ee/spec/finders/incident_management/escalation_rules_finder_spec.rb509ee/spec/services/milestones/destroy_service_spec.rb510ee/spec/lib/gitlab/ci/reports/dependency_list/report_spec.rb511ee/spec/services/gitlab_subscriptions/plan_upgrade_service_spec.rb512ee/spec/lib/gitlab/auth/ldap/adapter_spec.rb513ee/spec/graphql/resolvers/external_issue_resolver_spec.rb514ee/spec/serializers/ee/note_entity_spec.rb515ee/spec/lib/gitlab/ci/parsers/security/validators/default_branch_image_validator_spec.rb516ee/spec/services/security/security_orchestration_policies/process_policy_service_spec.rb517ee/spec/models/ee/clusters/agent_spec.rb518ee/spec/views/shared/issuable/_approver_suggestion.html.haml_spec.rb519ee/spec/finders/geo/project_registry_status_finder_spec.rbKnapsack report generator started!520Run options: exclude {:quarantine=>true, :level=>"migration"}521Test environment set up in 0.612861616 seconds522Gitlab::Elastic::ProjectSearchResults523 initialize with empty ref524 is expected to eq #<Project id:1 namespace1/project1>>525 is expected to eq "master"526 is expected to eq "hello world"527 initialize with ref528 is expected to eq #<Project id:1 namespace1/project1>>529 is expected to eq "refs/heads/test"530 is expected to eq "hello world"531 search532 returns correct amounts533 visibility checks534 shows wiki for guests535 filtering536 issues537 state not provided538 returns opened and closed results539 all state540 returns opened and closed results541 closed state542 returns only closed results543 opened state544 returns only opened results545 unsupported state546 returns only opened results547 filter not provided (all behavior)548 returns confidential and not confidential results549 confidential filter550 returns only confidential results551 not confidential filter552 returns not confidential results553 merge_requests554 state not provided555 returns opened and closed results556 all state557 returns opened and closed results558 closed state559 returns only closed results560 opened state561 returns only opened results562 unsupported state563 returns only opened results564 blobs565 behaves like search results filtered by language566 filters by language567 when the search_blobs_language_aggregation feature flag is disabled568 does not filter by language569 confidential issues570 when the user is non-member571 does not list project confidential issues for non project members572 when the member is guest573 does not list project confidential issues for project members with guest role574 when the user is the author575 lists project confidential issues576 when the user is the assignee577 lists project confidential issues for assignee578 when the user is a developer579 lists project confidential issues580 when the user is admin581 when admin mode is enabled582 lists all project issues583 when admin mode is disabled584 does not list project confidential issues585 query performance586 for scope notes587 makes 1 Elasticsearch query588 for scope blobs589 makes 1 Elasticsearch query590 for scope wiki_blobs591 makes 1 Elasticsearch query592 for scope commits593 makes 1 Elasticsearch query594 for scope issues595 makes 1 Elasticsearch query596 for scope merge_requests597 makes 1 Elasticsearch query598 for scope milestones599 makes 1 Elasticsearch query600 for scope notes601 makes count query602 for scope blobs603 makes count query604 for scope wiki_blobs605 makes count query606 for scope commits607 makes count query608 for scope issues609 makes count query610 for scope merge_requests611 makes count query612 for scope milestones613 makes count query614 #aggregations615 scope: "milestones", should_return_aggregations: false616 when feature flag is enabled for user617 behaves like loads aggregations618 returns the expected aggregations619 when query is blank620 behaves like does not load aggregations621 returns an empty array622 when feature flag is disabled for user623 behaves like does not load aggregations624 returns an empty array625 scope: "notes", should_return_aggregations: false626 when feature flag is enabled for user627 behaves like loads aggregations628 returns the expected aggregations629 when query is blank630 behaves like does not load aggregations631 returns an empty array632 when feature flag is disabled for user633 behaves like does not load aggregations634 returns an empty array635 scope: "issues", should_return_aggregations: false636 when feature flag is enabled for user637 behaves like loads aggregations638 returns the expected aggregations639 when query is blank640 behaves like does not load aggregations641 returns an empty array642 when feature flag is disabled for user643 behaves like does not load aggregations644 returns an empty array645 scope: "merge_requests", should_return_aggregations: false646 when feature flag is enabled for user647 behaves like loads aggregations648 returns the expected aggregations649 when query is blank650 behaves like does not load aggregations651 returns an empty array652 when feature flag is disabled for user653 behaves like does not load aggregations654 returns an empty array655 scope: "wiki_blobs", should_return_aggregations: false656 when feature flag is enabled for user657 behaves like loads aggregations658 returns the expected aggregations659 when query is blank660 behaves like does not load aggregations661 returns an empty array662 when feature flag is disabled for user663 behaves like does not load aggregations664 returns an empty array665 scope: "commits", should_return_aggregations: false666 when feature flag is enabled for user667 behaves like loads aggregations668 returns the expected aggregations669 when query is blank670 behaves like does not load aggregations671 returns an empty array672 when feature flag is disabled for user673 behaves like does not load aggregations674 returns an empty array675 scope: "users", should_return_aggregations: false676 when feature flag is enabled for user677 behaves like loads aggregations678 returns the expected aggregations679 when query is blank680 behaves like does not load aggregations681 returns an empty array682 when feature flag is disabled for user683 behaves like does not load aggregations684 returns an empty array685 scope: "unknown", should_return_aggregations: false686 when feature flag is enabled for user687 behaves like loads aggregations688 returns the expected aggregations689 when query is blank690 behaves like does not load aggregations691 returns an empty array692 when feature flag is disabled for user693 behaves like does not load aggregations694 returns an empty array695 scope: "blobs", should_return_aggregations: true696 when feature flag is enabled for user697 behaves like loads aggregations698 returns the expected aggregations699 when query is blank700 behaves like does not load aggregations701 returns an empty array702 when feature flag is disabled for user703 behaves like does not load aggregations704 returns an empty array705 project search specific gates for blob scope706 when query is blank707 returns the an empty array708 when project has an empty repository709 returns an empty array710 when user does not have download_code permission on project711 returns an empty array712QuickActions::InterpretService713 #execute714 assign command715 there is a group716 assigns to group members717 does not assign to more than QuickActions::UsersFinder::MAX_QUICK_ACTION_USERS718 Issue719 fetches assignees and populates them if content contains /assign720 with test_case issue type721 does not mark to update assignee722 assign command with multiple assignees723 fetches assignee and populates assignee_ids if content contains /assign724 Merge Request725 fetches assignees and populates them if content contains /assign726 assign command with a group of users727 adds group members728 assign command with multiple assignees729 fetches assignee and populates assignee_ids if content contains /assign730 unlicensed731 does not recognize /assign with multiple user references732 assign_reviewer command733 with a merge request734 fetches reviewers and populates them if content contains /assign_reviewer735 assign command with multiple reviewers736 assigns multiple reviewers while respecting previous assignments737 unassign_reviewer command738 unassign_reviewer command with multiple assignees739 unassigns both reviewers if content contains /unassign_reviewer @user @user1740 does not unassign reviewers if the content cannot be parsed741 unassign command742 Issue743 unassigns user if content contains /unassign @user744 unassigns both users if content contains /unassign @user @user1745 unassigns all the users if content contains /unassign746 does not apply command if the argument cannot be parsed747 with a Merge Request748 unassigns user if content contains /unassign @user749 applying unassign command with multiple assignees750 unassigns both users if content contains /unassign @user @user1751 when unlicensed752 does not recognize /unassign @user753 reassign command754 Merge Request755 reassigns user if content contains /reassign @user756 unlicensed757 does not recognize /reassign @user758 Issue759 reassigns user if content contains /reassign @user760 unlicensed761 does not recognize /reassign @user762 with test_case issue type763 does not mark to update assignee764 reassign_reviewer command765 reassigns reviewer if content contains /reassign_reviewer @user766 unlicensed767 does not recognize /reassign_reviewer @user768 iteration command769 when iterations are enabled770 when iteration exists771 with permissions772 assigns an iteration to an issue773 when iteration is started774 assigns an iteration to an issue775 when the user does not have enough permissions776 returns an error message777 when iteration does not exist778 returns empty message779 when iterations are disabled780 does not recognize /iteration781 when issuable does not support iterations782 does not assign an iteration to an incident783 remove_iteration command784 when iterations are enabled785 removes an assigned iteration from an issue786 when the user does not have enough permissions787 returns an error message788 when iterations are disabled789 does not recognize /remove_iteration790 when issuable does not support iterations791 does not assign an iteration to an incident792 epic command793 when epics are enabled794 when epic exists795 assigns an issue to an epic796 when an issue belongs to a project without group797 does not assign an issue to an epic798 when issue is already added to epic799 returns error message800 when issuable does not support epics801 does not assign an incident to an epic802 when epic does not exist803 does not assign an issue to an epic804 when user has no permissions to read epic805 does not assign an issue to an epic806 when epics are disabled807 does not recognize /epic808 parent_epic command809 behaves like adds quick action parameter810 adds parameter to updates array811 when target epic is not persisted yet812 behaves like adds quick action parameter813 adds parameter to updates array814 child_epic command815 when subepics are enabled816 when a user does not have permissions to add epic relations817 behaves like does not add quick action parameter818 does not add parameter to updates array819 behaves like quick action is unavailable820 does not recognize action821 when a user has permissions to add epic relations822 behaves like adds quick action parameter823 adds parameter to updates array824 behaves like quick action is available825 does recognize action826 behaves like quick action is unavailable827 does not recognize action828 behaves like quick action is unavailable829 does not recognize action830 when target epic is not persisted yet831 behaves like adds quick action parameter832 adds parameter to updates array833 when passed child epic is nil834 does not raise error835 behaves like does not add quick action parameter836 does not add parameter to updates array837 when child_epic is already linked to an epic838 behaves like quick action is available839 does recognize action840 when child epic is in a subgroup of parent epic841 behaves like quick action is available842 does recognize action843 when child epic is in a parent group of the parent epic844 behaves like quick action is available845 does recognize action846 when child epic is in a different group than parent epic847 behaves like quick action is available848 does recognize action849 when epics are disabled850 behaves like does not add quick action parameter851 does not add parameter to updates array852 behaves like quick action is unavailable853 does not recognize action854 remove_child_epic command855 when subepics are enabled856 when a user does not have permissions to remove epic relations857 does not remove child_epic from epic858 behaves like epic relation is not removed859 does not remove child_epic from epic860 behaves like quick action is unavailable861 does not recognize action862 when a user has permissions to remove epic relations863 behaves like quick action is available864 does recognize action865 behaves like quick action is unavailable866 does not recognize action867 behaves like quick action is unavailable868 does not recognize action869 when target epic is not persisted yet870 behaves like quick action is unavailable871 does not recognize action872 behaves like epic relation is removed873 does not remove child_epic from epic874 when trying to remove child epic from a different epic875 behaves like epic relation is not removed876 does not remove child_epic from epic877 when child epic is in a subgroup of parent epic878 behaves like epic relation is removed879 does not remove child_epic from epic880 behaves like quick action is available881 does recognize action882 when child and parent epics are in different groups883 when child epic is in a parent group of the parent epic884 behaves like epic relation is removed885 does not remove child_epic from epic886 behaves like quick action is available887 does recognize action888 when child epic is in a different group than parent epic889 behaves like epic relation is removed890 does not remove child_epic from epic891 behaves like quick action is available892 does recognize action893 when subepics are disabled894 behaves like epic relation is not removed895 does not remove child_epic from epic896 behaves like quick action is unavailable897 does not recognize action898 label command for epics899 when epics are enabled900 when a user has permissions to label an epic901 populates valid label ids902 when a user does not have permissions to label an epic903 does not populate any labels904 when epics are disabled905 does not populate any labels906 remove_epic command907 when epics are disabled908 does not recognize /remove_epic909 when subepics are enabled910 unassigns an issue from an epic911 when issuable does not support epics912 does not recognize /remove_epic913 issuable weights licensed914 weight915 behaves like weight command916 populates weight specified by the /weight command917 behaves like weight command918 populates weight specified by the /weight command919 when weight is negative920 does not populate weight921 clear_weight922 behaves like clear weight command923 populates weight: nil if content contains /clear_weight924 issuable weights unlicensed925 does not recognise /weight X926 does not recognise /clear_weight927 issuable weights not supported by type928 does not recognise /weight X929 does not recognise /clear_weight930 issuable health statuses licensed931 health_status932 behaves like health_status command933 populates health_status specified by the /health_status command934 behaves like health_status command935 populates health_status specified by the /health_status command936 when health_status is invalid937 does not populate health_status938 when the user does not have enough permissions939 returns an error message940 clear_health_status941 behaves like clear_health_status command942 populates health_status: nil if content contains /clear_health_status943 when the user does not have enough permissions944 returns an error message945 issuable health_status unlicensed946 does not recognise /health_status X947 does not recognise /clear_health_status948 issuable health_status not supported by type949 does not recognise /health_status X950 does not recognise /clear_health_status951 not persisted merge request can not be merged952 behaves like empty command953 populates {} if content contains an unsupported command954 not approved merge request can not be merged955 behaves like empty command956 populates {} if content contains an unsupported command957 when the merge request is not approved958 behaves like failed command959 populates {} if content contains an unsupported command960 returns Could not apply merge command. message961 when the merge request is blocked962 behaves like failed command963 populates {} if content contains an unsupported command964 returns Could not apply merge command. message965 when merge request has denied policies966 behaves like failed command967 populates {} if content contains an unsupported command968 returns Could not apply merge command. message969 approved merge request can be merged970 behaves like empty command971 populates {} if content contains an unsupported command972 confidential command973 for test cases974 does mark to update confidential attribute975 #explain976 health_status command977 issuable health statuses licensed978 includes the value979 unassign command980 includes all assignees' references981 unassign command with assignee references982 includes only selected assignee references983 weight command984 includes the number985 epic commands986 child_epic command987 behaves like returns execution messages988 when correct epic reference989 returns explain message with epic reference990 returns successful execution message991 when epic reference is wrong992 returns empty explain message993 when epic is already a child epic994 behaves like epics are already related995 returns unsuccessful execution message996 when epic is the parent epic997 behaves like epics are already related998 returns unsuccessful execution message999 when epic does not exist1000 behaves like target epic does not exist1001 returns unsuccessful execution message1002 when user has no permission to read epic1003 behaves like without permissions for action1004 returns unsuccessful execution message1005 remove_child_epic command1006 when correct epic reference1007 returns explain message with epic reference1008 returns successful execution message1009 when epic reference is wrong1010 returns empty explain message1011 when child epic does not exist1012 returns unsuccessful execution message1013 parent_epic command1014 behaves like returns execution messages1015 when correct epic reference1016 returns explain message with epic reference1017 returns successful execution message1018 when epic reference is wrong1019 returns empty explain message1020 when epic is already a parent epic1021 behaves like epics are already related1022 returns unsuccessful execution message1023 when epic is a an existing child epic1024 behaves like epics are already related1025 returns unsuccessful execution message1026 when epic does not exist1027 behaves like target epic does not exist1028 returns unsuccessful execution message1029 when user has no permission to read epic1030 behaves like without permissions for action1031 returns unsuccessful execution message1032 remove_parent_epic command1033 when parent is present1034 returns explain message with epic reference1035 returns successful execution message1036 when target epic is not persisted yet1037 behaves like quick action is unavailable1038 does not recognize action1039 when parent is not present1040 returns empty explain message1041 returns unsuccessful execution message1042Vulnerabilities::RevertToDetectedService1043 with an authorized user with proper permissions1044 when vulnerability is dismissed1045 reverts a vulnerability and its associated findings to detected state1046 creates note1047 creates state transition entry to `detected`1048 behaves like calls vulnerability statistics utility services in order1049 when updating the vulnerability fails1050 does not call the service classes1051 when updating the vulnerability succeeds1052 calls the service classes in order1053 when feature flag deprecate_vulnerabilities_feedback is disabled1054 behaves like removes dismissal feedback from associated findings1055 when there is no error1056 removes dismissal feedback from associated findings1057 when there is an error1058 does not remove any feedback1059 responds with error1060 when vulnerability is confirmed1061 reverts a vulnerability and its associated findings to detected state1062 creates note1063 creates state transition entry to `detected`1064 behaves like calls vulnerability statistics utility services in order1065 when updating the vulnerability fails1066 does not call the service classes1067 when updating the vulnerability succeeds1068 calls the service classes in order1069 when feature flag deprecate_vulnerabilities_feedback is disabled1070 behaves like removes dismissal feedback from associated findings1071 when there is no error1072 removes dismissal feedback from associated findings1073 when there is an error1074 does not remove any feedback1075 responds with error1076 when vulnerability is resolved1077 reverts a vulnerability and its associated findings to detected state1078 creates note1079 creates state transition entry to `detected`1080 behaves like calls vulnerability statistics utility services in order1081 when updating the vulnerability fails1082 does not call the service classes1083 when updating the vulnerability succeeds1084 calls the service classes in order1085 when feature flag deprecate_vulnerabilities_feedback is disabled1086 behaves like removes dismissal feedback from associated findings1087 when there is no error1088 removes dismissal feedback from associated findings1089 when there is an error1090 does not remove any feedback1091 responds with error1092 when security dashboard feature is disabled1093 raises an "access denied" error1094 permissions1095 is expected to be allowed for :owner1096 is expected to be allowed for :maintainer1097 is expected to be allowed for :developer1098 is expected to be denied for :auditor1099 is expected to be denied for :reporter1100 is expected to be denied for :guest1101 is expected to be denied for :anonymous1102 when admin mode is enabled1103 is expected to be allowed for :admin1104 when admin mode is disabled1105 is expected to be denied for :admin1106Issues::UpdateService1107 execute1108 refresh epic dates1109 updating milestone1110 calls UpdateDatesService1111 updating iteration1112 when issue does not already have an iteration1113 calls NotificationService#changed_iteration_issue1114 when issue already has an iteration1115 setting to nil1116 calls NotificationService#removed_iteration_issue1117 setting to IssuableFinder::Params::NONE1118 calls NotificationService#removed_iteration_issue1119 removes the iteration properly1120 setting to another iteration1121 calls NotificationService#changed_iteration_issue1122 updating weight1123 when weight is integer1124 updates to the exact value1125 when weight is float1126 rounds the value down1127 when weight is zero1128 sets the value to zero1129 when weight is a string1130 sets the value to 01131 behaves like updating issuable health status1132 updating health_status1133 when feature is not available1134 does not update issue health status1135 when feature is available1136 when user has reporter permissions1137 updates issuable with given health_status1138 when user does not have permissions1139 does not update issuable status1140 updating other fields1141 does not call UpdateDatesService1142 assigning iteration1143 group iterations1144 behaves like creates iteration resource event1145 creates a system note1146 does not create a iteration change event1147 project iterations1148 behaves like creates iteration resource event1149 creates a system note1150 does not create a iteration change event1151 changing issue_type1152 from issue to incident1153 behaves like creates an SLA1154 is expected to be present1155 system note fails to be created1156 behaves like creates an SLA1157 is expected to be present1158 from incident to issue1159 does not remove the SLA or create a new one1160 destroys any pending escalations1161 from issue to restricted issue types1162 with permissions1163 changes the type1164 does not create or remove an SLA1165 without sufficient permissions1166 excludes the issue type param1167 assigning epic1168 when a user does not have permissions to assign an epic1169 raises an exception1170 when a user has permissions to assign an epic1171 when EpicIssues::CreateService returns failure1172 does not send usage data for added or changed epic action1173 when issue does not belong to an epic yet1174 assigns an issue to the provided epic1175 calls EpicIssues::CreateService1176 updates epic cache counts1177 events tracking1178 tracks usage data for added to epic action1179 behaves like issue_edit snowplow tracking1180 behaves like Snowplow event tracking1181 is not emitted if FF is disabled1182 is emitted1183 when issue belongs to another epic1184 assigns the issue passed to the provided epic1185 calls EpicIssues::CreateService1186 updates epic cache counts1187 events tracking1188 tracks usage data for changed epic action1189 behaves like issue_edit snowplow tracking1190 behaves like Snowplow event tracking1191 is not emitted if FF is disabled1192 is emitted1193 when updating issue epic and milestone and assignee attributes1194 assigns the issue passed to the provided epic1195 when milestone and epic attributes are changed from description1196 assigns the issue passed to the provided epic1197 when assigning epic raises an exception1198 assigns the issue passed to the provided epic1199 removing epic1200 when a user has permissions to assign an epic1201 when issue does not belong to an epic yet1202 does not do anything1203 events tracking1204 does not send usage data for removed epic action1205 does not send a Snowplow event1206 when issue belongs to an epic1207 unassigns the epic1208 calls EpicIssues::DestroyService1209 events tracking1210 tracks usage data for removed from epic action1211 behaves like issue_edit snowplow tracking1212 behaves like Snowplow event tracking1213 is not emitted if FF is disabled1214 is emitted1215 but EpicIssues::DestroyService returns failure1216 does not send usage data for removed epic action1217 updating escalation status1218 with an existing escalation status record1219 when issue is an incident1220 setting the escalation policy1221 has correct values1222 triggers side-effects1223 with the policy value defined but unchanged1224 behaves like does not change the status record1225 is expected not to change `issue.reload.escalation_status`1226 does not trigger side-effects1227 unsetting the escalation policy1228 when the policy is already set1229 has correct values1230 triggers side-effects1231 in addition to other attributes1232 has correct values1233 triggers side-effects1234 with the policy value defined but unchanged1235 behaves like does not change the status record1236 is expected not to change `issue.reload.escalation_status`1237 does not trigger side-effects1238 when issue is not an incident1239 behaves like does not change the status record1240 is expected not to change `issue.reload.escalation_status`1241 does not trigger side-effects1242 without an existing escalation status record1243 has correct values1244 triggers side-effects1245 behaves like existing issuable with scoped labels1246 when scoped labels are available1247 when using label_ids parameter1248 adds only last selected exclusive scoped label1249 when using label_ids parameter1250 adds only last selected exclusive scoped label1251 when only removing labels1252 preserves multiple exclusive scoped labels1253 when scoped labels are not available1254 adds all scoped labels1255 behaves like issue with epic_id parameter1256 when epic_id does not exist1257 raises an exception1258 when epic_id is 01259 does not assign any epic1260 when user can not add issues to the epic1261 raises an exception1262 does not send usage data for added epic action1263 when user can add issues to the epic1264 when a project is a direct child of the epic group1265 creates epic issue link1266 calls EpicIssues::CreateService1267 events tracking1268 tracks usage data for added to epic action1269 behaves like issue_edit snowplow tracking1270 behaves like Snowplow event tracking1271 is not emitted if FF is disabled1272 is emitted1273 when epic param is also present1274 when epic_id belongs to another valid epic1275 creates epic issue link based on the epic param1276 when epic_id is empty1277 creates epic issue link based on the epic param1278 when a project is from a subgroup of the epic group1279 creates epic issue link1280 events tracking1281 tracks usage data for added to epic action1282 behaves like issue_edit snowplow tracking1283 behaves like Snowplow event tracking1284 is not emitted if FF is disabled1285 is emitted1286 when epic_id is nil1287 removes epic issue link1288 calls EpicIssues::DestroyService1289 promoting to epic1290 when promote_to_epic param is present1291 promotes issue to epic1292 when promote_to_epic param is not present1293 does not promote issue to epic1294 publish to status page1295 when update succeeds1296 triggers status page publish1297 when closing1298 triggers status page publish1299 when reopening1300 triggers status page publish1301 when update fails1302 does not trigger status page publish service1303 sync Requirement work item with Requirement object1304 if there is an associated requirement1305 updates the mapped field1306 updates the synced requirement with title and/or description1307 when the issue title is very long1308 behaves like does not persist any changes1309 does not update the issue1310 does not update the requirement1311 behaves like keeps issue and its requirement in sync1312 keeps title and description in sync1313 if update of issue fails1314 behaves like keeps issue and its requirement in sync1315 keeps title and description in sync1316 behaves like does not persist any changes1317 does not update the issue1318 does not update the requirement1319 if update of issue succeeds but update of requirement fails1320 when requirement is not valid1321 adds an informative sync error to issue1322 behaves like keeps issue and its requirement in sync1323 keeps title and description in sync1324 behaves like does not persist any changes1325 does not update the issue1326 does not update the requirement1327 if requirement is valid but still does not save1328 adds a helpful log1329 if the issue is also marked as spam1330 only shows the spam error1331 behaves like keeps issue and its requirement in sync1332 keeps title and description in sync1333 behaves like does not persist any changes1334 does not update the issue1335 does not update the requirement1336 if there is no associated requirement1337 does not call the RequirementsManagement::UpdateRequirementService1338Every metric definition1339 is included in the Usage Ping hash structure1340 metrics classes1341 uses all metrics classes1342 with value json schema1343 has a valid structure1344MergeRequestPolicy1345 for a merge request within the same project1346 when overwriting approvers is disabled on the project1347 does not allow anyone to update approvers1348 when overwriting approvers is enabled on the project1349 allows only project developers and above to update the approvers1350 allows project developers and above1351 to approve the merge request1352 for a merge request from a fork1353 when overwriting approvers is disabled on the target project1354 does not allow anyone to update approvers1355 when overwriting approvers is disabled on the source project1356 has no effect - project developers and above, as well as the author, can update the approvers1357 when overwriting approvers is enabled on the target project1358 allows project developers and above, as well as the author, to update the approvers1359 allows project developers and above1360 to approve the merge requests1361 for a merge request on a protected branch1362 when the reporter nor the group is added1363 is expected not to be allowed :approve_merge_request1364 when a group-level approval rule exists1365 when the merge request targets the protected branch1366 when the reporter is not a group member1367 is expected not to be allowed :approve_merge_request1368 when the reporter is a group member1369 is expected to be allowed :approve_merge_request1370 when the reporter has permission for a different protected branch1371 does not allow approval of the merge request1372 when the protected branch name is a wildcard1373 when the reporter has permission for the wildcarded branch1374 does allows approval of the merge request1375 when the reporter does not have permission for the wildcarded branch1376 does allows approval of the merge request1377 when checking for namespace whether exceeding storage limit1378 when namespace does exceeds storage limit1379 does not allow few policies for all users including maintainer1380 when namespace does not exceeds storage limit1381 does not lock basic policies for any user1382 provide_status_check_response1383 role: :guest, licensed: false, allowed: false1384 is expected to be disallowed :provide_status_check_response1385 role: :reporter, licensed: false, allowed: false1386 is expected to be disallowed :provide_status_check_response1387 role: :developer, licensed: false, allowed: false1388 is expected to be disallowed :provide_status_check_response1389 role: :maintainer, licensed: false, allowed: false1390 is expected to be disallowed :provide_status_check_response1391 role: :owner, licensed: false, allowed: false1392 is expected to be disallowed :provide_status_check_response1393 role: :admin, licensed: false, allowed: false1394 is expected to be disallowed :provide_status_check_response1395 role: :guest, licensed: true, allowed: false1396 is expected to be disallowed :provide_status_check_response1397 role: :reporter, licensed: true, allowed: false1398 is expected to be disallowed :provide_status_check_response1399 role: :developer, licensed: true, allowed: true1400 is expected to be allowed :provide_status_check_response1401 role: :maintainer, licensed: true, allowed: true1402 is expected to be allowed :provide_status_check_response1403 role: :owner, licensed: true, allowed: true1404 is expected to be allowed :provide_status_check_response1405 role: :admin, licensed: true, allowed: true1406 is expected to be allowed :provide_status_check_response1407 create_merge_request_approval_rules1408 coverage_license_enabled: false, report_approver_license_enabled: false, allowed: false1409 is expected to be disallowed :create_merge_request_approval_rules1410 coverage_license_enabled: true, report_approver_license_enabled: true, allowed: true1411 is expected to be allowed :create_merge_request_approval_rules1412 coverage_license_enabled: false, report_approver_license_enabled: true, allowed: true1413 is expected to be allowed :create_merge_request_approval_rules1414 coverage_license_enabled: true, report_approver_license_enabled: false, allowed: true1415 is expected to be allowed :create_merge_request_approval_rules1416Ci::JobArtifact1417 #save_verification_details1418 when direct upload is enabled for trace artifacts1419 does not create verification details1420 when direct upload is not enabled1421 does not create verification details1422 .with_verification_state1423 returns records with given scope1424 .checksummed1425 returns records with given scope1426 .not_checksummed1427 returns records with given scope1428 #save_verification_details1429 when model record is not part of available_verifiables scope1430 does not create verification details1431 when model_record is part of available_verifiables scope1432 creates verification details1433 #destroy1434 when pipeline is destroyed1435 creates a Geo delete event async1436 JobArtifact destroy fails1437 does not create a JobArtifactDeletedEvent1438 .file_types_for_report1439 returns the report file types for the report type1440 when given an unrecognized report type1441 raises error1442 .of_report_type1443 license_scanning_reports1444 is expected to eq [#<Ci::JobArtifact project_id: 464, file_type: "license_scanning", size: 25903, created_at: "2022-08-...rmat: "raw", file_location: nil, id: 10, job_id: 10, locked: "unknown", verification_checksum: nil>]1445 cluster_image_scanning_reports1446 is expected to eq [#<Ci::JobArtifact project_id: 465, file_type: "cluster_image_scanning", size: 6131, created_at: "202...rmat: "raw", file_location: nil, id: 11, job_id: 11, locked: "unknown", verification_checksum: nil>]1447 metrics_reports1448 when there is a metrics report1449 is expected to eq [#<Ci::JobArtifact project_id: 466, file_type: "metrics", size: 65, created_at: "2022-08-24 17:30:14....mat: "gzip", file_location: nil, id: 12, job_id: 12, locked: "unknown", verification_checksum: nil>]1450 when there is no metrics reports1451 is expected to be empty1452 coverage_fuzzing_reports1453 when there is a metrics report1454 is expected to eq [#<Ci::JobArtifact project_id: 468, file_type: "coverage_fuzzing", size: 1491, created_at: "2022-08-2...rmat: "raw", file_location: nil, id: 14, job_id: 14, locked: "unknown", verification_checksum: nil>]1455 when there is no coverage fuzzing reports1456 is expected to be empty1457 api_fuzzing_reports1458 when there is a metrics report1459 is expected to eq [#<Ci::JobArtifact project_id: 470, file_type: "api_fuzzing", size: 154882, created_at: "2022-08-24 1...rmat: "raw", file_location: nil, id: 16, job_id: 16, locked: "unknown", verification_checksum: nil>]1460 when there is no coverage fuzzing reports1461 is expected to be empty1462 sbom_reports1463 when there is an sbom report1464 is expected to contain exactly #<Ci::JobArtifact project_id: 472, file_type: "cyclonedx", size: 32398, created_at: "2022-08-24 17:30...ormat: "zip", file_location: nil, id: 18, job_id: 18, locked: "unknown", verification_checksum: nil>1465 when there is no sbom report1466 is expected to be empty1467 .security_reports1468 when the `file_types` parameter is provided1469 when the provided file_types is array1470 when there is a security report with the given value1471 is expected to eq [#<Ci::JobArtifact project_id: 475, file_type: "secret_detection", size: 889, created_at: "2022-08-24...rmat: "raw", file_location: nil, id: 21, job_id: 21, locked: "unknown", verification_checksum: nil>]1472 when there are no security reports with the given value1473 is expected to be empty1474 when the provided file_types is string1475 is expected to eq [#<Ci::JobArtifact project_id: 478, file_type: "secret_detection", size: 889, created_at: "2022-08-24...rmat: "raw", file_location: nil, id: 24, job_id: 24, locked: "unknown", verification_checksum: nil>]1476 when the file_types parameter is not provided1477 when there is a security report1478 is expected to contain exactly #<Ci::JobArtifact project_id: 479, file_type: "sast", size: 6260, created_at: "2022-08-24 17:30:22.27...ormat: "raw", file_location: nil, id: 25, job_id: 25, locked: "unknown", verification_checksum: nil> and #<Ci::JobArtifact project_id: 480, file_type: "secret_detection", size: 889, created_at: "2022-08-24 ...ormat: "raw", file_location: nil, id: 26, job_id: 26, locked: "unknown", verification_checksum: nil>1479 when there are no security reports1480 is expected to be empty1481 .associated_file_types_for1482 file_type: "license_scanning", result: ["license_scanning"]1483 is expected to eq ["license_scanning"]1484 file_type: "codequality", result: ["codequality"]1485 is expected to eq ["codequality"]1486 file_type: "browser_performance", result: ["browser_performance", "performance"]1487 is expected to eq ["browser_performance", "performance"]1488 file_type: "load_performance", result: ["load_performance"]1489 is expected to eq ["load_performance"]1490 file_type: "quality", result: nil1491 is expected to eq nil1492 #replicables_for_current_secondary1493 selective_sync_namespaces: nil, selective_sync_shards: nil, factory: [:ci_job_artifact], project_factory: [:project], include_expectation: true1494 when sync object storage is enabled1495 when the job artifact is locally stored1496 is expected to eq true1497 when the job artifact is object stored1498 is expected to eq true1499 when sync object storage is disabled1500 when the job artifact is locally stored1501 is expected to eq true1502 when the job artifact is object stored1503 is expected to be falsey1504 selective_sync_namespaces: nil, selective_sync_shards: :model, factory: [:ci_job_artifact], project_factory: [:project], include_expectation: true1505 when sync object storage is enabled1506 when the job artifact is locally stored1507 is expected to eq true1508 when the job artifact is object stored1509 is expected to eq true1510 when sync object storage is disabled1511 when the job artifact is locally stored1512 is expected to eq true1513 when the job artifact is object stored1514 is expected to be falsey1515 selective_sync_namespaces: nil, selective_sync_shards: :other, factory: [:ci_job_artifact], project_factory: [:project], include_expectation: false1516 when sync object storage is enabled1517 when the job artifact is locally stored1518 is expected to eq false1519 when the job artifact is object stored1520 is expected to eq false1521 when sync object storage is disabled1522 when the job artifact is locally stored1523 is expected to eq false1524 when the job artifact is object stored1525 is expected to be falsey1526 selective_sync_namespaces: :model_parent, selective_sync_shards: nil, factory: [:ci_job_artifact], project_factory: [:project], include_expectation: true1527 when sync object storage is enabled1528 when the job artifact is locally stored1529 is expected to eq true1530 when the job artifact is object stored1531 is expected to eq true1532 when sync object storage is disabled1533 when the job artifact is locally stored1534 is expected to eq true1535 when the job artifact is object stored1536 is expected to be falsey1537 selective_sync_namespaces: :model_parent_parent, selective_sync_shards: nil, factory: [:ci_job_artifact], project_factory: [:project, :in_subgroup], include_expectation: true1538 when sync object storage is enabled1539 when the job artifact is locally stored1540 is expected to eq true1541 when the job artifact is object stored1542 is expected to eq true1543 when sync object storage is disabled1544 when the job artifact is locally stored1545 is expected to eq true1546 when the job artifact is object stored1547 is expected to be falsey1548 selective_sync_namespaces: :other, selective_sync_shards: nil, factory: [:ci_job_artifact], project_factory: [:project], include_expectation: false1549 when sync object storage is enabled1550 when the job artifact is locally stored1551 is expected to eq false1552 when the job artifact is object stored1553 is expected to eq false1554 when sync object storage is disabled1555 when the job artifact is locally stored1556 is expected to eq false1557 when the job artifact is object stored1558 is expected to be falsey1559 selective_sync_namespaces: :other, selective_sync_shards: nil, factory: [:ci_job_artifact], project_factory: [:project, :in_subgroup], include_expectation: false1560 when sync object storage is enabled1561 when the job artifact is locally stored1562 is expected to eq false1563 when the job artifact is object stored1564 is expected to eq false1565 when sync object storage is disabled1566 when the job artifact is locally stored1567 is expected to eq false1568 when the job artifact is object stored1569 is expected to be falsey1570 selective_sync_namespaces: nil, selective_sync_shards: nil, factory: [:ci_job_artifact, :expired], project_factory: [:project], include_expectation: true1571 when sync object storage is enabled1572 when the job artifact is locally stored1573 is expected to eq true1574 when the job artifact is object stored1575 is expected to eq true1576 when sync object storage is disabled1577 when the job artifact is locally stored1578 is expected to eq true1579 when the job artifact is object stored1580 is expected to be falsey1581 #security_report1582 is expected to equal 51583 for different types1584 file_type: :performance, security_report?: false1585 is expected to equal false1586 file_type: :sast, security_report?: true1587 is expected to equal true1588 file_type: :secret_detection, security_report?: true1589 is expected to equal true1590 file_type: :dependency_scanning, security_report?: true1591 is expected to equal true1592 file_type: :container_scanning, security_report?: true1593 is expected to equal true1594 file_type: :cluster_image_scanning, security_report?: true1595 is expected to equal true1596 file_type: :dast, security_report?: true1597 is expected to equal true1598 file_type: :coverage_fuzzing, security_report?: true1599 is expected to equal true1600 when the parsing fails1601 returns an errored report instance1602 schema validation1603 when validate is false1604 calls the parser with the correct arguments1605 when validate is true1606 calls the parser with the correct arguments1607 #clear_security_report1608 clears the security_report1609Gitlab::ImportExport::AttributesPermitter1610 #permitted_attributes_defined?1611 relation_name: :push_rule, permitted_attributes_defined: true1612 is expected to eq true1613 relation_name: :issuable_sla, permitted_attributes_defined: false1614 is expected to eq false1615 relation_name: :unprotect_access_levels, permitted_attributes_defined: true1616 is expected to eq true1617 relation_name: :deploy_access_levels, permitted_attributes_defined: true1618 is expected to eq true1619 relation_name: :protected_environments, permitted_attributes_defined: true1620 is expected to eq true1621 relation_name: :security_setting, permitted_attributes_defined: true1622 is expected to eq true1623 relation_name: :project, permitted_attributes_defined: true1624 is expected to eq true1625 included_attributes for Project1626 for user1627 behaves like a permitted attribute1628 contains only attributes that are defined as permitted in the import/export config1629 does not contain attributes that would be cleaned with AttributeCleaner1630 does not contain prohibited attributes that are not related to given relation1631 for author1632 behaves like a permitted attribute1633 is disabled1634 for approvals1635 behaves like a permitted attribute1636 contains only attributes that are defined as permitted in the import/export config1637 does not contain attributes that would be cleaned with AttributeCleaner1638 does not contain prohibited attributes that are not related to given relation1639 for ci_cd_settings1640 behaves like a permitted attribute1641 contains only attributes that are defined as permitted in the import/export config1642 does not contain attributes that would be cleaned with AttributeCleaner1643 does not contain prohibited attributes that are not related to given relation1644 for metrics_setting1645 behaves like a permitted attribute1646 contains only attributes that are defined as permitted in the import/export config1647 does not contain attributes that would be cleaned with AttributeCleaner1648 does not contain prohibited attributes that are not related to given relation1649 for project_badges1650 behaves like a permitted attribute1651 contains only attributes that are defined as permitted in the import/export config1652 does not contain attributes that would be cleaned with AttributeCleaner1653 does not contain prohibited attributes that are not related to given relation1654 for pipeline_schedules1655 behaves like a permitted attribute1656 contains only attributes that are defined as permitted in the import/export config1657 does not contain attributes that would be cleaned with AttributeCleaner1658 does not contain prohibited attributes that are not related to given relation1659 for error_tracking_setting1660 behaves like a permitted attribute1661 contains only attributes that are defined as permitted in the import/export config1662 does not contain attributes that would be cleaned with AttributeCleaner1663 does not contain prohibited attributes that are not related to given relation1664 for auto_devops1665 behaves like a permitted attribute1666 contains only attributes that are defined as permitted in the import/export config1667 does not contain attributes that would be cleaned with AttributeCleaner1668 does not contain prohibited attributes that are not related to given relation1669 for boards1670 behaves like a permitted attribute1671 contains only attributes that are defined as permitted in the import/export config1672 does not contain attributes that would be cleaned with AttributeCleaner1673 does not contain prohibited attributes that are not related to given relation1674 for lists1675 behaves like a permitted attribute1676 contains only attributes that are defined as permitted in the import/export config1677 does not contain attributes that would be cleaned with AttributeCleaner1678 does not contain prohibited attributes that are not related to given relation1679 for custom_attributes1680 behaves like a permitted attribute1681 contains only attributes that are defined as permitted in the import/export config1682 does not contain attributes that would be cleaned with AttributeCleaner1683 does not contain prohibited attributes that are not related to given relation1684 for label1685 behaves like a permitted attribute1686 contains only attributes that are defined as permitted in the import/export config1687 does not contain attributes that would be cleaned with AttributeCleaner1688 does not contain prohibited attributes that are not related to given relation1689 for labels1690 behaves like a permitted attribute1691 contains only attributes that are defined as permitted in the import/export config1692 does not contain attributes that would be cleaned with AttributeCleaner1693 does not contain prohibited attributes that are not related to given relation1694 for priorities1695 behaves like a permitted attribute1696 contains only attributes that are defined as permitted in the import/export config1697 does not contain attributes that would be cleaned with AttributeCleaner1698 does not contain prohibited attributes that are not related to given relation1699 for milestone1700 behaves like a permitted attribute1701 contains only attributes that are defined as permitted in the import/export config1702 does not contain attributes that would be cleaned with AttributeCleaner1703 does not contain prohibited attributes that are not related to given relation1704 for milestones1705 behaves like a permitted attribute1706 contains only attributes that are defined as permitted in the import/export config1707 does not contain attributes that would be cleaned with AttributeCleaner1708 does not contain prohibited attributes that are not related to given relation1709 for protected_branches1710 behaves like a permitted attribute1711 contains only attributes that are defined as permitted in the import/export config1712 does not contain attributes that would be cleaned with AttributeCleaner1713 does not contain prohibited attributes that are not related to given relation1714 for protected_tags1715 behaves like a permitted attribute1716 contains only attributes that are defined as permitted in the import/export config1717 does not contain attributes that would be cleaned with AttributeCleaner1718 does not contain prohibited attributes that are not related to given relation1719 for create_access_levels1720 behaves like a permitted attribute1721 contains only attributes that are defined as permitted in the import/export config1722 does not contain attributes that would be cleaned with AttributeCleaner1723 does not contain prohibited attributes that are not related to given relation1724 for merge_access_levels1725 behaves like a permitted attribute1726 contains only attributes that are defined as permitted in the import/export config1727 does not contain attributes that would be cleaned with AttributeCleaner1728 does not contain prohibited attributes that are not related to given relation1729 for push_access_levels1730 behaves like a permitted attribute1731 contains only attributes that are defined as permitted in the import/export config1732 does not contain attributes that would be cleaned with AttributeCleaner1733 does not contain prohibited attributes that are not related to given relation1734 for releases1735 behaves like a permitted attribute1736 contains only attributes that are defined as permitted in the import/export config1737 does not contain attributes that would be cleaned with AttributeCleaner1738 does not contain prohibited attributes that are not related to given relation1739 for links1740 behaves like a permitted attribute1741 contains only attributes that are defined as permitted in the import/export config1742 does not contain attributes that would be cleaned with AttributeCleaner1743 does not contain prohibited attributes that are not related to given relation1744 for container_expiration_policy1745 behaves like a permitted attribute1746 contains only attributes that are defined as permitted in the import/export config1747 does not contain attributes that would be cleaned with AttributeCleaner1748 does not contain prohibited attributes that are not related to given relation1749 for project_feature1750 behaves like a permitted attribute1751 contains only attributes that are defined as permitted in the import/export config1752 does not contain attributes that would be cleaned with AttributeCleaner1753 does not contain prohibited attributes that are not related to given relation1754 for prometheus_metrics1755 behaves like a permitted attribute1756 contains only attributes that are defined as permitted in the import/export config1757 does not contain attributes that would be cleaned with AttributeCleaner1758 does not contain prohibited attributes that are not related to given relation1759 for service_desk_setting1760 behaves like a permitted attribute1761 contains only attributes that are defined as permitted in the import/export config1762 does not contain attributes that would be cleaned with AttributeCleaner1763 does not contain prohibited attributes that are not related to given relation1764 for snippets1765 behaves like a permitted attribute1766 contains only attributes that are defined as permitted in the import/export config1767 does not contain attributes that would be cleaned with AttributeCleaner1768 does not contain prohibited attributes that are not related to given relation1769 for project_members1770 behaves like a permitted attribute1771 contains only attributes that are defined as permitted in the import/export config1772 does not contain attributes that would be cleaned with AttributeCleaner1773 does not contain prohibited attributes that are not related to given relation1774 for merge_request1775 behaves like a permitted attribute1776 contains only attributes that are defined as permitted in the import/export config1777 does not contain attributes that would be cleaned with AttributeCleaner1778 does not contain prohibited attributes that are not related to given relation1779 for merge_requests1780 behaves like a permitted attribute1781 contains only attributes that are defined as permitted in the import/export config1782 does not contain attributes that would be cleaned with AttributeCleaner1783 does not contain prohibited attributes that are not related to given relation1784 for award_emoji1785 behaves like a permitted attribute1786 contains only attributes that are defined as permitted in the import/export config1787 does not contain attributes that would be cleaned with AttributeCleaner1788 does not contain prohibited attributes that are not related to given relation1789 for commit_author1790 behaves like a permitted attribute1791 contains only attributes that are defined as permitted in the import/export config1792 does not contain attributes that would be cleaned with AttributeCleaner1793 does not contain prohibited attributes that are not related to given relation1794 for committer1795 behaves like a permitted attribute1796 contains only attributes that are defined as permitted in the import/export config1797 does not contain attributes that would be cleaned with AttributeCleaner1798 does not contain prohibited attributes that are not related to given relation1799 for events1800 behaves like a permitted attribute1801 contains only attributes that are defined as permitted in the import/export config1802 does not contain attributes that would be cleaned with AttributeCleaner1803 does not contain prohibited attributes that are not related to given relation1804 for label_links1805 behaves like a permitted attribute1806 contains only attributes that are defined as permitted in the import/export config1807 does not contain attributes that would be cleaned with AttributeCleaner1808 does not contain prohibited attributes that are not related to given relation1809 for merge_request_diff1810 behaves like a permitted attribute1811 contains only attributes that are defined as permitted in the import/export config1812 does not contain attributes that would be cleaned with AttributeCleaner1813 does not contain prohibited attributes that are not related to given relation1814 for merge_request_diff_commits1815 behaves like a permitted attribute1816 contains only attributes that are defined as permitted in the import/export config1817 does not contain attributes that would be cleaned with AttributeCleaner1818 does not contain prohibited attributes that are not related to given relation1819 for merge_request_diff_files1820 behaves like a permitted attribute1821 contains only attributes that are defined as permitted in the import/export config1822 does not contain attributes that would be cleaned with AttributeCleaner1823 does not contain prohibited attributes that are not related to given relation1824 for metrics1825 behaves like a permitted attribute1826 contains only attributes that are defined as permitted in the import/export config1827 does not contain attributes that would be cleaned with AttributeCleaner1828 does not contain prohibited attributes that are not related to given relation1829 for notes1830 behaves like a permitted attribute1831 contains only attributes that are defined as permitted in the import/export config1832 does not contain attributes that would be cleaned with AttributeCleaner1833 does not contain prohibited attributes that are not related to given relation1834 for push_event_payload1835 behaves like a permitted attribute1836 contains only attributes that are defined as permitted in the import/export config1837 does not contain attributes that would be cleaned with AttributeCleaner1838 does not contain prohibited attributes that are not related to given relation1839 for resource_label_events1840 behaves like a permitted attribute1841 contains only attributes that are defined as permitted in the import/export config1842 does not contain attributes that would be cleaned with AttributeCleaner1843 does not contain prohibited attributes that are not related to given relation1844 for suggestions1845 behaves like a permitted attribute1846 contains only attributes that are defined as permitted in the import/export config1847 does not contain attributes that would be cleaned with AttributeCleaner1848 does not contain prohibited attributes that are not related to given relation1849 for system_note_metadata1850 behaves like a permitted attribute1851 contains only attributes that are defined as permitted in the import/export config1852 does not contain attributes that would be cleaned with AttributeCleaner1853 does not contain prohibited attributes that are not related to given relation1854 for timelogs1855 behaves like a permitted attribute1856 contains only attributes that are defined as permitted in the import/export config1857 does not contain attributes that would be cleaned with AttributeCleaner1858 does not contain prohibited attributes that are not related to given relation1859 for external_pull_request1860 behaves like a permitted attribute1861 contains only attributes that are defined as permitted in the import/export config1862 does not contain attributes that would be cleaned with AttributeCleaner1863 does not contain prohibited attributes that are not related to given relation1864 for external_pull_requests1865 behaves like a permitted attribute1866 contains only attributes that are defined as permitted in the import/export config1867 does not contain attributes that would be cleaned with AttributeCleaner1868 does not contain prohibited attributes that are not related to given relation1869 for statuses1870 behaves like a permitted attribute1871 contains only attributes that are defined as permitted in the import/export config1872 does not contain attributes that would be cleaned with AttributeCleaner1873 does not contain prohibited attributes that are not related to given relation1874 for ci_pipelines1875 behaves like a permitted attribute1876 contains only attributes that are defined as permitted in the import/export config1877 does not contain attributes that would be cleaned with AttributeCleaner1878 does not contain prohibited attributes that are not related to given relation1879 for stages1880 behaves like a permitted attribute1881 contains only attributes that are defined as permitted in the import/export config1882 does not contain attributes that would be cleaned with AttributeCleaner1883 does not contain prohibited attributes that are not related to given relation1884 for actions1885 behaves like a permitted attribute1886 contains only attributes that are defined as permitted in the import/export config1887 does not contain attributes that would be cleaned with AttributeCleaner1888 does not contain prohibited attributes that are not related to given relation1889 for design1890 behaves like a permitted attribute1891 contains only attributes that are defined as permitted in the import/export config1892 does not contain attributes that would be cleaned with AttributeCleaner1893 does not contain prohibited attributes that are not related to given relation1894 for designs1895 behaves like a permitted attribute1896 contains only attributes that are defined as permitted in the import/export config1897 does not contain attributes that would be cleaned with AttributeCleaner1898 does not contain prohibited attributes that are not related to given relation1899 for design_versions1900 behaves like a permitted attribute1901 contains only attributes that are defined as permitted in the import/export config1902 does not contain attributes that would be cleaned with AttributeCleaner1903 does not contain prohibited attributes that are not related to given relation1904 for issue_assignees1905 behaves like a permitted attribute1906 contains only attributes that are defined as permitted in the import/export config1907 does not contain attributes that would be cleaned with AttributeCleaner1908 does not contain prohibited attributes that are not related to given relation1909 for merge_request_assignees1910 behaves like a permitted attribute1911 contains only attributes that are defined as permitted in the import/export config1912 does not contain attributes that would be cleaned with AttributeCleaner1913 does not contain prohibited attributes that are not related to given relation1914 for merge_request_reviewers1915 behaves like a permitted attribute1916 contains only attributes that are defined as permitted in the import/export config1917 does not contain attributes that would be cleaned with AttributeCleaner1918 does not contain prohibited attributes that are not related to given relation1919 for sentry_issue1920 behaves like a permitted attribute1921 contains only attributes that are defined as permitted in the import/export config1922 does not contain attributes that would be cleaned with AttributeCleaner1923 does not contain prohibited attributes that are not related to given relation1924 for zoom_meetings1925 behaves like a permitted attribute1926 contains only attributes that are defined as permitted in the import/export config1927 does not contain attributes that would be cleaned with AttributeCleaner1928 does not contain prohibited attributes that are not related to given relation1929 for issues1930 behaves like a permitted attribute1931 contains only attributes that are defined as permitted in the import/export config1932 does not contain attributes that would be cleaned with AttributeCleaner1933 does not contain prohibited attributes that are not related to given relation1934 for group_members1935 behaves like a permitted attribute1936 contains only attributes that are defined as permitted in the import/export config1937 does not contain attributes that would be cleaned with AttributeCleaner1938 does not contain prohibited attributes that are not related to given relation1939 for project1940 behaves like a permitted attribute1941 contains only attributes that are defined as permitted in the import/export config1942 does not contain attributes that would be cleaned with AttributeCleaner1943 does not contain prohibited attributes that are not related to given relation1944 for issuable_sla1945 behaves like a permitted attribute1946 is disabled1947 for push_rule1948 behaves like a permitted attribute1949 contains only attributes that are defined as permitted in the import/export config1950 does not contain attributes that would be cleaned with AttributeCleaner1951 does not contain prohibited attributes that are not related to given relation1952 for unprotect_access_levels1953 behaves like a permitted attribute1954 contains only attributes that are defined as permitted in the import/export config1955 does not contain attributes that would be cleaned with AttributeCleaner1956 does not contain prohibited attributes that are not related to given relation1957 for deploy_access_levels1958 behaves like a permitted attribute1959 contains only attributes that are defined as permitted in the import/export config1960 does not contain attributes that would be cleaned with AttributeCleaner1961 does not contain prohibited attributes that are not related to given relation1962 for protected_environments1963 behaves like a permitted attribute1964 contains only attributes that are defined as permitted in the import/export config1965 does not contain attributes that would be cleaned with AttributeCleaner1966 does not contain prohibited attributes that are not related to given relation1967 for security_setting1968 behaves like a permitted attribute1969 contains only attributes that are defined as permitted in the import/export config1970 does not contain attributes that would be cleaned with AttributeCleaner1971 does not contain prohibited attributes that are not related to given relation1972gitlab:seed:group_seed rake task1973 performs group seed successfully1974Geo::MergeRequestDiffRegistryFinder1975 behaves like a framework registry finder1976 #execute1977 when user cannot read all Geo1978 is expected to be empty1979 when user can read all Geo1980 when admin mode is disabled1981 is expected to be empty1982 when admin mode is enabled1983 with an ids param1984 returns specified registries1985 with an ids param empty1986 returns all registries1987 with a replication_state param1988 returns registries with requested replication state1989 with a replication_state param empty1990 returns all registries1991 with verification enabled1992 with a verification_state param1993 returns registries with requested verification state1994 with a verification_state param empty1995 returns all registries1996 with verification disabled1997 with a verification_state param1998 raises ArgumentError (PENDING: Skipping because verification is enabled for MergeRequestDiff)1999 with a verification_state param empty2000 raises ArgumentError (PENDING: Skipping because verification is enabled for MergeRequestDiff)2001 with no params2002 returns all registries2003CI YML Templates2004 that support autodevops2005 template_name: "5-Minute-Production-App.gitlab-ci.yml"2006 are valid with default stages2007 require default stages to be included2008 template_name: "Android.gitlab-ci.yml"2009 are valid with default stages2010 require default stages to be included2011 template_name: "Android-Fastlane.gitlab-ci.yml"2012 are valid with default stages2013 require default stages to be included2014 template_name: "Auto-DevOps.gitlab-ci.yml"2015 are valid with default stages2016 require default stages to be included2017 template_name: "Bash.gitlab-ci.yml"2018 are valid with default stages2019 require default stages to be included2020 template_name: "C++.gitlab-ci.yml"2021 are valid with default stages2022 require default stages to be included2023 template_name: "Chef.gitlab-ci.yml"2024 are valid with default stages2025 require default stages to be included2026 template_name: "Clojure.gitlab-ci.yml"2027 are valid with default stages2028 require default stages to be included2029 template_name: "Code-Quality.gitlab-ci.yml"2030 are valid with default stages2031 require default stages to be included2032 template_name: "Composer.gitlab-ci.yml"2033 are valid with default stages2034 require default stages to be included2035 template_name: "Crystal.gitlab-ci.yml"2036 are valid with default stages2037 require default stages to be included2038 template_name: "Dart.gitlab-ci.yml"2039 are valid with default stages2040 require default stages to be included2041 template_name: "Deploy-ECS.gitlab-ci.yml"2042 are valid with default stages2043 require default stages to be included2044 template_name: "Django.gitlab-ci.yml"2045 are valid with default stages2046 require default stages to be included2047 template_name: "Docker.gitlab-ci.yml"2048 are valid with default stages2049 require default stages to be included2050 template_name: "Elixir.gitlab-ci.yml"2051 are valid with default stages2052 require default stages to be included2053 template_name: "Flutter.gitlab-ci.yml"2054 are valid with default stages2055 require default stages to be included2056 template_name: "Getting-Started.gitlab-ci.yml"2057 are valid with default stages2058 require default stages to be included2059 template_name: "Go.gitlab-ci.yml"2060 are valid with default stages2061 require default stages to be included2062 template_name: "Gradle.gitlab-ci.yml"2063 are valid with default stages2064 require default stages to be included2065 template_name: "Grails.gitlab-ci.yml"2066 are valid with default stages2067 require default stages to be included2068 template_name: "Indeni.Cloudrail.gitlab-ci.yml"2069 are valid with default stages2070 require default stages to be included2071 template_name: "Julia.gitlab-ci.yml"2072 are valid with default stages2073 require default stages to be included2074 template_name: "Kaniko.gitlab-ci.yml"2075 are valid with default stages2076 require default stages to be included2077 template_name: "LaTeX.gitlab-ci.yml"2078 are valid with default stages2079 require default stages to be included2080 template_name: "Laravel.gitlab-ci.yml"2081 are valid with default stages2082 require default stages to be included2083 template_name: "MATLAB.gitlab-ci.yml"2084 are valid with default stages2085 require default stages to be included2086 template_name: "Maven.gitlab-ci.yml"2087 are valid with default stages2088 require default stages to be included2089 template_name: "Mono.gitlab-ci.yml"2090 are valid with default stages2091 require default stages to be included2092 template_name: "Nodejs.gitlab-ci.yml"2093 are valid with default stages2094 require default stages to be included2095 template_name: "OpenShift.gitlab-ci.yml"2096 are valid with default stages2097 require default stages to be included2098 template_name: "PHP.gitlab-ci.yml"2099 are valid with default stages2100 require default stages to be included2101 template_name: "Packer.gitlab-ci.yml"2102 are valid with default stages2103 require default stages to be included2104 template_name: "Python.gitlab-ci.yml"2105 are valid with default stages2106 require default stages to be included2107 template_name: "Qualys-IaC-Security.gitlab-ci.yml"2108 are valid with default stages2109 require default stages to be included2110 template_name: "Ruby.gitlab-ci.yml"2111 are valid with default stages2112 require default stages to be included2113 template_name: "Rust.gitlab-ci.yml"2114 are valid with default stages2115 require default stages to be included2116 template_name: "Scala.gitlab-ci.yml"2117 are valid with default stages2118 require default stages to be included2119 template_name: "Swift.gitlab-ci.yml"2120 are valid with default stages2121 require default stages to be included2122 template_name: "Terraform.gitlab-ci.yml"2123 are valid with default stages2124 require default stages to be included2125 template_name: "dotNET.gitlab-ci.yml"2126 are valid with default stages2127 require default stages to be included2128 template_name: "dotNET-Core.gitlab-ci.yml"2129 are valid with default stages2130 require default stages to be included2131 template_name: "iOS-Fastlane.gitlab-ci.yml"2132 are valid with default stages2133 require default stages to be included2134 template_name: "liquibase.gitlab-ci.yml"2135 are valid with default stages2136 require default stages to be included2137 template_name: "npm.gitlab-ci.yml"2138 are valid with default stages2139 require default stages to be included2140 template_name: "Pages/Brunch.gitlab-ci.yml"2141 are valid with default stages2142 require default stages to be included2143 template_name: "Pages/Doxygen.gitlab-ci.yml"2144 are valid with default stages2145 require default stages to be included2146 template_name: "Pages/Gatsby.gitlab-ci.yml"2147 are valid with default stages2148 require default stages to be included2149 template_name: "Pages/HTML.gitlab-ci.yml"2150 are valid with default stages2151 require default stages to be included2152 template_name: "Pages/Harp.gitlab-ci.yml"2153 are valid with default stages2154 require default stages to be included2155 template_name: "Pages/Hexo.gitlab-ci.yml"2156 are valid with default stages2157 require default stages to be included2158 template_name: "Pages/Hugo.gitlab-ci.yml"2159 are valid with default stages2160 require default stages to be included2161 template_name: "Pages/Hyde.gitlab-ci.yml"2162 are valid with default stages2163 require default stages to be included2164 template_name: "Pages/JBake.gitlab-ci.yml"2165 are valid with default stages2166 require default stages to be included2167 template_name: "Pages/Jekyll.gitlab-ci.yml"2168 are valid with default stages2169 require default stages to be included2170 template_name: "Pages/Jigsaw.gitlab-ci.yml"2171 are valid with default stages2172 require default stages to be included2173 template_name: "Pages/Lektor.gitlab-ci.yml"2174 are valid with default stages2175 require default stages to be included2176 template_name: "Pages/Metalsmith.gitlab-ci.yml"2177 are valid with default stages2178 require default stages to be included2179 template_name: "Pages/Middleman.gitlab-ci.yml"2180 are valid with default stages2181 require default stages to be included2182 template_name: "Pages/Nanoc.gitlab-ci.yml"2183 are valid with default stages2184 require default stages to be included2185 template_name: "Pages/Octopress.gitlab-ci.yml"2186 are valid with default stages2187 require default stages to be included2188 template_name: "Pages/Pelican.gitlab-ci.yml"2189 are valid with default stages2190 require default stages to be included2191 template_name: "Pages/SwaggerUI.gitlab-ci.yml"2192 are valid with default stages2193 require default stages to be included2194 template_name: "Verify/Accessibility.gitlab-ci.yml"2195 are valid with default stages2196 require default stages to be included2197 template_name: "Verify/Browser-Performance.gitlab-ci.yml"2198 are valid with default stages2199 require default stages to be included2200 template_name: "Verify/FailFast.gitlab-ci.yml"2201 are valid with default stages2202 require default stages to be included2203 template_name: "Verify/Load-Performance-Testing.gitlab-ci.yml"2204 are valid with default stages2205 require default stages to be included2206 template_name: "Security/Container-Scanning.gitlab-ci.yml"2207 are valid with default stages2208 require default stages to be included2209 template_name: "Security/Coverage-Fuzzing.gitlab-ci.yml"2210 are valid with default stages2211 require default stages to be included2212 template_name: "Security/DAST-On-Demand-API-Scan.gitlab-ci.yml"2213 are valid with default stages2214 require default stages to be included2215 template_name: "Security/DAST-On-Demand-Scan.gitlab-ci.yml"2216 are valid with default stages2217 require default stages to be included2218 template_name: "Security/DAST-Runner-Validation.gitlab-ci.yml"2219 are valid with default stages2220 require default stages to be included2221 template_name: "Security/Dependency-Scanning.gitlab-ci.yml"2222 are valid with default stages2223 require default stages to be included2224 template_name: "Security/Fortify-FoD-sast.gitlab-ci.yml"2225 are valid with default stages2226 require default stages to be included2227 template_name: "Security/License-Scanning.gitlab-ci.yml"2228 are valid with default stages2229 require default stages to be included2230 template_name: "Security/SAST.gitlab-ci.yml"2231 are valid with default stages2232 require default stages to be included2233 template_name: "Security/SAST-IaC.gitlab-ci.yml"2234 are valid with default stages2235 require default stages to be included2236 template_name: "Security/Secret-Detection.gitlab-ci.yml"2237 are valid with default stages2238 require default stages to be included2239 template_name: "Security/Secure-Binaries.gitlab-ci.yml"2240 are valid with default stages2241 require default stages to be included2242 that do not support autodevops2243 when DAST API template2244 with default stages2245 is expected not to be valid2246 with defined stages2247 is expected to be valid2248 require default stages to be included2249 when API Fuzzing template2250 with default stages2251 is expected not to be valid2252 with defined stages2253 is expected to be valid2254 require default stages to be included2255Issue2256 searches issues2257 names elasticsearch queries2258 searches by iid and scopes to type: issue only2259 handles a project missing project_feature2260 when limited indexing is on2261 when the project is not enabled specifically2262 #searchable?2263 returns false2264 when a project is enabled specifically2265 #searchable?2266 returns true2267 when a group is enabled2268 #searchable?2269 returns true2270 json2271 returns json with all needed elements2272 field length limits2273 when there is an elasticsearch_indexed_field_length limit2274 truncates to the default plan limit2275 when the elasticsearch_indexed_field_length limit is 02276 does not truncate the fields2277 behaves like no results when the user cannot read cross project2278 returns the record if a single project was passed2279 does not return anything when trying to search cross project2280Security::Ingestion::Tasks::IngestVulnerabilities2281 #execute2282 creates new vulnerabilities2283 marks the existing vulnerability as not resolved on default branch2284 creates new vulnerabilities with present_on_default_branch set to true2285 updates present_on_default_branch to true for existing vulnerabilities2286 when a resolved Vulnerability shows up in a subsequent scan2287 changes the state to detected2288 when `deprecate_vulnerabilities_feedback` feature flag is disabled2289 does not updates present_on_default_branch to true for existing vulnerabilities2290Gitlab::Ci::Minutes::CostFactor2291 .new2292 raises errors when initialized with a runner object2293 #enabled?2294 when the cost factor is zero2295 is expected to be falsey2296 when the cost factor is positive2297 is expected to be truthy2298 #disabled?2299 when the cost factor is zero2300 is expected to be truthy2301 when the cost factor is positive2302 is expected to be falsey2303 #for_project2304 runner_type: :project, visibility_level: 0, public_cost_factor: 1, private_cost_factor: 1, namespace_limit: nil, instance_limit: 400, result: 02305 is expected to eq 02306 runner_type: :project, visibility_level: 10, public_cost_factor: 1, private_cost_factor: 1, namespace_limit: nil, instance_limit: 400, result: 02307 is expected to eq 02308 runner_type: :project, visibility_level: 20, public_cost_factor: 1, private_cost_factor: 1, namespace_limit: nil, instance_limit: 400, result: 02309 is expected to eq 02310 runner_type: :project, visibility_level: 20, public_cost_factor: 1, private_cost_factor: 1, namespace_limit: 0, instance_limit: 0, result: 02311 is expected to eq 02312 runner_type: :project, visibility_level: 20, public_cost_factor: 1, private_cost_factor: 1, namespace_limit: nil, instance_limit: nil, result: 02313 is expected to eq 02314 runner_type: :group, visibility_level: 0, public_cost_factor: 1, private_cost_factor: 1, namespace_limit: nil, instance_limit: 400, result: 02315 is expected to eq 02316 runner_type: :group, visibility_level: 10, public_cost_factor: 1, private_cost_factor: 1, namespace_limit: nil, instance_limit: 400, result: 02317 is expected to eq 02318 runner_type: :group, visibility_level: 20, public_cost_factor: 1, private_cost_factor: 1, namespace_limit: nil, instance_limit: 400, result: 02319 is expected to eq 02320 runner_type: :group, visibility_level: 20, public_cost_factor: 1, private_cost_factor: 1, namespace_limit: 0, instance_limit: 0, result: 02321 is expected to eq 02322 runner_type: :group, visibility_level: 20, public_cost_factor: 1, private_cost_factor: 1, namespace_limit: nil, instance_limit: nil, result: 02323 is expected to eq 02324 runner_type: :instance, visibility_level: 20, public_cost_factor: 0, private_cost_factor: 5, namespace_limit: nil, instance_limit: 400, result: 02325 is expected to eq 02326 runner_type: :instance, visibility_level: 20, public_cost_factor: 0, private_cost_factor: 5, namespace_limit: nil, instance_limit: nil, result: 02327 is expected to eq 02328 runner_type: :instance, visibility_level: 20, public_cost_factor: 0, private_cost_factor: 5, namespace_limit: nil, instance_limit: 0, result: 02329 is expected to eq 02330 runner_type: :instance, visibility_level: 20, public_cost_factor: 0, private_cost_factor: 5, namespace_limit: 0, instance_limit: 400, result: 02331 is expected to eq 02332 runner_type: :instance, visibility_level: 20, public_cost_factor: 0, private_cost_factor: 5, namespace_limit: 400, instance_limit: 0, result: 02333 is expected to eq 02334 runner_type: :instance, visibility_level: 20, public_cost_factor: 2, private_cost_factor: 5, namespace_limit: 400, instance_limit: 0, result: 22335 is expected to eq 22336 runner_type: :instance, visibility_level: 20, public_cost_factor: 2, private_cost_factor: 5, namespace_limit: nil, instance_limit: 400, result: 22337 is expected to eq 22338 runner_type: :instance, visibility_level: 20, public_cost_factor: 2, private_cost_factor: 5, namespace_limit: nil, instance_limit: 0, result: 02339 is expected to eq 02340 runner_type: :instance, visibility_level: 10, public_cost_factor: 0, private_cost_factor: 5, namespace_limit: nil, instance_limit: 400, result: 52341 is expected to eq 52342 runner_type: :instance, visibility_level: 10, public_cost_factor: 0, private_cost_factor: 5, namespace_limit: nil, instance_limit: nil, result: 02343 is expected to eq 02344 runner_type: :instance, visibility_level: 10, public_cost_factor: 0, private_cost_factor: 5, namespace_limit: nil, instance_limit: 0, result: 02345 is expected to eq 02346 runner_type: :instance, visibility_level: 10, public_cost_factor: 0, private_cost_factor: 5, namespace_limit: 0, instance_limit: 400, result: 02347 is expected to eq 02348 runner_type: :instance, visibility_level: 10, public_cost_factor: 0, private_cost_factor: 5, namespace_limit: 400, instance_limit: 0, result: 52349 is expected to eq 52350 runner_type: :instance, visibility_level: 10, public_cost_factor: 0, private_cost_factor: 0, namespace_limit: 400, instance_limit: 0, result: 02351 is expected to eq 02352 runner_type: :instance, visibility_level: 0, public_cost_factor: 0, private_cost_factor: 5, namespace_limit: nil, instance_limit: 400, result: 52353 is expected to eq 52354 runner_type: :instance, visibility_level: 0, public_cost_factor: 0, private_cost_factor: 5, namespace_limit: nil, instance_limit: nil, result: 02355 is expected to eq 02356 runner_type: :instance, visibility_level: 0, public_cost_factor: 0, private_cost_factor: 5, namespace_limit: nil, instance_limit: 0, result: 02357 is expected to eq 02358 runner_type: :instance, visibility_level: 0, public_cost_factor: 0, private_cost_factor: 5, namespace_limit: 0, instance_limit: 400, result: 02359 is expected to eq 02360 runner_type: :instance, visibility_level: 0, public_cost_factor: 0, private_cost_factor: 5, namespace_limit: 400, instance_limit: 0, result: 52361 is expected to eq 52362 runner_type: :instance, visibility_level: 0, public_cost_factor: 0, private_cost_factor: 0, namespace_limit: 400, instance_limit: 0, result: 02363 is expected to eq 02364 when plan based cost factor2365 when project has an Open Source plan2366 when the project is private2367 returns the runner private cost factor2368 when the project is public2369 when the public open source cost factor is lower2370 is expected to eq 0.52371 when the runner cost factor is lower2372 is expected to eq 0.4992373 when project does not have an Open Source plan2374 when the project is private2375 returns the private cost factor2376 when the project is public2377 returns the runner public cost factor2378 when project is forked2379 when the project is public2380 when the fork_source project is private2381 returns the runner public cost factor2382 when the fork_source project is public2383 when the forked source cost factor is lower2384 is expected to eq 0.0082385 when the runner cost factor is lower2386 is expected to eq 0.0072387 when ci_forked_source_public_cost_factor is disabled2388 is expected to eq 22389 when the project is private2390 is expected to eq 42391 #for_visibility2392 runner_type: :project, visibility_level: 0, public_cost_factor: 1, private_cost_factor: 1, result: 02393 is expected to eq 02394 runner_type: :project, visibility_level: 10, public_cost_factor: 1, private_cost_factor: 1, result: 02395 is expected to eq 02396 runner_type: :project, visibility_level: 20, public_cost_factor: 1, private_cost_factor: 1, result: 02397 is expected to eq 02398 runner_type: :group, visibility_level: 0, public_cost_factor: 1, private_cost_factor: 1, result: 02399 is expected to eq 02400 runner_type: :group, visibility_level: 10, public_cost_factor: 1, private_cost_factor: 1, result: 02401 is expected to eq 02402 runner_type: :group, visibility_level: 20, public_cost_factor: 1, private_cost_factor: 1, result: 02403 is expected to eq 02404 runner_type: :instance, visibility_level: 20, public_cost_factor: 1, private_cost_factor: 5, result: 12405 is expected to eq 12406 runner_type: :instance, visibility_level: 10, public_cost_factor: 1, private_cost_factor: 5, result: 52407 is expected to eq 52408 runner_type: :instance, visibility_level: 0, public_cost_factor: 1, private_cost_factor: 5, result: 52409 is expected to eq 52410 with invalid visibility level2411 raises an error2412ApprovalWrappedRule2413 #project2414 returns merge request project2415 #approvals_left2416 when approvals_required is greater than approved approver count2417 returns approvals still needed2418 when approvals_required is less than approved approver count2419 returns zero2420 #approved?2421 when approvals left is zero2422 returns true2423 when approvals left is not zero, but there is still unactioned approvers2424 returns false2425 when approvals left is not zero, but there is no unactioned approvers2426 returns true2427 #approved_approvers2428 avoids N+1 queries2429 when some approvers has made the approvals2430 returns approved approvers2431 when merged2432 returns approved approvers from database2433 when merged but without materialized approved_approvers2434 returns computed approved approvers2435 when project rule2436 returns computed approved approvers2437 #commented_approvers2438 returns an array2439 returns an array of approvers who have commented2440 #unactioned_approvers2441 when some approvers has not approved yet2442 returns unactioned approvers2443 when merged2444 returns approved approvers from database2445 #approvals_required2446 returns the attribute saved on the model2447 #name2448 with report_type set to scan_finding2449 returns rule name without the sequential notation2450 with report_type other than scan_finding2451 returns rule name as is2452Boards::UpdateService2453 #execute2454 with group board2455 behaves like board update service2456 updates the board with valid params2457 does not update the board with invalid params2458 with scoped_issue_board available2459 user is member of the board parent2460 updates the configuration params when scoped issue board is enabled2461 when labels param is used2462 when user can create new labels2463 adds labels to the board2464 when user can not create new labels2465 adds only existing labels to the board2466 without scoped_issue_board available2467 filters unpermitted params when scoped issue board is not enabled2468 with project board2469 behaves like board update service2470 updates the board with valid params2471 does not update the board with invalid params2472 with scoped_issue_board available2473 user is member of the board parent2474 updates the configuration params when scoped issue board is enabled2475 when labels param is used2476 when user can create new labels2477 adds labels to the board2478 when user can not create new labels2479 adds only existing labels to the board2480 without scoped_issue_board available2481 filters unpermitted params when scoped issue board is not enabled2482 when setting a timebox2483 behaves like setting a milestone scope2484 behaves like setting a timebox scope2485 for a group board2486 behaves like an invalid milestone2487 when milestone is from another project / group2488 is expected to be nil2489 behaves like a predefined milestone2490 None2491 is expected to eq #<struct Timebox::TimeboxStruct title="No Milestone", name="No Milestone", id=0, class_name="Milestone">2492 Any2493 is expected to eq #<struct Timebox::TimeboxStruct title="Any Milestone", name="", id=-1, class_name="Milestone">2494 Upcoming2495 is expected to eq #<struct Timebox::TimeboxStruct title="Upcoming", name="#upcoming", id=-2, class_name="Milestone">2496 Started2497 is expected to eq #<struct Timebox::TimeboxStruct title="Started", name="#started", id=-3, class_name="Milestone">2498 behaves like a group milestone2499 when milestone is in current group2500 is expected to eq #<Milestone id:11 %"My title 370">2501 when milestone is in an ancestor group2502 is expected to eq #<Milestone id:12 %"My title 371">2503 for a project board2504 behaves like an invalid milestone2505 when milestone is from another project / group2506 is expected to be nil2507 behaves like a predefined milestone2508 None2509 is expected to eq #<struct Timebox::TimeboxStruct title="No Milestone", name="No Milestone", id=0, class_name="Milestone">2510 Any2511 is expected to eq #<struct Timebox::TimeboxStruct title="Any Milestone", name="", id=-1, class_name="Milestone">2512 Upcoming2513 is expected to eq #<struct Timebox::TimeboxStruct title="Upcoming", name="#upcoming", id=-2, class_name="Milestone">2514 Started2515 is expected to eq #<struct Timebox::TimeboxStruct title="Started", name="#started", id=-3, class_name="Milestone">2516 behaves like a group milestone2517 when milestone is in current group2518 is expected to eq #<Milestone id:14 %"My title 373">2519 when milestone is in an ancestor group2520 is expected to eq #<Milestone id:15 %"My title 374">2521 when milestone is a project milestone2522 is expected to eq #<Milestone id:16 group130/group131/project753%"My title 375">2523 behaves like setting an iteration scope2524 behaves like setting a timebox scope2525 for a group board2526 behaves like an invalid iteration2527 when iteration is from another project / group2528 is expected to be nil2529 behaves like a predefined iteration2530 without iteration cadence2531 None2532 is expected to raise ArgumentError with "No cadence could be found to scope board to NONE iteration."2533 Any2534 is expected to raise ArgumentError with "No cadence could be found to scope board to ANY iteration."2535 Current2536 is expected to raise ArgumentError with "No cadence could be found to scope board to CURRENT iteration."2537 with iteration cadence2538 None2539 is expected to eq #<struct Timebox::TimeboxStruct title="None", name="none", id=0, class_name="Iteration">2540 Any2541 is expected to eq #<struct Timebox::TimeboxStruct title="Any", name="any", id=-1, class_name="Iteration">2542 Current2543 is expected to eq #<struct Timebox::TimeboxStruct title="Current", name="current", id=-4, class_name="Iteration">2544 behaves like a group iteration2545 when iteration is in current group2546 is expected to eq #<Iteration id:9 *iteration:9>2547 when iteration is in an ancestor group2548 is expected to eq #<Iteration id:10 *iteration:10>2549 for a project board2550 behaves like an invalid iteration2551 when iteration is from another project / group2552 is expected to be nil2553 behaves like a predefined iteration2554 without iteration cadence2555 None2556 is expected to raise ArgumentError with "No cadence could be found to scope board to NONE iteration."2557 Any2558 is expected to raise ArgumentError with "No cadence could be found to scope board to ANY iteration."2559 Current2560 is expected to raise ArgumentError with "No cadence could be found to scope board to CURRENT iteration."2561 with iteration cadence2562 None2563 is expected to eq #<struct Timebox::TimeboxStruct title="None", name="none", id=0, class_name="Iteration">2564 Any2565 is expected to eq #<struct Timebox::TimeboxStruct title="Any", name="any", id=-1, class_name="Iteration">2566 Current2567 is expected to eq #<struct Timebox::TimeboxStruct title="Current", name="current", id=-4, class_name="Iteration">2568 behaves like a group iteration2569 when iteration is in current group2570 is expected to eq #<Iteration id:12 *iteration:12>2571 when iteration is in an ancestor group2572 is expected to eq #<Iteration id:13 *iteration:13>2573Note2574 behaves like an editable mentionable with EE-specific mentions2575 creates new cross-reference notes when the mentionable text is edited2576 behaves like a mentionable with EE-specific mentions2577 extracts references from its reference property2578 creates cross-reference notes2579 #readable_by?2580 note created after epic2581 behaves like users with note access2582 returns true2583 when group is private2584 returns visible but not readable for a non-member user2585 returns visible but not readable for a nil user2586 behaves like users with note access2587 returns true2588 when note is older than epic2589 behaves like users with note access2590 returns true2591 behaves like users without note access2592 returns false2593 when group is private2594 behaves like users with note access2595 returns true2596 behaves like users without note access2597 returns false2598 #system_note_with_references?2599 delegates relate_epic system note to the cross-reference regex2600 delegates unrelate_epic system note to the cross-reference regex2601 #resource_parent2602 returns group for epic notes2603 .by_humans2604 excludes notes by bots and service users2605 .count_for_vulnerability_id2606 counts notes by vulnerability id2607 #skip_notification?2608 when there is no review2609 when the note is not for vulnerability2610 is expected to be falsey2611 when the note is for vulnerability2612 is expected to be truthy2613 when the review exists2614 when the note is not for vulnerability2615 is expected to be truthy2616 when the note is for vulnerability2617 is expected to be truthy2618DastSiteProfile2619 behaves like sanitizable2620 includes Sanitizable2621 #name2622 when input includes javascript tags2623 gets sanitized2624 #name validation2625 when input contains pre-escaped html entities2626 is not valid2627 associations2628 is expected to belong to project required: false2629 is expected to belong to dast_site required: false2630 is expected to have many secret_variables class_name => Dast::SiteProfileSecretVariable2631 validations2632 is expected to be valid2633 is expected to validate that the length of :auth_password_field is at most 2552634 is expected to validate that the length of :auth_url is at most 10242635 is expected to validate that the length of :auth_username is at most 2552636 is expected to validate that the length of :auth_username_field is at most 2552637 is expected to validate that the length of :auth_submit_field is at most 2552638 is expected to validate that the length of :name is at most 2552639 is expected to validate that :dast_site_id cannot be empty/falsy2640 is expected to validate that :name cannot be empty/falsy2641 is expected to validate that :project_id cannot be empty/falsy2642 is expected to validate that :name is case-sensitively unique within the scope of :project_id2643 #auth_url2644 when the auth_uri is nil2645 is valid2646 when the auth_url is not a valid uri2647 is not valid2648 when the auth_url is not public2649 is valid2650 #excluded_urls2651 is expected to allow :excluded_urls to be ‹["http://example34.test", "http://example34.test", "http://example34.test", "http://example34.test", "http://example34.test", "http://example34.test", "http://example34.test", "http://example34.test", "http://example34.test", "http://example34.test", "http://example34.test", "http://example34.test", "http://example34.test", "http://example34.test", "http://example34.test", "http://example34.test", "http://example34.test", "http://example34.test", "http://example34.test", "http://example34.test",...›2652 is expected not to allow :excluded_urls to be ‹["http://example35.test", "http://example35.test", "http://example35.test", "http://example35.test", "http://example35.test", "http://example35.test", "http://example35.test", "http://example35.test", "http://example35.test", "http://example35.test", "http://example35.test", "http://example35.test", "http://example35.test", "http://example35.test", "http://example35.test", "http://example35.test", "http://example35.test", "http://example35.test", "http://example35.test", "http://example35.test",...›2653 when there are some urls that are invalid2654 is not valid2655 #project2656 when the project_id and dast_site.project_id do not match2657 is not valid2658 scopes2659 .with_dast_site_and_validation2660 eager loads the association2661 .with_name2662 returns the dast_site_profiles with given name2663 enums2664 is expected to define :target_type as an enum backed by an integer with values ‹{website: 0, api: 1}›2665 is expected to define :scan_method as an enum backed by an integer with values ‹{site: 0, openapi: 1, har: 2, postman: 3}›, prefix: true2666 .names2667 returns the names for the DAST site profiles with the given IDs2668 when a profile is not found2669 rescues the error and returns an empty array2670 instance methods2671 #destroy!2672 when the associated dast_site has no dast_site_profiles2673 is also destroyed2674 when the associated dast_site has dast_site_profiles2675 is not destroyed2676 #status2677 when dast_site_validation association does not exist2678 is none2679 when dast_site_validation association does exist2680 is dast_site_validation#state2681 #referenced_in_security_policies2682 there is no security_orchestration_policy_configuration assigned to project2683 returns empty array2684 there is security_orchestration_policy_configuration assigned to project2685 calls security_orchestration_policy_configuration.active_policy_names_with_dast_site_profile with profile name2686 returns the referenced policy name2687 #ci_variables2688 without_dast_submit_field2689 returns a collection of variables2690 with_dast_submit_field2691 returns a collection of variables2692 when target_type=api2693 returns a collection of variables with api configuration only2694 when auth is disabled2695 returns a collection of variables excluding any auth variables2696 when excluded_urls is empty2697 is removed from the collection2698 when a variable is set to nil2699 is removed from the collection2700 #secret_ci_variables2701 when user can read secrets2702 works with policy2703 checks the policy2704 when there are no secret_variables2705 returns an empty collection2706 when there are secret_variables2707 returns a collection containing that variable2708 when password is configured2709 returns a collection containing api password2710 when user cannot read secrets2711 returns an empty collection2712 #ensure_scan_method2713 when the target_type is website2714 does not change the scan_method2715 when the target type is api2716 does set the scan_method to openapi2717Groups::Memberships::ExportService2718 #execute2719 when unlicensed2720 behaves like not available2721 returns a failed response2722 when licensed2723 is successful2724 current_user is not an owner of this group2725 behaves like not available2726 returns a failed response2727 current_user is a group developer2728 behaves like not available2729 returns a failed response2730 current_user is a group maintainer2731 behaves like not available2732 returns a failed response2733 current_user is a guest2734 behaves like not available2735 returns a failed response2736 data verification2737 has the correct headers2738 has the correct number of rows2739 a direct user2740 has the correct information2741 a user in a subgroup2742 has the correct information2743Geo::UploadRegistryFinder2744 behaves like a framework registry finder2745 #execute2746 when user cannot read all Geo2747 is expected to be empty2748 when user can read all Geo2749 when admin mode is disabled2750 is expected to be empty2751 when admin mode is enabled2752 with an ids param2753 returns specified registries2754 with an ids param empty2755 returns all registries2756 with a replication_state param2757 returns registries with requested replication state2758 with a replication_state param empty2759 returns all registries2760 with verification enabled2761 with a verification_state param2762 returns registries with requested verification state2763 with a verification_state param empty2764 returns all registries2765 with verification disabled2766 with a verification_state param2767 raises ArgumentError (PENDING: Skipping because verification is enabled for Upload)2768 with a verification_state param empty2769 raises ArgumentError (PENDING: Skipping because verification is enabled for Upload)2770 with no params2771 returns all registries2772Geo::RegistrySyncWorker2773 does not schedule anything when tracking database is not configured2774 does not schedule anything when node is disabled2775 does not schedule duplicated jobs2776 does not schedule duplicated jobs because of query cache2777 attempts to load a new batch without pending downloads2778ResourceIterationEvent2779 behaves like a resource event2780 importable2781 is expected to respond to #importing?2782 is expected to respond to #imported?2783 validations2784 is expected not to allow :user to be ‹nil›2785 when importing2786 is expected to allow :user to be ‹nil›2787 associations2788 is expected to belong to user required: false2789 .created_after2790 returns the expected events2791 returns no events if time is after last record time2792 behaves like a resource event for issues2793 associations2794 is expected to belong to issue required: false2795 .by_issue2796 returns the expected records for an issue with events2797 returns the expected records for an issue with no events2798 .by_issue_ids2799 returns the expected events2800 .by_created_at_earlier_or_equal_to2801 returns the expected events2802 returns the expected events2803 #issuable2804 returns the expected issuable2805 behaves like a resource event for merge requests2806 associations2807 is expected to belong to merge_request required: false2808 .by_merge_request2809 returns the expected records for an issue with events2810 returns the expected records for an issue with no events2811 #issuable2812 returns the expected issuable2813 behaves like having unique enum values2814 has unique values in "action"2815 behaves like timebox resource event validations2816 validations2817 when issue and merge_request are both nil2818 is expected not to be valid2819 when issue and merge_request are both set2820 is expected not to be valid2821 when issue is set2822 is expected to be valid2823 when merge_request is set2824 is expected to be valid2825 behaves like timebox resource event actions2826 #added?2827 behaves like queryable timebox action resource event2828 is true for action add on issue2829 is false for action remove on issue2830 is true for action add on merge_request2831 is false for action remove on merge_request2832 #removed?2833 behaves like queryable timebox action resource event2834 is false for action add on issue2835 is true for action remove on issue2836 is false for action add on merge_request2837 is true for action remove on merge_request2838 behaves like timebox resource tracks issue metrics2839 #issue_usage_metrics2840 tracks usage for issues2841 does not track usage for merge requests2842 when creating an issue2843 behaves like issue_edit snowplow tracking2844 behaves like Snowplow event tracking2845 is not emitted if FF is disabled2846 is emitted2847 associations2848 is expected to belong to iteration required: false2849Security::Ingestion::Tasks::UpdateVulnerabilityUuids2850 gosec vulnerabilities exist2851 when update_vuln_identifiers_flag is on2852 updates UUID of existing vulnerabilities2853 when update_vuln_identifiers_flag is off2854 does not update the UUID of existing vulnerabilities2855 semgrep vulnerabilities already exist2856 does not raise an exception2857 semgrep vulnerabilities exist2858 makes no changes to existing vulnerabilities2859 when updating vulnerability uuids fails2860 tracks the exception2861Epics::RelatedEpicLinks::CreateService2862 #execute2863 behaves like issuable link creation2864 #execute2865 when the reference list is empty2866 returns error2867 when Issuable not found2868 returns error2869 no relationship is created2870 when user has no permission to target issuable2871 returns error2872 no relationship is created2873 source and target are the same issuable2874 does not create notes2875 no relationship is created2876 when there is an issuable to relate2877 creates relationships2878 returns success status and created links2879 creates notes2880 when reference of any already related issue is present2881 creates notes only for new relations2882 when there are invalid references2883 creates links only for valid references2884 returns error status2885 behaves like issuable link creation with blocking link_type2886 when is_blocked_by relation is used2887 creates `blocks` relation with swapped source and target2888 when blocks relation is used2889 creates `blocks` relation2890 when related_epics is not available for target epic2891 creates relationships2892 event tracking2893 for relates_to link type2894 behaves like a recorded event2895 records event for each link created2896 for blocks link_type2897 behaves like a recorded event2898 records event for each link created2899 for is_blocked_by link_type2900 behaves like a recorded event2901 records event for each link created2902Ci::JobArtifacts::DestroyAllExpiredService2903 .execute2904 when artifact is expired2905 when artifact is not locked2906 destroys job artifact and the security finding2907 publishes Ci::JobArtifactsDeletedEvent2908 when artifact is locked2909 does not destroy job artifact2910 when artifact is not expired2911 does not destroy expired job artifacts2912 when artifact is permanent2913 does not destroy expired job artifacts2914 when there are artifacts more than batch sizes2915 destroys all expired artifacts2916 when some artifacts are locked2917 destroys only unlocked artifacts2918RequirementsManagement::TestReport2919 associations2920 is expected to belong to author class_name => User required: false2921 is expected to belong to requirement_issue required: false2922 is expected to belong to build required: false2923 validations2924 is expected to validate that :state cannot be empty/falsy2925 is expected to validate that :requirement_issue cannot be empty/falsy2926 requirements associations2927 when only requirement issue is set2928 behaves like a model with a requirement issue association2929 requirement issue association2930 when the requirement issue is of type requirement2931 is expected to be valid2932 when requirement issue is not of requirement type2933 is expected to include /must be a `requirement`/2934 when requirement issue is invalid but the type field is not dirty2935 is expected to be valid2936 is expected to be valid2937 scopes2938 .for_user_build2939 returns only test reports matching build's user and pipeline2940 .with_build2941 returns only test reports which reference a CI build2942 .without_build2943 returns only test reports which do not refer any CI build2944 .persist_requirement_reports2945 if the CI report contains no entries2946 does not create any test reports2947 if the CI report contains some entries2948 and the entries are valid2949 creates test report with expected status for each open requirement2950 and the entries are not valid2951 creates test report with expected status for each open requirement2952 .build_report2953 when build is passed as argument2954 builds test report with correct attributes2955 when build is not passed as argument2956 builds test report with correct attributes2957 behaves like cleanup by a loose foreign key2958 cleans up (delete or nullify) the model2959Resolvers::Geo::PagesDeploymentRegistriesResolver2960 behaves like a Geo registries resolver2961 #resolve2962 when the parent object is the current node2963 when the user has permission to view Geo data2964 when admin mode is enabled2965 when the ids argument is null2966 returns registries, in order2967 when the ids argument is present2968 returns the requested registries, in order2969 when the replication_state argument is present2970 returns registries with requested replication state, in order2971 with verification enabled2972 when the verification_state argument is present2973 returns registries with requested verification state, in order2974 with verification disabled2975 when the verification_state argument is present2976 raises ArgumentError (PENDING: Skipping because verification is enabled for PagesDeployment)2977 when admin mode is disabled2978 returns nothing2979 when the user does not have permission to view Geo data2980 returns nothing2981 when the parent object is not the current node2982 when the user has permission to view Geo data2983 returns nothing, because we can't query other nodes' tracking databases2984Users::Abuse::ExcessiveProjectsDownloadBanService2985 .execute2986 when user downloads the same project multiple times within the set time period2987 counts repeated downloads of a project only once2988 returns { banned: false } when user does not exceed download limit2989 when user exceeds the download limit within the set time period2990 is expected to include {:banned => true}2991 bans the user2992 logs the event2993 sends email to admins only once2994 behaves like sends email to admins2995 sends email to admins2996 when auto_ban_user_on_excessive_projects_download feature flag is disabled2997 is expected to include {:banned => false}2998 does not ban the user2999 does not log a ban event3000 behaves like sends email to admins3001 sends email to admins3002 when user is already banned3003 is expected to include {:banned => true}3004 logs the event3005 when allowlisted user exceeds the download limit within the set time period3006 is expected to include {:banned => false}3007 does not ban the user3008 does not log a ban event3009Groups::CreateService#execute3010 audit events3011 when licensed3012 does not log audit event if operation fails3013 when operation succeeds3014 logs an audit event3015 logs the audit event info3016 when not licensed3017 does not log audit event3018 when created group is a sub-group3019 sends the audit streaming event3020 repository_size_limit assignment as Bytes3021 when param present3022 assign repository_size_limit as Bytes3023 when param not present3024 assign nil value3025 updating protected params3026 as an admin3027 updates the attributes3028 as a regular user3029 ignores the attributes3030 creating group push rule3031 when feature is available3032 when there are push rules settings3033 uses the configured push rules settings3034 when there are not push rules settings3035 is not creating the group push rule3036 when feature not is available3037 ignores the group push rule3038 when create_event is true3039 enqueues a create event worker3040 when user can not create a group3041 doesn't enqueue a create event worker3042 when create_event is NOT true3043 doesn't enqueue a create event worker3044 require_verification_for_namespace_creation experiment conversion tracking3045 tracks a "finish_create_group" event with the correct context and payload3046 when group has not been persisted3047 does not track a "finish_create_group" event3048 when created group is a sub-group3049 does not track a "finish_create_group" event3050DastSiteProfilesFinder3051 #execute3052 returns all dast_site_profiles3053 eager loads the dast_site association3054 eager loads the dast_site_validation association3055 filtering by id3056 returns a single dast_site_profile3057 filtering by name3058 returns a single dast_site_profile3059 filtering by names3060 returns a single dast_site_profile3061 when the dast_site_profile1 does not exist3062 returns an empty relation3063OmniAuth::Strategies::GroupSaml3064 callback_path option3065 dynamically detects /groups/:group_path/-/saml/callback3066 rejects default callback paths3067 POST /groups/:group_path/-/saml/callback3068 returns 404 when the group is not found3069 with valid SAMLResponse3070 sets the auth hash based on the response3071 sets omniauth setings from configured settings3072 returns 404 when SAML is disabled for the group3073 user is testing SAML response3074 stores the saml response for retrieval after redirect3075 redirects back to the settings page3076 with invalid SAMLResponse3077 redirects somewhere so failure messages can be displayed3078 Group SAML not licensed for group3079 returns 4043080 POST /users/auth/group_saml3081 redirects to the provider login page3082 returns 404 for groups without SAML configured3083 returns 404 when the group is not found3084 returns 404 when missing group_path param3085 stores request ID during request phase3086 POST /users/auth/group_saml/metadata3087 returns 404 when the group is not found3088 returns 404 to avoid disclosing group existence3089 returns metadata when a valid token is provided3090 returns 404 when an invalid token is provided3091 returns 404 when if group is not found but a token is provided3092 sets omniauth setings from default settings3093 POST /users/auth/group_saml/slo3094 returns 404 to avoid disclosing group existence3095 POST /users/auth/group_saml/spslo3096 returns 404 to avoid disclosing group existence3097Geo::LfsObjectRegistry3098 factory is valid3099 scopes3100 sync_timed_out3101 return correct records3102 finders3103 .find_registries_never_attempted_sync3104 returns unsynced items3105 returns items that never have an attempt to sync except some specific item ID3106 .find_registries_needs_sync_again3107 returns failed items3108 returns failed items except some specific item ID3109 orders records according to retry_at3110 .fail_sync_timeouts3111 marks started records as failed if they are expired3112 #failed!3113 sets last_sync_failure with message3114 truncates a long last_sync_failure3115 increments retry_count3116 sets retry_at to a time in the future3117 when an error is given3118 includes error.message in last_sync_failure3119 when missing_on_primary is not given3120 caps retry_at to default 1 hour3121 when missing_on_primary is falsey3122 caps retry_at to default 1 hour3123 when missing_on_primary is truthy3124 caps retry_at to 4 hours3125 state machine3126 when transitioning to synced3127 marks verification as pending3128 when the model_record cannot be verified3129 when the registry is already verification_disabled3130 changes verification to disabled3131 when the registry is verification_pending3132 changes verification to disabled3133 verification_state machine3134 when transitioning to verification_failed3135 changes state from synced to failed3136 .verification_pending_batch3137 returns IDs of rows which are synced and pending verification3138 excludes rows which are not synced or are not pending verification3139 marks verification as started3140 .verification_failed_batch3141 with a failed record with retry due3142 returns IDs of rows which are synced and have failed verification3143 excludes rows which are not synced or have not failed verification3144 marks verification as started3145 when verification_retry_at is in the future3146 does not return the row which failed verification3147 .needs_verification_count3148 returns the number of rows which are synced and pending verification3149 includes rows which are synced and failed verification and are due for retry3150 excludes rows which are synced and failed verification and have a future retry time3151 excludes rows which are not synced or are not (pending or failed) verification3152 #verification_succeeded!3153 clears checksum mismatch fields3154 #track_checksum_attempt!3155 yields to the checksum calculation3156 when verification was not yet started3157 starts verification3158 when the model record cannot be verified3159 when the registry is already verification_disabled3160 leaves verification as disabled3161 when the registry is verification_pending3162 changes verification to disabled3163 when the primary site is expected to checksum the model record3164 comparison with primary checksum3165 when the calculated checksum matches the primary checksum3166 transitions to verification_succeeded and updates the checksum3167 when the calculated checksum does not match the primary checksum3168 transitions to verification_failed and updates mismatch fields3169 when verification was started3170 does not update verification_started_at3171 when an error occurs while yielding3172 sets verification_failed3173LdapGroupResetService3174 #execute3175 initiated by ldap user3176 is expected to eq 503177 is expected to eq 103178 is expected to eq 503179 is expected to be nil3180 is expected to be nil3181 initiated by regular user3182 is expected to eq 103183 is expected to eq 103184 is expected to eq 503185 is expected to be nil3186 is expected to be nil3187Gitlab::SPDX::CatalogueGateway3188 #fetch3189 when feature flag is enabled3190 is expected to equal 4423191 when feature flag is disabled3192 when endpoint is healthy3193 is expected to equal 3963194 when the licenses.json endpoint is not reachable3195 is expected to be zero3196 is expected to have received add_event(:spdx_fetch_failed, {:http_status_code=>404}) 1 time3197 when an `Net::OpenTimeout` is raised while trying to connect to the endpoint3198 is expected to be zero3199 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time3200 when an `Net::ReadTimeout` is raised while trying to connect to the endpoint3201 is expected to be zero3202 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time3203 when an `Net::WriteTimeout` is raised while trying to connect to the endpoint3204 is expected to be zero3205 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time3206 when an `Gitlab::HTTP::ReadTotalTimeout` is raised while trying to connect to the endpoint3207 is expected to be zero3208 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time3209 when an `EOFError` is raised while trying to connect to the endpoint3210 is expected to be zero3211 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time3212 when an `SocketError` is raised while trying to connect to the endpoint3213 is expected to be zero3214 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time3215 when an `OpenSSL::SSL::SSLError` is raised while trying to connect to the endpoint3216 is expected to be zero3217 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time3218 when an `OpenSSL::OpenSSLError` is raised while trying to connect to the endpoint3219 is expected to be zero3220 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time3221 when an `Errno::ECONNRESET` is raised while trying to connect to the endpoint3222 is expected to be zero3223 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time3224 when an `Errno::ECONNREFUSED` is raised while trying to connect to the endpoint3225 is expected to be zero3226 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time3227 when an `Errno::EHOSTUNREACH` is raised while trying to connect to the endpoint3228 is expected to be zero3229 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time3230 when an `Errno::ENETUNREACH` is raised while trying to connect to the endpoint3231 is expected to be zero3232 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time3233 when an `Gitlab::HTTP::BlockedUrlError` is raised while trying to connect to the endpoint3234 is expected to be zero3235 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time3236 when an `Gitlab::HTTP::RedirectionTooDeep` is raised while trying to connect to the endpoint3237 is expected to be zero3238 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time3239Iterations::Cadence3240 associations3241 is expected to belong to group required: false3242 is expected to have many iterations inverse_of => iterations_cadence3243 validations3244 is expected to validate that :title cannot be empty/falsy3245 is expected to validate that :group_id cannot be empty/falsy3246 is expected not to allow :active to be ‹nil›3247 is expected not to allow :automatic to be ‹nil›3248 is expected to validate that the length of :description is at most 50003249 when iteration cadence is automatic3250 is expected to validate that :start_date cannot be empty/falsy3251 when iteration cadence is manual3252 is expected not to validate that :start_date cannot be empty/falsy3253 start date validation3254 when cadence has a current iteration3255 when a new start date overlaps with the current iteration3256 behaves like an error is raised when start date is invalid3257 raises an error3258 when cadence has a past iteration3259 does not raise an error when start date does not overlap with the past iteration3260 when the new start date overlaps with the past iteration3261 behaves like an error is raised when start date is invalid3262 raises an error3263 when a past iteration would be retroactively created3264 start_date: lazy { earliest_possible_start_date - 1.day }3265 raises an error3266 start_date: lazy { earliest_possible_start_date - 2.days }3267 raises an error3268 callbacks3269 before_validation :reset_automation_params3270 when converted to manual3271 resets automation params3272 after_commit3273 ensure_iterations_in_advance3274 does not call CreateIterationsWorker when non-automation field is updated3275 does not call CreateIterationsWorker when manual cadence is created3276 calls CreateIterationsWorker when automation fields are updated3277 calls CreateIterationsWorker when automatic cadence is created3278 calls CreateIterationsWorker when automation fields are updated3279 calls CreateIterationsWorker when automatic cadence is created3280 calls CreateIterationsWorker when automation fields are updated3281 calls CreateIterationsWorker when automatic cadence is created3282 scopes3283 next_to_auto_schedule3284 returns automatic cadences with 'last_run_date' set in the past or to the current date3285 #next_schedule_date_and_count3286 today: lazy { cadence_start_date + 6.days }, existing_iterations: [], expected_schedule_start: lazy { cadence_start_date }, expected_schedule_count: 23287 returns the next occurring cadence start day after the most recent iteration is due with correct scheduling count3288 today: lazy { cadence_start_date }, existing_iterations: [], expected_schedule_start: lazy { cadence_start_date }, expected_schedule_count: 23289 returns the next occurring cadence start day after the most recent iteration is due with correct scheduling count3290 today: lazy { cadence_start_date - 6.days }, existing_iterations: [], expected_schedule_start: lazy { cadence_start_date }, expected_schedule_count: 13291 returns the next occurring cadence start day after the most recent iteration is due with correct scheduling count3292 today: lazy { cadence_start_date + 7.days }, existing_iterations: lazy { [{ start_date: cadence_start_date, due_date: cadence_start_date + 6.days }] }, expected_schedule_start: lazy { cadence_start_date + 7.days }, expected_schedule_count: 23293 returns the next occurring cadence start day after the most recent iteration is due with correct scheduling count3294 today: Sun, 10 Apr 2022, existing_iterations: [{:start_date=>Tue, 05 Apr 2022, :due_date=>Sat, 09 Apr 2022}], expected_schedule_start: lazy { Date.new(2022, 4, 9).next_week.next_occurring(cadence_start_day) }, expected_schedule_count: 13295 returns the next occurring cadence start day after the most recent iteration is due with correct scheduling count3296 today: Sun, 10 Apr 2022, existing_iterations: lazy do3297 [3298 { start_date: Date.new(2022, 4, 1), due_date: Date.new(2022, 4, 4) },3299 { start_date: Date.new(2022, 4, 5), due_date: Date.new(2022, 4, 10) }3300 ]3301 end, expected_schedule_start: lazy { Date.new(2022, 4, 10).next_week.next_occurring(cadence_start_day) }, expected_schedule_count: 13302 returns the next occurring cadence start day after the most recent iteration is due with correct scheduling count3303 #next_open_iteration_start_date3304 returns the cadence start date when neither past nor current iteration exists3305 when start date is set to an upcoming date3306 returns the cadence start date3307 when past iteration exists3308 when past iteration is the cadence start day from the previous week3309 returns the cadence start day for the current week3310 when many iterations can fit in-between the current date and the previous iteration due date3311 returns the date for the cadence start day nearest to the current date from the last iteration's due date3312 when past iteration is yesterday3313 returns the date for the cadence start day nearest to the current date from the last iteration's due date3314 when current iteration exists3315 returns the date for the cadence start day following the current iteration's due date3316 #update_iteration_sequences3317 an iteration is created or updated3318 start_date: Wed, 17 Aug 2022 17:15:15.589812213 UTC +00:00, expected_ordered_title: lazy { %w[iteration a b] }3319 sequence numbers are correctly updated3320 start_date: Wed, 24 Aug 2022, expected_ordered_title: lazy { %w[iteration a b] }3321 sequence numbers are correctly updated3322 start_date: Wed, 07 Sep 2022 17:15:15.590097733 UTC +00:00, expected_ordered_title: lazy { %w[a iteration b] }3323 sequence numbers are correctly updated3324 start_date: Wed, 21 Sep 2022 17:15:15.590148453 UTC +00:00, expected_ordered_title: lazy { %w[a b iteration] }3325 sequence numbers are correctly updated3326Vulnerabilities::Identifier3327 associations3328 is expected to have many finding_identifiers class_name => Vulnerabilities::FindingIdentifier3329 is expected to have many findings class_name => Vulnerabilities::Finding3330 is expected to have many primary_findings class_name => Vulnerabilities::Finding3331 is expected to belong to project required: false3332 validations3333 is expected to validate that :name cannot be empty/falsy3334 is expected to validate that :project cannot be empty/falsy3335 is expected to validate that :external_type cannot be empty/falsy3336 is expected to validate that :external_id cannot be empty/falsy3337 is expected to validate that :fingerprint cannot be empty/falsy3338 .with_fingerprint3339 when identifier has the corresponding fingerprint3340 selects the identifier3341 when identifier does not have the corresponding fingerprint3342 does not select the identifier3343 .with_external_type3344 when identifier has the corresponding external_type3345 selects the identifier3346 when identifier does not have the corresponding external_type3347 does not select the identifier3348 type check methods3349 #cve?3350 behaves like type check method3351 external_type: "CVE", expected_value: true3352 is expected to equal true3353 external_type: "cve", expected_value: true3354 is expected to equal true3355 external_type: "CWE", expected_value: false3356 is expected to equal false3357 external_type: "cwe", expected_value: false3358 is expected to equal false3359 external_type: "foo", expected_value: false3360 is expected to equal false3361 #cwe?3362 behaves like type check method3363 external_type: "CWE", expected_value: true3364 is expected to equal true3365 external_type: "cwe", expected_value: true3366 is expected to equal true3367 external_type: "CVE", expected_value: false3368 is expected to equal false3369 external_type: "cve", expected_value: false3370 is expected to equal false3371 external_type: "foo", expected_value: false3372 is expected to equal false3373 #other?3374 behaves like type check method3375 external_type: "CWE", expected_value: false3376 is expected to equal false3377 external_type: "cwe", expected_value: false3378 is expected to equal false3379 external_type: "CVE", expected_value: false3380 is expected to equal false3381 external_type: "cve", expected_value: false3382 is expected to equal false3383 external_type: "foo", expected_value: true3384 is expected to equal true3385Gitlab::Ci::Minutes::BuildConsumption3386 #amount3387 duration: 120, visibility_level: 0, public_cost_factor: 1.0, private_cost_factor: 2.0, result: 4.03388 returns the expected consumption3389 logs the cost factor3390 when consumption comes from a GitLab contribution3391 returns the consumption using the contribution cost factor3392 logs that the contributor cost factor was granted3393 duration: 120, visibility_level: 10, public_cost_factor: 1.0, private_cost_factor: 2.0, result: 4.03394 returns the expected consumption3395 logs the cost factor3396 when consumption comes from a GitLab contribution3397 returns the consumption using the contribution cost factor3398 logs that the contributor cost factor was granted3399 duration: 120, visibility_level: 10, public_cost_factor: 1.0, private_cost_factor: 1.5, result: 3.03400 returns the expected consumption3401 logs the cost factor3402 when consumption comes from a GitLab contribution3403 returns the consumption using the contribution cost factor3404 logs that the contributor cost factor was granted3405 duration: 120, visibility_level: 20, public_cost_factor: 2.0, private_cost_factor: 1.0, result: 4.03406 returns the expected consumption3407 logs the cost factor3408 when consumption comes from a GitLab contribution3409 returns the consumption using the contribution cost factor3410 logs that the contributor cost factor was granted3411 duration: 120, visibility_level: 20, public_cost_factor: 1.0, private_cost_factor: 1.0, result: 2.03412 returns the expected consumption3413 logs the cost factor3414 when consumption comes from a GitLab contribution3415 returns the consumption using the contribution cost factor3416 logs that the contributor cost factor was granted3417 duration: 120, visibility_level: 20, public_cost_factor: 0.5, private_cost_factor: 1.0, result: 1.03418 returns the expected consumption3419 logs the cost factor3420 when consumption comes from a GitLab contribution3421 returns the consumption using the contribution cost factor3422 logs that the contributor cost factor was granted3423 duration: 119, visibility_level: 20, public_cost_factor: 0.5, private_cost_factor: 1.0, result: 0.993424 returns the expected consumption3425 logs the cost factor3426 when consumption comes from a GitLab contribution3427 returns the consumption using the contribution cost factor3428 logs that the contributor cost factor was granted3429UsersHelper3430 #current_user_menu_items3431 has_paid_namespace?: true, user?: true, gitlab_com?: true, user_eligible?: true3432 is expected to eq false3433 has_paid_namespace?: true, user?: true, gitlab_com?: true, user_eligible?: false3434 is expected to eq false3435 has_paid_namespace?: true, user?: true, gitlab_com?: false, user_eligible?: true3436 is expected to eq false3437 has_paid_namespace?: true, user?: true, gitlab_com?: false, user_eligible?: false3438 is expected to eq false3439 has_paid_namespace?: true, user?: false, gitlab_com?: true, user_eligible?: true3440 is expected to eq false3441 has_paid_namespace?: true, user?: false, gitlab_com?: true, user_eligible?: false3442 is expected to eq false3443 has_paid_namespace?: true, user?: false, gitlab_com?: false, user_eligible?: true3444 is expected to eq false3445 has_paid_namespace?: true, user?: false, gitlab_com?: false, user_eligible?: false3446 is expected to eq false3447 has_paid_namespace?: false, user?: true, gitlab_com?: true, user_eligible?: true3448 is expected to eq true3449 has_paid_namespace?: false, user?: true, gitlab_com?: true, user_eligible?: false3450 is expected to eq false3451 has_paid_namespace?: false, user?: true, gitlab_com?: false, user_eligible?: true3452 is expected to eq false3453 has_paid_namespace?: false, user?: true, gitlab_com?: false, user_eligible?: false3454 is expected to eq false3455 has_paid_namespace?: false, user?: false, gitlab_com?: true, user_eligible?: true3456 is expected to eq false3457 has_paid_namespace?: false, user?: false, gitlab_com?: true, user_eligible?: false3458 is expected to eq false3459 has_paid_namespace?: false, user?: false, gitlab_com?: false, user_eligible?: true3460 is expected to eq false3461 has_paid_namespace?: false, user?: false, gitlab_com?: false, user_eligible?: false3462 is expected to eq false3463 #user_badges_in_admin_section3464 when Gitlab.com? is true3465 is expected not to eq [{:text=>"Is using seat", :variant=>"light"}]3466 when user is an admin and the current_user3467 is expected to eq [{:text=>"Admin", :variant=>"success"}, {:text=>"It's you!", :variant=>"muted"}]3468 when Gitlab.com? is false3469 when user uses a license seat3470 is expected to eq [{:text=>"Is using seat", :variant=>"neutral"}]3471 when user is an admin and the current_user3472 is expected to eq [{:text=>"Admin", :variant=>"success"}, {:text=>"Is using seat", :variant=>"neutral"}, {:text=>"It's you!", :variant=>"muted"}]3473 when user does not use a license seat3474 is expected to eq []3475 #display_public_email?3476 is expected to equal true3477 when public_email is blank3478 is expected to equal false3479 when provisioned_by_group is nil3480 is expected to equal true3481 when hide_public_email_on_profile is true3482 is expected to equal false3483ProjectFeature3484 #feature_available?3485 when features are enabled only for team members3486 returns true if user is an auditor3487 project visibility changes3488 feature: "issues", worker_expected: true, associations: ["issues", "notes"]3489 re-indexes project and project associations on update3490 feature: "wiki", worker_expected: false, associations: nil3491 re-indexes project and project associations on update3492 feature: "builds", worker_expected: false, associations: nil3493 re-indexes project and project associations on update3494 feature: "merge_requests", worker_expected: true, associations: ["merge_requests", "notes"]3495 re-indexes project and project associations on update3496 feature: "repository", worker_expected: true, associations: ["notes"]3497 re-indexes project and project associations on update3498 feature: "snippets", worker_expected: true, associations: ["notes"]3499 re-indexes project and project associations on update3500 feature: "operations", worker_expected: false, associations: nil3501 re-indexes project and project associations on update3502 feature: "security_and_compliance", worker_expected: false, associations: nil3503 re-indexes project and project associations on update3504 feature: "pages", worker_expected: false, associations: nil3505 re-indexes project and project associations on update3506 behaves like access level validation3507 does not allow public access level for requirements3508Elastic::Latest::GitInstanceProxy3509 .methods_for_all_write_targets3510 contains extra method3511 #es_parent3512 contains project id3513 #elastic_search3514 provides repository_id if not provided3515 uses provided repository_id3516 #elastic_search_as_found_blob3517 provides repository_id if not provided3518 uses provided repository_id3519 #blob_aggregations3520 provides repository_id if not provided3521 uses provided repository_id3522 #delete_index_for_commits_and_blobs3523 is forwarded to all write targets3524Epic::RelatedEpicLink3525 validations3526 #validate_max_epic_relations3527 is valid3528 when existing related epics reached limit3529 is not valid3530 behaves like issuable link3531 Associations3532 is expected to belong to source class_name => Epic required: false3533 is expected to belong to target class_name => Epic required: false3534 Validation3535 is expected to validate that :source cannot be empty/falsy3536 is expected to validate that :target cannot be empty/falsy3537 is expected to validate that :source is case-sensitively unique within the scope of :target_id, producing a custom validation error on failure3538 is not valid if an opposite link already exists3539 when it relates to itself3540 when target is nil3541 does not invalidate object with self relation error3542 when source and target are present3543 invalidates object3544 scopes3545 .for_source_or_target3546 returns only links where id is either source or target id3547 .link_type3548 is expected to define :link_type as an enum backed by an integer with values ‹{relates_to: 0, blocks: 1}›3549 provides the "related" as default link_type3550 behaves like issuables that can block or be blocked3551 .issuable_type3552 is expected to eq :epic3553 .inverse_link_type3554 returns the inverse type of link3555 .blocked_issuable_ids3556 returns only ids of issues which are blocked3557 .blocking_issuables_ids_for3558 returns blocking issuables ids3559 blocking issuables count3560 .blocking_issuables_for_collection3561 returns blocking issues count grouped by issue id3562 .blocked_issuables_for_collection3563 returns blocked issues count grouped by issue id3564 .blocking_issuables_count_for3565 returns blocked issues count for single issue3566EE::Gitlab::Auth::Ldap::Sync::Groups3567 #update_permissions3568 when group_base is not present3569 does not call EE::Gitlab::Auth::Ldap::Sync::AdminUsers#execute3570 does not call EE::Gitlab::Auth::Ldap::Sync::ExternalUsers#execute3571 when group_base is present3572 and admin_group and external_groups are not present3573 calls EE::Gitlab::Auth::Ldap::Sync::Group#execute3574 does not call EE::Gitlab::Auth::Ldap::Sync::AdminUsers#execute3575 does not call EE::Gitlab::Auth::Ldap::Sync::ExternalUsers#execute3576 and admin_group is present3577 calls EE::Gitlab::Auth::Ldap::Sync::Group#execute3578 does not call EE::Gitlab::Auth::Ldap::Sync::AdminUsers#execute3579 does not call EE::Gitlab::Auth::Ldap::Sync::ExternalUsers#execute3580 and external_groups is present3581 calls EE::Gitlab::Auth::Ldap::Sync::Group#execute3582 does not call EE::Gitlab::Auth::Ldap::Sync::AdminUsers#execute3583 does not call EE::Gitlab::Auth::Ldap::Sync::ExternalUsers#execute3584Banzai::ReferenceParser::EpicParser3585 #nodes_visible_to_user3586 when the epics feature is enabled3587 returns the nodes the user can read for valid epic nodes3588 returns an empty array for nodes without required data-attributes3589 when the epics feature is disabled3590 returns an empty array3591 #referenced_by3592 when using an existing epics IDs3593 returns an Array of epics3594 returns an empty Array for empty list of nodes3595 when epic with given ID does not exist3596 returns an empty Array3597 #records_for_nodes3598 returns a Hash containing the epics for a list of nodes3599Sidebars::Projects::Menus::SecurityComplianceMenu3600 #link3601 show_discover_project_security: true, security_dashboard_feature: true, dependency_scanning_feature: true, audit_events_feature: true, expected_link: "/-/security/discover"3602 returns the expected link3603 show_discover_project_security: false, security_dashboard_feature: true, dependency_scanning_feature: true, audit_events_feature: true, expected_link: "/-/security/dashboard"3604 returns the expected link3605 show_discover_project_security: false, security_dashboard_feature: false, dependency_scanning_feature: true, audit_events_feature: true, expected_link: "/-/dependencies"3606 returns the expected link3607 show_discover_project_security: false, security_dashboard_feature: false, dependency_scanning_feature: false, audit_events_feature: true, expected_link: "/-/audit_events"3608 returns the expected link3609 show_discover_project_security: false, security_dashboard_feature: false, dependency_scanning_feature: false, audit_events_feature: false, expected_link: "/-/security/configuration"3610 returns the expected link3611 when no security menu item and show promotions3612 returns nil3613 Menu items3614 Configuration3615 #sidebar_security_configuration_paths3616 includes all the security configuration paths3617 Discover Security & Compliance3618 when show_discover_project_security is true3619 is expected not to be nil3620 when show_discover_project_security is not true3621 is expected to be nil3622 Security Dashboard3623 when user can access security dashboard3624 is expected not to be nil3625 when user cannot access security dashboard3626 is expected to be nil3627 Vulnerability Report3628 when user can access vulnerabilities report3629 is expected not to be nil3630 when user cannot access vulnerabilities report3631 is expected to be nil3632 On Demand Scans3633 when user can access vulnerabilities report3634 is expected not to be nil3635 when user cannot access vulnerabilities report3636 is expected to be nil3637 Dependency List3638 when user can access dependency list3639 is expected not to be nil3640 when user cannot access dependency list3641 is expected to be nil3642 License Compliance3643 when user can access license compliance3644 is expected not to be nil3645 when user cannot access license compliance3646 is expected to be nil3647 Policies3648 when user can access policies tab3649 is expected not to be nil3650 when user cannot access policies tab3651 is expected to be nil3652 Audit Events3653 when user can access audit events3654 is expected not to be nil3655 when feature audit events is licensed3656 is expected not to be nil3657 when feature audit events is not licensed3658 when show promotions is enabled3659 is expected not to be nil3660 when show promotions is disabled3661 is expected to be nil3662 when user cannot access audit events3663 is expected to be nil3664Groups::AutocompleteService3665 #labels_as_hash3666 some labels are already assigned3667 marks already assigned as set3668 #epics3669 returns nothing if not allowed3670 returns epics from group3671 returns only confidential epics if confidential_only is true3672 #vulnerability3673 when the feature is not available3674 when the user is not allowed3675 is expected to be empty3676 when the user is allowed3677 is expected to be empty3678 when the feature is available3679 when the user is not allowed3680 is expected to be empty3681 when the user is allowed3682 is expected to contain exactly 633683 #commands3684 when target is an epic3685 with subepics feature enabled3686 returns available commands3687 with subepics feature disabled3688 returns available commands3689VulnerabilityFeedbackModule::UpdateService#execute3690 when params are valid3691 when new comment is passed3692 adds the comments3693 second user updates the comment3694 sets second user as the comment author3695 when updated comment is passed3696 updates the comments3697 when deleting a comment3698 removes the comment data3699Mutations::DastSiteTokens::Create3700 is expected to require graphql authorizations :create_on_demand_dast_scan3701 #resolve3702 when on demand scan feature is enabled3703 when the project does not exist3704 raises an exception3705 when the user can run a dast scan3706 returns the dast_site_token id3707 returns the dast_site_token status3708 returns the dast_site_token token3709 when the associated dast_site_validation has been validated3710 returns the correct status3711Projects::Prometheus::Alerts::NotifyService3712 with valid payload3713 with environment specific clusters3714 without token3715 creates alerts and returns them in the payload3716 behaves like processes incident issues3717 is expected to be success3718 behaves like sends alert notification emails3719 is expected to receive prometheus_alerts_fired(*(any args)) 1 time3720 with token3721 behaves like alerts service responds with an error3722 is expected to eq :unauthorized3723AppSec::Dast::SiteProfiles::DestroyService3724 #execute3725 when a user does not have access to the project3726 returns an error status3727 populates message3728 when the user can run a DAST scan3729 returns a success status3730 deletes the dast_site_profile3731 returns a dast_site_profile payload3732 audits the deletion3733 when the dast_site_profile does not exist3734 returns an error status3735 populates message3736 when on demand scan licensed feature is not available3737 returns an error status3738 populates message3739 when project has security policies enabled3740 when there is no policy that is referencing the profile3741 returns a success status3742 when there is a policy that is referencing the profile3743 returns an error status3744 populates message3745Jobs/Browser-Performance-Testing.gitlab-ci.yml3746 the created pipeline3747 has no errors3748 when variable is KUBECONFIG and not CI_KUBERNETES_ACTIVE3749 is present3750 on master3751 behaves like browser_performance job on tag or branch3752 by default3753 when BROWSER_PERFORMANCE_DISABLED3754 on another branch3755 behaves like browser_performance job on tag or branch3756 by default3757 when BROWSER_PERFORMANCE_DISABLED3758 on tag3759 behaves like browser_performance job on tag or branch3760 by default3761 when BROWSER_PERFORMANCE_DISABLED3762 on merge request3763 has no jobs3764IncidentManagement::OncallSchedules::UpdateService3765 #execute3766 when the current_user is anonymous3767 behaves like error response3768 has an informative message3769 when the current_user does not have permissions to update on-call schedules3770 behaves like error response3771 has an informative message3772 when feature is not available3773 behaves like error response3774 has an informative message3775 when an on-call schedule witht the same name already exists3776 behaves like error response3777 has an informative message3778 with valid params3779 successfully creates an on-call schedule3780 schedule has a rotation3781 behaves like updates the rotation active periods3782 updates the rotation active periods with new timezone3783 from non-overnight shifts to overnight3784 behaves like updates the rotation active periods3785 updates the rotation active periods with new timezone3786 from overnight shifts to non-overnight3787 behaves like updates the rotation active periods3788 updates the rotation active periods with new timezone3789 new timezone has non-whole-hour change3790 behaves like updates the rotation active periods3791 updates the rotation active periods with new timezone3792 new timezone but same offset3793 updates the timezone3794 does not update the active period times3795 timezone is not changed3796 does not update rotations3797 error updating3798 behaves like error response3799 has an informative message3800IncidentManagement::EscalationRule3801 associations3802 is expected to belong to policy required: false3803 is expected to belong to oncall_schedule optional: true3804 is expected to belong to user optional: true3805 is expected to have one project through policy3806 validations3807 is expected to be valid3808 is expected to validate that :status cannot be empty/falsy3809 is expected to validate that :elapsed_time_seconds cannot be empty/falsy3810 is expected to validate that :elapsed_time_seconds looks like a number greater than or equal to 0 and less than or equal to 864003811 is expected to validate that :oncall_schedule_id is case-sensitively unique within the scope of :policy_id, :status, and :elapsed_time_seconds, producing a custom validation error on failure3812 user-based rules3813 is expected to be valid3814 is expected to validate that :user_id is case-sensitively unique within the scope of :policy_id, :status, and :elapsed_time_seconds, producing a custom validation error on failure3815 mutually exclusive attributes3816 when user and schedule are both provided3817 is expected to eq ["must have either an on-call schedule or user"]3818 neither user nor schedule are provided3819 is expected to eq ["must have either an on-call schedule or user"]3820 scopes3821 .not_removed3822 is expected to contain exactly #<IncidentManagement::EscalationRule id: 19, policy_id: 17, oncall_schedule_id: 21, status: "acknowledged", elapsed_time_seconds: 300, is_removed: false, user_id: nil> and #<IncidentManagement::EscalationRule id: 21, policy_id: 18, oncall_schedule_id: 23, status: "acknowledged", elapsed_time_seconds: 300, is_removed: false, user_id: nil>3823 .removed3824 is expected to contain exactly #<IncidentManagement::EscalationRule id: 20, policy_id: 17, oncall_schedule_id: 22, status: "acknowledged", elapsed_time_seconds: 300, is_removed: true, user_id: nil>3825 .for_project3826 is expected to contain exactly #<IncidentManagement::EscalationRule id: 21, policy_id: 18, oncall_schedule_id: 23, status: "acknowledged", elapsed_time_seconds: 300, is_removed: false, user_id: nil>3827Resolvers::UserDiscussionsCountResolver3828 #resolve3829 is expected to have nullable GraphQL type Int3830 when counting discussions from an epic3831 when counting discussions from a public epic3832 returns the number of non-system discussions for the epic3833 when a user has permission to view discussions3834 returns the number of discussions for the issue3835 when a user does not have permission to view discussions3836 generates an error3837Analytics::CycleAnalytics::ProjectStage3838 when creating label based event3839 when the label id is not passed3840 returns validation error when `start_event_label_id` is missing3841 returns validation error when `end_event_label_id` is missing3842 when group label is defined on the root group3843 succeeds3844 when subgroup is given3845 succeeds3846 when label is defined for a different group3847 returns validation for `start_event_label_id`3848 returns validation for `end_event_label_id`3849 when `ProjectLabel is given3850 raises error when `ProjectLabel` is given for `start_event_label`3851 raises error when `ProjectLabel` is given for `end_event_label`3852 project without group3853 returns validation error when end event is label based3854 returns validation error when start event is label based3855Geo::MetricsUpdateService3856 #execute3857 when current node is nil3858 skips posting the status3859 when node is the primary3860 updates the cache3861 updates metrics for all nodes3862 updates the GeoNodeStatus entry3863 updates metrics when secondary nodes are cached3864 when node is a secondary3865 updates the cache3866 adds gauges for various metrics3867 increments a counter when metrics fail to retrieve3868 does not create GeoNodeStatus entries3869EpicIssues::ListService3870 #execute3871 when epics feature is disabled3872 returns an empty array3873 when epics feature is enabled3874 does not have N+1 queries3875 owner can see all issues and destroy their associations3876 returns related issues JSON3877 user can see only some issues3878 returns related issues JSON3879SystemNotes::VulnerabilitiesService3880 #change_vulnerability_state3881 state changed to dismissed3882 creates the note text correctly3883 behaves like a system note3884 has the correct attributes3885 state changed to resolved3886 creates the note text correctly3887 behaves like a system note3888 has the correct attributes3889 state changed to confirmed3890 creates the note text correctly3891 behaves like a system note3892 has the correct attributes3893DAST-API.gitlab-ci.yml3894 is expected not to be nil3895 the template file3896 uses the production repository3897 doesn't use the staging repository3898 the created pipeline3899 when no stages3900 when project has no stages3901 includes no jobs3902 when stages includes dast3903 when project has no license3904 includes job to display error3905 when project has Ultimate license3906 by default3907 includes a job3908 when DAST_API_DISABLED=13909 includes no jobs3910 when CI_GITLAB_FIPS_MODE=false3911 sets DAST_API_IMAGE_SUFFIX to ""3912 when CI_GITLAB_FIPS_MODE=true3913 sets DAST_API_IMAGE_SUFFIX to "-fips"3914shared/billings/_eoa_bronze_plan_banner.html.haml3915 with group namespace3916 behaves like current time3917 displays the banner3918 behaves like past eoa date3919 does not display the banner3920 behaves like with show_billing_eoa_banner turned off3921 does not display the banner3922 behaves like with a different plan than Bronze3923 does not display the banner3924 behaves like when user dismissed the banner3925 does not display the banner3926 with personal namespace3927 behaves like current time3928 displays the banner3929 behaves like past eoa date3930 does not display the banner3931 behaves like with show_billing_eoa_banner turned off3932 does not display the banner3933 behaves like with a different plan than Bronze3934 does not display the banner3935 behaves like when user dismissed the banner3936 does not display the banner3937MergeRequests::ExecuteApprovalHooksService3938 #execute3939 with remaining approvals3940 fires an approval webhook3941 does not send an email3942 with required approvals3943 fires an approved webhook3944 sends an email3945DAST-API.latest.gitlab-ci.yml3946 is expected not to be nil3947 the template file3948 uses the production repository3949 doesn't use the staging repository3950 the created pipeline3951 when no stages3952 when project has no stages3953 includes no jobs3954 when stages includes dast3955 when project has no license3956 includes job to display error3957 when project has Ultimate license3958 by default3959 includes a job3960 when DAST_API_DISABLED=13961 includes no jobs3962 when CI_GITLAB_FIPS_MODE=false3963 sets DAST_API_IMAGE_SUFFIX to ""3964 when CI_GITLAB_FIPS_MODE=true3965 sets DAST_API_IMAGE_SUFFIX to "-fips"3966Gitlab::PaginationDelegate3967 no data3968 shows the correct total count3969 shows the correct total pages3970 shows the correct next page3971 shows the correct previous page3972 shows the correct current page3973 shows the correct limit value3974 shows the correct first page3975 shows the correct last page3976 shows the correct offset3977 with data3978 shows the correct total count3979 shows the correct total pages3980 shows the correct next page3981 shows the correct previous page3982 shows the correct current page3983 shows the correct limit value3984 shows the correct first page3985 shows the correct last page3986 shows the correct offset3987 last page3988 shows the correct total count3989 shows the correct total pages3990 shows the correct next page3991 shows the correct previous page3992 shows the correct current page3993 shows the correct limit value3994 shows the correct first page3995 shows the correct last page3996 shows the correct offset3997 limits and defaults3998 has a maximum limit per page3999 has a default per page4000 has a maximum page4001AuditEvents::ReleaseCreatedAuditEventService4002 #security_event4003 with no milestones4004 logs the event to file4005 with one milestone4006 logs the event to file4007 with multiple milestones4008 logs the event to file4009EE::MergeRequestMetricsService4010 #merge4011 saves metrics with productivity_data4012 storing line counts4013 updates `added_lines`4014 updates `removed_lines`4015Gitlab::Analytics::CycleAnalytics::StageEvents::MergeRequestLastEdited4016 behaves like value stream analytics event4017 is expected to be a kind of String4018 is expected to be a kind of Symbol4019 is expected to include ApplicationRecord(abstract)4020 is expected to respond to #timestamp_projection4021 is expected to respond to #html_description4022 is expected to be a kind of Array4023 #apply_query_customization4024 expects an ActiveRecord::Relation object as argument and returns a modified version of it4025 #hash_code4026 returns a hash that uniquely identifies an event4027 does not differ when the same object is built with the same params4028 behaves like LEFT JOIN-able value stream analytics event4029 can use the event as LEFT JOIN4030 when looking at the record with data4031 contains the timestamp expression4032 when looking at the record without data4033 returns nil for the timestamp expression4034Geo::FilesExpireService4035 #execute4036 when in Geo secondary node4037 remove file from disk4038 removes upload_registry associates with upload4039 when not in Geo secondary node4040 no-op execute action4041MergeRequests::BaseService4042 fires the correct number of compliance hooks4043 #filter_params4044 filter users and groups4045 calls ParamsFilteringService4046Iterations::RollOverIssuesWorker4047 is labeled as idempotent4048 performs multiple times sequentially without raising an exception4049 #perform4050 when iteration cadence is not automatic4051 exits early4052 when roll-over option on iteration cadence is not enabled4053 exits early4054 when roll-over option on iteration cadence is enabled4055 avoids N+1 database queries4056 when service fails to create upcoming iteration4057 logs error4058 when cadence has upcoming iteration4059 filters out any iterations that are not closed4060 when cadence does not have upcoming iteration4061 creates a new iteration to roll-over issues4062 when service fails to create upcoming iteration4063 logs error and exits early4064 with batches4065 run in batches4066Gitlab::Ci::Reports::Security::Locations::ContainerScanning4067 behaves like vulnerability location4068 #initialize4069 when all params are given4070 initializes an instance4071 param: :image4072 when param image is missing4073 raises an error4074 param: :operating_system4075 when param operating_system is missing4076 raises an error4077 #fingerprint4078 generates expected fingerprint4079 #fingerprint_path4080 generates expected fingerprint4081 #==4082 returns true when fingerprints are equal4083 returns false when fingerprints are different4084 fingerprint4085 image: "alpine:3.7.3", default_branch_image: nil, valid_default_branch_image: false, expected_fingerprint_input: "alpine:3.7.3:glibc"4086 is expected to eq "ae8d425953666250ab218c455f5d54f6f19f489b"4087 image: "alpine:3.7", default_branch_image: nil, valid_default_branch_image: false, expected_fingerprint_input: "alpine:3.7:glibc"4088 is expected to eq "84a9e34a3dd7427dcade5631531799b319fd8056"4089 image: "alpine:8101518288111119448185914762536722131810", default_branch_image: nil, valid_default_branch_image: false, expected_fingerprint_input: "alpine:glibc"4090 is expected to eq "7c97a55a23ea386c3008bf083ab3ce2aaa2696b1"4091 image: "alpine:1.0.0-beta", default_branch_image: nil, valid_default_branch_image: false, expected_fingerprint_input: "alpine:1.0.0-beta:glibc"4092 is expected to eq "33616b1c5f27c5f74f23d91da6801d18cf9368d9"4093 image: "gdk.local:5000/group/project/branch:307e0a35643f63652a713d0820db7c388012f724", default_branch_image: nil, valid_default_branch_image: false, expected_fingerprint_input: "gdk.local:5000/group/project/branch:glibc"4094 is expected to eq "411b840c0fffb802072190333cfe95bade463d41"4095 image: "registry.gitlab.com/group/project/tmp:af864bd61230d3d694eb01d6205b268b4ad63ac0", default_branch_image: nil, valid_default_branch_image: false, expected_fingerprint_input: "registry.gitlab.com/group/project/tmp:glibc"4096 is expected to eq "0f9d320fb6879532194b33ae160e527a408721ee"4097 image: "registry.gitlab.com/group/project/feature:5b1a4a921d7a50c3757aae3f7df2221878775af4", default_branch_image: "registry.gitlab.com/group/project/master:ec301f43f14a2b477806875e49cfc4d3fa0d22c3", valid_default_branch_image: true, expected_fingerprint_input: "registry.gitlab.com/group/project/master:glibc"4098 is expected to eq "7637ed90aa408c1645f7b18a8b34645ce85eb0f5"4099 image: "registry.gitlab.com/group/project/feature:d6704dc0b8e33fb550a86f7847d6a3036d4f8bd5", default_branch_image: "registry.gitlab.com/group/project:latest", valid_default_branch_image: true, expected_fingerprint_input: "registry.gitlab.com/group/project:glibc"4100 is expected to eq "4360c022f3d51b4ac733b7c9fd39d872561678ae"4101 image: "registry.gitlab.com/group/project@sha256:a418bbb80b9411f9a08025baa4681e192aaafd16505039bdcb113ccdb90a88fd", default_branch_image: "registry.gitlab.com/group/project:latest", valid_default_branch_image: true, expected_fingerprint_input: "registry.gitlab.com/group/project:glibc"4102 is expected to eq "4360c022f3d51b4ac733b7c9fd39d872561678ae"4103 image: "registry.gitlab.com/group/project/feature:latest", default_branch_image: "registry.gitlab.com/group/project:1.0.0", valid_default_branch_image: true, expected_fingerprint_input: "registry.gitlab.com/group/project:1.0.0:glibc"4104 is expected to eq "abf8a4808377f971528976d5f52f072feb3e3cfd"4105 image: "registry.gitlab.com/group/project/feature:latest", default_branch_image: "registry.gitlab.com/group/project:1.0.0", valid_default_branch_image: false, expected_fingerprint_input: "registry.gitlab.com/group/project/feature:glibc"4106 is expected to eq "8c7bd47107301997d5af637db2cf0d2bed0ea2c6"4107Analytics::CycleAnalytics::GroupValueStream4108 associations4109 is expected to belong to group required: false4110 is expected to have many stages4111 validations4112 is expected to validate that :group cannot be empty/falsy4113 is expected to validate that :name cannot be empty/falsy4114 is expected to validate that the length of :name is at most 1004115 validates uniqueness of name4116 ordering of stages4117 stages attribute4118 sorts stages by relative position4119 #custom?4120 when value stream is not persisted4121 when the name of the value stream is default4122 is expected not to be custom4123 when the name of the value stream is not default4124 is expected to be custom4125 when value stream is persisted4126 is expected to be custom4127EE::SecurityOrchestrationHelper4128 #can_update_security_orchestration_policy_project?4129 returns false when user cannot update security orchestration policy project4130 returns true when user can update security orchestration policy project4131 #assigned_policy_project4132 for project4133 when a project does have a security policy project4134 include information about policy management project4135 when a project does not have a security policy project4136 is expected to be nil4137 for namespace4138 when a namespace does have a security policy project4139 include information about policy management project4140 when a namespace does not have a security policy project4141 is expected to be nil4142 #orchestration_policy_data4143 for project4144 when a new policy is being created4145 is expected to match {:assigned_policy_project=>"null", :disable_scan_policy_update=>"false", :create_agent_help_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd24bb56358 @klass=String>, :namespace_id=>1080, :namespace_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd24bb56498 @klass=String>, :policy_editor_empty_state_svg_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd24bb56808 @klass=String>, :policies_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd24bb568a8 @klass=String>, :policy=>nil, :policy_type=>nil, :scan_policy_documentation_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd24bb56f38 @klass=String>, :scan_result_approvers=>nil}4146 when an existing policy is being edited4147 is expected to match {:assigned_policy_project=>"null", :disable_scan_policy_update=>"false", :create_agent_help_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd254f92620 @klass=String>, :namespace_id=>1080, :namespace_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd254f925d0 @klass=String>, :policy_editor_empty_state_svg_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd254f92558 @klass=String>, :policies_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd254f92508 @klass=String>, :policy=>"{\"name\":\"Run DAST in every pipeline\",\"description\":\"This policy enforces to run DAST for every pipeline within the project\",\"enabled\":true,\"actions\":[{\"scan\":\"dast\",\"site_profile\":\"Site Profile\",\"scanner_profile\":\"Scanner Profile\"}],\"rules\":[{\"type\":\"pipeline\",\"branches\":[\"master\"]}]}", :policy_type=>"scan_execution_policy", :scan_policy_documentation_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd254f33e68 @klass=String>, :scan_result_approvers=>"[\"approver1\",\"approver2\"]"}4148 when scan policy update is disabled4149 is expected to match {:assigned_policy_project=>"null", :disable_scan_policy_update=>"true", :create_agent_help_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd260c4d850 @klass=String>, :namespace_id=>1080, :namespace_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd260c4d7b0 @klass=String>, :policy_editor_empty_state_svg_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd260c4d760 @klass=String>, :policies_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd260c4d6e8 @klass=String>, :policy=>nil, :policy_type=>"scan_execution_policy", :scan_policy_documentation_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd260c4d648 @klass=String>, :scan_result_approvers=>"[\"approver1\",\"approver2\"]"}4150 when a project does have a security policy project4151 include information about policy management project4152 for namespace4153 when a new policy is being created4154 is expected to match {:assigned_policy_project=>"null", :disable_scan_policy_update=>"false", :policy=>nil, :policy_editor_empty_state_svg_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd218bf5b20 @klass=String>, :policy_type=>nil, :policies_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd218bf5af8 @klass=String>, :scan_policy_documentation_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd218bf5ad0 @klass=String>, :namespace_path=>"group414", :namespace_id=>3542}4155 when an existing policy is being edited4156 is expected to match {:assigned_policy_project=>"null", :disable_scan_policy_update=>"false", :policy=>"{\"name\":\"Run DAST in every pipeline\",\"description\":\"This policy enforces to run DAST for every pipeline within the project\",\"enabled\":true,\"actions\":[{\"scan\":\"dast\",\"site_profile\":\"Site Profile\",\"scanner_profile\":\"Scanner Profile\"}],\"rules\":[{\"type\":\"pipeline\",\"branches\":[\"master\"]}]}", :policy_editor_empty_state_svg_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd217a10fb8 @klass=String>, :policy_type=>"scan_execution_policy", :policies_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd217a10f90 @klass=String>, :scan_policy_documentation_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd217a10f68 @klass=String>, :namespace_path=>"group414", :namespace_id=>3542}4157 when scan policy update is disabled4158 is expected to match {:assigned_policy_project=>"null", :disable_scan_policy_update=>"true", :policy=>nil, :policy_editor_empty_state_svg_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd21746c3f0 @klass=String>, :policy_type=>"scan_execution_policy", :policies_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd21746c3c8 @klass=String>, :scan_policy_documentation_path=>#<RSpec::Mocks::ArgumentMatchers::KindOf:0x00007fd21746c3a0 @klass=String>, :namespace_path=>"group414", :namespace_id=>3542}4159 when a namespace does have a security policy project4160 include information about policy management project4161Gitlab::SearchResults4162 #projects4163 avoid N+1 queries4164Licenses::DestroyService4165 raises an error if license is nil4166 raises an error if the user is not an admin4167 when admin mode is enabled4168 behaves like license destroy4169 destroys a license4170 behaves like clear future subscriptions application setting4171 clears the future_subscriptions application setting4172 with cloud license4173 behaves like license destroy4174 destroys a license4175 behaves like clear future subscriptions application setting4176 clears the future_subscriptions application setting4177 with an active license that is not the current one4178 does not clear the future_subscriptions application setting4179 behaves like license destroy4180 destroys a license4181 when admin mode is disabled4182 raises not allowed error4183ContainerRepository4184 .with_target_import_tier4185 all_plans disabled4186 limit_gitlab_org enabled4187 is expected to contain exactly #<ContainerRepository id: 2, project_id: 1092, name: "test_image_2", created_at: "2022-08-24 17:43:32...efault", migration_aborted_in_state: nil, migration_plan: nil, last_cleanup_deleted_tags_count: nil>4188 with sub group named gitlab-org4189 is expected to contain exactly #<ContainerRepository id: 2, project_id: 1092, name: "test_image_2", created_at: "2022-08-24 17:43:32...efault", migration_aborted_in_state: nil, migration_plan: nil, last_cleanup_deleted_tags_count: nil>4190 with no gitlab root namespace4191 is expected to be empty4192 limit_gitlab_org disabled4193 is expected to contain exactly #<ContainerRepository id: 1, project_id: 1091, name: "test_image_1", created_at: "2022-08-24 17:43:32...ult", migration_aborted_in_state: nil, migration_plan: "free", last_cleanup_deleted_tags_count: nil> and #<ContainerRepository id: 2, project_id: 1092, name: "test_image_2", created_at: "2022-08-24 17:43:32...efault", migration_aborted_in_state: nil, migration_plan: nil, last_cleanup_deleted_tags_count: nil>4194 all_plans and limit_gitlab_org enabled4195 is expected to contain exactly #<ContainerRepository id: 1, project_id: 1091, name: "test_image_1", created_at: "2022-08-24 17:43:32...ult", migration_aborted_in_state: nil, migration_plan: "free", last_cleanup_deleted_tags_count: nil>, #<ContainerRepository id: 3, project_id: 1093, name: "test_image_3", created_at: "2022-08-24 17:43:33..., migration_aborted_in_state: nil, migration_plan: "ultimate", last_cleanup_deleted_tags_count: nil>, and #<ContainerRepository id: 2, project_id: 1092, name: "test_image_2", created_at: "2022-08-24 17:43:32...efault", migration_aborted_in_state: nil, migration_plan: nil, last_cleanup_deleted_tags_count: nil>4196 .ready_for_import4197 is expected to contain exactly #<ContainerRepository id: 5, project_id: 1095, name: "test_image_5", created_at: "2022-08-22 17:43:34...ult", migration_aborted_in_state: nil, migration_plan: "free", last_cleanup_deleted_tags_count: nil> and #<ContainerRepository id: 6, project_id: 1096, name: "test_image_6", created_at: "2021-08-24 17:43:34...ult", migration_aborted_in_state: nil, migration_plan: "free", last_cleanup_deleted_tags_count: nil>4198Boards::EpicBoards::CreateService4199 create epic board4200 behaves like create a board4201 with valid params4202 creates a new board4203 returns a successful response4204 creates the default lists4205 with invalid params4206 does not create a new parent board4207 returns an error response4208 does not create board's default lists4209 without params4210 creates a new parent board4211 returns a successful response4212 creates board's default lists4213 when logged in4214 tracks epic board creation4215 when not logged in4216 tracks epic board creation4217EE::API::Entities::UserWithAdmin4218 using_license_seat4219 when user is using seat4220 returns true4221 when user is not using seat4222 returns false4223 is_auditor4224 when auditor_user is available4225 returns false when user is not an auditor4226 when user is an auditor4227 returns true4228 when auditor_user is not available4229 does not have the is_auditor param4230 provisioned_by_group_id4231 group_saml is available4232 returns false when user is not provisioned by group4233 when user is provisioned by group4234 returns group_id4235 when group_saml is not available4236 does not have the provisioned_by_group_id param4237Ci::ExternalPullRequests::ProcessGithubEventService4238 #execute4239 when project is not a mirror4240 does nothing4241 when project is a mirror4242 when the pull request record does not exist4243 when the pull request webhook occurs after mirror update4244 enqueues Ci::ExternalPullRequests::CreatePipelineWorker4245 when the pull request webhook occurs before mirror update4246 only saves pull request info4247 when the pull request record already exists4248 when pull request webhook action is "synchronize"4249 behaves like updates pull request4250 updates the pull request without creating any pipeline4251 when pull request webhook action is "closed"4252 behaves like updates pull request4253 updates the pull request without creating any pipeline4254 when pull request webhook action is "reopened"4255 behaves like updates pull request4256 updates the pull request without creating any pipeline4257 when pull request webhook action is unsupported4258 returns nil4259 when pull request webhook any missing params4260 returns a pull request with errors4261 without license4262 does nothing4263Types::IncidentManagement::OncallRotationDateInputType4264 accepts date and time4265 behaves like invalid date format4266 like YYYY-MM-DD4267 raises an argument error4268 behaves like invalid date format4269 like 20000-12-034270 raises an argument error4271 behaves like invalid date format4272 like 192312024273 raises an argument error4274 behaves like invalid date format4275 like 1923-2-024276 raises an argument error4277 behaves like invalid date format4278 like 1923-02-24279 raises an argument error4280 behaves like invalid time format4281 like 99:994282 raises an argument error4283 behaves like invalid time format4284 like 23:604285 raises an argument error4286 behaves like invalid time format4287 like 24:594288 raises an argument error4289 behaves like invalid time format4290 like 123:004291 raises an argument error4292 behaves like invalid time format4293 like 00:994294 raises an argument error4295 behaves like invalid time format4296 like 00:0004297 raises an argument error4298 behaves like invalid time format4299 like 07254300 raises an argument error4301 behaves like invalid parsed datetime4302 like 1923-39-024303 raises an argument error4304 behaves like invalid parsed datetime4305 like 2021-02-304306 raises an argument error4307PersonalAccessTokens::Instance::PolicyWorker4308 #perform4309 when a token is valid4310 doesn't revoked valid tokens4311 when limit is nil4312 doesn't revoked valid tokens4313 doesn't call the revoke invalid service4314 invalid tokens4315 PATs of users that do not belong to a managed group4316 when a token doesn't have an expiration time4317 enforces the policy on tokens4318 when a token expires after the limit4319 enforces the policy on tokens4320 PATs of users that belongs to a managed group4321 when the group has set a PAT expiry policy4322 PAT invalid as per the instance PAT expiration policy4323 does not revoke the PAT4324 PAT invalid as per the group PAT expiration policy4325 does not revoke the PAT4326 when the group has not set a PAT expiry policy4327 PAT invalid as per the instance PAT expiration policy4328 revokes the PAT4329 PAT valid as per the instance PAT expiration policy4330 does not revoke the PAT4331ContainerRegistry::Client4332 #push_blob4333 PUT /v2/:name/blobs/uploads/url?digest=mytag4334 raises error if response status is not 2004335 #push_manifest4336 PUT v2/:name/manifests/:tag4337 raises error if response status is not 2004338 #blob_exists?4339 returns true4340 returns false4341 #repository_raw_manifest4342 GET "/v2/:name/manifests/:reference4343 #pull_blob4344 downloads file successfully when4345 raises error when it can not download blob4346 raises error when request is not authenticated4347 when primary_api_url is specified with trailing slash4348 builds correct URL4349 direct link to download, no redirect4350 downloads blob successfully4351shared/credentials_inventory/personal_access_tokens/_personal_access_token.html.haml4352 shows the users name4353 shows the created on date4354 shows the expiry date4355 revoked date4356 when revoked is set4357 shows the revoked on date4358 does not show the revoke button4359 when revoked is not set4360 does not show the revoked on date4361 shows the revoke button4362 scopes4363 when set4364 shows the scopes4365 when not set4366 shows "No Scopes"4367Clusters::EnvironmentEntity4368 inherits from API::Entities::EnvironmentBasic4369 #as_json4370 with maintainer access4371 deploy board available4372 matches expected schema4373 exposes rollout_status4374 deploy board not available4375 matches expected schema4376 does not expose rollout_status4377Security::TrainingProviders::BaseUrlFinder4378 #execute4379 raises an error if allowed_identifier_list is not implemented4380 raises an error if full_url is not implemented4381 when response_url is nil4382 returns a nil url with status pending4383 when a language is used on the finder4384 returns a nil url with status pending4385 when external_type is not present in allowed list4386 returns nil4387 when response_url is not nil4388 returns a url with status completed4389 when a language is used on the finder4390 returns a url with status completed4391 when response_url is not nil, but the url is4392 returns nil4393 when a language is used on the finder4394 returns nil4395 .from_cache4396 returns instance of finder object with expected attributes4397 when a language is used on the finder4398 returns instance of finder object with expected attributes4399 private4400 #id4401 returns a cache key for ReactiveCaching specific to the request trainign urls4402 when a language is used on the finder4403 returns a cache key for ReactiveCaching specific to the request trainign urls and language4404Vulnerabilities::DestroyDismissalFeedbackService4405 #execute4406 without necessary permissions4407 raises `Gitlab::Access::AccessDeniedError` error4408 with necessary permissions4409 destroys the feedback records associated with the findings of the given vulnerability4410IncidentManagement::OncallRotations::DestroyService4411 #execute4412 successfully deletes and returns the rotation4413 when the current_user is anonymous4414 behaves like error response4415 has an informative message4416 when the current_user does not have permissions to remove on-call rotations4417 behaves like error response4418 has an informative message4419 when feature is not available4420 behaves like error response4421 has an informative message4422 when an error occurs during removal4423 behaves like error response4424 has an informative message4425Security::StoreScansService4426 .execute4427 delegates the call to an instance of `Security::StoreScansService`4428 #execute4429 when the pipeline already has a purged security scan4430 does not store the security scans4431 when the pipeline is for the default branch4432 does not schedule the `StoreSecurityReportsWorker`4433 when the pipeline does not have a purged security scan4434 executes Security::StoreGroupedScansService for each group of artifacts if the feature is available4435 when the pipeline is for the default branch4436 schedules the `StoreSecurityReportsWorker`4437 when the pipeline is not for the default branch4438 does not schedule the `StoreSecurityReportsWorker`4439IncidentManagement::EscalationRulesFinder4440 #execute4441 when project is given4442 returns the rules in the project for different types of project inputs4443 when removed rules should be included4444 is expected to contain exactly #<IncidentManagement::EscalationRule id: 24, policy_id: 19, oncall_schedule_id: 31, status: "acknowledged", elapsed_time_seconds: 300, is_removed: true, user_id: nil>, #<IncidentManagement::EscalationRule id: 25, policy_id: 19, oncall_schedule_id: nil, status: "acknowledged", elapsed_time_seconds: 300, is_removed: false, user_id: 2066>, #<IncidentManagement::EscalationRule id: 26, policy_id: 19, oncall_schedule_id: nil, status: "acknowledged", elapsed_time_seconds: 300, is_removed: false, user_id: 2067>, and #<IncidentManagement::EscalationRule id: 22, policy_id: 19, oncall_schedule_id: 29, status: "acknowledged", elapsed_time_seconds: 300, is_removed: false, user_id: nil>4445 when user is given4446 returns the user rules for different types of user inputs4447 when group member is given4448 is expected to contain exactly #<IncidentManagement::EscalationRule id: 25, policy_id: 19, oncall_schedule_id: nil, status: "acknowledged", elapsed_time_seconds: 300, is_removed: false, user_id: 2066> and #<IncidentManagement::EscalationRule id: 27, policy_id: 20, oncall_schedule_id: nil, status: "acknowledged", elapsed_time_seconds: 300, is_removed: false, user_id: 2066>4449 when member does not belong to a user4450 is expected to raise ArgumentError with "Member does not correspond to a user"4451 when project member is given4452 is expected to contain exactly #<IncidentManagement::EscalationRule id: 26, policy_id: 19, oncall_schedule_id: nil, status: "acknowledged", elapsed_time_seconds: 300, is_removed: false, user_id: 2067>4453 when user is also given4454 is expected to raise ArgumentError with "Member param cannot be used with project or user params"4455 when project is also given4456 is expected to raise ArgumentError with "Member param cannot be used with project or user params"4457Milestones::DestroyService4458 #execute4459 with an existing merge request4460 manually queues MergeRequests::SyncCodeOwnerApprovalRulesWorker jobs4461Gitlab::Ci::Reports::DependencyList::Report4462 #dependencies4463 without dependency path information4464 returns array of hashes4465 does not contain dependency path4466 with dependency path information4467 generates the dependency path4468 when dependency path info is not full4469 returns array of hashes4470 with multiple dependency files matching same package manager4471 generates the dependency path4472 when method is called more than once4473 generates path only once4474 with not vulnerable dependencies4475 augment dependency path only for vulnerable dependencies4476 #add_dependency4477 stores given dependency params in the map4478 does not duplicate same dependency4479 does not duplicate same vulnerability for dependency4480 stores a dependency4481 #apply_license4482 with matching dependency4483 with empty license list4484 applies license4485 with full license list4486 does not apply the license a second time4487 without matching dependency4488 does not apply the license at all4489 #dependencies_with_licenses4490 with found dependencies4491 with existing license4492 returns only dependency with license4493 without existing license4494 returns empty array4495 without found dependencies4496 returns empty array4497GitlabSubscriptions::PlanUpgradeService4498 #execute4499 when the response is a failure4500 returns nil values4501 when the response is successful4502 eligible: true, assisted_id: "111", free_id: "222", plan_id: "111"4503 returns the correct values4504 eligible: true, assisted_id: nil, free_id: "222", plan_id: "222"4505 returns the correct values4506 eligible: true, assisted_id: "111", free_id: nil, plan_id: "111"4507 returns the correct values4508 eligible: true, assisted_id: nil, free_id: nil, plan_id: nil4509 returns the correct values4510 eligible: false, assisted_id: "111", free_id: "222", plan_id: "111"4511 returns the correct values4512 eligible: false, assisted_id: "111", free_id: nil, plan_id: "111"4513 returns the correct values4514 eligible: false, assisted_id: nil, free_id: "222", plan_id: "222"4515 returns the correct values4516 eligible: nil, assisted_id: "111", free_id: "222", plan_id: nil4517 returns the correct values4518Gitlab::Auth::Ldap::Adapter4519 includes the EE module4520 #groups4521 searches with the proper options4522 returns a group object if search returns a result4523 #filter_search4524 searches with the proper options4525 errors out with an invalid filter4526 #user_by_certificate_assertion4527 searches with the proper options4528 return value4529 returns a person object4530 returns correct attributes4531Resolvers::ExternalIssueResolver4532 when Jira issues are requested4533 when Jira API responds with nil4534 sends request to Jira to fetch issues4535 returns nil4536 when Jira API responds with found issues4537 sends request to Jira to fetch issues4538 returns serialized Jira issues4539 when Jira API responds with an integration error4540 generates an error4541 when Jira API responds with an request error4542 generates an error4543NoteEntity4544 when description_diffs license is available4545 includes description versions attributes4546 when description_diffs license is not available4547 does not include description versions attributes4548Gitlab::Ci::Parsers::Security::Validators::DefaultBranchImageValidator4549 #valid?4550 when image name is blank4551 is expected to equal false4552 when image name is present4553 when there is no vulnerability with given location for project4554 is expected to equal false4555 queries database only once per image name4556 when there is at least one vulnerability with given location for project4557 is expected to equal true4558 queries database only once per image name4559Security::SecurityOrchestrationPolicies::ProcessPolicyService4560 #execute4561 when policy is invalid4562 returns error4563 when policy name is not same as in policy4564 returns error4565 append policy4566 when policy is present in repository4567 appends the new policy4568 when policy with same name already exists in repository4569 returns error4570 when policy is not present in repository4571 appends the new policy4572 replace policy4573 when policy is not present in repository4574 returns error4575 when policy name is empty4576 does not modify the policy name4577 when policy with same name already exists in repository4578 replaces the policy4579 when policy name is not same as in policy4580 updates the policy name4581 when name of the policy to be updated already exists4582 returns error4583 remove policy4584 when policy is not present in repository4585 returns error4586 when policy with same name already exists in repository4587 removes the policy4588Clusters::Agent4589 is expected to includes the EE::Clusters::Agent module4590 is expected to have many vulnerability_reads4591 .for_projects4592 return agents for selected projects4593shared/issuable/_approver_suggestion.html.haml4594 when the approval feature is enabled4595 renders the MR approvals promo4596 when the approval feature is not enabled4597 when the check_namespace_plan setting is on4598 when the user is an owner of the root group4599 when the user is in the promote_mr_approvals_in_free experiment4600 renders the MR approvals promo4601 when the user is not in the promote_mr_approvals_in_free experiment4602 renders nothing4603 when the user is not an owner of the root group4604 renders nothing4605 when the check_namespace_plan setting is off4606 renders nothing4607Geo::ProjectRegistryStatusFinder4608 #all_projects4609 returns all registries4610 #synced_projects4611 returns only synced registry4612 #pending_projects4613 returns only pending registry4614 #failed_projects4615 returns only failed registry4616Analytics::DevopsAdoption::Snapshots::CreateService4617 persists the snapshot4618 when params are invalid4619 does not persist the snapshot4620Sidebars::Projects::Menus::MonitorMenu4621 Menu items4622 On-call Schedules4623 is expected not to be nil4624 when the user does not have access4625 is expected to be nil4626 Escalation Policies4627 is expected not to be nil4628 when the user does not have access4629 is expected to be nil4630Types::UserMergeRequestInteractionType4631 has the expected fields4632 #applicable_approval_rules4633 when there are no approval rules4634 is expected to be empty4635 when there are approval rules4636 when the feature is not available4637 is expected to be empty4638 when the feature is available4639 is expected to be empty4640 when the user is associated with a rule4641 is expected to contain exactly (have attributes {:approval_rule => #<ApprovalMergeRequestRule id: 27, created_at: "2022-08-24 17:44:...abilities_allowed: 0, scanners: [], severity_levels: [], vulnerability_states: ["newly_detected"]>})4642MergeRequest::Metrics4643 #review_start_at4644 is the earliest date from first_comment_at, first_approved_at or first_reassigned_at4645 when all review start candidates are nil4646 is nil4647 when one of review start candidates is nil4648 is earliest date from non-nil values4649 #review_end_at4650 when MR is merged4651 is merged_at4652 when MR is not merged4653 is Time.current4654 #review_time4655 is nil if there is no review_start_at4656 is review_end_at - review_start_at4657Approvals::ScanFindingWrappedRuleSet4658 #wrapped_rules4659 returns only one rule4660 with various orchestration_policy_idx4661 returns one rule for each orchestration_policy_idx4662 with unapproved rules4663 returns sorted based on approval4664Namespaces::FreeUserCap::UsageQuotaTrialAlertComponent4665 when on trial4666 renders the banner4667 when group is public4668 does not have banner content4669 when the free_user_cap feature flag is not enabled4670 does not have banner content4671 when not on trial4672 does not have banner content4673projects/security/dast_site_profiles/new4674 renders Vue app root4675 passes project's full path4676 passes DAST profiles library URL4677Banzai::Filter::JiraPrivateImageLinkFilter4678 with a Jira private image4679 replaces the Jira private images with the link to the image4680 includes the Atlassian referrer on gitlab.com4681 with other image4682 keeps the original image4683DesignManagement::SaveDesignsService4684 #execute4685 when service is successful4686 calls repository#log_geo_updated_event4687 when service errors4688 does not call repository#log_geo_updated_event4689Admin::EmailsHelper4690 #send_emails_from_admin_area_feature_available?4691 when `send_emails_from_admin_area` feature is enabled4692 is expected to be truthy4693 when `send_emails_from_admin_area` feature is disabled4694 is expected to be falsey4695 when usage ping is enabled4696 when feature is activated4697 returns true4698 when feature is deactivated4699 returns false4700 #admin_emails_are_currently_rate_limited?4701 when the lease key exists4702 returns true4703 when the lease key does not exist4704 returns false4705 #admin_emails_rate_limit_ttl4706 when the lease key exists4707 returns the time remaining till the key expires4708 when the lease key does not exist4709 returns nil4710 #admin_emails_rate_limited_alert4711 when the lease key exists4712 returns the alert4713 when the lease key does not exist4714 returns empty string4715Gitlab::Ci::Config::Entry::Vault::Secret4716 validation4717 when entry config value is correct4718 when config is a hash4719 #value4720 returns Vault secret configuration4721 #valid?4722 is valid4723 when config is a string with engine path4724 #value4725 returns Vault secret configuration4726 #valid?4727 is valid4728 when config is a string without engine path4729 #value4730 returns Vault secret configuration4731 #valid?4732 is valid4733 when entry value is not correct4734 #errors4735 when there is an unknown key present4736 reports error4737 when path is not present4738 reports error4739 when field is not present4740 reports error4741 when engine is not a hash4742 reports error4743Epics::RelatedEpicLinks::UsageDataHelper4744 #track_related_epics_event_for4745 link_type: "relates_to", event_type: :added, tracking_method: :track_linked_epic_with_type_relates_to_added4746 calls correct tracking method on EpicActivityUniqueCounter4747 link_type: "relates_to", event_type: :removed, tracking_method: :track_linked_epic_with_type_relates_to_removed4748 calls correct tracking method on EpicActivityUniqueCounter4749 link_type: "blocks", event_type: :added, tracking_method: :track_linked_epic_with_type_blocks_added4750 calls correct tracking method on EpicActivityUniqueCounter4751 link_type: "blocks", event_type: :removed, tracking_method: :track_linked_epic_with_type_blocks_removed4752 calls correct tracking method on EpicActivityUniqueCounter4753 link_type: "is_blocked_by", event_type: :added, tracking_method: :track_linked_epic_with_type_is_blocked_by_added4754 calls correct tracking method on EpicActivityUniqueCounter4755 link_type: "is_blocked_by", event_type: :removed, tracking_method: :track_linked_epic_with_type_is_blocked_by_removed4756 calls correct tracking method on EpicActivityUniqueCounter4757Geo::NodeStatusRequestService4758 behaves like a geo RequestService4759 #execute4760 parses a 401 response4761 alerts on bad SSL certficate4762 handles connection refused4763 returns meaningful error message when primary uses incorrect db key4764 gracefully handles case when primary is deleted4765 #execute4766 does not include id in the payload4767 sends geo_node_id in the request4768 sends all of the data in the status JSONB field in the request4769Banzai::Filter::SanitizationFilter4770 custom allowlist4771 sanitizes `class` attribute from a4772 allows `with-attachment-icon` class in `a` elements4773Analytics::CycleAnalytics::Stages::DeleteService4774 behaves like permission check for Value Stream Analytics Stage services4775 when user has no access4776 is expected to be error4777 is expected to eq :forbidden4778 when license is missing4779 is expected to be error4780 is expected to eq :forbidden4781 when persisted stage is given4782 is expected to be success4783 deletes the stage4784 disallows deletion when default stage is given4785 is expected not to be success4786 is expected to eq :forbidden4787Resolvers::BoardListsResolver4788 #resolve4789 when project boards4790 behaves like group and project board lists resolver4791 returns a list of board lists4792 when group boards4793 behaves like group and project board lists resolver4794 returns a list of board lists4795Types::IncidentManagement::OncallScheduleType4796 is expected to eq "IncidentManagementOncallSchedule"4797 is expected to require graphql authorizations :read_incident_management_oncall_schedule4798 exposes the expected fields4799Gitlab::Auth::Smartcard::SessionEnforcer4800 #update_session4801 stores the time of last sign-in in session4802 #access_restricted?4803 with a smartcard session4804 is expected to be falsey4805 without any session4806 is expected to be truthy4807 with the setting off4808 is expected to be falsey4809 with smartcard auth disabled4810 is expected to be falsey4811 without a license4812 is expected to be falsey4813Users::Abuse::NamespaceBans::CreateService4814 when passing a root namespace4815 is expected to match {:status=>:success}4816 when passing a nested namespace4817 is expected to match {:status=>:error, :message=>"Namespace must be a root namespace"}4818 when passing an already banned user4819 is expected to match {:status=>:error, :message=>"User already banned from namespace"}4820Types::ScanType4821 is expected to have graphql fields :name, :errors, :warnings, and :status4822 is expected to require graphql authorizations :read_scan4823 field values4824 name4825 is expected to eq "foo"4826 errors4827 is expected to contain exactly "[foo] bar"4828 warnings4829 is expected to contain exactly "[foo] bar"4830 status4831 is expected to eq "created"4832GroupSaml::SamlGroupLinks::CreateService4833 #execute4834 when authorized user4835 when licensed features are available4836 with valid params4837 create a new saml_group_link entry against the group4838 when invalid params4839 throws bad request error4840 when user is not allowed to create saml_group_links4841 throws unauthorized error4842Mutations::IncidentManagement::OncallSchedule::Create4843 is expected to require graphql authorizations :admin_incident_management_oncall_schedule4844 #resolve4845 user has access to project4846 when OncallSchedules::CreateService responds with success4847 returns the on-call schedule with no errors4848 when OncallSchedules::CreateService responds with an error4849 returns errors4850 when resource is not accessible to the user4851 raises an error4852Projects::Licenses::CreatePolicyService4853 #execute4854 when creating a policy for a software license by the software license database id4855 creates a new policy4856 when creating a policy for a software license by the software license SPDX identifier4857 creates a new policy4858 when the software license is not specified4859 returns an error4860 when the classification is invalid4861 returns an error4862Gitlab::Geo::BaseRequest4863 #authorization4864 token is formatted properly4865 defaults to 1-minute expiration time4866PersonalAccessTokens::CreateService4867 #execute4868 when non-admin user4869 when user creates their own token4870 creates AuditEvent with success message4871 when user attempts to create a token for a different user4872 creates AuditEvent with failure message4873 when admin4874 with admin mode enabled4875 with admin mode disabled4876 creates audit logs with failure message4877AdjournedGroupDeletionWorker4878 #perform4879 only schedules to delete groups marked for deletion on or before the specified `deletion_adjourned_period`4880 does not schedule to delete a group not marked for deletion4881 does not schedule to delete a group that is marked for deletion after the specified `deletion_adjourned_period`4882 schedules groups 20 seconds apart4883Auditable4884 #push_audit_event4885 when audit event queue is active4886 add message to audit event queue4887 when audit event queue is not active4888 does not add message to audit event queue4889 #audit_details4890 raises error to prompt for implementation4891GroupHookPolicy4892 when the user is not an owner4893 cannot read and destroy web-hooks4894 when the user is an owner4895 can read and destroy web-hooks4896Geo::Scheduler::SchedulerWorker4897 includes ::Gitlab::Geo::LogHelpers4898 needs many other specs (PENDING: Not yet implemented)4899 #take_batch4900 without batch_size4901 returns a batch of jobs4902 with batch_size4903 returns a batch of jobs4904Vulnerabilities::UserNotesCountService4905 behaves like a counter caching service4906 #count4907 caches the count4908 #refresh_cache4909 refreshes the cache4910 #delete_cache4911 removes the cache4912 #uncached_count4913 does not cache the count4914ElasticIndexBulkCronWorker4915 .perform4916 adds the elastic_bulk_count to the done log4917 indexing is not paused4918 executes the service under an exclusive lease4919 indexing is paused4920 does nothing if indexing is paused4921 behaves like worker with data consistency4922 .get_data_consistency_feature_flag_enabled?4923 returns true4924 .get_data_consistency4925 returns correct data consistency4926EE::Gitlab::Scim::FilterParser4927 #operator4928 is extracted from the filter4929 #valid?4930 succeeds when the operator is supported4931 fails with unsupported operators4932 fails when the attribute path is unsupported4933 #params4934 returns a mapping to filter on4935 returns an empty hash when invalid4936Evidences::BuildArtifactEntity4937 when job has artifacts paths4938 exposes the artifacts url4939 when job does not have artifacts paths4940 does not expose the artifacts url4941Projects::DisableDeployKeyService4942 records an audit event4943 behaves like sends correct event type in audit event stream4944 sends correct event type in audit event stream4945Security::SecurityOrchestrationPolicies::CiConfigurationService4946 #execute4947 when action is valid4948 when scan type is secret_detection4949 returns prepared CI configuration with Secret Detection scans4950 behaves like with template name for scan type4951 fetches template content using ::TemplateFinder4952 when scan type is container_scanning4953 returns prepared CI configuration for Container Scanning4954 behaves like with template name for scan type4955 fetches template content using ::TemplateFinder4956 when scan type is sast4957 returns prepared CI configuration for SAST4958 when variables are empty4959 returns prepared CI configuration for SAST4960 when action is invalid4961 returns prepared CI configuration with error script4962EE::Gitlab::GonHelper4963 #add_gon_variables4964 includes ee exclusive settings4965 when GitLab.com4966 includes CustomersDot variables4967 #push_licensed_feature4968 no obj given4969 behaves like sets the licensed features flag4970 pushes the licensed feature flag to the frotnend4971 obj given4972 behaves like sets the licensed features flag4973 pushes the licensed feature flag to the frotnend4974Geo::RepositoriesChangedEventStore4975 #create!4976 behaves like a Geo event store4977 when running on a secondary node4978 does not create an event4979 when running on a primary node4980 does not create an event if there are no secondary nodes4981 creates an event4982 when file subject is not on local store4983 creates an event (PENDING: No file subject defined, skipping)4984AlertManagement::Alerts::UpdateService4985 #execute4986 when a status is included4987 when moving from a closed status to an open status4988 creates an escalation4989 moving from an open status to closed status4990 deletes the target's escalations4991 moving from a status of the same group4992 does not create or delete escalations4993IncidentManagement::IncidentSlaExceededCheckWorker4994 #perform4995 calls the apply incident sla label service where the label is not applied already4996cadences routing4997 routes to show cadences list4998 routes to new cadence4999 routes to edit cadence5000 routes to list iterations within cadence5001 routes to show iteration within cadence5002 routes to edit iteration within cadence5003 routes to new iteration within cadence5004Gitlab::Analytics::CycleAnalytics::Summary::LeadTime5005 #links5006 returns docs link and group dashboard link5007 for project stage5008 returns project dashboard link5009Types::MergeRequestType5010 is expected to have graphql fields :approvals_required, :merge_trains_count, and :approval_state5011 is expected to have graphql field :approved and {:calls_gitaly?=>true, :complexity=>2}5012 is expected to have graphql field :approvals_left and {:calls_gitaly?=>true, :complexity=>2}5013 is expected to have graphql field :has_security_reports and {:calls_gitaly?=>true}5014 is expected to have graphql field :security_reports_up_to_date_on_target_branch and {:calls_gitaly?=>true}5015Arkose::Settings5016 .arkose_public_api_key5017 when set in application settings5018 is expected to eq "setting_public_key"5019 when NOT set in application settings5020 is expected to eq "env_var_public_key"5021 .arkose_private_api_key5022 when set in application settings5023 is expected to eq "setting_value"5024 when NOT set in application settings5025 is expected to eq "env_var_value"5026 .arkose_labs_domain5027 is expected to eq "setting_value-api.arkoselabs.com"5028Types::VulnerabilityDetails::DiffType5029 is expected to have graphql fields :name, :description, :fieldName, :before, and :after5030projects/security/discover/show5031 renders vue app root with correct link5032 candidate for pql_three_cta_test5033 renders vue app root with candidate url5034 candidate for showcase_free_security_features5035 renders showcase and not security discover element5036Analytics::DevopsAdoption::SnapshotsFinder5037 #execute5038 with timespan provided5039 returns snapshots in given timespan5040 without timespan provided5041 returns all snapshots ordered by end_time5042Types::WorkItems::WidgetInterface5043 .resolve_type5044 raises an error for an unknown type5045 widget_class: WorkItems::Widgets::VerificationStatus, widget_type_name: Types::WorkItems::Widgets::VerificationStatusType5046 knows the correct type for objects5047 widget_class: WorkItems::Widgets::Weight, widget_type_name: Types::WorkItems::Widgets::WeightType5048 knows the correct type for objects5049Types::Dast::ProfileBranchType5050 is expected to eq "DastProfileBranch"5051 is expected to require graphql authorizations :read_on_demand_dast_scan5052 is expected to have graphql field :name and {:calls_gitaly?=>true}5053 is expected to have graphql field :exists and {:calls_gitaly?=>true}5054EE::EmailsHelper5055 #action_title5056 path: "somedomain.com/groups/agroup/-/epics/231", result: "View Epic"5057 returns the expected title5058 path: "somedomain.com/aproject/issues/231", result: "View Issue"5059 returns the expected title5060 path: "somedomain.com/aproject/-/merge_requests/231", result: "View Merge request"5061 returns the expected title5062 path: "somedomain.com/aproject/-/commit/al3f231", result: "View Commit"5063 returns the expected title5064API::Entities::Deployments::Approval5065 exposes correct attributes5066AddNewDataToIssuesDocuments5067 behaves like a deprecated Advanced Search migration5068 #migrate5069 logs a message and halts the migration5070 #completed?5071 returns false5072 #obsolete?5073 returns true5074AddNamespaceAncestryToIssuesMapping5075 behaves like a deprecated Advanced Search migration5076 #migrate5077 logs a message and halts the migration5078 #completed?5079 returns false5080 #obsolete?5081 returns true5082Geo::DesignRepositorySyncWorker5083 #perform5084 runs DesignRepositorySyncService5085 logs error when repository does not exist5086Keys::CreateService5087 creates5088Analytics::CycleAnalytics::StageEventHash5089 associations5090 is expected to have many cycle_analytics_group_stages5091 .cleanup_if_unused5092 removes the record if there is no project or group stages with given stage events hash5093 does not remove the record if at least 1 group stage for the given stage events hash exists5094Types::Dast::ProfileScheduleInputType5095 is expected to eq "DastProfileScheduleInput"5096 has the correct arguments5097Types::Projects::ServiceTypeEnum5098 exposes all the EE project services5099 coerces values correctly5100Gitlab::Console5101 .welcome!5102 when running in the Rails console5103 prints a welcome message5104Types::Geo::JobArtifactRegistryType5105 has the expected fields (other than those included in RegistryType)5106 behaves like a Geo registry type5107 is expected to require graphql authorizations :read_geo_registry5108 has the expected fields5109Geo::RepositoriesChangedEvent5110 relationships5111 is expected to belong to geo_node required: false5112 validations5113 is expected to validate that :geo_node cannot be empty/falsy5114EE::Gitlab::ApplicationRateLimiter5115 .rate_limits5116 when application-level rate limits are configured5117 includes values for unique_project_downloads_for_application5118 when namespace-level rate limits are configured5119 includes fixed default values for unique_project_downloads_for_namespace5120Types::IncidentManagement::IssuableResourceLinkTypeEnum5121 is expected to eq "IssuableResourceLinkType"5122 exposes all the existing issuable resource link types values5123Types::Dast::ProfileCadenceUnitEnum5124 exposes all alert field names5125Types::ApprovalRuleType5126 is expected to have graphql fields :id, :name, :type, :approvals_required, :approved, :overridden, :section, :contains_hidden_groups, :source_rule, :eligible_approvers, :users, :approved_by, :groups, and :section5127 is expected to require graphql authorizations :read_approval_rule5128ProtectedBranch::RequiredCodeOwnersSection5129 associations5130 is expected to belong to protected_branch required: false5131Types::VulnerabilityDetails::FileLocationType5132 is expected to have graphql fields :name, :description, :fieldName, :fileName, :lineStart, and :lineEnd5133EpicsHelper5134 #epic_new_app_data5135 returns the correct data for a new epic5136Types::VulnerabilityDetails::ModuleLocationType5137 is expected to have graphql fields :name, :description, :fieldName, :moduleName, and :offset5138Types::AppSec::Fuzzing::API::ScanProfileType5139 is expected to have graphql fields :name, :description, and :yaml5140groups/compliance_frameworks/new.html.haml5141 shows the compliance frameworks form5142Todos::AllowedTargetFilterService5143 #execute5144 is expected to contain exactly #<Todo id: 54, user_id: 2160, project_id: 1164, target_id: 187, target_type: "Epic", author_id: 2162,...24 17:45:32.267787383 +0000", note_id: nil, commit_id: nil, group_id: 3830, resolved_by_action: nil>5145Knapsack report was generated. Preview:5146{5147 "ee/spec/lib/gitlab/elastic/project_search_results_spec.rb": 324.775665741,5148 "ee/spec/services/quick_actions/interpret_service_spec.rb": 178.79225050900004,5149 "ee/spec/services/vulnerabilities/revert_to_detected_service_spec.rb": 139.8552269400002,5150 "ee/spec/services/ee/issues/update_service_spec.rb": 87.6965099529998,5151 "ee/spec/config/metrics/every_metric_definition_spec.rb": 76.26996128999963,5152 "ee/spec/policies/merge_request_policy_spec.rb": 79.17993499600016,5153 "ee/spec/models/ee/ci/job_artifact_spec.rb": 68.86362311499988,5154 "ee/spec/lib/gitlab/import_export/attributes_permitter_spec.rb": 13.715303711999695,5155 "ee/spec/tasks/gitlab/seed/group_seed_rake_spec.rb": 53.089924013999735,5156 "ee/spec/finders/geo/merge_request_diff_registry_finder_spec.rb": 47.54359493700031,5157 "ee/spec/lib/ee/gitlab/ci/templates/templates_spec.rb": 15.90791097500005,5158 "ee/spec/models/concerns/elastic/issue_spec.rb": 44.75257191699984,5159 "ee/spec/services/security/ingestion/tasks/ingest_vulnerabilities_spec.rb": 35.01511092700002,5160 "ee/spec/lib/gitlab/ci/minutes/cost_factor_spec.rb": 25.240677293000317,5161 "ee/spec/models/approval_wrapped_rule_spec.rb": 34.41560216400012,5162 "ee/spec/services/boards/update_service_spec.rb": 22.658062335000068,5163 "ee/spec/models/note_spec.rb": 29.279876134999995,5164 "ee/spec/models/dast_site_profile_spec.rb": 17.871629341000244,5165 "ee/spec/services/groups/memberships/export_service_spec.rb": 19.684404976000224,5166 "ee/spec/finders/geo/upload_registry_finder_spec.rb": 22.367761082000015,5167 "ee/spec/workers/geo/registry_sync_worker_spec.rb": 19.046346924999852,5168 "ee/spec/models/resource_iteration_event_spec.rb": 19.843946612999844,5169 "ee/spec/services/security/ingestion/tasks/update_vulnerability_uuids_spec.rb": 18.82909386900019,5170 "ee/spec/services/epics/related_epic_links/create_service_spec.rb": 14.507221449999633,5171 "ee/spec/services/ee/ci/job_artifacts/destroy_all_expired_service_spec.rb": 14.844475234000129,5172 "ee/spec/models/requirements_management/test_report_spec.rb": 12.950493776999792,5173 "ee/spec/graphql/resolvers/geo/pages_deployment_registries_resolver_spec.rb": 15.951356991000466,5174 "ee/spec/services/users/abuse/excessive_projects_download_ban_service_spec.rb": 13.359195944999556,5175 "ee/spec/services/groups/create_service_spec.rb": 9.777868504000253,5176 "ee/spec/finders/dast_site_profiles_finder_spec.rb": 10.345263064000392,5177 "ee/spec/lib/omni_auth/strategies/group_saml_spec.rb": 9.11047667799994,5178 "ee/spec/models/geo/lfs_object_registry_spec.rb": 5.451420346999839,5179 "ee/spec/services/ldap_group_reset_service_spec.rb": 12.775636247000875,5180 "ee/spec/lib/gitlab/spdx/catalogue_gateway_spec.rb": 2.919726811000146,5181 "ee/spec/models/ee/iterations/cadence_spec.rb": 4.501688381999884,5182 "ee/spec/models/vulnerabilities/identifier_spec.rb": 5.739349982999556,5183 "ee/spec/lib/gitlab/ci/minutes/build_consumption_spec.rb": 6.123301804000221,5184 "ee/spec/helpers/users_helper_spec.rb": 6.212787698000284,5185 "ee/spec/models/project_feature_spec.rb": 6.480008958000326,5186 "ee/spec/lib/elastic/latest/git_instance_proxy_spec.rb": 7.867271224000433,5187 "ee/spec/models/epic/related_epic_link_spec.rb": 5.728820534000079,5188 "ee/spec/lib/ee/gitlab/auth/ldap/sync/groups_spec.rb": 6.086092317000293,5189 "ee/spec/lib/banzai/reference_parser/epic_parser_spec.rb": 6.158151431999613,5190 "ee/spec/lib/ee/sidebars/projects/menus/security_compliance_menu_spec.rb": 2.917228403000081,5191 "ee/spec/services/ee/groups/autocomplete_service_spec.rb": 7.546752119000303,5192 "ee/spec/services/ee/vulnerability_feedback_module/update_service_spec.rb": 6.3926253839999845,5193 "ee/spec/graphql/mutations/dast_site_tokens/create_spec.rb": 5.858870584000215,5194 "ee/spec/services/projects/prometheus/alerts/notify_service_spec.rb": 7.7299741350007025,5195 "ee/spec/services/app_sec/dast/site_profiles/destroy_service_spec.rb": 4.244484974000443,5196 "ee/spec/lib/gitlab/ci/templates/Jobs/browser_performance_testing_gitlab_ci_yaml_spec.rb": 5.381383389000803,5197 "ee/spec/services/incident_management/oncall_schedules/update_service_spec.rb": 4.04948658900048,5198 "ee/spec/models/incident_management/escalation_rule_spec.rb": 3.5429325360000803,5199 "ee/spec/graphql/resolvers/user_discussions_count_resolver_spec.rb": 4.614900577000299,5200 "ee/spec/models/analytics/cycle_analytics/project_stage_spec.rb": 3.1828965129998323,5201 "ee/spec/services/geo/metrics_update_service_spec.rb": 5.402153338000062,5202 "ee/spec/services/epic_issues/list_service_spec.rb": 5.055135364000307,5203 "ee/spec/services/system_notes/vulnerabilities_service_spec.rb": 2.3102379279998786,5204 "ee/spec/lib/gitlab/ci/templates/dast_api_gitlab_ci_yaml_spec.rb": 4.044633620999775,5205 "ee/spec/views/shared/billings/_eoa_bronze_plan_banner.html.haml_spec.rb": 2.953474348000782,5206 "ee/spec/services/ee/merge_requests/execute_approval_hooks_service_spec.rb": 6.510871960000259,5207 "ee/spec/lib/gitlab/ci/templates/dast_api_latest_gitlab_ci_yaml_spec.rb": 4.006019874000231,5208 "ee/spec/lib/gitlab/pagination_delegate_spec.rb": 1.5375016159996449,5209 "ee/spec/services/audit_events/release_created_audit_event_service_spec.rb": 3.528454313000111,5210 "ee/spec/services/ee/merge_request_metrics_service_spec.rb": 4.272190227000465,5211 "ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_last_edited_spec.rb": 3.546286273000078,5212 "ee/spec/services/geo/files_expire_service_spec.rb": 3.9758748560007007,5213 "ee/spec/services/ee/merge_requests/base_service_spec.rb": 2.912656581000192,5214 "ee/spec/workers/iterations/roll_over_issues_worker_spec.rb": 2.1886878650002473,5215 "ee/spec/lib/gitlab/ci/reports/security/locations/container_scanning_spec.rb": 1.5599160649999249,5216 "ee/spec/models/analytics/cycle_analytics/group_value_stream_spec.rb": 1.9957594469997275,5217 "ee/spec/helpers/ee/security_orchestration_helper_spec.rb": 3.59315111900014,5218 "ee/spec/lib/ee/gitlab/search_results_spec.rb": 2.941449959000238,5219 "ee/spec/services/licenses/destroy_service_spec.rb": 2.181428345999848,5220 "ee/spec/models/container_repository_spec.rb": 4.092481829000462,5221 "ee/spec/services/boards/epic_boards/create_service_spec.rb": 3.3389364949998708,5222 "ee/spec/lib/ee/api/entities/user_with_admin_spec.rb": 1.8988388529996882,5223 "ee/spec/services/ci/external_pull_requests/process_github_event_service_spec.rb": 2.109840969999823,5224 "ee/spec/graphql/types/incident_management/oncall_rotation_date_input_type_spec.rb": 1.4370029120000254,5225 "ee/spec/workers/personal_access_tokens/instance/policy_worker_spec.rb": 3.740663950000453,5226 "ee/spec/lib/container_registry/client_spec.rb": 0.7866368420000072,5227 "ee/spec/views/shared/credentials_inventory/personal_access_tokens/_personal_access_token.html.haml_spec.rb": 1.8077557290007462,5228 "ee/spec/serializers/clusters/environment_entity_spec.rb": 3.222949381000035,5229 "ee/spec/finders/security/training_providers/base_url_finder_spec.rb": 1.315296128999762,5230 "ee/spec/services/vulnerabilities/destroy_dismissal_feedback_service_spec.rb": 2.9554042280005888,5231 "ee/spec/services/incident_management/oncall_rotations/destroy_service_spec.rb": 2.2230229730002975,5232 "ee/spec/services/security/store_scans_service_spec.rb": 1.0635643440000422,5233 "ee/spec/finders/incident_management/escalation_rules_finder_spec.rb": 2.231902283000636,5234 "ee/spec/services/milestones/destroy_service_spec.rb": 2.4402662600004987,5235 "ee/spec/lib/gitlab/ci/reports/dependency_list/report_spec.rb": 1.5665767240006971,5236 "ee/spec/services/gitlab_subscriptions/plan_upgrade_service_spec.rb": 0.9940090689997305,5237 "ee/spec/lib/gitlab/auth/ldap/adapter_spec.rb": 0.7513152139999875,5238 "ee/spec/graphql/resolvers/external_issue_resolver_spec.rb": 2.233495361999303,5239 "ee/spec/serializers/ee/note_entity_spec.rb": 3.214090562999445,5240 "ee/spec/lib/gitlab/ci/parsers/security/validators/default_branch_image_validator_spec.rb": 1.7840840899998511,5241 "ee/spec/services/security/security_orchestration_policies/process_policy_service_spec.rb": 1.8948111740000968,5242 "ee/spec/models/ee/clusters/agent_spec.rb": 2.2878347389996634,5243 "ee/spec/views/shared/issuable/_approver_suggestion.html.haml_spec.rb": 8.961149779000152,5244 "ee/spec/finders/geo/project_registry_status_finder_spec.rb": 3.3292606659997546,5245 "ee/spec/services/analytics/devops_adoption/snapshots/create_service_spec.rb": 0.8114288599999782,5246 "ee/spec/lib/ee/sidebars/projects/menus/monitor_menu_spec.rb": 0.7881084910004574,5247 "ee/spec/graphql/ee/types/user_merge_request_interaction_type_spec.rb": 2.2539477319996877,5248 "ee/spec/models/ee/merge_request/metrics_spec.rb": 0.8999833840007341,5249 "ee/spec/models/approvals/scan_finding_wrapped_rule_set_spec.rb": 2.2621832110007745,5250 "ee/spec/components/namespaces/free_user_cap/usage_quota_trial_alert_component_spec.rb": 2.4270067409997864,5251 "ee/spec/views/projects/security/dast_site_profiles/new.html.haml_spec.rb": 1.7378174539999236,5252 "ee/spec/lib/banzai/filter/jira_private_image_link_filter_spec.rb": 1.2191111160000219,5253 "ee/spec/services/ee/design_management/save_designs_service_spec.rb": 3.4557343570004377,5254 "ee/spec/helpers/admin/emails_helper_spec.rb": 0.6469844399998692,5255 "ee/spec/lib/gitlab/ci/config/entry/vault/secret_spec.rb": 0.7801930129999164,5256 "ee/spec/services/concerns/epics/related_epic_links/usage_data_helper_spec.rb": 0.7128936350000004,5257 "ee/spec/services/geo/node_status_request_service_spec.rb": 1.1661504639996565,5258 "ee/spec/lib/ee/banzai/filter/sanitization_filter_spec.rb": 0.23889137900005153,5259 "ee/spec/services/analytics/cycle_analytics/stages/delete_service_spec.rb": 2.025490152999737,5260 "ee/spec/graphql/ee/resolvers/board_lists_resolver_spec.rb": 1.2947046689996569,5261 "ee/spec/graphql/types/incident_management/oncall_schedule_type_spec.rb": 0.6383700799997314,5262 "ee/spec/lib/gitlab/auth/smartcard/session_enforcer_spec.rb": 1.4219854060002035,5263 "ee/spec/services/users/abuse/namespace_bans/create_service_spec.rb": 1.0486407910002526,5264 "ee/spec/graphql/types/scan_type_spec.rb": 1.4335420859997612,5265 "ee/spec/services/group_saml/saml_group_links/create_service_spec.rb": 1.1233882159995119,5266 "ee/spec/graphql/mutations/incident_management/oncall_schedule/create_spec.rb": 0.9723585500005356,5267 "ee/spec/services/projects/licenses/create_policy_service_spec.rb": 1.2653072479997718,5268 "ee/spec/lib/gitlab/geo/base_request_spec.rb": 0.5170284430005267,5269 "ee/spec/services/personal_access_tokens/create_service_audit_log_spec.rb": 1.0323617089998152,5270 "ee/spec/workers/adjourned_group_deletion_worker_spec.rb": 0.8540813580002578,5271 "ee/spec/models/concerns/auditable_spec.rb": 0.26053854299971135,5272 "ee/spec/policies/group_hook_policy_spec.rb": 1.7929841029999807,5273 "ee/spec/workers/geo/scheduler/scheduler_worker_spec.rb": 0.47480718399947364,5274 "ee/spec/services/vulnerabilities/user_notes_count_service_spec.rb": 0.9169513419992654,5275 "ee/spec/workers/elastic_index_bulk_cron_worker_spec.rb": 0.2807652790006614,5276 "ee/spec/lib/ee/gitlab/scim/filter_parser_spec.rb": 0.9499305070003174,5277 "ee/spec/serializers/evidences/build_artifact_entity_spec.rb": 0.5641137539996635,5278 "ee/spec/services/projects/disable_deploy_key_service_spec.rb": 1.730185459000495,5279 "ee/spec/services/security/security_orchestration_policies/ci_configuration_service_spec.rb": 0.8804770529995949,5280 "ee/spec/lib/ee/gitlab/gon_helper_spec.rb": 0.8250883769997017,5281 "ee/spec/services/geo/repositories_changed_event_store_spec.rb": 1.0175282929994864,5282 "ee/spec/services/ee/alert_management/alerts/update_service_spec.rb": 1.3649408619994574,5283 "ee/spec/workers/incident_management/incident_sla_exceeded_check_worker_spec.rb": 1.0874667260004571,5284 "ee/spec/routing/groups/cadences_routing_spec.rb": 0.49147988599997916,5285 "ee/spec/lib/gitlab/analytics/cycle_analytics/summary/lead_time_spec.rb": 0.29123793200051296,5286 "ee/spec/graphql/ee/types/merge_request_type_spec.rb": 0.35981670599994686,5287 "ee/spec/lib/arkose/settings_spec.rb": 0.38421956499951193,5288 "ee/spec/graphql/types/vulnerability_details/diff_type_spec.rb": 0.2016444020000563,5289 "ee/spec/views/projects/security/discover/show.html.haml_spec.rb": 0.8968962159997318,5290 "ee/spec/finders/analytics/devops_adoption/snapshots_finder_spec.rb": 0.6200311110005714,5291 "ee/spec/graphql/types/work_items/widget_interface_spec.rb": 0.5120921409998118,5292 "ee/spec/graphql/types/dast/profile_branch_type_spec.rb": 0.5721741999996084,5293 "ee/spec/helpers/ee/emails_helper_spec.rb": 0.2550957820003532,5294 "ee/spec/lib/api/entities/deployments/approval_spec.rb": 0.5428847989996939,5295 "ee/spec/elastic/migrate/20201116142400_add_new_data_to_issues_documents_spec.rb": 0.35834666899972945,5296 "ee/spec/elastic/migrate/20210813134600_add_namespace_ancestry_to_issues_mapping_spec.rb": 0.20519659599995066,5297 "ee/spec/workers/geo/design_repository_sync_worker_spec.rb": 0.7438570829999662,5298 "ee/spec/services/keys/create_service_spec.rb": 0.5446815870000137,5299 "ee/spec/models/ee/analytics/cycle_analytics/stage_event_hash_spec.rb": 0.4411185300004945,5300 "ee/spec/graphql/types/dast/profile_schedule_input_type_spec.rb": 0.10494898399974772,5301 "ee/spec/graphql/types/projects/services_enum_spec.rb": 0.26258074900033535,5302 "ee/spec/lib/gitlab/console_spec.rb": 0.3017730940000547,5303 "ee/spec/graphql/types/geo/job_artifact_registry_type_spec.rb": 0.36888253099914436,5304 "ee/spec/models/geo/repositories_changed_event_spec.rb": 0.6740987499997573,5305 "ee/spec/lib/ee/gitlab/application_rate_limiter_spec.rb": 0.21366180199947848,5306 "ee/spec/graphql/types/incident_management/issuable_resource_link_type_enum_spec.rb": 0.1615091889998439,5307 "ee/spec/graphql/types/dast/profile_cadence_enum_spec.rb": 0.09780866599976434,5308 "ee/spec/graphql/types/approval_rule_type_spec.rb": 0.3201177330001883,5309 "ee/spec/models/protected_branch/required_code_owners_section_spec.rb": 0.2509267390005334,5310 "ee/spec/graphql/types/vulnerability_details/file_location_type_spec.rb": 0.18835734399999637,5311 "ee/spec/helpers/epics_helper_spec.rb": 0.4745174350000525,5312 "ee/spec/graphql/types/vulnerability_details/module_location_type_spec.rb": 0.07976763700025913,5313 "ee/spec/graphql/types/app_sec/fuzzing/api/scan_profile_type_spec.rb": 0.10778766000021278,5314 "ee/spec/views/groups/compliance_frameworks/new.html.haml_spec.rb": 0.5762118430002374,5315 "ee/spec/services/todos/allowed_target_filter_service_spec.rb": 2.36583619100019865316}5317Knapsack global time execution for tests: 30m 12s5318Pending: (Failures listed here are expected and do not affect your suite's status)5319 1) Geo::MergeRequestDiffRegistryFinder behaves like a framework registry finder #execute when user can read all Geo when admin mode is enabled with verification disabled with a verification_state param raises ArgumentError5320 # Skipping because verification is enabled for MergeRequestDiff5321 # ./ee/spec/support/shared_examples/finders/geo/framework_registry_finder_shared_examples.rb:975322 2) Geo::MergeRequestDiffRegistryFinder behaves like a framework registry finder #execute when user can read all Geo when admin mode is enabled with verification disabled with a verification_state param empty raises ArgumentError5323 # Skipping because verification is enabled for MergeRequestDiff5324 # ./ee/spec/support/shared_examples/finders/geo/framework_registry_finder_shared_examples.rb:1055325 3) Geo::UploadRegistryFinder behaves like a framework registry finder #execute when user can read all Geo when admin mode is enabled with verification disabled with a verification_state param raises ArgumentError5326 # Skipping because verification is enabled for Upload5327 # ./ee/spec/support/shared_examples/finders/geo/framework_registry_finder_shared_examples.rb:975328 4) Geo::UploadRegistryFinder behaves like a framework registry finder #execute when user can read all Geo when admin mode is enabled with verification disabled with a verification_state param empty raises ArgumentError5329 # Skipping because verification is enabled for Upload5330 # ./ee/spec/support/shared_examples/finders/geo/framework_registry_finder_shared_examples.rb:1055331 5) Resolvers::Geo::PagesDeploymentRegistriesResolver behaves like a Geo registries resolver #resolve when the parent object is the current node when the user has permission to view Geo data when admin mode is enabled with verification disabled when the verification_state argument is present raises ArgumentError5332 # Skipping because verification is enabled for PagesDeployment5333 # ./ee/spec/support/shared_examples/graphql/geo/geo_registries_resolver_shared_examples.rb:775334 6) Geo::Scheduler::SchedulerWorker needs many other specs5335 # Not yet implemented5336 # ./ee/spec/workers/geo/scheduler/scheduler_worker_spec.rb:125337 7) Geo::RepositoriesChangedEventStore#create! behaves like a Geo event store when running on a primary node when file subject is not on local store creates an event5338 # No file subject defined, skipping5339 # ./ee/spec/support/shared_examples/services/geo_event_store_shared_examples.rb:365340Finished in 30 minutes 16 seconds (files took 1 minute 18.27 seconds to load)53412216 examples, 0 failures, 7 pending5342RSpec exited with 0.5343No examples to retry, congrats!5345Not uploading cache ruby-gems-debian-bullseye-ruby-2.7-14 due to policy5346Not uploading cache gitaly-ruby-gems-debian-bullseye-ruby-2.7-14 due to policy5348Uploading artifacts...5349coverage/: found 5 matching files and directories 5350crystalball/: found 2 matching files and directories 5351WARNING: deprecations/: no matching files. Ensure that the artifact path is relative to the working directory 5352knapsack/: found 3 matching files and directories 5353rspec/: found 8 matching files and directories 5354WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory 5355log/*.log: found 17 matching files and directories 5356WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/2929379627/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com5357WARNING: Retrying... context=artifacts-uploader error=request redirected5358Uploading artifacts as "archive" to coordinator... 201 Created id=2929379627 responseStatus=201 Created token=rdAZijaW5359Uploading artifacts...5360rspec/junit_rspec.xml: found 1 matching files and directories 5361WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/2929379627/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com5362WARNING: Retrying... context=artifacts-uploader error=request redirected5363Uploading artifacts as "junit" to coordinator... 201 Created id=2929379627 responseStatus=201 Created token=rdAZijaW5365Job succeeded