rspec-ee unit pg11 4/10
Passed Started
by
@patrickbajao

Patrick Bajao
1Running with gitlab-runner 13.9.0-rc2 (69c049fd)2 on docker-auto-scale-com 8a6210b83 feature flags: FF_GITLAB_REGISTRY_HELPER_IMAGE:true6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.2.patched-golang-1.14-git-2.29-lfs-2.9-chrome-87-node-14.15-yarn-1.22-postgresql-11-graphicsmagick-1.3.34 ...7Starting service postgres:11.6 ...8Pulling docker image postgres:11.6 ...9Using docker image sha256:2c963c0eb8c6efa49bb8352ea446f248d208d674cfc34fc9ea275b5f99f8dedd for postgres:11.6 with digest postgres@sha256:6f2062ab11d720f4756f17da4d0a64534346cce33b7cdea9d7ac4f43eed9fc02 ...10Starting service redis:5.0-alpine ...11Pulling docker image redis:5.0-alpine ...12Using docker image sha256:f5b24aafdf93a05581fac6db4430badb2024b27c7d6c29eb3144b01828ac5a07 for redis:5.0-alpine with digest redis@sha256:6151b520d9ac29c1524d9637e0b3dc69cba7dbef27a427d6dba355652fff8306 ...13Starting service elasticsearch:7.10.1 ...14Pulling docker image elasticsearch:7.10.1 ...15Using docker image sha256:558380375f1a36c20e67c3a0b7bf715c659d75520d0e688b066d5e708918d716 for elasticsearch:7.10.1 with digest elasticsearch@sha256:7cd88158f6ac75d43b447fdd98c4eb69483fa7bf1be5616a85fe556262dc864a ...16Waiting for services to be up and running...17Authenticating with credentials from job payload (GitLab Registry)18Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.2.patched-golang-1.14-git-2.29-lfs-2.9-chrome-87-node-14.15-yarn-1.22-postgresql-11-graphicsmagick-1.3.34 ...19Using docker image sha256:4d23ed899afed063085b02cb83fa639d1a880dc4059e6c7f0af9ee9b713ba41b for registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.2.patched-golang-1.14-git-2.29-lfs-2.9-chrome-87-node-14.15-yarn-1.22-postgresql-11-graphicsmagick-1.3.34 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:d70df1af0359f58b269fab0d70a090bca324eba3a03e465146b10aef05de3273 ...21Running on runner-8a6210b8-project-278964-concurrent-0 via runner-8a6210b8-gsrm-1614768574-615a0585...23$ eval "$CI_PRE_CLONE_SCRIPT"24Downloading archived master...25Connecting to storage.googleapis.com (172.217.204.128:443)26saving to '/tmp/gitlab.tar.gz'27gitlab.tar.gz 18% |***** | 73.0M 0:00:04 ETA28gitlab.tar.gz 41% |************* | 163M 0:00:02 ETA29gitlab.tar.gz 81% |************************** | 325M 0:00:00 ETA30gitlab.tar.gz 100% |********************************| 396M 0:00:00 ETA31'/tmp/gitlab.tar.gz' saved32Extracting tarball into /builds/gitlab-org/gitlab...33Fetching changes with git depth set to 20...34Reinitialized existing Git repository in /builds/gitlab-org/gitlab/.git/35remote: Enumerating objects: 1210, done. 36remote: Counting objects: 100% (645/645), done. 37remote: Compressing objects: 100% (248/248), done. 38remote: Total 320 (delta 256), reused 130 (delta 68), pack-reused 039Receiving objects: 100% (320/320), 40.40 KiB | 1.35 MiB/s, done.40Resolving deltas: 100% (256/256), completed with 120 local objects.42 * [new ref] 4996f4cc3b5cc82b8b493bfd2a4ced37e8cf757c -> refs/pipelines/26473258743Checking out 4996f4cc as refs/merge-requests/55046/merge...44Skipping Git submodules setup46Checking cache for rails-v4-3...47cache.zip is up to date 48WARNING: vendor/ruby/2.7.0/gems/deprecation_toolkit-1.5.1/gemfiles/test/deprecations: chmod vendor/ruby/2.7.0/gems/deprecation_toolkit-1.5.1/gemfiles/test/deprecations: no such file or directory (suppressing repeats) 49Successfully extracted cache51Downloading artifacts for compile-test-assets (1069711722)...52Downloading artifacts from coordinator... ok id=1069711722 responseStatus=200 OK token=cQ-zkx2s53Downloading artifacts for detect-tests (1069711729)...54Downloading artifacts from coordinator... ok id=1069711729 responseStatus=200 OK token=4KJ6tsyT55Downloading artifacts for retrieve-tests-metadata (1069711731)...56Downloading artifacts from coordinator... ok id=1069711731 responseStatus=200 OK token=nMSW8ysV57Downloading artifacts for setup-test-env (1069711725)...58Downloading artifacts from coordinator... ok id=1069711725 responseStatus=200 OK token=fSmN9Jtk59WARNING: tmp/tests/gitlab-shell/.gitlab_shell_secret: chmod tmp/tests/gitlab-shell/.gitlab_shell_secret: no such file or directory (suppressing repeats) 61Using docker image sha256:4d23ed899afed063085b02cb83fa639d1a880dc4059e6c7f0af9ee9b713ba41b for registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.2.patched-golang-1.14-git-2.29-lfs-2.9-chrome-87-node-14.15-yarn-1.22-postgresql-11-graphicsmagick-1.3.34 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:d70df1af0359f58b269fab0d70a090bca324eba3a03e465146b10aef05de3273 ...62$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb63$ export GOPATH=$CI_PROJECT_DIR/.go64$ mkdir -p $GOPATH65$ source scripts/utils.sh66$ source scripts/prepare_build.sh67Bundler version 2.1.468$ bundle install --without=production development --jobs=2 --path=vendor --retry=3 --quiet69==> 'bundle install --without=production development --jobs=2 --path=vendor --retry=3 --quiet' succeeded in 1 seconds.70$ bundle check71The Gemfile's dependencies are satisfied72==> 'bundle check' succeeded in 0 seconds.73$ bundle pristine pg74Installing pg 1.2.3 with native extensions75==> 'bundle pristine pg' succeeded in 11 seconds.76$ setup_db_user_only77CREATE ROLE78GRANT79==> 'setup_db_user_only' succeeded in 0 seconds.80$ bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee81Dropped database 'gitlabhq_test'82Created database 'gitlabhq_test'83Dropped database 'gitlabhq_geo_test'84Created database 'gitlabhq_geo_test'85==> 'bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee' succeeded in 26 seconds.86$ run_timed_command "gem install knapsack --no-document"87$ gem install knapsack --no-document88Successfully installed knapsack-1.20.0891 gem installed90==> 'gem install knapsack --no-document' succeeded in 1 seconds.91$ run_timed_command "scripts/gitaly-test-spawn"92$ scripts/gitaly-test-spawn93Settings are listed in order of priority. The top value will be used.94retry95Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config/config): 396path97Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config/config): "/builds/gitlab-org/gitlab/vendor/gitaly-ruby"98jobs99Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config/config): 4100app_config101Set via BUNDLE_APP_CONFIG: "/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config"102gemfile103Set via BUNDLE_GEMFILE: "/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/Gemfile"104flags105Set via BUNDLE_FLAGS: "--jobs=4 --retry=3 --path=/builds/gitlab-org/gitlab/vendor/gitaly-ruby"106Don't run Bundler as root. Bundler can ask for sudo if it is needed, and107installing your bundle as root will break this application for all non-root108users on this machine.109Using abstract_type 0.0.7110Using concurrent-ruby 1.1.7111Using i18n 1.8.5112Using minitest 5.14.2113Using thread_safe 0.3.6114Using tzinfo 1.2.9115Using zeitwerk 2.4.2116Using activesupport 6.0.3.4117Using builder 3.2.4118Using erubi 1.10.0119Using mini_portile2 2.5.0120Using racc 1.5.2121Using nokogiri 1.11.1 (x86_64-linux)122Using rails-dom-testing 2.0.3123Using crass 1.0.6124Using loofah 2.9.0125Using rails-html-sanitizer 1.3.0126Using actionview 6.0.3.4127Using rack 2.2.3128Using rack-test 1.1.0129Using actionpack 6.0.3.4130Using ice_nine 0.11.2131Using memoizable 0.4.2132Using adamantium 0.2.0133Using public_suffix 4.0.6134Using addressable 2.7.0135Using ast 2.4.1136Using binding_ninja 0.2.3137Using bundler 2.1.4138Using charlock_holmes 0.7.7139Using coderay 1.1.2140Using equalizer 0.0.11141Using concord 0.1.5142Using diff-lcs 1.3143Using dotenv 2.7.6144Using escape_utils 1.2.1145Using factory_bot 5.0.2146Using multipart-post 2.1.1147Using faraday 1.0.1148Using ffi 1.13.1149Using json 2.5.1150Using gemojione 3.3.0151Using mini_mime 1.0.2152Using rugged 1.0.1153Using github-linguist 7.12.1154Using github-markup 1.7.0155Using mime-types-data 3.2020.1104156Using mime-types 3.3.1157Using gitlab-gollum-rugged_adapter 0.4.4.3.gitlab.1158Using rouge 3.26.0159Using nokogumbo 1.5.0160Using sanitize 4.6.6161Using stringex 2.8.5162Using gitlab-gollum-lib 4.2.7.10.gitlab.1163Using google-protobuf 3.12.4 (x86_64-linux)164Using googleapis-common-protos-types 1.0.5165Using grpc 1.30.2 (x86_64-linux)166Using opentracing 0.5.0167Using thrift 0.13.0168Using jaeger-client 1.1.0169Using pg_query 1.3.0170Using redis 4.2.5171Using gitlab-labkit 0.15.0172Using gitlab-markup 1.7.1173Using grpc-tools 1.30.2174Using sawyer 0.8.2175Using octokit 4.20.0176Using reverse_markdown 1.4.0177Using thor 1.1.0178Using licensee 9.14.1179Using method_source 0.9.2180Using msgpack 1.3.3181Using optimist 3.0.1182Using parallel 1.19.2183Using parser 2.7.2.0184Using procto 0.0.3185Using unparser 0.4.7186Using proc_to_ast 0.1.0187Using pry 0.12.2188Using rainbow 3.0.0189Using rbtrace 0.4.14190Using rdoc 6.2.0191Using regexp_parser 1.8.1192Using rexml 3.2.4193Using rspec-support 3.8.0194Using rspec-core 3.8.0195Using rspec-expectations 3.8.3196Using rspec-mocks 3.8.0197Using rspec 3.8.0198Using rspec-parameterized 0.4.2199Using rubocop-ast 0.2.0200Using ruby-progressbar 1.10.1201Using unicode-display_width 1.7.0202Using rubocop 0.86.0203Using sentry-raven 3.0.4204Using timecop 0.9.1205Bundle complete! 21 Gemfile dependencies, 96 gems now installed.206Bundled gems are installed into `/builds/gitlab-org/gitlab/vendor/gitaly-ruby`207Checking gitaly-ruby Gemfile...208Checking gitaly-ruby bundle...209The Gemfile's dependencies are satisfied210Trying to connect to gitaly: ........ OK211Trying to connect to gitaly2: .................. OK212Trying to connect to praefect: .......... OK213==> 'scripts/gitaly-test-spawn' succeeded in 5 seconds.214$ source ./scripts/rspec_helpers.sh215$ rspec_paralellized_job "--tag ~quarantine --tag ~geo --tag ~level:migration"216KNAPSACK_TEST_FILE_PATTERN: ee/spec/{bin,channels,config,db,dependencies,elastic,elastic_integration,experiments,factories,finders,frontend,graphql,haml_lint,helpers,initializers,javascripts,lib,models,policies,presenters,rack_servers,replicators,routing,rubocop,serializers,services,sidekiq,spam,support_specs,tasks,uploaders,validators,views,workers,tooling}{,/**/}*_spec.rb217Knapsack node specs:218ee/spec/lib/ee/gitlab/usage_data_spec.rb219ee/spec/lib/gitlab/ci/templates/dependency_scanning_gitlab_ci_yaml_spec.rb220ee/spec/services/geo/file_download_service_spec.rb221ee/spec/services/ee/notes/quick_actions_service_spec.rb222ee/spec/services/epic_links/create_service_spec.rb223ee/spec/services/vulnerabilities/confirm_service_spec.rb224ee/spec/models/ci/pipeline_spec.rb225ee/spec/models/ci/build_spec.rb226ee/spec/lib/ee/gitlab/checks/push_rules/commit_check_spec.rb227ee/spec/models/project_import_state_spec.rb228ee/spec/models/note_spec.rb229ee/spec/services/security/sync_reports_to_approval_rules_service_spec.rb230ee/spec/models/concerns/approval_rule_like_spec.rb231ee/spec/models/geo_node_spec.rb232ee/spec/policies/ci/build_policy_spec.rb233ee/spec/models/productivity_analytics_spec.rb234ee/spec/graphql/resolvers/timelog_resolver_spec.rb235ee/spec/models/group_member_spec.rb236ee/spec/services/security/waf_anomaly_summary_service_spec.rb237ee/spec/services/ee/protected_branches/create_service_spec.rb238ee/spec/services/vulnerabilities/resolve_service_spec.rb239ee/spec/serializers/vulnerabilities/finding_serializer_spec.rb240ee/spec/lib/gitlab/insights/reducers/count_per_period_reducer_spec.rb241ee/spec/workers/network_policy_metrics_worker_spec.rb242ee/spec/lib/gitlab/ci/templates/Jobs/load_performance_testing_gitlab_ci_yaml_spec.rb243ee/spec/models/concerns/elastic/issue_spec.rb244ee/spec/services/geo/design_repository_sync_service_spec.rb245ee/spec/services/ee/issue_links/create_service_spec.rb246ee/spec/finders/groups_with_templates_finder_spec.rb247ee/spec/models/board_spec.rb248ee/spec/services/ci/minutes/update_build_minutes_service_spec.rb249ee/spec/lib/gitlab/analytics/cycle_analytics/summary/group/stage_time_summary_spec.rb250ee/spec/finders/autocomplete/vulnerabilities_autocomplete_finder_spec.rb251ee/spec/services/ee/system_notes/epics_service_spec.rb252ee/spec/workers/update_all_mirrors_worker_spec.rb253ee/spec/services/projects/gitlab_projects_import_service_spec.rb254ee/spec/services/geo/project_housekeeping_service_spec.rb255ee/spec/services/geo/repository_destroy_service_spec.rb256ee/spec/services/dast_scanner_profiles/create_service_spec.rb257ee/spec/services/status_page/mark_for_publication_service_spec.rb258ee/spec/lib/analytics/devops_adoption/snapshot_calculator_spec.rb259ee/spec/lib/ee/gitlab/checks/push_rules/branch_check_spec.rb260ee/spec/workers/geo/project_sync_worker_spec.rb261ee/spec/finders/dast_site_profiles_finder_spec.rb262ee/spec/lib/ee/gitlab/background_migration/prune_orphaned_geo_events_spec.rb263ee/spec/replicators/geo/merge_request_diff_replicator_spec.rb264ee/spec/lib/gitlab/ci/templates/Verify/browser_performance_testing_gitlab_ci_yaml_spec.rb265ee/spec/serializers/dependency_list_entity_spec.rb266ee/spec/services/resource_access_tokens/revoke_service_spec.rb267ee/spec/views/groups/edit.html.haml_spec.rb268ee/spec/services/geo/repository_verification_reset_spec.rb269ee/spec/services/dashboard/projects/create_service_spec.rb270ee/spec/models/approval_wrapped_any_approver_rule_spec.rb271ee/spec/services/geo/repository_verification_primary_service_spec.rb272ee/spec/policies/vulnerabilities/feedback_policy_spec.rb273ee/spec/workers/geo/container_repository_sync_dispatch_worker_spec.rb274ee/spec/models/vulnerabilities/finding_identifier_spec.rb275ee/spec/services/group_saml/group_managed_accounts/transfer_membership_service_spec.rb276ee/spec/services/geo/file_upload_service_spec.rb277ee/spec/services/vulnerability_exports/export_service_spec.rb278ee/spec/finders/geo/package_file_registry_finder_spec.rb279ee/spec/services/jira/requests/issues/list_service_spec.rb280ee/spec/services/software_license_policies/update_service_spec.rb281ee/spec/lib/gitlab/auth/group_saml/identity_linker_spec.rb282ee/spec/services/group_saml/identity/destroy_service_spec.rb283ee/spec/workers/geo/verification_worker_spec.rb284ee/spec/lib/banzai/reference_parser/iteration_parser_spec.rb285ee/spec/services/ee/vulnerability_feedback_module/update_service_spec.rb286ee/spec/finders/group_projects_finder_spec.rb287ee/spec/services/ee/users/update_service_spec.rb288ee/spec/services/security/report_summary_service_spec.rb289ee/spec/graphql/mutations/dast_site_tokens/create_spec.rb290ee/spec/graphql/types/vulnerability_type_spec.rb291ee/spec/lib/gitlab/ci/parsers/security/sast_spec.rb292ee/spec/workers/clear_shared_runners_minutes_worker_spec.rb293ee/spec/models/ci/minutes/quota_spec.rb294ee/spec/lib/gitlab/auth/saml/user_spec.rb295ee/spec/workers/set_user_status_based_on_user_cap_setting_worker_spec.rb296ee/spec/services/ee/todos/destroy/entity_leave_service_spec.rb297ee/spec/services/issues/export_csv_service_spec.rb298ee/spec/replicators/geo/snippet_repository_replicator_spec.rb299ee/spec/services/protected_environments/destroy_service_spec.rb300ee/spec/helpers/ee/todos_helper_spec.rb301ee/spec/routing/project_routing_spec.rb302ee/spec/models/ee/personal_access_token_spec.rb303ee/spec/services/projects/prometheus/alerts/notify_service_spec.rb304ee/spec/lib/gitlab/instrumentation/elasticsearch_transport_spec.rb305ee/spec/lib/gitlab/geo/replication/blob_retriever_spec.rb306ee/spec/lib/banzai/filter/label_reference_filter_spec.rb307ee/spec/lib/elastic/multi_version_instance_proxy_spec.rb308ee/spec/lib/gitlab/prometheus/queries/additional_metrics_deployment_query_spec.rb309ee/spec/serializers/clusters/deployment_entity_spec.rb310ee/spec/serializers/dependency_entity_spec.rb311ee/spec/presenters/epic_issue_presenter_spec.rb312ee/spec/workers/ci/batch_reset_minutes_worker_spec.rb313ee/spec/models/label_note_spec.rb314ee/spec/services/dast_site_profiles/destroy_service_spec.rb315ee/spec/lib/ee/gitlab/background_migration/update_location_fingerprint_for_container_scanning_findings_spec.rb316ee/spec/services/epic_issues/update_service_spec.rb317ee/spec/services/ee/quick_actions/target_service_spec.rb318ee/spec/lib/gitlab/com_spec.rb319ee/spec/finders/ee/alert_management/alerts_finder_spec.rb320ee/spec/services/projects/hashed_storage/migrate_repository_service_spec.rb321ee/spec/views/registrations/welcome/show.html.haml_spec.rb322ee/spec/services/security/report_fetch_service_spec.rb323ee/spec/policies/vulnerabilities/issue_link_policy_spec.rb324ee/spec/services/ee/event_create_service_spec.rb325ee/spec/helpers/ee/subscribable_banner_helper_spec.rb326ee/spec/services/geo/blob_upload_service_spec.rb327ee/spec/services/ee/merge_requests/reset_approvals_service_spec.rb328ee/spec/services/ee/namespace_settings/update_service_spec.rb329ee/spec/lib/gitlab/ci/pipeline/chain/limit/activity_spec.rb330ee/spec/lib/gitlab/geo/replication/file_transfer_spec.rb331ee/spec/lib/gitlab/geo/database_tasks_spec.rb332ee/spec/serializers/ee/evidences/release_entity_spec.rb333ee/spec/lib/gitlab/contribution_analytics/data_collector_spec.rb334ee/spec/finders/template_finder_spec.rb335ee/spec/serializers/ee/issue_sidebar_extras_entity_spec.rb336ee/spec/presenters/vulnerabilities/finding_presenter_spec.rb337ee/spec/services/geo/container_repository_sync_spec.rb338ee/spec/services/ee/merge_requests/post_merge_service_spec.rb339ee/spec/serializers/vulnerabilities/request_entity_spec.rb340ee/spec/views/admin/application_settings/general.html.haml_spec.rb341ee/spec/lib/gitlab/ci/parsers/security/common_spec.rb342ee/spec/presenters/group_member_presenter_spec.rb343ee/spec/helpers/path_locks_helper_spec.rb344ee/spec/services/branches/delete_service_spec.rb345ee/spec/graphql/resolvers/ci/code_coverage_summary_resolver_spec.rb346ee/spec/workers/geo_repository_destroy_worker_spec.rb347ee/spec/models/allowed_email_domain_spec.rb348ee/spec/lib/ee/gitlab/auth/ldap/sync/admin_users_spec.rb349ee/spec/serializers/dashboard_environments_project_entity_spec.rb350ee/spec/services/alert_management/extract_alert_payload_fields_service_spec.rb351ee/spec/finders/autocomplete/project_invited_groups_finder_spec.rb352ee/spec/services/namespaces/check_storage_size_service_spec.rb353ee/spec/services/incident_management/oncall_rotations/create_service_spec.rb354ee/spec/services/projects/open_issues_count_service_spec.rb355ee/spec/workers/requirements_management/import_requirements_csv_worker_spec.rb356ee/spec/lib/ee/gitlab/middleware/read_only_spec.rb357ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb358ee/spec/serializers/evidences/evidence_entity_spec.rb359ee/spec/workers/sync_seat_link_worker_spec.rb360ee/spec/lib/ee/gitlab/background_migration/remove_undefined_occurrence_confidence_level_spec.rb361ee/spec/lib/gitlab/user_access_spec.rb362ee/spec/lib/ee/gitlab/url_builder_spec.rb363ee/spec/views/admin/users/index.html.haml_spec.rb364ee/spec/serializers/dependency_list_serializer_spec.rb365ee/spec/lib/gitlab/auth/group_saml/membership_enforcer_spec.rb366ee/spec/services/elastic/index_projects_service_spec.rb367ee/spec/lib/gitlab/audit/auditor_spec.rb368ee/spec/serializers/vulnerability_entity_spec.rb369ee/spec/services/security/store_findings_metadata_service_spec.rb370ee/spec/services/analytics/cycle_analytics/stages/list_service_spec.rb371ee/spec/graphql/resolvers/boards/epic_lists_resolvers_spec.rb372ee/spec/models/analytics/devops_adoption/segment_spec.rb373ee/spec/models/geo_node_namespace_link_spec.rb374ee/spec/views/shared/issuable/_health_status_dropdown.html.haml_spec.rb375ee/spec/graphql/resolvers/boards/epic_boards_resolvers_spec.rb376ee/spec/serializers/board_serializer_spec.rb377ee/spec/models/vulnerabilities/projects_grade_spec.rb378ee/spec/views/layouts/header/_new_dropdown.haml_spec.rb379ee/spec/workers/import_software_licenses_worker_spec.rb380ee/spec/lib/gitlab/object_hierarchy_spec.rb381ee/spec/models/historical_data_spec.rb382ee/spec/models/ee/label_spec.rb383ee/spec/helpers/projects/on_demand_scans_helper_spec.rb384ee/spec/views/admin/licenses/show.html.haml_spec.rb385ee/spec/views/profiles/preferences/show.html.haml_spec.rb386ee/spec/serializers/integrations/jira/issue_detail_entity_spec.rb387ee/spec/views/projects/security/sast_configuration/show.html.haml_spec.rb388ee/spec/helpers/ee/clusters_helper_spec.rb389ee/spec/graphql/mutations/boards/epic_lists/create_spec.rb390ee/spec/helpers/trial_status_widget_helper_spec.rb391ee/spec/models/geo/every_geo_event_spec.rb392ee/spec/serializers/ee/issue_board_entity_spec.rb393ee/spec/services/geo/node_status_request_service_spec.rb394ee/spec/lib/ee/gitlab/scim/params_parser_spec.rb395ee/spec/helpers/epics_helper_spec.rb396ee/spec/models/scim_oauth_access_token_spec.rb397ee/spec/graphql/resolvers/user_discussions_count_resolver_spec.rb398ee/spec/lib/elastic/latest/custom_language_analyzers_spec.rb399ee/spec/helpers/ee/blob_helper_spec.rb400ee/spec/graphql/mutations/compliance_management/frameworks/update_spec.rb401ee/spec/serializers/scim_oauth_access_token_entity_spec.rb402ee/spec/models/ee/resource_state_event_spec.rb403ee/spec/lib/gitlab/auth/smartcard/session_spec.rb404ee/spec/lib/ee/gitlab/usage_data_counters/hll_redis_counter_spec.rb405ee/spec/lib/gitlab/sitemaps/generator_spec.rb406ee/spec/models/ee/system_note_metadata_spec.rb407ee/spec/views/projects/protected_environments/_protected_environment.html.haml_spec.rb408ee/spec/lib/ee/bulk_imports/groups/graphql/get_epic_events_query_spec.rb409ee/spec/services/security/scanned_resources_counting_service_spec.rb410ee/spec/models/security/api_fuzzing/ci_configuration_spec.rb411ee/spec/lib/system_check/geo/authorized_keys_check_spec.rb412ee/spec/lib/ee/gitlab/ci/config/entry/bridge_spec.rb413ee/spec/services/ee/boards/lists/max_limits_spec.rb414ee/spec/views/trials/new.html.haml_spec.rb415ee/spec/models/slack_integration_spec.rb416ee/spec/services/security/security_orchestration_policies/on_demand_scan_pipeline_configuration_service_spec.rb417ee/spec/serializers/integrations/jira/issue_entity_spec.rb418ee/spec/lib/gitlab/database/load_balancing/service_discovery_spec.rb419ee/spec/lib/ee/gitlab/git_access_snippet_spec.rb420ee/spec/models/dast/branch_spec.rb421ee/spec/finders/analytics/cycle_analytics/stage_finder_spec.rb422ee/spec/graphql/resolvers/geo/snippet_repository_registries_resolver_spec.rb423ee/spec/finders/geo_node_finder_spec.rb424ee/spec/lib/gitlab/ci/config/entry/vault/secret_spec.rb425ee/spec/lib/gitlab/geo/replication/lfs_retriever_spec.rb426ee/spec/models/vulnerability_user_mention_spec.rb427ee/spec/finders/geo/design_registry_finder_spec.rb428ee/spec/helpers/audit_events_helper_spec.rb429ee/spec/lib/gitlab/geo/log_cursor/events/repositories_changed_event_spec.rb430ee/spec/graphql/types/dast/profile_type_spec.rb431ee/spec/services/keys/last_used_service_spec.rb432ee/spec/graphql/ee/types/namespace_type_spec.rb433ee/spec/lib/ee/gitlab/web_ide/config/entry/global_spec.rb434ee/spec/lib/ee/api/entities/scim/emails_spec.rb435ee/spec/helpers/ee/projects/security/api_fuzzing_configuration_helper_spec.rb436ee/spec/lib/system_check/geo/authorized_keys_flag_check_spec.rb437ee/spec/models/vulnerabilities/finding_remediation_spec.rb438ee/spec/lib/gitlab/database/load_balancing/session_spec.rb439ee/spec/lib/gitlab/cidr_spec.rb440ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_label_removed_spec.rb441ee/spec/helpers/roadmaps_helper_spec.rb442ee/spec/helpers/security_helper_spec.rb443ee/spec/lib/gitlab/ci/reports/security/scanner_spec.rb444ee/spec/graphql/resolvers/instance_security_dashboard/projects_resolver_spec.rb445ee/spec/models/geo/lfs_object_deleted_event_spec.rb446ee/spec/models/geo/repository_updated_event_spec.rb447ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_first_associated_with_milestone_spec.rb448ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_first_commit_at_spec.rb449ee/spec/graphql/resolvers/admin/analytics/devops_adoption/segments_resolver_spec.rb450ee/spec/lib/gitlab/graphql/aggregations/issues/lazy_block_aggregate_spec.rb451ee/spec/lib/gitlab/graphql/aggregations/vulnerability_statistics/lazy_aggregate_spec.rb452ee/spec/models/concerns/scim_paginatable_spec.rb453ee/spec/finders/projects/integrations/jira/by_ids_finder_spec.rb454ee/spec/lib/gitlab/return_to_location_spec.rb455ee/spec/presenters/ee/issue_presenter_spec.rb456ee/spec/lib/gitlab/middleware/ip_restrictor_spec.rb457ee/spec/lib/gitlab/gl_repository_spec.rb458ee/spec/serializers/test_reports_comparer_entity_spec.rb459ee/spec/lib/omni_auth/strategies/kerberos_spnego_spec.rb460ee/spec/views/operations/index.html.haml_spec.rb461ee/spec/helpers/notes_helper_spec.rb462ee/spec/workers/geo/verification_timeout_worker_spec.rb463ee/spec/lib/gitlab/usage_counters/pod_logs_spec.rb464ee/spec/services/personal_access_tokens/groups/update_lifetime_service_spec.rb465ee/spec/graphql/types/iteration_type_spec.rb466ee/spec/workers/incident_management/incident_sla_exceeded_check_worker_spec.rb467ee/spec/models/user_detail_spec.rb468ee/spec/lib/gitlab/items_collection_spec.rb469ee/spec/lib/gitlab/vulnerabilities/parser_spec.rb470ee/spec/models/concerns/elastic/projects_search_spec.rb471ee/spec/lib/gitlab/ci/reports/security/link_spec.rb472ee/spec/models/ci/minutes/context_spec.rb473ee/spec/graphql/types/boards/epic_list_type_spec.rb474ee/spec/models/storage_shard_spec.rb475ee/spec/graphql/types/ci/code_coverage_activity_type_spec.rb476ee/spec/helpers/ee/sorting_helper_spec.rb477ee/spec/graphql/types/vulnerability/external_issue_link_type_enum_spec.rb478ee/spec/lib/gitlab/insights/serializers/chartjs/line_serializer_spec.rb479ee/spec/lib/gitlab/status_page/filter/mention_anonymization_filter_spec.rb480ee/spec/graphql/types/vulnerable_package_type_spec.rb481ee/spec/graphql/ee/types/board_list_type_spec.rb482ee/spec/lib/gitlab/graphql/pagination/keyset/order_info_spec.rb483ee/spec/graphql/types/vulnerability_identifier_type_spec.rb484ee/spec/lib/gitlab/import_sources_spec.rb485ee/spec/graphql/types/vulnerability_location/sast_type_spec.rb486ee/spec/graphql/types/vulnerability_details/file_location_type_spec.rb487ee/spec/lib/ee/api/entities/experiment_spec.rb488ee/spec/graphql/types/vulnerability/external_issue_link_external_tracker_enum_spec.rb489ee/spec/services/ee/auto_merge_service_spec.rb490Filter specs:491Running specs:492Running all node tests without filter493ee/spec/lib/ee/gitlab/usage_data_spec.rb494ee/spec/lib/gitlab/ci/templates/dependency_scanning_gitlab_ci_yaml_spec.rb495ee/spec/services/geo/file_download_service_spec.rb496ee/spec/services/ee/notes/quick_actions_service_spec.rb497ee/spec/services/epic_links/create_service_spec.rb498ee/spec/services/vulnerabilities/confirm_service_spec.rb499ee/spec/models/ci/pipeline_spec.rb500ee/spec/models/ci/build_spec.rb501ee/spec/lib/ee/gitlab/checks/push_rules/commit_check_spec.rb502ee/spec/models/project_import_state_spec.rb503ee/spec/models/note_spec.rb504ee/spec/services/security/sync_reports_to_approval_rules_service_spec.rb505ee/spec/models/concerns/approval_rule_like_spec.rb506ee/spec/models/geo_node_spec.rb507ee/spec/policies/ci/build_policy_spec.rb508ee/spec/models/productivity_analytics_spec.rb509ee/spec/graphql/resolvers/timelog_resolver_spec.rb510ee/spec/models/group_member_spec.rb511ee/spec/services/security/waf_anomaly_summary_service_spec.rb512ee/spec/services/ee/protected_branches/create_service_spec.rb513ee/spec/services/vulnerabilities/resolve_service_spec.rb514ee/spec/serializers/vulnerabilities/finding_serializer_spec.rb515ee/spec/lib/gitlab/insights/reducers/count_per_period_reducer_spec.rb516ee/spec/workers/network_policy_metrics_worker_spec.rb517ee/spec/lib/gitlab/ci/templates/Jobs/load_performance_testing_gitlab_ci_yaml_spec.rb518ee/spec/models/concerns/elastic/issue_spec.rb519ee/spec/services/geo/design_repository_sync_service_spec.rb520ee/spec/services/ee/issue_links/create_service_spec.rb521ee/spec/finders/groups_with_templates_finder_spec.rb522ee/spec/models/board_spec.rb523ee/spec/services/ci/minutes/update_build_minutes_service_spec.rb524ee/spec/lib/gitlab/analytics/cycle_analytics/summary/group/stage_time_summary_spec.rb525ee/spec/finders/autocomplete/vulnerabilities_autocomplete_finder_spec.rb526ee/spec/services/ee/system_notes/epics_service_spec.rb527ee/spec/workers/update_all_mirrors_worker_spec.rb528ee/spec/services/projects/gitlab_projects_import_service_spec.rb529ee/spec/services/geo/project_housekeeping_service_spec.rb530ee/spec/services/geo/repository_destroy_service_spec.rb531ee/spec/services/dast_scanner_profiles/create_service_spec.rb532ee/spec/services/status_page/mark_for_publication_service_spec.rb533ee/spec/lib/analytics/devops_adoption/snapshot_calculator_spec.rb534ee/spec/lib/ee/gitlab/checks/push_rules/branch_check_spec.rb535ee/spec/workers/geo/project_sync_worker_spec.rb536ee/spec/finders/dast_site_profiles_finder_spec.rb537ee/spec/lib/ee/gitlab/background_migration/prune_orphaned_geo_events_spec.rb538ee/spec/replicators/geo/merge_request_diff_replicator_spec.rb539ee/spec/lib/gitlab/ci/templates/Verify/browser_performance_testing_gitlab_ci_yaml_spec.rb540ee/spec/serializers/dependency_list_entity_spec.rb541ee/spec/services/resource_access_tokens/revoke_service_spec.rb542ee/spec/views/groups/edit.html.haml_spec.rb543ee/spec/services/geo/repository_verification_reset_spec.rb544ee/spec/services/dashboard/projects/create_service_spec.rb545ee/spec/models/approval_wrapped_any_approver_rule_spec.rb546ee/spec/services/geo/repository_verification_primary_service_spec.rb547ee/spec/policies/vulnerabilities/feedback_policy_spec.rb548ee/spec/workers/geo/container_repository_sync_dispatch_worker_spec.rb549ee/spec/models/vulnerabilities/finding_identifier_spec.rb550ee/spec/services/group_saml/group_managed_accounts/transfer_membership_service_spec.rb551ee/spec/services/geo/file_upload_service_spec.rb552ee/spec/services/vulnerability_exports/export_service_spec.rb553ee/spec/finders/geo/package_file_registry_finder_spec.rb554ee/spec/services/jira/requests/issues/list_service_spec.rb555ee/spec/services/software_license_policies/update_service_spec.rb556ee/spec/lib/gitlab/auth/group_saml/identity_linker_spec.rb557ee/spec/services/group_saml/identity/destroy_service_spec.rb558ee/spec/workers/geo/verification_worker_spec.rb559ee/spec/lib/banzai/reference_parser/iteration_parser_spec.rb560ee/spec/services/ee/vulnerability_feedback_module/update_service_spec.rb561ee/spec/finders/group_projects_finder_spec.rb562ee/spec/services/ee/users/update_service_spec.rb563ee/spec/services/security/report_summary_service_spec.rb564ee/spec/graphql/mutations/dast_site_tokens/create_spec.rb565ee/spec/graphql/types/vulnerability_type_spec.rb566ee/spec/lib/gitlab/ci/parsers/security/sast_spec.rb567ee/spec/workers/clear_shared_runners_minutes_worker_spec.rb568ee/spec/models/ci/minutes/quota_spec.rb569ee/spec/lib/gitlab/auth/saml/user_spec.rb570ee/spec/workers/set_user_status_based_on_user_cap_setting_worker_spec.rb571ee/spec/services/ee/todos/destroy/entity_leave_service_spec.rb572ee/spec/services/issues/export_csv_service_spec.rb573ee/spec/replicators/geo/snippet_repository_replicator_spec.rb574ee/spec/services/protected_environments/destroy_service_spec.rb575ee/spec/helpers/ee/todos_helper_spec.rb576ee/spec/routing/project_routing_spec.rb577ee/spec/models/ee/personal_access_token_spec.rb578ee/spec/services/projects/prometheus/alerts/notify_service_spec.rb579ee/spec/lib/gitlab/instrumentation/elasticsearch_transport_spec.rb580ee/spec/lib/gitlab/geo/replication/blob_retriever_spec.rb581ee/spec/lib/banzai/filter/label_reference_filter_spec.rb582ee/spec/lib/elastic/multi_version_instance_proxy_spec.rb583ee/spec/lib/gitlab/prometheus/queries/additional_metrics_deployment_query_spec.rb584ee/spec/serializers/clusters/deployment_entity_spec.rb585ee/spec/serializers/dependency_entity_spec.rb586ee/spec/presenters/epic_issue_presenter_spec.rb587ee/spec/workers/ci/batch_reset_minutes_worker_spec.rb588ee/spec/models/label_note_spec.rb589ee/spec/services/dast_site_profiles/destroy_service_spec.rb590ee/spec/lib/ee/gitlab/background_migration/update_location_fingerprint_for_container_scanning_findings_spec.rb591ee/spec/services/epic_issues/update_service_spec.rb592ee/spec/services/ee/quick_actions/target_service_spec.rb593ee/spec/lib/gitlab/com_spec.rb594ee/spec/finders/ee/alert_management/alerts_finder_spec.rb595ee/spec/services/projects/hashed_storage/migrate_repository_service_spec.rb596ee/spec/views/registrations/welcome/show.html.haml_spec.rb597ee/spec/services/security/report_fetch_service_spec.rb598ee/spec/policies/vulnerabilities/issue_link_policy_spec.rb599ee/spec/services/ee/event_create_service_spec.rb600ee/spec/helpers/ee/subscribable_banner_helper_spec.rb601ee/spec/services/geo/blob_upload_service_spec.rb602ee/spec/services/ee/merge_requests/reset_approvals_service_spec.rb603ee/spec/services/ee/namespace_settings/update_service_spec.rb604ee/spec/lib/gitlab/ci/pipeline/chain/limit/activity_spec.rb605ee/spec/lib/gitlab/geo/replication/file_transfer_spec.rb606ee/spec/lib/gitlab/geo/database_tasks_spec.rb607ee/spec/serializers/ee/evidences/release_entity_spec.rb608ee/spec/lib/gitlab/contribution_analytics/data_collector_spec.rb609ee/spec/finders/template_finder_spec.rb610ee/spec/serializers/ee/issue_sidebar_extras_entity_spec.rb611ee/spec/presenters/vulnerabilities/finding_presenter_spec.rb612ee/spec/services/geo/container_repository_sync_spec.rb613ee/spec/services/ee/merge_requests/post_merge_service_spec.rb614ee/spec/serializers/vulnerabilities/request_entity_spec.rb615ee/spec/views/admin/application_settings/general.html.haml_spec.rb616ee/spec/lib/gitlab/ci/parsers/security/common_spec.rb617ee/spec/presenters/group_member_presenter_spec.rb618ee/spec/helpers/path_locks_helper_spec.rb619ee/spec/services/branches/delete_service_spec.rb620ee/spec/graphql/resolvers/ci/code_coverage_summary_resolver_spec.rb621ee/spec/workers/geo_repository_destroy_worker_spec.rb622ee/spec/models/allowed_email_domain_spec.rb623ee/spec/lib/ee/gitlab/auth/ldap/sync/admin_users_spec.rb624ee/spec/serializers/dashboard_environments_project_entity_spec.rb625ee/spec/services/alert_management/extract_alert_payload_fields_service_spec.rb626ee/spec/finders/autocomplete/project_invited_groups_finder_spec.rb627ee/spec/services/namespaces/check_storage_size_service_spec.rb628ee/spec/services/incident_management/oncall_rotations/create_service_spec.rb629ee/spec/services/projects/open_issues_count_service_spec.rb630ee/spec/workers/requirements_management/import_requirements_csv_worker_spec.rb631ee/spec/lib/ee/gitlab/middleware/read_only_spec.rb632ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb633ee/spec/serializers/evidences/evidence_entity_spec.rb634ee/spec/workers/sync_seat_link_worker_spec.rb635ee/spec/lib/ee/gitlab/background_migration/remove_undefined_occurrence_confidence_level_spec.rb636ee/spec/lib/gitlab/user_access_spec.rb637ee/spec/lib/ee/gitlab/url_builder_spec.rb638ee/spec/views/admin/users/index.html.haml_spec.rb639ee/spec/serializers/dependency_list_serializer_spec.rb640ee/spec/lib/gitlab/auth/group_saml/membership_enforcer_spec.rb641ee/spec/services/elastic/index_projects_service_spec.rb642ee/spec/lib/gitlab/audit/auditor_spec.rb643ee/spec/serializers/vulnerability_entity_spec.rb644ee/spec/services/security/store_findings_metadata_service_spec.rb645ee/spec/services/analytics/cycle_analytics/stages/list_service_spec.rb646ee/spec/graphql/resolvers/boards/epic_lists_resolvers_spec.rb647ee/spec/models/analytics/devops_adoption/segment_spec.rb648ee/spec/models/geo_node_namespace_link_spec.rb649ee/spec/views/shared/issuable/_health_status_dropdown.html.haml_spec.rb650ee/spec/graphql/resolvers/boards/epic_boards_resolvers_spec.rbKnapsack report generator started!651WARNING: `around(:context)` hooks are not supported and behave like `around(:example). Called from /builds/gitlab-org/gitlab/spec/support/omniauth_strategy.rb:36:in `block in <top (required)>'.652Run options:653 include {:focus=>true}654 exclude {:quarantine=>true, :geo=>true, :level=>"migration"}655All examples were filtered out; ignoring {:focus=>true}656==> Setting up GitLab Workhorse...657 GitLab Workhorse set up in 67.350294962 seconds...658==> Setting up gitlab-test bare repository in /builds/gitlab-org/gitlab/tmp/tests/gitlab-test_bare...659 /builds/gitlab-org/gitlab/tmp/tests/gitlab-test_bare set up in 0.03985584 seconds...660Gitlab::UsageData661DEPRECATION WARNING: /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/carrierwave-1.3.1/lib/carrierwave/sanitized_file.rb:316: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call662/usr/local/lib/ruby/2.7.0/fileutils.rb:206: warning: The called method `mkdir_p' is defined here663 (called from cache! at /builds/gitlab-org/gitlab/app/uploaders/object_storage.rb:369)664DEPRECATION WARNING: /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/relation.rb:412: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call665/builds/gitlab-org/gitlab/app/models/project_feature_usage.rb:12: warning: The called method is defined here666 (called from jira_usage at /builds/gitlab-org/gitlab/lib/gitlab/usage_data.rb:437)667 clears memoized values668 .data669DEPRECATION WARNING: /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/relation.rb:412: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call670/builds/gitlab-org/gitlab/app/models/concerns/has_environment_scope.rb:25: warning: The called method is defined here671 (called from find_platform_kubernetes_with_cte at /builds/gitlab-org/gitlab/app/models/concerns/deployment_platform.rb:27)672 gathers usage data673 gathers usage counts674 has integer value for epic relationship level675 has integer values for all counts676 gathers security products usage data677 gathers group overview preferences usage data678 includes a recording_ee_finished_at timestamp679 .features_usage_data_ee680 gathers feature usage data of EE681 .license_usage_data682 gathers license data683 .requirements_counts684 when requirements are disabled685 returns empty hash686 when requirements are enabled687 returns created requirements count688 merge requests merged using approval rules689 counts the approval rules for merged merge requests690 .operations_dashboard_usage691 gathers data on operations dashboard692 bases counts on active users693 usage_activity_by_stage_configure694 includes accurate usage_activity_by_stage data695 usage_activity_by_stage_create696 includes accurate usage_activity_by_stage data697 usage_data_by_stage_enablement698 returns empty hash if geo is not enabled699 geo enabled700 excludes data outside of the date range701 node status fields702 only includes active secondary nodes703 includes all resource status fields704 usage_activity_by_stage_manage705 includes accurate usage_activity_by_stage data706 usage_activity_by_stage_monitor707 includes accurate usage_activity_by_stage data708 usage_activity_by_stage_plan709 includes accurate usage_activity_by_stage data710 usage_activity_by_stage_release711 includes accurate usage_activity_by_stage data712 usage_activity_by_stage_secure713 includes accurate usage_activity_by_stage data714 counts pipelines that have security jobs715 counts unique users correctly across multiple scanners716 combines license_scanning into license_management717 has to resort to 0 for counting license scan718 counts users who have run scans719 with feature flag: postgres_hll_batch_counting is disabled720 does not count users who have run scans721 includes accurate usage_activity_by_stage data722 counts pipelines that have security jobs723 counts unique users correctly across multiple scanners724 combines license_scanning into license_management725 has to resort to 0 for counting license scan726 usage_activity_by_stage_verify727 includes accurate usage_activity_by_stage data728Dependency-Scanning.gitlab-ci.yml729 the created pipeline730 when project has no license731 includes no jobs732 when project has Ultimate license733 when DEPENDENCY_SCANNING_DISABLED=1734 includes no jobs735 by default736 language detection737 Go738 with file at root739 creates a pipeline with the expected jobs740 with file at depth 1741 creates a pipeline with the expected jobs742 with file at depth 2743 creates a pipeline with the expected jobs744 with file at depth > 2745 includes no job746 Java747 with file at root748 creates a pipeline with the expected jobs749 with file at depth 1750 creates a pipeline with the expected jobs751 with file at depth 2752 creates a pipeline with the expected jobs753 with file at depth > 2754 includes no job755 Java Gradle756 with file at root757 creates a pipeline with the expected jobs758 with file at depth 1759 creates a pipeline with the expected jobs760 with file at depth 2761 creates a pipeline with the expected jobs762 with file at depth > 2763 includes no job764 Java Gradle Kotlin DSL765 with file at root766 creates a pipeline with the expected jobs767 with file at depth 1768 creates a pipeline with the expected jobs769 with file at depth 2770 creates a pipeline with the expected jobs771 with file at depth > 2772 includes no job773 Javascript774 with file at root775 creates a pipeline with the expected jobs776 with file at depth 1777 creates a pipeline with the expected jobs778 with file at depth 2779 creates a pipeline with the expected jobs780 with file at depth > 2781 includes no job782 Javascript package-lock.json783 with file at root784 creates a pipeline with the expected jobs785 with file at depth 1786 creates a pipeline with the expected jobs787 with file at depth 2788 creates a pipeline with the expected jobs789 with file at depth > 2790 includes no job791 Javascript yarn.lock792 with file at root793 creates a pipeline with the expected jobs794 with file at depth 1795 creates a pipeline with the expected jobs796 with file at depth 2797 creates a pipeline with the expected jobs798 with file at depth > 2799 includes no job800 Javascript npm-shrinkwrap.json801 with file at root802 creates a pipeline with the expected jobs803 with file at depth 1804 creates a pipeline with the expected jobs805 with file at depth 2806 creates a pipeline with the expected jobs807 with file at depth > 2808 includes no job809 Multiple languages810 with file at root811 creates a pipeline with the expected jobs812 with file at depth 1813 creates a pipeline with the expected jobs814 with file at depth 2815 creates a pipeline with the expected jobs816 with file at depth > 2817 includes no job818 NuGet819 with file at root820 creates a pipeline with the expected jobs821 with file at depth 1822 creates a pipeline with the expected jobs823 with file at depth 2824 creates a pipeline with the expected jobs825 with file at depth > 2826 includes no job827 Conan828 with file at root829 creates a pipeline with the expected jobs830 with file at depth 1831 creates a pipeline with the expected jobs832 with file at depth 2833 creates a pipeline with the expected jobs834 with file at depth > 2835 includes no job836 PHP837 with file at root838 creates a pipeline with the expected jobs839 with file at depth 1840 creates a pipeline with the expected jobs841 with file at depth 2842 creates a pipeline with the expected jobs843 with file at depth > 2844 includes no job845 Python requirements.txt846 with file at root847 creates a pipeline with the expected jobs848 with file at depth 1849 creates a pipeline with the expected jobs850 with file at depth 2851 creates a pipeline with the expected jobs852 with file at depth > 2853 includes no job854 Python requirements.pip855 with file at root856 creates a pipeline with the expected jobs857 with file at depth 1858 creates a pipeline with the expected jobs859 with file at depth 2860 creates a pipeline with the expected jobs861 with file at depth > 2862 includes no job863 Python Pipfile864 with file at root865 creates a pipeline with the expected jobs866 with file at depth 1867 creates a pipeline with the expected jobs868 with file at depth 2869 creates a pipeline with the expected jobs870 with file at depth > 2871 includes no job872 Python requires.txt873 with file at root874 creates a pipeline with the expected jobs875 with file at depth 1876 creates a pipeline with the expected jobs877 with file at depth 2878 creates a pipeline with the expected jobs879 with file at depth > 2880 includes no job881 Python with setup.py882 with file at root883 creates a pipeline with the expected jobs884 with file at depth 1885 creates a pipeline with the expected jobs886 with file at depth 2887 creates a pipeline with the expected jobs888 with file at depth > 2889 includes no job890 Ruby Gemfile.lock891 with file at root892 creates a pipeline with the expected jobs893 with file at depth 1894 creates a pipeline with the expected jobs895 with file at depth 2896 creates a pipeline with the expected jobs897 with file at depth > 2898 includes no job899 Ruby gems.locked900 with file at root901 creates a pipeline with the expected jobs902 with file at depth 1903 creates a pipeline with the expected jobs904 with file at depth 2905 creates a pipeline with the expected jobs906 with file at depth > 2907 includes no job908 Scala909 with file at root910 creates a pipeline with the expected jobs911 with file at depth 1912 creates a pipeline with the expected jobs913 with file at depth 2914 creates a pipeline with the expected jobs915 with file at depth > 2916 includes no job917 when PIP_REQUIREMENTS_FILE is defined918 creates a pipeline with the expected jobs919Notes::QuickActionsService920 /epic921 when epics are not enabled922 does not assign the epic923 when epics are enabled924 on an issue925 assigns the issue to the epic926 leaves the note empty927 creates a system note928 on an incident929 leaves the note empty930 does not assigns the issue to the epic931 on a merge request932 leaves the note empty933 /remove_epic934 when epics are not enabled935 does not remove the epic936 when epics are enabled937 on an issue938 removes the epic939 leaves the note empty940 creates a system note941 on an incident942 leaves the note empty943 on a test case944 leaves the note empty945 on a merge request946 leaves the note empty947 Epics948 /close949 when epics are not enabled950 does not close the epic951 when epics are enabled952 closes the epic953 leaves the note empty954 /reopen955 when epics are not enabled956 does not reopen the epic957 when epics are enabled958 reopens the epic959 leaves the note empty960 /label961 when epics are not enabled962 does not add a label to the epic963 when epics are enabled964 adds a group label to the epic965 leaves the note empty966 /unlabel967 when epics are not enabled968 does not remove any label969 when epics are enabled970 removes a requested label from the epic971 leaves the note empty972 /assign_reviewer973 with a merge request974 behaves like assigns one or more reviewers to the merge request975 adds multiple reviewers from the list976 behaves like assigns one or more reviewers to the merge request977 adds multiple reviewers from the list978 /assign979 Issue assignees980 adds multiple assignees from the list981 behaves like assigning an already assigned user982 adds multiple assignees from the list983 behaves like assigning an already assigned user984 adds multiple assignees from the list985 MergeRequest986 behaves like assigning an already assigned user987 adds multiple assignees from the list988 behaves like assigning an already assigned user989 adds multiple assignees from the list990 /unassign991 Issue assignees992 behaves like unassigning a not assigned user993 adds multiple assignees from the list994 behaves like unassigning a not assigned user995 adds multiple assignees from the list996 MergeRequest997 behaves like unassigning a not assigned user998 adds multiple assignees from the list999 behaves like unassigning a not assigned user1000 adds multiple assignees from the list1001 /unassign_reviewer1002 with a merge request1003 behaves like unassigning one or more reviewers1004 removes multiple reviewers from the list1005 behaves like unassigning one or more reviewers1006 removes multiple reviewers from the list1007 /promote1008 when epics are enabled1009 when a user does not have permissions to promote an issue1010 does not promote an issue to an epic1011 when a user has permissions to promote an issue1012 promotes an issue to an epic1013 with a double promote1014 only creates one epic1015 when issue was already promoted1016 does not promote issue1017 when an issue belongs to a project without group1018 does not promote an issue to an epic1019 on an incident1020 does not promote to an epic1021 when epics are disabled1022 does not promote an issue to an epic1023EpicLinks::CreateService1024 #execute1025 when subepics feature is disabled1026/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/mutate_const.rb:234: warning: already initialized constant Epic::Metrics1027/builds/gitlab-org/gitlab/ee/app/models/epic/metrics.rb:3: warning: previous definition of Metrics was here1028/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/mutate_const.rb:234: warning: already initialized constant Epic::NotesAssociationExtension1029/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/associations/builder/collection_association.rb:27: warning: previous definition of NotesAssociationExtension was here1030 returns an error1031 no relationship is created1032 when subepics feature is enabled1033 when an error occurs1034 when a single epic is given1035 when a user does not have permissions to add an epic1036 returns an error1037 no relationship is created1038 when a user has permissions to add an epic1039 when an epic from another group is given1040 returns an error1041 no relationship is created1042 when hierarchy is cyclic1043 when given child epic is the same as given parent1044 returns an error1045 no relationship is created1046 when given child epic is parent of the given parent1047 returns an error1048 no relationship is created1049 when new child epic is an ancestor of the given parent1050 returns an error1051 no relationship is created1052 when adding an epic that is already a child of the parent epic1053 returns an error1054 no relationship is created1055 when adding to an Epic that is already at maximum depth1056 returns an error1057 no relationship is created1058 when total depth after adding would exceed depth limit1059 returns an error1060 no relationship is created1061 when multiple epics are given1062 when a user dos not have permissions to add an epic1063 returns an error1064 no relationship is created1065 when a user has permissions to add an epic1066 when adding epics that are already a child of the parent epic1067 returns an error1068 no relationship is created1069 when total depth after adding would exceed limit1070 returns an error1071 no relationship is created1072 when an epic from a another group is given1073 returns an error1074 no relationship is created1075 when hierarchy is cyclic1076 when given child epic is the same as given parent1077 returns an error1078 no relationship is created1079 when given child epic is parent of the given parent1080 returns an error1081 no relationship is created1082 when the reference list is empty1083 returns an error1084 no relationship is created1085 when there are invalid references1086 adds only valid references1087 returns error status1088 when everything is ok1089 when a correct reference is given1090 creates a new relationship and updates epic1091 moves the new child epic to the top and moves the existing ones down1092 returns success status1093 creates system notes1094 when an epic from a subgroup is given1095 creates a new relationship and updates epic1096 moves the new child epic to the top and moves the existing ones down1097 returns success status1098 creates system notes1099 when multiple valid epics are given1100 creates new relationships1101 creates system notes1102 returns success status1103 avoids un-necessary database queries1104 when at least one epic is still not assigned to the parent epic1105 creates new relationships1106 creates system notes1107 returns success status1108 when adding an Epic that has existing children1109 when Epic to add has more than 5 children1110 creates a new relationship and updates epic1111 moves the new child epic to the top and moves the existing ones down1112 returns success status1113 creates system notes1114 when an epic is already assigned to another epic1115 creates a new relationship and updates epic1116 moves the new child epic to the top and moves the existing ones down1117 returns success status1118 creates system notes1119Vulnerabilities::ConfirmService1120 with an authorized user with proper permissions1121 confirms a vulnerability1122 creates note1123 behaves like calls vulnerability statistics utility services in order1124 calls the service classes in order1125 behaves like removes dismissal feedback from associated findings1126 when there is no error1127 removes dismissal feedback from associated findings1128 when there is an error1129 does not remove any feedback1130 responds with error1131 when security dashboard feature is disabled1132 raises an "access denied" error1133 permissions1134 is expected to be allowed for :owner1135 is expected to be allowed for :maintainer1136 is expected to be allowed for :developer1137 is expected to be denied for :auditor1138 is expected to be denied for :reporter1139 is expected to be denied for :guest1140 is expected to be denied for :anonymous1141 when admin mode is enabled1142 is expected to be allowed for :admin1143 when admin mode is disabled1144 is expected to be denied for :admin1145Ci::Pipeline1146 is expected to have many security_scans class_name => Security::Scan through builds1147 is expected to have many security_findings class_name => Security::Finding through security_scans source => findings1148 is expected to have many downstream_bridges1149 is expected to have many vulnerability_findings class_name => Vulnerabilities::Finding through vulnerabilities_finding_pipelines1150 is expected to have many vulnerabilities_finding_pipelines class_name => Vulnerabilities::FindingPipeline1151 .failure_reasons1152 contains failure reasons about exceeded limits1153 #with_vulnerabilities scope1154 returns pipeline with vulnerabilities1155 #batch_lookup_report_artifact_for_file_type1156 with security report artifact1157 when feature is available1158 returns the dependency_scanning artifact1159 when feature is not available1160 doesn't return the dependency_scanning artifact1161 with license scanning artifact1162 when feature is available1163 returns the license_scanning artifact1164 when feature is not available1165 doesn't return the license_scanning artifact1166 with browser performance artifact1167 when feature is available1168 returns the browser_performance artifact1169 when feature is not available1170 doesn't return the browser_performance artifact1171 with load performance artifact1172 when feature is available1173 returns the load_performance artifact1174 when feature is not available1175 doesn't return the load_performance artifact1176 #expose_license_scanning_data?1177 is expected to be truthy1178 is expected to be truthy1179 #security_reports1180 when pipeline has multiple builds with security reports1181 assigns pipeline to the reports1182 returns security reports with collected data grouped as expected1183 when builds are retried1184 does not take retried builds into account1185 when the `report_types` parameter is provided1186DEPRECATION WARNING: /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/relation.rb:412: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call1187/builds/gitlab-org/gitlab/ee/app/models/ee/ci/job_artifact.rb:29: warning: The called method is defined here1188 (called from security_reports at /builds/gitlab-org/gitlab/app/models/ci/pipeline.rb:1226)1189 returns only the reports which are requested1190 when pipeline does not have any builds with security reports1191 returns empty security reports1192 Store security reports worker1193 when pipeline is succeeded1194 behaves like storing the security reports1195 when the security reports can be stored for the pipeline1196 when the ref is the default branch of project1197 schedules store security report worker1198 when the ref is not the default branch of project1199 does not schedule store security report worker1200 when the security reports can not be stored for the pipeline1201 when the ref is the default branch of project1202 does not schedule store security report worker1203 when the ref is not the default branch of project1204 does not schedule store security report worker1205 when pipeline is dropped1206 behaves like storing the security reports1207 when the security reports can be stored for the pipeline1208 when the ref is the default branch of project1209 schedules store security report worker1210 when the ref is not the default branch of project1211 does not schedule store security report worker1212 when the security reports can not be stored for the pipeline1213 when the ref is the default branch of project1214 does not schedule store security report worker1215 when the ref is not the default branch of project1216 does not schedule store security report worker1217 when pipeline is skipped1218 behaves like storing the security reports1219 when the security reports can be stored for the pipeline1220 when the ref is the default branch of project1221 schedules store security report worker1222 when the ref is not the default branch of project1223 does not schedule store security report worker1224 when the security reports can not be stored for the pipeline1225 when the ref is the default branch of project1226 does not schedule store security report worker1227 when the ref is not the default branch of project1228 does not schedule store security report worker1229 when pipeline is canceled1230 behaves like storing the security reports1231 when the security reports can be stored for the pipeline1232 when the ref is the default branch of project1233 schedules store security report worker1234 when the ref is not the default branch of project1235 does not schedule store security report worker1236 when the security reports can not be stored for the pipeline1237 when the ref is the default branch of project1238 does not schedule store security report worker1239 when the ref is not the default branch of project1240 does not schedule store security report worker1241 #license_scanning_reports1242 when pipeline has multiple builds with license scanning reports1243 returns a license scanning report with collected data1244 when builds are retried1245 does not take retried builds into account1246 when pipeline does not have any builds with license scanning reports1247 returns an empty license scanning report1248 #dependency_list_reports1249 when pipeline has a build with dependency list reports1250 returns a dependency list report with collected data1251 when builds are retried1252 does not take retried builds into account1253 when pipeline does not have any builds with dependency_list reports1254 returns an empty dependency_list report1255 #metrics_report1256 when pipeline has multiple builds with metrics reports1257 returns a metrics report with collected data1258 when pipeline has multiple builds with metrics reports that are retried1259 does not take retried builds into account1260 when pipeline does not have any builds with metrics reports1261 returns an empty metrics report1262 state machine transitions1263 when pipeline has downstream bridges1264 when transitioning to success1265 schedules the pipeline bridge worker1266 when transitioning to blocked1267 schedules the pipeline bridge worker1268 when pipeline project has downstream subscriptions1269 when pipeline runs on a tag1270 when feature is not available1271 does not schedule the trigger downstream subscriptions worker1272 when feature is available1273 schedules the trigger downstream subscriptions worker1274 #latest_merged_result_pipeline?1275 is expected to be truthy1276 when pipeline is not merge request pipeline1277 is expected to be falsy1278 when source sha is outdated1279 is expected to be falsy1280 when target sha is outdated1281 is expected to be falsy1282 #retryable?1283 with pipeline for merged results1284 is expected to equal true1285 #merge_train_pipeline?1286 is expected to be truthy1287 when ref is merge ref1288 is expected to be falsy1289 #merge_request_event_type1290 when pipeline is merge train pipeline1291 is expected to eq :merge_train1292 when pipeline is merge request pipeline1293 is expected to eq :merged_result1294 when pipeline is detached merge request pipeline1295 is expected to eq :detached1296 #latest_failed_security_builds1297 is expected to contain exactly #<Ci::Build id: 426, status: "failed", finished_at: "2021-03-03 08:53:29", trace: nil, created_at: "2...up_id: nil, waiting_for_resource_at: nil, processed: false, scheduling_type: "stage", tag_list: nil>1298 #license_scan_completed?1299 pipeline_status: :blocked, build_types: [:container_scanning], expected_status: false1300 is expected to eq false1301 pipeline_status: :blocked, build_types: [:license_scan_v2_1, :container_scanning], expected_status: true1302 is expected to eq true1303 pipeline_status: :blocked, build_types: [:license_scan_v2_1], expected_status: true1304 is expected to eq true1305 pipeline_status: :blocked, build_types: [], expected_status: false1306 is expected to eq false1307 pipeline_status: :failed, build_types: [:container_scanning], expected_status: false1308 is expected to eq false1309 pipeline_status: :failed, build_types: [:license_scan_v2_1, :container_scanning], expected_status: true1310 is expected to eq true1311 pipeline_status: :failed, build_types: [:license_scan_v2_1], expected_status: true1312 is expected to eq true1313 pipeline_status: :failed, build_types: [], expected_status: false1314 is expected to eq false1315 pipeline_status: :running, build_types: [:container_scanning], expected_status: false1316 is expected to eq false1317 pipeline_status: :running, build_types: [:license_scan_v2_1, :container_scanning], expected_status: true1318 is expected to eq true1319 pipeline_status: :running, build_types: [:license_scan_v2_1], expected_status: true1320 is expected to eq true1321 pipeline_status: :running, build_types: [], expected_status: false1322 is expected to eq false1323 pipeline_status: :success, build_types: [:container_scanning], expected_status: false1324 is expected to eq false1325 pipeline_status: :success, build_types: [:license_scan_v2_1, :container_scanning], expected_status: true1326 is expected to eq true1327 pipeline_status: :success, build_types: [:license_scan_v2_1], expected_status: true1328 is expected to eq true1329 pipeline_status: :success, build_types: [], expected_status: false1330 is expected to eq false1331 #can_store_security_reports?1332 when the security reports can not be stored for the project1333 when the pipeline does not have security reports1334 is expected to be falsy1335 when the pipeline has security reports1336 is expected to be falsy1337 when the security reports can be stored for the project1338 when the pipeline does not have security reports1339 is expected to be falsy1340 when the pipeline has security reports1341 is expected to be truthy1342 #has_security_findings?1343 when the pipeline has security_findings1344 is expected to be truthy1345 when the pipeline does not have security_findings1346 is expected to be falsey1347 #needs_touch?1348 when pipeline was updated less than 5 minutes ago1349 is expected to eq false1350 when pipeline was updated more than 5 minutes ago1351 is expected to eq true1352Ci::Build1353 .license_scan1354 with old license_management artifact1355 is expected to eq "license_management"1356 with new license_scanning artifact1357 is expected to eq "license_scanning"1358 associations1359 is expected to have many security_scans1360 #shared_runners_minutes_limit_enabled?1361 behaves like depends on runner presence and type1362 for shared runner1363 when project#shared_runners_minutes_limit_enabled? is true1364 is expected to be truthy1365 when project#shared_runners_minutes_limit_enabled? is false1366 is expected to be falsey1367 with specific runner1368 is expected to be falsey1369 without runner1370 is expected to be falsey1371 updates pipeline minutes1372 for event success1373 for event drop1374 for event cancel1375 #stick_build_if_status_changed1376 sticks the build if the status changed1377 #variables1378 when environment specific variable is defined1379 when there is a plan for the group1380 GITLAB_FEATURES should include the features for that plan1381 variable CI_HAS_OPEN_REQUIREMENTS1382 is included with value 'true' if there are open requirements1383 is not included if there are no open requirements1384 #collect_security_reports!1385 when build has a security report1386 when there is a sast report1387 parses blobs and add the results to the report1388 adds the created date to the report1389 when there are multiple reports1390 parses blobs and adds the results to the reports1391 when there is a corrupted sast report1392 stores an error1393 when there is unsupported file type1394 stores an error1395 #collect_license_scanning_reports!1396 is expected to eq 01397 when the build has a license scanning report1398 when there is a new type report1399 parses blobs and add the results to the report1400 when there is an old type report1401 parses blobs and add the results to the report1402 when there is a corrupted report1403 returns an empty report1404 when the license scanning feature is disabled1405 does NOT parse license scanning report1406 #collect_dependency_list_reports!1407 with available licensed feature1408 parses blobs and add the results to the report1409 with different report format1410 parses blobs and add the results to the report1411 with disabled licensed feature1412 does NOT parse dependency list report1413 #collect_licenses_for_dependency_list!1414 with available licensed feature1415 parses blobs and add found license1416 with unavailable licensed feature1417 does not add licenses1418 #collect_metrics_reports!1419 when there is a metrics report1420 when license has metrics_reports1421 parses blobs and add the results to the report1422 when license does not have metrics_reports1423 does not parse metrics report1424 #collect_requirements_reports!1425 when there is a requirements report1426 when requirements are available1427 parses blobs and adds the results to the report1428 when requirements are not available1429 does not parse requirements report1430 #retryable?1431 with pipeline for merged results1432 is expected to equal true1433 .license_scan1434 returns only license artifacts1435 ci_secrets_management_available?1436 when build has no project1437 is expected to equal false1438 when secrets management feature is available1439 is expected to equal true1440 when secrets management feature is not available1441 is expected to equal false1442 #runner_required_feature_names1443 when secrets management feature is available1444 when there are secrets defined1445 is expected to include :vault_secrets1446 when there are no secrets defined1447 is expected not to include :vault_secrets1448 when secrets management feature is not available1449 when there are secrets defined1450 is expected not to include :vault_secrets1451 when there are no secrets defined1452 is expected not to include :vault_secrets1453 secrets management usage data1454 when secrets management feature is not available1455 does not track unique users1456 when secrets management feature is available1457 when there are secrets defined1458 on create1459 tracks unique users1460 on update1461 does not track unique users1462 when there are no secrets defined1463 does not track unique users1464EE::Gitlab::Checks::PushRules::CommitCheck1465 #validate!1466 commit message rules1467 returns an error if the rule fails due to missing required characters1468 returns an error if the rule fails due to forbidden characters1469 returns an error if the regex is invalid1470 returns an error if the negative regex is invalid1471 behaves like check ignored when push rule unlicensed1472 is expected to be truthy1473 author email rules1474 returns an error if the rule fails for the committer1475 returns an error if the rule fails for the author1476 returns an error if the regex is invalid1477 behaves like check ignored when push rule unlicensed1478 is expected to be truthy1479 existing member rules1480 with private commit email1481 returns error if private commit email was not associated to a user1482 returns true when private commit email was associated to a user1483 without private commit email1484 returns an error if the commit author is not a GitLab member1485 behaves like check ignored when push rule unlicensed1486 is expected to be truthy1487 GPG sign rules1488 behaves like check ignored when push rule unlicensed1489 is expected to be truthy1490 when it is only enabled in Global settings1491 and commit is not signed1492 returns an error1493 when enabled in Project1494 and commit is not signed1495 returns an error1496 but the change is made in the web application1497 does not return an error1498 and commit is signed1499 does not return an error1500 when disabled in Project1501 and commit is not signed1502 does not return an error1503 Check commit author rules1504 with a commit from the authenticated user1505 with private commit email1506 allows the commit when they were done with private commit email of the current user1507 raises an error when using an unknown private commit email1508 without private commit email1509 does not return an error1510 allows the commit when they were done with another email that belongs to the current user1511 raises an error when the commit was done with an unverified email1512 raises an error when using an unknown email1513 for an ff merge request1514 does not raise errors for a fast forward1515 for a normal merge1516 does not raise errors for a merge commit1517ProjectImportState1518 Project import job1519 with a mirrored project1520 calls RepositoryImportWorker and inserts in front of the mirror scheduler queue1521 transitions1522 state transition: [:started] => [:finished]1523 Geo repository update events1524 calls Geo::RepositoryUpdatedService when running on a Geo primary node1525 does not call Geo::RepositoryUpdatedService when not running on a Geo primary node1526 elasticsearch indexing disabled for this project1527 does not index the repository1528 elasticsearch indexing enabled for this project1529 no index status1530 schedules a full index of the repository1531 with index status1532 schedules a full index of the repository1533 when create1534 sets next execution timestamp to now1535 #in_progress?1536 when import status is scheduled1537 behaves like import in progress1538 when project is not a mirror and repository is empty1539 returns true1540 when project is a mirror1541 when repository is empty1542 returns true1543 when repository is not empty1544 returns true1545 when project is a mirror and repository is not empty1546 returns false1547 when import status is started1548 behaves like import in progress1549 when project is not a mirror and repository is empty1550 returns true1551 when project is a mirror1552 when repository is empty1553 returns true1554 when repository is not empty1555 returns true1556 when project is a mirror and repository is not empty1557 returns false1558 when import status is finished1559 returns false1560 hard failing a mirror1561 sends a notification1562 mirror has an unrecoverable failure1563 sends a notification1564 marks import state as hard_failed1565 does not set next execution timestamp1566 #mirror_waiting_duration1567 returns nil if not mirror1568 returns in seconds the time spent in the queue1569 #mirror_update_duration1570 returns nil if not mirror1571 returns in seconds the time spent updating1572 #updating_mirror?1573 when scheduled1574 behaves like updating mirror1575 with repository1576 returns false1577 with mirror1578 returns false1579 with mirror and repository1580 returns false1581 when started1582 behaves like updating mirror1583 with repository1584 returns false1585 with mirror1586 returns false1587 with mirror and repository1588 returns false1589 #mirror_update_due?1590 when mirror is expected to run soon1591 returns true1592 when the project is archived1593 returns false1594 when the project pending_delete1595 returns false1596 when mirror has no content1597 returns false1598 when mirror is hard_failed1599 returns false1600 mirror is updating1601 returns false when scheduled1602 when next_execution_timestamp is nil1603 returns false1604 #last_update_status1605 when not a mirror1606 returns nil1607 when mirror1608 when mirror has not updated1609 returns nil1610 when mirror has updated1611 when last update time equals the time of the last successful update1612 returns success1613 when last update time does not equal the time of the last successful update1614 returns failed1615 #ever_updated_successfully1616 returns false when project is not a mirror1617 when mirror1618 returns false when project never updated1619 returns false when first update failed1620 returns true when a successful update timestamp exists1621 #set_next_execution_timestamp1622 when base delay is lower than mirror_max_delay1623 when retry count is 01624 applies transition successfully1625 when incrementing retry count1626 applies transition successfully1627 when boundaries are surpassed1628 when last_update_started_at is nil1629 applies transition successfully1630 when base delay is lower than mirror min_delay1631 when resetting retry count1632 applies transition successfully1633 when incrementing retry count1634 applies transition successfully1635 when base delay is higher than mirror_max_delay1636 when resetting retry count1637 applies transition successfully1638 when incrementing retry count1639 applies transition successfully1640 #force_import_job!1641 returns nil if mirror is about to update1642 returns nil when mirror is updating1643 sets next execution timestamp to 5 minutes ago and schedules UpdateAllMirrorsWorker1644 when mirror is hard failed1645 resets retry count and schedules a mirroring worker1646 #reset_retry_count1647 resets retry_count to 01648 #increment_retry_count1649 increments retry_count1650 #set_max_retry_count1651 sets retry_count to max1652 #unrecoverable_failure?1653 is expected to be truthy1654 when error is recoverable1655 is expected to be falsey1656 when error is missing1657 is expected to be falsey1658 when import_state is not failed1659 is expected to be falsey1660Note1661 behaves like an editable mentionable with EE-specific mentions1662 creates new cross-reference notes when the mentionable text is edited1663 behaves like a mentionable with EE-specific mentions1664 extracts references from its reference property1665 creates cross-reference notes1666 #readable_by?1667 note created after epic1668 behaves like users with note access1669 returns true1670 when group is private1671 returns visible but not readable for a non-member user1672 returns visible but not readable for a nil user1673 behaves like users with note access1674 returns true1675 when note is older than epic1676 behaves like users with note access1677 returns true1678 behaves like users without note access1679 returns false1680 when group is private1681 behaves like users with note access1682 returns true1683 behaves like users without note access1684 returns false1685 #system_note_with_references?1686 delegates relate_epic system note to the cross-reference regex1687 delegates unrelate_epic system note to the cross-reference regex1688 scopes1689 .with_suggestions1690 returns the correct note1691 object storage with background upload1692 when running in a Geo primary node1693 creates a Geo deleted log event for attachment1694 #resource_parent1695 returns group for epic notes1696 .by_humans1697 excludes notes by bots and service users1698 .count_for_vulnerability_id1699 counts notes by vulnerability id1700 #skip_notification?1701 when there is no review1702 when the note is not for vulnerability1703 is expected to be falsey1704 when the note is for vulnerability1705 is expected to be truthy1706 when the review exists1707 when the note is not for vulnerability1708 is expected to be truthy1709 when the note is for vulnerability1710 is expected to be truthy1711Security::SyncReportsToApprovalRulesService#execute1712 when there are reports1713 when pipeline passes1714 when high-severity vulnerabilities are present1715 when high-severity vulnerabilities already present in target branch pipeline1716 lowers approvals_required count to zero1717 when high-severity vulnerabilities do not present in target branch pipeline1718 won't change approvals_required count1719 when only low-severity vulnerabilities are present1720 lowers approvals_required count to zero1721 when merge_requests are merged1722 won't change approvals_required count1723 license compliance policy1724 when a license violates the license compliance policy1725 with a new report1726 is expected not to change `license_compliance_rule.reload.approvals_required`1727 is expected to equal :success1728 with an old report1729 is expected not to change `license_compliance_rule.reload.approvals_required`1730 is expected to equal :success1731 when no licenses violate the license compliance policy1732 with a new report1733 is expected to change `license_compliance_rule.reload.approvals_required` from 1 to 01734 is expected to equal :success1735 with an old report1736 is expected to change `license_compliance_rule.reload.approvals_required` from 1 to 01737 is expected to equal :success1738 when an unexpected error occurs1739 is expected to equal :error1740 is expected to eql "Failed to update approval rules"1741 when pipeline fails1742 when high-severity vulnerabilities are present1743 when high-severity vulnerabilities already present in target branch pipeline1744 lowers approvals_required count to zero1745 when high-severity vulnerabilities do not present in target branch pipeline1746 won't change approvals_required count1747 when only low-severity vulnerabilities are present1748 lowers approvals_required count to zero1749 without reports1750 won't change approvals_required count1751 license compliance policy1752 is expected not to change `license_compliance_rule.reload.approvals_required`1753 is expected to equal :success1754ApprovalRuleLike1755 MergeRequest1756 behaves like approval rule like1757 #approvers1758 behaves like approvers contains the right users1759 contains users as direct members and group members1760 when the user relations are already loaded1761 does not perform any new queries when all users are loaded already1762 behaves like approvers contains the right users1763 contains users as direct members and group members1764 when user is both a direct member and a group member1765 contains only unique users1766 validation1767 when value is too big1768 is invalid1769 when value is within limit1770 is valid1771 #overridden?1772 returns false1773 when rule has source rule1774 and any attributes differ from source rule1775 name1776 behaves like overridden rule1777 returns true1778 approvals_required1779 behaves like overridden rule1780 returns true1781 users1782 behaves like overridden rule1783 returns true1784 groups1785 behaves like overridden rule1786 returns true1787 and no changes made to attributes1788 returns false1789 Project1790 behaves like approval rule like1791 #approvers1792 behaves like approvers contains the right users1793 contains users as direct members and group members1794 when the user relations are already loaded1795 does not perform any new queries when all users are loaded already1796 behaves like approvers contains the right users1797 contains users as direct members and group members1798 when user is both a direct member and a group member1799 contains only unique users1800 validation1801 when value is too big1802 is invalid1803 when value is within limit1804 is valid1805 #overridden?1806 returns false1807 .group_users1808 returns distinct users1809Ci::BuildPolicy1810 #update_build?1811 behaves like protected environments access1812 when Protected Environments feature is not available in the project1813 access_level: :guest, result: false1814 is expected to eq false1815 access_level: :reporter, result: false1816 is expected to eq false1817 access_level: :developer, result: true1818 is expected to eq true1819 access_level: :maintainer, result: true1820 is expected to eq true1821 access_level: :admin, result: true1822 is expected to eq true1823 when Protected Environments feature is available in the project1824 when environment is protected1825 when user does not have access to the environment1826 access_level: :guest, result: false1827 is expected to eq false1828 access_level: :reporter, result: false1829 is expected to eq false1830 access_level: :developer, result: false1831 is expected to eq false1832 access_level: :maintainer, result: false1833 is expected to eq false1834 access_level: :admin, result: true1835 is expected to eq true1836 when user has access to the environment1837 access_level: :reporter, result: true1838 is expected to eq true1839 access_level: :developer, result: true1840 is expected to eq true1841 access_level: :maintainer, result: true1842 is expected to eq true1843 access_level: :admin, result: true1844 is expected to eq true1845 when the user has access via a group1846 is expected to eq true1847 when environment is not protected1848 access_level: :guest, result: false1849 is expected to eq false1850 access_level: :reporter, result: false1851 is expected to eq false1852 access_level: :developer, result: true1853 is expected to eq true1854 access_level: :maintainer, result: true1855 is expected to eq true1856 access_level: :admin, result: true1857 is expected to eq true1858ProductivityAnalytics1859 metrics data1860 #histogram_data1861 metric: "days_to_merge", expected_result: {3=>2, 14=>1, 30=>1}1862 calculates correctly1863 metric: "time_to_first_comment", expected_result: {0=>3, 24=>1}1864 calculates correctly1865 metric: "time_to_last_commit", expected_result: {312=>1, 696=>1, 48=>2}1866 calculates correctly1867 metric: "time_to_merge", expected_result: {24=>3, 0=>1}1868 calculates correctly1869 metric: "commits_count", expected_result: {1=>2, 5=>1, 20=>1}1870 calculates correctly1871 metric: "loc_per_commit", expected_result: {15=>1, 16=>1, 14=>1, 5=>1}1872 calculates correctly1873 metric: "files_touched", expected_result: {15=>1, 3=>2, 1=>1}1874 calculates correctly1875 metric: "something_invalid", expected_result: nil1876 calculates correctly1877 for multiple labeled mrs1878 returns aggregated data1879 #scatterplot_data1880 returns metric values for each MR1881 for multiple labeled mrs1882 properly returns MRs with metrics calculated1883 #merge_requests_extended1884 returns MRs data with all the metrics calculated1885 with custom sorting1886 reorders MRs according to custom sorting1887 with unknown sorting1888 sorts by id desc1889 for multiple labeled mrs1890 properly returns MRs with metrics calculated1891 .start_date1892 delegates to ApplicationSetting1893Resolvers::TimelogResolver1894 is expected to have non-null GraphQL type TimelogConnection1895 within a group1896 #resolve1897 finds all timelogs within given dates1898 return nothing when user has insufficient permissions1899 returns nothing when feature is disabled1900 when start_time and end_date are present1901 finds timelogs until the end of day of end_date1902 finds timelogs until the time specified on end_time1903 finds all timelogs within start_date and end_time1904 when arguments are invalid1905 when no time or date arguments are present1906 returns correct error1907 when only start_time is present1908 returns correct error1909 when only end_time is present1910 returns correct error1911 when only start_date is present1912 returns correct error1913 when only end_date is present1914 returns correct error1915 when start_time and start_date are present1916 returns correct error1917 when end_time and end_date are present1918 returns correct error1919 when three arguments are present1920 returns correct error1921 when start argument is after end argument1922 returns correct error1923 when time range is more than 60 days1924 returns correct error1925GroupMember1926 is expected to includes the EE::GroupMember module1927 behaves like member validations1928 validations1929 validates SSO enforcement1930 enforced SSO enabled1931 allows adding the group member1932 does not add the group member1933 subgroups1934 does not allow adding a group member with SSO enforced on subgroup1935 enforced SSO disabled1936 allows adding the group member1937 validations1938 group domain limitations1939 when group has email domain feature switched on1940 users email must match at least one of the allowed domain emails1941 shows proper error message1942 shows proper error message for single domain limitation1943 invited email must match at least one of the allowed domain emails1944 user emails matching allowed domain must be verified1945 with project bot users1946 bot user email does not match1947 allows the project bot user1948 with group SAML users1949 user emails does not have to be verified1950 with group SCIM users1951 user emails does not have to be verified1952 when group is subgroup1953 users email must match at least one of the allowed domain emails1954 invited email must match at least one of the allowed domain emails1955 user emails matching allowed domain must be verified1956 when group has email domain feature switched off1957 users email need not match allowed domain emails1958 invited email need not match allowed domain emails1959 user emails does not have to be verified1960 access level inclusion1961 when minimal access user feature switched on1962 users can have access levels from minimal access to owner1963 when group is a subgroup1964 users cannot have minimal access level1965 when minimal access user feature switched off1966 users can have access levels from guest to owner1967 scopes1968 .by_group_ids1969 returns only members from selected groups1970 .with_saml_identity1971 returns members with identity linked to given saml provider1972 #group_saml_identity1973 without saml_provider1974 is expected to eq nil1975 with saml_provider enabled1976 when member has no connected identity1977 is expected to eq nil1978 when member has connected identity1979 returns related identity1980 when member has connected identity of different group1981 is expected to eq nil1982 group member webhooks1983 when a member is added to the group1984 executes user_add_to_group event webhook1985 ancestor groups1986 fires two webhooks when parent group has member_events webhook enabled1987 fires one webhook when parent group has member_events webhook disabled1988 when a group member is updated1989 executes user_update_for_group event webhook when user role is updated1990 executes user_update_for_group event webhook when user expiration date is updated1991 when the group member is deleted1992 executes user_remove_from_group event webhook when group member is deleted1993 does not execute webhook1994 does not execute webhooks if group member events webhook is disabled1995 does not execute webhooks if feature flag is disabled1996 group member welcome email1997 when user is provisioned by group1998 schedules the welcome email with confirmation1999 when user is not provisioned by group2000 schedules plain welcome to the group email2001Security::WafAnomalySummaryService2002 #execute2003 without cluster2004 returns no results2005 without elastic_stack2006 returns no results2007 with environment missing external_url2008 returns nil2009 with default histogram2010 no requests2011 returns results2012 when totals_only is set to true2013 returns totals only2014 no violations2015 returns results2016 when totals_only is set to true2017 returns totals only2018 with violations2019 returns results2020 when totals_only is set to true2021 returns totals only2022 with legacy es6 cluster2023 returns results2024 with review app2025 resolves transaction_id from external_url2026 with time window2027 passes time frame to ElasticSearch2028 with interval2029 passes interval to ElasticSearch2030ProtectedBranches::CreateService2031 #execute2032 adds a security audit event entry2033 code_owner_approval_required2034 when unavailable2035 ignores incoming params and sets code_owner_approval_required to false2036 when available2037 when code_owner_approval_required param is true2038 sets code_owner_approval_required to true2039 behaves like records an onboarding progress action2040 is expected to receive execute({:action=>:code_owners_enabled}) 1 time2041 when code_owner_approval_required param is false2042 sets code_owner_approval_required to false2043 behaves like does not record an onboarding progress action2044 is expected not to receive new(*(any args)) 0 times2045 when there are open merge requests2046 calls MergeRequest::SyncCodeOwnerApprovalRules to update open MRs2047 when the branch is a wildcard2048 calls MergeRequest::SyncCodeOwnerApprovalRules to update open MRs for *ture2049 calls MergeRequest::SyncCodeOwnerApprovalRules to update open MRs for *eatur*2050 calls MergeRequest::SyncCodeOwnerApprovalRules to update open MRs for feat*2051 with invalid params2052 doesn't add a security audit event entry2053Vulnerabilities::ResolveService2054 with an authorized user with proper permissions2055 resolves a vulnerability2056 creates note2057 behaves like calls vulnerability statistics utility services in order2058 calls the service classes in order2059 behaves like removes dismissal feedback from associated findings2060 when there is no error2061 removes dismissal feedback from associated findings2062 when there is an error2063 does not remove any feedback2064 responds with error2065 when security dashboard feature is disabled2066 raises an "access denied" error2067 permissions2068 is expected to be allowed for :owner2069 is expected to be allowed for :maintainer2070 is expected to be allowed for :developer2071 is expected to be denied for :auditor2072 is expected to be denied for :reporter2073 is expected to be denied for :guest2074 is expected to be denied for :anonymous2075 when admin mode is enabled2076 is expected to be allowed for :admin2077 when admin mode is disabled2078 is expected to be denied for :admin2079Vulnerabilities::FindingSerializer2080 #represent2081 when used without pagination2082 created a not paginated serializer2083 when a single object is being serialized2084 serializers the vulnerability finding object2085 when multiple objects are being serialized2086 serializers the array of vulnerability finding object2087 when used with pagination2088 created a paginated serializer2089 when resource is not paginatable2090 when a single vulnerability finding object is being serialized2091 raises error2092 when resource is paginatable relation2093 when a single vulnerability finding object is present in relation2094 serializes vulnerability finding relation2095 when multiple vulnerability finding objects are being serialized2096 serializes appropriate number of objects2097 append relevant headers2098Gitlab::Insights::Reducers::CountPerPeriodReducer2099 with no issues2100 returns no issuables2101 with open issues2102 raises an error for an unknown :period option2103 raises an error for an unknown :period_field option2104 raises an error for an unknown :period_limit option2105 returns issuables with only the needed fields2106 avoids N + 1 queries2107 with closed issues2108 returns issuables with only the needed fields2109 works when string `period_field` is passed2110 with opened merge requests2111 raises an error for an unknown :period_field option2112 returns issuables with only the needed fields2113 with merged merge requests2114 returns issuables with only the needed fields2115 with closed merge requests2116 returns issuables with only the needed fields2117NetworkPolicyMetricsWorker2118 #perform2119 updates usage counter2120 with prometheus application on another cluster2121 does not count clusters without cilium2122 with prometheus service on another project2123 does not count projects without cilium2124 with Prometheus client error2125 adds usage of the rest2126 with unconfigured adapter2127 adds usage of the rest2128Jobs/Load-Performance-Testing.gitlab-ci.yml2129 the created pipeline2130 has no errors2131 on master2132 behaves like load_performance job on tag or branch2133 by default2134 when LOAD_PERFORMANCE_DISABLED2135 on another branch2136 behaves like load_performance job on tag or branch2137 by default2138 when LOAD_PERFORMANCE_DISABLED2139 on tag2140 behaves like load_performance job on tag or branch2141 by default2142 when LOAD_PERFORMANCE_DISABLED2143 on merge request2144 has no jobs2145Issue2146 searches issues2147 names elasticsearch queries2148 searches by iid and scopes to type: issue only2149 returns json with all needed elements2150 handles a project missing project_feature2151 when limited indexing is on2152 when the project is not enabled specifically2153 #searchable?2154 returns false2155 when a project is enabled specifically2156 #searchable?2157 returns true2158 when a group is enabled2159 #searchable?2160 returns true2161 field length limits2162 when there is an elasticsearch_indexed_field_length limit2163 truncates to the default plan limit2164 when the elasticsearch_indexed_field_length limit is 02165 does not truncate the fields2166 behaves like no results when the user cannot read cross project2167 returns the record if a single project was passed2168 does not return anything when trying to search cross project2169IssueLinks::CreateService2170 #execute2171 when there is an issue to relate2172 creates relationships2173 returns success status2174 when feature is not available2175 returns error2176 no relationship is created2177 when blocked_by relation is used2178 creates creates `blocks` relation with swapped source and target2179 when reference of any already related issue is present2180 sets the same type of relation for selected references2181GroupsWithTemplatesFinder2182 without group id2183 returns all groups2184 when namespace checked2185 returns groups on ultimate/premium plan2186 with subgroup with template2187 returns groups on ultimate/premium plan2188 with group id2189 returns given group with it descendants2190 with subgroup with template2191 returns only chosen group2192 when namespace checked2193 does not return the group2194 with subgroup with template2195 returns only chosen group2196 returns only chosen subgroup2197Board2198 is expected to includes the EE::Board module2199 relationships2200 is expected to belong to milestone required:2201 is expected to belong to iteration required:2202 is expected to have one board_assignee2203 is expected to have one assignee through board_assignee2204 is expected to have many board_labels2205 is expected to have many labels through board_labels2206 is expected to have many user_preferences2207 is expected to have many boards_epic_user_preferences class_name => Boards::EpicUserPreference2208 validations2209 is expected to validate that :name cannot be empty/falsy2210 validations2211 when group is present2212 is expected not to validate that :project cannot be empty/falsy2213 is expected to validate that :group cannot be empty/falsy2214 when project is present2215 is expected to validate that :project cannot be empty/falsy2216 is expected not to validate that :group cannot be empty/falsy2217 milestone2218 returns nil when the feature is not available2219 when the feature is available2220 returns Milestone::None for started milestone id2221 returns Milestone::Any for started milestone id2222 returns Milestone::Upcoming for upcoming milestone id2223 returns Milestone::Started for started milestone id2224 returns milestone for valid milestone id2225 iteration2226 returns nil when the feature is not available2227 when the feature is available2228 returns Iteration::Predefined::None, when iteration_id is None.id2229 returns Iteration::Predefined::Any, when iteration_id is Any.id2230 returns ::Iteration::Predefined::Current, when iteration_id is Current.id2231 returns iteration for valid iteration id2232 returns nil for invalid iteration id2233 #scoped?2234 returns true when milestone is not nil AND is not "Any milestone"2235 returns true when weight is not nil AND is not "Any weight"2236 returns true when any label exists2237 returns true when assignee is present2238 returns false when feature is not available2239 returns false when board is not scoped2240Ci::Minutes::UpdateBuildMinutesService2241 #perform2242 with shared runner2243 creates a statistics and sets duration with applied cost factor2244 tracks the usage on a monthly basis2245 behaves like new tracking matches legacy tracking2246 stores the same information in both legacy and new tracking2247 when feature flag ci_minutes_monthly_tracking is disabled2248 does not track usage on a monthly basis2249 when statistics are created2250 updates statistics and adds duration with applied cost factor2251 tracks the usage on a monthly basis2252 behaves like new tracking matches legacy tracking2253 stores the same information in both legacy and new tracking2254 when feature flag ci_minutes_monthly_tracking is disabled2255 does not track usage on a monthly basis2256 when group is subgroup2257 creates a statistics in root group2258 tracks the usage on a monthly basis2259 stores the same information in both legacy and new tracking2260 for specific runner2261 does not create statistics2262 does not track namespace monthly usage2263 does not track project monthly usage2264Gitlab::Analytics::CycleAnalytics::Summary::Group::StageTimeSummary2265 #lead_time2266 issuable filter parameters2267 when `author_username` is given2268 returns the correct lead time2269 when unknown `author_username` is given2270 returns `-`2271 when `label_name` is given2272 returns the correct lead time2273 when unknown `label_name` is given2274 returns `-`2275 with `from` date2276 finds the lead time of issues created after it2277 with subgroups2278 finds the lead time of issues from them2279 with projects specified in options2280 finds the lead time of issues from those projects2281 when `from` and `to` parameters are provided2282 finds the lead time of issues from 3 days ago2283 with other projects2284 does not find the lead time of issues from them2285 #cycle_time2286 with `from` date2287 finds the cycle time of issues created after it2288 with subgroups2289 finds the cycle time of issues from them2290 with projects specified in options2291 finds the cycle time of issues from those projects2292 when `from` and `to` parameters are provided2293 finds the cycle time of issues created between `from` and `to`2294 with other projects2295 does not find the cycle time of issues from them2296Autocomplete::VulnerabilitiesAutocompleteFinder2297 #execute2298 when vulnerable is project2299 behaves like autocomplete vulnerabilities finder2300 when user does not have access to project2301 is expected to be empty2302 when user has access to project2303 when security dashboards are not enabled2304 is expected to be empty2305 when security dashboards are enabled2306 is expected to contain exactly #<Vulnerability id:35 [vulnerability:group325/project1215/35]>2307 when multiple vulnerabilities are found2308 returns max 5 items2309 is sorted descending by id2310 when search is provided in params2311 and it matches ID of vulnerability2312 is expected to contain exactly #<Vulnerability id:35 [vulnerability:group325/project1215/35]>2313 and it matches title of vulnerability2314 is expected to contain exactly #<Vulnerability id:35 [vulnerability:group325/project1215/35]>2315 and it does not match neither title or id of vulnerability2316 is expected to be empty2317 when vulnerable is group2318 behaves like autocomplete vulnerabilities finder2319 when user does not have access to project2320 is expected to be empty2321 when user has access to project2322 when security dashboards are not enabled2323 is expected to be empty2324 when security dashboards are enabled2325 is expected to contain exactly #<Vulnerability id:35 [vulnerability:group325/project1215/35]>2326 when multiple vulnerabilities are found2327 returns max 5 items2328 is sorted descending by id2329 when search is provided in params2330 and it matches ID of vulnerability2331 is expected to contain exactly #<Vulnerability id:35 [vulnerability:group325/project1215/35]>2332 and it matches title of vulnerability2333 is expected to contain exactly #<Vulnerability id:35 [vulnerability:group325/project1215/35]>2334 and it does not match neither title or id of vulnerability2335 is expected to be empty2336EE::SystemNotes::EpicsService2337 #epic_issue2338 issue added to an epic2339 creates the note text correctly2340 behaves like a system note2341 has the correct attributes2342 issue removed from an epic2343 creates the note text correctly2344 behaves like a system note2345 has the correct attributes2346 #issue_on_epic2347 issue added to an epic2348 creates the note text correctly2349 behaves like a system note2350 has the correct attributes2351 issue removed from an epic2352 creates the note text correctly2353 behaves like a system note2354 has the correct attributes2355 invalid type2356 raises an error2357 #change_epic_date_note2358 when start date was changed2359 sets the note text2360 behaves like a system note2361 has the correct attributes2362 when start date was removed2363 sets the note text2364 behaves like a system note2365 has the correct attributes2366 #issue_promoted2367 note on the epic2368 sets the note text2369 behaves like a system note2370 has the correct attributes2371 note on the issue2372 sets the note text2373 behaves like a system note2374 has the correct attributes2375 #change_epics_relation2376 relate epic2377 behaves like a system note2378 has the correct attributes2379 when epic is added as child to a parent epic2380 sets the note text2381 when added epic is from a subgroup2382 sets the note text2383 unrelate epic2384 behaves like a system note2385 has the correct attributes2386 when child epic is removed from a parent epic2387 sets the note text2388 when removed epic is from a subgroup2389 sets the note text2390UpdateAllMirrorsWorker2391 #perform2392 does nothing if the database is read-only2393 does not execute if cannot get the lease2394 removes metadata except correlation_id from the application context before scheduling mirrors2395 schedules mirrors2396 when updates were scheduled2397 sleeps a bit after scheduling mirrors2398 if capacity is available2399 reschedules the job2400 if no capacity is available2401 does not reschedule the job2402 when no updates were scheduled2403 does not reschedule the job2404 #schedule_mirrors!2405 when the instance is unlicensed2406 does not schedule when project does not have repository mirrors available2407 when the instance is licensed2408 when capacity is in excess2409 schedules all available mirrors2410 when the instance checks namespace plans2411 when using SQL to filter projects2412 when capacity is in excess2413 schedules all available mirrors2414 when capacity is exactly sufficient2415 does not include unlicensed non-public projects in batches2416 when checking licenses on each record individually2417 when capacity is in excess2418 schedules all available mirrors2419 requests as many batches as necessary2420 does not schedule a mirror of an archived project2421 does not schedule a mirror of an pending_delete project2422 when capacity is exactly sufficient2423 schedules all available mirrors2424 requests as many batches as necessary2425 when capacity is insufficient2426 schedules mirrors by next_execution_timestamp2427 requests as many batches as necessary2428 when capacity is insufficient and the first batch is empty2429 schedules mirrors by next_execution_timestamp2430 requests as many batches as necessary2431Projects::GitlabProjectsImportService2432 #execute2433 creates template export job2434 if project saved and custom template exists2435 sets custom template import strategy after export2436 does not create export job2437 if project not saved2438 behaves like gitlab projects import validations2439 with an invalid path2440 returns an invalid project2441 with a valid path2442 creates a project2443 override params2444 stores them as import data when passed2445 when there is a project with the same path2446 does not create the project2447 when overwrite param is set2448 creates a project in a temporary full_path2449DastScannerProfiles::CreateService2450 #execute2451 when a user does not have access to a project2452 returns an error status2453 populates message2454 when the user does not have permission to run a dast scan2455 returns an error status2456 populates message2457 when the user can run a dast scan2458 returns a success status2459 creates a dast_scanner_profile2460 creates a dast_scanner_profile with the given params2461 returns a dast_scanner_profile payload2462 when the dast_scanner_profile name exists2463 does not create a new dast_scanner_profile2464 returns an error status2465 populates message2466 when on demand scan licensed feature is not available2467 returns an error status2468 populates message2469StatusPage::MarkForPublicationService2470 #execute2471 when license is not available2472 behaves like does not track the incident2473 is expected not to change `::StatusPage::PublishedIncident.count`2474 is expected not to change `issue.notes.count`2475 returns the exepected error state2476 when status page does not exist2477 behaves like does not track the incident2478 is expected not to change `::StatusPage::PublishedIncident.count`2479 is expected not to change `issue.notes.count`2480 returns the exepected error state2481 when status page is disabled2482 behaves like does not track the incident2483 is expected not to change `::StatusPage::PublishedIncident.count`2484 is expected not to change `issue.notes.count`2485 returns the exepected error state2486 when status page is enabled2487 when issue is publishable2488 is expected to change `::StatusPage::PublishedIncident.count` by 12489 is expected to change `issue.notes.count` by 12490 is expected to be success2491 increments the publish counter2492 when issue is confidential2493 behaves like does not track the incident2494 is expected not to change `::StatusPage::PublishedIncident.count`2495 is expected not to change `issue.notes.count`2496 returns the exepected error state2497 when issue is already published2498 behaves like does not track the incident2499 is expected not to change `::StatusPage::PublishedIncident.count`2500 is expected not to change `issue.notes.count`2501 returns the exepected error state2502 when user is not logged in2503 behaves like does not track the incident2504 is expected not to change `::StatusPage::PublishedIncident.count`2505 is expected not to change `issue.notes.count`2506 returns the exepected error state2507 when user does not have permissions2508 behaves like does not track the incident2509 is expected not to change `::StatusPage::PublishedIncident.count`2510 is expected not to change `issue.notes.count`2511 returns the exepected error state2512 when an error occurs2513 is expected not to change `::StatusPage::PublishedIncident.count`2514 is expected not to change `issue.notes.count`2515 returns the exepected error state and reports the error to sentry2516Analytics::DevopsAdoption::SnapshotCalculator2517 end_time2518 equals to range_end2519 issue_opened2520 is expected to eq false2521 with an issue opened within month2522 is expected to eq true2523 merge_request_opened2524 is expected to eq false2525 with a merge request opened within month2526 is expected to eq true2527 merge_request_approved2528 is expected to eq false2529 with a merge request approved within month2530 is expected to eq true2531 runner_configured2532 is expected to eq false2533 with active runner present2534 is expected to eq true2535 pipeline_succeeded2536 is expected to eq false2537 with successful pipeline within month2538 is expected to eq true2539 deploy_succeeded2540 is expected to eq false2541 with successful deployment within month2542 is expected to eq true2543 security_scan_succeeded2544 is expected to eq false2545 with successful security scan within month2546 is expected to eq true2547 when snapshot already exists2548 calculates metrics which are not true yet2549 doesn't change metrics which are true already2550EE::Gitlab::Checks::PushRules::BranchCheck2551 #validate!2552 rejects the branch that is not allowed2553 returns an error if the regex is invalid2554 behaves like check ignored when push rule unlicensed2555 is expected to be truthy2556 when the ref is not a branch ref2557 allows the creation2558 when no commits are present2559 rejects the branch that is not allowed2560 when the default branch does not match the push rules2561 allows the default branch even if it does not match push rule2562DastSiteProfilesFinder2563 #execute2564 returns all dast_site_profiles2565 eager loads the dast_site association2566 eager loads the dast_site_validation association2567 filtering by id2568 returns a single dast_site_profile2569 filtering by name2570 returns a single dast_site_profile2571 when the dast_site_profile1 does not exist2572 returns an empty relation2573Verify/Browser-Performance.gitlab-ci.yml2574 the created pipeline2575 has no errors2576 on master2577 behaves like browser_performance job on tag or branch2578 by default2579 on another branch2580 behaves like browser_performance job on tag or branch2581 by default2582 on tag2583 behaves like browser_performance job on tag or branch2584 by default2585 on merge request2586 has no jobs2587DependencyListEntity2588 behaves like report list2589 #as_json2590 with success build2591 with provided items2592 has array of items with status ok2593 with no items2594 has empty array of items with status no_items2595 with failed build2596 with authorized user2597 has job_path with status failed_job2598 without authorized user2599 has only status failed_job2600 with no build2601 has status job_not_set_up and no job_path2602ResourceAccessTokens::RevokeService2603 project access token audit events2604 when project access token is successfully revoked2605 logs project access token details2606 behaves like audit event details2607 creates an audit event2608 logs author and resource info2609 when project access token is unsuccessfully revoked2610 when access token does not belong to this project2611 logs the find error message2612 behaves like audit event details2613 creates an audit event2614 logs author and resource info2615 with inadequate permissions2616 logs the permission error message2617 behaves like audit event details2618 creates an audit event2619 logs author and resource info2620groups/edit.html.haml2621 ip_restriction2622 feature is enabled2623 top-level group2624 with single subnet2625 behaves like renders ip_restriction setting2626 renders ranges in comma separated format2627 with multiple subnets2628 behaves like renders ip_restriction setting2629 renders ranges in comma separated format2630 subgroup2631 behaves like does not render ip_restriction setting2632 does not render the ranges2633 feature is disabled2634 behaves like does not render ip_restriction setting2635 does not render the ranges2636 allowed_email_domain2637 feature is enabled2638 top-level group2639 with single domain2640 behaves like renders allowed_email_domain setting2641 renders domains in comma separated format2642 with multiple domain2643 behaves like renders allowed_email_domain setting2644 renders domains in comma separated format2645 subgroup2646 behaves like does not render allowed_email_domain setting2647 does not render the domains2648 feature is disabled2649 behaves like does not render allowed_email_domain setting2650 does not render the domains2651Dashboard::Projects::CreateService2652 #execute2653 with projects2654 with integer id2655 adds a project2656 with string id2657 adds a project2658 with a project that does not exist2659 does not add a not found project2660 when feature name is provided2661 with project without provided feature enabled2662 checks if feature is available2663 does not check if user has access to the project with given ability2664 does not add a not licensed project2665 when ability name is provided2666 with project for which user has no permission2667 does not check if feature is available2668 checks if user has access to the project with given ability2669 does not add a not licensed project2670 with repeating project id2671 adds a project only once2672 with already added project2673 does not add duplicates2674ApprovalWrappedAnyApproverRule2675 #approved?2676 #approvals_approvers2677 contains every approved user2678 when an author and a committer approved2679 does not contain an author2680 #commented_approvers2681 returns an array2682 returns an array of approvers who have commented2683Vulnerabilities::FeedbackPolicy2684 create_vulnerability_feedback2685 when issue cannot be created2686 when issues feature is disabled2687 does not allow to create issue feedback2688 when user does not have permission to create issue in project2689 does not allow to create issue feedback2690 when merge request cannot be created2691 when merge request feature is disabled2692 does not allow to create merge request feedback2693 when user does not have permission to create merge_request in project2694 does not allow to create merge request feedback2695 when user does not have developer permission2696 does not allow to create merge request feedback2697 with security bot2698 when auto-fix is enabled2699 is expected to be allowed :create_vulnerability_feedback2700 when auto-fix is disabled2701 is expected to be disallowed :create_vulnerability_feedback2702 update_vulnerability_feedback2703 when feedback type is issue2704 does not allow to update issue feedback2705 when feedback type is merge_request2706 does not allow to update merge request feedback2707 when feedback type is dismissal2708 allows to update dismissal feedback2709 destroy_vulnerability_feedback2710 when feedback type is issue2711 does not allow to destroy issue feedback2712 when feedback type is merge_request2713 does not allow to destroy merge request feedback2714 when feedback type is dismissal2715 allows to destroy dismissal feedback2716Vulnerabilities::FindingIdentifier2717 associations2718 is expected to belong to finding class_name => Vulnerabilities::Finding required:2719 is expected to belong to identifier class_name => Vulnerabilities::Identifier required:2720 validations2721 is expected to validate that :finding cannot be empty/falsy2722 is expected to validate that :identifier cannot be empty/falsy2723 is expected to validate that :identifier_id is case-sensitively unique within the scope of :occurrence_id2724GroupSaml::GroupManagedAccounts::TransferMembershipService2725 removes the current password2726 returns true2727 does not reduce the amount of memberships2728 removes previous known identities of the account2729 when remove_non_gma_memberships flag is enable2730 reduces the amount of memberships2731 when at least one non-owner member was not removed2732 returns a falsy value2733 when the user changes are not saved2734 doesn't remove account's members2735 when the user is owner of a group2736 does not reduce the amount of memberships2737 when the user changes are not saved2738 doesn't remove account's identities2739 when the email doesn't match2740 returns a falsy value2741 convert_user_to_group_managed_accounts flag is disable2742 returns a falsy value2743 doesn't remove non-owner members without dedicated accounts from the group2744 transferred account2745 doesn't allow blank passwords2746VulnerabilityExports::ExportService2747 ::export2748 instantiates a new instance of the service class and sends export message to it2749 #export2750 generating the export file2751 runs synchronized with distributed semaphore2752 when the vulnerability_export is not in `created` state2753 does not execute export file generation logic2754 when the vulnerability_export is in `created` state2755 when the export generation fails2756 sets the state of export back to `created`2757 schedules the export deletion background job2758 when the export generation succeeds2759 marks the state of export object as `started` and then `finished`2760 schedules the export deletion background job2761 when the export format is csv2762 calls the VulnerabilityExports::Exporters::CsvService which sets the file and filename2763Jira::Requests::Issues::ListService2764 #execute2765 without jira_service2766 returns an error response2767 when jira_service is nil2768 returns an error response2769 with jira_service2770 when validations and params are ok2771 requests for default fields2772 when the request to Jira returns an error2773 returns an error response2774 when jira runs on a subpath2775 takes the subpath into account2776 when the request does not return any values2777 returns a payload with no issues2778 when the request returns values2779 returns a payload with jira issues2780 when using pagination parameters2781 honors page and per_page2782 without pagination parameters2783 uses the default options2784SoftwareLicensePolicies::UpdateService2785 #execute2786 approval status update2787 with license management unavailable2788 does not update the software license policy2789 with a user allowed to admin2790 updates the software license policy correctly2791 with a user not allowed to admin2792 does not updates the software license policy2793 name update2794 does not updates the software license policy2795Gitlab::Auth::GroupSaml::IdentityLinker2796 linked identity exists2797 doesn't create new identity2798 sets #changed? to false2799 adds user to group2800 identity needs to be created2801 with identity provider initiated request2802 attempting to link accounts raises an exception2803 with valid gitlab initiated request2804 creates linked identity2805 sets identity provider2806 sets saml provider2807 sets identity extern_uid2808 sets #changed? to true2809 adds user to group2810GroupSaml::Identity::DestroyService2811 prevents future Group SAML logins2812 does not use a transaction2813 uses a transaction when transactional is set2814 removes access to the group2815 doesn't remove the last group owner2816 logs an audit event2817Banzai::ReferenceParser::IterationParser2818 #nodes_visible_to_user2819 when the link has a data-iteration attribute2820 behaves like referenced feature visibility2821 when feature is disabled2822 does not create reference2823 when feature is enabled only for team members2824 does not create reference for non member2825 creates reference for member2826 when feature is enabled2827 creates reference2828 #referenced_by2829 when the link has a data-iteration attribute2830 using an existing iteration ID2831 returns an Array of iterations2832 using a non-existing iteration ID2833 returns an empty Array2834VulnerabilityFeedbackModule::UpdateService#execute2835 when params are valid2836 when new comment is passed2837 adds the comments2838 second user updates the comment2839 sets second user as the comment author2840 when updated comment is passed2841 updates the comments2842 when deleting a comment2843 removes the comment data2844GroupProjectsFinder2845 with an auditor current user2846 only shared2847 is expected to eq [#<Project id:1376 namespace1308/5>>, #<Project id:1375 namespace1307/4>>, #<Project id:1374 namespace1306/3>>]2848 only owned2849 is expected to eq [#<Project id:1373 group394/2>>, #<Project id:1372 group394/1>>]2850 all2851 is expected to eq [#<Project id:1376 namespace1308/5>>, #<Project id:1375 namespace1307/4>>, #<Project id:1374 namespace1306/3>>, #<Project id:1373 group394/2>>, #<Project id:1372 group394/1>>]2852 group's projects with security reports2853 when security dashboard is enabled for a group2854 is expected to contain exactly #<Project id:1380 group396/project1383>>2855 when security dashboard is disabled for a group2856 is expected to include #<Project id:1383 group394/project1386>> and #<Project id:1382 group394/project1385>>2857Users::UpdateService2858 #execute2859 does not update email if an user has group managed account2860 does not update commit email if an user has group managed account2861 does not update public if an user has group managed account2862 does not update public if an user has group managed account2863 updating name2864 when `disable_name_update_for_users` feature is available2865 when the ability to update their name is not disabled for users2866 behaves like a user can update the name2867 updates the name2868 when admin mode is enabled2869 behaves like a user can update the name2870 updates the name2871 when the ability to update their name is disabled for users2872 as a regular user2873 behaves like a user cannot update the name2874 does not update the name2875 when admin mode is enabled2876 behaves like a user can update the name2877 updates the name2878 when admin mode is disabled2879 behaves like a user cannot update the name2880 does not update the name2881 when `disable_name_update_for_users` feature is not available2882 behaves like a user can update the name2883 updates the name2884 when admin mode is enabled2885 behaves like a user can update the name2886 updates the name2887 when admin mode is disabled2888 behaves like a user cannot update the name2889 does not update the name2890 audit events2891 licensed2892 updating username2893 logs audit event2894 with an admin user2895 allowed params2896 with identity2897 adds identity to user2898 adds two different identities to user2899Security::ReportSummaryService#execute2900 Some fields are requested2901 returns only the request fields2902 When some fields are not requested2903 does not make needless queries2904 All fields are requested2905 returns the scanned_resources_count2906 returns the vulnerability count2907 returns the scanned resources limited to 202908 returns the scanned_resources_csv_path2909 When no security scans ran2910 returns nil2911Mutations::DastSiteTokens::Create2912 is expected to require graphql authorizations :create_on_demand_dast_scan2913 #resolve2914 when on demand scan feature is enabled2915 when the project does not exist2916 raises an exception2917 when the user can run a dast scan2918 returns the dast_site_token id2919 returns the dast_site_token status2920 returns the dast_site_token token2921 when the associated dast_site_validation has been validated2922 returns the correct status2923Types::VulnerabilityType2924 is expected to have graphql fields :userPermissions, :id, :title, :description, :user_notes_count, :state, :severity, :report_type, :resolved_on_default_branch, :vulnerability_path, :location, :scanner, :primary_identifier, :identifiers, :project, :issueLinks, :detected_at, :confirmed_at, :resolved_at, :dismissed_at, :notes, :external_issue_links, :has_solutions, :merge_request, :discussions, :confirmed_by, :resolved_by, :dismissed_by, and :details2925 is expected to require graphql authorizations :read_vulnerability2926 vulnerability_path2927 is the path to the vulnerability's detail page2928 has_solutions2929 N+1 queries2930 avoids N+1 database queries (PENDING: See: https://gitlab.com/gitlab-org/gitlab/-/issues/292993)2931 #description2932 when the vulnerability description field is populated2933 returns the description for the vulnerability2934 when the vulnerability description field is empty2935 returns the description for the vulnerability finding2936Gitlab::Ci::Parsers::Security::Sast2937 #parse!2938 when parsing valid reports2939 report_format: :sast, scanner_length: 42940 parses all identifiers and findings2941 generates expected location2942 generates expected metadata_version2943 report_format: :sast_deprecated, scanner_length: 32944 parses all identifiers and findings2945 generates expected location2946 generates expected metadata_version2947 when parsing an empty report2948 is expected to be empty2949ClearSharedRunnersMinutesWorker2950 #perform2951 when ci_parallel_minutes_reset feature flag is disabled2952 when project statistics are defined2953 clears counters2954 resets timer2955 when there are namespaces that were not reset after the reset steps2956 raises an exception2957 when namespace statistics are defined2958 clears counters2959 resets timer2960 when namespace has extra shared runner minutes2961 when consumption is below the default quota2962 does not modify the extra minutes quota2963 when consumption is above the default quota2964 when all extra minutes are used2965 sets extra minutes to 02966 when some extra minutes are used2967 discounts the extra minutes used2968 when last_ci_minutes_notification_at is present2969 nullifies the field2970 when last_ci_minutes_usage_notification_level is present2971 nullifies the field2972 when ci_parallel_minutes_reset feature flag is enabled2973 runs a worker per batch2974Ci::Minutes::Quota2975 #enabled?2976 when namespace is root2977 when namespace has any project with shared runners enabled2978 when namespace has minutes limit2979 is expected to be truthy2980 when namespace has unlimited minutes2981 is expected to be falsey2982 when namespace does not have projects with shared runners enabled2983 is expected to be falsey2984 when namespace is not root2985 is expected to be falsey2986 #monthly_minutes_report2987 when the quota is not enabled2988 when the namespace is not eligible2989 returns not supported report with no usage2990 when the namespace is eligible2991 when minutes are not used2992 returns unlimited report with no usage2993 when minutes are used2994 returns unlimited report with usage2995 when limited2996 when minutes are not all used2997 returns report with under quota2998 when minutes are all used2999 returns report with over quota3000 #purchased_minutes_report3001 when limit enabled3002 when extra minutes have been purchased3003 when all monthly minutes are used and some puarchased minutes are used3004 returns report with under quota3005 when all monthly and all puarchased minutes have been used3006 returns report with over quota3007 when not all monthly minutes have been used3008 returns report with no usage3009 when no extra minutes have been purchased3010 when all monthly minutes have been used3011 returns report without usage3012 when not all monthly minutes have been used3013 returns report with no usage3014 #monthly_percent_used3015 limit_enabled: false, monthly_limit: 200, purchased_limit: 0, minutes_used: 40, result: 0, title: "limit not enabled"3016 returns the percentage3017 limit_enabled: true, monthly_limit: 200, purchased_limit: 0, minutes_used: 0, result: 0, title: "monthly limit set and no usage"3018 returns the percentage3019 limit_enabled: true, monthly_limit: 200, purchased_limit: 0, minutes_used: 40, result: 20, title: "monthly limit set and usage lower than 100%"3020 returns the percentage3021 limit_enabled: true, monthly_limit: 200, purchased_limit: 0, minutes_used: 200, result: 100, title: "monthly limit set and usage at 100%"3022 returns the percentage3023 limit_enabled: true, monthly_limit: 200, purchased_limit: 0, minutes_used: 210, result: 105, title: "monthly limit set and usage above 100%"3024 returns the percentage3025 limit_enabled: true, monthly_limit: 0, purchased_limit: 0, minutes_used: 0, result: 0, title: "monthly limit not set and no usage"3026 returns the percentage3027 limit_enabled: true, monthly_limit: 0, purchased_limit: 0, minutes_used: 40, result: 0, title: "monthly limit not set and some usage"3028 returns the percentage3029 limit_enabled: true, monthly_limit: 200, purchased_limit: 100, minutes_used: 0, result: 0, title: "monthly and purchased limits set and no usage"3030 returns the percentage3031 limit_enabled: true, monthly_limit: 200, purchased_limit: 100, minutes_used: 40, result: 20, title: "monthly and purchased limits set and low usage"3032 returns the percentage3033 limit_enabled: true, monthly_limit: 200, purchased_limit: 100, minutes_used: 210, result: 100, title: "usage capped to 100% and overflows into purchased minutes"3034 returns the percentage3035 #purchased_percent_used3036 limit_enabled: false, monthly_limit: 0, purchased_limit: 0, minutes_used: 40, result: 0, title: "limit not enabled"3037 returns the percentage3038 limit_enabled: true, monthly_limit: 0, purchased_limit: 200, minutes_used: 40, result: 20, title: "monthly limit not set and purchased limit set and low usage"3039 returns the percentage3040 limit_enabled: true, monthly_limit: 200, purchased_limit: 0, minutes_used: 40, result: 0, title: "monthly limit set and purchased limit not set and usage below monthly"3041 returns the percentage3042 limit_enabled: true, monthly_limit: 200, purchased_limit: 0, minutes_used: 240, result: 0, title: "monthly limit set and purchased limit not set and usage above monthly"3043 returns the percentage3044 limit_enabled: true, monthly_limit: 200, purchased_limit: 200, minutes_used: 0, result: 0, title: "monthly and purchased limits set and no usage"3045 returns the percentage3046 limit_enabled: true, monthly_limit: 200, purchased_limit: 200, minutes_used: 40, result: 0, title: "monthly and purchased limits set and usage below monthly"3047 returns the percentage3048 limit_enabled: true, monthly_limit: 200, purchased_limit: 200, minutes_used: 200, result: 0, title: "monthly and purchased limits set and monthly minutes maxed out"3049 returns the percentage3050 limit_enabled: true, monthly_limit: 200, purchased_limit: 200, minutes_used: 300, result: 50, title: "monthly and purchased limits set and some purchased minutes used"3051 returns the percentage3052 limit_enabled: true, monthly_limit: 200, purchased_limit: 200, minutes_used: 400, result: 100, title: "monthly and purchased limits set and all minutes used"3053 returns the percentage3054 limit_enabled: true, monthly_limit: 200, purchased_limit: 200, minutes_used: 430, result: 115, title: "monthly and purchased limits set and usage beyond all limits"3055 returns the percentage3056 #minutes_used_up?3057 limit_enabled: false, monthly_limit: 0, purchased_limit: 0, minutes_used: 40, result: false, title: "limit not enabled"3058 is expected to eq false3059 limit_enabled: true, monthly_limit: 0, purchased_limit: 200, minutes_used: 40, result: false, title: "monthly limit not set and purchased limit set and low usage"3060 is expected to eq false3061 limit_enabled: true, monthly_limit: 200, purchased_limit: 0, minutes_used: 40, result: false, title: "monthly limit set and purchased limit not set and usage below monthly"3062 is expected to eq false3063 limit_enabled: true, monthly_limit: 200, purchased_limit: 0, minutes_used: 240, result: true, title: "monthly limit set and purchased limit not set and usage above monthly"3064 is expected to eq true3065 limit_enabled: true, monthly_limit: 200, purchased_limit: 200, minutes_used: 0, result: false, title: "monthly and purchased limits set and no usage"3066 is expected to eq false3067 limit_enabled: true, monthly_limit: 200, purchased_limit: 200, minutes_used: 40, result: false, title: "monthly and purchased limits set and usage below monthly"3068 is expected to eq false3069 limit_enabled: true, monthly_limit: 200, purchased_limit: 200, minutes_used: 200, result: false, title: "monthly and purchased limits set and monthly minutes maxed out"3070 is expected to eq false3071 limit_enabled: true, monthly_limit: 200, purchased_limit: 200, minutes_used: 300, result: false, title: "monthly and purchased limits set and some purchased minutes used"3072 is expected to eq false3073 limit_enabled: true, monthly_limit: 200, purchased_limit: 200, minutes_used: 400, result: true, title: "monthly and purchased limits set and all minutes used"3074 is expected to eq true3075 limit_enabled: true, monthly_limit: 200, purchased_limit: 200, minutes_used: 430, result: true, title: "monthly and purchased limits set and usage beyond all limits"3076 is expected to eq true3077 #total_minutes3078 namespace_monthly_limit: 20, application_monthly_limit: 100, purchased_minutes: 30, result: 503079 is expected to eq 503080 namespace_monthly_limit: nil, application_monthly_limit: 100, purchased_minutes: 30, result: 1303081 is expected to eq 1303082 namespace_monthly_limit: 20, application_monthly_limit: 100, purchased_minutes: 0, result: 203083 is expected to eq 203084 namespace_monthly_limit: 0, application_monthly_limit: 0, purchased_minutes: 30, result: 303085 is expected to eq 303086 namespace_monthly_limit: nil, application_monthly_limit: 0, purchased_minutes: 30, result: 303087 is expected to eq 303088 #total_minutes_used3089 expected_seconds: nil, expected_minutes: 03090 is expected to eq 03091 expected_seconds: 0, expected_minutes: 03092 is expected to eq 03093 expected_seconds: 59, expected_minutes: 03094 is expected to eq 03095 expected_seconds: 60, expected_minutes: 13096 is expected to eq 13097 expected_seconds: 122, expected_minutes: 23098 is expected to eq 23099 #percent_total_minutes_remaining3100 total_minutes_used: 0, monthly_minutes: 0, purchased_minutes: 0, result: 03101 is expected to eq 03102 total_minutes_used: 10, monthly_minutes: 0, purchased_minutes: 0, result: 03103 is expected to eq 03104 total_minutes_used: 0, monthly_minutes: 70, purchased_minutes: 30, result: 1003105 is expected to eq 1003106 total_minutes_used: 60, monthly_minutes: 70, purchased_minutes: 30, result: 403107 is expected to eq 403108 total_minutes_used: 100, monthly_minutes: 70, purchased_minutes: 30, result: 03109 is expected to eq 03110 total_minutes_used: 120, monthly_minutes: 70, purchased_minutes: 30, result: 03111 is expected to eq 03112 #namespace_eligible?3113 when namespace is a subgroup3114 is false3115 when namespace is root3116 and it has a project without any shared runner enabled3117 is false3118 and it has a project with shared runner enabled3119 is true3120Gitlab::Auth::Saml::User3121 #save3122 account exists on server3123 admin/auditor groups3124DEPRECATION WARNING: ActiveSupport::Multibyte::Chars#normalize is deprecated and will be removed from Rails 6.1. Use #unicode_normalize(:nfkd) instead. (called from generate_username at /builds/gitlab-org/gitlab/lib/gitlab/auth/o_auth/auth_hash.rb:84)3125 marks the user as admin when the user is in the configured group3126DEPRECATION WARNING: ActiveSupport::Multibyte::Chars#normalize is deprecated and will be removed from Rails 6.1. Use #unicode_normalize(:nfkd) instead. (called from generate_username at /builds/gitlab-org/gitlab/lib/gitlab/auth/o_auth/auth_hash.rb:84)3127 does not mark the user as admin when the user is not in the configured group3128DEPRECATION WARNING: ActiveSupport::Multibyte::Chars#normalize is deprecated and will be removed from Rails 6.1. Use #unicode_normalize(:nfkd) instead. (called from generate_username at /builds/gitlab-org/gitlab/lib/gitlab/auth/o_auth/auth_hash.rb:84)3129 demotes from admin if not in the configured group3130DEPRECATION WARNING: ActiveSupport::Multibyte::Chars#normalize is deprecated and will be removed from Rails 6.1. Use #unicode_normalize(:nfkd) instead. (called from generate_username at /builds/gitlab-org/gitlab/lib/gitlab/auth/o_auth/auth_hash.rb:84)3131 does not demote from admin if not configured3132DEPRECATION WARNING: ActiveSupport::Multibyte::Chars#normalize is deprecated and will be removed from Rails 6.1. Use #unicode_normalize(:nfkd) instead. (called from generate_username at /builds/gitlab-org/gitlab/lib/gitlab/auth/o_auth/auth_hash.rb:84)3133 skips admin if not configured3134DEPRECATION WARNING: ActiveSupport::Multibyte::Chars#normalize is deprecated and will be removed from Rails 6.1. Use #unicode_normalize(:nfkd) instead. (called from generate_username at /builds/gitlab-org/gitlab/lib/gitlab/auth/o_auth/auth_hash.rb:84)3135 marks the user as auditor when the user is in the configured group3136DEPRECATION WARNING: ActiveSupport::Multibyte::Chars#normalize is deprecated and will be removed from Rails 6.1. Use #unicode_normalize(:nfkd) instead. (called from generate_username at /builds/gitlab-org/gitlab/lib/gitlab/auth/o_auth/auth_hash.rb:84)3137 does not mark the user as auditor when the user is not in the configured group3138DEPRECATION WARNING: ActiveSupport::Multibyte::Chars#normalize is deprecated and will be removed from Rails 6.1. Use #unicode_normalize(:nfkd) instead. (called from generate_username at /builds/gitlab-org/gitlab/lib/gitlab/auth/o_auth/auth_hash.rb:84)3139 demotes from auditor if not in the configured group3140DEPRECATION WARNING: ActiveSupport::Multibyte::Chars#normalize is deprecated and will be removed from Rails 6.1. Use #unicode_normalize(:nfkd) instead. (called from generate_username at /builds/gitlab-org/gitlab/lib/gitlab/auth/o_auth/auth_hash.rb:84)3141 does not demote from auditor if not configured3142DEPRECATION WARNING: ActiveSupport::Multibyte::Chars#normalize is deprecated and will be removed from Rails 6.1. Use #unicode_normalize(:nfkd) instead. (called from generate_username at /builds/gitlab-org/gitlab/lib/gitlab/auth/o_auth/auth_hash.rb:84)3143 skips auditor if not configured3144 no account exists on server3145 required groups3146 not defined3147DEPRECATION WARNING: ActiveSupport::Multibyte::Chars#normalize is deprecated and will be removed from Rails 6.1. Use #unicode_normalize(:nfkd) instead. (called from generate_username at /builds/gitlab-org/gitlab/lib/gitlab/auth/o_auth/auth_hash.rb:84)3148 lets anyone in3149 are defined3150DEPRECATION WARNING: ActiveSupport::Multibyte::Chars#normalize is deprecated and will be removed from Rails 6.1. Use #unicode_normalize(:nfkd) instead. (called from generate_username at /builds/gitlab-org/gitlab/lib/gitlab/auth/o_auth/auth_hash.rb:84)3151 lets members in3152DEPRECATION WARNING: ActiveSupport::Multibyte::Chars#normalize is deprecated and will be removed from Rails 6.1. Use #unicode_normalize(:nfkd) instead. (called from generate_username at /builds/gitlab-org/gitlab/lib/gitlab/auth/o_auth/auth_hash.rb:84)3153 unblocks already blocked members3154DEPRECATION WARNING: ActiveSupport::Multibyte::Chars#normalize is deprecated and will be removed from Rails 6.1. Use #unicode_normalize(:nfkd) instead. (called from generate_username at /builds/gitlab-org/gitlab/lib/gitlab/auth/o_auth/auth_hash.rb:84)3155 does not unblock manually blocked members3156DEPRECATION WARNING: ActiveSupport::Multibyte::Chars#normalize is deprecated and will be removed from Rails 6.1. Use #unicode_normalize(:nfkd) instead. (called from generate_username at /builds/gitlab-org/gitlab/lib/gitlab/auth/o_auth/auth_hash.rb:84)3157 does not allow non-members3158DEPRECATION WARNING: ActiveSupport::Multibyte::Chars#normalize is deprecated and will be removed from Rails 6.1. Use #unicode_normalize(:nfkd) instead. (called from generate_username at /builds/gitlab-org/gitlab/lib/gitlab/auth/o_auth/auth_hash.rb:84)3159 blocks non-members3160SetUserStatusBasedOnUserCapSettingWorker3161 #perform3162 when user is not blocked_pending_approval3163 does nothing to the user state3164 when user cap is set to nil3165 does nothing to the user state3166 does not send an email to active admins3167 when current billable user count is less than user cap3168 activates the user3169 notifies the approval to the user3170 does not send an email to active admins3171 when user has not confirmed their email yet3172 sends confirmation instructions3173 when user has confirmed their email3174 does not send a confirmation email3175 when pending invitations3176 when user is unconfirmed3177 does not accept pending invites of the user3178 when user is confirmed3179 accepts pending invites of the user3180 when current billable user count is equal to user cap3181 keeps the user in blocked_pending_approval state3182 sends an email to every active admin3183 when current billable user count is greater than user cap3184 keeps the user in blocked_pending_approval state3185 sends an email to every active admin3186Todos::Destroy::EntityLeaveService3187 #execute3188 behaves like removes only confidential epics todos3189 removes todos targeting confidential epics in the group3190 when user is still member of ancestor group3191 does not remove todos targeting confidential epics in the group3192 when user role is downgraded to guest3193 behaves like removes only confidential epics todos3194 removes todos targeting confidential epics in the group3195Issues::ExportCsvService3196 includes3197 handling epics3198 with epics disabled3199 does not include epics information3200 with epics enabled3201 epic ID3202 epic Title3203ProtectedEnvironments::DestroyService#execute3204 when the Protected Environment is deleted3205 is expected to be truthy3206 deletes the requested ProtectedEnvironment3207 deletes the related DeployAccessLevel3208 when the Protected Environment can not be deleted3209 is expected to be falsy3210TodosHelper3211 #todo_types_options3212 includes options for an epic todo3213 #todo_target_path3214 when target is vulnerability3215 is expected to eq "/namespace1447/project1507/-/security/vulnerabilities/80"3216 #todo_author_display?3217 action: 8, result: false3218 is expected to eq false3219 action: 1, result: true3220 is expected to eq true3221EE-specific project routing3222 Projects::RequirementsManagement::RequirementsController routing3223 to #index3224 Projects::VulnerabilityFeedbackController routing3225 to #index3226 to #create3227 to #destroy3228 legacy routing3229 behaves like redirecting a legacy path3230 redirects /gitlab/gitlabhq/vulnerability_feedback to /gitlab/gitlabhq/-/vulnerability_feedback3231 Projects::PipelinesController routing3232 to #security3233 Projects::AutocompleteSourcesController routing3234 to #epics3235 Projects::ProtectedEnvironmentsController routing3236 legacy routing3237 behaves like redirecting a legacy path3238 redirects /gitlab/gitlabhq/protected_environments to /gitlab/gitlabhq/-/protected_environments3239 Projects::AuditEventsController routing3240 legacy routing3241 behaves like redirecting a legacy path3242 redirects /gitlab/gitlabhq/audit_events to /gitlab/gitlabhq/-/audit_events3243 Projects::Integrations::Jira::IssuesController routing3244 to #index3245 Projects::Security::PoliciesController routing3246 to #show3247PersonalAccessToken3248 scopes3249 with_expires_at_after3250 includes the tokens with higher than the lifetime expires_at value3251 doesn't contain expired tokens3252 doesn't contain tokens within the expiration time3253 with_no_expires_at3254 includes the tokens with nil expires_at3255 doesn't contain expired tokens3256 doesn't contain tokens within the expiration time3257 expires_in3258 only includes one token3259 validations3260 allows to define expires_at3261 allows to don't define expires_at3262 with expiration policy3263 when the feature is licensed3264 when the user does not belong to a managed group3265 behaves like PAT expiry rules are enforced3266 requires to be less or equal than the max_personal_access_token_lifetime3267 can't be blank3268 when the user belongs to a managed group3269 when the group has enforced a PAT expiry rule3270 behaves like PAT expiry rules are enforced3271 requires to be less or equal than the max_personal_access_token_lifetime3272 can't be blank3273 when the group has not enforced a PAT expiry setting3274 when the instance has enforced a PAT expiry setting3275 behaves like PAT expiry rules are enforced3276 requires to be less or equal than the max_personal_access_token_lifetime3277 can't be blank3278 when the instance does not enforce a PAT expiry setting3279 behaves like PAT expiry rules are not enforced3280 allows expiry to be after the max_personal_access_token_lifetime3281 can be blank3282 when the feature is not available3283 behaves like PAT expiry rules are not enforced3284 allows expiry to be after the max_personal_access_token_lifetime3285 can be blank3286 .pluck_names3287 returns the names of the tokens3288 .with_invalid_expires_at3289 includes the tokens with invalid expires_at3290 doesn't include valid tokens3291 doesn't include revoked tokens3292 doesn't include expired tokens3293 .expiration_enforced??3294 behaves like enforcement of personal access token expiry3295 licensed: true, application_setting: true, result: true3296 is expected to equal true3297 licensed: true, application_setting: false, result: false3298 is expected to equal false3299 licensed: false, application_setting: true, result: true3300 is expected to equal true3301 licensed: false, application_setting: false, result: true3302 is expected to equal true3303 #expired?3304 behaves like enforcement of personal access token expiry3305 licensed: true, application_setting: true, result: true3306 is expected to equal true3307 licensed: true, application_setting: false, result: false3308 is expected to equal false3309 licensed: false, application_setting: true, result: true3310 is expected to equal true3311 licensed: false, application_setting: false, result: true3312 is expected to equal true3313 .enforce_pat_expiration_feature_available?3314 licensed: true, result: true3315 is expected to equal true3316 licensed: false, result: false3317 is expected to equal false3318 #revoke3319 clears cache on revoke access3320 after create callback3321 clears cache for the user3322Projects::Prometheus::Alerts::NotifyService3323 with valid payload3324 with environment specific clusters3325 without token3326 behaves like Alert Notification Service sends notification email3327 sends a notification3328 with token3329 behaves like Alert Notification Service sends no notifications3330 does not notify3331Gitlab::Instrumentation::ElasticsearchTransport3332 .increment_request_count3333 increases the request count by 13334 .increment_timed_out_count3335 increases the timed out count by 13336 .add_duration3337 does not lose precision while adding3338 .add_call_details3339 parses and tracks the call details3340Gitlab::Instrumentation::ElasticsearchTransportInterceptor3341 tracks any requests via the Elasticsearch client3342 adds the labkit correlation id as X-Opaque-Id to all requests3343 does not override the X-Opaque-Id if it is already present3344 when the response indicates a server side timeout3345 increments timeouts3346 when the response does not indicate a server side timeout3347 does not increment timeouts3348 when the server returns a blank response body3349 does not error3350 when the request raises some error3351 does not raise a different error in ensure3352Banzai::Filter::LabelReferenceFilter3353 with scoped labels enabled3354 with a scoped label3355 renders scoped label3356 renders HTML tooltips3357 with a common label3358 renders common label3359 renders non-HTML tooltips3360 with scoped labels disabled3361 renders scoped label as a common label3362Elastic::MultiVersionInstanceProxy3363 #version3364 returns instance proxy in specified version3365 repository3366 returns instance proxy in specified version3367 method forwarding3368 forwards methods which should touch all write targets3369 forwards read methods to only reading target3370 does not forward write methods which should touch specific version3371Gitlab::Prometheus::Queries::AdditionalMetricsDeploymentQuery3372 queries using specific time3373 with custom metrics3374 without common metrics3375 return group data for custom metric3376 with common metrics3377 return group data for custom metric3378Clusters::DeploymentEntity3379 exposes id3380 exposes iid3381 exposes deployable name3382DependencyEntity3383 #as_json3384 when all required features available3385 with developer3386 includes license info and vulnerabilities3387 with reporter3388 includes license info and not vulnerabilities3389 when all required features are unavailable3390 does not include licenses and vulnerabilities3391 when there is no dependency path attributes3392 correctly represent location3393EpicIssuePresenter3394 #group_epic_issue_path3395 returns correct path3396 returns nil without proper permission3397Ci::BatchResetMinutesWorker3398 #perform3399 delegates to Ci::Minutes::BatchResetService3400 behaves like an idempotent worker3401 is labeled as idempotent3402 performs multiple times sequentially without raising an exception3403 recalculates purchased minutes for the namespace exceeding the monthly minutes3404 does not recalculate purchased minutes for the namespace not exceeding the monthly minutes3405 behaves like resets CI minutes and notification3406 resets CI minutes used and notification data3407 behaves like resets CI minutes and notification3408 resets CI minutes used and notification data3409 when feature flag ci_parallel_minutes_reset is disabled3410 does not call Ci::Minutes::BatchResetService3411LabelNote3412 when resource is epic3413 includes a link to the list of epics filtered by the label3414 behaves like label note created from events3415 .from_events3416 returns system note with expected attributes3417 updates markdown cache if reference is not set yet3418 updates markdown cache if label was deleted3419 returns html note3420 returns text note for added labels3421 returns text note for removed labels3422 returns text note for added and removed labels3423 returns text note for cross-project label3424 returns text note for cross-group label3425 when a label is removed3426 returns note correctly3427DastSiteProfiles::DestroyService3428 #execute3429 when a user does not have access to the project3430 returns an error status3431 populates message3432 when the user can run a DAST scan3433 returns a success status3434 deletes the dast_site_profile3435 returns a dast_site_profile payload3436 when the dast_site_profile does not exist3437 returns an error status3438 populates message3439 when on demand scan licensed feature is not available3440 returns an error status3441 populates message3442 when project has security policies enabled3443 when there is no policy that is referencing the profile3444 returns a success status3445 when there is a policy that is referencing the profile3446 returns an error status3447 populates message3448EpicIssues::UpdateService3449 #execute3450 when moving issues between different epics3451 returns an error3452 does not change the relative_position values3453 moving issue to the first position3454 when some positions are close to each other3455 orders issues correctly3456 when there is enough place between positions3457 orders issues correctly3458 moving issue to the third position3459 when some positions are close to each other3460 orders issues correctly3461 when all positions are same3462 orders affected 2 issues correctly3463 when there is enough place between positions3464 orders issues correctly3465 moving issues to the last position3466 when index of the last possition is correct3467 orders issues correctly3468QuickActions::TargetService3469 #execute3470 for epic3471 finds target with valid id3472 builds a new target if id from a different group passed3473Gitlab::Com3474 is expected to eq <#ActiveSupport::Cache::MemoryStore entries=0, size=0, options={}>3475 is expected to eq <ActiveSupport::Cache::NullStore>3476 .gitlab_com_group_member_id?3477 when user is a gitlab team member3478 is expected to equal true3479 caching of allowed user IDs3480 behaves like allowed user IDs are cached3481 caches the allowed user IDs in cache3482 caches the allowed user IDs in L1 cache for 1 minute3483 caches the allowed user IDs in L2 cache for 5 minutes3484 when user is not a gitlab team member3485 is expected to equal false3486 caching of allowed user IDs3487 behaves like allowed user IDs are cached3488 caches the allowed user IDs in cache3489 caches the allowed user IDs in L1 cache for 1 minute3490 caches the allowed user IDs in L2 cache for 5 minutes3491 when user is nil3492 is expected to equal false3493 when gitlab-com group does not exist3494 is expected to equal false3495 when feature flag is turned off3496 is expected to equal false3497AlertManagement::AlertsFinder#execute3498 #execute3499 filtering by domain3500 domain: "threat_monitoring", license_enabled: true, alerts: [:cilium_alert]3501 is expected to contain exactly #<AlertManagement::Alert id:3 namespace1500/project1539^alert#2>3502 domain: "threat_monitoring", license_enabled: false, alerts: :general_alert3503 is expected to contain exactly #<AlertManagement::Alert id:2 namespace1500/project1539^alert#1>3504 domain: "operations", license_enabled: true, alerts: :general_alert3505 is expected to contain exactly #<AlertManagement::Alert id:2 namespace1500/project1539^alert#1>3506 domain: "operations", license_enabled: false, alerts: :general_alert3507 is expected to contain exactly #<AlertManagement::Alert id:2 namespace1500/project1539^alert#1>3508 domain: "unknown", license_enabled: true, alerts: :general_alert3509 is expected to contain exactly #<AlertManagement::Alert id:2 namespace1500/project1539^alert#1>3510 domain: "unknown", license_enabled: false, alerts: :general_alert3511 is expected to contain exactly #<AlertManagement::Alert id:2 namespace1500/project1539^alert#1>3512 domain: nil, license_enabled: true, alerts: :general_alert3513 is expected to contain exactly #<AlertManagement::Alert id:2 namespace1500/project1539^alert#1>3514 domain: nil, license_enabled: false, alerts: :general_alert3515 is expected to contain exactly #<AlertManagement::Alert id:2 namespace1500/project1539^alert#1>3516Projects::HashedStorage::MigrateRepositoryService3517 #execute3518 when running on a Geo primary node3519 creates a Geo::HashedStorageMigratedEvent on success3520 does not create a Geo event on failure3521registrations/welcome/show3522 redirect_path: "/-/subscriptions/new", signup_onboarding_enabled: false, show_progress_bar: true, flow: :subscription, is_continue: true3523 shows the correct text for the :setup_for_company label3524 shows the correct text for the submit button3525 is expected to have visible css "#progress-bar"3526 feature flag other_role_details is enabled3527 has a text field for other role3528 redirect_path: "/-/subscriptions/new", signup_onboarding_enabled: true, show_progress_bar: true, flow: :subscription, is_continue: true3529 shows the correct text for the :setup_for_company label3530 shows the correct text for the submit button3531 is expected to have visible css "#progress-bar"3532 feature flag other_role_details is enabled3533 has a text field for other role3534 redirect_path: "/-/trials/new", signup_onboarding_enabled: false, show_progress_bar: false, flow: :trial, is_continue: true3535 shows the correct text for the :setup_for_company label3536 shows the correct text for the submit button3537 is expected not to have visible css "#progress-bar"3538 feature flag other_role_details is enabled3539 has a text field for other role3540 redirect_path: "/-/trials/new", signup_onboarding_enabled: true, show_progress_bar: false, flow: :trial, is_continue: true3541 shows the correct text for the :setup_for_company label3542 shows the correct text for the submit button3543 is expected not to have visible css "#progress-bar"3544 feature flag other_role_details is enabled3545 has a text field for other role3546 redirect_path: "/-/invites/abc123", signup_onboarding_enabled: false, show_progress_bar: false, flow: nil, is_continue: false3547 shows the correct text for the :setup_for_company label3548 shows the correct text for the submit button3549 is expected not to have visible css "#progress-bar"3550 feature flag other_role_details is enabled3551 has a text field for other role3552 redirect_path: "/-/invites/abc123", signup_onboarding_enabled: true, show_progress_bar: false, flow: nil, is_continue: false3553 shows the correct text for the :setup_for_company label3554 shows the correct text for the submit button3555 is expected not to have visible css "#progress-bar"3556 feature flag other_role_details is enabled3557 has a text field for other role3558 redirect_path: "/oauth/authorize/abc123", signup_onboarding_enabled: false, show_progress_bar: false, flow: nil, is_continue: false3559 shows the correct text for the :setup_for_company label3560 shows the correct text for the submit button3561 is expected not to have visible css "#progress-bar"3562 feature flag other_role_details is enabled3563 has a text field for other role3564 redirect_path: "/oauth/authorize/abc123", signup_onboarding_enabled: true, show_progress_bar: false, flow: nil, is_continue: false3565 shows the correct text for the :setup_for_company label3566 shows the correct text for the submit button3567 is expected not to have visible css "#progress-bar"3568 feature flag other_role_details is enabled3569 has a text field for other role3570 redirect_path: nil, signup_onboarding_enabled: false, show_progress_bar: false, flow: nil, is_continue: false3571 shows the correct text for the :setup_for_company label3572 shows the correct text for the submit button3573 is expected not to have visible css "#progress-bar"3574 feature flag other_role_details is enabled3575 has a text field for other role3576 redirect_path: nil, signup_onboarding_enabled: true, show_progress_bar: true, flow: nil, is_continue: true3577 shows the correct text for the :setup_for_company label3578 shows the correct text for the submit button3579 is expected to have visible css "#progress-bar"3580 feature flag other_role_details is enabled3581 has a text field for other role3582Security::ReportFetchService3583 #pipeline3584 with found pipeline3585 is expected to eq #<Ci::Pipeline id: 635, ref: "master", sha: "b83d6e391c22777fca1ed3012fce84f633d7fed0", before_sha: n...ha: nil, target_sha: nil, external_pull_request_id: nil, ci_ref_id: 585, locked: "artifacts_locked">3586 without any pipelines3587 is expected to be nil3588 #build3589 with right artifacts3590 is expected to eq #<Ci::Build id: 619, status: "success", finished_at: "2021-03-03 08:53:29", trace: nil, created_at: "...up_id: nil, waiting_for_resource_at: nil, processed: false, scheduling_type: "stage", tag_list: nil>3591 without right kind of artifacts3592 is expected to be nil3593 without found pipeline3594 is expected to be nil3595 #able_to_fetch?3596 with successful build3597 is expected to be truthy3598 with failed build3599 is expected to be falsey3600 without build3601 is expected to be falsey3602Vulnerabilities::IssueLinkPolicy3603 with a user authorized to admin vulnerability-issue links3604 with missing vulnerability3605 is expected to be disallowed :admin_vulnerability_issue_link3606 when issue and link belong to the same project3607 is expected to be allowed :admin_vulnerability_issue_link3608 when issue and link don't belong to the same project3609 is expected to be allowed :admin_vulnerability_issue_link3610EventCreateService3611 Epics3612 #open_epic3613 creates new event3614 #close_epic3615 creates new event3616 #reopen_epic3617 creates new event3618 #leave_note3619 creates new event3620EE::SubscribableBannerHelper3621 #gitlab_subscription_or_license3622 when instance variable true3623 when should_check_namespace_plan is true3624 when a project exists3625 behaves like when a subscription exists3626 returns a decorator3627 when a group exists3628 behaves like when a subscription exists3629 returns a decorator3630 when should_check_namespace_plan is false3631 returns the current license3632 when instance variable false3633 returns the current license3634 with a future dated license3635 returns the current license3636 #gitlab_subscription_message_or_license_message3637 when subscribable_subscription_banner feature flag is enabled3638 when instance variable true3639 when should_check_namespace_plan is true3640 when a project is present3641 behaves like subscription message3642 calls Gitlab::ExpiringSubscriptionMessage and SubscriptionPresenter if is Gitlab.com?3643 when a group is present3644 behaves like subscription message3645 calls Gitlab::ExpiringSubscriptionMessage and SubscriptionPresenter if is Gitlab.com?3646 when should_check_namespace_plan is false3647 calls Gitlab::ExpiringSubscriptionMessage to get expiring message3648 when instance variable false3649 returns the license message3650 when subscribable_subscription_banner feature flag is disabled3651 returns the license message3652 #display_subscription_banner!3653 sets @display_subscription_banner to true3654EE::MergeRequests::ResetApprovalsService3655 #execute3656 resets approvals3657EE::NamespaceSettings::UpdateService3658 #execute3659 as a normal user3660 does not change settings3661 registers an error3662 as a group owner3663 for a group that does not have prevent forking feature3664 does not change settings3665 registers an error3666 for a group that has prevent forking feature3667 changes settings3668Gitlab::Ci::Pipeline::Chain::Limit::Activity3669 when active pipelines limit is exceeded3670 drops the pipeline3671 persists the pipeline3672 breaks the chain3673 sets a valid failure reason3674 logs the error3675 when pipeline activity limit is not exceeded3676 does not break the chain3677 does not invalidate the pipeline3678 does not log any error3679Evidences::ReleaseEntity3680 when report artifacts are passed3681 has no report_artifacts if feature is unlicenced3682 exposes build artifacts if feature is licenced3683Gitlab::ContributionAnalytics::DataCollector3684 #totals3685 collects event counts grouped by users by calling #base_query3686 deriving various counts from #raw_counts3687 extracts correct counts from raw_counts3688 for #push_by_author_count3689 for #total_push_author_count3690 for #total_push_count3691 for #total_merge_requests_created_count3692 for #total_merge_requests_merged_count3693 for #total_merge_requests_approved_count3694 for #total_issues_closed_count3695 handles empty result3696TemplateFinder3697 #execute3698 type: :dockerfiles, expected_template_finder: Gitlab::Template::CustomDockerfileTemplate3699 custom templates enabled3700 returns custom templates3701 a custom template is specified by name3702 returns the custom template if its name is specified3703 custom templates disabled3704 does not return any custom templates3705 type: :gitignores, expected_template_finder: Gitlab::Template::CustomGitignoreTemplate3706 custom templates enabled3707 returns custom templates3708 a custom template is specified by name3709 returns the custom template if its name is specified3710 custom templates disabled3711 does not return any custom templates3712 type: :gitlab_ci_ymls, expected_template_finder: Gitlab::Template::CustomGitlabCiYmlTemplate3713 custom templates enabled3714 returns custom templates3715 a custom template is specified by name3716 returns the custom template if its name is specified3717 custom templates disabled3718 does not return any custom templates3719 type: :issues, expected_template_finder: Gitlab::Template::IssueTemplate3720 custom templates enabled3721 returns custom templates3722 a custom template is specified by name3723 returns the custom template if its name is specified3724 custom templates disabled3725 does not return any custom templates3726 type: :merge_requests, expected_template_finder: Gitlab::Template::MergeRequestTemplate3727 custom templates enabled3728 returns custom templates3729 a custom template is specified by name3730 returns the custom template if its name is specified3731 custom templates disabled3732 does not return any custom templates3733 #template_names3734 type: :dockerfiles, custom_name: "project_dockerfiles_template"3735 when project has a repository3736 returns all custom templates3737 template names hash keys3738 has all the expected keys3739 type: :gitignores, custom_name: "project_gitignores_template"3740 when project has a repository3741 returns all custom templates3742 template names hash keys3743 has all the expected keys3744 type: :gitlab_ci_ymls, custom_name: "project_gitlab_ci_ymls_template"3745 when project has a repository3746 returns all custom templates3747 template names hash keys3748 has all the expected keys3749 type: :metrics_dashboard_ymls, custom_name: "project_metrics_dashboard_ymls_template"3750 when project has a repository3751 returns all custom templates3752 template names hash keys3753 has all the expected keys3754IssueSidebarExtrasEntity3755 exposing epic3756 when epic is confidential3757 returns nil for a user who is a project member3758 exposes the epic for a user who is a group member3759 when epic is not confidential3760 exposes the epic for a project member3761 exposes the epic for a user who is a group member3762Vulnerabilities::FindingPresenter3763 #title3764 is expected to eq "Cipher with no integrity"3765 #blob_path3766 without a sha3767 is expected to be blank3768 with a sha3769 is expected to include "abc"3770 without start_line or end_line3771 is expected to end with "a.txt"3772 with start_line only3773 is expected to end with "#L1"3774 with start_line and end_line3775 is expected to end with "#L1-2"3776 without file3777 is expected to be blank3778 without location3779 is expected to be blank3780MergeRequests::PostMergeService3781 #execute3782 finalize approvals3783 executes ApprovalRules::FinalizeService3784Vulnerabilities::RequestEntity3785 #as_json3786 contains required fields3787admin/application_settings/general.html.haml3788 maintenance mode3789 when license does not allow3790 does not show the Maintenance mode section3791 when license allows3792 shows the Maintenance mode section3793Gitlab::Ci::Parsers::Security::Common3794 #parse!3795 parsing finding.name3796 when message is provided3797 sets message from the report as a finding name3798 when message is not provided3799 and name is provided3800 sets name from the report as a name3801 and name is not provided3802 when CVE identifier exists3803 combines identifier with location to create name3804 when CWE identifier exists3805 combines identifier with location to create name3806 when neither CVE nor CWE identifier exist3807 combines identifier with location to create name3808 parsing finding.details3809 when details are provided3810 sets details from the report3811 when details are not provided3812 sets empty hash3813 parsing remediations3814 finds remediation with same cve3815 finds remediation with same id3816 does not find remediation with different id3817 parsing scanners3818 when vendor is not missing in scanner3819 returns scanner with parsed vendor value3820 parsing scan3821 returns scan object for each finding3822 returns nil when scan is not a hash3823 parsing links3824 returns links object for each finding3825 setting the uuid3826 sets the UUIDv5 for findings3827 parsing tracking3828 with valid tracking information3829 creates fingerprints for each algorithm3830 with invalid tracking information3831 ignores invalid algorithm types3832GroupMemberPresenter3833 #group_sso?3834 calls through to User#group_sso?3835 when member does not have a user (invited member)3836 returns `false`3837 #group_managed_account?3838 when member does not have a user (invited member)3839 returns `false`3840 when user is part of the group managed account3841 returns `true`3842 when user is not part of the group managed account3843 returns `false`3844 #can_update?3845 when user cannot update_group_member but can override_group_member3846 is expected to eq true3847 when user cannot update_group_member and cannot override_group_member3848 is expected to eq false3849 #valid_level_roles?3850 with minimal access role feature switched on3851 is expected to eq {"Developer"=>30, "Guest"=>10, "Maintainer"=>40, "Minimal Access"=>5, "Owner"=>50, "Reporter"=>20}3852 with minimal access role feature switched off3853 behaves like #valid_level_roles3854 returns all roles when no parent member is present3855 returns higher roles when a parent member is present3856PathLocksHelper3857 #text_label_for_lock3858 return correct string for non-nested locks3859 return correct string for nested locks3860Branches::DeleteService3861 #execute3862 when there is a push rule matching the branch name3863 behaves like a deleted branch3864 removes the branch3865Resolvers::Ci::CodeCoverageSummaryResolver3866 #resolve3867 when project has coverage3868 returns coverage summary for the project as a batch3869 when project does not have coverage3870 returns nil3871AllowedEmailDomain3872 relations3873 is expected to belong to group required:3874 .domain_names3875 returns the array of domain names3876 validations3877 is expected to validate that :domain cannot be empty/falsy3878 is expected to validate that :group_id cannot be empty/falsy3879 #valid domain3880 valid domain3881 succeeds3882 invalid domain3883 fails3884 domain from excluded list3885 fails3886 #allow_root_group_only3887 top-level group3888 succeeds3889 subgroup3890 fails3891 #email_matches_domain?3892 with matching domain3893 returns true3894 with not matching domain3895 returns false3896 #email_domain3897 returns formatted domain3898EE::Gitlab::Auth::Ldap::Sync::AdminUsers3899 #update_permissions3900 adds user as admin3901 removes users that are not in the LDAP group3902 leaves admin users that do not have the LDAP provider3903 leaves admin users that have a different provider identity3904 when ldap connection fails3905 logs a debug message3906DashboardEnvironmentsProjectEntity3907 .as_json3908 includes project attributes3909AlertManagement::ExtractAlertPayloadFieldsService3910 with license3911 with feature flag enabled3912 with permissions3913 when payload is valid JSON3914 when payload has an acceptable size3915 responds with success3916 returns parsed fields3917 when limits are exceeded3918 returns payload size exceeded error3919 when payload is not a valid JSON3920 returns payload parse failure error3921 without permissions3922 returns insufficient permissions error3923 with feature flag disabled3924 returns feature not available error3925Autocomplete::ProjectInvitedGroupsFinder3926 #execute3927 without a project ID3928 returns an empty relation3929 with a project ID3930 returns the groups invited to the project3931Namespaces::CheckStorageSizeService#execute3932 feature flag3933 is successful when disabled3934 errors when enabled3935 is successful when feature flag is activated for another namespace3936 errors when feature flag is activated for the current namespace3937 when limit is set to 03938 is successful and has no payload3939 when current size is below threshold3940 is successful and has no payload3941 when not admin of the namespace3942 errors and has no payload3943 when providing the child namespace3944 uses the root namespace3945 payload alert_level3946 when above info threshold3947 is expected to eq :info3948 when above warning threshold3949 is expected to eq :warning3950 when above alert threshold3951 is expected to eq :alert3952 when above error threshold3953 is expected to eq :error3954 payload explanation_message3955 when above limit3956 returns message with read-only warning3957 when below limit3958 is expected to include "If you reach 100% storage capacity"3959 payload usage_message3960 returns current usage information3961 payload root_namespace3962 is expected to eq #<Namespace id: 1136, name: "namespace1594", path: "namespace1594", owner_id: nil, created_at: "2021-...cendants_override_disabled_shared_runners: false, traversal_ids: [], delayed_project_removal: false>3963IncidentManagement::OncallRotations::CreateService3964 #execute3965 when the current_user is anonymous3966 behaves like error response3967 has an informative message3968 when the current_user does not have permissions to create on-call schedules3969 behaves like error response3970 has an informative message3971 when feature is not available3972 behaves like error response3973 has an informative message3974 when feature flag is disabled3975 behaves like error response3976 has an informative message3977 when an on-call rotation already exists3978 behaves like error response3979 has an informative message3980 when too many participants3981 has an informative error message3982 when participant cannot read project3983 behaves like error response3984 has an informative message3985 participant is included multiple times3986 behaves like error response3987 has an informative message3988 with valid params3989 behaves like successfully creates rotation3990 successfully creates an on-call rotation with participants3991 with an active period given3992 behaves like successfully creates rotation3993 successfully creates an on-call rotation with participants3994 behaves like saved the active period times3995 saves the active period times3996 when only active period end time is set3997 behaves like error response3998 has an informative message3999 when only active period start time is set4000 behaves like error response4001 has an informative message4002 when end active time is before start active time4003 behaves like error response4004 has an informative message4005Projects::OpenIssuesCountService4006 #count4007 does not count test cases4008RequirementsManagement::ImportRequirementsCsvWorker4009 #perform4010 calls #execute on Requirements::ImportCsvService and destroys upload4011 behaves like an idempotent worker4012 is labeled as idempotent4013 performs multiple times sequentially without raising an exception4014Gitlab::Middleware::ReadOnly4015 when maintenance mode is on4016 behaves like write access for a read-only GitLab (EE) instance in maintenance mode4017 normal requests to a read-only GitLab instance4018 expects a PUT request to /api/v4/application/settings to be allowed4019 expects a POST request to /admin/application_settings/general to be allowed4020 on Geo secondary4021 expects a PUT request to /api/v4/application/settings to not be allowed4022 description: "LFS request to batch", path: "/root/rouge.git/info/lfs/objects/batch"4023 expects a POST description: "LFS request to batch", path: "/root/rouge.git/info/lfs/objects/batch" URL to be allowed4024 description: "to geo replication node api", path: "/api/v4/geo_replication/designs/resync"4025 expects a POST description: "to geo replication node api", path: "/api/v4/geo_replication/designs/resync" URL to be allowed4026 description: "LFS request to locks verify", path: "/root/rouge.git/info/lfs/locks/verify"4027 expects a POST description: "LFS request to locks verify", path: "/root/rouge.git/info/lfs/locks/verify" URL to not be allowed4028 description: "LFS request to locks create", path: "/root/rouge.git/info/lfs/locks"4029 expects a POST description: "LFS request to locks create", path: "/root/rouge.git/info/lfs/locks" URL to not be allowed4030 description: "LFS request to locks unlock", path: "/root/rouge.git/info/lfs/locks/1/unlock"4031 expects a POST description: "LFS request to locks unlock", path: "/root/rouge.git/info/lfs/locks/1/unlock" URL to not be allowed4032 description: "git-receive-pack", path: "/root/rouge.git/git-receive-pack"4033 expects a POST description: "git-receive-pack", path: "/root/rouge.git/git-receive-pack" URL to not be allowed4034 description: "application settings", path: "/admin/application_settings/general"4035 expects a POST description: "application settings", path: "/admin/application_settings/general" URL to not be allowed4036 when not on Geo secondary4037 description: "LFS request to locks verify", path: "/root/rouge.git/info/lfs/locks/verify"4038 expects a POST description: "LFS request to locks verify", path: "/root/rouge.git/info/lfs/locks/verify" URL not to be allowed4039 description: "LFS request to locks create", path: "/root/rouge.git/info/lfs/locks"4040 expects a POST description: "LFS request to locks create", path: "/root/rouge.git/info/lfs/locks" URL not to be allowed4041 description: "LFS request to locks unlock", path: "/root/rouge.git/info/lfs/locks/1/unlock"4042 expects a POST description: "LFS request to locks unlock", path: "/root/rouge.git/info/lfs/locks/1/unlock" URL not to be allowed4043 description: "sign in route", path: "/users/sign_in"4044 expects a POST to description: "sign in route", path: "/users/sign_in" URL to be allowed4045 description: "oauth token route", path: "/oauth/token"4046 expects a POST to description: "oauth token route", path: "/oauth/token" URL to be allowed4047 when maintenance mode is not on4048 behaves like write access for a read-only GitLab (EE) instance4049 normal requests to a read-only GitLab instance4050 on Geo secondary4051 description: "LFS request to batch", path: "/root/rouge.git/info/lfs/objects/batch"4052 expects a POST description: "LFS request to batch", path: "/root/rouge.git/info/lfs/objects/batch" URL to be allowed4053 description: "LFS request to locks verify", path: "/root/rouge.git/info/lfs/locks/verify"4054 expects a POST description: "LFS request to locks verify", path: "/root/rouge.git/info/lfs/locks/verify" URL to be allowed4055 description: "LFS request to locks create", path: "/root/rouge.git/info/lfs/locks"4056 expects a POST description: "LFS request to locks create", path: "/root/rouge.git/info/lfs/locks" URL to be allowed4057 description: "LFS request to locks unlock", path: "/root/rouge.git/info/lfs/locks/1/unlock"4058 expects a POST description: "LFS request to locks unlock", path: "/root/rouge.git/info/lfs/locks/1/unlock" URL to be allowed4059 description: "to geo replication node api", path: "/api/v4/geo_replication/designs/resync"4060 expects a POST description: "to geo replication node api", path: "/api/v4/geo_replication/designs/resync" URL to be allowed4061 description: "git-receive-pack", path: "/root/rouge.git/git-receive-pack"4062 expects a POST description: "git-receive-pack", path: "/root/rouge.git/git-receive-pack" URL to be allowed4063Gitlab::Ci::Config::Entry::Need4064 with Bridge config4065 when upstream is specified4066 #valid?4067 is expected to be valid4068 #value4069 returns job needs configuration4070 when need is empty4071 #valid?4072 is expected not to be valid4073 #errors4074 is returns an error about an empty config4075 with CrossProjectDependency config4076 #artifacts4077 artifacts: {:artifacts=>true}, value: true, validity: true4078 #valid?4079 is expected to eq true4080 #value4081 returns job needs configuration4082 #type4083 is expected to eq :cross_dependency4084 artifacts: {:artifacts=>false}, value: false, validity: true4085 #valid?4086 is expected to eq true4087 #value4088 returns job needs configuration4089 #type4090 is expected to eq :cross_dependency4091 artifacts: {:artifacts=>nil}, value: true, validity: true4092 #valid?4093 is expected to eq true4094 #value4095 returns job needs configuration4096 #type4097 is expected to eq :cross_dependency4098 artifacts: {}, value: true, validity: true4099 #valid?4100 is expected to eq true4101 #value4102 returns job needs configuration4103 #type4104 is expected to eq :cross_dependency4105 artifacts: {:artifacts=>1}, value: 1, validity: false4106 #valid?4107 is expected to eq false4108 #value4109 returns job needs configuration4110 #type4111 is expected to eq :cross_dependency4112 artifacts: {:artifacts=>"str"}, value: "str", validity: false4113 #valid?4114 is expected to eq false4115 #value4116 returns job needs configuration4117 #type4118 is expected to eq :cross_dependency4119 behaves like required string attribute4120 #project4121 value: {}, validity: false, error: "can't be blank"4122 #valid?4123 is expected to eq false4124 #value4125 returns needs configuration4126 #type4127 is expected to eq :cross_dependency4128 #errors4129 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1224130 is expected to include "cross project dependency project can't be blank"4131 value: {:project=>nil}, validity: false, error: "can't be blank"4132 #valid?4133 is expected to eq false4134 #value4135 returns needs configuration4136 #type4137 is expected to eq :cross_dependency4138 #errors4139 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1224140 is expected to include "cross project dependency project can't be blank"4141 value: {:project=>"something"}, validity: true, error: ""4142 #valid?4143 is expected to eq true4144 #value4145 returns needs configuration4146 #type4147 is expected to eq :cross_dependency4148 #errors4149 is expected to be empty4150 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1234151 value: {:project=>:symbol}, validity: false, error: "should be a string"4152 #valid?4153 is expected to eq false4154 #value4155 returns needs configuration4156 #type4157 is expected to eq :cross_dependency4158 #errors4159 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1224160 is expected to include "cross project dependency project should be a string"4161 value: {:project=>1}, validity: false, error: "should be a string"4162 #valid?4163 is expected to eq false4164 #value4165 returns needs configuration4166 #type4167 is expected to eq :cross_dependency4168 #errors4169 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1224170 is expected to include "cross project dependency project should be a string"4171 behaves like required string attribute4172 #job4173 value: {}, validity: false, error: "can't be blank"4174 #valid?4175 is expected to eq false4176 #value4177 returns needs configuration4178 #type4179 is expected to eq :cross_dependency4180 #errors4181 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1224182 is expected to include "cross project dependency job can't be blank"4183 value: {:job=>nil}, validity: false, error: "can't be blank"4184 #valid?4185 is expected to eq false4186 #value4187 returns needs configuration4188 #type4189 is expected to eq :cross_dependency4190 #errors4191 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1224192 is expected to include "cross project dependency job can't be blank"4193 value: {:job=>"something"}, validity: true, error: ""4194 #valid?4195 is expected to eq true4196 #value4197 returns needs configuration4198 #type4199 is expected to eq :cross_dependency4200 #errors4201 is expected to be empty4202 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1234203 value: {:job=>:symbol}, validity: false, error: "should be a string"4204 #valid?4205 is expected to eq false4206 #value4207 returns needs configuration4208 #type4209 is expected to eq :cross_dependency4210 #errors4211 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1224212 is expected to include "cross project dependency job should be a string"4213 value: {:job=>1}, validity: false, error: "should be a string"4214 #valid?4215 is expected to eq false4216 #value4217 returns needs configuration4218 #type4219 is expected to eq :cross_dependency4220 #errors4221 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1224222 is expected to include "cross project dependency job should be a string"4223 behaves like required string attribute4224 #ref4225 value: {}, validity: false, error: "can't be blank"4226 #valid?4227 is expected to eq false4228 #value4229 returns needs configuration4230 #type4231 is expected to eq :cross_dependency4232 #errors4233 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1224234 is expected to include "cross project dependency ref can't be blank"4235 value: {:ref=>nil}, validity: false, error: "can't be blank"4236 #valid?4237 is expected to eq false4238 #value4239 returns needs configuration4240 #type4241 is expected to eq :cross_dependency4242 #errors4243 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1224244 is expected to include "cross project dependency ref can't be blank"4245 value: {:ref=>"something"}, validity: true, error: ""4246 #valid?4247 is expected to eq true4248 #value4249 returns needs configuration4250 #type4251 is expected to eq :cross_dependency4252 #errors4253 is expected to be empty4254 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1234255 value: {:ref=>:symbol}, validity: false, error: "should be a string"4256 #valid?4257 is expected to eq false4258 #value4259 returns needs configuration4260 #type4261 is expected to eq :cross_dependency4262 #errors4263 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1224264 is expected to include "cross project dependency ref should be a string"4265 value: {:ref=>1}, validity: false, error: "should be a string"4266 #valid?4267 is expected to eq false4268 #value4269 returns needs configuration4270 #type4271 is expected to eq :cross_dependency4272 #errors4273 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1224274 is expected to include "cross project dependency ref should be a string"4275Evidences::EvidenceEntity4276 matches the schema when evidence has report artifacts4277SyncSeatLinkWorker4278 #perform4279 when current, paid license is active4280 executes the SyncSeatLinkRequestWorker with expected params4281 when the timezone makes date one day in advance4282 executes the SyncSeatLinkRequestWorker with expected params4283 when the timezone makes date one day before than UTC4284 executes the SyncSeatLinkRequestWorker with expected params4285 license checks4286 when license is missing4287 does not execute the SyncSeatLinkRequestWorker4288 when using a trial license4289 does not execute the SyncSeatLinkRequestWorker4290 when the license has no expiration date4291 does not execute the SyncSeatLinkRequestWorker4292 when using an expired license4293 the license expired over 14 days ago4294 does not execute the SyncSeatLinkRequestWorker4295 the license expired less than or equal to 14 days ago4296 executes the SyncSeatLinkRequestWorker4297 when seat link has been disabled4298 does not execute the SyncSeatLinkRequestWorker4299 when no historical data exists4300 does not execute the SyncSeatLinkRequestWorker4301Gitlab::UserAccess4302 #can_push_to_branch?4303 push to empty project4304 returns false when the external service denies access4305Gitlab::UrlBuilder4306 .build4307 factory: :epic, path_generator: ->(epic) { "/groups/#{epic.group.full_path}/-/epics/#{epic.iid}" }4308 returns the full URL4309 returns only the path if only_path is set4310 factory: :epic_board, path_generator: ->(epic_board) { "/groups/#{epic_board.group.full_path}/-/epic_boards/#{epic_board.id}" }4311 returns the full URL4312 returns only the path if only_path is set4313 factory: :vulnerability, path_generator: ->(vulnerability) { "/#{vulnerability.project.full_path}/-/security/vulnerabilities/#{vulnerability.id}" }4314 returns the full URL4315 returns only the path if only_path is set4316 factory: :note_on_epic, path_generator: ->(note) { "/groups/#{note.noteable.group.full_path}/-/epics/#{note.noteable.iid}#note_#{note.id}" }4317 returns the full URL4318 returns only the path if only_path is set4319 factory: :note_on_vulnerability, path_generator: ->(note) { "/#{note.project.full_path}/-/security/vulnerabilities/#{note.noteable.id}#note_#{note.id}" }4320 returns the full URL4321 returns only the path if only_path is set4322 factory: :group_wiki, path_generator: ->(wiki) { "/groups/#{wiki.container.full_path}/-/wikis/home" }4323 returns the full URL4324 returns only the path if only_path is set4325admin/users/index4326 includes "Send email to users" link4327 when Gitlab::CurrentSettings.should_check_namespace_plan is true4328 includes "Send email to users" link4329DependencyListSerializer4330 #to_json4331 matches the schema4332Gitlab::Auth::GroupSaml::MembershipEnforcer4333 allows adding the group member4334 does not add the group member4335Elastic::IndexProjectsService4336 #execute4337 when elasticsearch_limit_indexing? is true4338 schedules indexing for selected projects and namespaces4339 when elasticsearch_limit_indexing? is false4340 schedules indexing for all projects4341Gitlab::Audit::Auditor4342 .audit4343 interacts with the event queue in correct order4344 records audit events in correct order4345 bulk-inserts audit events to database4346 logs audit events to database4347 logs audit events to file4348 when audit events are invalid4349 tracks error4350 does not throw exception4351VulnerabilityEntity4352 exposes vulnerability-specific elements4353Security::StoreFindingsMetadataService4354 #execute4355 when the given security scan already has findings4356 does not create new findings in database4357 when the given security scan does not have any findings4358 creates the security finding entries in database4359 when the scanners already exist in the database4360 does not create new scanner entries in the database4361 when the scanner does not exist in the database4362 creates new scanner entry in the database4363Analytics::CycleAnalytics::Stages::ListService4364 returns only the default stages4365 provides the default stages as non-persisted objects4366 does not persist the value stream record4367 behaves like permission check for Value Stream Analytics Stage services4368 when user has no access4369 is expected to be error4370 is expected to eq :forbidden4371 when license is missing4372 is expected to be error4373 is expected to eq :forbidden4374 when there are persisted stages4375 returns the persisted stages in order4376Resolvers::Boards::EpicListsResolver4377 is expected to have nullable GraphQL type EpicListConnection4378 #resolve4379 raises an error if user cannot read epic lists4380 when user is member of the group4381 returns epic lists for the board4382 when resolving a single item4383 returns an array with single epic list4384Analytics::DevopsAdoption::Segment4385 associations4386 is expected to have many snapshots4387 is expected to belong to namespace required:4388 validation4389 is expected to validate that :namespace cannot be empty/falsy4390 is expected to validate that :namespace is case-sensitively unique4391 .ordered_by_name4392 orders segments by namespace name4393 .latest_snapshot4394 loads the latest snapshot4395shared/issuable/_health_status_dropdown.html.haml4396 behaves like issuable bulk dropdown4397 renders hidden input4398 renders vue root4399 without parent4400 is nil4401 without feature4402 is nil4403Resolvers::Boards::EpicBoardsResolver4404 is expected to have nullable GraphQL type EpicBoardConnection4405 #resolve4406 when epics are not available4407 returns nil4408 when epics are available4409 raises an error if user cannot read epic boards4410 when user is member of the group4411 returns epic boards in the group ordered by name4412 when epic_boards flag is disabled4413 returns nil4414BoardSerializer4415 serialization4416 matches current board json schema4417Vulnerabilities::ProjectsGrade4418 .grades_for4419 when the given vulnerable is a Group4420 when subgroups are not included4421 returns the letter grades for given vulnerable4422 when subgroups are included4423 returns the letter grades for given vulnerable4424 when the given vulnerable is an InstanceSecurityDashboard4425 returns the letter grades for given vulnerable4426 #grade4427 when providing letter value of ["a", 0]4428 is expected to eq ["a", 0]4429 when providing letter value of ["b", 1]4430 is expected to eq ["b", 1]4431 when providing letter value of ["c", 2]4432 is expected to eq ["c", 2]4433 when providing letter value of ["d", 3]4434 is expected to eq ["d", 3]4435 when providing letter value of ["f", 4]4436 is expected to eq ["f", 4]4437 #projects4438 when include_subgroups is set to false4439 is expected to contain exactly #<Project id:1595 group501/project1646>> and #<Project id:1596 group501/project1647>>4440 preloads vulnerability statistic once for whole collection4441 when include_subgroups is set to true4442 is expected to contain exactly #<Project id:1595 group501/project1646>>, #<Project id:1596 group501/project1647>>, and #<Project id:1598 group501/group502/project1649>>4443 preloads vulnerability statistic once for whole collection4444 #count4445 is expected to eq 24446layouts/header/_new_dropdown4447 group-specific links4448 does not have "New epic" link4449 as a Group owner4450 with the epics license4451 has a "New epic" link4452ImportSoftwareLicensesWorker4453 #perform4454 when the licenses.json endpoint is healthy4455 is expected to eql "Apache-1.0"4456 is expected to eq 34457 is expected to contain exactly "Apache-1.0", "MIT", and "BSD-4-Clause"4458 is expected to contain exactly "Apache License 1.0", "MIT License", and "BSD 4-Clause \"Original\" or \"Old\" License"4459 when run multiple times4460 does not create duplicated software licenses4461 when a license has an invalid SPDX identifier4462 is expected to eql "Apache-1.0"4463 is expected to contain exactly "Apache-1.0", "MIT", and "BSD-4-Clause"4464 when a license is deprecated4465 is expected to eql "GPL-1.0-only"4466Gitlab::ObjectHierarchy4467 #root4468 includes only the roots4469 when quering parent it includes parent4470HistoricalData4471 .during4472 returns the historical data during the specified period4473 .up_until4474 returns the historical data up until the specified date4475 .track!4476 creates a new historical data record4477 .max_historical_user_count4478 with data outside of the given period4479 with stats before the given period4480 ignores those records4481 with stats after the given period4482 ignores those records4483 with data inside of the given period4484 returns max value for active_user_count4485Label4486 associations4487 is expected to have many epic_board_labels inverse_of => label4488 is expected to have many epic_lists inverse_of => label4489 #scoped_label?4490 with scoped_labels available4491 returns false for unscoped labels4492 returns true for scoped labels4493 splitting scoped labels4494 title: "key1::key 2::some value", key: "key1::key 2", value: "some value"4495 #scoped_label_key returns key for scoped labels4496 #scoped_label_value returns title without the key4497 title: "key1::some value", key: "key1", value: "some value"4498 #scoped_label_key returns key for scoped labels4499 #scoped_label_value returns title without the key4500 title: "::some value", key: "", value: "some value"4501 #scoped_label_key returns key for scoped labels4502 #scoped_label_value returns title without the key4503 title: "some value", key: nil, value: "some value"4504 #scoped_label_key returns key for scoped labels4505 #scoped_label_value returns title without the key4506Projects::OnDemandScansHelper4507 #on_demand_scans_data4508 returns proper data4509admin/licenses/show.html.haml4510 when trial license is present4511 shows content as expected4512 when non trial license is present4513 shows content as expected4514 when license is not present4515 does not show content4516 when licenses are present4517 shows content as expected4518 when licenses are empty4519 does not show content4520 when licenses are not defined4521 does not show content4522profiles/preferences/show4523 security dashboard feature is available4524 renders the group view choice preference4525 security dashboard feature is unavailable4526 does not render the group view choice preference4527Integrations::Jira::IssueDetailEntity4528 returns the Jira issues attributes4529 with Jira Server configuration4530 returns the Jira Server profile URL4531 with only url4532 returns URLs with the web url4533 with Jira Cloud configuration4534 returns the Jira Cloud profile URL4535 without assignee4536 returns an empty array4537 without labels4538 returns an empty array4539 without resolution date4540 returns 'Open' state4541projects/security/sast_configuration/show4542 renders Vue app root4543ClustersHelper4544 #display_cluster_agents?4545 without premium license4546 does not allows agents to display4547 with premium license4548 when clusterable is a project4549 allows agents to display4550 when clusterable is a group4551 does not allows agents to display4552 when cluster_agent_list feature flag is disabled4553 does not allows agents to display4554Mutations::Boards::EpicLists::Create4555 behaves like board lists create mutation4556 #ready?4557 raises an error if required arguments are missing4558 raises an error if too many required arguments are specified4559 #resolve4560 with proper permissions4561 backlog list4562 creates one and only one backlog4563 label list4564 creates a new label board list4565 when label not found4566 returns an error4567 without proper permissions4568 raises an error4569TrialStatusWidgetHelper4570 #show_trial_status_widget?4571 when all requirements are met for the widget to be shown4572 is expected to be truthy4573 when the app is not configured for billing plans & trials4574 is expected to be falsey4575 when the experiment is not active or not enabled for the group4576 is expected to be falsey4577 when the group is not in an active trial4578 is expected to be falsey4579 when the user is not an admin/owner of the group4580 is expected to be falsey4581 #plan_title_for_group4582 plan: :bronze, title: "Bronze"4583 is expected to eq "Bronze"4584 plan: :silver, title: "Silver"4585 is expected to eq "Silver"4586 plan: :gold, title: "Gold"4587 is expected to eq "Gold"4588 plan: :premium, title: "Premium"4589 is expected to eq "Premium"4590 plan: :ultimate, title: "Ultimate"4591 is expected to eq "Ultimate"4592IssueBoardEntity4593 #weight4594 has `weight` attribute4595 when project does not support issue weights4596 does not have `weight` attribute4597 #blocked4598 the issue is not blocked by default4599 when blocked_issue_ids contains the issue id4600 the issue is blocked4601 when blocked_issue_ids is not set4602 the issue is not blocked4603EE::Gitlab::Scim::ParamsParser4604 #filter_params4605 returns the correct filter attributes4606 returns an empty hash for the wrong filter4607 #filter_operator4608 returns the operator as a symbol4609 returns nil if the filter is invalid4610 #update_params4611 when path key is present4612 behaves like scim operation active false4613 returns the correct operation attributes4614 behaves like scim operation empty4615 returns an empty hash for the wrong operations4616 behaves like scim operation update name4617 can update name from displayName4618 when path key is not present4619 behaves like scim operation active false4620 returns the correct operation attributes4621 behaves like scim operation empty4622 returns an empty hash for the wrong operations4623 behaves like scim operation update name4624 can update name from displayName4625 with capitalized op values for Azure4626 behaves like scim operation active false4627 returns the correct operation attributes4628 #post_params4629 returns a parsed hash for POST params4630 can construct a name from givenName and familyName4631 falls back to displayName when other names are missing4632 #deprovision_user?4633 returns true when deprovisioning4634 returns false when not deprovisioning4635 returns true when deprovisioning without a path key4636 #reprovision_user?4637 returns true when reprovisioning4638 returns false when not reprovisioning4639EpicsHelper4640 #epic_new_app_data4641 returns the correct data for a new epic4642 #epic_endpoint_query_params4643 includes Epic specific options in JSON format4644 includes data provided in param4645 #epic_state_dropdown_link4646 returns the active link when selected state is same as the link4647 returns the non-active link when selected state is different from the link4648 #epic_state_title4649 returns "Open" when the state is opened4650 returns humanized string when the state is other than opened4651 #epic_timeframe4652 when both dates are from the same year4653 returns start date with year omitted and end date with year4654 when both dates are from different years4655 returns start date with year omitted and end date with year4656 when only start date is present4657 returns start date with year4658 when only end date is present4659 returns end date with year4660ScimOauthAccessToken4661 Associations4662 is expected to belong to group required:4663 Validations4664 is expected to validate that :group cannot be empty/falsy4665 .token_matches_for_group?4666 finds the token4667 #token4668 generates a token on creation4669Resolvers::UserDiscussionsCountResolver4670 #resolve4671 is expected to have nullable GraphQL type Int4672 when counting discussions from an epic4673 when counting discussions from a public epic4674 returns the number of non-system discussions for the epic4675 when a user has permission to view discussions4676 returns the number of discussions for the issue4677 when a user does not have permission to view discussions4678 raises an error4679Elastic::Latest::CustomLanguageAnalyzers4680 .custom_analyzers_mappings4681 returns correct structure4682 .custom_analyzers_fields4683 smartcn_enabled: false, kuromoji_enabled: false, expected_result: {}4684 returns correct config4685 smartcn_enabled: true, kuromoji_enabled: false, expected_result: {:smartcn=>{:analyzer=>"smartcn", :type=>:text}}4686 returns correct config4687 smartcn_enabled: false, kuromoji_enabled: true, expected_result: {:kuromoji=>{:analyzer=>"kuromoji", :type=>:text}}4688 returns correct config4689 smartcn_enabled: true, kuromoji_enabled: true, expected_result: {:smartcn=>{:analyzer=>"smartcn", :type=>:text}, :kuromoji=>{:analyzer=>"kuromoji", :type=>:text}}4690 returns correct config4691 .add_custom_analyzers_fields4692 smartcn_enabled: false, kuromoji_enabled: false, smartcn_search: false, kuromoji_search: false, expected_additional_fields: []4693 returns correct fields4694 smartcn_enabled: false, kuromoji_enabled: false, smartcn_search: true, kuromoji_search: true, expected_additional_fields: []4695 returns correct fields4696 smartcn_enabled: true, kuromoji_enabled: true, smartcn_search: false, kuromoji_search: false, expected_additional_fields: []4697 returns correct fields4698 smartcn_enabled: true, kuromoji_enabled: true, smartcn_search: true, kuromoji_search: false, expected_additional_fields: ["title.smartcn"]4699 returns correct fields4700 smartcn_enabled: true, kuromoji_enabled: true, smartcn_search: false, kuromoji_search: true, expected_additional_fields: ["title.kuromoji"]4701 returns correct fields4702 smartcn_enabled: true, kuromoji_enabled: true, smartcn_search: true, kuromoji_search: true, expected_additional_fields: ["title.smartcn", "title.kuromoji"]4703 returns correct fields4704BlobHelper4705 #licenses_for_select4706 returns Group licenses when enabled4707 returns Instance licenses when enabled4708 returns no Group or Instance licenses when disabled4709Mutations::ComplianceManagement::Frameworks::Update4710 feature is enabled and licensed4711 parameters are valid4712 returns the new object4713 returns no errors4714 current_user is not authorized to update framework4715 raises an error4716 parameters are invalid4717 does not change the framework attributes4718 returns validation errors4719ScimOauthAccessTokenEntity4720 exposes the URL4721 exposes the token4722ResourceStateEvent4723 is expected to belong to epic required:4724 validations4725 Issuable validation4726 is valid if only epic is set4727 is invalid if an epic and an issue is set4728Gitlab::Auth::Smartcard::Session4729 #active?4730 with a smartcard session4731 is expected to be truthy4732 without any session4733 is expected to be falsey4734 #update_active4735 stores the time of last sign-in4736Gitlab::UsageDataCounters::HLLRedisCounter4737 .track_event_in_context4738 with valid context4739 entity: "dfb9d2d2-f56c-4c77-8aeb-6cddc4a1f857", event_name: "context_event", context: "default"4740 increments context event counter4741 entity: "dfb9d2d2-f56c-4c77-8aeb-6cddc4a1f857", event_name: "context_event", context: "ultimate"4742 increments context event counter4743 entity: "dfb9d2d2-f56c-4c77-8aeb-6cddc4a1f857", event_name: "context_event", context: "gold"4744 increments context event counter4745 when sending empty context4746 is not incrementing the counter4747 .unique_events4748 with correct arguments4749 event_names: "context_event", context: "default", value: 24750 is expected to eq 24751 event_names: "context_event", context: "ultimate", value: 14752 is expected to eq 14753 event_names: "context_event", context: "gold", value: 14754 is expected to eq 14755 event_names: "context_event", context: "", value: 04756 is expected to eq 04757 with invalid context4758 raise error4759Gitlab::Sitemaps::Generator4760 returns error if the env is not .com4761 when env is .com4762 returns error if group gitlab-org is not found4763 when group gitlab-org is present and public4764 and it is not public4765 returns and error4766 and it is public4767 includes default explore routes and gitlab-org group routes4768EE::SystemNoteMetadata4769 when action type is valid4770 is expected to be valid4771 when action type is valid4772 is expected to be valid4773 when action type is valid4774 is expected to be valid4775 when action type is valid4776 is expected to be valid4777projects/protected_environments/_protected_environment4778 displays protected environments without matching environment as text4779 displays protected environments with matching environment as link4780query($full_path: ID!, $epic_iid: ID!, $cursor: String) {4781 group(fullPath: $full_path) {4782 epic(iid: $epic_iid) {4783 events(first: 100, after: $cursor) {4784 page_info: pageInfo {4785 end_cursor: endCursor4786 has_next_page: hasNextPage4787 }4788 nodes {4789 action4790 created_at: createdAt4791 updated_at: updatedAt4792 author {4793 public_email: publicEmail4794 }4795 }4796 }4797 }4798 }4799 }4800 has a valid query4801 #data_path4802 returns data path4803 #page_info_path4804 returns pagination information path4805Security::ScannedResourcesCountingService#execute4806 The Pipeline has security builds4807 All report types are requested4808 is expected to match (a hash including {"sast" => 0, "dast" => 6, "container_scanning" => 0, "dependency_scanning" => 0})4809 Only the report type dast is requested4810 is expected to eq {"dast"=>6}4811 The Pipeline has no security builds4812 is expected to match (a hash including {"sast" => 0, "dast" => 0, "container_scanning" => 0, "dependency_scanning" => 0})4813Security::ApiFuzzing::CiConfiguration4814 #scan_profiles4815 when the request finishes successfully4816 returns all scan profiles4817 when the response includes unknown scan profiles4818 excludes them from the returned profiles4819 when the request errors4820 returns an empty array4821 when the request returns an unsuccessful status code4822 returns an empty array4823Gitlab::Ci::Config::Entry::Bridge4824 .matching?4825 when config is a bridge job4826 is expected to be truthy4827 .new4828 when needs pipeline config is a non-empty string4829 #valid?4830 is expected to be valid4831 #value4832 is returns a bridge job configuration4833 when needs config is a job4834 #valid?4835 is expected to be valid4836 #value4837 is returns a bridge job configuration4838 when bridge configuration contains trigger, needs, when, extends, stage, only, except, and variables4839 is expected to be valid4840 when trigger config is nil4841 #valid?4842 is expected not to be valid4843 #errors4844 is returns an error about empty trigger config4845 when upstream config is nil4846 #valid?4847 is expected not to be valid4848 #errors4849 is returns an error about empty upstream config4850 when bridge has bridge and job needs4851 #valid?4852 is expected to be valid4853 when bridge has bridge and cross projects dependencies4854 #valid?4855 is expected not to be valid4856 #errors4857 returns an error cross dependencies4858 when bridge has more than one valid bridge needs4859 #valid?4860 is expected not to be valid4861 #errors4862 returns an error about too many bridge needs4863Max Limits Module4864 max limits query methods4865 params: {:max_issue_count=>0}, expected_max_issue_count?: true, expected_max_issue_weight?: false, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 0, expected_list_attributes: {:max_issue_count=>0}4866 returns the expected values4867 params: {:max_issue_count=>nil}, expected_max_issue_count?: false, expected_max_issue_weight?: false, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 0, expected_list_attributes: {}4868 returns the expected values4869 params: {:max_issue_count=>-1}, expected_max_issue_count?: true, expected_max_issue_weight?: false, expected_max_issue_count_by_params: -1, expected_max_issue_weight_by_params: 0, expected_list_attributes: {:max_issue_count=>-1}4870 returns the expected values4871 params: {:max_issue_count=>1}, expected_max_issue_count?: true, expected_max_issue_weight?: false, expected_max_issue_count_by_params: 1, expected_max_issue_weight_by_params: 0, expected_list_attributes: {:max_issue_count=>1}4872 returns the expected values4873 params: {:max_issue_count=>"1"}, expected_max_issue_count?: true, expected_max_issue_weight?: false, expected_max_issue_count_by_params: 1, expected_max_issue_weight_by_params: 0, expected_list_attributes: {:max_issue_count=>1}4874 returns the expected values4875 params: {:max_issue_weight=>0}, expected_max_issue_count?: false, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 0, expected_list_attributes: {:max_issue_weight=>0}4876 returns the expected values4877 params: {:max_issue_weight=>nil}, expected_max_issue_count?: false, expected_max_issue_weight?: false, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 0, expected_list_attributes: {}4878 returns the expected values4879 params: {:max_issue_weight=>-1}, expected_max_issue_count?: false, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: -1, expected_list_attributes: {:max_issue_weight=>-1}4880 returns the expected values4881 params: {:max_issue_weight=>1}, expected_max_issue_count?: false, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 1, expected_list_attributes: {:max_issue_weight=>1}4882 returns the expected values4883 params: {:max_issue_weight=>"1"}, expected_max_issue_count?: false, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 1, expected_list_attributes: {:max_issue_weight=>1}4884 returns the expected values4885 params: {:max_issue_count=>1, :max_issue_weight=>1}, expected_max_issue_count?: true, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 1, expected_max_issue_weight_by_params: 1, expected_list_attributes: {:max_issue_count=>1, :max_issue_weight=>1}4886 returns the expected values4887 params: {:max_issue_count=>"1", :max_issue_weight=>1}, expected_max_issue_count?: true, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 1, expected_max_issue_weight_by_params: 1, expected_list_attributes: {:max_issue_count=>1, :max_issue_weight=>1}4888 returns the expected values4889 params: {:max_issue_count=>1, :max_issue_weight=>"1"}, expected_max_issue_count?: true, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 1, expected_max_issue_weight_by_params: 1, expected_list_attributes: {:max_issue_count=>1, :max_issue_weight=>1}4890 returns the expected values4891 params: {:max_issue_count=>nil, :max_issue_weight=>"1"}, expected_max_issue_count?: false, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 1, expected_list_attributes: {:max_issue_weight=>1}4892 returns the expected values4893 params: {:max_issue_count=>1, :max_issue_weight=>2}, expected_max_issue_count?: true, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 1, expected_max_issue_weight_by_params: 2, expected_list_attributes: {:max_issue_count=>1, :max_issue_weight=>2}4894 returns the expected values4895 params: {:max_issue_count=>0, :max_issue_weight=>3}, expected_max_issue_count?: true, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 3, expected_list_attributes: {:max_issue_count=>0, :max_issue_weight=>3}4896 returns the expected values4897 params: {:max_issue_count=>nil, :max_issue_weight=>3}, expected_max_issue_count?: false, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 3, expected_list_attributes: {:max_issue_weight=>3}4898 returns the expected values4899 params: {:max_issue_count=>-1, :max_issue_weight=>3}, expected_max_issue_count?: true, expected_max_issue_weight?: true, expected_max_issue_count_by_params: -1, expected_max_issue_weight_by_params: 3, expected_list_attributes: {:max_issue_count=>-1, :max_issue_weight=>3}4900 returns the expected values4901 params: {:max_issue_count=>nil, :max_issue_weight=>nil}, expected_max_issue_count?: false, expected_max_issue_weight?: false, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 0, expected_list_attributes: {}4902 returns the expected values4903 params: {:max_issue_count=>-1, :max_issue_weight=>-1}, expected_max_issue_count?: true, expected_max_issue_weight?: true, expected_max_issue_count_by_params: -1, expected_max_issue_weight_by_params: -1, expected_list_attributes: {:max_issue_count=>-1, :max_issue_weight=>-1}4904 returns the expected values4905 params: {:max_issue_count=>1, :max_issue_weight=>"hello"}, expected_max_issue_count?: true, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 1, expected_max_issue_weight_by_params: 0, expected_list_attributes: {:max_issue_count=>1, :max_issue_weight=>0}4906 returns the expected values4907 params: {:max_issue_count=>"2", :max_issue_weight=>"9"}, expected_max_issue_count?: true, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 2, expected_max_issue_weight_by_params: 9, expected_list_attributes: {:max_issue_count=>2, :max_issue_weight=>9}4908 returns the expected values4909 params: {:max_issue_weight=>"9"}, expected_max_issue_count?: false, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 9, expected_list_attributes: {:max_issue_weight=>9}4910 returns the expected values4911 params: {:max_issue_count=>"hello1", :max_issue_weight=>"hello2"}, expected_max_issue_count?: true, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 0, expected_list_attributes: {:max_issue_count=>0, :max_issue_weight=>0}4912 returns the expected values4913trials/new.html.haml4914 has fields for first, last and company names4915 remove_known_trial_form_fields experiment is enabled4916 the user has already values in first, last and company names4917 has hidden fields4918 the user empty values for first, last and company names4919 has fields4920SlackIntegration4921 Associations4922 is expected to belong to service required:4923 Validations4924 is expected to validate that :team_id cannot be empty/falsy4925 is expected to validate that :team_name cannot be empty/falsy4926 is expected to validate that :alias cannot be empty/falsy4927 is expected to validate that :user_id cannot be empty/falsy4928 is expected to validate that :service cannot be empty/falsy4929Security::SecurityOrchestrationPolicies::OnDemandScanPipelineConfigurationService4930 #execute4931 uses DastSiteProfilesFinder and DastScannerProfilesFinder to find DAST profiles within the project4932 delegates params creation to DastOnDemandScans::ParamsCreateService4933 delegates variables preparation to ::Ci::DastScanCiConfigurationService4934 fetches template content using ::TemplateFinder4935 returns prepared CI configuration with DAST On-Demand scans defined4936Integrations::Jira::IssueEntity4937 returns the Jira issues attributes4938 with Jira Server configuration4939 returns the Jira Server profile URL4940 with only url4941 returns URLs with the web url4942 with Jira Cloud configuration4943 returns the Jira Cloud profile URL4944 without assignee4945 returns an empty array4946 without labels4947 returns an empty array4948 feature flag "jira_issues_show_integration" is disabled4949 sets `gitlab_web_url` to nil4950Gitlab::Database::LoadBalancing::ServiceDiscovery4951 #initialize4952 :record_type4953 with a supported type4954 is expected to eq 334955 with an unsupported type4956 raises an argument error4957 #start4958 starts service discovery in a new thread4959 reports exceptions to Sentry4960 #refresh_if_necessary4961 when a refresh is necessary4962 refreshes the load balancer hosts4963 when a refresh is not necessary4964 does not refresh the load balancer hosts4965 #replace_hosts4966 replaces the hosts of the load balancer4967 disconnects the old connections4968 #addresses_from_dns4969 with an A record4970 returns a TTL and ordered list of IP addresses4971 with an SRV record4972 returns a TTL and ordered list of hosts4973 #new_wait_time_for4974 returns the DNS TTL if greater than the default interval4975 returns the default interval if greater than the DNS TTL4976 returns the default interval if no resources are given4977 #addresses_from_load_balancer4978 returns the ordered host names of the load balancer4979Gitlab::GitAccessSnippet4980 #check4981 protocol_name: "ssh"4982 is expected to be a kind of Gitlab::GitAccessResult::Success4983 protocol_name: "web"4984 is expected to be a kind of Gitlab::GitAccessResult::Success4985 protocol_name: "http"4986 is expected to be a kind of Gitlab::GitAccessResult::Success4987 protocol_name: "https"4988 is expected to be a kind of Gitlab::GitAccessResult::Success4989Dast::Branch4990 instance methods4991 when the associated project does not have a repository4992 #name4993 returns nil4994 #exists4995 returns false4996 when the associated project has a repository4997 #name4998 returns the default_branch4999 #exists5000 returns true5001Analytics::CycleAnalytics::StageFinder5002 when looking up in-memory default stage by name exists5003 is expected not to be persisted5004 is expected to eq "issue"5005 when in-memory default stage cannot be found5006 is expected to raise ActiveRecord::RecordNotFound5007 when persisted stage exists5008 is expected to be persisted5009 is expected to eq "Stage #7"5010 when persisted stage cannot be found5011 is expected to raise ActiveRecord::RecordNotFound5012Gitlab::Ci::Config::Entry::Vault::Secret5013 validation5014 when entry config value is correct5015 when config is a hash5016 #value5017 returns Vault secret configuration5018 #valid?5019 is valid5020 when config is a string with engine path5021 #value5022 returns Vault secret configuration5023 #valid?5024 is valid5025 when config is a string without engine path5026 #value5027 returns Vault secret configuration5028 #valid?5029 is valid5030 when entry value is not correct5031 #errors5032 when there is an unknown key present5033 reports error5034 when path is not present5035 reports error5036 when field is not present5037 reports error5038 when engine is not a hash5039 reports error5040VulnerabilityUserMention5041 associations5042 is expected to belong to vulnerability required:5043 is expected to belong to note required:5044 behaves like has user mentions5045 #has_mentions?5046 when no mentions5047 returns false5048 when mentioned_users_ids not null5049 returns true5050 when mentioned projects5051 returns true5052 when mentioned groups5053 returns true5054AuditEventsHelper5055 #admin_audit_event_tokens5056 returns the available tokens5057 #group_audit_event_tokens5058 returns the available tokens5059 #project_audit_event_tokens5060 returns the available tokens5061 #human_text5062 when message consist of hash keys5063 ignores keys that start with start with author_, or target_5064 when details contain custom message5065 returns custom message5066 #select_keys5067 returns empty string if key starts with author_5068 returns empty string if key starts with target_5069 returns empty string if key is ip_address and the value is blank5070 returns formatted text if key is ip_address and the value is not blank5071 returns formatted text if key does not start with author_, or target_5072 returns formatted text with `never expires` if key is expiry_from and the value is blank5073 returns formatted text with `never expires` if key is expiry_to and the value is blank5074 #export_url5075 is expected to eq "http://test.host/admin/audit_log_reports.csv"5076Types::Dast::ProfileType5077 is expected to eq "DastProfile"5078 is expected to require graphql authorizations :read_on_demand_scans5079 is expected to have graphql fields :id, :name, :description, :dastSiteProfile, :dastScannerProfile, :branch, and :editPath5080 is expected to have graphql field :branch and {:calls_gitaly?=>true}5081 branch field5082 when the feature flag is disabled5083 resolves nil5084 when the feature flag is enabled5085 correctly resolves the field5086 editPath field5087 correctly resolves the field5088Keys::LastUsedService5089 does not run on read-only GitLab instances5090Types::NamespaceType5091 has specific fields5092 Customized fields5093 returns the expected values for customized fields defined in NamespaceType5094Gitlab::WebIde::Config::Entry::Global5095 .nodes5096 when filtering all the entry/node names5097 contains the expected node names5098 when configuration is valid5099 when some entries defined5100 #compose!5101 creates nodes hash5102 creates node object for each entry5103 creates node object using valid class5104 sets correct description for nodes5105 when not composed5106 #schemas_value5107 returns nil5108 when composed5109 #errors5110 has no errors5111 #schemas_value5112 returns correct value for schemas5113EE::API::Entities::Scim::Emails5114 contains the email5115 contains the type5116 contains the email5117Projects::Security::ApiFuzzingConfigurationHelper5118 #api_fuzzing_configuration_data5119 user with admin_pipeline permissions5120 is expected to eq {:api_fuzzing_authentication_documentation_path=>"/help/user/application_security/api_fuzzing/index#a...ettings/ci_cd", :security_configuration_path=>"/namespace1673/project1702/-/security/configuration"}5121 user without admin_pipeline permissions5122 is expected to eq {:api_fuzzing_authentication_documentation_path=>"/help/user/application_security/api_fuzzing/index#a...ettings/ci_cd", :security_configuration_path=>"/namespace1673/project1702/-/security/configuration"}5123Vulnerabilities::FindingRemediation5124 is expected to belong to finding class_name => Vulnerabilities::Finding required: true5125 is expected to belong to remediation class_name => Vulnerabilities::Remediation required: true5126Gitlab::Database::LoadBalancing::Session5127 .current5128 returns the current session5129 .clear_session5130 clears the current session5131 #use_primary?5132 returns true when the primary should be used5133 returns false when a secondary should be used5134 returns true when a write was performed5135 #use_primary5136 uses primary during block5137 continues using primary when write was performed5138 when primary was used before5139 restores state after use5140 when primary was not used5141 restores state after use5142 #performed_write?5143 returns true if a write was performed5144Gitlab::CIDR5145 validation5146 raises an exception when an octet is invalid5147 raises an exception when a bitmask is invalid5148 raises an exception when one IP from a set is invalid5149 matching5150 values: "192.1.1.1", ip: "192.1.1.1", match: true5151 is expected to eq true5152 values: "192.1.1.1, 192.1.2.1", ip: "192.1.2.1", match: true5153 is expected to eq true5154 values: "192.1.1.0/24", ip: "192.1.1.223", match: true5155 is expected to eq true5156 values: "192.1.0.0/16", ip: "192.1.223.223", match: true5157 is expected to eq true5158 values: "192.1.0.0/16, 192.1.2.0/24", ip: "192.1.2.223", match: true5159 is expected to eq true5160 values: "192.1.0.0/16", ip: "192.2.1.1", match: false5161 is expected to eq false5162 values: "192.1.0.1", ip: "192.2.1.1", match: false5163 is expected to eq false5164Gitlab::Analytics::CycleAnalytics::StageEvents::IssueLabelRemoved5165 behaves like value stream analytics event5166 is expected to be a kind of String5167 is expected to be a kind of Symbol5168 is expected to include ApplicationRecord(abstract)5169 is expected to respond to #timestamp_projection5170 is expected to respond to #markdown_description5171 is expected to be a kind of Array5172 #apply_query_customization5173 expects an ActiveRecord::Relation object as argument and returns a modified version of it5174RoadmapsHelper5175 #roadmap_layout5176 guest5177 is sourced from params if exists5178 returns default if params do not exist5179 logged in5180 is sourced from User#roadmap_layout5181 #roadmap_sort_order5182 guest5183WARNING: An expectation of `:user_preference` 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/helpers/roadmaps_helper_spec.rb:42:in `block (3 levels) in <top (required)>'.5184 returns default sort order5185 user without preferences set5186 returns default sort order5187 user with preference set5188 returns saved user preference5189SecurityHelper5190 #instance_security_dashboard_data5191 returns vulnerability, project, feedback, asset, and docs paths for the instance security dashboard5192Gitlab::Ci::Reports::Security::Scanner5193 #initialize5194 when all params are given5195 initializes an instance5196 when attribute external_id is missing5197 raises an error5198 when attribute name is missing5199 raises an error5200 #key5201 returns external_id5202 #to_hash5203 returns expected hash5204 when vendor is not defined5205 returns expected hash5206 #==5207 when external_id is equal5208 returns true5209 when external_id is different5210 returns false5211Resolvers::InstanceSecurityDashboard::ProjectsResolver5212 #resolve5213 when provided object is InstanceSecurityDashboard5214 is expected to eq #<ActiveRecord::Relation []>5215 when object is not provided5216 is expected to be nil5217Gitlab::Analytics::CycleAnalytics::StageEvents::IssueFirstAssociatedWithMilestone5218 behaves like value stream analytics event5219 is expected to be a kind of String5220 is expected to be a kind of Symbol5221 is expected to include ApplicationRecord(abstract)5222 is expected to respond to #timestamp_projection5223 is expected to respond to #markdown_description5224 is expected to be a kind of Array5225 #apply_query_customization5226 expects an ActiveRecord::Relation object as argument and returns a modified version of it5227Gitlab::Analytics::CycleAnalytics::StageEvents::MergeRequestFirstCommitAt5228 behaves like value stream analytics event5229 is expected to be a kind of String5230 is expected to be a kind of Symbol5231 is expected to include ApplicationRecord(abstract)5232 is expected to respond to #timestamp_projection5233 is expected to respond to #markdown_description5234 is expected to be a kind of Array5235 #apply_query_customization5236 expects an ActiveRecord::Relation object as argument and returns a modified version of it5237Resolvers::Admin::Analytics::DevopsAdoption::SegmentsResolver5238 #resolve5239 when requesting project count measurements5240 as an admin user5241 returns the records, ordered by name5242 when the feature is not available5243 returns the records, ordered by name5244 as a non-admin user5245 raises ResourceNotAvailable error5246 as an unauthenticated user5247 raises ResourceNotAvailable error5248Gitlab::Graphql::Aggregations::Issues::LazyBlockAggregate5249 #initialize5250 adds the issue_id to the lazy state5251 #block_aggregate5252 when there is a block provided5253WARNING: 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/lib/gitlab/graphql/aggregations/issues/lazy_block_aggregate_spec.rb:44:in `block (4 levels) in <top (required)>'.5254 calls the block5255 if the record has already been loaded5256 does not make the query again5257 if the record has not been loaded5258 clears the pending IDs5259Gitlab::Graphql::Aggregations::VulnerabilityStatistics::LazyAggregate5260 #initialize5261 adds the vulnerable to the lazy state5262 #execute5263 if the record has already been loaded5264 does not make the query again5265 if the record has not been loaded5266 makes the query5267 clears the pending IDs5268ScimPaginatable5269 scim_paginate5270 paginates with offset and limit5271 translates a 1-based index to an offset of 05272 handles string input5273 defaults to offset of 05274Projects::Integrations::Jira::ByIdsFinder5275 #execute5276 when reactive_caching is still fetching data5277 returns nil5278 when reactive_caching has finished5279 returns issues encapsulated in hash5280 when reactive_caching failed with ::Projects::Integrations::Jira::IssuesFinder::IntegrationError5281 returns empty issues list with error message5282 when reactive_caching failed with ::Projects::Integrations::Jira::IssuesFinder::RequestError5283 returns empty issues list with error message5284Gitlab::ReturnToLocation5285 #full_path5286 returns nil when location nil5287 returns an empty string when location is empty5288 removes the domain from location5289 keeps the query string from location5290 keeps the fragments from location5291IssuePresenter5292 #sla_due_at5293 issue sla available5294 is expected to eq 2021-03-03 13:20:42.760748940 +00005295 issue sla not available5296 is expected to eq nil5297 #web_url5298 when issue has default type5299 is expected to eq "http://localhost/namespace1677/project1706/-/issues/1"5300 when issue has test_case type5301 is expected to eq "http://localhost/namespace1678/project1707/-/quality/test_cases/1"5302Gitlab::Middleware::IpRestrictor5303 #call5304 calls ip address state to set the address5305 calls ip address state to nullify the address5306WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #<RuntimeError: boom>. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /builds/gitlab-org/gitlab/ee/spec/lib/gitlab/middleware/ip_restrictor_spec.rb:33:in `block (3 levels) in <top (required)>'.5307 calls ip address state to nullify the address when app raises an error5308 when it is internal endpoint5309 does not call ip address state to set the address5310Gitlab::GlRepository5311 .parse5312 parses a group wiki gl_repository5313TestReportsComparerEntity5314 #as_json5315 when head and base reports include two test suites5316 when the status of head report is success5317 contains correct compared test reports details5318 when the status of head report is failed5319 contains correct compared test reports details5320 when the status of head report is resolved5321 contains correct compared test reports details5322OmniAuth::Strategies::KerberosSpnego5323 uses the principal name as the "uid"5324 extracts the username5325 turns the principal name into an email address5326 clears its special session key5327operations/index.html.haml5328 renders the frontend configuration5329NotesHelper5330 #notes_url5331 for vulnerability5332 return vulnerability notes path for vulnerability5333 #discussions_path5334 for vulnerability5335 is expected to eq "/namespace1679/project1708/-/security/vulnerabilities/84/discussions.json"5336Gitlab::UsageCounters::PodLogs5337 behaves like a usage counter5338 .increment5339 intializes and increments the counter for the project by 15340 .usage_totals5341 when the feature has not been used5342 returns the total counts and counts per project5343 when the feature has been used in multiple projects5344 returns the total counts and counts per project5345PersonalAccessTokens::Groups::UpdateLifetimeService5346 #execute5347 when we can obtain the lease5348 schedules the worker5349 when we can't obtain the lease5350 does not schedule the worker5351Types::IterationType5352 is expected to eq "Iteration"5353 is expected to require graphql authorizations :read_iteration5354 has the expected fields5355IncidentManagement::IncidentSlaExceededCheckWorker5356 #perform5357 calls the apply incident sla label service5358UserDetail5359 is expected to belong to provisioned_by_group required:5360Gitlab::ItemsCollection5361 responds to each5362 #page5363 returns paginated collection5364 #to_ary5365 returns Array5366Gitlab::Vulnerabilities::Parser5367 .fabricate5368 with standard categories5369 returns a Standard Vulnerability5370 with container scanning as category5371 returns a Scanning Vulnerability5372 with an invalid category5373 raises an exception5374Elastic::ProjectsSearch5375 #maintain_elasticsearch_create5376 calls track!5377 #maintain_elasticsearch_destroy5378 calls delete worker5379Gitlab::Ci::Reports::Security::Link5380 #initialize5381 when all params are given5382 initializes an instance5383 #to_hash5384 returns expected hash5385Ci::Minutes::Context5386 delegation5387 is expected to delegate #shared_runners_minutes_limit_enabled? to the #level object5388 is expected to delegate #namespace_name to the #namespace object as #name5389Types::Boards::EpicListType5390 is expected to eq "EpicList"5391 has specific fields5392StorageShard5393 .all5394 returns an array of StorageShard objects5395 .build_digest5396 returns SHA1 digest for the current configuration5397Types::Ci::CodeCoverageActivityType5398 is expected to eq "CodeCoverageActivity"5399 is expected to have graphql fields :average_coverage, :coverage_count, :project_count, and :date5400SortingHelper5401 #sort_direction_icon5402 returns lowest for weight5403 behaves like non-ee for other sort values5404Types::Vulnerability::ExternalIssueLinkTypeEnum5405 is expected to contain exactly "CREATED"5406Gitlab::Insights::Serializers::Chartjs::LineSerializer5407 returns the correct format5408Gitlab::StatusPage::Filter::MentionAnonymizationFilter5409 replaces user link with anonymized text5410Types::VulnerablePackageType5411 is expected to have graphql fields :name5412Types::BoardListType5413 has specific fields5414Gitlab::Graphql::Pagination::Keyset::OrderInfo5415 #build_order_list5416 when ordering by STORAGE5417 assigns the right attribute name, named function, and direction5418Types::VulnerabilityIdentifierType5419 is expected to have graphql fields :name, :url, :external_type, and :external_id5420Gitlab::ImportSources5421 .import_table5422 includes specific EE imports types when the license supports them5423Types::VulnerabilityLocation::SastType5424 is expected to have graphql fields :end_line, :file, :start_line, :vulnerable_class, :vulnerable_method, and :blob_path5425Types::VulnerabilityDetails::FileLocationType5426 is expected to have graphql fields :name, :description, :fieldName, :fileName, :lineStart, and :lineEnd5427EE::API::Entities::Experiment5428 #as_json5429 is expected to match {:key=>"experiment_1", :enabled=>true}5430Types::Vulnerability::ExternalIssueLinkExternalTrackerEnum5431 is expected to contain exactly "JIRA"5432AutoMergeService5433 .all_strategies_ordered_by_preference5434 returns all strategies in preference order5435Knapsack report was generated. Preview:5436{5437 "ee/spec/lib/ee/gitlab/usage_data_spec.rb": 208.69194984436035,5438 "ee/spec/lib/gitlab/ci/templates/dependency_scanning_gitlab_ci_yaml_spec.rb": 68.15819334983826,5439 "ee/spec/services/ee/notes/quick_actions_service_spec.rb": 32.60163497924805,5440 "ee/spec/services/epic_links/create_service_spec.rb": 32.33480429649353,5441 "ee/spec/services/vulnerabilities/confirm_service_spec.rb": 26.92883801460266,5442 "ee/spec/models/ci/pipeline_spec.rb": 20.421667098999023,5443 "ee/spec/models/ci/build_spec.rb": 16.700669765472412,5444 "ee/spec/lib/ee/gitlab/checks/push_rules/commit_check_spec.rb": 14.464464902877808,5445 "ee/spec/models/project_import_state_spec.rb": 13.895768165588379,5446 "ee/spec/models/note_spec.rb": 12.845233678817749,5447 "ee/spec/services/security/sync_reports_to_approval_rules_service_spec.rb": 11.14440131187439,5448 "ee/spec/models/concerns/approval_rule_like_spec.rb": 11.765811681747437,5449 "ee/spec/policies/ci/build_policy_spec.rb": 8.664732456207275,5450 "ee/spec/models/productivity_analytics_spec.rb": 9.529165506362915,5451 "ee/spec/graphql/resolvers/timelog_resolver_spec.rb": 7.819262504577637,5452 "ee/spec/models/group_member_spec.rb": 7.543637752532959,5453 "ee/spec/services/security/waf_anomaly_summary_service_spec.rb": 7.472060441970825,5454 "ee/spec/services/ee/protected_branches/create_service_spec.rb": 6.677664041519165,5455 "ee/spec/services/vulnerabilities/resolve_service_spec.rb": 7.012322425842285,5456 "ee/spec/serializers/vulnerabilities/finding_serializer_spec.rb": 5.8410820960998535,5457 "ee/spec/lib/gitlab/insights/reducers/count_per_period_reducer_spec.rb": 6.1474175453186035,5458 "ee/spec/workers/network_policy_metrics_worker_spec.rb": 5.049482345581055,5459 "ee/spec/lib/gitlab/ci/templates/Jobs/load_performance_testing_gitlab_ci_yaml_spec.rb": 4.853752613067627,5460 "ee/spec/models/concerns/elastic/issue_spec.rb": 6.211439371109009,5461 "ee/spec/services/ee/issue_links/create_service_spec.rb": 4.948836088180542,5462 "ee/spec/finders/groups_with_templates_finder_spec.rb": 4.753154516220093,5463 "ee/spec/models/board_spec.rb": 5.777614593505859,5464 "ee/spec/services/ci/minutes/update_build_minutes_service_spec.rb": 4.735578536987305,5465 "ee/spec/lib/gitlab/analytics/cycle_analytics/summary/group/stage_time_summary_spec.rb": 4.642989635467529,5466 "ee/spec/finders/autocomplete/vulnerabilities_autocomplete_finder_spec.rb": 4.306386709213257,5467 "ee/spec/services/ee/system_notes/epics_service_spec.rb": 4.143136978149414,5468 "ee/spec/workers/update_all_mirrors_worker_spec.rb": 4.100221157073975,5469 "ee/spec/services/projects/gitlab_projects_import_service_spec.rb": 4.252122163772583,5470 "ee/spec/services/dast_scanner_profiles/create_service_spec.rb": 4.210091829299927,5471 "ee/spec/services/status_page/mark_for_publication_service_spec.rb": 3.701793909072876,5472 "ee/spec/lib/analytics/devops_adoption/snapshot_calculator_spec.rb": 3.4184370040893555,5473 "ee/spec/lib/ee/gitlab/checks/push_rules/branch_check_spec.rb": 3.3272716999053955,5474 "ee/spec/finders/dast_site_profiles_finder_spec.rb": 2.887099266052246,5475 "ee/spec/lib/gitlab/ci/templates/Verify/browser_performance_testing_gitlab_ci_yaml_spec.rb": 2.950789213180542,5476 "ee/spec/serializers/dependency_list_entity_spec.rb": 1.5141239166259766,5477 "ee/spec/services/resource_access_tokens/revoke_service_spec.rb": 2.9853386878967285,5478 "ee/spec/views/groups/edit.html.haml_spec.rb": 2.803924798965454,5479 "ee/spec/services/dashboard/projects/create_service_spec.rb": 2.6010124683380127,5480 "ee/spec/models/approval_wrapped_any_approver_rule_spec.rb": 2.9037692546844482,5481 "ee/spec/policies/vulnerabilities/feedback_policy_spec.rb": 2.7565197944641113,5482 "ee/spec/models/vulnerabilities/finding_identifier_spec.rb": 2.3154032230377197,5483 "ee/spec/services/group_saml/group_managed_accounts/transfer_membership_service_spec.rb": 2.744333028793335,5484 "ee/spec/services/vulnerability_exports/export_service_spec.rb": 1.9876835346221924,5485 "ee/spec/services/jira/requests/issues/list_service_spec.rb": 1.9439666271209717,5486 "ee/spec/services/software_license_policies/update_service_spec.rb": 2.135974407196045,5487 "ee/spec/lib/gitlab/auth/group_saml/identity_linker_spec.rb": 2.0606346130371094,5488 "ee/spec/services/group_saml/identity/destroy_service_spec.rb": 1.849236249923706,5489 "ee/spec/lib/banzai/reference_parser/iteration_parser_spec.rb": 1.9070534706115723,5490 "ee/spec/services/ee/vulnerability_feedback_module/update_service_spec.rb": 1.9006891250610352,5491 "ee/spec/finders/group_projects_finder_spec.rb": 1.747056484222412,5492 "ee/spec/services/ee/users/update_service_spec.rb": 1.9793508052825928,5493 "ee/spec/services/security/report_summary_service_spec.rb": 1.755316972732544,5494 "ee/spec/graphql/mutations/dast_site_tokens/create_spec.rb": 1.8133320808410645,5495 "ee/spec/graphql/types/vulnerability_type_spec.rb": 1.5005004405975342,5496 "ee/spec/lib/gitlab/ci/parsers/security/sast_spec.rb": 1.6596455574035645,5497 "ee/spec/workers/clear_shared_runners_minutes_worker_spec.rb": 1.6358797550201416,5498 "ee/spec/models/ci/minutes/quota_spec.rb": 1.5886828899383545,5499 "ee/spec/lib/gitlab/auth/saml/user_spec.rb": 1.4092044830322266,5500 "ee/spec/workers/set_user_status_based_on_user_cap_setting_worker_spec.rb": 1.474895715713501,5501 "ee/spec/services/ee/todos/destroy/entity_leave_service_spec.rb": 1.4999756813049316,5502 "ee/spec/services/issues/export_csv_service_spec.rb": 1.286156177520752,5503 "ee/spec/services/protected_environments/destroy_service_spec.rb": 1.2383778095245361,5504 "ee/spec/helpers/ee/todos_helper_spec.rb": 1.2692739963531494,5505 "ee/spec/routing/project_routing_spec.rb": 6.3462769985198975,5506 "ee/spec/models/ee/personal_access_token_spec.rb": 1.379870891571045,5507 "ee/spec/services/projects/prometheus/alerts/notify_service_spec.rb": 1.2753477096557617,5508 "ee/spec/lib/gitlab/instrumentation/elasticsearch_transport_spec.rb": 1.0641570091247559,5509 "ee/spec/lib/banzai/filter/label_reference_filter_spec.rb": 1.140533685684204,5510 "ee/spec/lib/elastic/multi_version_instance_proxy_spec.rb": 1.2682478427886963,5511 "ee/spec/lib/gitlab/prometheus/queries/additional_metrics_deployment_query_spec.rb": 1.1571521759033203,5512 "ee/spec/serializers/clusters/deployment_entity_spec.rb": 1.0220005512237549,5513 "ee/spec/serializers/dependency_entity_spec.rb": 1.140676498413086,5514 "ee/spec/presenters/epic_issue_presenter_spec.rb": 1.0996818542480469,5515 "ee/spec/workers/ci/batch_reset_minutes_worker_spec.rb": 1.0117340087890625,5516 "ee/spec/models/label_note_spec.rb": 0.9814722537994385,5517 "ee/spec/services/dast_site_profiles/destroy_service_spec.rb": 1.106952428817749,5518 "ee/spec/services/epic_issues/update_service_spec.rb": 1.1263148784637451,5519 "ee/spec/services/ee/quick_actions/target_service_spec.rb": 1.044328212738037,5520 "ee/spec/lib/gitlab/com_spec.rb": 0.9648439884185791,5521 "ee/spec/finders/ee/alert_management/alerts_finder_spec.rb": 0.8687608242034912,5522 "ee/spec/services/projects/hashed_storage/migrate_repository_service_spec.rb": 0.769798994064331,5523 "ee/spec/views/registrations/welcome/show.html.haml_spec.rb": 0.9565761089324951,5524 "ee/spec/services/security/report_fetch_service_spec.rb": 0.956265926361084,5525 "ee/spec/policies/vulnerabilities/issue_link_policy_spec.rb": 0.8978021144866943,5526 "ee/spec/services/ee/event_create_service_spec.rb": 0.6939828395843506,5527 "ee/spec/helpers/ee/subscribable_banner_helper_spec.rb": 0.7154364585876465,5528 "ee/spec/services/ee/merge_requests/reset_approvals_service_spec.rb": 0.8608608245849609,5529 "ee/spec/services/ee/namespace_settings/update_service_spec.rb": 0.9444184303283691,5530 "ee/spec/lib/gitlab/ci/pipeline/chain/limit/activity_spec.rb": 0.7809584140777588,5531 "ee/spec/serializers/ee/evidences/release_entity_spec.rb": 0.7473690509796143,5532 "ee/spec/lib/gitlab/contribution_analytics/data_collector_spec.rb": 0.7313079833984375,5533 "ee/spec/finders/template_finder_spec.rb": 0.6917510032653809,5534 "ee/spec/serializers/ee/issue_sidebar_extras_entity_spec.rb": 0.5454785823822021,5535 "ee/spec/presenters/vulnerabilities/finding_presenter_spec.rb": 0.6219754219055176,5536 "ee/spec/services/ee/merge_requests/post_merge_service_spec.rb": 0.6935875415802002,5537 "ee/spec/serializers/vulnerabilities/request_entity_spec.rb": 0.6089563369750977,5538 "ee/spec/views/admin/application_settings/general.html.haml_spec.rb": 0.6224987506866455,5539 "ee/spec/lib/gitlab/ci/parsers/security/common_spec.rb": 0.5568492412567139,5540 "ee/spec/presenters/group_member_presenter_spec.rb": 0.586679220199585,5541 "ee/spec/helpers/path_locks_helper_spec.rb": 0.6698729991912842,5542 "ee/spec/services/branches/delete_service_spec.rb": 0.6031873226165771,5543 "ee/spec/graphql/resolvers/ci/code_coverage_summary_resolver_spec.rb": 0.5280814170837402,5544 "ee/spec/models/allowed_email_domain_spec.rb": 0.4983837604522705,5545 "ee/spec/lib/ee/gitlab/auth/ldap/sync/admin_users_spec.rb": 0.49702930450439453,5546 "ee/spec/serializers/dashboard_environments_project_entity_spec.rb": 0.48706912994384766,5547 "ee/spec/services/alert_management/extract_alert_payload_fields_service_spec.rb": 0.4451134204864502,5548 "ee/spec/finders/autocomplete/project_invited_groups_finder_spec.rb": 0.4069368839263916,5549 "ee/spec/services/namespaces/check_storage_size_service_spec.rb": 0.444732666015625,5550 "ee/spec/services/incident_management/oncall_rotations/create_service_spec.rb": 0.40878748893737793,5551 "ee/spec/services/projects/open_issues_count_service_spec.rb": 0.34868526458740234,5552 "ee/spec/workers/requirements_management/import_requirements_csv_worker_spec.rb": 0.44015955924987793,5553 "ee/spec/lib/ee/gitlab/middleware/read_only_spec.rb": 0.5010228157043457,5554 "ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb": 0.542421817779541,5555 "ee/spec/serializers/evidences/evidence_entity_spec.rb": 0.4392049312591553,5556 "ee/spec/workers/sync_seat_link_worker_spec.rb": 0.3294486999511719,5557 "ee/spec/lib/gitlab/user_access_spec.rb": 0.40879201889038086,5558 "ee/spec/lib/ee/gitlab/url_builder_spec.rb": 0.35922670364379883,5559 "ee/spec/views/admin/users/index.html.haml_spec.rb": 0.31583666801452637,5560 "ee/spec/serializers/dependency_list_serializer_spec.rb": 0.39193177223205566,5561 "ee/spec/lib/gitlab/auth/group_saml/membership_enforcer_spec.rb": 0.27598142623901367,5562 "ee/spec/services/elastic/index_projects_service_spec.rb": 0.30098748207092285,5563 "ee/spec/lib/gitlab/audit/auditor_spec.rb": 0.35414862632751465,5564 "ee/spec/serializers/vulnerability_entity_spec.rb": 0.3020176887512207,5565 "ee/spec/services/security/store_findings_metadata_service_spec.rb": 0.26636552810668945,5566 "ee/spec/services/analytics/cycle_analytics/stages/list_service_spec.rb": 0.31021642684936523,5567 "ee/spec/graphql/resolvers/boards/epic_lists_resolvers_spec.rb": 0.2768533229827881,5568 "ee/spec/models/analytics/devops_adoption/segment_spec.rb": 0.26600217819213867,5569 "ee/spec/views/shared/issuable/_health_status_dropdown.html.haml_spec.rb": 0.2810525894165039,5570 "ee/spec/graphql/resolvers/boards/epic_boards_resolvers_spec.rb": 0.29272985458374023,5571 "ee/spec/serializers/board_serializer_spec.rb": 0.2909693717956543,5572 "ee/spec/models/vulnerabilities/projects_grade_spec.rb": 0.30468058586120605,5573 "ee/spec/views/layouts/header/_new_dropdown.haml_spec.rb": 0.3004295825958252,5574 "ee/spec/workers/import_software_licenses_worker_spec.rb": 0.2479698657989502,5575 "ee/spec/lib/gitlab/object_hierarchy_spec.rb": 0.25260114669799805,5576 "ee/spec/models/historical_data_spec.rb": 0.24733829498291016,5577 "ee/spec/models/ee/label_spec.rb": 0.2522761821746826,5578 "ee/spec/helpers/projects/on_demand_scans_helper_spec.rb": 1.1243205070495605,5579 "ee/spec/views/admin/licenses/show.html.haml_spec.rb": 0.2052443027496338,5580 "ee/spec/views/profiles/preferences/show.html.haml_spec.rb": 0.15165066719055176,5581 "ee/spec/serializers/integrations/jira/issue_detail_entity_spec.rb": 0.19277310371398926,5582 "ee/spec/views/projects/security/sast_configuration/show.html.haml_spec.rb": 0.2182786464691162,5583 "ee/spec/helpers/ee/clusters_helper_spec.rb": 0.0731210708618164,5584 "ee/spec/graphql/mutations/boards/epic_lists/create_spec.rb": 0.16995620727539062,5585 "ee/spec/helpers/trial_status_widget_helper_spec.rb": 0.15607738494873047,5586 "ee/spec/serializers/ee/issue_board_entity_spec.rb": 0.1606285572052002,5587 "ee/spec/lib/ee/gitlab/scim/params_parser_spec.rb": 0.07695388793945312,5588 "ee/spec/helpers/epics_helper_spec.rb": 0.14780187606811523,5589 "ee/spec/models/scim_oauth_access_token_spec.rb": 0.13586139678955078,5590 "ee/spec/graphql/resolvers/user_discussions_count_resolver_spec.rb": 0.16555261611938477,5591 "ee/spec/lib/elastic/latest/custom_language_analyzers_spec.rb": 0.13265275955200195,5592 "ee/spec/helpers/ee/blob_helper_spec.rb": 0.1725156307220459,5593 "ee/spec/graphql/mutations/compliance_management/frameworks/update_spec.rb": 0.1456456184387207,5594 "ee/spec/serializers/scim_oauth_access_token_entity_spec.rb": 0.11803102493286133,5595 "ee/spec/models/ee/resource_state_event_spec.rb": 0.12445950508117676,5596 "ee/spec/lib/gitlab/auth/smartcard/session_spec.rb": 0.12177562713623047,5597 "ee/spec/lib/ee/gitlab/usage_data_counters/hll_redis_counter_spec.rb": 0.12857651710510254,5598 "ee/spec/lib/gitlab/sitemaps/generator_spec.rb": 0.12076640129089355,5599 "ee/spec/models/ee/system_note_metadata_spec.rb": 0.09868049621582031,5600 "ee/spec/views/projects/protected_environments/_protected_environment.html.haml_spec.rb": 0.10294318199157715,5601 "ee/spec/lib/ee/bulk_imports/groups/graphql/get_epic_events_query_spec.rb": 0.1104428768157959,5602 "ee/spec/services/security/scanned_resources_counting_service_spec.rb": 0.11113762855529785,5603 "ee/spec/models/security/api_fuzzing/ci_configuration_spec.rb": 0.09116554260253906,5604 "ee/spec/lib/ee/gitlab/ci/config/entry/bridge_spec.rb": 0.11087656021118164,5605 "ee/spec/services/ee/boards/lists/max_limits_spec.rb": 0.10285449028015137,5606 "ee/spec/views/trials/new.html.haml_spec.rb": 0.10358262062072754,5607 "ee/spec/models/slack_integration_spec.rb": 0.09661626815795898,5608 "ee/spec/services/security/security_orchestration_policies/on_demand_scan_pipeline_configuration_service_spec.rb": 0.08009171485900879,5609 "ee/spec/serializers/integrations/jira/issue_entity_spec.rb": 0.07740902900695801,5610 "ee/spec/lib/gitlab/database/load_balancing/service_discovery_spec.rb": 0.0686345100402832,5611 "ee/spec/lib/ee/gitlab/git_access_snippet_spec.rb": 0.06400156021118164,5612 "ee/spec/models/dast/branch_spec.rb": 0.05901598930358887,5613 "ee/spec/finders/analytics/cycle_analytics/stage_finder_spec.rb": 0.047649383544921875,5614 "ee/spec/lib/gitlab/ci/config/entry/vault/secret_spec.rb": 0.06433391571044922,5615 "ee/spec/models/vulnerability_user_mention_spec.rb": 0.028150558471679688,5616 "ee/spec/helpers/audit_events_helper_spec.rb": 0.045043230056762695,5617 "ee/spec/graphql/types/dast/profile_type_spec.rb": 0.046030521392822266,5618 "ee/spec/services/keys/last_used_service_spec.rb": 0.05364108085632324,5619 "ee/spec/graphql/ee/types/namespace_type_spec.rb": 0.05759406089782715,5620 "ee/spec/lib/ee/gitlab/web_ide/config/entry/global_spec.rb": 0.048131465911865234,5621 "ee/spec/lib/ee/api/entities/scim/emails_spec.rb": 0.04629945755004883,5622 "ee/spec/helpers/ee/projects/security/api_fuzzing_configuration_helper_spec.rb": 0.03159332275390625,5623 "ee/spec/models/vulnerabilities/finding_remediation_spec.rb": 0.03827977180480957,5624 "ee/spec/lib/gitlab/database/load_balancing/session_spec.rb": 0.03729104995727539,5625 "ee/spec/lib/gitlab/cidr_spec.rb": 0.03609299659729004,5626 "ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_label_removed_spec.rb": 0.03272533416748047,5627 "ee/spec/helpers/roadmaps_helper_spec.rb": 0.036092519760131836,5628 "ee/spec/helpers/security_helper_spec.rb": 0.03098773956298828,5629 "ee/spec/lib/gitlab/ci/reports/security/scanner_spec.rb": 0.03143811225891113,5630 "ee/spec/graphql/resolvers/instance_security_dashboard/projects_resolver_spec.rb": 0.03223729133605957,5631 "ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_first_associated_with_milestone_spec.rb": 0.023801088333129883,5632 "ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_first_commit_at_spec.rb": 0.02178955078125,5633 "ee/spec/graphql/resolvers/admin/analytics/devops_adoption/segments_resolver_spec.rb": 0.027281761169433594,5634 "ee/spec/lib/gitlab/graphql/aggregations/issues/lazy_block_aggregate_spec.rb": 0.017735958099365234,5635 "ee/spec/lib/gitlab/graphql/aggregations/vulnerability_statistics/lazy_aggregate_spec.rb": 0.017090797424316406,5636 "ee/spec/models/concerns/scim_paginatable_spec.rb": 0.01710033416748047,5637 "ee/spec/finders/projects/integrations/jira/by_ids_finder_spec.rb": 0.02561640739440918,5638 "ee/spec/lib/gitlab/return_to_location_spec.rb": 0.017690658569335938,5639 "ee/spec/presenters/ee/issue_presenter_spec.rb": 0.01804828643798828,5640 "ee/spec/lib/gitlab/middleware/ip_restrictor_spec.rb": 0.021465301513671875,5641 "ee/spec/lib/gitlab/gl_repository_spec.rb": 0.0180814266204834,5642 "ee/spec/serializers/test_reports_comparer_entity_spec.rb": 0.019152164459228516,5643 "ee/spec/lib/omni_auth/strategies/kerberos_spnego_spec.rb": 0.01892828941345215,5644 "ee/spec/views/operations/index.html.haml_spec.rb": 0.013578176498413086,5645 "ee/spec/helpers/notes_helper_spec.rb": 0.013828277587890625,5646 "ee/spec/lib/gitlab/usage_counters/pod_logs_spec.rb": 0.01639699935913086,5647 "ee/spec/services/personal_access_tokens/groups/update_lifetime_service_spec.rb": 0.011530637741088867,5648 "ee/spec/graphql/types/iteration_type_spec.rb": 0.016186952590942383,5649 "ee/spec/workers/incident_management/incident_sla_exceeded_check_worker_spec.rb": 0.013068199157714844,5650 "ee/spec/models/user_detail_spec.rb": 0.008169174194335938,5651 "ee/spec/lib/gitlab/items_collection_spec.rb": 0.011005401611328125,5652 "ee/spec/lib/gitlab/vulnerabilities/parser_spec.rb": 0.011520862579345703,5653 "ee/spec/models/concerns/elastic/projects_search_spec.rb": 0.010694742202758789,5654 "ee/spec/lib/gitlab/ci/reports/security/link_spec.rb": 0.008198738098144531,5655 "ee/spec/models/ci/minutes/context_spec.rb": 0.009103059768676758,5656 "ee/spec/graphql/types/boards/epic_list_type_spec.rb": 0.008448600769042969,5657 "ee/spec/models/storage_shard_spec.rb": 0.007639884948730469,5658 "ee/spec/graphql/types/ci/code_coverage_activity_type_spec.rb": 0.008790016174316406,5659 "ee/spec/helpers/ee/sorting_helper_spec.rb": 0.009935140609741211,5660 "ee/spec/graphql/types/vulnerability/external_issue_link_type_enum_spec.rb": 0.00482487678527832,5661 "ee/spec/lib/gitlab/insights/serializers/chartjs/line_serializer_spec.rb": 0.00572514533996582,5662 "ee/spec/lib/gitlab/status_page/filter/mention_anonymization_filter_spec.rb": 0.006293296813964844,5663 "ee/spec/graphql/types/vulnerable_package_type_spec.rb": 0.00479888916015625,5664 "ee/spec/graphql/ee/types/board_list_type_spec.rb": 0.004453420639038086,5665 "ee/spec/lib/gitlab/graphql/pagination/keyset/order_info_spec.rb": 0.006007671356201172,5666 "ee/spec/graphql/types/vulnerability_identifier_type_spec.rb": 0.005322933197021484,5667 "ee/spec/lib/gitlab/import_sources_spec.rb": 0.005399227142333984,5668 "ee/spec/graphql/types/vulnerability_location/sast_type_spec.rb": 0.005133867263793945,5669 "ee/spec/graphql/types/vulnerability_details/file_location_type_spec.rb": 0.004837512969970703,5670 "ee/spec/lib/ee/api/entities/experiment_spec.rb": 0.005997180938720703,5671 "ee/spec/graphql/types/vulnerability/external_issue_link_external_tracker_enum_spec.rb": 0.00457000732421875,5672 "ee/spec/services/ee/auto_merge_service_spec.rb": 0.0043196678161621095673}5674Knapsack global time execution for tests: 12m 09s5675Pending: (Failures listed here are expected and do not affect your suite's status)5676 1) Types::VulnerabilityType has_solutions N+1 queries avoids N+1 database queries5678 Failure/Error: expect { GitlabSchema.execute(query, context: { current_user: user }) }.not_to exceed_query_limit(control_count)5679 Expected a maximum of 8 queries, got 15:5680 SELECT MAX("project_authorizations"."access_level") AS maximum_access_level, "project_authorizations"."user_id" AS project_authorizations_user_id FROM "project_authorizations" WHERE "project_authorizations"."project_id" = 1460 AND "project_authorizations"."user_id" = 2558 GROUP BY "project_authorizations"."user_id" /*application:test,correlation_id:b0913d19a1951a01d33d96ad340216c2*/5681 SELECT "vulnerabilities".* FROM "vulnerabilities" WHERE "vulnerabilities"."project_id" = 1460 ORDER BY "vulnerabilities"."severity" DESC, "vulnerabilities"."id" DESC LIMIT 100 /*application:test,correlation_id:b0913d19a1951a01d33d96ad340216c2*/5682 SELECT "vulnerability_occurrences".* FROM "vulnerability_occurrences" WHERE "vulnerability_occurrences"."vulnerability_id" IN (78, 77, 76) /*application:test,correlation_id:b0913d19a1951a01d33d96ad340216c2*/5683 SELECT "vulnerability_scanners".* FROM "vulnerability_scanners" WHERE "vulnerability_scanners"."id" IN (153, 154) /*application:test,correlation_id:b0913d19a1951a01d33d96ad340216c2*/5684 SELECT "vulnerability_occurrence_identifiers".* FROM "vulnerability_occurrence_identifiers" WHERE "vulnerability_occurrence_identifiers"."occurrence_id" IN (87, 88) /*application:test,correlation_id:b0913d19a1951a01d33d96ad340216c2*/5685 SELECT "vulnerability_identifiers".* FROM "vulnerability_identifiers" WHERE "vulnerability_identifiers"."id" IN (155, 157) /*application:test,correlation_id:b0913d19a1951a01d33d96ad340216c2*/5686 SELECT "vulnerability_issue_links".* FROM "vulnerability_issue_links" WHERE "vulnerability_issue_links"."link_type" = 2 AND "vulnerability_issue_links"."vulnerability_id" IN (78, 77, 76) /*application:test,correlation_id:b0913d19a1951a01d33d96ad340216c2*/5687 SELECT MAX("project_authorizations"."access_level") AS maximum_access_level, "project_authorizations"."user_id" AS project_authorizations_user_id FROM "project_authorizations" WHERE "project_authorizations"."project_id" = 1460 AND "project_authorizations"."user_id" = 2558 GROUP BY "project_authorizations"."user_id" /*application:test,correlation_id:b0913d19a1951a01d33d96ad340216c2*/5688 SELECT MAX("project_authorizations"."access_level") AS maximum_access_level, "project_authorizations"."user_id" AS project_authorizations_user_id FROM "project_authorizations" WHERE "project_authorizations"."project_id" = 1460 AND "project_authorizations"."user_id" = 2558 GROUP BY "project_authorizations"."user_id" /*application:test,correlation_id:b0913d19a1951a01d33d96ad340216c2*/5689 SELECT MAX("project_authorizations"."access_level") AS maximum_access_level, "project_authorizations"."user_id" AS project_authorizations_user_id FROM "project_authorizations" WHERE "project_authorizations"."project_id" = 1460 AND "project_authorizations"."user_id" = 2558 GROUP BY "project_authorizations"."user_id" /*application:test,correlation_id:b0913d19a1951a01d33d96ad340216c2*/5690 SELECT MAX("project_authorizations"."access_level") AS maximum_access_level, "project_authorizations"."user_id" AS project_authorizations_user_id FROM "project_authorizations" WHERE "project_authorizations"."project_id" = 1460 AND "project_authorizations"."user_id" = 2558 GROUP BY "project_authorizations"."user_id" /*application:test,correlation_id:b0913d19a1951a01d33d96ad340216c2*/5691 SELECT MAX("project_authorizations"."access_level") AS maximum_access_level, "project_authorizations"."user_id" AS project_authorizations_user_id FROM "project_authorizations" WHERE "project_authorizations"."project_id" = 1460 AND "project_authorizations"."user_id" = 2558 GROUP BY "project_authorizations"."user_id" /*application:test,correlation_id:b0913d19a1951a01d33d96ad340216c2*/5692 SELECT MAX("project_authorizations"."access_level") AS maximum_access_level, "project_authorizations"."user_id" AS project_authorizations_user_id FROM "project_authorizations" WHERE "project_authorizations"."project_id" = 1460 AND "project_authorizations"."user_id" = 2558 GROUP BY "project_authorizations"."user_id" /*application:test,correlation_id:b0913d19a1951a01d33d96ad340216c2*/5693 SELECT "vulnerability_remediations".* FROM "vulnerability_remediations" INNER JOIN "vulnerability_findings_remediations" ON "vulnerability_remediations"."id" = "vulnerability_findings_remediations"."vulnerability_remediation_id" WHERE "vulnerability_findings_remediations"."vulnerability_occurrence_id" = 88 /*application:test,correlation_id:b0913d19a1951a01d33d96ad340216c2*/5694 SELECT "vulnerability_remediations".* FROM "vulnerability_remediations" INNER JOIN "vulnerability_findings_remediations" ON "vulnerability_remediations"."id" = "vulnerability_findings_remediations"."vulnerability_remediation_id" WHERE "vulnerability_findings_remediations"."vulnerability_occurrence_id" = 87 /*application:test,correlation_id:b0913d19a1951a01d33d96ad340216c2*/5695 # ./ee/spec/graphql/types/vulnerability_type_spec.rb:101:in `block (4 levels) in <top (required)>'5696 # ./spec/spec_helper.rb:323:in `block (3 levels) in <top (required)>'5697 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'5698 # ./spec/spec_helper.rb:314:in `block (2 levels) in <top (required)>'5699 # ./spec/spec_helper.rb:310:in `block (3 levels) in <top (required)>'5700 # ./spec/spec_helper.rb:310:in `block (2 levels) in <top (required)>'5701Finished in 17 minutes 21 seconds (files took 53.81 seconds to load)57022221 examples, 0 failures, 1 pending5703Wed 03 Mar 2021 12:21:15 PM UTC5705Not uploading cache rails-v4-3 due to policy5707Uploading artifacts...5708coverage/: found 5 matching files and directories 5709WARNING: crystalball/: no matching files 5710deprecations/: found 14 matching files and directories 5711knapsack/: found 3 matching files and directories 5712rspec_flaky/: found 4 matching files and directories 5713rspec_profiling/: found 1 matching files and directories 5714WARNING: tmp/capybara/: no matching files 5715tmp/memory_test/: found 2 matching files and directories 5716tmp/feature_flags/: found 235 matching files and directories 5717log/*.log: found 17 matching files and directories 5718Uploading artifacts as "archive" to coordinator... ok id=1069712363 responseStatus=201 Created token=yKfbHycX5719Uploading artifacts...5720junit_rspec.xml: found 1 matching files and directories 5721Uploading artifacts as "junit" to coordinator... ok id=1069712363 responseStatus=201 Created token=yKfbHycX5723Job succeeded