rspec-ee unit pg12 4/16
Passed Started
by
@lamportsapprentice

Hannes Moser
1Running with gitlab-runner 15.2.0~beta.17.g34ae4a68 (34ae4a68)2 on green-1.private.runners-manager.gitlab.com/gitlab.com/gitlab-org 4bq1s9yM3 feature flags: FF_USE_FASTZIP:true6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-101-yarn-1.22-graphicsmagick-1.3.36 ...7Starting service postgres:12 ...8Pulling docker image postgres:12 ...9Using docker image sha256:ac3b8cd6a8b42e839456256bc514d6230b5a2538c738b3d522e1384a2a172b96 for postgres:12 with digest postgres@sha256:e6ffad42c91a4d5a29257a27ac4e160c3ae7196696b37bf2e80410024ed95951 ...10Starting service redis:6.0-alpine ...11Pulling docker image redis:6.0-alpine ...12Using docker image sha256:09401fed2a421bf0019f96dcec70c85f82ec7b76beb1ae589547b0dc302d6b76 for redis:6.0-alpine with digest redis@sha256:217a9db40a914cc3f6206a143a4d750da0607500cc013a147a4979e08e40beff ...13Starting service elasticsearch:7.17.0 ...14Pulling docker image elasticsearch:7.17.0 ...15Using docker image sha256:6fe993d6e7ed5e00a18f9b146d867b77559bf9948e6596bbf880ddbefeec46f7 for elasticsearch:7.17.0 with digest elasticsearch@sha256:332c6d416808f6e9a2cbcbe0170d9a9bb14bfe772180d37de5084c223dd8948b ...16Waiting for services to be up and running (timeout 30 seconds)...17Authenticating with credentials from job payload (GitLab Registry)18Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-101-yarn-1.22-graphicsmagick-1.3.36 ...19Using docker image sha256:642191311550aaa03aba1d11d8d921042ead8ee5afeb833fc7e4e3f933b7ed04 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-101-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12@sha256:f0990c59018be757dd56365bb2cc6791d65f3f4bf99a431c3b26e3df08260f6a ...21Running on runner-4bq1s9ym-project-278964-concurrent-0 via runner-4bq1s9ym-private-1656919451-01d0f2a1...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: 116039, done. 28remote: Counting objects: 100% (116039/116039), done. 29remote: Compressing objects: 100% (81230/81230), done. 30remote: Total 116039 (delta 48550), reused 75347 (delta 30398), pack-reused 0 31Receiving objects: 100% (116039/116039), 108.46 MiB | 21.05 MiB/s, done.32Resolving deltas: 100% (48550/48550), done.34 * [new ref] refs/pipelines/579240176 -> refs/pipelines/57924017635Checking out ad477312 as refs/merge-requests/90914/merge...36Skipping Git submodules setup37$ git remote set-url origin "${CI_REPOSITORY_URL}"39Checking cache for ruby-gems-debian-bullseye-ruby-2.7-10...40Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/ruby-gems-debian-bullseye-ruby-2.7-10 41Successfully extracted cache42Checking cache for gitaly-ruby-gems-debian-bullseye-ruby-2.7-10...43Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/gitaly-ruby-gems-debian-bullseye-ruby-2.7-10 44Successfully extracted cache46Downloading artifacts for compile-test-assets (2673682644)...47Downloading artifacts from coordinator... ok id=2673682644 responseStatus=200 OK token=mxKy1cFf48Downloading artifacts for detect-tests (2673682683)...49Downloading artifacts from coordinator... ok id=2673682683 responseStatus=200 OK token=mxKy1cFf50Downloading artifacts for retrieve-tests-metadata (2673682698)...51Downloading artifacts from coordinator... ok id=2673682698 responseStatus=200 OK token=mxKy1cFf52Downloading artifacts for setup-test-env (2673682668)...53Downloading artifacts from coordinator... ok id=2673682668 responseStatus=200 OK token=mxKy1cFf55Using docker image sha256:642191311550aaa03aba1d11d8d921042ead8ee5afeb833fc7e4e3f933b7ed04 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-101-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12@sha256:f0990c59018be757dd56365bb2cc6791d65f3f4bf99a431c3b26e3df08260f6a ...56$ echo $FOSS_ONLY57$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb58$ export GOPATH=$CI_PROJECT_DIR/.go59$ mkdir -p $GOPATH60$ source scripts/utils.sh61$ source scripts/prepare_build.sh623.2.3363Bundler version 2.2.3364Successfully installed bundler-2.3.15651 gem installed66production:development67Settings are listed in order of priority. The top value will be used.68clean69Set for your local app (/builds/gitlab-org/gitlab/.bundle/config): true70frozen71Set via BUNDLE_FROZEN: true72install_flags73Set via BUNDLE_INSTALL_FLAGS: "--jobs=$(nproc) --retry=3 --quiet"74path75Set for your local app (/builds/gitlab-org/gitlab/.bundle/config): "/builds/gitlab-org/gitlab/vendor"76without77Set via BUNDLE_WITHOUT: [:production, :development]78$ bundle install --jobs=$(nproc) --retry=3 --quiet && bundle check79Don't run Bundler as root. Bundler can ask for sudo if it is needed, and80installing your bundle as root will break this application for all non-root81users on this machine.82The Gemfile's dependencies are satisfied83==> 'bundle install --jobs=$(nproc) --retry=3 --quiet && bundle check' succeeded in 1 seconds.84$ bundle pristine pg85Installing pg 1.3.5 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 34 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 0 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 directory112Don't run Bundler as root. Bundler can ask for sudo if it is needed, and113installing your bundle as root will break this application for all non-root114users on this machine.115Using abstract_type 0.0.7116Using concurrent-ruby 1.1.10117Using i18n 1.10.0118Using minitest 5.15.0119Using tzinfo 2.0.4120Using zeitwerk 2.5.4121Using activesupport 6.1.4.7122Using builder 3.2.4123Using erubi 1.10.0124Using mini_portile2 2.8.0125Using racc 1.6.0126Using nokogiri 1.13.6 (x86_64-linux)127Using rails-dom-testing 2.0.3128Using crass 1.0.6129Using loofah 2.16.0130Using rails-html-sanitizer 1.4.2131Using actionview 6.1.4.7132Using rack 2.2.3133Using rack-test 1.1.0134Using actionpack 6.1.4.7135Using ice_nine 0.11.2136Using thread_safe 0.3.6137Using memoizable 0.4.2138Using adamantium 0.2.0139Using public_suffix 4.0.6140Using addressable 2.7.0141Using ast 2.4.2142Using binding_ninja 0.2.3143Using bundler 2.3.15144Using charlock_holmes 0.7.7145Using coderay 1.1.2146Using equalizer 0.0.11147Using concord 0.1.5148Using diff-lcs 1.3149Using dotenv 2.7.6150Using escape_utils 1.2.1151Using factory_bot 5.0.2152Using multipart-post 2.1.1153Using faraday 1.0.1154Using ffi 1.15.3155Using json 2.5.1156Using gemojione 3.3.0157Using mini_mime 1.0.2158Using rugged 1.2.0159Using github-linguist 7.12.1160Using github-markup 1.7.0161Using mime-types-data 3.2020.1104162Using mime-types 3.3.1163Using gitlab-gollum-rugged_adapter 0.4.4.4.gitlab.1164Using rouge 3.27.0165Using sanitize 6.0.0166Using stringex 2.8.5167Using gitlab-gollum-lib 4.2.7.10.gitlab.2168Using google-protobuf 3.19.1 (x86_64-linux)169Using googleapis-common-protos-types 1.3.0170Using grpc 1.42.0 (x86_64-linux)171Using opentracing 0.5.0172Using thrift 0.15.0173Using jaeger-client 1.1.0174Using pg_query 2.1.1175Using redis 4.4.0176Using gitlab-labkit 0.23.0177Using rubyzip 2.3.2178Using thor 1.1.0179Using tomlrb 2.0.1180Using with_env 1.1.0181Using rexml 3.2.5182Using xml-simple 1.1.9183Using gitlab-license_finder 6.14.2.1184Using gitlab-markup 1.7.1185Using grpc-tools 1.42.0186Using sawyer 0.8.2187Using octokit 4.20.0188Using reverse_markdown 1.4.0189Using licensee 9.14.1190Using method_source 0.9.2191Using msgpack 1.3.3192Using optimist 3.0.1193Using parallel 1.19.2194Using parser 3.0.3.2195Using procto 0.0.3196Using unparser 0.4.7197Using proc_to_ast 0.1.0198Using pry 0.12.2199Using rainbow 3.0.0200Using rbtrace 0.4.14201Using rdoc 6.3.2202Using regexp_parser 1.8.1203Using rspec-support 3.8.0204Using rspec-core 3.8.0205Using rspec-expectations 3.8.3206Using rspec-mocks 3.8.0207Using rspec 3.8.0208Using rspec-parameterized 0.4.2209Using rubocop-ast 0.2.0210Using ruby-progressbar 1.10.1211Using unicode-display_width 1.7.0212Using rubocop 0.86.0213Using sentry-raven 3.0.4214Using timecop 0.9.1215Bundle complete! 22 Gemfile dependencies, 100 gems now installed.216Gems in the groups 'production' and 'development' were not installed.217Bundled gems are installed into `/builds/gitlab-org/gitlab/vendor/gitaly-ruby`218Checking gitaly-ruby Gemfile...219Checking gitaly-ruby bundle...220The Gemfile's dependencies are satisfied221Trying to connect to gitaly: ....................................... OK222Trying to connect to gitaly2: ......................................................... OK223Starting Praefect with in-memory election strategyTrying to connect to praefect: ........ OK224==> 'scripts/gitaly-test-spawn' succeeded in 12 seconds.225$ source ./scripts/rspec_helpers.sh226$ rspec_paralellized_job "--tag ~quarantine --tag ~level:migration"227SKIP_FLAKY_TESTS_AUTOMATICALLY: true228RETRY_FAILED_TESTS_IN_NEW_PROCESS: true229KNAPSACK_GENERATE_REPORT: true230FLAKY_RSPEC_GENERATE_REPORT: true231KNAPSACK_TEST_FILE_PATTERN: {ee/}spec/{bin,channels,config,db,dependencies,elastic,elastic_integration,experiments,events,factories,finders,frontend,graphql,haml_lint,helpers,initializers,lib,metrics_server,models,policies,presenters,rack_servers,replicators,routing,rubocop,scripts,serializers,services,sidekiq,sidekiq_cluster,spam,support_specs,tasks,uploaders,validators,views,workers,tooling,components}{,/**/}*_spec.rb232KNAPSACK_LOG_LEVEL: debug233KNAPSACK_REPORT_PATH: knapsack/rspec-ee_unit_pg12_4_16_report.json234FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json235FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec-ee_unit_pg12_4_16_report.json236NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec-ee_unit_pg12_4_16_report.json237SKIPPED_FLAKY_TESTS_REPORT_PATH: rspec/flaky/skipped_flaky_tests_rspec-ee_unit_pg12_4_16_report.txt238RETRIED_TESTS_REPORT_PATH: rspec/flaky/retried_tests_rspec-ee_unit_pg12_4_16_report.txt239CRYSTALBALL: 240Knapsack node specs:241ee/spec/lib/gitlab/elastic/search_results_spec.rb242ee/spec/services/ee/notes/quick_actions_service_spec.rb243ee/spec/elastic/migrate/20220119120500_populate_commit_permissions_in_main_index_spec.rb244ee/spec/finders/merge_requests/by_approvers_finder_spec.rb245ee/spec/helpers/billing_plans_helper_spec.rb246ee/spec/workers/namespaces/free_user_cap/remediation_worker_spec.rb247ee/spec/models/vulnerabilities/stat_diff_spec.rb248ee/spec/replicators/geo/package_file_replicator_spec.rb249ee/spec/lib/gitlab/code_owners/loader_spec.rb250ee/spec/services/groups/update_service_spec.rb251ee/spec/models/dast_site_profile_spec.rb252ee/spec/services/ee/git/branch_push_service_spec.rb253ee/spec/models/instance_security_dashboard_spec.rb254ee/spec/services/security/security_orchestration_policies/fetch_policy_approvers_service_spec.rb255ee/spec/lib/gitlab/auth/group_saml/user_spec.rb256ee/spec/lib/gitlab/background_migration/populate_test_reports_issue_id_spec.rb257ee/spec/models/ee/audit_event_spec.rb258ee/spec/lib/ee/gitlab/import_export/group/tree_restorer_spec.rb259ee/spec/services/groups/transfer_service_spec.rb260ee/spec/services/compliance_management/frameworks/create_service_spec.rb261ee/spec/services/vulnerabilities/update_service_spec.rb262ee/spec/helpers/search_helper_spec.rb263ee/spec/policies/issuable_policy_spec.rb264ee/spec/lib/gitlab/auth/group_saml/gma_membership_enforcer_spec.rb265ee/spec/services/ee/members/create_service_spec.rb266ee/spec/models/protected_environments/approval_summary_spec.rb267ee/spec/lib/gitlab/expiring_subscription_message_spec.rb268ee/spec/models/merge_requests/compliance_violation_spec.rb269ee/spec/models/ee/ci/build_dependencies_spec.rb270ee/spec/replicators/geo/group_wiki_repository_replicator_spec.rb271ee/spec/serializers/ee/environment_serializer_spec.rb272ee/spec/serializers/vulnerabilities/finding_entity_spec.rb273ee/spec/lib/analytics/group_activity_calculator_spec.rb274ee/spec/graphql/mutations/issues/update_spec.rb275ee/spec/models/geo/secondary_usage_data_spec.rb276ee/spec/models/ee/personal_access_token_spec.rb277ee/spec/services/iterations/create_service_spec.rb278ee/spec/services/epics/epic_links/list_service_spec.rb279ee/spec/lib/sidebars/groups/menus/security_compliance_menu_spec.rb280ee/spec/models/vulnerabilities/external_issue_link_spec.rb281ee/spec/serializers/blocking_merge_request_entity_spec.rb282ee/spec/workers/security/store_scans_worker_spec.rb283ee/spec/services/ee/merge_requests/create_from_vulnerability_data_service_spec.rb284ee/spec/lib/gitlab/pagination_delegate_spec.rb285ee/spec/services/app_sec/dast/profiles/build_config_service_spec.rb286ee/spec/services/geo/blob_download_service_spec.rb287ee/spec/services/vulnerabilities/finding_dismiss_service_spec.rb288ee/spec/lib/gitlab/usage/metrics/instrumentations/count_ci_environments_approval_required_spec.rb289ee/spec/lib/gitlab/geo/health_check_spec.rb290ee/spec/models/issuables_analytics_spec.rb291ee/spec/lib/gitlab/ci/templates/Jobs/browser_performance_testing_gitlab_ci_yaml_spec.rb292ee/spec/models/ee/alert_management/alert_spec.rb293ee/spec/services/releases/create_service_spec.rb294ee/spec/services/security/security_orchestration_policies/project_create_service_spec.rb295ee/spec/lib/ee/audit/project_setting_changes_auditor_spec.rb296ee/spec/services/external_status_checks/update_service_spec.rb297ee/spec/lib/gitlab/graphql/aggregations/vulnerabilities/lazy_user_notes_count_aggregate_spec.rb298ee/spec/services/ee/merge_requests/after_create_service_spec.rb299ee/spec/serializers/merge_request_poll_widget_entity_spec.rb300ee/spec/views/shared/credentials_inventory/personal_access_tokens/_personal_access_token.html.haml_spec.rb301ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_label_added_spec.rb302ee/spec/models/slack_integration_spec.rb303ee/spec/policies/dast_scanner_profile_policy_spec.rb304ee/spec/lib/ee/audit/compliance_framework_changes_auditor_spec.rb305ee/spec/services/gitlab_subscriptions/fetch_purchase_eligible_namespaces_service_spec.rb306ee/spec/lib/ee/gitlab/auth/auth_finders_spec.rb307ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_last_edited_spec.rb308ee/spec/services/epics/close_service_spec.rb309ee/spec/lib/ee/backup/repositories_spec.rb310ee/spec/models/groups/repository_storage_move_spec.rb311ee/spec/presenters/group_member_presenter_spec.rb312ee/spec/services/app_sec/dast/site_validations/runner_service_spec.rb313ee/spec/services/security/ingestion/tasks/ingest_finding_pipelines_spec.rb314ee/spec/models/ee/appearance_spec.rb315ee/spec/lib/banzai/filter/references/label_reference_filter_spec.rb316ee/spec/routing/operations_routing_spec.rb317ee/spec/views/projects/project_members/index.html.haml_spec.rb318ee/spec/graphql/mutations/audit_events/streaming/headers/destroy_spec.rb319ee/spec/lib/banzai/filter/cross_project_issuable_information_filter_spec.rb320ee/spec/finders/dast_scanner_profiles_finder_spec.rb321ee/spec/lib/ee/gitlab/repo_path_spec.rb322ee/spec/models/analytics/cycle_analytics/group_value_stream_spec.rb323ee/spec/lib/container_registry/client_spec.rb324ee/spec/lib/ee/gitlab/scim/value_parser_spec.rb325ee/spec/graphql/mutations/vulnerabilities/resolve_spec.rb326ee/spec/services/app_sec/dast/site_profiles/audit/update_service_spec.rb327ee/spec/lib/ee/api/entities/user_with_admin_spec.rb328ee/spec/services/ee/incident_management/issuable_escalation_statuses/create_service_spec.rb329ee/spec/views/shared/_namespace_user_cap_reached_alert.html.haml_spec.rb330ee/spec/graphql/resolvers/incident_management/oncall_schedule_resolver_spec.rb331ee/spec/policies/geo/registry_policy_spec.rb332ee/spec/models/app_sec/fuzzing/api/ci_configuration_spec.rb333ee/spec/services/ee/resource_events/merge_into_notes_service_spec.rb334ee/spec/serializers/integrations/jira_serializers/issue_entity_spec.rb335ee/spec/workers/concerns/elastic/migration_options_spec.rb336ee/spec/lib/gitlab/ci/templates/container_scanning_gitlab_ci_yaml_spec.rb337ee/spec/services/ee/issues/build_from_vulnerability_service_spec.rb338ee/spec/views/projects/security/discover/show.html.haml_spec.rb339ee/spec/graphql/types/boards/board_epic_type_spec.rb340ee/spec/lib/gitlab/analytics/cycle_analytics/distinct_stage_loader_spec.rb341ee/spec/lib/gitlab/import_export/group/group_and_descendants_repo_restorer_spec.rb342ee/spec/graphql/resolvers/analytics/devops_adoption/enabled_namespaces_resolver_spec.rb343ee/spec/views/shared/labels/_create_label_help_text.html.haml_spec.rb344ee/spec/lib/gitlab/auth/group_saml/response_store_spec.rb345ee/spec/serializers/project_mirror_entity_spec.rb346ee/spec/serializers/user_analytics_entity_spec.rb347ee/spec/services/ee/users/create_service_spec.rb348ee/spec/services/security/security_orchestration_policies/on_demand_scan_pipeline_configuration_service_spec.rb349ee/spec/lib/gitlab/compliance_management/violations/approved_by_merge_request_author_spec.rb350ee/spec/graphql/types/dast/profile_type_spec.rb351ee/spec/serializers/license_entity_spec.rb352ee/spec/views/subscriptions/buy_storage.html.haml_spec.rb353ee/spec/graphql/ee/types/user_merge_request_interaction_type_spec.rb354ee/spec/graphql/mutations/incident_management/oncall_schedule/create_spec.rb355ee/spec/services/ci/runners/unregister_runner_service_spec.rb356ee/spec/lib/gitlab/proxy_spec.rb357ee/spec/lib/ee/api/entities/scim/user_name_spec.rb358ee/spec/lib/gitlab/graphql/aggregations/issues/lazy_links_aggregate_spec.rb359ee/spec/graphql/resolvers/boards/epic_list_resolver_spec.rb360ee/spec/finders/security/training_providers/kontra_url_finder_spec.rb361ee/spec/workers/adjourned_project_deletion_worker_spec.rb362ee/spec/services/ee/ci/change_variable_service_spec.rb363ee/spec/lib/world_spec.rb364ee/spec/helpers/notes_helper_spec.rb365ee/spec/models/analytics/language_trend/repository_language_spec.rb366ee/spec/lib/gitlab/status_page/filter/image_filter_spec.rb367ee/spec/lib/gitlab/items_collection_spec.rb368ee/spec/serializers/incident_management/escalation_policy_entity_spec.rb369ee/spec/policies/base_policy_spec.rb370ee/spec/views/subscriptions/new.html.haml_spec.rb371ee/spec/lib/bulk_imports/common/pipelines/boards_pipeline_spec.rb372ee/spec/models/user_preference_spec.rb373ee/spec/services/ee/notes/post_process_service_spec.rb374ee/spec/workers/geo/container_repository_sync_worker_spec.rb375ee/spec/lib/system_check/geo/current_node_check_spec.rb376ee/spec/workers/geo/batch_event_create_worker_spec.rb377ee/spec/views/admin/dev_ops_report/show.html.haml_spec.rb378ee/spec/lib/system_check/geo/authorized_keys_flag_check_spec.rb379ee/spec/graphql/types/timebox_report_type_spec.rb380ee/spec/helpers/ee/emails_helper_spec.rb381ee/spec/lib/elastic/latest/note_config_spec.rb382ee/spec/workers/ldap_sync_worker_spec.rb383ee/spec/workers/security/auto_fix_worker_spec.rb384ee/spec/lib/ee/gitlab/snippet_search_results_spec.rb385ee/spec/graphql/resolvers/instance_security_dashboard_resolver_spec.rb386ee/spec/graphql/types/incident_management/oncall_schedule_type_spec.rb387ee/spec/graphql/types/vulnerability_scanner_input_type_spec.rb388ee/spec/graphql/types/vulnerabilities/link_type_spec.rb389ee/spec/workers/security/findings/delete_by_job_id_worker_spec.rb390ee/spec/lib/elastic/latest/commit_config_spec.rb391ee/spec/graphql/types/vulnerability/external_issue_link_type_enum_spec.rb392ee/spec/graphql/types/audit_events/streaming/header_type_spec.rb393ee/spec/models/geo/every_geo_event_spec.rb394ee/spec/lib/ee/gitlab/application_rate_limiter_spec.rb395ee/spec/graphql/types/incident_management/issuable_resource_link_type_enum_spec.rb396ee/spec/serializers/storage_shard_entity_spec.rb397ee/spec/graphql/types/compliance_management/merge_requests/compliance_violation_severity_enum_spec.rb398ee/spec/graphql/ee/types/projects/service_type_enum_spec.rb399ee/spec/serializers/ee/admin/user_entity_spec.rb400ee/spec/services/ee/auto_merge_service_spec.rb401ee/spec/models/analytics/cycle_analytics/runtime_limiter_spec.rb402ee/spec/graphql/types/network_policy_kind_enum_spec.rb403ee/spec/graphql/mutations/todos/create_spec.rb404Filter specs:405Running specs:406Running all node tests without filter407ee/spec/lib/gitlab/elastic/search_results_spec.rb408ee/spec/services/ee/notes/quick_actions_service_spec.rb409ee/spec/elastic/migrate/20220119120500_populate_commit_permissions_in_main_index_spec.rb410ee/spec/finders/merge_requests/by_approvers_finder_spec.rb411ee/spec/helpers/billing_plans_helper_spec.rb412ee/spec/workers/namespaces/free_user_cap/remediation_worker_spec.rb413ee/spec/models/vulnerabilities/stat_diff_spec.rb414ee/spec/replicators/geo/package_file_replicator_spec.rb415ee/spec/lib/gitlab/code_owners/loader_spec.rb416ee/spec/services/groups/update_service_spec.rb417ee/spec/models/dast_site_profile_spec.rb418ee/spec/services/ee/git/branch_push_service_spec.rb419ee/spec/models/instance_security_dashboard_spec.rb420ee/spec/services/security/security_orchestration_policies/fetch_policy_approvers_service_spec.rb421ee/spec/lib/gitlab/auth/group_saml/user_spec.rb422ee/spec/lib/gitlab/background_migration/populate_test_reports_issue_id_spec.rb423ee/spec/models/ee/audit_event_spec.rb424ee/spec/lib/ee/gitlab/import_export/group/tree_restorer_spec.rb425ee/spec/services/groups/transfer_service_spec.rb426ee/spec/services/compliance_management/frameworks/create_service_spec.rb427ee/spec/services/vulnerabilities/update_service_spec.rb428ee/spec/helpers/search_helper_spec.rb429ee/spec/policies/issuable_policy_spec.rb430ee/spec/lib/gitlab/auth/group_saml/gma_membership_enforcer_spec.rb431ee/spec/services/ee/members/create_service_spec.rb432ee/spec/models/protected_environments/approval_summary_spec.rb433ee/spec/lib/gitlab/expiring_subscription_message_spec.rb434ee/spec/models/merge_requests/compliance_violation_spec.rb435ee/spec/models/ee/ci/build_dependencies_spec.rb436ee/spec/replicators/geo/group_wiki_repository_replicator_spec.rb437ee/spec/serializers/ee/environment_serializer_spec.rb438ee/spec/serializers/vulnerabilities/finding_entity_spec.rb439ee/spec/lib/analytics/group_activity_calculator_spec.rb440ee/spec/graphql/mutations/issues/update_spec.rb441ee/spec/models/geo/secondary_usage_data_spec.rb442ee/spec/models/ee/personal_access_token_spec.rb443ee/spec/services/iterations/create_service_spec.rb444ee/spec/services/epics/epic_links/list_service_spec.rb445ee/spec/lib/sidebars/groups/menus/security_compliance_menu_spec.rb446ee/spec/models/vulnerabilities/external_issue_link_spec.rb447ee/spec/serializers/blocking_merge_request_entity_spec.rb448ee/spec/workers/security/store_scans_worker_spec.rb449ee/spec/services/ee/merge_requests/create_from_vulnerability_data_service_spec.rb450ee/spec/lib/gitlab/pagination_delegate_spec.rb451ee/spec/services/app_sec/dast/profiles/build_config_service_spec.rb452ee/spec/services/geo/blob_download_service_spec.rb453ee/spec/services/vulnerabilities/finding_dismiss_service_spec.rb454ee/spec/lib/gitlab/usage/metrics/instrumentations/count_ci_environments_approval_required_spec.rb455ee/spec/lib/gitlab/geo/health_check_spec.rb456ee/spec/models/issuables_analytics_spec.rb457ee/spec/lib/gitlab/ci/templates/Jobs/browser_performance_testing_gitlab_ci_yaml_spec.rb458ee/spec/models/ee/alert_management/alert_spec.rb459ee/spec/services/releases/create_service_spec.rb460ee/spec/services/security/security_orchestration_policies/project_create_service_spec.rb461ee/spec/lib/ee/audit/project_setting_changes_auditor_spec.rb462ee/spec/services/external_status_checks/update_service_spec.rb463ee/spec/lib/gitlab/graphql/aggregations/vulnerabilities/lazy_user_notes_count_aggregate_spec.rb464ee/spec/services/ee/merge_requests/after_create_service_spec.rb465ee/spec/serializers/merge_request_poll_widget_entity_spec.rb466ee/spec/views/shared/credentials_inventory/personal_access_tokens/_personal_access_token.html.haml_spec.rb467ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_label_added_spec.rb468ee/spec/models/slack_integration_spec.rb469ee/spec/policies/dast_scanner_profile_policy_spec.rb470ee/spec/lib/ee/audit/compliance_framework_changes_auditor_spec.rb471ee/spec/services/gitlab_subscriptions/fetch_purchase_eligible_namespaces_service_spec.rb472ee/spec/lib/ee/gitlab/auth/auth_finders_spec.rb473ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_last_edited_spec.rb474ee/spec/services/epics/close_service_spec.rb475ee/spec/lib/ee/backup/repositories_spec.rb476ee/spec/models/groups/repository_storage_move_spec.rb477ee/spec/presenters/group_member_presenter_spec.rb478ee/spec/services/app_sec/dast/site_validations/runner_service_spec.rb479ee/spec/services/security/ingestion/tasks/ingest_finding_pipelines_spec.rb480ee/spec/models/ee/appearance_spec.rb481ee/spec/lib/banzai/filter/references/label_reference_filter_spec.rb482ee/spec/routing/operations_routing_spec.rb483ee/spec/views/projects/project_members/index.html.haml_spec.rb484ee/spec/graphql/mutations/audit_events/streaming/headers/destroy_spec.rb485ee/spec/lib/banzai/filter/cross_project_issuable_information_filter_spec.rb486ee/spec/finders/dast_scanner_profiles_finder_spec.rb487ee/spec/lib/ee/gitlab/repo_path_spec.rb488ee/spec/models/analytics/cycle_analytics/group_value_stream_spec.rb489ee/spec/lib/container_registry/client_spec.rb490ee/spec/lib/ee/gitlab/scim/value_parser_spec.rb491ee/spec/graphql/mutations/vulnerabilities/resolve_spec.rb492ee/spec/services/app_sec/dast/site_profiles/audit/update_service_spec.rb493ee/spec/lib/ee/api/entities/user_with_admin_spec.rb494ee/spec/services/ee/incident_management/issuable_escalation_statuses/create_service_spec.rb495ee/spec/views/shared/_namespace_user_cap_reached_alert.html.haml_spec.rb496ee/spec/graphql/resolvers/incident_management/oncall_schedule_resolver_spec.rb497ee/spec/policies/geo/registry_policy_spec.rb498ee/spec/models/app_sec/fuzzing/api/ci_configuration_spec.rb499ee/spec/services/ee/resource_events/merge_into_notes_service_spec.rb500ee/spec/serializers/integrations/jira_serializers/issue_entity_spec.rb501ee/spec/workers/concerns/elastic/migration_options_spec.rb502ee/spec/lib/gitlab/ci/templates/container_scanning_gitlab_ci_yaml_spec.rb503ee/spec/services/ee/issues/build_from_vulnerability_service_spec.rb504ee/spec/views/projects/security/discover/show.html.haml_spec.rb505ee/spec/graphql/types/boards/board_epic_type_spec.rb506ee/spec/lib/gitlab/analytics/cycle_analytics/distinct_stage_loader_spec.rb507ee/spec/lib/gitlab/import_export/group/group_and_descendants_repo_restorer_spec.rb508ee/spec/graphql/resolvers/analytics/devops_adoption/enabled_namespaces_resolver_spec.rb509ee/spec/views/shared/labels/_create_label_help_text.html.haml_spec.rb510ee/spec/lib/gitlab/auth/group_saml/response_store_spec.rb511ee/spec/serializers/project_mirror_entity_spec.rb512ee/spec/serializers/user_analytics_entity_spec.rb513ee/spec/services/ee/users/create_service_spec.rb514ee/spec/services/security/security_orchestration_policies/on_demand_scan_pipeline_configuration_service_spec.rbKnapsack report generator started!515DEPRECATION WARNING: /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/postgresql_adapter.rb:78: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call516/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/pg-1.3.5/lib/pg.rb:68: warning: The called method `connect' is defined here517 (called from new_client at /builds/gitlab-org/gitlab/config/initializers/00_connection_logger.rb:21)518Run options: exclude {:quarantine=>true, :level=>"migration"}519Test environment set up in 0.665993088 seconds520Gitlab::Elastic::SearchResults521 #highlight_map522 scope: "projects", results_method: :projects, expected: {1=>"test <span class=\"gl-text-gray-900 gl-font-weight-bold\">highlight</span>"}523 returns the expected highlight map524 scope: "milestones", results_method: :milestones, expected: {1=>"test <span class=\"gl-text-gray-900 gl-font-weight-bold\">highlight</span>"}525 returns the expected highlight map526 scope: "notes", results_method: :notes, expected: {1=>"test <span class=\"gl-text-gray-900 gl-font-weight-bold\">highlight</span>"}527 returns the expected highlight map528 scope: "issues", results_method: :issues, expected: {1=>"test <span class=\"gl-text-gray-900 gl-font-weight-bold\">highlight</span>"}529 returns the expected highlight map530 scope: "merge_requests", results_method: :merge_requests, expected: {1=>"test <span class=\"gl-text-gray-900 gl-font-weight-bold\">highlight</span>"}531 returns the expected highlight map532 scope: "blobs", results_method: nil, expected: nil533 returns the expected highlight map534 scope: "wiki_blobs", results_method: nil, expected: nil535 returns the expected highlight map536 scope: "commits", results_method: nil, expected: nil537 returns the expected highlight map538 scope: "users", results_method: nil, expected: nil539 returns the expected highlight map540 scope: "unknown", results_method: nil, expected: nil541 returns the expected highlight map542 #formatted_count543 scope: "projects", count_method: :projects_count, value: 0, expected: "0"544 returns the expected formatted count limited and delimited545 scope: "notes", count_method: :notes_count, value: 100, expected: "100"546 returns the expected formatted count limited and delimited547 scope: "blobs", count_method: :blobs_count, value: 1000, expected: "1,000"548 returns the expected formatted count limited and delimited549 scope: "wiki_blobs", count_method: :wiki_blobs_count, value: 1111, expected: "1,111"550 returns the expected formatted count limited and delimited551 scope: "commits", count_method: :commits_count, value: 9999, expected: "9,999"552 returns the expected formatted count limited and delimited553 scope: "issues", count_method: :issues_count, value: 10000, expected: "10,000+"554 returns the expected formatted count limited and delimited555 scope: "merge_requests", count_method: :merge_requests_count, value: 20000, expected: "10,000+"556 returns the expected formatted count limited and delimited557 scope: "milestones", count_method: :milestones_count, value: nil, expected: "0"558 returns the expected formatted count limited and delimited559 scope: "unknown", count_method: nil, value: nil, expected: nil560 returns the expected formatted count limited and delimited561 #aggregations562 scope: "projects", should_return_aggregations: false563 when feature flag is enabled for user564 behaves like loads aggregations565 returns the expected aggregations566 when query is blank567 behaves like does not load aggregations568 returns an empty array569 when feature flag is disabled for user570 behaves like does not load aggregations571 returns an empty array572 scope: "milestones", should_return_aggregations: false573 when feature flag is enabled for user574 behaves like loads aggregations575 returns the expected aggregations576 when query is blank577 behaves like does not load aggregations578 returns an empty array579 when feature flag is disabled for user580 behaves like does not load aggregations581 returns an empty array582 scope: "notes", should_return_aggregations: false583 when feature flag is enabled for user584 behaves like loads aggregations585 returns the expected aggregations586 when query is blank587 behaves like does not load aggregations588 returns an empty array589 when feature flag is disabled for user590 behaves like does not load aggregations591 returns an empty array592 scope: "issues", should_return_aggregations: false593 when feature flag is enabled for user594 behaves like loads aggregations595 returns the expected aggregations596 when query is blank597 behaves like does not load aggregations598 returns an empty array599 when feature flag is disabled for user600 behaves like does not load aggregations601 returns an empty array602 scope: "merge_requests", should_return_aggregations: false603 when feature flag is enabled for user604 behaves like loads aggregations605 returns the expected aggregations606 when query is blank607 behaves like does not load aggregations608 returns an empty array609 when feature flag is disabled for user610 behaves like does not load aggregations611 returns an empty array612 scope: "wiki_blobs", should_return_aggregations: false613 when feature flag is enabled for user614 behaves like loads aggregations615 returns the expected aggregations616 when query is blank617 behaves like does not load aggregations618 returns an empty array619 when feature flag is disabled for user620 behaves like does not load aggregations621 returns an empty array622 scope: "commits", should_return_aggregations: false623 when feature flag is enabled for user624 behaves like loads aggregations625 returns the expected aggregations626 when query is blank627 behaves like does not load aggregations628 returns an empty array629 when feature flag is disabled for user630 behaves like does not load aggregations631 returns an empty array632 scope: "users", should_return_aggregations: false633 when feature flag is enabled for user634 behaves like loads aggregations635 returns the expected aggregations636 when query is blank637 behaves like does not load aggregations638 returns an empty array639 when feature flag is disabled for user640 behaves like does not load aggregations641 returns an empty array642 scope: "epics", should_return_aggregations: false643 when feature flag is enabled for user644 behaves like loads aggregations645 returns the expected aggregations646 when query is blank647 behaves like does not load aggregations648 returns an empty array649 when feature flag is disabled for user650 behaves like does not load aggregations651 returns an empty array652 scope: "unknown", should_return_aggregations: false653 when feature flag is enabled for user654 behaves like loads aggregations655 returns the expected aggregations656 when query is blank657 behaves like does not load aggregations658 returns an empty array659 when feature flag is disabled for user660 behaves like does not load aggregations661 returns an empty array662 scope: "blobs", should_return_aggregations: true663 when feature flag is enabled for user664 behaves like loads aggregations665 returns the expected aggregations666 when query is blank667 behaves like does not load aggregations668 returns an empty array669 when feature flag is disabled for user670 behaves like does not load aggregations671 returns an empty array672 when search has not been run673 is expected to be nil (FAILED - 1)6751st Try error in ./ee/spec/lib/gitlab/elastic/search_results_spec.rb:111:676expected: nil677 got: []679RSpec::Retry: 2nd try ./ee/spec/lib/gitlab/elastic/search_results_spec.rb:1116812nd Try error in ./ee/spec/lib/gitlab/elastic/search_results_spec.rb:111:682expected: nil683 got: []684 RSpec::Retry: 3rd try ./ee/spec/lib/gitlab/elastic/search_results_spec.rb:1116863rd Try error in ./ee/spec/lib/gitlab/elastic/search_results_spec.rb:111:687expected: nil688 got: []689 RSpec::Retry: 4th try ./ee/spec/lib/gitlab/elastic/search_results_spec.rb:111690 parse_search_result691 returns an unhighlighted blob when no highlight data is present692 parses the blob with highlighting693 when the highlighting finds the same terms multiple times694 does not mistake a line that happens to include the same term that was highlighted on a later line695 file path in the blob contains potential backtracking regex attack pattern696 still parses the basename from the path with reasonable amount of time697 issues698 lists found issues699 returns empty list when issues are not found700 lists issue when search by a valid iid701 can also find an issue by iid without the prefixed #702 finds the issue with an out of integer range number in its description without exception703 returns empty list when search by invalid iid704 handles plural words through algorithmic stemming705 executes count only queries706 behaves like a paginated object707 does not explode when given a page as a string708 paginates709 uses the per_page value if passed710 filtering711 state not provided712 returns opened and closed results713 all state714 returns opened and closed results715 closed state716 returns only closed results717 opened state718 returns only opened results719 unsupported state720 returns only opened results721 filter not provided (all behavior)722 returns confidential and not confidential results723 confidential filter724 returns only confidential results725 not confidential filter726 returns not confidential results727 ordering728 sort: created_desc729 sorts results by created_at730 sort: created_asc731 sorts results by created_at732 sort: updated_desc733 sorts results by updated_desc734 sort: updated_asc735 sorts results by updated_asc736 sort: popularity_desc737 sorts results by upvotes738 sort: popularity_asc739 sorts results by created_at740 notes741 lists found notes742 returns empty list when notes are not found743 behaves like a paginated object744 does not explode when given a page as a string745 paginates746 uses the per_page value if passed747 confidential issues748 search by term749 does not list confidential issues for guests750 does not list confidential issues for non project members751 lists confidential issues for author752 lists confidential issues for assignee753 lists confidential issues for project members754 for admin users755 when admin mode enabled756 lists all issues757 when admin mode disabled758 does not list confidential issues759 search by iid760 does not list confidential issues for guests761 does not list confidential issues for non project members762 lists confidential issues for author763 lists confidential issues for assignee764 lists confidential issues for project members765 for admin users766 when admin mode enabled767 lists all issues768 when admin mode disabled769 does not list confidential issues770 merge requests771 lists found merge requests772 returns empty list when merge requests are not found773 lists merge request when search by a valid iid774 can also find an issue by iid without the prefixed !775 finds the MR with an out of integer range number in its description without exception776 returns empty list when search by invalid iid777 behaves like a paginated object778 does not explode when given a page as a string779 paginates780 uses the per_page value if passed781 filtering782 state not provided783 returns opened and closed results784 all state785 returns opened and closed results786 closed state787 returns only closed results788 opened state789 returns only opened results790 unsupported state791 returns only opened results792 ordering793 sort: created_desc794 sorts results by created_at795 sort: created_asc796 sorts results by created_at797 sort: updated_desc798 sorts results by updated_desc799 sort: updated_asc800 sorts results by updated_asc801 projects802 returns items for project803 blobs804 finds blobs805 finds blobs by prefix search806 finds blobs from public projects only807 returns zero when blobs are not found808 behaves like a paginated object809 does not explode when given a page as a string810 paginates811 uses the per_page value if passed812 Searches CamelCased methods813 find by first word814 find by first two words (PENDING: Temporarily skipped with xit)815 find by last two words816 find by exact match817 find by prefix search818 Searches special characters819 finds files with dashes820 finds files with dots821 finds files with other special chars822 finds absolute file paths with slashes and other special chars823 finds relative file paths with slashes and other special chars824 finds file path components within slashes for directories825 finds file paths for various languages826 finds java style static method call after ::827 finds perl object method call828 finds tokens after a colon829 finds tokens after a comma with no space830 finds a token directly after parentheses831 finds a token after = without a space832 finds a ruby method name even if preceded with dot833 finds a ruby method name with numbers834 finds a ruby method call even if preceded with dot835 finds a ruby method call with numbers836 filtering837 behaves like search results filtered by language838 filters by language839 when the search_blobs_language_aggregation feature flag is disabled840 does not filter by language841 wikis842 finds wiki blobs843 finds wiki blobs for guest844 finds wiki blobs from public projects only845 returns zero when wiki blobs are not found846 behaves like a paginated object847 does not explode when given a page as a string848 paginates849 uses the per_page value if passed850 when wiki is disabled851 search by member852 is expected to be empty853 search by non-member854 is expected to be empty855 when wiki is internal856 search by member857 is expected not to be empty858 search by non-member859 is expected to be empty860 commits861 finds commits862 finds commits from public projects only863 returns zero when commits are not found864 behaves like a paginated object865 does not explode when given a page as a string866 paginates867 uses the per_page value if passed868 visibility levels869 issues870 finds right set of issues871 milestones872 behaves like a paginated object873 does not explode when given a page as a string874 paginates875 uses the per_page value if passed876 when project ids are present877 when authenticated878 when user and merge requests are disabled in a project879 returns right set of milestones880 when user is admin881 when admin mode enabled882 returns right set of milestones883 when user can read milestones884 returns right set of milestones885 when not authenticated886 returns right set of milestones887 when project_ids is not present888 when project_ids is :any889 returns all milestones890 when authenticated891 returns right set of milestones892 when not authenticated893 returns right set of milestones894 projects895 finds right set of projects896 returns 0 results for count only query897 behaves like a paginated object898 does not explode when given a page as a string899 paginates900 uses the per_page value if passed901 merge requests902 finds right set of merge requests903 wikis904 finds the right set of wiki blobs905 commits906 finds right set of commits907 blobs908 finds right set of blobs909 query performance910 for scope projects911 makes 1 Elasticsearch query912 for scope notes913 makes 1 Elasticsearch query914 for scope blobs915 makes 1 Elasticsearch query916 for scope wiki_blobs917 makes 1 Elasticsearch query918 for scope commits919 makes 1 Elasticsearch query920 for scope issues921 makes 1 Elasticsearch query922 for scope merge_requests923 makes 1 Elasticsearch query924 for scope milestones925 makes 1 Elasticsearch query926 for scope projects927 makes count query928 for scope notes929 makes count query930 for scope blobs931 makes count query932 for scope wiki_blobs933 makes count query934 for scope commits935 makes count query936 for scope issues937 makes count query938 for scope merge_requests939 makes count query940 for scope milestones941 makes count query942Notes::QuickActionsService943 /epic944 when epics are not enabled945 does not assign the epic946 when epics are enabled947 on an issue948 assigns the issue to the epic949 leaves the note empty950 creates a system note951 on an incident952 leaves the note empty953 does not assigns the issue to the epic954 on a merge request955 leaves the note empty956 /remove_epic957 when epics are not enabled958 does not remove the epic959 when epics are enabled960 on an issue961 removes the epic962 leaves the note empty963 creates a system note964 on an incident965 leaves the note empty966 on a test case967 leaves the note empty968 on a merge request969 leaves the note empty970 Epics971 /close972 when epics are not enabled973 does not close the epic974 when epics are enabled975 closes the epic976 leaves the note empty977 /reopen978 when epics are not enabled979 does not reopen the epic980 when epics are enabled981 reopens the epic982 leaves the note empty983 /label984 when epics are not enabled985 does not add a label to the epic986 when epics are enabled987 adds a group label to the epic988 leaves the note empty989 /unlabel990 when epics are not enabled991 does not remove any label992 when epics are enabled993 removes a requested label from the epic994 leaves the note empty995 /assign_reviewer996 with a merge request997 behaves like assigns one or more reviewers to the merge request998 adds multiple reviewers from the list999 behaves like assigns one or more reviewers to the merge request1000 adds multiple reviewers from the list1001 /assign1002 Issue assignees1003 adds multiple assignees from the list1004 behaves like assigning an already assigned user1005 adds multiple assignees from the list1006 behaves like assigning an already assigned user1007 adds multiple assignees from the list1008 MergeRequest1009 behaves like assigning an already assigned user1010 adds multiple assignees from the list1011 behaves like assigning an already assigned user1012 adds multiple assignees from the list1013 /unassign1014 Issue assignees1015 behaves like unassigning a not assigned user1016Skipping ./ee/spec/services/ee/notes/quick_actions_service_spec.rb[1:6:1:1:1] 'Notes::QuickActionsService /unassign Issue assignees behaves like unassigning a not assigned user adds multiple assignees from the list' because it's flaky.1017 adds multiple assignees from the list (PENDING: around hook at ./spec/support/flaky_tests.rb:21 did not execute the example)1018 behaves like unassigning a not assigned user1019 adds multiple assignees from the list1020 MergeRequest1021 behaves like unassigning a not assigned user1022 adds multiple assignees from the list1023 behaves like unassigning a not assigned user1024 adds multiple assignees from the list1025 /unassign_reviewer1026 with a merge request1027 behaves like unassigning one or more reviewers1028Skipping ./ee/spec/services/ee/notes/quick_actions_service_spec.rb[1:7:1:1:1] 'Notes::QuickActionsService /unassign_reviewer with a merge request behaves like unassigning one or more reviewers removes multiple reviewers from the list' because it's flaky.1029 removes multiple reviewers from the list (PENDING: around hook at ./spec/support/flaky_tests.rb:21 did not execute the example)1030 behaves like unassigning one or more reviewers1031 removes multiple reviewers from the list1032 /promote1033 when epics are enabled1034 when a user does not have permissions to promote an issue1035 does not promote an issue to an epic1036 when a user has permissions to promote an issue1037 promotes an issue to an epic1038 with a double promote1039 only creates one epic1040 when issue was already promoted1041 does not promote issue1042 when an issue belongs to a project without group1043 does not promote an issue to an epic1044 on an incident1045 does not promote to an epic1046 when epics are disabled1047 does not promote an issue to an epic1048 with issue types1049 when issue does not support quick actions1050 for requirement1051 behaves like note on issue type that does not support time tracking1052 /spend1053 does not change time spent1054 /estimate1055 does not execute time estimate1056 for test case1057 behaves like note on issue type that does not support time tracking1058 /spend1059 does not change time spent1060 /estimate1061 does not execute time estimate1062PopulateCommitPermissionsInMainIndex1063 migration_options1064 has migration options set1065 permissions matrix1066 when permutation_idx is in the bounds of permissions matrix1067 uses the correct visibility levels1068 permutation_idx is out of bounds of permissions matrix1069 has nil values1070 makes the migration a noop1071 integration test1072 when visibility levels are missing1073 updates commit documents with correct permissions based on permutation index1074 when visibility levels are not missing for a permutation1075 does not change visibility levels but increments permutation index1076 migration state1077 when no state exists1078 saves retry attempt and permutation index1079 when a Elastic task does NOT exist in state1080 saves the elastic task_id to state1081 when a Elastic task exists in state1082 and the task is completed1083 increments the permutation_idx and resets retry count, task_id and batch_num1084 when task is still running1085 does not change the state1086 when an exception occurs1087 increments retry attempt and re-raises the exception1088 when max retries is reached1089 fails the migration1090 .completed?1091 when there are commits missing permissions1092 is expected not to be completed1093 and the project is missing from the index1094 is expected to be completed1095 when there are NO commits missing permissions1096 is expected to be completed1097 .task_completed?1098 when elastic task is completed with no failures1099 is truthy1100 when elastic task is completed with failures1101 is truthy1102 when elastic task is still running1103 is falsey1104 .permutation_completed?1105 when there are commits matching current permutation missing permissions1106 is expected not to be permutation completed1107 when there are no commits matching current permutation missing permissions1108 is expected to be permutation completed1109MergeRequests::ByApproversFinder1110 filter by no approvers1111 returns merge requests without approvers1112 filter by any approver1113 returns only merge requests with approvers1114 filter by second approver1115 returns only merge requests with the second approver1116 filter by both approvers1117 returns only merge requests with both approvers1118 pass empty params1119 returns all merge requests1120 filter by an approver from group1121 returns only merge requests with the approver from group1122 filter by an overridden approver from project1123 returns only merge requests with the project approver1124 filter by approvers1125 can be ordered by popularity1126 can be ordered by priority1127BillingPlansHelper1128 #subscription_plan_data_attributes1129 when group and plan with ID present1130 returns data attributes1131 with refresh_billings_seats feature flag off1132 returns data attributes1133 when group not present1134 returns empty data attributes1135 when plan not present1136 returns attributes1137 with refresh_billings_seats feature flag off1138 returns data attributes1139 when plan with ID not present1140 returns data attributes without upgrade href1141 with refresh_billings_seats feature flag off1142 returns data attributes1143 with different namespaces1144 with namespace1145 does not return billable_seats_href1146 with group1147 returns billable_seats_href for group1148 #use_new_purchase_flow?1149 type: "Group", plan: "default", trial_active: true1150 is expected to equal true1151 type: "Group", plan: "default", trial_active: false1152 is expected to equal false1153 type: "Group", plan: "free", trial_active: true1154 is expected to equal true1155 type: "Group", plan: "free", trial_active: false1156 is expected to equal true1157 type: "Group", plan: "bronze", trial_active: true1158 is expected to equal true1159 type: "Group", plan: "bronze", trial_active: false1160 is expected to equal false1161 type: "Group", plan: "silver", trial_active: true1162 is expected to equal true1163 type: "Group", plan: "silver", trial_active: false1164 is expected to equal false1165 type: "Group", plan: "premium", trial_active: true1166 is expected to equal true1167 type: "Group", plan: "premium", trial_active: false1168 is expected to equal false1169 type: "Group", plan: "gold", trial_active: true1170 is expected to equal true1171 type: "Group", plan: "gold", trial_active: false1172 is expected to equal false1173 type: "Group", plan: "ultimate", trial_active: true1174 is expected to equal true1175 type: "Group", plan: "ultimate", trial_active: false1176 is expected to equal false1177 type: "Group", plan: "ultimate_trial", trial_active: true1178 is expected to equal true1179 type: "Group", plan: "ultimate_trial", trial_active: false1180 is expected to equal false1181 type: "Group", plan: "premium_trial", trial_active: true1182 is expected to equal true1183 type: "Group", plan: "premium_trial", trial_active: false1184 is expected to equal false1185 type: "Group", plan: "opensource", trial_active: true1186 is expected to equal true1187 type: "Group", plan: "opensource", trial_active: false1188 is expected to equal false1189 type: "User", plan: "default", trial_active: true1190 is expected to equal false1191 type: "User", plan: "default", trial_active: false1192 is expected to equal false1193 type: "User", plan: "free", trial_active: true1194 is expected to equal false1195 type: "User", plan: "free", trial_active: false1196 is expected to equal false1197 type: "User", plan: "bronze", trial_active: true1198 is expected to equal false1199 type: "User", plan: "bronze", trial_active: false1200 is expected to equal false1201 type: "User", plan: "silver", trial_active: true1202 is expected to equal false1203 type: "User", plan: "silver", trial_active: false1204 is expected to equal false1205 type: "User", plan: "premium", trial_active: true1206 is expected to equal false1207 type: "User", plan: "premium", trial_active: false1208 is expected to equal false1209 type: "User", plan: "gold", trial_active: true1210 is expected to equal false1211 type: "User", plan: "gold", trial_active: false1212 is expected to equal false1213 type: "User", plan: "ultimate", trial_active: true1214 is expected to equal false1215 type: "User", plan: "ultimate", trial_active: false1216 is expected to equal false1217 type: "User", plan: "ultimate_trial", trial_active: true1218 is expected to equal false1219 type: "User", plan: "ultimate_trial", trial_active: false1220 is expected to equal false1221 type: "User", plan: "premium_trial", trial_active: true1222 is expected to equal false1223 type: "User", plan: "premium_trial", trial_active: false1224 is expected to equal false1225 type: "User", plan: "opensource", trial_active: true1226 is expected to equal false1227 type: "User", plan: "opensource", trial_active: false1228 is expected to equal false1229 when the group is on a plan eligible for the new purchase flow1230 when the user has a last name1231 returns true1232 when the user does not have a last name1233 returns false1234 #upgrade_offer_type1235 when plan has a valid property1236 plan_name: "bronze", for_free: true, plan_id: "123456789", result: :upgrade_for_free1237 is expected to eq :upgrade_for_free1238 plan_name: "bronze", for_free: true, plan_id: "987654321", result: :no_offer1239 is expected to eq :no_offer1240 plan_name: "bronze", for_free: true, plan_id: nil, result: :no_offer1241 is expected to eq :no_offer1242 plan_name: "bronze", for_free: false, plan_id: "123456789", result: :upgrade_for_offer1243 is expected to eq :upgrade_for_offer1244 plan_name: "bronze", for_free: false, plan_id: nil, result: :no_offer1245 is expected to eq :no_offer1246 plan_name: "bronze", for_free: nil, plan_id: nil, result: :no_offer1247 is expected to eq :no_offer1248 plan_name: "premium", for_free: nil, plan_id: nil, result: :no_offer1249 is expected to eq :no_offer1250 plan_name: nil, for_free: true, plan_id: nil, result: :no_offer1251 is expected to eq :no_offer1252 #has_upgrade?1253 offer_type: :no_offer, result: false1254 is expected to eq false1255 offer_type: :upgrade_for_free, result: true1256 is expected to eq true1257 offer_type: :upgrade_for_offer, result: true1258 is expected to eq true1259 #show_contact_sales_button?1260 link_action: "upgrade", upgrade_offer: :no_offer, result: true1261 is expected to eq true1262 link_action: "upgrade", upgrade_offer: :upgrade_for_free, result: false1263 is expected to eq false1264 link_action: "upgrade", upgrade_offer: :upgrade_for_offer, result: true1265 is expected to eq true1266 link_action: "no_upgrade", upgrade_offer: :no_offer, result: false1267 is expected to eq false1268 link_action: "no_upgrade", upgrade_offer: :upgrade_for_free, result: false1269 is expected to eq false1270 link_action: "no_upgrade", upgrade_offer: :upgrade_for_offer, result: false1271 is expected to eq false1272 #show_upgrade_button?1273 link_action: "upgrade", upgrade_offer: :no_offer, result: true1274 is expected to eq true1275 link_action: "upgrade", upgrade_offer: :upgrade_for_free, result: true1276 is expected to eq true1277 link_action: "upgrade", upgrade_offer: :upgrade_for_offer, result: false1278 is expected to eq false1279 link_action: "no_upgrade", upgrade_offer: :no_offer, result: false1280 is expected to eq false1281 link_action: "no_upgrade", upgrade_offer: :upgrade_for_free, result: false1282 is expected to eq false1283 link_action: "no_upgrade", upgrade_offer: :upgrade_for_offer, result: false1284 is expected to eq false1285 #plan_feature_list1286 returns features list sorted by highlight attribute1287 #seats_data_last_update_info1288 when last_enqueue_time from the worker is known1289 shows the last enqueue time1290 when last_enqueue_time from the worker is unknown1291 shows default message1292 #plan_purchase_or_upgrade_url1293 is upgradable1294 is purchasable1295 #plan_purchase_url1296 builds correct url with some source1297 builds correct url for the old purchase flow1298 #hand_raise_props1299 builds correct hash1300 #free_plan_billing_hand_raise_props1301 builds correct hash1302 #upgrade_button_text1303 plan_offer_type: :no_offer, result: "Upgrade"1304 is expected to eq "Upgrade"1305 plan_offer_type: :upgrade_for_free, result: "Upgrade for free"1306 is expected to eq "Upgrade for free"1307 plan_offer_type: :upgrade_for_offer, result: "Upgrade"1308 is expected to eq "Upgrade"1309 #upgrade_button_css_classes1310 is_current_plan: true, trial_active: true, plan_is_deprecated: true, use_new_purchase_flow: true1311 returns the expected list of CSS classes1312 is_current_plan: true, trial_active: true, plan_is_deprecated: true, use_new_purchase_flow: false1313 returns the expected list of CSS classes1314 is_current_plan: true, trial_active: true, plan_is_deprecated: false, use_new_purchase_flow: true1315 returns the expected list of CSS classes1316 is_current_plan: true, trial_active: true, plan_is_deprecated: false, use_new_purchase_flow: false1317 returns the expected list of CSS classes1318 is_current_plan: true, trial_active: false, plan_is_deprecated: true, use_new_purchase_flow: true1319 returns the expected list of CSS classes1320 is_current_plan: true, trial_active: false, plan_is_deprecated: true, use_new_purchase_flow: false1321 returns the expected list of CSS classes1322 is_current_plan: true, trial_active: false, plan_is_deprecated: false, use_new_purchase_flow: true1323 returns the expected list of CSS classes1324 is_current_plan: true, trial_active: false, plan_is_deprecated: false, use_new_purchase_flow: false1325 returns the expected list of CSS classes1326 is_current_plan: false, trial_active: true, plan_is_deprecated: true, use_new_purchase_flow: true1327 returns the expected list of CSS classes1328 is_current_plan: false, trial_active: true, plan_is_deprecated: true, use_new_purchase_flow: false1329 returns the expected list of CSS classes1330 is_current_plan: false, trial_active: true, plan_is_deprecated: false, use_new_purchase_flow: true1331 returns the expected list of CSS classes1332 is_current_plan: false, trial_active: true, plan_is_deprecated: false, use_new_purchase_flow: false1333 returns the expected list of CSS classes1334 is_current_plan: false, trial_active: false, plan_is_deprecated: true, use_new_purchase_flow: true1335 returns the expected list of CSS classes1336 is_current_plan: false, trial_active: false, plan_is_deprecated: true, use_new_purchase_flow: false1337 returns the expected list of CSS classes1338 is_current_plan: false, trial_active: false, plan_is_deprecated: false, use_new_purchase_flow: true1339 returns the expected list of CSS classes1340 is_current_plan: false, trial_active: false, plan_is_deprecated: false, use_new_purchase_flow: false1341 returns the expected list of CSS classes1342 #billing_available_plans1343 when namespace is not on a plan1344 returns plans without deprecated1345 when namespace is on an active plan1346 returns plans without deprecated1347 when namespace is on a deprecated plan1348 returns plans with a deprecated plan1349 when namespace is on a deprecated plan that has hide_deprecated_card set to true1350 returns plans without the deprecated plan1351 when namespace is on a plan that has hide_deprecated_card set to true, but deprecated? is false1352 returns plans with the deprecated plan1353 #subscription_plan_info1354 returns the current plan1355 returns nil if no plan matches the code1356 breaks a tie with the current_subscription_plan attribute if multiple plans have the same code1357 returns nil if no plan matches the code even if current_subscription_plan is true1358 returns the plan matching the plan code even if current_subscription_plan is false1359 #show_plans?1360 free_personal: false, trial_active: false, gold_plan: false, ultimate_plan: false, opensource_plan: false, expectations: true1361 returns boolean1362 free_personal: false, trial_active: true, gold_plan: false, ultimate_plan: false, opensource_plan: false, expectations: true1363 returns boolean1364 free_personal: false, trial_active: false, gold_plan: true, ultimate_plan: false, opensource_plan: false, expectations: false1365 returns boolean1366 free_personal: false, trial_active: true, gold_plan: true, ultimate_plan: false, opensource_plan: false, expectations: true1367 returns boolean1368 free_personal: false, trial_active: false, gold_plan: false, ultimate_plan: true, opensource_plan: false, expectations: false1369 returns boolean1370 free_personal: false, trial_active: true, gold_plan: false, ultimate_plan: true, opensource_plan: false, expectations: true1371 returns boolean1372 free_personal: false, trial_active: false, gold_plan: true, ultimate_plan: true, opensource_plan: false, expectations: false1373 returns boolean1374 free_personal: false, trial_active: true, gold_plan: true, ultimate_plan: true, opensource_plan: false, expectations: true1375 returns boolean1376 free_personal: true, trial_active: true, gold_plan: true, ultimate_plan: true, opensource_plan: false, expectations: false1377 returns boolean1378 free_personal: false, trial_active: false, gold_plan: false, ultimate_plan: false, opensource_plan: true, expectations: false1379 returns boolean1380 #show_start_free_trial_messages?1381 free_personal: false, eligible_for_trial: true, expected: true1382 returns correct boolean value1383 free_personal: true, eligible_for_trial: true, expected: false1384 returns correct boolean value1385 free_personal: false, eligible_for_trial: false, expected: false1386 returns correct boolean value1387 #billing_upgrade_button_data1388 has expected data1389 #start_free_trial_data1390 has expected data1391 #add_namespace_plan_to_group_instructions1392 with maintained or owned group1393 instructs to move the project to a group1394 without a group1395 instructs to create a group then move the project to a group1396Namespaces::FreeUserCap::RemediationWorker1397 #perform1398 when on gitlab.com1399 when feature flags are on1400 remediates data and settings according to free plan guidelines1401 when an error occurs1402 logs an error1403 with feature flags and environments1404 should_check_namespace_plan: true, free_user_cap: true, free_user_cap_data_remediation_job: true, group_sharing_remediation: true1405 does not remediate the namespaces1406 should_check_namespace_plan: true, free_user_cap: true, free_user_cap_data_remediation_job: true, group_sharing_remediation: false1407 does not remediate the namespaces1408 should_check_namespace_plan: true, free_user_cap: true, free_user_cap_data_remediation_job: false, group_sharing_remediation: true1409 does not remediate the namespaces1410 should_check_namespace_plan: true, free_user_cap: true, free_user_cap_data_remediation_job: false, group_sharing_remediation: false1411 does not remediate the namespaces1412 should_check_namespace_plan: true, free_user_cap: false, free_user_cap_data_remediation_job: true, group_sharing_remediation: true1413 does not remediate the namespaces1414 should_check_namespace_plan: true, free_user_cap: false, free_user_cap_data_remediation_job: true, group_sharing_remediation: false1415 does not remediate the namespaces1416 should_check_namespace_plan: true, free_user_cap: false, free_user_cap_data_remediation_job: false, group_sharing_remediation: true1417 does not remediate the namespaces1418 should_check_namespace_plan: true, free_user_cap: false, free_user_cap_data_remediation_job: false, group_sharing_remediation: false1419 does not remediate the namespaces1420 should_check_namespace_plan: false, free_user_cap: true, free_user_cap_data_remediation_job: true, group_sharing_remediation: true1421 does not remediate the namespaces1422 should_check_namespace_plan: false, free_user_cap: true, free_user_cap_data_remediation_job: true, group_sharing_remediation: false1423 does not remediate the namespaces1424 should_check_namespace_plan: false, free_user_cap: true, free_user_cap_data_remediation_job: false, group_sharing_remediation: true1425 does not remediate the namespaces1426 should_check_namespace_plan: false, free_user_cap: true, free_user_cap_data_remediation_job: false, group_sharing_remediation: false1427 does not remediate the namespaces1428 should_check_namespace_plan: false, free_user_cap: false, free_user_cap_data_remediation_job: true, group_sharing_remediation: true1429 does not remediate the namespaces1430 should_check_namespace_plan: false, free_user_cap: false, free_user_cap_data_remediation_job: true, group_sharing_remediation: false1431 does not remediate the namespaces1432 should_check_namespace_plan: false, free_user_cap: false, free_user_cap_data_remediation_job: false, group_sharing_remediation: true1433 does not remediate the namespaces1434 should_check_namespace_plan: false, free_user_cap: false, free_user_cap_data_remediation_job: false, group_sharing_remediation: false1435 does not remediate the namespaces1436Vulnerabilities::StatDiff1437 #update_required?1438 when the vulnerability is destroyed1439 is expected to be truthy1440 when the vulnerability is not destroyed1441 when the severity is changed1442 is expected to be truthy1443 when the severity is not changed1444 when the state is changed1445 from: "confirmed", to: "detected", is_update_required: false1446 is expected to eq false1447 from: "confirmed", to: "resolved", is_update_required: true1448 is expected to eq true1449 from: "confirmed", to: "dismissed", is_update_required: true1450 is expected to eq true1451 from: "detected", to: "confirmed", is_update_required: false1452 is expected to eq false1453 from: "detected", to: "resolved", is_update_required: true1454 is expected to eq true1455 from: "detected", to: "dismissed", is_update_required: true1456 is expected to eq true1457 from: "resolved", to: "dismissed", is_update_required: false1458 is expected to eq false1459 from: "resolved", to: "confirmed", is_update_required: true1460 is expected to eq true1461 from: "resolved", to: "detected", is_update_required: true1462 is expected to eq true1463 from: "dismissed", to: "resolved", is_update_required: false1464 is expected to eq false1465 from: "dismissed", to: "confirmed", is_update_required: true1466 is expected to eq true1467 from: "dismissed", to: "detected", is_update_required: true1468 is expected to eq true1469 when the state is not changed1470 is expected to be falsey1471 #changes1472 when the vulnerability is destroyed1473 is expected to eq {"high"=>-1, "total"=>-1}1474 when the vulnerability is not destroyed1475 when the severity is changed1476 when the state is not changed1477 is expected to eq {"critical"=>1, "high"=>-1, "total"=>0}1478 when the state is changed1479 from: "confirmed", to: "detected", expected_changes: {"total"=>0, "high"=>-1, "critical"=>1}1480 is expected to eq {"critical"=>1, "high"=>-1, "total"=>0}1481 from: "confirmed", to: "resolved", expected_changes: {"total"=>-1, "high"=>-1}1482 is expected to eq {"high"=>-1, "total"=>-1}1483 from: "confirmed", to: "dismissed", expected_changes: {"total"=>-1, "high"=>-1}1484 is expected to eq {"high"=>-1, "total"=>-1}1485 from: "detected", to: "confirmed", expected_changes: {"total"=>0, "high"=>-1, "critical"=>1}1486 is expected to eq {"critical"=>1, "high"=>-1, "total"=>0}1487 from: "detected", to: "resolved", expected_changes: {"total"=>-1, "high"=>-1}1488 is expected to eq {"high"=>-1, "total"=>-1}1489 from: "detected", to: "dismissed", expected_changes: {"total"=>-1, "high"=>-1}1490 is expected to eq {"high"=>-1, "total"=>-1}1491 from: "resolved", to: "dismissed", expected_changes: {"total"=>0}1492 is expected to eq {"total"=>0}1493 from: "resolved", to: "confirmed", expected_changes: {"total"=>1, "critical"=>1}1494 is expected to eq {"critical"=>1, "total"=>1}1495 from: "resolved", to: "detected", expected_changes: {"total"=>1, "critical"=>1}1496 is expected to eq {"critical"=>1, "total"=>1}1497 from: "dismissed", to: "resolved", expected_changes: {"total"=>0}1498 is expected to eq {"total"=>0}1499 from: "dismissed", to: "confirmed", expected_changes: {"total"=>1, "critical"=>1}1500 is expected to eq {"critical"=>1, "total"=>1}1501 from: "dismissed", to: "detected", expected_changes: {"total"=>1, "critical"=>1}1502 is expected to eq {"critical"=>1, "total"=>1}1503 when the severity is not changed1504 when the state is changed1505 from: "confirmed", to: "detected", expected_changes: {"total"=>0}1506 is expected to eq {"total"=>0}1507 from: "confirmed", to: "resolved", expected_changes: {"total"=>-1, "high"=>-1}1508 is expected to eq {"high"=>-1, "total"=>-1}1509 from: "confirmed", to: "dismissed", expected_changes: {"total"=>-1, "high"=>-1}1510 is expected to eq {"high"=>-1, "total"=>-1}1511 from: "detected", to: "confirmed", expected_changes: {"total"=>0}1512 is expected to eq {"total"=>0}1513 from: "detected", to: "resolved", expected_changes: {"total"=>-1, "high"=>-1}1514 is expected to eq {"high"=>-1, "total"=>-1}1515 from: "detected", to: "dismissed", expected_changes: {"total"=>-1, "high"=>-1}1516 is expected to eq {"high"=>-1, "total"=>-1}1517 from: "resolved", to: "dismissed", expected_changes: {"total"=>0}1518 is expected to eq {"total"=>0}1519 from: "resolved", to: "confirmed", expected_changes: {"total"=>1, "high"=>1}1520 is expected to eq {"high"=>1, "total"=>1}1521 from: "resolved", to: "detected", expected_changes: {"total"=>1, "high"=>1}1522 is expected to eq {"high"=>1, "total"=>1}1523 from: "dismissed", to: "resolved", expected_changes: {"total"=>0}1524 is expected to eq {"total"=>0}1525 from: "dismissed", to: "confirmed", expected_changes: {"total"=>1, "high"=>1}1526 is expected to eq {"high"=>1, "total"=>1}1527 from: "dismissed", to: "detected", expected_changes: {"total"=>1, "high"=>1}1528 is expected to eq {"high"=>1, "total"=>1}1529 when the state is not changed1530 is expected to eq {"total"=>0}1531 #changed_attributes1532 when there are changes1533 is expected to eq ["total", "high"]1534 when there is no change1535 is expected to eq []1536 #changed_values1537 when there are changes1538 is expected to eq [-1, -1]1539 when there is no change1540 is expected to eq []1541Geo::PackageFileReplicator1542 invokes replicator.handle_after_create_commit on create1543 behaves like a replicator1544 Geo node status1545 on a secondary node1546 .synced_count1547 returns the number of synced items on secondary1548 .failed_count1549 returns the number of failed items on secondary1550 #replicator1551 is defined and does not raise error1552 .replicables_for_current_secondary1553 when syncing object storage is enabled1554 behaves like is implemented and returns a valid relation1555 is implemented1556 when syncing object storage is disabled1557 behaves like is implemented and returns a valid relation1558 is implemented1559 with selective sync disabled1560 behaves like is implemented and returns a valid relation1561 is implemented1562 with selective sync enabled for namespaces1563 behaves like is implemented and returns a valid relation1564 is implemented1565 with selective sync enabled for shards1566 behaves like is implemented and returns a valid relation1567 is implemented1568 #handle_after_create_commit1569 creates a Geo::Event1570 calls #after_verifiable_update1571 when replication feature flag is disabled1572 does not call #after_verifiable_update1573 does not publish1574 #handle_after_destroy1575 creates a Geo::Event1576 when replication feature flag is disabled1577 does not publish1578 created event consumption1579 when the blob's project is in replicables for this geo node1580 invokes Geo::BlobDownloadService1581 when the blob's project is not in replicables for this geo node1582 does not invoke Geo::BlobDownloadService1583 deleted event consumption1584 when model_record was deleted from the DB and the replicator only has its ID1585 invokes Geo::FileRegistryRemovalService1586 backward compatibility1587 invokes Geo::FileRegistryRemovalService when delete event is in deprecated format1588 when object storage is enabled1589 deletes the file from object storage1590 #carrierwave_uploader1591 is implemented1592 #model1593 is implemented1594 is a Class1595 #blob_path1596 when the file is locally stored1597 returns a valid path to a file1598 #calculate_checksum1599 when the file is locally stored1600 when the file exists1601 returns hexdigest of the file1602 when the file does not exist1603 raises an error1604 when the file is remotely stored1605 raises an error1606 #file_exists?1607 is expected to be truthy1608 when the file does not exist1609 is expected to be falsey1610 when the file is nil1611 is expected to be falsey1612 .bulk_create_delete_events_async1613 creates events1614 raises error when model_record_id is nil1615 behaves like a verifiable replicator1616 events1617 has checksum_succeeded event1618 .verification_enabled?1619 when replication is enabled1620 when verification_feature_flag_enabled? returns true1621 returns true1622 when verification_feature_flag_enabled? returns false1623 returns false1624 when replication is disabled1625 returns false1626 .checksummed_count1627 when verification is enabled1628 returns the number of available verifiables where verification succeeded1629 excludes non-success verification states1630 when verification is disabled1631 returns nil1632 .checksum_failed_count1633 when verification is enabled1634 returns the number of available verifiables where verification failed1635 excludes other verification states1636 when verification is disabled1637 returns nil1638 .verification_total_count1639 when verification is enabled1640 returns the number of verification_not_disabled registry rows1641 when verification is disabled1642 returns nil1643 .trigger_background_verification1644 when verification is enabled1645 enqueues VerificationBatchWorker1646 enqueues VerificationTimeoutWorker1647 enqueues VerificationStateBackfillWorker1648 for a Geo secondary1649 does not enqueue ReverificationBatchWorker1650 for a Geo primary1651 enqueues ReverificationBatchWorker1652 when verification is disabled1653 does not enqueue VerificationBatchWorker1654 does not enqueue VerificationTimeoutWorker1655 .backfill_verification_state_table1656 calls VerificationStateBackfillService1657 when on secondary1658 returns false1659 .verify_batch1660 when there are records needing verification1661 calls #verify on each replicator1662 .remaining_verification_batch_count1663 converts needs_verification_count to number of batches1664 .remaining_reverification_batch_count1665 converts needs_reverification_count to number of batches1666 .reverify_batch!1667 calls #reverify_batch1668 .replicator_batch_to_verify1669 returns usable Replicator instances1670 .model_record_id_batch_to_verify1671 when the batch is filled by pending rows1672 returns IDs of pending rows1673 does not call .verification_failed_batch1674 when that batch is not filled by pending rows1675 includes IDs of failed rows1676 .verification_pending_batch1677 when current node is a primary1678 delegates to the model class of the replicator1679 when current node is a secondary1680 delegates to the registry class of the replicator1681 .verification_failed_batch1682 when current node is a primary1683 delegates to the model class of the replicator1684 when current node is a secondary1685 delegates to the registry class of the replicator1686 .fail_verification_timeouts1687 when current node is a primary1688 delegates to the model class of the replicator1689 when current node is a secondary1690 delegates to the registry class of the replicator1691 #after_verifiable_update1692 verification_enabled: true, immutable: true, checksum: nil, checksummable: true, expect_verify_async: true1693 calls verify_async only if needed1694 verification_enabled: true, immutable: true, checksum: nil, checksummable: false, expect_verify_async: false1695 calls verify_async only if needed1696 verification_enabled: true, immutable: true, checksum: "abc123", checksummable: true, expect_verify_async: false1697 calls verify_async only if needed1698 verification_enabled: true, immutable: true, checksum: "abc123", checksummable: false, expect_verify_async: false1699 calls verify_async only if needed1700 verification_enabled: true, immutable: false, checksum: nil, checksummable: true, expect_verify_async: true1701 calls verify_async only if needed1702 verification_enabled: true, immutable: false, checksum: nil, checksummable: false, expect_verify_async: false1703 calls verify_async only if needed1704 verification_enabled: true, immutable: false, checksum: "abc123", checksummable: true, expect_verify_async: true1705 calls verify_async only if needed1706 verification_enabled: true, immutable: false, checksum: "abc123", checksummable: false, expect_verify_async: false1707 calls verify_async only if needed1708 verification_enabled: false, immutable: true, checksum: nil, checksummable: true, expect_verify_async: false1709 calls verify_async only if needed1710 verification_enabled: false, immutable: true, checksum: nil, checksummable: false, expect_verify_async: false1711 calls verify_async only if needed1712 verification_enabled: false, immutable: true, checksum: "abc123", checksummable: true, expect_verify_async: false1713 calls verify_async only if needed1714 verification_enabled: false, immutable: true, checksum: "abc123", checksummable: false, expect_verify_async: false1715 calls verify_async only if needed1716 verification_enabled: false, immutable: false, checksum: nil, checksummable: true, expect_verify_async: false1717 calls verify_async only if needed1718 verification_enabled: false, immutable: false, checksum: nil, checksummable: false, expect_verify_async: false1719 calls verify_async only if needed1720 verification_enabled: false, immutable: false, checksum: "abc123", checksummable: true, expect_verify_async: false1721 calls verify_async only if needed1722 verification_enabled: false, immutable: false, checksum: "abc123", checksummable: false, expect_verify_async: false1723 calls verify_async only if needed1724 #verify_async1725 on a Geo primary1726 calls verification_started! and enqueues VerificationWorker1727 #verify1728 wraps the checksum calculation in track_checksum_attempt!1729 #verification_state_tracker1730 on a Geo primary1731 returns model_record1732 on a Geo secondary1733 returns registry1734 #handle_after_checksum_succeeded1735 on a Geo primary1736 creates checksum_succeeded event1737 is called on verification success1738 on a Geo secondary1739 does not create an event1740 #consume_event_checksum_succeeded1741 with a persisted model_record1742 on a Geo primary1743 does nothing1744 on a Geo secondary1745 with a persisted registry1746 with a registry which is verified1747 sets state to verification_pending1748 with a registry which is pending verification1749 does not change state from verification_pending1750 with an unpersisted registry1751 does not persist the registry1752 #primary_verification_succeeded?1753 when the model record is verification_succeeded1754 returns true1755 when the model record is verification_succeeded1756 returns false1757 integration tests1758 on a primary1759 background backfill1760 verifies model records1761 triggered by events1762 verifies model records1763 on a secondary1764 background backfill1765 verifies registries1766 triggered by events1767 verifies registries1768Gitlab::CodeOwners::Loader1769 #entries1770 returns entries for the matched line1771 only calls out to the repository once1772 loads all users that are members of the project into the entry1773 does not load non members of the project into the entry1774 loads group members of the project into the entry1775 for multiple paths1776 loads 2 entries1777 performs 8 queries for users and groups1778 group as a code owner1779 loads group members as code owners1780 with the request store1781 only calls out to the repository once1782 only processes the file once1783 #members1784 non-sectional codeowners_content1785 behaves like returns users for passed path1786 returns users mentioned for the passed path do1787 when codeowners_content contains sections1788 behaves like returns users for passed path1789 returns users mentioned for the passed path do1790 #code_owners_path1791 when the file exists1792 returns the path to the code_owners file1793 when the file does not exist1794 returns nil1795 #code_owners_sections1796 when CODEOWNERS does not have sections1797 is expected to contain exactly "codeowners"1798 when CODEOWNERS contains sections1799 is expected to contain exactly "codeowners", "Documentation", and "Testing"1800 #empty_code_owners?1801 when file does not exist1802 returns true1803 when file is empty1804 returns true1805 when file content exists1806 returns false1807Groups::UpdateService#execute1808 audit events1809 #visibility1810 when licensed1811 does not log audit event if operation fails1812 when operation succeeds1813 logs an audit event1814 logs the audit event info1815 when not licensed1816 does not log audit event1817 ip restrictions1818 when IP restrictions were changed1819 when licensed1820 does not log audit event if operation fails1821 when operation succeeds1822 logs an audit event1823 logs the audit event info1824 when not licensed1825 does not log audit event1826 changing file_template_project_id1827 as a group maintainer1828 does not allow a project to be removed1829 does not allow a project to be set1830 as a group owner1831 allows a project to be removed1832 allows a valid project to be set1833 does not allow a project outwith the group to be set1834 does not allow a non-existent project to be set1835 in a subgroup1836 does not allow a project the group owner cannot see to be set1837 allows a project in the subgroup to be set1838 repository_size_limit assignment as Bytes1839 when param present1840 converts from MB to Bytes1841 when param not present1842 assign nil value1843 setting ip_restriction1844 when ip_restriction already exists1845 empty ip restriction param1846 deletes ip restriction1847 setting allowed email domain1848 when allowed_email_domain already exists1849 allowed_email_domains_list param is not specified1850 does not call EE::AllowedEmailDomains::UpdateService#execute1851 allowed_email_domains_list param is blank1852 as a group owner1853 calls EE::AllowedEmailDomains::UpdateService#execute1854 update is successful1855 deletes existing allowed_email_domain record1856 as a normal user1857 calls EE::AllowedEmailDomains::UpdateService#execute1858 update is not successful1859 registers an error1860 does not delete existing allowed_email_domain record1861 updating protected params1862 as an admin1863 updates the attributes1864 as a regular user1865 ignores the attributes1866 updating insight_attributes.project_id param1867 when project is not in the group1868 when user can read the project1869 behaves like ignorance of the Insights project ID1870 ignores the Insights project ID1871 when user cannot read the project1872 behaves like ignorance of the Insights project ID1873 ignores the Insights project ID1874 when project is in the group1875 when user can read the project1876 behaves like successful update of the Insights project1877 updates the Insights project1878 when user cannot read the project1879 behaves like ignorance of the Insights project ID1880 ignores the Insights project ID1881 updating `max_personal_access_token_lifetime` param1882 updates the attribute1883 when the group does not enforce managed accounts1884 behaves like it does not call the update lifetime service1885 doesn not call the update lifetime service1886 when the group enforces managed accounts1887 without `personal_access_token_expiration_policy` licensed1888 behaves like it does not call the update lifetime service1889 doesn not call the update lifetime service1890 with personal_access_token_expiration_policy licensed1891 when `max_personal_access_token_lifetime` is updated to null value1892 behaves like it does not call the update lifetime service1893 doesn not call the update lifetime service1894 when `max_personal_access_token_lifetime` is updated to a non-null value1895 executes the update lifetime service1896DastSiteProfile1897 behaves like sanitizable1898 includes Sanitizable1899 #name1900 when input includes javascript tags1901 gets sanitized1902 #name validation1903 when input contains pre-escaped html entities1904 is not valid1905 associations1906 is expected to belong to project required: false1907 is expected to belong to dast_site required: false1908 is expected to have many secret_variables class_name => Dast::SiteProfileSecretVariable1909 validations1910 is expected to be valid1911 is expected to validate that the length of :auth_password_field is at most 2551912 is expected to validate that the length of :auth_url is at most 10241913 is expected to validate that the length of :auth_username is at most 2551914 is expected to validate that the length of :auth_username_field is at most 2551915 is expected to validate that the length of :auth_submit_field is at most 2551916 is expected to validate that the length of :name is at most 2551917 is expected to validate that :dast_site_id cannot be empty/falsy1918 is expected to validate that :name cannot be empty/falsy1919 is expected to validate that :project_id cannot be empty/falsy1920 is expected to validate that :name is case-sensitively unique within the scope of :project_id1921 #auth_url1922 when the auth_uri is nil1923 is valid1924 when the auth_url is not a valid uri1925 is not valid1926 when the auth_url is not public1927 is valid1928 #excluded_urls1929 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",...›1930 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",...›1931 when there are some urls that are invalid1932 is not valid1933 #project1934 when the project_id and dast_site.project_id do not match1935 is not valid1936 scopes1937 .with_dast_site_and_validation1938 eager loads the association1939 .with_name1940 returns the dast_site_profiles with given name1941 enums1942 is expected to define :target_type as an enum backed by an integer with values ‹{website: 0, api: 1}›1943 is expected to define :scan_method as an enum backed by an integer with values ‹{site: 0, openapi: 1, har: 2, postman: 3}›, prefix: true1944 .names1945 returns the names for the DAST site profiles with the given IDs1946 when a profile is not found1947 rescues the error and returns an empty array1948 instance methods1949 #destroy!1950 when the associated dast_site has no dast_site_profiles1951 is also destroyed1952 when the associated dast_site has dast_site_profiles1953 is not destroyed1954 #status1955 when dast_site_validation association does not exist1956 is none1957 when dast_site_validation association does exist1958 is dast_site_validation#state1959 #referenced_in_security_policies1960 there is no security_orchestration_policy_configuration assigned to project1961 returns empty array1962 there is security_orchestration_policy_configuration assigned to project1963 calls security_orchestration_policy_configuration.active_policy_names_with_dast_site_profile with profile name1964 returns the referenced policy name1965 #ci_variables1966 without_dast_submit_field1967 returns a collection of variables1968 with_dast_submit_field1969 returns a collection of variables1970 when target_type=api1971 returns a collection of variables with api configuration only1972 when auth is disabled1973 returns a collection of variables excluding any auth variables1974 when excluded_urls is empty1975 is removed from the collection1976 when a variable is set to nil1977 is removed from the collection1978 #secret_ci_variables1979 when user can read secrets1980 works with policy1981 checks the policy1982 when there are no secret_variables1983 returns an empty collection1984 when there are secret_variables1985 returns a collection containing that variable1986 when user cannot read secrets1987 returns an empty collection1988 #ensure_scan_method1989 when the target_type is website1990 does not change the scan_method1991 when the target type is api1992 does set the scan_method to openapi1993Git::BranchPushService1994 with pull project1995 deleted branch1996 handles when remote branch exists1997 ElasticSearch indexing1998 runs ElasticCommitIndexerWorker1999 triggers indexer when push to default branch2000 when push to non-default branch2001 does not trigger indexer when push to non-default branch2002 when limited indexing is on2003 when the project is not enabled specifically2004 does not run ElasticCommitIndexerWorker2005 when a project is enabled specifically2006 runs ElasticCommitIndexerWorker2007 when a group is enabled2008 runs ElasticCommitIndexerWorker2009 External pull requests2010 runs UpdateExternalPullRequestsWorker2011 when project is not mirror2012 does nothing2013 when param skips pipeline creation2014 does nothing2015InstanceSecurityDashboard2016 #project_ids_with_security_reports2017 when given project IDs2018 returns the project IDs that are also on the user's security dashboard2019 when not given project IDs2020 returns the security dashboard projects' IDs2021 when the user cannot read all resources2022 only includes projects they can read2023 when the user can read all resources2024 includes all dashboard projects2025 #feature_available?2026 when the feature is available for the instance's license2027 returns true2028 when the feature is not available for the instance's license2029 returns false2030 #projects2031 when the user is auditor2032 behaves like project permissions2033 when the `security_and_compliance` is disabled for the project2034 is expected to be empty2035 when the `security_and_compliance` is enabled for the project2036 is expected to contain exactly #<Project id:621 namespace713/project673>>, #<Project id:622 namespace714/project674>>, and #<Project id:623 namespace715/project675>>2037 when the user is not an auditor2038 when the user is project owner2039 behaves like project permissions2040 when the `security_and_compliance` is disabled for the project2041 is expected to be empty2042 when the `security_and_compliance` is enabled for the project2043 is expected to contain exactly #<Project id:621 namespace713/project673>>2044 when the user is not project owner2045 behaves like user with project role2046 behaves like project permissions2047 when the `security_and_compliance` is disabled for the project2048 is expected to be empty2049 when the `security_and_compliance` is enabled for the project2050 is expected to contain exactly #<Project id:621 namespace713/project673>>2051 behaves like user with project role2052 behaves like project permissions2053 when the `security_and_compliance` is disabled for the project2054 is expected to be empty2055 when the `security_and_compliance` is enabled for the project2056 is expected to contain exactly #<Project id:621 namespace713/project673>>2057 behaves like user with project role2058 behaves like project permissions2059 when the `security_and_compliance` is disabled for the project2060 is expected to be empty2061 when the `security_and_compliance` is enabled for the project2062 is expected to contain exactly2063 behaves like user with project role2064 behaves like project permissions2065 when the `security_and_compliance` is disabled for the project2066 is expected to be empty2067 when the `security_and_compliance` is enabled for the project2068 is expected to contain exactly2069 #vulnerabilities2070 when the user cannot read all resources2071 returns only vulnerabilities from projects on their dashboard that they can read2072 when the user can read all resources2073 returns vulnerabilities from all projects on the user's dashboard2074 #vulnerability_reads2075 when the user cannot read all resources2076 returns only vulnerability_reads from projects on their dashboard that they can read2077 when the user can read all resources2078 returns vulnerability_reads from all projects on the user's dashboard2079 #vulnerability_scanners2080 when the user cannot read all resources2081 returns only vulnerability scanners from projects on their dashboard that they can read2082 when the user can read all resources2083 returns vulnerability scanners from all projects on the user's dashboard2084 #vulnerability_historical_statistics2085 when the user cannot read all resources2086 returns only vulnerability scanners from projects on their dashboard that they can read2087 when the user can read all resources2088 returns vulnerability scanners from all projects on the user's dashboard2089 #cluster_agents2090 when instance security dashboard has projects added2091 is expected to contain exactly #<Clusters::Agent id: 1, created_at: "2022-07-04 08:53:56.434829593 +0000", updated_at: "2022-07-04 0...9593 +0000", project_id: 621, name: "agent-1", created_by_user_id: 1401, has_vulnerabilities: false>2092 when instance security dashboard does not have any projects added2093 is expected to be empty2094 #full_path2095 returns the full_path of the user2096Security::SecurityOrchestrationPolicies::FetchPolicyApproversService2097 #execute2098 with group outside of the scope2099 does not return the unrelated group2100 with user approver2101 returns user approvers2102 with group approver2103 returns group approvers2104 with both user and group approvers2105 returns all approvers2106 with policy equals to nil2107 returns no approver2108 with action equals to nil2109 returns no approver2110 with action of an unknown type2111 returns no approver2112 with more users than the limit2113 ids_multiplier: 150, names_multiplier: 150, ids_expected: 150, names_expected: 1502114 considers only the first within the limit2115 ids_multiplier: 300, names_multiplier: 300, ids_expected: 0, names_expected: 3002116 considers only the first within the limit2117 ids_multiplier: 300, names_multiplier: 200, ids_expected: 100, names_expected: 2002118 considers only the first within the limit2119 ids_multiplier: 600, names_multiplier: 600, ids_expected: 0, names_expected: 3002120 considers only the first within the limit2121 with more groups than the limit2122 considers only the first within the limit2123Gitlab::Auth::GroupSaml::User2124 #valid_sign_in?2125 with matching user for that group and uid2126 returns true2127 with no matching user identity2128 returns false2129 #find_and_update!2130 with matching user for that group and uid2131 updates group membership2132 returns the user2133 does not mark the user as provisioned2134 when user attributes are present but the user is not provisioned2135 does not update the user can_create_group attribute2136 does not update the user projects_limit attribute2137 when the user has multiple group saml identities2138 returns the user2139 with no matching user identity2140 when a user does not exist2141 creates the user2142 does not confirm the user2143 returns the correct user2144 marks the user as provisioned by the group2145 creates the user SAML identity2146 does not send user confirmation email2147 when user attributes are present2148 creates the user with correct can_create_group attribute2149 creates the user with correct projects_limit attribute2150 when a conflicting user already exists2151 does not update membership2152 does not return a user2153 when user was provisioned by this group2154 updates membership2155 returns a user2156 updates identity2157 when user attributes are present2158 updates the user with correct can_create_group attribute2159 updates the user with correct projects_limit attribute2160 without feature flag turned on2161 does not update membership2162 does not return a user2163 does not update identity2164 when user was provisioned by different group2165 does not update membership2166 does not return a user2167 does not update identity2168 #bypass_two_factor?2169 is false2170AuditEvent2171 relationships2172 is expected to belong to user required: false2173 validations2174 is expected to validate that :author_id cannot be empty/falsy2175 is expected to validate that :entity_id cannot be empty/falsy2176 is expected to validate that :entity_type cannot be empty/falsy2177 callbacks2178 truncate_fields2179 entity_path2180 behaves like a truncated field2181 when values are provided2182 database_column: :long, details_value: nil, expected_value: :truncated2183 sets both values to be the same2184 database_column: :short, details_value: nil, expected_value: :short2185 sets both values to be the same2186 database_column: nil, details_value: :long, expected_value: :truncated2187 sets both values to be the same2188 database_column: nil, details_value: :short, expected_value: :short2189 sets both values to be the same2190 database_column: :long, details_value: :short, expected_value: :truncated2191 sets both values to be the same2192 when values are not provided2193 does not set2194 target_details2195 behaves like a truncated field2196 when values are provided2197 database_column: :long, details_value: nil, expected_value: :truncated2198 sets both values to be the same2199 database_column: :short, details_value: nil, expected_value: :short2200 sets both values to be the same2201 database_column: nil, details_value: :long, expected_value: :truncated2202 sets both values to be the same2203 database_column: nil, details_value: :short, expected_value: :short2204 sets both values to be the same2205 database_column: :long, details_value: :short, expected_value: :truncated2206 sets both values to be the same2207 when values are not provided2208 does not set2209 #stream_to_external_destinations2210 feature is licensed2211 entity is a group2212 behaves like successful audit event stream2213 when the group has no destinations2214 enqueues no workers2215 when the group has destination2216 enqueues one worker2217 entity is a project2218 behaves like successful audit event stream2219 when the group has no destinations2220 enqueues no workers2221 when the group has destination2222 enqueues one worker2223 when entity is not a group or project2224 enqueues no workers2225 feature is unlicensed2226 enqueues no workers2227 .by_entity2228 returns the correct audit events2229 .order_by2230 when sort by created_at in ascending order2231 sorts results by id in ascending order2232 when it is default2233 sorts results by id in descending order2234 #author_name2235 when user exists2236 returns user name2237 when user does not exist anymore2238 when database contains author_name2239 returns author_name2240 when details contains author_name2241 returns author_name2242 when details does not contains author_name2243 returns nil2244 when authored by an unauthenticated user2245 returns `An unauthenticated user`2246 #entity2247 when entity exists2248 returns the entity object2249 when entity does not exist2250 returns a NullEntity2251 #ip_address2252 when ip_address exists in both details hash and ip_address column2253 returns the value from ip_address column2254 when ip_address exists in details hash but not in ip_address column2255 returns the value from details hash2256 #entity_path2257 when entity_path exists in both details hash and entity_path column2258 returns the value from entity_path column2259 when entity_path exists in details hash but not in entity_path column2260 returns the value from details hash2261 #target_type2262 when target_type exists in both details hash and target_type column2263 returns the value from target_type column2264 when target_type exists in details hash but not in target_type column2265 returns the value from details hash2266 #present2267 returns a presenter2268 #formatted_details2269 converts value of `to` and `from` in `details` to string2270 author2271 when author exists2272 returns the author object2273 when author is unauthenticated2274 is an unauthenticated user2275 when author no longer exists2276 is a deleted user2277 entity_is_group_or_project?2278 when entity is a Group2279 is expected to equal true2280 when entity is a Project2281 is expected to equal true2282 when entity is an Epic2283 is expected to equal false2284Gitlab::ImportExport::Group::TreeRestorer2285 restore group tree2286 epics2287 has group epics2288 has award emoji2289 preserves epic state2290 epic notes2291 has epic notes2292 has award emoji on epic notes2293 has system note metadata2294 epic labels2295 has epic labels2296 board lists2297 has milestone & assignee lists2298 boards2299 has user generated milestones2300 does not have predefined milestones2301Groups::TransferService#execute2302 elasticsearch indexing2303 when elasticsearch_limit_indexing is on2304 when moving from a non-indexed namespace to an indexed namespace2305 invalidates the namespace and project cache and indexes the project and all associated data2306 when both namespaces are indexed2307 invalidates the namespace and project cache and indexes the project and all associated data2308 when elasticsearch_limit_indexing is off2309 does not invalidate the namespace or project cache and reindexes projects and associated data2310 with epics2311 when epics feature is disabled2312 transfers a group successfully2313 when epics feature is enabled2314 when group is moved completely out of the main group2315 keeps relations between epics in the group structure2316 removes relations to epics of the old parent group2317 when group is moved some levels up2318DEPRECATION WARNING: Passing an Active Record object to `quote` directly is deprecated2319and will be no longer quoted as id value in Rails 6.2.2320 (called from block in write_using_load_balancer at /builds/gitlab-org/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:120)2321 keeps relations between epics in the group structure2322DEPRECATION WARNING: Passing an Active Record object to `quote` directly is deprecated2323and will be no longer quoted as id value in Rails 6.2.2324 (called from block in write_using_load_balancer at /builds/gitlab-org/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:120)2325 removes relations to epics of the old parent group2326ComplianceManagement::Frameworks::CreateService2327 custom_compliance_frameworks is disabled2328 does not create a new compliance framework2329 responds with an error message2330 custom_compliance_frameworks is enabled2331 namespace has a parent2332 responds with a successful service response2333 creates the new framework in the root namespace2334 when using invalid parameters2335 responds with an error service response2336 when creating a compliance framework for a namespace that current_user is not the owner of2337 responds with an error service response2338 does not create a new compliance framework2339 when pipeline_configuration_full_path parameter is used and feature is not available2340 returns an error2341 when using parameters for a valid compliance framework2342 audits the changes2343 creates a new compliance framework2344 responds with a successful service response2345 has the expected attributes2346 when compliance pipeline configuration is available2347 sets the pipeline configuration path attribute2348Vulnerabilities::UpdateService2349 with an authorized user with proper permissions2350 behaves like calls Vulnerabilities::Statistics::UpdateService2351 calls the service class2352 when finding name is longer than 255 characters2353 truncates vulnerability title to have 255 characters2354 when neither severity nor confidence are overridden2355 updates the vulnerability from updated finding (title, severity and confidence only)2356 when severity is overridden2357 updates the vulnerability from updated finding (title and confidence only)2358 when confidence is overridden2359 updates the vulnerability from updated finding (title and severity only)2360 when the `resolved_on_default_branch` kwarg is provided2361 updates the resolved_on_default_branch attribute of vulnerability2362 when the `resolved_on_default_branch` kwarg is not provided2363 does not update the resolved_on_default_branch attribute of vulnerability2364 when security dashboard feature is disabled2365 raises an "access denied" error2366 when user does not have rights to update a vulnerability2367 raises an "access denied" error2368SearchHelper2369 #search_filter_input_options2370 with multiple issue assignees feature2371 allows multiple assignees in project context2372 allows multiple assignees in group context2373 allows multiple assignees in dashboard context2374 without multiple issue assignees feature2375 does not allow multiple assignees in project context2376 does not allow multiple assignees in group context2377 allows multiple assignees in dashboard context2378 iterations-endpoint2379 when iterations are available2380 includes iteration endpoint in project context2381 includes iteration endpoint in group context2382 does not include iterations endpoint for projects under a namespace2383 does not include iterations endpoint in dashboard context2384 when iterations are not available2385 does not include iterations endpoint in project context2386 does not include iterations endpoint in group context2387 search_autocomplete_opts2388 with a user2389 includes the users recently viewed epics2390 #search_entries_info_template2391 when all requirements are met2392 returns a custom message2393 when not in Gitlab.com2394 behaves like returns old message2395 is expected to eq "Showing %{count} %{scope} for %{term_element}"2396 when elastic search is not enabled2397 behaves like returns old message2398 is expected to eq "Showing %{count} %{scope} for %{term_element}"2399 when no user is present2400 behaves like returns old message2401 is expected to eq "Showing %{count} %{scope} for %{term_element}"2402 when not searching for snippets2403 behaves like returns old message2404 is expected to eq "Showing %{count} %{scope} for %{term_element}"2405 #highlight_and_truncate_issuable2406 when description is not present2407 does nothing2408 when description present2409 description: "test", search_highlight: {1=>{:description=>["gitlabelasticsearch→test←gitlabelasticsearch"]}}, expected: "<span class='gl-text-gray-900 gl-font-weight-bold'>test</span>"2410 sanitizes, truncates, and highlights the search term2411 description: "<span style=\"color: blue;\">this test should not be blue</span>", search_highlight: {1=>{:description=>["<span style=\"color: blue;\">this gitlabelasticsearch→test←gitlabelasticsearch should not be blue</span>"]}}, expected: "<span>this <span class='gl-text-gray-900 gl-font-weight-bold'>test</span> should not be blue</span>"2412 sanitizes, truncates, and highlights the search term2413 description: "<a href=\"#\" onclick=\"alert('XSS')\">Click Me test</a>", search_highlight: {1=>{:description=>["<a href=\"#\" onclick=\"alert('XSS')\">Click Me gitlabelasticsearch→test←gitlabelasticsearch</a>"]}}, expected: "<a href='#'>Click Me <span class='gl-text-gray-900 gl-font-weight-bold'>test</span></a>"2414 sanitizes, truncates, and highlights the search term2415 description: "<script type=\"text/javascript\">alert('Another XSS');</script> test", search_highlight: {1=>{:description=>["<script type=\"text/javascript\">alert('Another XSS');</script> gitlabelasticsearch→test←gitlabelasticsearch"]}}, expected: "alert('Another XSS'); <span class='gl-text-gray-900 gl-font-weight-bold'>test</span>"2416 sanitizes, truncates, and highlights the search term2417 description: "Lorem test ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec.", search_highlight: {1=>{:description=>["Lorem gitlabelasticsearch→test←gitlabelasticsearch ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec."]}}, expected: "Lorem <span class='gl-text-gray-900 gl-font-weight-bold'>test</span> ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Don..."2418 sanitizes, truncates, and highlights the search term2419 description: "<img src=\"https://random.foo.com/test.png\" width=\"128\" height=\"128\" />some image", search_highlight: {1=>{:description=>["<img src=\"https://random.foo.com/gitlabelasticsearch→test←gitlabelasticsearch.png\" width=\"128\" height=\"128\" />some image"]}}, expected: "some image"2420 sanitizes, truncates, and highlights the search term2421 #search_sort_options_json2422 with advanced search enabled2423 returns the correct data2424 with basic search enabled2425 returns the correct data2426IssuablePolicy2427 #rules2428 in a public project2429 disallows non-members from creating and deleting metric images2430 allows guests to read, create metric images, and delete them in their own issues2431 allows reporters to create and delete metric images2432 Create, read, delete issuable resource links2433 when available2434 allows developers2435 allows reporters2436 behaves like issuable resource links access2437 disallows non members2438 disallows guests2439 disallows all on non-incident issue type2440 when not available2441 disallows developers2442 disallows reporters2443 behaves like issuable resource links access2444 disallows non members2445 disallows guests2446 disallows all on non-incident issue type2447 in a private project2448 disallows non-members from creating and deleting metric images2449 allows guests to read metric images, and create + delete in their own issues2450 allows reporters to create and delete metric images2451 Create, read, delete issuable resource links2452 when available2453 allows developers2454 allows reporters2455 behaves like issuable resource links access2456 disallows non members2457 disallows guests2458 disallows all on non-incident issue type2459Gitlab::Auth::GroupSaml::GmaMembershipEnforcer2460 allows adding a project bot to project2461 when user is group-managed2462 allows adding user to project2463 when user is not group-managed2464 does not allow adding user to project2465 when the project is forked2466 when user is group-managed2467 allows adding user to project2468 when user is not group-managed2469 does not allow adding user to project2470 from deleted project2471 when user is group-managed2472 allows adding user to project2473 when user is not group-managed2474 does not allow adding user to project2475 when project is forked from namespace to group2476 when user is group-managed2477 allows adding user to project2478 when user is not group-managed2479 does not allow adding user to project2480Members::CreateService2481 with group plan observing quota limits2482 already exceeded invite quota limit2483 behaves like quota limit exceeded2484 is expected to include {:status => :error, :message => "Invite limit of 2 per day exceeded"}2485 is expected not to change `Member.count`2486 will exceed invite quota limit2487 behaves like quota limit exceeded2488 is expected to include {:status => :error, :message => "Invite limit of 3 per day exceeded"}2489 is expected not to change `Member.count`2490 within invite quota limit2491 is expected to eq {:status=>:success}2492 is expected to include #<User id:1652 @user833> and #<User id:1653 @user834>2493 infinite invite quota limit2494 is expected to eq {:status=>:success}2495 is expected to include #<User id:1652 @user833> and #<User id:1653 @user834>2496 without a plan2497 is expected to eq {:status=>:success}2498 is expected to include #<User id:1652 @user833> and #<User id:1653 @user834>2499 when assigning tasks to be done2500 when passing many user ids2501 creates 2 task issues2502 when reaching the free user cap limit2503 with a group-less project2504 sets members to the correct status2505 with a group project2506 sets members to the correct status2507ProtectedEnvironments::ApprovalSummary2508 #all_rules_approved?2509 when all rules have been approved2510 is expected to eq true2511 when one rule has multiple approvals2512 is expected to eq false2513 when one rule has been approved2514 is expected to eq false2515 when no rules have been approved2516 is expected to eq false2517 when unrelated deployment approvals exist2518 is expected to eq false2519 #rules2520 when all rules have been approved2521 correctly renders the approval summary2522 behaves like contains the required approval counts per type2523 is expected to eq 12524 when one rule has multiple approvals2525 correctly renders the approval summary2526 behaves like contains the required approval counts per type2527 is expected to eq 12528 when one rule has been approved2529 correctly renders the approval summary2530 behaves like contains the required approval counts per type2531 is expected to eq 12532 when no rules have been approved2533 correctly renders the approval summary2534 behaves like contains the required approval counts per type2535 is expected to eq 12536 when unrelated deployment approvals exist2537 correctly renders the approval summary2538 behaves like contains the required approval counts per type2539 is expected to eq 12540Gitlab::ExpiringSubscriptionMessage2541 message2542 plan_name: "gold"2543 subscribable installed2544 subscribable should not notify admins2545 returns nil2546 subscribable should notify admins2547 admin signed in2548 subscribable expired2549 when it blocks changes2550 when it is currently blocking changes2551 has a nice subject2552 when the subscription hasn't been properly downgraded yet2553 shows the expiring message2554 no namespace2555 has an expiration blocking message2556 with namespace2557 has an expiration blocking message2558 is auto_renew2559 has a nice subject2560 has an expiration blocking message2561 when there is a future renewal2562 is expected to be nil2563 without gitlab_subscription2564 does not check for a future renewal2565 when it is not currently blocking changes2566 has a nice subject2567 has an expiration blocking message2568 subscribable is expiring soon2569 has a nice subject2570 without namespace2571 has an expiration blocking message2572 when a future dated license is applied2573 returns nil2574 with namespace2575 has bronze plan specific messaging2576 plan: "gold"2577 has plan specific messaging2578 plan: "ultimate"2579 has plan specific messaging2580 plan: "silver"2581 has plan specific messaging2582 plan: "premium"2583 has plan specific messaging2584 is auto_renew nil2585 returns nil2586 is auto_renew2587 returns nil2588 when there is a future renewal2589 is expected to be nil2590 without gitlab_subscription2591 does not check for a future renewal2592 with a sub-group2593 checks for a future renewal2594 when parent namespace has a future renewal2595 is expected to be nil2596 no subscribable installed2597 is expected to be blank2598 plan_name: "ultimate"2599 subscribable installed2600 subscribable should not notify admins2601 returns nil2602 subscribable should notify admins2603 admin signed in2604 subscribable expired2605 when it blocks changes2606 when it is currently blocking changes2607 has a nice subject2608 when the subscription hasn't been properly downgraded yet2609 shows the expiring message2610 no namespace2611 has an expiration blocking message2612 with namespace2613 has an expiration blocking message2614 is auto_renew2615 has a nice subject2616 has an expiration blocking message2617 when there is a future renewal2618 is expected to be nil2619 without gitlab_subscription2620 does not check for a future renewal2621 when it is not currently blocking changes2622 has a nice subject2623 has an expiration blocking message2624 subscribable is expiring soon2625 has a nice subject2626 without namespace2627 has an expiration blocking message2628 when a future dated license is applied2629 returns nil2630 with namespace2631 has bronze plan specific messaging2632 plan: "gold"2633 has plan specific messaging2634 plan: "ultimate"2635 has plan specific messaging2636 plan: "silver"2637 has plan specific messaging2638 plan: "premium"2639 has plan specific messaging2640 is auto_renew nil2641 returns nil2642 is auto_renew2643 returns nil2644 when there is a future renewal2645 is expected to be nil2646 without gitlab_subscription2647 does not check for a future renewal2648 with a sub-group2649 checks for a future renewal2650 when parent namespace has a future renewal2651 is expected to be nil2652 no subscribable installed2653 is expected to be blank2654MergeRequests::ComplianceViolation2655 Associations2656 is expected to belong to violating_user required: false2657 is expected to belong to merge_request required: false2658 Validations2659 is expected to validate that :violating_user cannot be empty/falsy2660 is expected to validate that :merge_request cannot be empty/falsy2661 is expected to validate that :reason cannot be empty/falsy2662 is expected to validate that :severity_level cannot be empty/falsy2663 when a violation exists with the same reason and user for a merge request2664 does not create a duplicate merge request violation2665 Enums2666 is expected to define :reason as an enum backed by an integer with values ‹{approved_by_merge_request_author: 0, approved_by_committer: 1, approved_by_insufficient_users: 2}›2667 is expected to define :severity_level as an enum backed by an integer with values ‹{info: 0, low: 1, medium: 2, high: 3, critical: 4}›2668 #by_approved_by_committer2669 returns the correct collection of violations2670 #by_group2671 returns the correct collection of violations2672 #by_projects2673 returns the correct collection of violations2674 #merged_before2675 returns the correct collection of violations2676 #merged_after2677 returns the correct collection of violations2678 #order_by_reason2679 direction: "ASC", result: lazy { [violations[0], violations[1]] }2680 returns the correct collection of violations2681 direction: "DESC", result: lazy { [violations[1], violations[0]] }2682 returns the correct collection of violations2683 #order_by_severity_level2684 direction: "ASC", result: lazy { [violations[0], violations[1]] }2685 returns the correct collection of violations2686 direction: "DESC", result: lazy { [violations[1], violations[0]] }2687 returns the correct collection of violations2688 #order_by_merge_request_title2689 direction: "ASC", result: lazy { [violations[0], violations[1]] }2690 returns the correct collection of violations2691 direction: "DESC", result: lazy { [violations[1], violations[0]] }2692 returns the correct collection of violations2693 #order_by_merged_at2694 direction: "ASC", result: lazy { [violations[0], violations[1]] }2695 returns the correct collection of violations2696 direction: "DESC", result: lazy { [violations[1], violations[0]] }2697 returns the correct collection of violations2698 .process_merge_request2699 loops through each violation class2700Ci::BuildDependencies2701 for cross_project dependencies2702 when cross_dependencies are not defined2703 is expected to be empty2704 with missing dependency2705 is expected to be empty2706 with cross_dependencies to the same project2707 with artifacts true2708 is expected to contain exactly #<Ci::Build status: "success", finished_at: "2022-07-04 08:53:29.000000000 +0000", trace: nil, create...r_resource_at: nil, processed: false, scheduling_type: "stage", id: 17, stage_id: 17, tag_list: nil>2709 with artifacts false2710 is expected to be empty2711 with dependency names from environment variables2712 is expected to contain exactly #<Ci::Build status: "success", finished_at: "2022-07-04 08:53:29.000000000 +0000", trace: nil, create...r_resource_at: nil, processed: false, scheduling_type: "stage", id: 21, stage_id: 21, tag_list: nil>2713 with cross_dependencies to another ref in same project2714 is expected to contain exactly #<Ci::Build status: "success", finished_at: "2022-07-04 08:53:29.000000000 +0000", trace: nil, create...r_resource_at: nil, processed: false, scheduling_type: "stage", id: 23, stage_id: 23, tag_list: nil>2715 with cross_dependencies to a pipeline in another project2716 with permissions to other_project2717 contains both dependencies2718 when license does not have cross_project_pipelines2719 is expected to be empty2720 without permissions to other_project2721 is expected to contain exactly #<Ci::Build status: "success", finished_at: "2022-07-04 08:53:29.000000000 +0000", trace: nil, create...r_resource_at: nil, processed: false, scheduling_type: "stage", id: 32, stage_id: 32, tag_list: nil>2722 with too many cross_dependencies2723 returns a limited number of dependencies2724 #all2725 with both cross project and cross pipeline dependencies2726 returns both dependencies2727Geo::GroupWikiRepositoryReplicator2728 invokes replicator.handle_after_create_commit on create2729 behaves like a replicator2730 Geo node status2731 on a secondary node2732 .synced_count2733 returns the number of synced items on secondary2734 .failed_count2735 returns the number of failed items on secondary2736 #replicator2737 is defined and does not raise error2738 .replicables_for_current_secondary2739 when syncing object storage is enabled2740 behaves like is implemented and returns a valid relation2741 is implemented2742 when syncing object storage is disabled2743 behaves like is implemented and returns a valid relation2744 is implemented2745 with selective sync disabled2746 behaves like is implemented and returns a valid relation2747 is implemented2748 with selective sync enabled for namespaces2749 behaves like is implemented and returns a valid relation2750 is implemented2751 with selective sync enabled for shards2752 behaves like is implemented and returns a valid relation2753 is implemented2754 #handle_after_update2755 creates a Geo::Event2756 when replication feature flag is disabled2757 does not publish2758 #handle_after_destroy2759 creates a Geo::Event2760 when replication feature flag is disabled2761 does not publish2762 updated event consumption2763 in replicables_for_current_secondary list2764 runs Geo::FrameworkRepositorySyncService service2765 not in replicables_for_current_secondary list2766 does not run Geo::FrameworkRepositorySyncService service2767 deleted event consumption2768 runs Geo::RepositoryRegistryRemovalService service2769 .git_access_class2770 is implemented2771 .no_repo_message2772 is implemented2773 #model2774 is implemented2775 is a Class2776 .no_repo_message2777 returns the proper error message for group-level wikis2778EE::EnvironmentSerializer2779 behaves like avoid N+1 on environments serialization2780 avoids N+1 database queries with grouping2781 avoids N+1 database queries without grouping2782 does not preload for environments that does not exist in the page2783Vulnerabilities::FindingEntity2784 #as_json2785 contains required fields2786 false-positive2787 finds the vulnerability_finding as false_positive2788 does not contain false_positive field if license is not available2789 when not allowed to admin vulnerability feedback2790 does not contain vulnerability feedback paths2791 when allowed to admin vulnerability feedback2792 does not contain create jira issue path2793 contains vulnerability feedback dismissal path2794 contains vulnerability feedback issue path2795 contains vulnerability feedback merge_request path2796 when jira service is configured2797 does contains create jira issue path2798 when disallowed to create issue2799 does not contain create jira issue path2800 does not contain vulnerability feedback issue path2801 contains vulnerability feedback dismissal path2802 contains vulnerability feedback merge_request path2803 when disallowed to create merge_request2804 does not contain create jira issue path2805 does not contain vulnerability feedback merge_request path2806 contains vulnerability feedback issue path2807 contains vulnerability feedback dismissal path2808Analytics::GroupActivityCalculator2809 with issues2810 only returns the count of recent issues2811 caches value per user2812 when user does not have access to some issues2813 does not include those issues2814 with merge requests2815 only returns the count of recent MRs2816 caches value per user2817 when user does not have access to some MRs2818 does not include those MRs2819 with members2820 returns the count of recently added members2821 caches value per user2822 when there is a member who was not added recently2823 returns the count of recently added members2824 when user does not have access to some members2825 does not include those members2826Mutations::Issues::Update2827 behaves like updating health status2828 when the user has permission2829 and issuable_heath_status feature is disabled2830 does not update health status2831 and issuable_health_status feature is enabled2832 updates health status2833 updating parent epic2834 when epics feature is disabled2835 raises an error2836 when epics feature is enabled2837 for user without permissions2838 raises an error2839 for user with correct permissions2840 when a valid epic is given2841 updates the epic2842 returns the updated issue2843 when nil epic is given2844 set the epic to nil2845 returns the updated issue2846Geo::SecondaryUsageData2847 is valid2848 cannot have undefined fields in the payload2849 #git_fetch_event_count_weekly2850 behaves like a payload count field2851 defines git_fetch_event_count_weekly as a method2852 does not allow git_fetch_event_count_weekly to be a string2853 allows git_fetch_event_count_weekly to be nil2854 may not define git_fetch_event_count_weekly in the payload json2855 #git_push_event_count_weekly2856 behaves like a payload count field2857 defines git_push_event_count_weekly as a method2858 does not allow git_push_event_count_weekly to be a string2859 allows git_push_event_count_weekly to be nil2860 may not define git_push_event_count_weekly in the payload json2861 #proxy_remote_requests_event_count_weekly2862 behaves like a payload count field2863 defines proxy_remote_requests_event_count_weekly as a method2864 does not allow proxy_remote_requests_event_count_weekly to be a string2865 allows proxy_remote_requests_event_count_weekly to be nil2866 may not define proxy_remote_requests_event_count_weekly in the payload json2867 #proxy_local_requests_event_count_weekly2868 behaves like a payload count field2869 defines proxy_local_requests_event_count_weekly as a method2870 does not allow proxy_local_requests_event_count_weekly to be a string2871 allows proxy_local_requests_event_count_weekly to be nil2872 may not define proxy_local_requests_event_count_weekly in the payload json2873 #update_metrics!2874 metric git_fetch_event_count_weekly2875 behaves like update specific metric2876 gets metrics from prometheus2877 returns nil if metric is unavailable2878 returns nil if it cannot reach prometheus2879 metric git_push_event_count_weekly2880 behaves like update specific metric2881 gets metrics from prometheus2882 returns nil if metric is unavailable2883 returns nil if it cannot reach prometheus2884 metric proxy_remote_requests_event_count_weekly2885 behaves like update specific metric2886 gets metrics from prometheus2887 returns nil if metric is unavailable2888 returns nil if it cannot reach prometheus2889 metric proxy_local_requests_event_count_weekly2890 behaves like update specific metric2891 gets metrics from prometheus2892 returns nil if metric is unavailable2893 returns nil if it cannot reach prometheus2894PersonalAccessToken2895 scopes2896 with_expires_at_after2897 includes the tokens with higher than the lifetime expires_at value2898 doesn't contain expired tokens2899 doesn't contain tokens within the expiration time2900 with_no_expires_at2901 includes the tokens with nil expires_at2902 doesn't contain expired tokens2903 doesn't contain tokens within the expiration time2904 expires_in2905 only includes one token2906 validations2907 allows to define expires_at2908 allows to don't define expires_at2909 with expiration policy2910 when the feature is licensed2911 when the user does not belong to a managed group2912 behaves like PAT expiry rules are enforced2913 requires to be less or equal than the max_personal_access_token_lifetime2914 can't be blank2915 when the user belongs to a managed group2916 when the group has enforced a PAT expiry rule2917 behaves like PAT expiry rules are enforced2918 requires to be less or equal than the max_personal_access_token_lifetime2919 can't be blank2920 when the group has not enforced a PAT expiry setting2921 when the instance has enforced a PAT expiry setting2922 behaves like PAT expiry rules are enforced2923 requires to be less or equal than the max_personal_access_token_lifetime2924 can't be blank2925 when the instance does not enforce a PAT expiry setting2926 behaves like PAT expiry rules are not enforced2927 allows expiry to be after the max_personal_access_token_lifetime2928 can be blank2929 when the feature is not available2930 behaves like PAT expiry rules are not enforced2931 allows expiry to be after the max_personal_access_token_lifetime2932 can be blank2933 .pluck_names2934 returns the names of the tokens2935 .with_invalid_expires_at2936 includes the tokens with invalid expires_at2937 doesn't include valid tokens2938 doesn't include revoked tokens2939 doesn't include expired tokens2940 #revoke2941 clears cache on revoke access2942 after create callback2943 clears cache for the user2944Iterations::CreateService2945 for projects2946 behaves like iterations create service2947 iterations feature enabled2948 #execute2949 valid params2950 creates an iteration2951 invalid params2952 does not create an iteration but returns errors2953 no permissions2954 is not allowed2955 iterations feature disabled2956 #execute2957 is not allowed2958 for groups2959 group without cadences2960 behaves like iterations create service2961 iterations feature enabled2962 #execute2963 valid params2964 creates an iteration2965 invalid params2966 does not create an iteration but returns errors2967 no permissions2968 is not allowed2969 iterations feature disabled2970 #execute2971 is not allowed2972 group with a cadence2973 behaves like iterations create service2974 iterations feature enabled2975 #execute2976 valid params2977 creates an iteration2978 invalid params2979 does not create an iteration but returns errors2980 no permissions2981 is not allowed2982 iterations feature disabled2983 #execute2984 is not allowed2985 group with multiple cadences2986 behaves like iterations create service2987 iterations feature enabled2988 #execute2989 valid params2990 creates an iteration2991 invalid params2992 does not create an iteration but returns errors2993 no permissions2994 is not allowed2995 iterations feature disabled2996 #execute2997 is not allowed2998 with specific cadence being passed as param2999 creates an iteration3000 when iteration_cadences FF is disabled3001 creates an iteration in the default (first) cadence3002 does not update the iterations from the non-default cadences3003Epics::EpicLinks::ListService3004 #execute3005 when epics feature is disabled3006 returns an empty array3007 when epics feature is enabled3008 group member can see all child epics3009 returns related issues JSON3010 with nested groups3011 returns all child epics for a group member3012 returns only some child epics for a subgroup member3013Sidebars::Groups::Menus::SecurityComplianceMenu3014 #link3015 when menu has menu items3016 returns first visible menu item link3017 when menu does no have any menu item3018 returns show group security page3019 #title3020 is expected to eq "Security & Compliance"3021 when menu does not have any menu items3022 is expected to eq "Security"3023 #render?3024 returns true if there are menu items3025 when there are no menu items3026 returns false if there are no menu items3027 when show group discover security option is enabled3028 is expected to equal true3029 Menu Items3030 Security Dashboard3031 when security_dashboard feature is enabled3032 is expected not to be nil3033 when security_dashboard feature is not enabled3034 is expected to be nil3035 Vulnerability Report3036 when security_dashboard feature is enabled3037 is expected not to be nil3038 when security_dashboard feature is not enabled3039 is expected to be nil3040 Compliance3041 when group_level_compliance_dashboard feature is enabled3042 behaves like menu access rights3043 is expected not to be nil3044 when the user does not have access3045 is expected to be nil3046 when group_level_compliance_dashboard feature is not enabled3047 is expected to be nil3048 Credentials3049 when credentials_inventory feature is enabled3050 when group magement is not enforced3051 is expected to be nil3052 when group magement is enforced3053 behaves like menu access rights3054 is expected not to be nil3055 when the user does not have access3056 is expected to be nil3057 when credentials_inventory feature is not enabled3058 is expected to be nil3059 Security Policies3060 when scan_policies feature is enabled3061 when group security policies feature is disabled3062 behaves like menu access rights3063 is expected not to be nil3064 when the user does not have access3065 is expected to be nil3066 when group security policies feature is enabled3067 is expected to be nil3068 when scan_policies feature is not enabled3069 when group security policies feature is disabled3070 is expected to be nil3071 when group security policies feature is enabled3072 is expected to be nil3073 Audit Events3074 when audit_events feature is enabled3075 behaves like menu access rights3076 is expected not to be nil3077 when the user does not have access3078 is expected to be nil3079 when audit_events feature is not enabled3080 is expected to be nil3081Vulnerabilities::ExternalIssueLink3082 associations and fields3083 is expected to belong to vulnerability required: false3084 is expected to define :link_type as an enum backed by an integer with values ‹{created: 1}›3085 provides the "created" as default link_type3086 validations3087 is expected to validate that :vulnerability cannot be empty/falsy3088 is expected to validate that :external_issue_key cannot be empty/falsy3089 is expected to validate that :external_project_key cannot be empty/falsy3090 is expected to validate that :external_type cannot be empty/falsy3091 uniqueness3092 is expected to validate that :external_issue_key is case-sensitively unique within the scope of :vulnerability_id, :external_type, and :external_project_key, producing a custom validation error on failure3093 only one "created" link allowed per vulnerability3094 is expected to validate that :vulnerability_id is case-sensitively unique, producing a custom validation error on failure3095 created_for_vulnerability3096 gets external issue links for the specified vulnerability3097BlockingMergeRequestEntity3098 exposes simple attributes3099 serializes a blocking MR that lacks metrics3100 #head_pipeline3101 visible pipeline3102 is expected to include {:id => 55}3103 hidden pipeline3104 is expected to be nil3105 #reference3106 is expected to eq "!1"3107 from another project3108 includes the fully-qualified reference when needed3109Security::StoreScansWorker3110 #perform3111 when security reports can not be stored for the pipeline3112 does not call `Security::StoreScansService`3113 behaves like does not record an onboarding progress action3114 is expected not to receive new(*(any args)) 0 times3115 when security reports can be stored for the pipeline3116 calls `Security::StoreScansService`3117 security sast3118 behaves like records an onboarding progress action3119 is expected to receive execute({:action=>[:security_scan_enabled]}) 1 time3120 security dependency_scanning3121 behaves like records an onboarding progress action3122 is expected to receive execute({:action=>[:secure_dependency_scanning_run]}) 1 time3123 security container_scanning3124 behaves like records an onboarding progress action3125 is expected to receive execute({:action=>[:secure_container_scanning_run]}) 1 time3126 security dast3127 behaves like records an onboarding progress action3128 is expected to receive execute({:action=>[:secure_dast_run]}) 1 time3129 security secret_detection3130 behaves like records an onboarding progress action3131 is expected to receive execute({:action=>[:secure_secret_detection_run]}) 1 time3132 security coverage_fuzzing3133 behaves like records an onboarding progress action3134 is expected to receive execute({:action=>[:secure_coverage_fuzzing_run]}) 1 time3135 security api_fuzzing3136 behaves like records an onboarding progress action3137 is expected to receive execute({:action=>[:secure_api_fuzzing_run]}) 1 time3138 security cluster_image_scanning3139 behaves like records an onboarding progress action3140 is expected to receive execute({:action=>[:secure_cluster_image_scanning_run]}) 1 time3141MergeRequests::CreateFromVulnerabilityDataService#execute3142 when user does not have permission to create merge_request3143 returns expected error3144 when merge_requests are disabled on project3145 returns expected error3146 when params are valid3147 when category is dependency scanning3148 when a description is present3149 behaves like a created merge_request3150 creates the merge_request with the given params3151 when a description is NOT present3152 behaves like a created merge_request3153 creates the merge_request with the given params3154 when params are invalid3155 when category is unknown3156 return expected error3157 when remediations are missing3158 return expected error3159Gitlab::PaginationDelegate3160 no data3161 shows the correct total count3162 shows the correct total pages3163 shows the correct next page3164 shows the correct previous page3165 shows the correct current page3166 shows the correct limit value3167 shows the correct first page3168 shows the correct last page3169 shows the correct offset3170 with data3171 shows the correct total count3172 shows the correct total pages3173 shows the correct next page3174 shows the correct previous page3175 shows the correct current page3176 shows the correct limit value3177 shows the correct first page3178 shows the correct last page3179 shows the correct offset3180 last page3181 shows the correct total count3182 shows the correct total pages3183 shows the correct next page3184 shows the correct previous page3185 shows the correct current page3186 shows the correct limit value3187 shows the correct first page3188 shows the correct last page3189 shows the correct offset3190 limits and defaults3191 has a maximum limit per page3192 has a default per page3193 has a maximum page3194AppSec::Dast::Profiles::BuildConfigService3195 #execute3196 includes all profiles in the payload3197 behaves like a fetch operation3198 when licensed3199 when the profile exists3200 includes the profile in the payload3201 when the profile is not provided3202 does not include the profile in the payload3203 when the profile does not exist3204 behaves like an error occurred3205 communicates failure3206 when the profile cannot be read3207 behaves like an error occurred3208 communicates failure3209 when the user cannot create dast scans3210 behaves like an error occurred3211 communicates failure3212 when not licensed3213 behaves like an error occurred3214 communicates failure3215 behaves like a fetch operation3216 when licensed3217 when the profile exists3218 includes the profile in the payload3219 when the profile is not provided3220 does not include the profile in the payload3221 when the profile does not exist3222 behaves like an error occurred3223 communicates failure3224 when the profile cannot be read3225 behaves like an error occurred3226 communicates failure3227 when the user cannot create dast scans3228 behaves like an error occurred3229 communicates failure3230 when not licensed3231 behaves like an error occurred3232 communicates failure3233Geo::BlobDownloadService3234 #execute3235 when it can obtain the exclusive lease3236 when the registry record does not exist3237 when the downloader returns success3238 creates the registry3239 sets sync state to synced3240 when the downloader returns failure3241 when the file is not missing on the primary3242 creates the registry3243 sets sync state to failed3244 caps retry wait time to 1 hour3245 when the file is missing on the primary3246 creates the registry3247 sets sync state to failed3248 caps retry wait time to 4 hours3249Vulnerabilities::FindingDismissService3250 with an authorized user with proper permissions3251 when comment is added3252 dismisses a finding with comment3253 when the dismissal_reason is added3254 dismisses a finding3255 when Vulnerabilities::Feedback creation fails3256 returns the error3257 when security dashboard feature is disabled3258 raises an "access denied" error3259Gitlab::Usage::Metrics::Instrumentations::CountCiEnvironmentsApprovalRequired3260 for all time frame3261 behaves like a correct instrumented metric value and query3262 behaves like a correct instrumented metric value3263 has correct value3264 behaves like a correct instrumented metric query3265 has correct generate query3266 with multiple approvals per environment3267 behaves like a correct instrumented metric value and query3268 behaves like a correct instrumented metric value3269 has correct value3270 behaves like a correct instrumented metric query3271 has correct generate query3272 for 28d time frame3273 behaves like a correct instrumented metric value and query3274 behaves like a correct instrumented metric value3275 has correct value3276 behaves like a correct instrumented metric query3277 has correct generate query3278Gitlab::Geo::HealthCheck3279 #perform_checks3280 when an exception is raised3281 catches the exception nicely and returns the message3282 with PostgreSQL3283 on the primary node3284 returns an empty string3285 on the secondary node3286 when the Geo tracking DB is not configured3287 returns an error3288 when reusing an existing tracking database3289 returns an error when event_log_state is older than current node created_at3290 when the database is writable3291 returns an error3292 streaming replication3293 returns an error when replication is not working3294 archive recovery replication3295 returns an error when replication is not working3296 some sort of replication3297 that is not working3298 returns an error3299 that is working3300 returns an error if database is not fully migrated3301 finally returns an empty string when everything is healthy3302 #db_replication_lag_seconds3303 when there is no lag3304 returns 0 seconds3305 when there is lag3306 returns the number of seconds3307 #replication_enabled?3308 streaming_replication_enabled: false, archive_recovery_replication_enabled: false, result: false3309 returns the correct result3310 streaming_replication_enabled: true, archive_recovery_replication_enabled: false, result: true3311 returns the correct result3312 streaming_replication_enabled: false, archive_recovery_replication_enabled: true, result: true3313 returns the correct result3314 #replication_working?3315 streaming_replication_enabled: false, streaming_replication_active: nil, some_replication_active: false, result: false3316 returns the correct result3317 streaming_replication_enabled: false, streaming_replication_active: nil, some_replication_active: true, result: true3318 returns the correct result3319 streaming_replication_enabled: true, streaming_replication_active: false, some_replication_active: nil, result: false3320 returns the correct result3321 streaming_replication_enabled: true, streaming_replication_active: true, some_replication_active: nil, result: true3322 returns the correct result3323IssuablesAnalytics3324 #data3325 when issuable relation is ordered by priority3326 generates chart data correctly3327 when months_back parameter is nil3328 returns a hash containing the issues count created in the past 12 months3329 when months_back parameter is present3330 returns a hash containing the issues count created in the past x months3331Jobs/Browser-Performance-Testing.gitlab-ci.yml3332 the created pipeline3333 has no errors3334 when variable is KUBECONFIG and not CI_KUBERNETES_ACTIVE3335 is present3336 on master3337 behaves like browser_performance job on tag or branch3338 by default3339 when BROWSER_PERFORMANCE_DISABLED3340 on another branch3341 behaves like browser_performance job on tag or branch3342 by default3343 when BROWSER_PERFORMANCE_DISABLED3344 on tag3345 behaves like browser_performance job on tag or branch3346 by default3347 when BROWSER_PERFORMANCE_DISABLED3348 on merge request3349 has no jobs3350AlertManagement::Alert3351 associations3352 is expected to have many pending_escalations class_name => IncidentManagement::PendingEscalations::Alert3353 after_create3354 attempts to trigger auto rollback3355 #trigger_auto_rollback3356 executes AutoRollbackWorker3357 when status is not triggered3358 does not execute AutoRollbackWorker3359 when severity is not critical3360 does not execute AutoRollbackWorker3361 when project does not enable auto rollback3362 does not execute AutoRollbackWorker3363 when project does not have a license for auto rollback3364 does not execute AutoRollbackWorker3365 #escalation_policy3366 is expected to eq nil3367 when escalation policy exists on the project3368 returns the projects first (only) escalation policy3369Releases::CreateService3370 group milestones3371 when a group milestone is passed3372 when licenced3373 adds the group milestone3374 when unlicensed3375 returns an error3376 when a supergroup milestone is passed3377 raises an error3378Security::SecurityOrchestrationPolicies::ProjectCreateService3379 #execute3380 when security_orchestration_policies_configuration does not exist for project3381 creates policy project with maintainers and developers from target project as developers3382 when security_orchestration_policies_configuration does not exist for namespace3383 creates policy project with maintainers and developers from target group as developers3384 when adding users to security policy project fails3385 returns error3386 when project creation fails3387 returns error3388 when security_orchestration_policies_configuration already exists for project3389 returns error3390EE::Audit::ProjectSettingChangesAuditor3391 #execute3392 when project setting is updated3393 when squash option is changed3394 does not create audit event3395 when squash option is changed3396 creates an audit event3397 when squash option is changed3398 creates an audit event3399 when squash option is changed3400 creates an audit event3401 when squash option is changed3402 creates an audit event3403 when squash option is changed3404 does not create audit event3405 when squash option is changed3406 creates an audit event3407 when squash option is changed3408 creates an audit event3409 when squash option is changed3410 creates an audit event3411 when squash option is changed3412 creates an audit event3413 when squash option is changed3414 does not create audit event3415 when squash option is changed3416 creates an audit event3417 when squash option is changed3418 creates an audit event3419 when squash option is changed3420 creates an audit event3421 when squash option is changed3422 creates an audit event3423 when squash option is changed3424 does not create audit event3425 when allow_merge_on_skipped_pipeline is changed3426 prev_value: true, new_value: false3427 creates an audit event3428 prev_value: false, new_value: true3429 creates an audit event3430ExternalStatusChecks::UpdateService3431 when current user is project owner3432 updates an approval rule3433 is successful3434 when current user is not a project owner3435 does not change an approval rule3436 is unsuccessful3437 returns an unauthorized status3438 contains an appropriate message and error3439 audit events3440 executes ExternalStatusCheckChangesAuditor3441 when licensed3442 when a branch is added3443 when a new branch is added3444 logs an audit event3445 when another branch is added3446 logs an audit event3447 when a branch is removed3448 when the only branch is removed3449 logs an audit event3450 when a branch is removed3451 logs an audit event3452 behaves like does not create audit event when not licensed3453 does not log any audit event3454Gitlab::Graphql::Aggregations::Vulnerabilities::LazyUserNotesCountAggregate3455 #initialize3456 adds the vulnerability to the lazy state3457Skipping ./ee/spec/lib/gitlab/graphql/aggregations/vulnerabilities/lazy_user_notes_count_aggregate_spec.rb[1:1:2] 'Gitlab::Graphql::Aggregations::Vulnerabilities::LazyUserNotesCountAggregate#initialize uses lazy_user_notes_count_aggregate to collect aggregates' because it's flaky.3458 uses lazy_user_notes_count_aggregate to collect aggregates (PENDING: around hook at ./spec/support/flaky_tests.rb:21 did not execute the example)3459 #execute3460 if the record has already been loaded3461 does not make the query again3462 if the record has not been loaded3463 makes the query3464 clears the pending IDs3465MergeRequests::AfterCreateService3466 #execute3467 when the merge request has actual_head_pipeline3468 schedules a background job to sync security reports to approval rules3469 when the merge request does not have actual_head_pipeline3470 does not schedule a background job to sync security reports to approval rules3471MergeRequestPollWidgetEntity3472 Merge Trains3473 has merge train entity3474 when the merge train feature is disabled3475 does not have merge trains count3476 when the merge request is not on a merge train3477 does not have merge train index3478shared/credentials_inventory/personal_access_tokens/_personal_access_token.html.haml3479 shows the users name3480 shows the created on date3481 shows the expiry date3482 revoked date3483 when revoked is set3484 shows the revoked on date3485 does not show the revoke button3486 when revoked is not set3487 does not show the revoked on date3488 shows the revoke button3489 scopes3490 when set3491 shows the scopes3492 when not set3493 shows "No Scopes"3494Gitlab::Analytics::CycleAnalytics::StageEvents::MergeRequestLabelAdded3495 behaves like value stream analytics event3496 is expected to be a kind of String3497 is expected to be a kind of Symbol3498 is expected to include ApplicationRecord(abstract)3499 is expected to respond to #timestamp_projection3500 is expected to respond to #html_description3501 is expected to be a kind of Array3502 #apply_query_customization3503 expects an ActiveRecord::Relation object as argument and returns a modified version of it3504 #hash_code3505 returns a hash that uniquely identifies an event3506 does not differ when the same object is built with the same params3507 behaves like LEFT JOIN-able value stream analytics event3508 can use the event as LEFT JOIN3509 when looking at the record with data3510 contains the timestamp expression3511 when looking at the record without data3512 returns nil for the timestamp expression3513SlackIntegration3514 Associations3515 is expected to belong to integration required: false3516 Scopes3517 #with_bot3518 returns records with bot data3519 Validations3520 is expected to validate that :team_id cannot be empty/falsy3521 is expected to validate that :team_name cannot be empty/falsy3522 is expected to validate that :alias cannot be empty/falsy3523 is expected to validate that :user_id cannot be empty/falsy3524 is expected to validate that :integration cannot be empty/falsy3525DastScannerProfilePolicy3526 behaves like a dast on-demand scan policy3527 dast on-demand policies3528 when a user does not have access to the project3529 is expected to be disallowed :create_on_demand_dast_scan and :read_on_demand_dast_scan3530 when the user is a guest3531 is expected to be disallowed :create_on_demand_dast_scan and :read_on_demand_dast_scan3532 when the user is a reporter3533 is expected to be disallowed :create_on_demand_dast_scan and :read_on_demand_dast_scan3534 when the user is a developer3535 is expected to be allowed :create_on_demand_dast_scan and :read_on_demand_dast_scan3536 when the user is a maintainer3537 is expected to be allowed :create_on_demand_dast_scan and :read_on_demand_dast_scan3538 when the user is an owner3539 is expected to be allowed :create_on_demand_dast_scan and :read_on_demand_dast_scan3540 when the user is allowed3541 when on demand scan licensed feature is not available3542 is expected to be disallowed :create_on_demand_dast_scan and :read_on_demand_dast_scan3543EE::Audit::ComplianceFrameworkChangesAuditor3544 auditing compliance framework changes3545 when a project has no compliance framework3546 when the framework is added3547 adds an audit event3548 when a project has a compliance framework3549 when the framework is removed3550 adds an audit event3551 when the framework is changed3552 adds an audit event3553 when the framework is not changed3554 does not add an audit event3555GitlabSubscriptions::FetchPurchaseEligibleNamespacesService3556 #execute3557 when no namespaces are supplied3558 returns an array with an empty hash3559 when no plan_id or any_self_service_plan flag is supplied3560 logs and returns an error message3561 when no user is supplied3562 logs and returns an error message3563 when the http request fails3564 returns an error message3565 when all the namespaces are eligible3566 does not filter any namespaces3567 when the user has a namespace ineligible3568 is filtered from the results3569 when supplied the any_self_service_plan flag3570 filters the results by eligibility for any self service plan3571EE::Gitlab::Auth::AuthFinders3572 #find_user_from_geo_token3573 is expected to eq #<User id:1965 @user1029>3574 when the path is not Geo specific3575 is expected to eq nil3576 when the Authorization header is invalid3577 is expected to eq nil3578 when the Authorization header is nil3579 is expected to eq nil3580 when the Authorization header is a Geo header3581 does not authenticate when the token expired3582 does not authenticate when clocks are not in sync3583 does not authenticate with invalid decryption key error3584 when the scope is not API3585 does not authenticate3586 when it does not contain a user id3587 raises an unauthorize error3588 when the user does not exist3589 raises an unauthorized error3590Gitlab::Analytics::CycleAnalytics::StageEvents::IssueLastEdited3591 behaves like value stream analytics event3592 is expected to be a kind of String3593 is expected to be a kind of Symbol3594 is expected to include ApplicationRecord(abstract)3595 is expected to respond to #timestamp_projection3596 is expected to respond to #html_description3597 is expected to be a kind of Array3598 #apply_query_customization3599 expects an ActiveRecord::Relation object as argument and returns a modified version of it3600 #hash_code3601 returns a hash that uniquely identifies an event3602 does not differ when the same object is built with the same params3603Epics::CloseService3604 #execute3605 when epics are disabled3606 does not close the epic3607 when epics are enabled3608 when a user has permissions to update the epic3609 when closing an opened epic3610 closes the epic3611 changes closed_by3612 changes closed_at3613 creates a resource state event3614 notifies the subscribers3615 creates new event3616 tracks closing the epic3617 when trying to close a closed epic3618 does not change the epic state3619 does not change closed_at3620 does not change closed_by3621 does not create a resource state event3622 does not send any emails3623 does not create an event3624 does not track closing the epic3625 when a user does not have permissions to update epic3626 does not close the epic3627Backup::Repositories3628 #dump3629DEPRECATION WARNING: Merging ("members"."access_level" != $1) and ("members"."access_level" = $1) no longer maintain both conditions, and will be replaced by the latter in Rails 6.2. To migrate to Rails 6.2's behavior, use `relation.merge(other, rewhere: true)`. (called from block in write_using_load_balancer at /builds/gitlab-org/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:120)3630 calls enqueue for each repository type3631DEPRECATION WARNING: Merging ("members"."access_level" != $1) and ("members"."access_level" = $1) no longer maintain both conditions, and will be replaced by the latter in Rails 6.2. To migrate to Rails 6.2's behavior, use `relation.merge(other, rewhere: true)`. (called from block in write_using_load_balancer at /builds/gitlab-org/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:120)3632DEPRECATION WARNING: Merging ("members"."access_level" != $1) and ("members"."access_level" = $1) no longer maintain both conditions, and will be replaced by the latter in Rails 6.2. To migrate to Rails 6.2's behavior, use `relation.merge(other, rewhere: true)`. (called from block in write_using_load_balancer at /builds/gitlab-org/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:120)3633 avoids N+1 database queries3634 command failure3635DEPRECATION WARNING: Merging ("members"."access_level" != $1) and ("members"."access_level" = $1) no longer maintain both conditions, and will be replaced by the latter in Rails 6.2. To migrate to Rails 6.2's behavior, use `relation.merge(other, rewhere: true)`. (called from block in write_using_load_balancer at /builds/gitlab-org/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:120)3636 enqueue_group raises an error3637 group query raises an error3638 storages3639DEPRECATION WARNING: Merging ("members"."access_level" != $1) and ("members"."access_level" = $1) no longer maintain both conditions, and will be replaced by the latter in Rails 6.2. To migrate to Rails 6.2's behavior, use `relation.merge(other, rewhere: true)`. (called from block in write_using_load_balancer at /builds/gitlab-org/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:120)3640 calls enqueue for all repositories on the specified storage3641 #restore3642DEPRECATION WARNING: Merging ("members"."access_level" != $1) and ("members"."access_level" = $1) no longer maintain both conditions, and will be replaced by the latter in Rails 6.2. To migrate to Rails 6.2's behavior, use `relation.merge(other, rewhere: true)`. (called from block in write_using_load_balancer at /builds/gitlab-org/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:120)3643 calls enqueue for each repository type3644 storages3645DEPRECATION WARNING: Merging ("members"."access_level" != $1) and ("members"."access_level" = $1) no longer maintain both conditions, and will be replaced by the latter in Rails 6.2. To migrate to Rails 6.2's behavior, use `relation.merge(other, rewhere: true)`. (called from block in write_using_load_balancer at /builds/gitlab-org/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:120)3646 calls enqueue for all repositories on the specified storage3647 paths3648 calls enqueue for all descendant repositories on the specified group3649Groups::RepositoryStorageMove3650 behaves like handles repository moves3651 associations3652 is expected to belong to container required: false3653 validations3654 is expected to validate that :container cannot be empty/falsy3655 is expected to validate that :state cannot be empty/falsy3656 is expected to validate that :source_storage_name cannot be empty/falsy3657 is expected to validate that :destination_storage_name cannot be empty/falsy3658 source_storage_name inclusion3659 does not allow repository storages that don't match a label in the configuration3660 destination_storage_name inclusion3661 does not allow repository storages that don't match a label in the configuration3662 container repository read-only3663 does not allow the container to be read-only on create3664 defaults3665 destination_storage_name3666 can pick new storage3667 state transitions3668 when in the default state3669 and transits to scheduled3670 triggers the corresponding repository storage worker3671 when the transition fails3672 does not trigger the corresponding repository storage worker and adds an error3673 and transits to started3674 does not allow the transition3675 when started3676 and transits to replicated3677 marks the container as writable3678 updates the updated_at column of the container3679 and transits to failed3680 marks the container as writable3681GroupMemberPresenter3682 #group_sso?3683 calls through to User#group_sso?3684 when member does not have a user (invited member)3685 returns `false`3686 #group_managed_account?3687 when member does not have a user (invited member)3688 returns `false`3689 when user is part of the group managed account3690 returns `true`3691 when user is not part of the group managed account3692 returns `false`3693 #can_update?3694 when user cannot update_group_member but can override_group_member3695 is expected to eq true3696 when user cannot update_group_member and cannot override_group_member3697 is expected to eq false3698 #valid_level_roles?3699 with minimal access role feature switched on3700 is expected to eq {"Developer"=>30, "Guest"=>10, "Maintainer"=>40, "Minimal Access"=>5, "Owner"=>50, "Reporter"=>20}3701 with minimal access role feature switched off3702 behaves like #valid_level_roles3703 returns all roles when no parent member is present3704 returns higher roles when a parent member is present3705AppSec::Dast::SiteValidations::RunnerService3706 execute3707 when on demand scan licensed feature is not available3708 behaves like a failure3709 communicates failure3710 when the feature is enabled3711 communicates success3712 creates a ci_pipeline with an appropriate source3713 makes the correct variables available to the ci_build3714 when pipeline creation fails3715 transitions the dast_site_validation to a failure state3716Security::Ingestion::Tasks::IngestFindingPipelines3717 #execute3718 associates the findings with pipeline3719 behaves like bulk insertable task3720 when the validation fails3721 can generate error messages correctly3722Appearance3723 validations3724 is expected to allow :message_background_color to be ‹nil›3725 is expected to allow :message_background_color to be ‹"#000"›3726 is expected to allow :message_background_color to be ‹"#AABBCC"›3727 is expected not to allow :message_background_color to be ‹"000"›3728 is expected to allow :message_font_color to be ‹nil›3729 is expected to allow :message_font_color to be ‹"#000"›3730 is expected to allow :message_font_color to be ‹"#AABBCC"›3731 is expected not to allow :message_font_color to be ‹"000"›3732Banzai::Filter::References::LabelReferenceFilter3733 with scoped labels enabled3734 with a scoped label3735 renders scoped label3736 renders HTML tooltips3737 escapes HTML in the label's title3738 with a common label3739 renders common label3740 renders non-HTML tooltips3741 with scoped labels disabled3742 renders scoped label as a common label3743Operations routing routing3744 /-/operations3745 routes to the operations index action3746 routes to the operations create action3747 routes to operations destroy action3748 /-/operations/environments3749 routes to the environments list action3750 routes to the environments create action3751 routes to environments destroy action3752projects/project_members/index3753 when user can invite members for the project3754 when membership is locked3755 renders as expected3756 when project can not be shared3757 renders as expected3758 when managing members text is present3759 renders as expected3760 when user can not invite members or group for the project3761 when membership is locked and project can not be shared3762 renders as expected3763 when free plan limit alert is present3764 renders the alert partial3765Mutations::AuditEvents::Streaming::Headers::Destroy3766 #resolve3767 feature is unlicensed3768 is not authorized3769 feature is licensed3770 current_user is not group owner3771 returns useful error messages3772 current_user is group owner3773 deletes the header3774 when destroy fails3775 does not delete any headers3776 feature is disabled3777 is not authorized3778Banzai::Filter::CrossProjectIssuableInformationFilter3779 when the user cannot read cross project3780 skips links to issues within the same project3781 removes info from a cross project reference3782DastScannerProfilesFinder3783 #execute3784 returns all dast_scanner_profiles3785 filtering by ids3786 returns the dast_scanner_profile3787 filter by projects3788 returns the matching dast_scanner_profiles3789 filter by a project3790 returns the matching dast_scanner_profile3791 filter by name3792 returns the matching dast_scanner_profiles3793 filter by names3794 returns the matching dast_scanner_profiles3795 when DastScannerProfile id is for a different project3796 returns an empty relation3797 when the dast_scanner_profile1 does not exist3798 returns an empty relation3799Gitlab::RepoPath3800 .parse3801 parses a group wiki repository path3802 parses a redirected group wiki repository path3803 .find_project3804 without premium license3805 project_path matches a project alias3806 does not return a project3807 with premium license3808 project_path matches a project alias3809 returns the project3810 project_path does not match a project alias3811 project path matches project full path3812 returns the project3813 project path does not match an existing project full path3814 returns nil3815Analytics::CycleAnalytics::GroupValueStream3816 associations3817 is expected to belong to group required: false3818 is expected to have many stages3819 validations3820 is expected to validate that :group cannot be empty/falsy3821 is expected to validate that :name cannot be empty/falsy3822 is expected to validate that the length of :name is at most 1003823 validates uniqueness of name3824 ordering of stages3825 stages attribute3826 sorts stages by relative position3827 #custom?3828 when value stream is not persisted3829 when the name of the value stream is default3830 is expected not to be custom3831 when the name of the value stream is not default3832 is expected to be custom3833 when value stream is persisted3834 is expected to be custom3835ContainerRegistry::Client3836 #push_blob3837 PUT /v2/:name/blobs/uploads/url?digest=mytag3838 raises error if response status is not 2003839 #push_manifest3840 PUT v2/:name/manifests/:tag3841 raises error if response status is not 2003842 #blob_exists?3843 returns true3844 returns false3845 #repository_raw_manifest3846 GET "/v2/:name/manifests/:reference3847 #pull_blob3848 downloads file successfully when3849 raises error when it can not download blob3850 raises error when request is not authenticated3851 when primary_api_url is specified with trailing slash3852 builds correct URL3853 direct link to download, no redirect3854 downloads blob successfully3855EE::Gitlab::Scim::ValueParser3856 #type_cast3857 input: "True", expected_output: true3858 is expected to eq true3859 input: "true", expected_output: true3860 is expected to eq true3861 input: "False", expected_output: false3862 is expected to eq false3863 input: "false", expected_output: false3864 is expected to eq false3865 input: "\"Quoted String\"", expected_output: "Quoted String"3866 is expected to eq "Quoted String"3867 input: true, expected_output: true3868 is expected to eq true3869 input: false, expected_output: false3870 is expected to eq false3871 input: 123, expected_output: 1233872 is expected to eq 1233873Mutations::Vulnerabilities::Resolve3874 #resolve3875 when the user can resolve the vulnerability3876 when user doe not have access to the project3877 raises an error3878 when user has access to the project3879 returns the resolveed vulnerability3880AppSec::Dast::SiteProfiles::Audit::UpdateService3881 #execute3882 audits the changes in the given properties3883 omits the values for secret properties3884 omits the values for properties too long to be displayed3885 sorts properties that are arrays before comparing them3886EE::API::Entities::UserWithAdmin3887 using_license_seat3888 when user is using seat3889 returns true3890 when user is not using seat3891 returns false3892 is_auditor3893 when auditor_user is available3894 returns false when user is not an auditor3895 when user is an auditor3896 returns true3897 when auditor_user is not available3898 does not have the is_auditor param3899 provisioned_by_group_id3900 group_saml is available3901 returns false when user is not provisioned by group3902 when user is provisioned by group3903 returns group_id3904 when group_saml is not available3905 does not have the provisioned_by_group_id param3906IncidentManagement::IssuableEscalationStatuses::CreateService3907 behaves like creates an escalation status for the incident with no policy set3908 is expected to eq :triggered3909 when incident is associated to an alert3910 when no policy exists3911 behaves like creates an escalation status for the incident with no policy set3912 is expected to eq :acknowledged3913 when policy exists3914 creates an escalation status with the policy info3915 when escalation policy features are disabled3916 behaves like creates an escalation status for the incident with no policy set3917 is expected to eq :acknowledged3918shared/namespace_user_cap_reached_alert3919 renders a link to pending user approvals3920 renders a link to the root namespace pending user approvals3921 renders a link to the project namespace pending user approvals3922Resolvers::IncidentManagement::OncallScheduleResolver3923 is expected to have nullable GraphQL type IncidentManagementOncallScheduleConnection3924 returns on-call schedules3925 finding by iid3926 by single iid3927 by multiple iids3928 by no iids3929Geo::RegistryPolicy3930 when the user is an admin3931 when admin mode is enabled3932 allows read_geo_registry for any registry3933 when admin mode is disabled3934 disallows read_geo_registry for any registry3935 when the user is not an admin3936 disallows read_geo_registry for any registry3937AppSec::Fuzzing::API::CiConfiguration3938 #scan_profiles3939 when the request finishes successfully3940 returns all scan profiles3941 caches the response3942 when the response includes unknown scan profiles3943 excludes them from the returned profiles3944 when the request errors3945 returns an empty array3946 when the request returns an unsuccessful status code3947 returns an empty array3948ResourceEvents::MergeIntoNotesService3949 #execute3950 squashes events with same time and author into single note but scoped labels are separated3951 scoped labels3952 when all labels are automatically removed3953 adds "automatically removed" message3954 when any of the labels is manually removed3955 adds "removed" message3956 with weight events3957 includes the expected notes3958Integrations::JiraSerializers::IssueEntity3959 returns the Jira issues attributes3960 with Jira Server configuration3961 returns the Jira Server profile URL3962 includes the Atlassian referrer on gitlab.com3963 sets user id field to `name`3964 with only url3965 returns URLs with the web url3966 with Jira Cloud configuration3967 returns the Jira Cloud profile URL3968 includes the Atlassian referrer on gitlab.com3969 sets user id field to `accountId`3970 without assignee3971 returns an empty array3972 without labels3973 returns an empty array3974Elastic::MigrationOptions3975 #batched?3976 behaves like a boolean option3977 defaults to false3978 respects when batched is set for the class3979 #pause_indexing?3980 behaves like a boolean option3981 defaults to false3982 respects when pause_indexing is set for the class3983 #space_requirements?3984 behaves like a boolean option3985 defaults to false3986 respects when space_requirements is set for the class3987 #throttle_delay3988 has a default3989 respects when throttle_delay is set for the class3990 #batch_size3991 has a default3992 respects when batch_size is set for the class3993 #retry_on_failure?3994 returns false when max_attempts is not set3995 returns true when max_attempts is set3996 #max_attempts3997 returns default when retry_on_failure is set3998 returns max_attempts when it is set3999Container-Scanning.gitlab-ci.yml4000 the created pipeline4001 when project has no license4002 by default4003 includes job4004 with CS_MAJOR_VERSION greater than 34005 includes job4006 when CONTAINER_SCANNING_DISABLED=14007 includes no jobs4008Issues::BuildFromVulnerabilityService4009 #execute4010 builds the issue with the given params4011 when a vulnerability has remediations4012 displays Remediations section with attached diff4013projects/security/discover/show4014 renders vue app root with correct link4015 candidate for pql_three_cta_test4016 renders vue app root with candidate url4017 candidate for showcase_free_security_features4018 renders showcase and not security discover element4019Types::Boards::BoardEpicType4020 is expected to eq "BoardEpic"4021 has specific fields4022 #user_preferences4023 when user is not set4024 does not return any epics4025 when user and board is set4026 returns nil if there are not preferences4027 when user preferences are set4028 returns user preferences4029Gitlab::Analytics::CycleAnalytics::DistinctStageLoader4030 returns the distinct stages by stage_event_hash_id4031 when lead time and cycle time are not defined as stages4032 returns in-memory stages4033 creates two stage event hash records4034 returns 4 stages4035 when lead time and cycle time are persisted stages4036 does not create extra stage event hash records4037Gitlab::ImportExport::Group::GroupAndDescendantsRepoRestorer4038 when group wiki license feature is enabled4039 imports the group and subgroups wiki repo and returns true4040 if any of the wiki imports fails4041 returns false and stops importing other groups4042 when group is not inside group mappings4043 avoids calling the restorer, continue importing, and returns true4044 when group mapping is empty4045 does not try to import wikis and returns true4046 when group wiki license feature is not enabled4047 does not try to import wikis and returns true4048Resolvers::Analytics::DevopsAdoption::EnabledNamespacesResolver4049 #resolve4050 for instance level4051 as an admin user4052 returns enabled_namespaces for all groups without display_namespace4053 as a non-admin user4054 generates ResourceNotAvailable error4055 when the feature is not available4056 generates ResourceNotAvailable error4057 for group level4058 for reporter+4059 returns enabled_namespaces for given parent group and its descendants4060 for guests4061 generates ResourceNotAvailable error4062 when the feature is not available4063 generates ResourceNotAvailable error4064app/views/shared/labels/_create_label_help_text.html.haml4065 for project label4066 when license has scoped labels feature4067 displays scoped labels hint4068 when license does not have scoped labels feature4069 does not display scoped labels hint4070 for group label4071 when license has scoped labels feature4072 displays scoped labels hint4073 when license does not have scoped labels feature4074 does not display scoped labels hint4075Gitlab::Auth::GroupSaml::ResponseStore4076 #set_raw4077 stores values in Redis4078 sets a redis expiry time4079 #get_raw4080 retrives a value set by set_response4081 prevents memory bloat by deleting the value4082ProjectMirrorEntity4083 pull mirror4084 password authentication4085 represents the pull mirror4086 excludes password information4087 SSH public-key authentication4088 represents the pull mirror4089UserAnalyticsEntity4090 has all the user attributes4091 fetches push events for the user from the request4092 fetches issues_created events for the user from the request4093 fetches issues_closed events for the user from the request4094 fetches merge_requests_created events for the user from the request4095 fetches merge_requests_merged events for the user from the request4096 fetches merge_requests_approved events for the user from the request4097 fetches total_events events for the user from the request4098 sets 0 as the total when there were no events for a type4099Users::CreateService4100 #execute4101 audit events4102 when licensed4103 does not log audit event if operation fails4104 when operation succeeds4105 logs an audit event4106 logs the audit event info4107 when not licensed4108 does not log audit event4109 when audit is not required4110 does not log any audit event4111Security::SecurityOrchestrationPolicies::OnDemandScanPipelineConfigurationService4112 #execute4113 uses DastSiteProfilesFinder and DastScannerProfilesFinder to find DAST profiles within the project4114 delegates params creation to DastOnDemandScans::ParamsCreateService4115 fetches template content using ::TemplateFinder4116 returns prepared CI configuration with DAST On-Demand scans defined4117Gitlab::ComplianceManagement::Violations::ApprovedByMergeRequestAuthor4118 #execute4119 when merge request is approved by someone other than the author4120 does not create a ComplianceViolation4121 when merge request is also approved by the author4122 behaves like violation4123 creates a ComplianceViolation4124 when merge request is approved by its author4125 behaves like violation4126 creates a ComplianceViolation4127Types::Dast::ProfileType4128 is expected to eq "DastProfile"4129 is expected to require graphql authorizations :read_on_demand_dast_scan4130 is expected to have graphql fields :id, :name, :description, :dastSiteProfile, :dastScannerProfile, :dastProfileSchedule, :branch, and :editPath4131 is expected to have graphql field :branch and {:calls_gitaly?=>true}4132 branch field4133 correctly resolves the field4134 editPath field4135 correctly resolves the field4136 dastProfileSchedule field4137 correctly resolves the field4138LicenseEntity4139 #as_json4140 produces the correct representation4141 when the url is blank4142 url: ""4143 is expected to be nil4144 url: nil4145 is expected to be nil4146subscriptions/buy_storage4147 behaves like buy storage addon form data4148 is expected to have visible css "#js-buy-storage[data-active-subscription-name='S-000000000']"4149 is expected to have visible css "#js-buy-storage[data-group-data='[{\"id\":\"storage_plan_id\",\"code\":\"storage\",\"price_per_year\":10.0}]']"4150 is expected to have visible css "#js-buy-storage[data-plan-id='storage_plan_id']"4151 is expected to have visible css "#js-buy-storage[data-namespace-id='2']"4152 is expected to have visible css "#js-buy-storage[data-source='some_source']"4153 is expected to have visible css "#js-buy-storage[data-redirect-after-success='/groups/my-group/-/usage_quotas#storage-quota-tab']"4154Types::UserMergeRequestInteractionType4155 has the expected fields4156 #applicable_approval_rules4157 when there are no approval rules4158 is expected to be empty4159 when there are approval rules4160 when the feature is not available4161 is expected to be empty4162 when the feature is available4163 is expected to be empty4164 when the user is associated with a rule4165 is expected to contain exactly (have attributes {:approval_rule => #<ApprovalMergeRequestRule id: 37, created_at: "2022-07-04 09:01:...abilities_allowed: 0, scanners: [], severity_levels: [], vulnerability_states: ["newly_detected"]>})4166Mutations::IncidentManagement::OncallSchedule::Create4167 is expected to require graphql authorizations :admin_incident_management_oncall_schedule4168 #resolve4169 user has access to project4170 when OncallSchedules::CreateService responds with success4171 returns the on-call schedule with no errors4172 when OncallSchedules::CreateService responds with an error4173 returns errors4174 when resource is not accessible to the user4175 raises an error4176Ci::Runners::UnregisterRunnerService#execute4177 on an instance runner4178 logs an audit event with the instance scope4179 on a group runner4180 logs an audit event with the group scope4181 on a project runner4182 logs an audit event per project4183Gitlab::Proxy4184 .detect_proxy4185 without any existing proxies4186 returns an empty array4187 with existing proxies4188 returns a list of existing proxies4189EE::API::Entities::Scim::UserName4190 contains the name4191 contains the first name4192 contains the last name4193Gitlab::Graphql::Aggregations::Issues::LazyLinksAggregate4194 behaves like issuable lazy links aggregate4195 #initialize4196 adds the issuable_id to the `blocked` lazy state by default4197 #links_aggregate4198 when link_type is `blocked`4199 behaves like block provided4200WARNING: An expectation of `:do_thing` was set on `nil`. To allow expectations on `nil` and suppress this message, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `true`. To disallow expectations on `nil`, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `false`. Called from /builds/gitlab-org/gitlab/ee/spec/support/shared_examples/lib/gitlab/graphql/issuables_lazy_links_aggregate_shared_examples.rb:39:in `block (4 levels) in <top (required)>'.4201 calls the block4202 behaves like the record has already been loaded4203 does not make the query again4204 behaves like the record has not been loaded4205 clears the pending IDs4206 when link_type is `blocking`4207 behaves like block provided4208WARNING: An expectation of `:do_thing` was set on `nil`. To allow expectations on `nil` and suppress this message, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `true`. To disallow expectations on `nil`, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `false`. Called from /builds/gitlab-org/gitlab/ee/spec/support/shared_examples/lib/gitlab/graphql/issuables_lazy_links_aggregate_shared_examples.rb:39:in `block (4 levels) in <top (required)>'.4209 calls the block4210 behaves like the record has already been loaded4211 does not make the query again4212 behaves like the record has not been loaded4213 clears the pending IDs4214Resolvers::BaseResolver.single4215 #resolve4216 with unauthorized user4217 raises unauthorized error4218 when authorized4219 is expected to eq #<Boards::EpicList id: 1, created_at: "2022-07-04 09:01:21.792795805 +0000", updated_at: "2022-07-04 09:01:21.792795805 +0000", epic_board_id: 1, label_id: 49, position: 1, list_type: "label">4220Security::TrainingProviders::KontraUrlFinder4221 #calculate_reactive_cache4222 when response is nil4223 returns nil4224 when response is not nil4225 returns content url hash4226 #full_url4227 returns full url path4228 when identifier contains CWE-{number} format4229 returns full url path with proper mapping key4230 when a language is provided4231 returns full url path with the language parameter mapped4232AdjournedProjectDeletionWorker4233 #perform4234 executes destroying project4235 stops execution if user was deleted4236Ci::ChangeVariableService4237 when creating a variable4238 calls AuditVariableChangeService with create4239 when updating a variable4240 calls AuditVariableChangeService with update4241 when destroying a variable4242 calls AuditVariableChangeService with destroy4243World4244 .all_countries4245 does not return countries that are in the denied list4246 .countries_for_select4247 returns list of country name and iso_code in alphabetical format4248 .states_for_country4249 returns a list of state names for a country in alphabetical order4250 returns nil when given country cannot be found4251 .alpha3_from_alpha24252 returns the three letter abbreviated country name4253 returns nil when given country cannot be found4254NotesHelper4255 #notes_url4256 for vulnerability4257 return vulnerability notes path for vulnerability4258 #discussions_path4259 for vulnerability4260 is expected to eq "/namespace1095/project1072/-/security/vulnerabilities/74/discussions.json"4261Analytics::LanguageTrend::RepositoryLanguage4262 associations4263 is expected to belong to programming_language required: false4264 is expected to belong to project required: false4265Gitlab::StatusPage::Filter::ImageFilter4266 .call4267 is expected to eq "data/incident/1/50b7a196557cf72a98e86a7ab4b1ac3b/tanuki.png"4268 is expected to eq "gl-image"4269 is expected to eq "data/incident/1/50b7a196557cf72a98e86a7ab4b1ac3b/tanuki.png"4270 when no issue_iid key4271 raises error4272 when issue_iid is nil4273 raises error4274 no image tags in original html4275 is expected to eq "<a href=\"hello/world\"></a>"4276Gitlab::ItemsCollection4277 responds to each4278 #page4279 returns paginated collection4280 #to_ary4281 returns Array4282IncidentManagement::EscalationPolicyEntity4283 .as_json4284 includes escalation policy attributes4285BasePolicy4286 read cross project4287 when an external authorization service is enabled4288 allows auditors4289 read all resources4290 allows auditors4291 admin all resources4292 forbids auditors4293subscriptions/new4294 behaves like subscription form data4295 is expected to have visible css "#js-new-subscription[data-setup-for-company='true']"4296 is expected to have visible css "#js-new-subscription[data-full-name='First Last']"4297 is expected to have visible css "#js-new-subscription[data-plan-data='[{\"id\":\"bronze_id\",\"code\":\"bronze\",\"price_per_year\":48.0}]']"4298 is expected to have visible css "#js-new-subscription[data-plan-id='bronze_id']"4299 is expected to have visible css "#js-new-subscription[data-source='some_source']"4300BulkImports::Common::Pipelines::BoardsPipeline4301 #run4302 imports group boards into destination group and removes tmpdir4303UserPreference4304 roadmap_epics_state4305 when set to open epics4306 behaves like updates roadmap_epics_state4307 saves roadmap_epics_state in user_preference4308 when set to closed epics4309 behaves like updates roadmap_epics_state4310 saves roadmap_epics_state in user_preference4311 when reset to all epics4312 behaves like updates roadmap_epics_state4313 saves roadmap_epics_state in user_preference4314Notes::PostProcessService4315 #execute4316 analytics4317 invokes Analytics::RefreshCommentsData4318Geo::ContainerRepositorySyncWorker4319 #perform4320 runs ContainerRepositorySyncService4321 logs error when repository does not exist4322SystemCheck::Geo::CurrentNodeCheck4323 #check?4324 when the current machine has a matching GeoNode4325 returns true4326 when the current machine does not have a matching GeoNode4327 returns false4328 .check_pass4329 outputs additional helpful info4330Geo::BatchEventCreateWorker4331 #perform4332 calls Gitlab::Geo::Replicator.bulk_create_events4333admin/dev_ops_report/show.html.haml4334 when show_adoption? returns false4335DEPRECATION WARNING: The asset "page_bundles/dev_ops_report.css" is not present in the asset pipeline.4336Falling back to an asset that may be in the public folder.4337This behavior is deprecated and will be removed.4338To bypass the asset pipeline and preserve this behavior,4339use the `skip_pipeline: true` option.4340 (called from stylesheet_link_tag_defer at /builds/gitlab-org/gitlab/app/helpers/application_helper.rb:272)4341 disables the feature4342 when show_adoption? returns true4343DEPRECATION WARNING: The asset "page_bundles/dev_ops_report.css" is not present in the asset pipeline.4344Falling back to an asset that may be in the public folder.4345This behavior is deprecated and will be removed.4346To bypass the asset pipeline and preserve this behavior,4347use the `skip_pipeline: true` option.4348 (called from stylesheet_link_tag_defer at /builds/gitlab-org/gitlab/app/helpers/application_helper.rb:272)4349 enables the feature4350SystemCheck::Geo::AuthorizedKeysFlagCheck4351 #check?4352 fails when write to authorized_keys still enabled4353 succeed when write to authorized_keys is disabled4354Types::TimeboxReportType4355 is expected to eq "TimeboxReport"4356 is expected to have graphql field :burnup_time_series4357EE::EmailsHelper4358 #action_title4359 path: "somedomain.com/groups/agroup/-/epics/231", result: "View Epic"4360 returns the expected title4361 path: "somedomain.com/aproject/issues/231", result: "View Issue"4362 returns the expected title4363 path: "somedomain.com/aproject/-/merge_requests/231", result: "View Merge request"4364 returns the expected title4365 path: "somedomain.com/aproject/-/commit/al3f231", result: "View Commit"4366 returns the expected title4367Elastic::Latest::NoteConfig4368 .settings4369 behaves like config settings return correct values4370 returns config4371 sets correct shard/replica settings4372 .mappings4373 returns config4374LdapSyncWorker4375 #perform4376 with the default license key4377 syncs all LDAP users4378 without a license key4379 does not sync LDAP users4380Security::AutoFixWorker4381 #perform4382 when auto_fix feature is enabled4383 run AutoFix Service4384 when auto_fix feature is disabled4385 does not run AutoFix Service4386 when feature flag is disabled4387 does not run AutoFix Service4388Gitlab::SnippetSearchResults4389 when all requirements are met4390 calls the finder with the restrictive scope4391 when not in Gitlab.com4392 calls the finder with the restrictive scope4393Resolvers::InstanceSecurityDashboardResolver4394 #resolve4395 is expected to be a kind of InstanceSecurityDashboard4396Types::IncidentManagement::OncallScheduleType4397 is expected to eq "IncidentManagementOncallSchedule"4398 is expected to require graphql authorizations :read_incident_management_oncall_schedule4399 exposes the expected fields4400Types::VulnerabilityScannerInputType4401 is expected to eq "VulnerabilityScannerInput"4402 has the correct arguments4403Types::Vulnerabilities::LinkType4404 is expected to have graphql fields :name and :url4405Security::Findings::DeleteByJobIdWorker4406 initiates the cleanup by build ids4407 behaves like subscribes to event4408 consumes the published event4409 behaves like an idempotent worker4410 is labeled as idempotent4411 performs multiple times sequentially without raising an exception4412Elastic::Latest::CommitConfig4413 .settings4414 behaves like config settings return correct values4415 returns config4416 sets correct shard/replica settings4417 .mappings4418 returns config4419Types::Vulnerability::ExternalIssueLinkTypeEnum4420 is expected to contain exactly "CREATED"4421Types::AuditEvents::Streaming::HeaderType4422 is expected to eq "AuditEventStreamingHeader"4423 is expected to have graphql fields :id, :key, and :value4424Every Geo event4425 includes Geo::Eventable4426 has its class in Geo::EventLog::EVENT_CLASSES4427EE::Gitlab::ApplicationRateLimiter4428 .rate_limits4429 includes values for unique_project_downloads4430Types::IncidentManagement::IssuableResourceLinkTypeEnum4431 is expected to eq "IssuableResourceLinkType"4432 exposes all the existing issuable resource link types values4433StorageShardEntity4434 is expected to have key :name4435Types::ComplianceManagement::MergeRequests::ComplianceViolationSeverityEnum4436 is expected to eq "ComplianceViolationSeverity"4437 is expected to contain exactly "INFO", "LOW", "MEDIUM", "HIGH", and "CRITICAL"4438Types::Projects::ServiceTypeEnum4439 GitLabSlackApplicationService4440 appends a note to the description4441Admin::UserEntity4442 #as_json4443 exposes correct attributes4444AutoMergeService4445 .all_strategies_ordered_by_preference4446 returns all strategies in preference order4447Analytics::CycleAnalytics::RuntimeLimiter4448 #elapsed_time4449 reports monotonic elapsed time since instantiation4450 #over_time?4451 returns true if over time4452Types::NetworkPolicyKindEnum4453 exposes all kinds of network policies4454Mutations::Todos::Create4455 with epics as target4456 behaves like create todo mutation4457 when user does not have permission to create todo4458 raises error4459 when user has permission to create todo4460 creates a todo4461Knapsack report was generated. Preview:4462{4463 "ee/spec/lib/gitlab/elastic/search_results_spec.rb": 913.6862489330001,4464 "ee/spec/services/ee/notes/quick_actions_service_spec.rb": 76.6464785979997,4465 "ee/spec/elastic/migrate/20220119120500_populate_commit_permissions_in_main_index_spec.rb": 65.58338265600014,4466 "ee/spec/finders/merge_requests/by_approvers_finder_spec.rb": 71.7782206920001,4467 "ee/spec/helpers/billing_plans_helper_spec.rb": 19.55223561600087,4468 "ee/spec/workers/namespaces/free_user_cap/remediation_worker_spec.rb": 38.47787746799986,4469 "ee/spec/models/vulnerabilities/stat_diff_spec.rb": 31.016403143999923,4470 "ee/spec/replicators/geo/package_file_replicator_spec.rb": 20.321920682999917,4471 "ee/spec/lib/gitlab/code_owners/loader_spec.rb": 26.51178756200079,4472 "ee/spec/services/groups/update_service_spec.rb": 24.79202728400014,4473 "ee/spec/models/dast_site_profile_spec.rb": 18.610079130000486,4474 "ee/spec/services/ee/git/branch_push_service_spec.rb": 24.918964047000372,4475 "ee/spec/models/instance_security_dashboard_spec.rb": 20.32426447800026,4476 "ee/spec/services/security/security_orchestration_policies/fetch_policy_approvers_service_spec.rb": 24.437650453999595,4477 "ee/spec/lib/gitlab/auth/group_saml/user_spec.rb": 14.294727428999977,4478 "ee/spec/models/ee/audit_event_spec.rb": 10.536843836999651,4479 "ee/spec/lib/ee/gitlab/import_export/group/tree_restorer_spec.rb": 15.261428469999373,4480 "ee/spec/services/groups/transfer_service_spec.rb": 21.41028998999991,4481 "ee/spec/services/compliance_management/frameworks/create_service_spec.rb": 11.255231275999904,4482 "ee/spec/services/vulnerabilities/update_service_spec.rb": 15.093766131999473,4483 "ee/spec/helpers/search_helper_spec.rb": 9.781932741000674,4484 "ee/spec/policies/issuable_policy_spec.rb": 11.09422752699993,4485 "ee/spec/lib/gitlab/auth/group_saml/gma_membership_enforcer_spec.rb": 12.036542730000292,4486 "ee/spec/services/ee/members/create_service_spec.rb": 8.70810157699998,4487 "ee/spec/models/protected_environments/approval_summary_spec.rb": 15.010770917999253,4488 "ee/spec/lib/gitlab/expiring_subscription_message_spec.rb": 2.8467336169996997,4489 "ee/spec/models/merge_requests/compliance_violation_spec.rb": 10.150119625000116,4490 "ee/spec/models/ee/ci/build_dependencies_spec.rb": 9.449002485000165,4491 "ee/spec/replicators/geo/group_wiki_repository_replicator_spec.rb": 5.517873956000585,4492 "ee/spec/serializers/ee/environment_serializer_spec.rb": 8.505175743000109,4493 "ee/spec/serializers/vulnerabilities/finding_entity_spec.rb": 10.733437464000417,4494 "ee/spec/lib/analytics/group_activity_calculator_spec.rb": 10.721141554000496,4495 "ee/spec/graphql/mutations/issues/update_spec.rb": 7.656902499999887,4496 "ee/spec/models/geo/secondary_usage_data_spec.rb": 2.091236991999722,4497 "ee/spec/models/ee/personal_access_token_spec.rb": 4.011301978999654,4498 "ee/spec/services/iterations/create_service_spec.rb": 5.138682142999642,4499 "ee/spec/services/epics/epic_links/list_service_spec.rb": 6.9959727650002606,4500 "ee/spec/lib/sidebars/groups/menus/security_compliance_menu_spec.rb": 2.615350396999929,4501 "ee/spec/models/vulnerabilities/external_issue_link_spec.rb": 4.136095189000116,4502 "ee/spec/serializers/blocking_merge_request_entity_spec.rb": 8.298602574000142,4503 "ee/spec/workers/security/store_scans_worker_spec.rb": 4.283660445999885,4504 "ee/spec/services/ee/merge_requests/create_from_vulnerability_data_service_spec.rb": 7.515307392000068,4505 "ee/spec/lib/gitlab/pagination_delegate_spec.rb": 1.7458909609995317,4506 "ee/spec/services/app_sec/dast/profiles/build_config_service_spec.rb": 2.6129634879998775,4507 "ee/spec/services/geo/blob_download_service_spec.rb": 5.387111302000449,4508 "ee/spec/services/vulnerabilities/finding_dismiss_service_spec.rb": 7.125033624000025,4509 "ee/spec/lib/gitlab/usage/metrics/instrumentations/count_ci_environments_approval_required_spec.rb": 3.343210466000528,4510 "ee/spec/lib/gitlab/geo/health_check_spec.rb": 1.8652298219994918,4511 "ee/spec/models/issuables_analytics_spec.rb": 3.8857331500003056,4512 "ee/spec/lib/gitlab/ci/templates/Jobs/browser_performance_testing_gitlab_ci_yaml_spec.rb": 5.577823675999753,4513 "ee/spec/models/ee/alert_management/alert_spec.rb": 1.5786715760004881,4514 "ee/spec/services/releases/create_service_spec.rb": 4.28230500600057,4515 "ee/spec/services/security/security_orchestration_policies/project_create_service_spec.rb": 4.811508871000115,4516 "ee/spec/lib/ee/audit/project_setting_changes_auditor_spec.rb": 2.2158857909998915,4517 "ee/spec/services/external_status_checks/update_service_spec.rb": 3.2154223869993075,4518 "ee/spec/lib/gitlab/graphql/aggregations/vulnerabilities/lazy_user_notes_count_aggregate_spec.rb": 4.035643876999529,4519 "ee/spec/services/ee/merge_requests/after_create_service_spec.rb": 5.142286072999923,4520 "ee/spec/serializers/merge_request_poll_widget_entity_spec.rb": 4.268271707000167,4521 "ee/spec/views/shared/credentials_inventory/personal_access_tokens/_personal_access_token.html.haml_spec.rb": 1.0261463920005554,4522 "ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_label_added_spec.rb": 3.0219640530003744,4523 "ee/spec/models/slack_integration_spec.rb": 1.5851902760005032,4524 "ee/spec/policies/dast_scanner_profile_policy_spec.rb": 3.2474133730001995,4525 "ee/spec/lib/ee/audit/compliance_framework_changes_auditor_spec.rb": 3.7862616689999413,4526 "ee/spec/services/gitlab_subscriptions/fetch_purchase_eligible_namespaces_service_spec.rb": 0.7518416259999867,4527 "ee/spec/lib/ee/gitlab/auth/auth_finders_spec.rb": 1.2831333710000763,4528 "ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_last_edited_spec.rb": 0.8204261499995482,4529 "ee/spec/services/epics/close_service_spec.rb": 2.764660845000435,4530 "ee/spec/lib/ee/backup/repositories_spec.rb": 4.200490423000701,4531 "ee/spec/models/groups/repository_storage_move_spec.rb": 1.64789509000002,4532 "ee/spec/presenters/group_member_presenter_spec.rb": 2.5967406589998063,4533 "ee/spec/services/app_sec/dast/site_validations/runner_service_spec.rb": 2.944780659000571,4534 "ee/spec/services/security/ingestion/tasks/ingest_finding_pipelines_spec.rb": 2.8035267810000732,4535 "ee/spec/models/ee/appearance_spec.rb": 1.151151002000006,4536 "ee/spec/lib/banzai/filter/references/label_reference_filter_spec.rb": 3.430964357999983,4537 "ee/spec/routing/operations_routing_spec.rb": 0.5490734029999658,4538 "ee/spec/views/projects/project_members/index.html.haml_spec.rb": 2.5567373620006038,4539 "ee/spec/graphql/mutations/audit_events/streaming/headers/destroy_spec.rb": 2.0453092959996866,4540 "ee/spec/lib/banzai/filter/cross_project_issuable_information_filter_spec.rb": 1.9034401090002575,4541 "ee/spec/finders/dast_scanner_profiles_finder_spec.rb": 1.6038938339997912,4542 "ee/spec/lib/ee/gitlab/repo_path_spec.rb": 2.2750554869999178,4543 "ee/spec/models/analytics/cycle_analytics/group_value_stream_spec.rb": 1.4761175740004546,4544 "ee/spec/lib/container_registry/client_spec.rb": 1.3027870689993506,4545 "ee/spec/lib/ee/gitlab/scim/value_parser_spec.rb": 0.9519869389996529,4546 "ee/spec/graphql/mutations/vulnerabilities/resolve_spec.rb": 3.7296352740004295,4547 "ee/spec/services/app_sec/dast/site_profiles/audit/update_service_spec.rb": 1.6093056239997168,4548 "ee/spec/lib/ee/api/entities/user_with_admin_spec.rb": 1.174048120000407,4549 "ee/spec/services/ee/incident_management/issuable_escalation_statuses/create_service_spec.rb": 1.181317339999623,4550 "ee/spec/views/shared/_namespace_user_cap_reached_alert.html.haml_spec.rb": 2.4256595739998374,4551 "ee/spec/graphql/resolvers/incident_management/oncall_schedule_resolver_spec.rb": 1.5983712639999794,4552 "ee/spec/policies/geo/registry_policy_spec.rb": 1.8076982360007605,4553 "ee/spec/models/app_sec/fuzzing/api/ci_configuration_spec.rb": 0.7235172380005679,4554 "ee/spec/services/ee/resource_events/merge_into_notes_service_spec.rb": 1.9659932730000946,4555 "ee/spec/serializers/integrations/jira_serializers/issue_entity_spec.rb": 1.6264296919998742,4556 "ee/spec/workers/concerns/elastic/migration_options_spec.rb": 1.291836229999717,4557 "ee/spec/lib/gitlab/ci/templates/container_scanning_gitlab_ci_yaml_spec.rb": 1.6552892800000336,4558 "ee/spec/services/ee/issues/build_from_vulnerability_service_spec.rb": 3.228954855999291,4559 "ee/spec/views/projects/security/discover/show.html.haml_spec.rb": 0.6352517759996772,4560 "ee/spec/graphql/types/boards/board_epic_type_spec.rb": 2.2345869499995388,4561 "ee/spec/lib/gitlab/analytics/cycle_analytics/distinct_stage_loader_spec.rb": 1.4271062389998406,4562 "ee/spec/lib/gitlab/import_export/group/group_and_descendants_repo_restorer_spec.rb": 0.9193551520002075,4563 "ee/spec/graphql/resolvers/analytics/devops_adoption/enabled_namespaces_resolver_spec.rb": 1.1736208900001657,4564 "ee/spec/views/shared/labels/_create_label_help_text.html.haml_spec.rb": 1.3413191560002815,4565 "ee/spec/lib/gitlab/auth/group_saml/response_store_spec.rb": 0.6073479980004777,4566 "ee/spec/serializers/project_mirror_entity_spec.rb": 2.66438243399989,4567 "ee/spec/serializers/user_analytics_entity_spec.rb": 0.8067814609994457,4568 "ee/spec/services/ee/users/create_service_spec.rb": 0.9097002429998611,4569 "ee/spec/services/security/security_orchestration_policies/on_demand_scan_pipeline_configuration_service_spec.rb": 1.636291340999378,4570 "ee/spec/lib/gitlab/compliance_management/violations/approved_by_merge_request_author_spec.rb": 1.791037277000214,4571 "ee/spec/graphql/types/dast/profile_type_spec.rb": 2.4116491760005374,4572 "ee/spec/serializers/license_entity_spec.rb": 0.8687384659997406,4573 "ee/spec/views/subscriptions/buy_storage.html.haml_spec.rb": 1.009279683999921,4574 "ee/spec/graphql/ee/types/user_merge_request_interaction_type_spec.rb": 2.0052450799994403,4575 "ee/spec/graphql/mutations/incident_management/oncall_schedule/create_spec.rb": 1.126039794999997,4576 "ee/spec/services/ci/runners/unregister_runner_service_spec.rb": 1.7255802729996503,4577 "ee/spec/lib/gitlab/proxy_spec.rb": 0.23380666999946698,4578 "ee/spec/lib/ee/api/entities/scim/user_name_spec.rb": 0.5683402119993843,4579 "ee/spec/lib/gitlab/graphql/aggregations/issues/lazy_links_aggregate_spec.rb": 0.855764046999866,4580 "ee/spec/graphql/resolvers/boards/epic_list_resolver_spec.rb": 1.1206487650006238,4581 "ee/spec/finders/security/training_providers/kontra_url_finder_spec.rb": 1.143942612000501,4582 "ee/spec/workers/adjourned_project_deletion_worker_spec.rb": 1.5183109710005738,4583 "ee/spec/services/ee/ci/change_variable_service_spec.rb": 1.1188300050007456,4584 "ee/spec/lib/world_spec.rb": 0.4615025510001942,4585 "ee/spec/helpers/notes_helper_spec.rb": 0.7835811229997489,4586 "ee/spec/models/analytics/language_trend/repository_language_spec.rb": 0.9700601479999023,4587 "ee/spec/lib/gitlab/status_page/filter/image_filter_spec.rb": 0.5159141459998864,4588 "ee/spec/lib/gitlab/items_collection_spec.rb": 0.30592637400059175,4589 "ee/spec/serializers/incident_management/escalation_policy_entity_spec.rb": 0.4920436980000886,4590 "ee/spec/policies/base_policy_spec.rb": 0.5462093539999842,4591 "ee/spec/views/subscriptions/new.html.haml_spec.rb": 0.9689886070000284,4592 "ee/spec/lib/bulk_imports/common/pipelines/boards_pipeline_spec.rb": 1.3479172860006656,4593 "ee/spec/models/user_preference_spec.rb": 0.8176910499996666,4594 "ee/spec/services/ee/notes/post_process_service_spec.rb": 0.7345186769998691,4595 "ee/spec/workers/geo/container_repository_sync_worker_spec.rb": 0.8234870899996167,4596 "ee/spec/lib/system_check/geo/current_node_check_spec.rb": 0.741882526000154,4597 "ee/spec/workers/geo/batch_event_create_worker_spec.rb": 0.45066747199962265,4598 "ee/spec/views/admin/dev_ops_report/show.html.haml_spec.rb": 0.49277120799979457,4599 "ee/spec/lib/system_check/geo/authorized_keys_flag_check_spec.rb": 0.31670690400005697,4600 "ee/spec/graphql/types/timebox_report_type_spec.rb": 0.29536060499958694,4601 "ee/spec/helpers/ee/emails_helper_spec.rb": 0.6068210590001399,4602 "ee/spec/lib/elastic/latest/note_config_spec.rb": 0.385482896999747,4603 "ee/spec/workers/ldap_sync_worker_spec.rb": 0.5192102560004059,4604 "ee/spec/workers/security/auto_fix_worker_spec.rb": 0.5931692590002058,4605 "ee/spec/lib/ee/gitlab/snippet_search_results_spec.rb": 0.5861994000006234,4606 "ee/spec/graphql/resolvers/instance_security_dashboard_resolver_spec.rb": 1.1130213360002017,4607 "ee/spec/graphql/types/incident_management/oncall_schedule_type_spec.rb": 0.3735217779994855,4608 "ee/spec/graphql/types/vulnerability_scanner_input_type_spec.rb": 0.5160015170004044,4609 "ee/spec/graphql/types/vulnerabilities/link_type_spec.rb": 0.2861332049997145,4610 "ee/spec/workers/security/findings/delete_by_job_id_worker_spec.rb": 0.37439590800022415,4611 "ee/spec/lib/elastic/latest/commit_config_spec.rb": 0.26571521799996844,4612 "ee/spec/graphql/types/vulnerability/external_issue_link_type_enum_spec.rb": 0.1002111910001986,4613 "ee/spec/graphql/types/audit_events/streaming/header_type_spec.rb": 0.15730382699985057,4614 "ee/spec/models/geo/every_geo_event_spec.rb": 0.35263750000012806,4615 "ee/spec/lib/ee/gitlab/application_rate_limiter_spec.rb": 0.6694466929993723,4616 "ee/spec/graphql/types/incident_management/issuable_resource_link_type_enum_spec.rb": 0.38932698700045876,4617 "ee/spec/serializers/storage_shard_entity_spec.rb": 0.28546843500043906,4618 "ee/spec/graphql/types/compliance_management/merge_requests/compliance_violation_severity_enum_spec.rb": 0.35890715999994427,4619 "ee/spec/graphql/ee/types/projects/service_type_enum_spec.rb": 0.2285493810004482,4620 "ee/spec/serializers/ee/admin/user_entity_spec.rb": 0.4056675350002479,4621 "ee/spec/services/ee/auto_merge_service_spec.rb": 0.36697058899972035,4622 "ee/spec/models/analytics/cycle_analytics/runtime_limiter_spec.rb": 0.5690085309997812,4623 "ee/spec/graphql/types/network_policy_kind_enum_spec.rb": 0.3376231910006027,4624 "ee/spec/graphql/mutations/todos/create_spec.rb": 0.90443023199986784625}4626Knapsack global time execution for tests: 30m 22s4627Pending: (Failures listed here are expected and do not affect your suite's status)4628 1) Gitlab::Elastic::SearchResults blobs Searches CamelCased methods find by first two words4629 # Temporarily skipped with xit4630 # ./ee/spec/lib/gitlab/elastic/search_results_spec.rb:8794631 2) Notes::QuickActionsService /unassign Issue assignees behaves like unassigning a not assigned user adds multiple assignees from the list4632 # around hook at ./spec/support/flaky_tests.rb:21 did not execute the example4633 # ./ee/spec/support/shared_examples/quick_actions/issuable/unassign_shared_examples.rb:84634 3) Notes::QuickActionsService /unassign_reviewer with a merge request behaves like unassigning one or more reviewers removes multiple reviewers from the list4635 # around hook at ./spec/support/flaky_tests.rb:21 did not execute the example4636 # ./ee/spec/support/shared_examples/quick_actions/merge_request/unassign_reviewer_shared_examples.rb:84637 4) Gitlab::Graphql::Aggregations::Vulnerabilities::LazyUserNotesCountAggregate#initialize uses lazy_user_notes_count_aggregate to collect aggregates4638 # around hook at ./spec/support/flaky_tests.rb:21 did not execute the example4639 # ./ee/spec/lib/gitlab/graphql/aggregations/vulnerabilities/lazy_user_notes_count_aggregate_spec.rb:204640Failures:4641 1) Gitlab::Elastic::SearchResults#aggregations when search has not been run is expected to be nil4642 Failure/Error: it { is_expected.to be_nil }4643 expected: nil4644 got: []4645 # ./ee/spec/lib/gitlab/elastic/search_results_spec.rb:111:in `block (4 levels) in <top (required)>'4646 # ./spec/spec_helper.rb:413:in `block (3 levels) in <top (required)>'4647 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'4648 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'4649 # ./spec/spec_helper.rb:400:in `block (3 levels) in <top (required)>'4650 # ./lib/gitlab/application_context.rb:52:in `with_raw_context'4651 # ./spec/spec_helper.rb:400:in `block (2 levels) in <top (required)>'4652 # ./spec/spec_helper.rb:261:in `block (2 levels) in <top (required)>'4653 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'4654 # ./spec/support/redis.rb:13:in `block (2 levels) in <top (required)>'4655 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'4656 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'4657 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'4658 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'4659 # ./ee/spec/support/elastic.rb:67:in `block (2 levels) in <top (required)>'4660Finished in 30 minutes 26 seconds (files took 1 minute 1.99 seconds to load)46611831 examples, 1 failure, 4 pending4662Failed examples:4663rspec ./ee/spec/lib/gitlab/elastic/search_results_spec.rb:111 # Gitlab::Elastic::SearchResults#aggregations when search has not been run is expected to be nil4664Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected4665RSpec exited with 1.4666Retrying the failing examples in a new RSpec process...4667$ gem install junit_merge --no-document --version 0.1.24668Successfully installed nokogiri-1.13.6-x86_64-linux4669Successfully installed junit_merge-0.1.246702 gems installed4671==> 'gem install junit_merge --no-document --version 0.1.2' succeeded in 1 seconds.4672Running RSpec command: bin/rspec -Ispec -rspec_helper --color --format documentation --format RspecJunitFormatter --out rspec/junit_rspec-retry.xml --only-failures --pattern "{ee/}spec/{bin,channels,config,db,dependencies,elastic,elastic_integration,experiments,events,factories,finders,frontend,graphql,haml_lint,helpers,initializers,lib,metrics_server,models,policies,presenters,rack_servers,replicators,routing,rubocop,scripts,serializers,services,sidekiq,sidekiq_cluster,spam,support_specs,tasks,uploaders,validators,views,workers,tooling,components}{,/**/}*_spec.rb"4673DEPRECATION WARNING: /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/postgresql_adapter.rb:78: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call4674/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/pg-1.3.5/lib/pg.rb:68: warning: The called method `connect' is defined here4675 (called from new_client at /builds/gitlab-org/gitlab/config/initializers/00_connection_logger.rb:21)4676Run options: include {:last_run_status=>"failed"}4677Test environment set up in 1.067871329 seconds4678Gitlab::Elastic::SearchResults4679 #aggregations4680 when search has not been run4681 is expected to be nil4682Finished in 12.86 seconds (files took 50.25 seconds to load)46831 example, 0 failures4685Not uploading cache ruby-gems-debian-bullseye-ruby-2.7-10 due to policy4686Not uploading cache gitaly-ruby-gems-debian-bullseye-ruby-2.7-10 due to policy4688Uploading artifacts...4689coverage/: found 4 matching files and directories 4690crystalball/: found 2 matching files and directories 4691deprecations/: found 14 matching files and directories 4692knapsack/: found 3 matching files and directories 4693rspec/: found 11 matching files and directories 4694WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory 4695log/*.log: found 20 matching files and directories 4696WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/2673683116/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com4697WARNING: Retrying... context=artifacts-uploader error=request redirected4698Uploading artifacts as "archive" to coordinator... 201 Created id=2673683116 responseStatus=201 Created token=mxKy1cFf4699Uploading artifacts...4700rspec/junit_rspec.xml: found 1 matching files and directories 4701WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/2673683116/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com4702WARNING: Retrying... context=artifacts-uploader error=request redirected4703Uploading artifacts as "junit" to coordinator... 201 Created id=2673683116 responseStatus=201 Created token=mxKy1cFf4705Job succeeded