rspec-ee unit pg12 8/14
Passed Started
by
@sselhorn

Suzanne Selhorn
1Running with gitlab-runner 14.6.0~beta.71.gf035ecbf (f035ecbf)2 on blue-3.shared-gitlab-org.runners-manager.gitlab.com/default sUrYYgEG3 feature flags: FF_USE_FASTZIP:true6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36 ...7Starting service postgres:12 ...8Pulling docker image postgres:12 ...9Using docker image sha256:f1a5e4852a8c335ef0f1a3aae30c39c8484660d5aa7dfd5bb8756ee473575da5 for postgres:12 with digest postgres@sha256:0854202db0b3378c46909bab43a85b01dc1b92cc44520480e47dd4fbc22714ee ...10Starting service redis:5.0-alpine ...11Pulling docker image redis:5.0-alpine ...12Using docker image sha256:1746b159f8934fe63cae3984643ee8c5651bcfc80ae107032a60f2871a0e7cdb for redis:5.0-alpine with digest redis@sha256:a04b57e05b784a406bc818f6b450233328c4115a1e1f104d84ce916eb1583925 ...13Starting service elasticsearch:7.14.2 ...14Pulling docker image elasticsearch:7.14.2 ...15Using docker image sha256:2abd5342ace0faddbf87836d7d1fbb201dada20a6ca09a3dbf3cb6f4637f45fb for elasticsearch:7.14.2 with digest elasticsearch@sha256:f05ab7f4d2aa5040813a0ea4eb76fa99bb31459937a4539efe2f2c2dbb2109fb ...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.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36 ...19Using docker image sha256:5b9920187fd97abe77ba8b8a3c8029b970dbace758fd2dc8756c2976a4bff96d for registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:4ab23b0728c6791b71363fe9413ab1d284f8d163988ebd8823dfb84f31aafe00 ...21Running on runner-suryygeg-project-278964-concurrent-0 via runner-suryygeg-shared-gitlab-org-1640008701-13e767a1...23$ eval "$CI_PRE_CLONE_SCRIPT"24Fetching changes with git depth set to 20...25Initialized empty Git repository in /builds/gitlab-org/gitlab/.git/26Created fresh repository.27remote: Enumerating objects: 121839, done. 28remote: Counting objects: 100% (121839/121839), done. 29remote: Compressing objects: 100% (83159/83159), done. 30remote: Total 121839 (delta 53730), reused 83033 (delta 34037), pack-reused 0 31Receiving objects: 100% (121839/121839), 116.76 MiB | 20.40 MiB/s, done.32Resolving deltas: 100% (53730/53730), done.34 * [new ref] a97668e1c6ce02835ce25d669c0aef89f6c2c400 -> refs/pipelines/43345824235Checking out a97668e1 as refs/merge-requests/76253/merge...36Skipping Git submodules setup38Checking cache for ruby-gems-v1-9...39Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/ruby-gems-v1-9 40Successfully extracted cache41Checking cache for gitaly-ruby-gems-v1-9...42Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/gitaly-ruby-gems-v1-9 43Successfully extracted cache45Downloading artifacts for compile-test-assets (1904366238)...46Downloading artifacts from coordinator... ok id=1904366238 responseStatus=200 OK token=-yEmsZHS47Downloading artifacts for detect-tests (1904366266)...48Downloading artifacts from coordinator... ok id=1904366266 responseStatus=200 OK token=9stx6yy249Downloading artifacts for retrieve-tests-metadata (1904366282)...50Downloading artifacts from coordinator... ok id=1904366282 responseStatus=200 OK token=M7L1Bvz251Downloading artifacts for setup-test-env (1904366255)...52Downloading artifacts from coordinator... ok id=1904366255 responseStatus=200 OK token=wN13kysJ54Using docker image sha256:5b9920187fd97abe77ba8b8a3c8029b970dbace758fd2dc8756c2976a4bff96d for registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:4ab23b0728c6791b71363fe9413ab1d284f8d163988ebd8823dfb84f31aafe00 ...55$ echo $FOSS_ONLY56$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb57$ export GOPATH=$CI_PROJECT_DIR/.go58$ mkdir -p $GOPATH59$ source scripts/utils.sh60$ source scripts/prepare_build.sh61Bundler version 2.1.462production:development63Settings are listed in order of priority. The top value will be used.64path65Set for the current user (/root/.bundle/config): "/builds/gitlab-org/gitlab/vendor"66clean67Set for the current user (/root/.bundle/config): "true"68without69Set via BUNDLE_WITHOUT: [:production, :development]70install_flags71Set via BUNDLE_INSTALL_FLAGS: "--jobs=$(nproc) --retry=3 --quiet"72$ bundle install --jobs=$(nproc) --retry=3 --quiet && bundle check73The Gemfile's dependencies are satisfied74==> 'bundle install --jobs=$(nproc) --retry=3 --quiet && bundle check' succeeded in 2 seconds.75$ bundle pristine pg76Installing pg 1.2.3 with native extensions77==> 'bundle pristine pg' succeeded in 10 seconds.78$ setup_db_user_only79CREATE ROLE80GRANT81==> 'setup_db_user_only' succeeded in 0 seconds.82$ bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee83Dropped database 'gitlabhq_test'84Dropped database 'gitlabhq_geo_test'85Created database 'gitlabhq_test'86Created database 'gitlabhq_geo_test'87DEPRECATION WARNING: Using `bin/rails db:structure:load` is deprecated and will be removed in Rails 6.2. Configure the format using `config.active_record.schema_format = :sql` to use `structure.sql` and run `bin/rails db:schema:load` instead. (called from load at /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/bin/rake:23)88Dropped database 'gitlabhq_geo_test'89Created database 'gitlabhq_geo_test'90==> 'bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee' succeeded in 29 seconds.91$ run_timed_command "gem install knapsack --no-document"92$ gem install knapsack --no-document93Successfully installed knapsack-4.0.0941 gem installed95==> 'gem install knapsack --no-document' succeeded in 1 seconds.96$ run_timed_command "scripts/gitaly-test-spawn"97$ scripts/gitaly-test-spawn98Don't run Bundler as root. Bundler can ask for sudo if it is needed, and99installing your bundle as root will break this application for all non-root100users on this machine.101Using abstract_type 0.0.7102Using concurrent-ruby 1.1.9103Using i18n 1.8.10104Using minitest 5.14.4105Using tzinfo 2.0.4106Using zeitwerk 2.4.2107Using activesupport 6.1.4.1108Using builder 3.2.4109Using erubi 1.10.0110Using mini_portile2 2.5.1111Using racc 1.5.2112Using nokogiri 1.11.7 (x86_64-linux)113Using rails-dom-testing 2.0.3114Using crass 1.0.6115Using loofah 2.12.0116Using rails-html-sanitizer 1.4.2117Using actionview 6.1.4.1118Using rack 2.2.3119Using rack-test 1.1.0120Using actionpack 6.1.4.1121Using ice_nine 0.11.2122Using thread_safe 0.3.6123Using memoizable 0.4.2124Using adamantium 0.2.0125Using public_suffix 4.0.6126Using addressable 2.7.0127Using ast 2.4.2128Using binding_ninja 0.2.3129Using bundler 2.1.4130Using charlock_holmes 0.7.7131Using coderay 1.1.2132Using equalizer 0.0.11133Using concord 0.1.5134Using diff-lcs 1.3135Using dotenv 2.7.6136Using escape_utils 1.2.1137Using factory_bot 5.0.2138Using multipart-post 2.1.1139Using faraday 1.0.1140Using ffi 1.15.3141Using json 2.5.1142Using gemojione 3.3.0143Using mini_mime 1.0.2144Using rugged 1.2.0145Using github-linguist 7.12.1146Using github-markup 1.7.0147Using mime-types-data 3.2020.1104148Using mime-types 3.3.1149Using gitlab-gollum-rugged_adapter 0.4.4.4.gitlab.1150Using rouge 3.26.0151Using nokogumbo 1.5.0152Using sanitize 4.6.6153Using stringex 2.8.5154Using gitlab-gollum-lib 4.2.7.10.gitlab.1155Using google-protobuf 3.17.3 (x86_64-linux)156Using googleapis-common-protos-types 1.1.0157Using grpc 1.30.2 (x86_64-linux)158Using opentracing 0.5.0159Using thrift 0.15.0160Using jaeger-client 1.1.0161Using pg_query 2.1.1162Using redis 4.4.0163Using gitlab-labkit 0.21.2164Using rubyzip 2.3.2165Using thor 1.1.0166Using tomlrb 2.0.1167Using with_env 1.1.0168Using rexml 3.2.4169Using xml-simple 1.1.9170Using gitlab-license_finder 6.14.2.1171Using gitlab-markup 1.7.1172Using grpc-tools 1.30.2173Using sawyer 0.8.2174Using octokit 4.20.0175Using reverse_markdown 1.4.0176Using licensee 9.14.1177Using method_source 0.9.2178Using msgpack 1.3.3179Using optimist 3.0.1180Using parallel 1.19.2181Using parser 3.0.3.2182Using procto 0.0.3183Using unparser 0.4.7184Using proc_to_ast 0.1.0185Using pry 0.12.2186Using rainbow 3.0.0187Using rbtrace 0.4.14188Using rdoc 6.3.2189Using regexp_parser 1.8.1190Using rspec-support 3.8.0191Using rspec-core 3.8.0192Using rspec-expectations 3.8.3193Using rspec-mocks 3.8.0194Using rspec 3.8.0195Using rspec-parameterized 0.4.2196Using rubocop-ast 0.2.0197Using ruby-progressbar 1.10.1198Using unicode-display_width 1.7.0199Using rubocop 0.86.0200Using sentry-raven 3.0.4201Using timecop 0.9.1202Bundle complete! 22 Gemfile dependencies, 101 gems now installed.203Gems in the groups production and development were not installed.204Bundled gems are installed into `/builds/gitlab-org/gitlab/vendor/gitaly-ruby`205Checking gitaly-ruby Gemfile...206Checking gitaly-ruby bundle...207The Gemfile's dependencies are satisfied208Trying to connect to gitaly: .............................................. OK209Trying to connect to gitaly2: ................................................................... OK210Trying to connect to praefect: ........ OK211==> 'scripts/gitaly-test-spawn' succeeded in 13 seconds.212$ source ./scripts/rspec_helpers.sh213$ rspec_paralellized_job "--tag ~quarantine --tag ~geo --tag ~level:migration"214KNAPSACK_TEST_FILE_PATTERN: {ee/}spec/{bin,channels,config,db,dependencies,elastic,elastic_integration,experiments,factories,finders,frontend,graphql,haml_lint,helpers,initializers,javascripts,lib,metrics_server,models,policies,presenters,rack_servers,replicators,routing,rubocop,scripts,serializers,services,sidekiq,sidekiq_cluster,spam,support_specs,tasks,uploaders,validators,views,workers,tooling}{,/**/}*_spec.rb215SKIP_FLAKY_TESTS_AUTOMATICALLY: true216Knapsack node specs:217ee/spec/lib/ee/gitlab/usage_data_spec.rb218ee/spec/services/ee/auth/container_registry_authentication_service_spec.rb219ee/spec/lib/gitlab/geo/log_cursor/daemon_spec.rb220ee/spec/tasks/gitlab/elastic_rake_spec.rb221ee/spec/models/approval_state_spec.rb222ee/spec/serializers/environment_entity_spec.rb223ee/spec/models/ci/build_spec.rb224ee/spec/models/ci/pipeline_spec.rb225ee/spec/services/epic_issues/create_service_spec.rb226ee/spec/lib/ee/gitlab/ci/templates/templates_spec.rb227ee/spec/models/merge_request/blocking_spec.rb228ee/spec/models/geo/pages_deployment_registry_spec.rb229ee/spec/services/approval_rules/create_service_spec.rb230ee/spec/lib/gitlab/analytics/cycle_analytics/summary/group/stage_summary_spec.rb231ee/spec/services/merge_requests/push_options_handler_service_spec.rb232ee/spec/elastic/migrate/20210910100000_redo_backfill_namespace_ancestry_ids_for_issues_spec.rb233ee/spec/services/ee/git/branch_push_service_spec.rb234ee/spec/models/note_spec.rb235ee/spec/models/ee/protected_branch_spec.rb236ee/spec/services/projects/group_links/create_service_spec.rb237ee/spec/workers/store_security_reports_worker_spec.rb238ee/spec/models/security/orchestration_policy_rule_schedule_spec.rb239ee/spec/services/ci/minutes/track_live_consumption_service_spec.rb240ee/spec/models/board_spec.rb241ee/spec/finders/issues_finder_spec.rb242ee/spec/services/app_sec/dast/profiles/update_service_spec.rb243ee/spec/services/system_notes/epics_service_spec.rb244ee/spec/finders/security/findings_finder_spec.rb245ee/spec/models/concerns/elastic/project_wiki_spec.rb246ee/spec/helpers/ee/namespaces_helper_spec.rb247ee/spec/presenters/merge_request_approver_presenter_spec.rb248ee/spec/lib/bulk_imports/groups/pipelines/epics_pipeline_spec.rb249ee/spec/services/vulnerabilities/manually_create_service_spec.rb250ee/spec/services/geo/repository_verification_reset_spec.rb251ee/spec/models/status_page/project_setting_spec.rb252ee/spec/services/iterations/create_service_spec.rb253ee/spec/services/ci/subscribe_bridge_service_spec.rb254ee/spec/lib/gitlab/ci/parsers/security/dependency_scanning_spec.rb255ee/spec/services/epics/transfer_service_spec.rb256ee/spec/models/incident_management/oncall_schedule_spec.rb257ee/spec/services/network_policies/resources_service_spec.rb258ee/spec/lib/gitlab/ci/templates/secure_binaries_ci_yaml_spec.rb259ee/spec/lib/gitlab/auth/smartcard/certificate_spec.rb260ee/spec/lib/gitlab/ci/parsers/security/container_scanning_spec.rb261ee/spec/policies/issuable_policy_spec.rb262ee/spec/models/dast/site_profile_secret_variable_spec.rb263ee/spec/lib/ee/gitlab/background_migration/recalculate_vulnerability_finding_signatures_for_findings_spec.rb264ee/spec/graphql/resolvers/board_groupings/epics_resolvers_spec.rb265ee/spec/lib/gitlab/auth/ldap/user_spec.rb266ee/spec/services/geo/blob_download_service_spec.rb267ee/spec/workers/adjourned_projects_deletion_cron_worker_spec.rb268ee/spec/lib/system_check/geo/authorized_keys_check_spec.rb269ee/spec/services/ee/members/invite_service_spec.rb270ee/spec/presenters/subscription_presenter_spec.rb271ee/spec/services/security/ingestion/tasks/ingest_vulnerability_statistics_spec.rb272ee/spec/lib/gitlab/geo/jwt_request_decoder_spec.rb273ee/spec/graphql/mutations/vulnerabilities/create_external_issue_link_spec.rb274ee/spec/presenters/audit_event_presenter_spec.rb275ee/spec/lib/gitlab/geo/log_cursor/events/repository_deleted_event_spec.rb276ee/spec/services/epic_issues/update_service_spec.rb277ee/spec/services/issues/export_csv_service_spec.rb278ee/spec/services/subscriptions/create_service_spec.rb279ee/spec/models/approval_wrapped_any_approver_rule_spec.rb280ee/spec/services/security/security_orchestration_policies/ci_configuration_service_spec.rb281ee/spec/models/ee/namespace_limit_spec.rb282ee/spec/models/release_highlight_spec.rb283ee/spec/workers/personal_access_tokens/instance/policy_worker_spec.rb284ee/spec/graphql/mutations/dast_site_profiles/create_spec.rb285ee/spec/helpers/ee/trial_registration_helper_spec.rb286ee/spec/services/ee/ci/job_artifacts/destroy_all_expired_service_spec.rb287ee/spec/services/group_saml/identity/destroy_service_spec.rb288ee/spec/lib/gitlab/audit/auditor_spec.rb289ee/spec/services/repositories/housekeeping_service_spec.rb290ee/spec/serializers/dependency_list_entity_spec.rb291ee/spec/finders/ee/alert_management/alerts_finder_spec.rb292ee/spec/finders/geo_node_finder_spec.rb293ee/spec/workers/ldap_group_sync_worker_spec.rb294ee/spec/lib/ee/api/helpers/notes_helpers_spec.rb295ee/spec/services/gitlab_subscriptions/plan_upgrade_service_spec.rb296ee/spec/graphql/resolvers/incident_management/oncall_rotations_resolver_spec.rb297ee/spec/views/shared/promotions/_promotion_link_project.html.haml_spec.rb298ee/spec/lib/gitlab/prometheus/queries/additional_metrics_environment_query_spec.rb299ee/spec/policies/compliance_management/framework_policy_spec.rb300ee/spec/lib/system_check/app/elasticsearch_check_spec.rb301ee/spec/services/ci/play_bridge_service_spec.rb302ee/spec/finders/incident_management/oncall_users_finder_spec.rb303ee/spec/models/incident_management/pending_escalations/issue_spec.rb304ee/spec/serializers/issuable_sidebar_extras_entity_spec.rb305ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_closed_spec.rb306ee/spec/views/shared/milestones/_milestone.html.haml_spec.rb307ee/spec/services/merge_trains/check_status_service_spec.rb308ee/spec/services/ee/ci/job_artifacts/destroy_batch_service_spec.rb309ee/spec/services/quality_management/test_cases/create_service_spec.rb310ee/spec/helpers/ee/operations_helper_spec.rb311ee/spec/models/ci/minutes/additional_pack_spec.rb312ee/spec/models/ip_restriction_spec.rb313ee/spec/lib/gitlab/geo/log_cursor/events/hashed_storage_migrated_event_spec.rb314ee/spec/helpers/license_helper_spec.rb315ee/spec/graphql/resolvers/geo/pipeline_artifact_registries_resolver_spec.rb316ee/spec/lib/ee/gitlab/ci/pipeline/quota/size_spec.rb317ee/spec/lib/ee/api/entities/geo_node_status_spec.rb318ee/spec/models/slack_integration_spec.rb319ee/spec/models/analytics/cycle_analytics/group_value_stream_spec.rb320ee/spec/views/shared/issuable/_health_status_dropdown.html.haml_spec.rb321ee/spec/graphql/resolvers/analytics/devops_adoption/enabled_namespaces_resolver_spec.rb322ee/spec/services/vulnerabilities/historical_statistics/update_service_spec.rb323ee/spec/lib/gitlab/geo/log_cursor/events/reset_checksum_event_spec.rb324ee/spec/services/ee/design_management/save_designs_service_spec.rb325ee/spec/services/security/orchestration/assign_service_spec.rb326ee/spec/graphql/mutations/boards/epic_lists/update_spec.rb327ee/spec/helpers/ee/ci/pipelines_helper_spec.rb328ee/spec/finders/analytics/devops_adoption/enabled_namespaces_finder_spec.rb329ee/spec/helpers/manual_renewal_banner_helper_spec.rb330ee/spec/models/elasticsearch_indexed_project_spec.rb331ee/spec/lib/sidebars/groups/menus/epics_menu_spec.rb332ee/spec/models/ee/release_spec.rb333ee/spec/serializers/license_entity_spec.rb334ee/spec/services/path_locks/lock_service_spec.rb335ee/spec/workers/incident_management/pending_escalations/schedule_check_cron_worker_spec.rb336ee/spec/lib/ee/gitlab/alert_management/payload_spec.rb337ee/spec/lib/gitlab/mirror_spec.rb338ee/spec/lib/ee/gitlab/prometheus/metric_group_spec.rb339ee/spec/graphql/mutations/requirements_management/export_requirements_spec.rb340ee/spec/presenters/ee/issue_presenter_spec.rb341ee/spec/services/vulnerabilities/historical_statistics/deletion_service_spec.rb342ee/spec/graphql/types/epic_descendant_count_type_spec.rb343ee/spec/graphql/types/dast/profile_branch_type_spec.rb344ee/spec/lib/ee/gitlab/ci/config/entry/needs_spec.rb345ee/spec/services/ee/git/wiki_push_service_spec.rb346ee/spec/serializers/audit_event_entity_spec.rb347ee/spec/services/ee/preview_markdown_service_spec.rb348ee/spec/lib/system_check/rake_task/geo_task_spec.rb349ee/spec/lib/banzai/filter/jira_private_image_link_filter_spec.rb350ee/spec/graphql/types/vulnerability_identifier_input_type_spec.rb351ee/spec/lib/gitlab/patch/legacy_database_config_spec.rb352ee/spec/workers/dora/daily_metrics/refresh_worker_spec.rb353ee/spec/models/board_assignee_spec.rb354ee/spec/lib/ee/gitlab/ci/pipeline/chain/validate/security_orchestration_policy_spec.rb355ee/spec/views/projects/security/corpus_management/show.html.haml_spec.rb356ee/spec/views/shared/_clone_panel.html.haml_spec.rb357ee/spec/services/gitlab_subscriptions/extend_reactivate_trial_service_spec.rb358ee/spec/workers/analytics/devops_adoption/create_all_snapshots_worker_spec.rb359ee/spec/helpers/manual_quarterly_co_term_banner_helper_spec.rb360ee/spec/services/licenses/destroy_service_spec.rb361ee/spec/policies/incident_management/oncall_rotation_policy_spec.rb362ee/spec/views/layouts/header/_new_dropdown.haml_spec.rb363ee/spec/lib/banzai/issuable_extractor_spec.rb364ee/spec/graphql/resolvers/admin/cloud_licenses/license_history_entries_resolver_spec.rb365ee/spec/lib/gitlab/audit/levels/project_spec.rb366ee/spec/workers/groups/update_statistics_worker_spec.rb367ee/spec/graphql/types/vulnerability_details/text_type_spec.rb368ee/spec/models/ee/analytics/usage_trends/measurement_spec.rb369ee/spec/lib/ee/sidebars/projects/menus/repository_menu_spec.rb370ee/spec/models/geo/cache_invalidation_event_spec.rb371ee/spec/helpers/incident_management/oncall_schedule_helper_spec.rb372ee/spec/lib/gitlab/code_owners/reference_extractor_spec.rb373ee/spec/graphql/types/vulnerability_location/coverage_fuzzing_type_spec.rb374ee/spec/models/protected_branch/unprotect_access_level_spec.rb375ee/spec/lib/ee/api/entities/scim/not_found_spec.rb376ee/spec/models/geo/upload_state_spec.rb377ee/spec/graphql/types/requirements_management/requirement_type_spec.rb378ee/spec/views/profiles/personal_access_tokens/_token_expiry_notification.html.haml_spec.rb379ee/spec/lib/ee/gitlab/snippet_search_results_spec.rb380ee/spec/graphql/types/vulnerability/issue_link_type_spec.rb381ee/spec/graphql/types/burnup_chart_daily_totals_type_spec.rb382ee/spec/lib/gitlab/gl_repository_spec.rb383ee/spec/graphql/types/vulnerable_dependency_type_spec.rb384ee/spec/helpers/nav/new_dropdown_helper_spec.rb385ee/spec/lib/gitlab/rack_attack_spec.rb386ee/spec/graphql/types/vulnerability_details/code_type_spec.rb387ee/spec/lib/gitlab/insights/serializers/chartjs/line_serializer_spec.rb388ee/spec/graphql/types/vulnerability_details/int_type_spec.rb389Filter specs:390Running specs:391Running all node tests without filter392ee/spec/lib/ee/gitlab/usage_data_spec.rb393ee/spec/services/ee/auth/container_registry_authentication_service_spec.rb394ee/spec/lib/gitlab/geo/log_cursor/daemon_spec.rb395ee/spec/tasks/gitlab/elastic_rake_spec.rb396ee/spec/models/approval_state_spec.rb397ee/spec/serializers/environment_entity_spec.rb398ee/spec/models/ci/build_spec.rb399ee/spec/models/ci/pipeline_spec.rb400ee/spec/services/epic_issues/create_service_spec.rb401ee/spec/lib/ee/gitlab/ci/templates/templates_spec.rb402ee/spec/models/merge_request/blocking_spec.rb403ee/spec/models/geo/pages_deployment_registry_spec.rb404ee/spec/services/approval_rules/create_service_spec.rb405ee/spec/lib/gitlab/analytics/cycle_analytics/summary/group/stage_summary_spec.rb406ee/spec/services/merge_requests/push_options_handler_service_spec.rb407ee/spec/elastic/migrate/20210910100000_redo_backfill_namespace_ancestry_ids_for_issues_spec.rb408ee/spec/services/ee/git/branch_push_service_spec.rb409ee/spec/models/note_spec.rb410ee/spec/models/ee/protected_branch_spec.rb411ee/spec/services/projects/group_links/create_service_spec.rb412ee/spec/workers/store_security_reports_worker_spec.rb413ee/spec/models/security/orchestration_policy_rule_schedule_spec.rb414ee/spec/services/ci/minutes/track_live_consumption_service_spec.rb415ee/spec/models/board_spec.rb416ee/spec/finders/issues_finder_spec.rb417ee/spec/services/app_sec/dast/profiles/update_service_spec.rb418ee/spec/services/system_notes/epics_service_spec.rb419ee/spec/finders/security/findings_finder_spec.rb420ee/spec/models/concerns/elastic/project_wiki_spec.rb421ee/spec/helpers/ee/namespaces_helper_spec.rb422ee/spec/presenters/merge_request_approver_presenter_spec.rb423ee/spec/lib/bulk_imports/groups/pipelines/epics_pipeline_spec.rb424ee/spec/services/vulnerabilities/manually_create_service_spec.rb425ee/spec/services/geo/repository_verification_reset_spec.rb426ee/spec/models/status_page/project_setting_spec.rb427ee/spec/services/iterations/create_service_spec.rb428ee/spec/services/ci/subscribe_bridge_service_spec.rb429ee/spec/lib/gitlab/ci/parsers/security/dependency_scanning_spec.rb430ee/spec/services/epics/transfer_service_spec.rb431ee/spec/models/incident_management/oncall_schedule_spec.rb432ee/spec/services/network_policies/resources_service_spec.rb433ee/spec/lib/gitlab/ci/templates/secure_binaries_ci_yaml_spec.rb434ee/spec/lib/gitlab/auth/smartcard/certificate_spec.rb435ee/spec/lib/gitlab/ci/parsers/security/container_scanning_spec.rb436ee/spec/policies/issuable_policy_spec.rb437ee/spec/models/dast/site_profile_secret_variable_spec.rb438ee/spec/lib/ee/gitlab/background_migration/recalculate_vulnerability_finding_signatures_for_findings_spec.rb439ee/spec/graphql/resolvers/board_groupings/epics_resolvers_spec.rb440ee/spec/lib/gitlab/auth/ldap/user_spec.rb441ee/spec/services/geo/blob_download_service_spec.rb442ee/spec/workers/adjourned_projects_deletion_cron_worker_spec.rb443ee/spec/lib/system_check/geo/authorized_keys_check_spec.rb444ee/spec/services/ee/members/invite_service_spec.rb445ee/spec/presenters/subscription_presenter_spec.rb446ee/spec/services/security/ingestion/tasks/ingest_vulnerability_statistics_spec.rb447ee/spec/lib/gitlab/geo/jwt_request_decoder_spec.rb448ee/spec/graphql/mutations/vulnerabilities/create_external_issue_link_spec.rb449ee/spec/presenters/audit_event_presenter_spec.rb450ee/spec/lib/gitlab/geo/log_cursor/events/repository_deleted_event_spec.rb451ee/spec/services/epic_issues/update_service_spec.rb452ee/spec/services/issues/export_csv_service_spec.rb453ee/spec/services/subscriptions/create_service_spec.rb454ee/spec/models/approval_wrapped_any_approver_rule_spec.rb455ee/spec/services/security/security_orchestration_policies/ci_configuration_service_spec.rb456ee/spec/models/ee/namespace_limit_spec.rb457ee/spec/models/release_highlight_spec.rb458ee/spec/workers/personal_access_tokens/instance/policy_worker_spec.rb459ee/spec/graphql/mutations/dast_site_profiles/create_spec.rb460ee/spec/helpers/ee/trial_registration_helper_spec.rb461ee/spec/services/ee/ci/job_artifacts/destroy_all_expired_service_spec.rb462ee/spec/services/group_saml/identity/destroy_service_spec.rb463ee/spec/lib/gitlab/audit/auditor_spec.rb464ee/spec/services/repositories/housekeeping_service_spec.rb465ee/spec/serializers/dependency_list_entity_spec.rb466ee/spec/finders/ee/alert_management/alerts_finder_spec.rb467ee/spec/finders/geo_node_finder_spec.rb468ee/spec/workers/ldap_group_sync_worker_spec.rb469ee/spec/lib/ee/api/helpers/notes_helpers_spec.rb470ee/spec/services/gitlab_subscriptions/plan_upgrade_service_spec.rb471ee/spec/graphql/resolvers/incident_management/oncall_rotations_resolver_spec.rb472ee/spec/views/shared/promotions/_promotion_link_project.html.haml_spec.rb473ee/spec/lib/gitlab/prometheus/queries/additional_metrics_environment_query_spec.rb474ee/spec/policies/compliance_management/framework_policy_spec.rb475ee/spec/lib/system_check/app/elasticsearch_check_spec.rb476ee/spec/services/ci/play_bridge_service_spec.rb477ee/spec/finders/incident_management/oncall_users_finder_spec.rb478ee/spec/models/incident_management/pending_escalations/issue_spec.rb479ee/spec/serializers/issuable_sidebar_extras_entity_spec.rb480ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_closed_spec.rb481ee/spec/views/shared/milestones/_milestone.html.haml_spec.rb482ee/spec/services/merge_trains/check_status_service_spec.rb483ee/spec/services/ee/ci/job_artifacts/destroy_batch_service_spec.rb484ee/spec/services/quality_management/test_cases/create_service_spec.rb485ee/spec/helpers/ee/operations_helper_spec.rb486ee/spec/models/ci/minutes/additional_pack_spec.rb487ee/spec/models/ip_restriction_spec.rb488ee/spec/lib/gitlab/geo/log_cursor/events/hashed_storage_migrated_event_spec.rb489ee/spec/helpers/license_helper_spec.rb490ee/spec/graphql/resolvers/geo/pipeline_artifact_registries_resolver_spec.rb491ee/spec/lib/ee/gitlab/ci/pipeline/quota/size_spec.rb492ee/spec/lib/ee/api/entities/geo_node_status_spec.rb493ee/spec/models/slack_integration_spec.rb494ee/spec/models/analytics/cycle_analytics/group_value_stream_spec.rb495ee/spec/views/shared/issuable/_health_status_dropdown.html.haml_spec.rb496ee/spec/graphql/resolvers/analytics/devops_adoption/enabled_namespaces_resolver_spec.rb497ee/spec/services/vulnerabilities/historical_statistics/update_service_spec.rb498ee/spec/lib/gitlab/geo/log_cursor/events/reset_checksum_event_spec.rb499ee/spec/services/ee/design_management/save_designs_service_spec.rbKnapsack report generator started!500Run options: exclude {:quarantine=>true, :geo=>true, :level=>"migration"}501==> /builds/gitlab-org/gitlab/tmp/tests/gitlab-test_bare set up in 0.056871715 seconds...502Test environment set up in 1.043775912 seconds503Gitlab::UsageData504 clears memoized values505 .data506/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH507/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here508 gathers usage data509/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH510/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here511 gathers usage counts512/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH513/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here514 gathers security products usage data515/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH516/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here517 gathers group overview preferences usage data518/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH519/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here520 includes a recording_ee_finished_at timestamp521 .features_usage_data_ee522 gathers feature usage data of EE523 .license_usage_data524 gathers license data525 .requirements_counts526 when requirements are disabled527 returns empty hash528 when requirements are enabled529 returns created requirements count530 merge requests merged using approval rules531 counts the approval rules for merged merge requests532 .operations_dashboard_usage533 gathers data on operations dashboard534 bases counts on active users535 usage_activity_by_stage_configure536 includes accurate usage_activity_by_stage data537 usage_activity_by_stage_create538 includes accurate usage_activity_by_stage data539 usage_data_by_stage_enablement540 returns empty hash if geo is not enabled541 geo enabled542 excludes data outside of the date range543 node status fields544 only includes active secondary nodes545 includes all resource status fields546 usage_activity_by_stage_manage547 includes accurate usage_activity_by_stage data548 usage_activity_by_stage_monitor549 includes accurate usage_activity_by_stage data550 usage_activity_by_stage_plan551 includes accurate usage_activity_by_stage data552 usage_activity_by_stage_release553 includes accurate usage_activity_by_stage data554 usage_activity_by_stage_secure555 includes accurate usage_activity_by_stage data556 counts pipelines that have security jobs557 counts unique users correctly across multiple scanners558 combines license_scanning into license_management559 when count fails560 with should_raise_for_dev? true561 raises an error562 with should_raise_for_dev? false563 has to resort to 0 for counting license scan564 usage_activity_by_stage_verify565 includes accurate usage_activity_by_stage data566Auth::ContainerRegistryAuthenticationService567 in maintenance mode568 allows developer to pull images569 behaves like a pullable570 behaves like an accessible571 has the correct scope572 behaves like a valid token573 is expected to include :token574 is expected to include "access"575 a expirable576 for default configuration577 is expected not to be within 2 of 2021-12-20 17:08:04.694425166 +0000578 for changed configuration579 is expected to be within 2 of 2021-12-20 17:08:04.882950040 +0000580 does not allow developer to push images581 behaves like not a container repository factory582 does not create a new container repository resource583 behaves like logs an auth warning584 is expected to receive warn({:authorized_actions=>[], :message=>"Write access denied in maintenance mode", :requested_actions=>["...e=>"repository", :user_id=>289, :username=>"user77", :write_access_denied_in_maintenance_mode=>true}) 1 time585 does not allow developer to delete images586 behaves like not a container repository factory587 does not create a new container repository resource588 behaves like logs an auth warning589 is expected to receive warn({:authorized_actions=>[], :message=>"Write access denied in maintenance mode", :requested_actions=>["...e=>"repository", :user_id=>289, :username=>"user77", :write_access_denied_in_maintenance_mode=>true}) 1 time590 when not in maintenance mode591 behaves like a container registry auth service592 #full_access_token593 behaves like an accessible594 has the correct scope595 behaves like a valid token596 is expected to include :token597 is expected to include "access"598 a expirable599 for default configuration600 is expected not to be within 2 of 2021-12-20 17:08:06.253321005 +0000601 for changed configuration602 is expected to be within 2 of 2021-12-20 17:08:06.327344479 +0000603 behaves like not a container repository factory604 does not create a new container repository resource605 #pull_access_token606 behaves like an accessible607 has the correct scope608 behaves like a valid token609 is expected to include :token610 is expected to include "access"611 a expirable612 for default configuration613 is expected not to be within 2 of 2021-12-20 17:08:06.869902534 +0000614 for changed configuration615 is expected to be within 2 of 2021-12-20 17:08:06.940093248 +0000616 behaves like not a container repository factory617 does not create a new container repository resource618 user authorization619 for registry catalog620 disallow browsing for users without GitLab admin rights621 behaves like an inaccessible622 is expected to include {"access" => []}623 behaves like a valid token624 is expected to include :token625 is expected to include "access"626 a expirable627 for default configuration628 is expected not to be within 2 of 2021-12-20 17:08:07.343935904 +0000629 for changed configuration630 is expected to be within 2 of 2021-12-20 17:08:07.418239638 +0000631 behaves like not a container repository factory632 does not create a new container repository resource633 for private project634 behaves like private project635 allow to use scope-less authentication636 behaves like a valid token637 is expected to include :token638 is expected to include "access"639 a expirable640 for default configuration641 is expected not to be within 2 of 2021-12-20 17:08:07.932617095 +0000642 for changed configuration643 is expected to be within 2 of 2021-12-20 17:08:08.024800697 +0000644 allow developer to push images645 behaves like a pushable646 behaves like an accessible647 has the correct scope648 behaves like a valid token649 is expected to include :token650 is expected to include "access"651 a expirable652 for default configuration653 is expected not to be within 2 of 2021-12-20 17:08:08.745626806 +0000654 for changed configuration655 is expected to be within 2 of 2021-12-20 17:08:08.909218273 +0000656 behaves like container repository factory657 creates a new container repository resource658 disallow developer to delete images659 behaves like an inaccessible660 is expected to include {"access" => []}661 behaves like a valid token662 is expected to include :token663 is expected to include "access"664 a expirable665 for default configuration666 is expected not to be within 2 of 2021-12-20 17:08:09.784141089 +0000667 for changed configuration668 is expected to be within 2 of 2021-12-20 17:08:09.936458196 +0000669 behaves like not a container repository factory670 does not create a new container repository resource671 behaves like logs an auth warning672 is expected to receive warn({:authorized_actions=>[], :message=>"Denied container registry permissions", :requested_actions=>["*"...ject_path=>"namespace201/project195", :scope_type=>"repository", :user_id=>293, :username=>"user78"}) 1 time673 disallow developer to delete images since registry 2.7674 behaves like an inaccessible675 is expected to include {"access" => []}676 behaves like a valid token677 is expected to include :token678 is expected to include "access"679 a expirable680 for default configuration681 is expected not to be within 2 of 2021-12-20 17:08:11.355744077 +0000682 for changed configuration683 is expected to be within 2 of 2021-12-20 17:08:11.459620319 +0000684 behaves like not a container repository factory685 does not create a new container repository resource686 allow reporter to pull images687 when pulling from root level repository688 behaves like a pullable689 behaves like an accessible690 has the correct scope691 behaves like a valid token692 is expected to include :token693 is expected to include "access"694 a expirable695 for default configuration696 is expected not to be within 2 of 2021-12-20 17:08:12.004892733 +0000697 for changed configuration698 is expected to be within 2 of 2021-12-20 17:08:12.110963914 +0000699 behaves like not a container repository factory700 does not create a new container repository resource701 disallow reporter to delete images702 behaves like an inaccessible703 is expected to include {"access" => []}704 behaves like a valid token705 is expected to include :token706 is expected to include "access"707 a expirable708 for default configuration709 is expected not to be within 2 of 2021-12-20 17:08:13.578412891 +0000710 for changed configuration711 is expected to be within 2 of 2021-12-20 17:08:13.685131822 +0000712 behaves like not a container repository factory713 does not create a new container repository resource714 disallow reporter to delete images since registry 2.7715 behaves like an inaccessible716 is expected to include {"access" => []}717 behaves like a valid token718 is expected to include :token719 is expected to include "access"720 a expirable721 for default configuration722 is expected not to be within 2 of 2021-12-20 17:08:14.286636562 +0000723 for changed configuration724 is expected to be within 2 of 2021-12-20 17:08:14.432908950 +0000725 behaves like not a container repository factory726 does not create a new container repository resource727 return a least of privileges728 behaves like a pullable729 behaves like an accessible730 has the correct scope731 behaves like a valid token732 is expected to include :token733 is expected to include "access"734 a expirable735 for default configuration736 is expected not to be within 2 of 2021-12-20 17:08:15.155988249 +0000737 for changed configuration738 is expected to be within 2 of 2021-12-20 17:08:15.275386759 +0000739 behaves like not a container repository factory740 does not create a new container repository resource741 disallow guest to pull or push images742 behaves like an inaccessible743 is expected to include {"access" => []}744 behaves like a valid token745 is expected to include :token746 is expected to include "access"747 a expirable748 for default configuration749 is expected not to be within 2 of 2021-12-20 17:08:16.102191750 +0000750 for changed configuration751 is expected to be within 2 of 2021-12-20 17:08:16.268637536 +0000752 behaves like not a container repository factory753 does not create a new container repository resource754 disallow guest to delete images755 behaves like an inaccessible756 is expected to include {"access" => []}757 behaves like a valid token758 is expected to include :token759 is expected to include "access"760 a expirable761 for default configuration762 is expected not to be within 2 of 2021-12-20 17:08:17.003651274 +0000763 for changed configuration764 is expected to be within 2 of 2021-12-20 17:08:17.105408875 +0000765 behaves like not a container repository factory766 does not create a new container repository resource767 disallow guest to delete images since registry 2.7768 behaves like an inaccessible769 is expected to include {"access" => []}770 behaves like a valid token771 is expected to include :token772 is expected to include "access"773 a expirable774 for default configuration775 is expected not to be within 2 of 2021-12-20 17:08:17.663171419 +0000776 for changed configuration777 is expected to be within 2 of 2021-12-20 17:08:17.762882670 +0000778 behaves like not a container repository factory779 does not create a new container repository resource780 for public project with private container registry781 behaves like private project782 allow to use scope-less authentication783 behaves like a valid token784 is expected to include :token785 is expected to include "access"786 a expirable787 for default configuration788 is expected not to be within 2 of 2021-12-20 17:08:18.238571720 +0000789 for changed configuration790 is expected to be within 2 of 2021-12-20 17:08:18.305379965 +0000791 allow developer to push images792 behaves like a pushable793 behaves like an accessible794 has the correct scope795 behaves like a valid token796 is expected to include :token797 is expected to include "access"798 a expirable799 for default configuration800 is expected not to be within 2 of 2021-12-20 17:08:18.862029688 +0000801 for changed configuration802 is expected to be within 2 of 2021-12-20 17:08:18.993416207 +0000803 behaves like container repository factory804 creates a new container repository resource805 disallow developer to delete images806 behaves like an inaccessible807 is expected to include {"access" => []}808 behaves like a valid token809 is expected to include :token810 is expected to include "access"811 a expirable812 for default configuration813 is expected not to be within 2 of 2021-12-20 17:08:19.637455943 +0000814 for changed configuration815 is expected to be within 2 of 2021-12-20 17:08:19.749811504 +0000816 behaves like not a container repository factory817 does not create a new container repository resource818 behaves like logs an auth warning819 is expected to receive warn({:authorized_actions=>[], :message=>"Denied container registry permissions", :requested_actions=>["*"...ject_path=>"namespace202/project196", :scope_type=>"repository", :user_id=>293, :username=>"user78"}) 1 time820 disallow developer to delete images since registry 2.7821 behaves like an inaccessible822 is expected to include {"access" => []}823 behaves like a valid token824 is expected to include :token825 is expected to include "access"826 a expirable827 for default configuration828 is expected not to be within 2 of 2021-12-20 17:08:20.538666467 +0000829 for changed configuration830 is expected to be within 2 of 2021-12-20 17:08:20.649485088 +0000831 behaves like not a container repository factory832 does not create a new container repository resource833 allow reporter to pull images834 when pulling from root level repository835 behaves like a pullable836 behaves like an accessible837 has the correct scope838 behaves like a valid token839 is expected to include :token840 is expected to include "access"841 a expirable842 for default configuration843 is expected not to be within 2 of 2021-12-20 17:08:21.289399934 +0000844 for changed configuration845 is expected to be within 2 of 2021-12-20 17:08:21.430949303 +0000846 behaves like not a container repository factory847 does not create a new container repository resource848 disallow reporter to delete images849 behaves like an inaccessible850 is expected to include {"access" => []}851 behaves like a valid token852 is expected to include :token853 is expected to include "access"854 a expirable855 for default configuration856 is expected not to be within 2 of 2021-12-20 17:08:22.442391358 +0000857 for changed configuration858 is expected to be within 2 of 2021-12-20 17:08:22.629977532 +0000859 behaves like not a container repository factory860 does not create a new container repository resource861 disallow reporter to delete images since registry 2.7862 behaves like an inaccessible863 is expected to include {"access" => []}864 behaves like a valid token865 is expected to include :token866 is expected to include "access"867 a expirable868 for default configuration869 is expected not to be within 2 of 2021-12-20 17:08:23.546659245 +0000870 for changed configuration871 is expected to be within 2 of 2021-12-20 17:08:23.736845709 +0000872 behaves like not a container repository factory873 does not create a new container repository resource874 return a least of privileges875 behaves like a pullable876 behaves like an accessible877 has the correct scope878 behaves like a valid token879 is expected to include :token880 is expected to include "access"881 a expirable882 for default configuration883 is expected not to be within 2 of 2021-12-20 17:08:25.512477460 +0000884 for changed configuration885 is expected to be within 2 of 2021-12-20 17:08:25.679855866 +0000886 behaves like not a container repository factory887 does not create a new container repository resource888 disallow guest to pull or push images889 behaves like an inaccessible890 is expected to include {"access" => []}891 behaves like a valid token892 is expected to include :token893 is expected to include "access"894 a expirable895 for default configuration896 is expected not to be within 2 of 2021-12-20 17:08:26.350951600 +0000897 for changed configuration898 is expected to be within 2 of 2021-12-20 17:08:26.456361201 +0000899 behaves like not a container repository factory900 does not create a new container repository resource901 disallow guest to delete images902 behaves like an inaccessible903 is expected to include {"access" => []}904 behaves like a valid token905 is expected to include :token906 is expected to include "access"907 a expirable908 for default configuration909 is expected not to be within 2 of 2021-12-20 17:08:27.011272724 +0000910 for changed configuration911 is expected to be within 2 of 2021-12-20 17:08:27.111243976 +0000912 behaves like not a container repository factory913 does not create a new container repository resource914 disallow guest to delete images since registry 2.7915 behaves like an inaccessible916 is expected to include {"access" => []}917 behaves like a valid token918 is expected to include :token919 is expected to include "access"920 a expirable921 for default configuration922 is expected not to be within 2 of 2021-12-20 17:08:28.542990076 +0000923 for changed configuration924 is expected to be within 2 of 2021-12-20 17:08:28.639117278 +0000925 behaves like not a container repository factory926 does not create a new container repository resource927 for public project with container_registry `enabled`928 allow anyone to pull images929 behaves like a pullable930 behaves like an accessible931 has the correct scope932 behaves like a valid token933 is expected to include :token934 is expected to include "access"935 a expirable936 for default configuration937 is expected not to be within 2 of 2021-12-20 17:08:29.250056647 +0000938 for changed configuration939 is expected to be within 2 of 2021-12-20 17:08:29.336569309 +0000940 behaves like not a container repository factory941 does not create a new container repository resource942 disallow anyone to push images943 behaves like an inaccessible944 is expected to include {"access" => []}945 behaves like a valid token946 is expected to include :token947 is expected to include "access"948 a expirable949 for default configuration950 is expected not to be within 2 of 2021-12-20 17:08:29.854651016 +0000951 for changed configuration952 is expected to be within 2 of 2021-12-20 17:08:30.024457372 +0000953 behaves like not a container repository factory954 does not create a new container repository resource955 disallow anyone to delete images956 behaves like an inaccessible957 is expected to include {"access" => []}958 behaves like a valid token959 is expected to include :token960 is expected to include "access"961 a expirable962 for default configuration963 is expected not to be within 2 of 2021-12-20 17:08:30.706151425 +0000964 for changed configuration965 is expected to be within 2 of 2021-12-20 17:08:30.847628013 +0000966 behaves like not a container repository factory967 does not create a new container repository resource968 disallow anyone to delete images since registry 2.7969 behaves like an inaccessible970 is expected to include {"access" => []}971 behaves like a valid token972 is expected to include :token973 is expected to include "access"974 a expirable975 for default configuration976 is expected not to be within 2 of 2021-12-20 17:08:31.529163086 +0000977 for changed configuration978 is expected to be within 2 of 2021-12-20 17:08:31.668198754 +0000979 behaves like not a container repository factory980 does not create a new container repository resource981 when repository name is invalid982 behaves like an inaccessible983 is expected to include {"access" => []}984 behaves like a valid token985 is expected to include :token986 is expected to include "access"987 a expirable988 for default configuration989 is expected not to be within 2 of 2021-12-20 17:08:32.133151525 +0000990 for changed configuration991 is expected to be within 2 of 2021-12-20 17:08:32.222727807 +0000992 behaves like not a container repository factory993 does not create a new container repository resource994 for internal project with container_registry `enabled`995 for internal user996 allow anyone to pull images997 behaves like a pullable998 behaves like an accessible999 has the correct scope1000 behaves like a valid token1001 is expected to include :token1002 is expected to include "access"1003 a expirable1004 for default configuration1005 is expected not to be within 2 of 2021-12-20 17:08:33.025137110 +00001006 for changed configuration1007 is expected to be within 2 of 2021-12-20 17:08:33.146990360 +00001008 behaves like not a container repository factory1009 does not create a new container repository resource1010 disallow anyone to push images1011 behaves like an inaccessible1012 is expected to include {"access" => []}1013 behaves like a valid token1014 is expected to include :token1015 is expected to include "access"1016 a expirable1017 for default configuration1018 is expected not to be within 2 of 2021-12-20 17:08:33.789799136 +00001019 for changed configuration1020 is expected to be within 2 of 2021-12-20 17:08:33.920622285 +00001021 behaves like not a container repository factory1022 does not create a new container repository resource1023 disallow anyone to delete images1024 behaves like an inaccessible1025 is expected to include {"access" => []}1026 behaves like a valid token1027 is expected to include :token1028 is expected to include "access"1029 a expirable1030 for default configuration1031 is expected not to be within 2 of 2021-12-20 17:08:34.585822089 +00001032 for changed configuration1033 is expected to be within 2 of 2021-12-20 17:08:34.686914591 +00001034 behaves like not a container repository factory1035 does not create a new container repository resource1036 disallow anyone to delete images since registry 2.71037 behaves like an inaccessible1038 is expected to include {"access" => []}1039 behaves like a valid token1040 is expected to include :token1041 is expected to include "access"1042 a expirable1043 for default configuration1044 is expected not to be within 2 of 2021-12-20 17:08:35.174337290 +00001045 for changed configuration1046 is expected to be within 2 of 2021-12-20 17:08:35.278218441 +00001047 behaves like not a container repository factory1048 does not create a new container repository resource1049 for external user1050 disallow anyone to pull or push images1051 behaves like an inaccessible1052 is expected to include {"access" => []}1053 behaves like a valid token1054 is expected to include :token1055 is expected to include "access"1056 a expirable1057 for default configuration1058 is expected not to be within 2 of 2021-12-20 17:08:35.902991529 +00001059 for changed configuration1060 is expected to be within 2 of 2021-12-20 17:08:36.016437239 +00001061 behaves like not a container repository factory1062 does not create a new container repository resource1063 disallow anyone to delete images1064 behaves like an inaccessible1065 is expected to include {"access" => []}1066 behaves like a valid token1067 is expected to include :token1068 is expected to include "access"1069 a expirable1070 for default configuration1071 is expected not to be within 2 of 2021-12-20 17:08:36.579937142 +00001072 for changed configuration1073 is expected to be within 2 of 2021-12-20 17:08:36.682316404 +00001074 behaves like not a container repository factory1075 does not create a new container repository resource1076 disallow anyone to delete images since registry 2.71077 behaves like an inaccessible1078 is expected to include {"access" => []}1079 behaves like a valid token1080 is expected to include :token1081 is expected to include "access"1082 a expirable1083 for default configuration1084 is expected not to be within 2 of 2021-12-20 17:08:37.325356310 +00001085 for changed configuration1086 is expected to be within 2 of 2021-12-20 17:08:37.518114563 +00001087 behaves like not a container repository factory1088 does not create a new container repository resource1089 for internal project with private container registry1090 behaves like private project1091 allow to use scope-less authentication1092 behaves like a valid token1093 is expected to include :token1094 is expected to include "access"1095 a expirable1096 for default configuration1097 is expected not to be within 2 of 2021-12-20 17:08:38.256752101 +00001098 for changed configuration1099 is expected to be within 2 of 2021-12-20 17:08:38.339108134 +00001100 allow developer to push images1101 behaves like a pushable1102 behaves like an accessible1103 has the correct scope1104 behaves like a valid token1105 is expected to include :token1106 is expected to include "access"1107 a expirable1108 for default configuration1109 is expected not to be within 2 of 2021-12-20 17:08:38.978899701 +00001110 for changed configuration1111 is expected to be within 2 of 2021-12-20 17:08:39.114321080 +00001112 behaves like container repository factory1113 creates a new container repository resource1114 disallow developer to delete images1115 behaves like an inaccessible1116 is expected to include {"access" => []}1117 behaves like a valid token1118 is expected to include :token1119 is expected to include "access"1120 a expirable1121 for default configuration1122 is expected not to be within 2 of 2021-12-20 17:08:40.530257231 +00001123 for changed configuration1124 is expected to be within 2 of 2021-12-20 17:08:40.637915322 +00001125 behaves like not a container repository factory1126 does not create a new container repository resource1127 behaves like logs an auth warning1128 is expected to receive warn({:authorized_actions=>[], :message=>"Denied container registry permissions", :requested_actions=>["*"...ject_path=>"namespace205/project199", :scope_type=>"repository", :user_id=>293, :username=>"user78"}) 1 time1129 disallow developer to delete images since registry 2.71130 behaves like an inaccessible1131 is expected to include {"access" => []}1132 behaves like a valid token1133 is expected to include :token1134 is expected to include "access"1135 a expirable1136 for default configuration1137 is expected not to be within 2 of 2021-12-20 17:08:41.483830831 +00001138 for changed configuration1139 is expected to be within 2 of 2021-12-20 17:08:41.631430118 +00001140 behaves like not a container repository factory1141 does not create a new container repository resource1142 allow reporter to pull images1143 when pulling from root level repository1144 behaves like a pullable1145 behaves like an accessible1146 has the correct scope1147 behaves like a valid token1148 is expected to include :token1149 is expected to include "access"1150 a expirable1151 for default configuration1152 is expected not to be within 2 of 2021-12-20 17:08:42.388735625 +00001153 for changed configuration1154 is expected to be within 2 of 2021-12-20 17:08:42.527742913 +00001155 behaves like not a container repository factory1156 does not create a new container repository resource1157 disallow reporter to delete images1158 behaves like an inaccessible1159 is expected to include {"access" => []}1160 behaves like a valid token1161 is expected to include :token1162 is expected to include "access"1163 a expirable1164 for default configuration1165 is expected not to be within 2 of 2021-12-20 17:08:44.504088937 +00001166 for changed configuration1167 is expected to be within 2 of 2021-12-20 17:08:44.653534145 +00001168 behaves like not a container repository factory1169 does not create a new container repository resource1170 disallow reporter to delete images since registry 2.71171 behaves like an inaccessible1172 is expected to include {"access" => []}1173 behaves like a valid token1174 is expected to include :token1175 is expected to include "access"1176 a expirable1177 for default configuration1178 is expected not to be within 2 of 2021-12-20 17:08:45.450024808 +00001179 for changed configuration1180 is expected to be within 2 of 2021-12-20 17:08:45.595697056 +00001181 behaves like not a container repository factory1182 does not create a new container repository resource1183 return a least of privileges1184 behaves like a pullable1185 behaves like an accessible1186 has the correct scope1187 behaves like a valid token1188 is expected to include :token1189 is expected to include "access"1190 a expirable1191 for default configuration1192 is expected not to be within 2 of 2021-12-20 17:08:46.499644000 +00001193 for changed configuration1194 is expected to be within 2 of 2021-12-20 17:08:46.674375855 +00001195 behaves like not a container repository factory1196 does not create a new container repository resource1197 disallow guest to pull or push images1198 behaves like an inaccessible1199 is expected to include {"access" => []}1200 behaves like a valid token1201 is expected to include :token1202 is expected to include "access"1203 a expirable1204 for default configuration1205 is expected not to be within 2 of 2021-12-20 17:08:47.510356205 +00001206 for changed configuration1207 is expected to be within 2 of 2021-12-20 17:08:47.667854772 +00001208 behaves like not a container repository factory1209 does not create a new container repository resource1210 disallow guest to delete images1211 behaves like an inaccessible1212 is expected to include {"access" => []}1213 behaves like a valid token1214 is expected to include :token1215 is expected to include "access"1216 a expirable1217 for default configuration1218 is expected not to be within 2 of 2021-12-20 17:08:48.402438070 +00001219 for changed configuration1220 is expected to be within 2 of 2021-12-20 17:08:48.542943569 +00001221 behaves like not a container repository factory1222 does not create a new container repository resource1223 disallow guest to delete images since registry 2.71224 behaves like an inaccessible1225 is expected to include {"access" => []}1226 behaves like a valid token1227 is expected to include :token1228 is expected to include "access"1229 a expirable1230 for default configuration1231 is expected not to be within 2 of 2021-12-20 17:08:49.247776419 +00001232 for changed configuration1233 is expected to be within 2 of 2021-12-20 17:08:49.384038318 +00001234 behaves like not a container repository factory1235 does not create a new container repository resource1236 delete authorized as maintainer1237 behaves like a valid token1238 is expected to include :token1239 is expected to include "access"1240 a expirable1241 for default configuration1242 is expected not to be within 2 of 2021-12-20 17:08:50.144561115 +00001243 for changed configuration1244 is expected to be within 2 of 2021-12-20 17:08:50.216798278 +00001245 allow to delete images1246 behaves like a deletable1247 behaves like an accessible1248 has the correct scope1249 behaves like a valid token1250 is expected to include :token1251 is expected to include "access"1252 a expirable1253 for default configuration1254 is expected not to be within 2 of 2021-12-20 17:08:50.598024046 +00001255 for changed configuration1256 is expected to be within 2 of 2021-12-20 17:08:50.698767848 +00001257 allow to delete images since registry 2.71258 behaves like a deletable since registry 2.71259 behaves like an accessible1260 has the correct scope1261 behaves like a valid token1262 is expected to include :token1263 is expected to include "access"1264 a expirable1265 for default configuration1266 is expected not to be within 2 of 2021-12-20 17:08:51.161806969 +00001267 for changed configuration1268 is expected to be within 2 of 2021-12-20 17:08:51.268910230 +00001269 build authorized as user1270 allow to use offline_token1271 behaves like an authenticated1272 is expected to include :token1273 is expected to include "access"1274 behaves like a valid token1275 is expected to include :token1276 is expected to include "access"1277 a expirable1278 for default configuration1279 is expected not to be within 2 of 2021-12-20 17:08:52.083517512 +00001280 for changed configuration1281 is expected to be within 2 of 2021-12-20 17:08:52.176006194 +00001282 allow to pull and push images1283 behaves like a pullable and pushable1284 behaves like an accessible1285 has the correct scope1286 behaves like a valid token1287 is expected to include :token1288 is expected to include "access"1289 a expirable1290 for default configuration1291 is expected not to be within 2 of 2021-12-20 17:08:52.550819203 +00001292 for changed configuration1293 is expected to be within 2 of 2021-12-20 17:08:52.689928161 +00001294 behaves like container repository factory1295 creates a new container repository resource1296 allow to delete images since registry 2.71297 behaves like a deletable since registry 2.71298 behaves like an accessible1299 has the correct scope1300 behaves like a valid token1301 is expected to include :token1302 is expected to include "access"1303 a expirable1304 for default configuration1305 is expected not to be within 2 of 2021-12-20 17:08:53.235379225 +00001306 for changed configuration1307 is expected to be within 2 of 2021-12-20 17:08:53.351886635 +00001308 disallow to delete images1309 behaves like an inaccessible1310 is expected to include {"access" => []}1311 behaves like a valid token1312 is expected to include :token1313 is expected to include "access"1314 a expirable1315 for default configuration1316 is expected not to be within 2 of 2021-12-20 17:08:53.722368634 +00001317 for changed configuration1318 is expected to be within 2 of 2021-12-20 17:08:53.830881515 +00001319 for other projects1320 when pulling1321 allow for public1322 behaves like a pullable1323 behaves like an accessible1324 has the correct scope1325 behaves like a valid token1326 is expected to include :token1327 is expected to include "access"1328 a expirable1329 for default configuration1330 is expected not to be within 2 of 2021-12-20 17:08:54.574584393 +00001331 for changed configuration1332 is expected to be within 2 of 2021-12-20 17:08:54.737718789 +00001333 behaves like not a container repository factory1334 does not create a new container repository resource1335 for private1336 behaves like pullable for being team member1337 when you are not member1338 behaves like an inaccessible1339 is expected to include {"access" => []}1340 behaves like a valid token1341 is expected to include :token1342 is expected to include "access"1343 a expirable1344 for default configuration1345 is expected not to be within 2 of 2021-12-20 17:08:55.762558823 +00001346 for changed configuration1347 is expected to be within 2 of 2021-12-20 17:08:55.923469900 +00001348 behaves like not a container repository factory1349 does not create a new container repository resource1350 when you are member1351 behaves like a pullable1352 behaves like an accessible1353 has the correct scope1354 behaves like a valid token1355 is expected to include :token1356 is expected to include "access"1357 a expirable1358 for default configuration1359 is expected not to be within 2 of 2021-12-20 17:08:56.769651259 +00001360 for changed configuration1361 is expected to be within 2 of 2021-12-20 17:08:56.933179905 +00001362 behaves like not a container repository factory1363 does not create a new container repository resource1364 when you are owner1365 behaves like a pullable1366 behaves like an accessible1367 has the correct scope1368 behaves like a valid token1369 is expected to include :token1370 is expected to include "access"1371 a expirable1372 for default configuration1373 is expected not to be within 2 of 2021-12-20 17:08:58.256408844 +00001374 for changed configuration1375 is expected to be within 2 of 2021-12-20 17:08:58.357282815 +00001376 behaves like not a container repository factory1377 does not create a new container repository resource1378 when you are admin1379 when you are not member1380 behaves like an inaccessible1381 is expected to include {"access" => []}1382 behaves like a valid token1383 is expected to include :token1384 is expected to include "access"1385 a expirable1386 for default configuration1387 is expected not to be within 2 of 2021-12-20 17:08:58.950935476 +00001388 for changed configuration1389 is expected to be within 2 of 2021-12-20 17:08:59.076632175 +00001390 behaves like not a container repository factory1391 does not create a new container repository resource1392 when you are member1393 behaves like a pullable1394 behaves like an accessible1395 has the correct scope1396 behaves like a valid token1397 is expected to include :token1398 is expected to include "access"1399 a expirable1400 for default configuration1401 is expected not to be within 2 of 2021-12-20 17:08:59.801257194 +00001402 for changed configuration1403 is expected to be within 2 of 2021-12-20 17:09:00.859432446 +00001404 behaves like not a container repository factory1405 does not create a new container repository resource1406 when you are owner1407 behaves like a pullable1408 behaves like an accessible1409 has the correct scope1410 behaves like a valid token1411 is expected to include :token1412 is expected to include "access"1413 a expirable1414 for default configuration1415 is expected not to be within 2 of 2021-12-20 17:09:01.486228733 +00001416 for changed configuration1417 is expected to be within 2 of 2021-12-20 17:09:01.585087305 +00001418 behaves like not a container repository factory1419 does not create a new container repository resource1420 for public project with private container registry1421 behaves like pullable for being team member1422 when you are not member1423 behaves like an inaccessible1424 is expected to include {"access" => []}1425 behaves like a valid token1426 is expected to include :token1427 is expected to include "access"1428 a expirable1429 for default configuration1430 is expected not to be within 2 of 2021-12-20 17:09:02.269637807 +00001431 for changed configuration1432 is expected to be within 2 of 2021-12-20 17:09:02.367895419 +00001433 behaves like not a container repository factory1434 does not create a new container repository resource1435 when you are member1436 behaves like a pullable1437 behaves like an accessible1438 has the correct scope1439 behaves like a valid token1440 is expected to include :token1441 is expected to include "access"1442 a expirable1443 for default configuration1444 is expected not to be within 2 of 2021-12-20 17:09:02.974688148 +00001445 for changed configuration1446 is expected to be within 2 of 2021-12-20 17:09:03.081138639 +00001447 behaves like not a container repository factory1448 does not create a new container repository resource1449 when you are owner1450 behaves like a pullable1451 behaves like an accessible1452 has the correct scope1453 behaves like a valid token1454 is expected to include :token1455 is expected to include "access"1456 a expirable1457 for default configuration1458 is expected not to be within 2 of 2021-12-20 17:09:03.682255449 +00001459 for changed configuration1460 is expected to be within 2 of 2021-12-20 17:09:03.792363070 +00001461 behaves like not a container repository factory1462 does not create a new container repository resource1463 when you are admin1464 behaves like pullable for being team member1465 when you are not member1466 behaves like an inaccessible1467 is expected to include {"access" => []}1468 behaves like a valid token1469 is expected to include :token1470 is expected to include "access"1471 a expirable1472 for default configuration1473 is expected not to be within 2 of 2021-12-20 17:09:04.356472092 +00001474 for changed configuration1475 is expected to be within 2 of 2021-12-20 17:09:04.454485084 +00001476 behaves like not a container repository factory1477 does not create a new container repository resource1478 when you are member1479 behaves like a pullable1480 behaves like an accessible1481 has the correct scope1482 behaves like a valid token1483 is expected to include :token1484 is expected to include "access"1485 a expirable1486 for default configuration1487 is expected not to be within 2 of 2021-12-20 17:09:05.006038768 +00001488 for changed configuration1489 is expected to be within 2 of 2021-12-20 17:09:05.118201299 +00001490 behaves like not a container repository factory1491 does not create a new container repository resource1492 when you are owner1493 behaves like a pullable1494 behaves like an accessible1495 has the correct scope1496 behaves like a valid token1497 is expected to include :token1498 is expected to include "access"1499 a expirable1500 for default configuration1501 is expected not to be within 2 of 2021-12-20 17:09:05.750828786 +00001502 for changed configuration1503 is expected to be within 2 of 2021-12-20 17:09:05.854480867 +00001504 behaves like not a container repository factory1505 does not create a new container repository resource1506 when pushing1507 disallow for all1508 when you are member1509 behaves like an inaccessible1510 is expected to include {"access" => []}1511 behaves like a valid token1512 is expected to include :token1513 is expected to include "access"1514 a expirable1515 for default configuration1516 is expected not to be within 2 of 2021-12-20 17:09:06.614452963 +00001517 for changed configuration1518 is expected to be within 2 of 2021-12-20 17:09:06.698612956 +00001519 behaves like not a container repository factory1520 does not create a new container repository resource1521 when you are owner1522 behaves like an inaccessible1523 is expected to include {"access" => []}1524 behaves like a valid token1525 is expected to include :token1526 is expected to include "access"1527 a expirable1528 for default configuration1529 is expected not to be within 2 of 2021-12-20 17:09:07.248963510 +00001530 for changed configuration1531 is expected to be within 2 of 2021-12-20 17:09:07.333537713 +00001532 behaves like not a container repository factory1533 does not create a new container repository resource1534 for project without container registry1535 disallow when pulling1536 behaves like an inaccessible1537 is expected to include {"access" => []}1538 behaves like a valid token1539 is expected to include :token1540 is expected to include "access"1541 a expirable1542 for default configuration1543 is expected not to be within 2 of 2021-12-20 17:09:07.983742158 +00001544 for changed configuration1545 is expected to be within 2 of 2021-12-20 17:09:08.076363880 +00001546 behaves like not a container repository factory1547 does not create a new container repository resource1548 for project that disables repository1549 disallow when pulling1550 behaves like an inaccessible1551 is expected to include {"access" => []}1552 behaves like a valid token1553 is expected to include :token1554 is expected to include "access"1555 a expirable1556 for default configuration1557 is expected not to be within 2 of 2021-12-20 17:09:08.796216330 +00001558 for changed configuration1559 is expected to be within 2 of 2021-12-20 17:09:08.911617681 +00001560 behaves like not a container repository factory1561 does not create a new container repository resource1562 registry catalog browsing authorized as admin1563 behaves like a browsable1564 has the correct scope1565 behaves like a valid token1566 is expected to include :token1567 is expected to include "access"1568 a expirable1569 for default configuration1570 is expected not to be within 2 of 2021-12-20 17:09:09.671228857 +00001571 for changed configuration1572 is expected to be within 2 of 2021-12-20 17:09:09.804214936 +00001573 behaves like not a container repository factory1574 does not create a new container repository resource1575 support for multiple scopes1576 user has access to all projects1577 behaves like a browsable1578 has the correct scope1579 behaves like a valid token1580 is expected to include :token1581 is expected to include "access"1582 a expirable1583 for default configuration1584 is expected not to be within 2 of 2021-12-20 17:09:11.954380525 +00001585 for changed configuration1586 is expected to be within 2 of 2021-12-20 17:09:12.177321516 +00001587 behaves like not a container repository factory1588 does not create a new container repository resource1589 user only has access to internal and public projects1590 behaves like a browsable1591 has the correct scope1592 behaves like a valid token1593 is expected to include :token1594 is expected to include "access"1595 a expirable1596 for default configuration1597 is expected not to be within 2 of 2021-12-20 17:09:13.502426165 +00001598 for changed configuration1599 is expected to be within 2 of 2021-12-20 17:09:14.372953703 +00001600 behaves like not a container repository factory1601 does not create a new container repository resource1602 anonymous user has access only to public project1603 behaves like a browsable1604 has the correct scope1605 behaves like a valid token1606 is expected to include :token1607 is expected to include "access"1608 a expirable1609 for default configuration1610 is expected not to be within 2 of 2021-12-20 17:09:15.303321454 +00001611 for changed configuration1612 is expected to be within 2 of 2021-12-20 17:09:15.481615139 +00001613 behaves like not a container repository factory1614 does not create a new container repository resource1615 with no public container registry1616 behaves like a forbidden1617 is expected to include {:http_status => 403}1618 is expected not to include :token1619 unauthorized1620 disallow to use scope-less authentication1621 behaves like a forbidden1622 is expected to include {:http_status => 403}1623 is expected not to include :token1624 behaves like not a container repository factory1625 does not create a new container repository resource1626 for invalid scope1627 behaves like a forbidden1628 is expected to include {:http_status => 403}1629 is expected not to include :token1630 behaves like not a container repository factory1631 does not create a new container repository resource1632 for private project1633 behaves like a forbidden1634 is expected to include {:http_status => 403}1635 is expected not to include :token1636 for public project with container registry `enabled`1637 when pulling and pushing1638 behaves like a pullable1639 behaves like an accessible1640 has the correct scope1641 behaves like a valid token1642 is expected to include :token1643 is expected to include "access"1644 a expirable1645 for default configuration1646 is expected not to be within 2 of 2021-12-20 17:09:18.895598983 +00001647 for changed configuration1648 is expected to be within 2 of 2021-12-20 17:09:19.057265910 +00001649 behaves like not a container repository factory1650 does not create a new container repository resource1651 when pushing1652 behaves like a forbidden1653 is expected to include {:http_status => 403}1654 is expected not to include :token1655 behaves like not a container repository factory1656 does not create a new container repository resource1657 for public project with container registry `private`1658 when pulling and pushing1659 behaves like a forbidden1660 is expected to include {:http_status => 403}1661 is expected not to include :token1662 behaves like not a container repository factory1663 does not create a new container repository resource1664 for registry catalog1665 behaves like a forbidden1666 is expected to include {:http_status => 403}1667 is expected not to include :token1668 behaves like not a container repository factory1669 does not create a new container repository resource1670 for deploy tokens1671 when deploy token has read and write registry as scopes1672 for public project1673 when pulling1674 behaves like a pullable1675 behaves like an accessible1676 has the correct scope1677 behaves like a valid token1678 is expected to include :token1679 is expected to include "access"1680 a expirable1681 for default configuration1682 is expected not to be within 2 of 2021-12-20 17:09:21.359657326 +00001683 for changed configuration1684 is expected to be within 2 of 2021-12-20 17:09:21.479894107 +00001685 when pushing1686 behaves like a pushable1687 behaves like an accessible1688 has the correct scope1689 behaves like a valid token1690 is expected to include :token1691 is expected to include "access"1692 a expirable1693 for default configuration1694 is expected not to be within 2 of 2021-12-20 17:09:22.066504407 +00001695 for changed configuration1696 is expected to be within 2 of 2021-12-20 17:09:22.210618295 +00001697 behaves like able to login1698 registry provides read_container_image authentication_abilities1699 behaves like an authenticated1700 is expected to include :token1701 is expected to include "access"1702 for internal project1703 when pulling1704 behaves like a pullable1705 behaves like an accessible1706 has the correct scope1707 behaves like a valid token1708 is expected to include :token1709 is expected to include "access"1710 a expirable1711 for default configuration1712 is expected not to be within 2 of 2021-12-20 17:09:23.060955324 +00001713 for changed configuration1714 is expected to be within 2 of 2021-12-20 17:09:23.185632533 +00001715 when pushing1716 behaves like a pushable1717 behaves like an accessible1718 has the correct scope1719 behaves like a valid token1720 is expected to include :token1721 is expected to include "access"1722 a expirable1723 for default configuration1724 is expected not to be within 2 of 2021-12-20 17:09:23.705659060 +00001725 for changed configuration1726 is expected to be within 2 of 2021-12-20 17:09:23.832518619 +00001727 behaves like able to login1728 registry provides read_container_image authentication_abilities1729 behaves like an authenticated1730 is expected to include :token1731 is expected to include "access"1732 for private project1733 when pulling1734 behaves like a pullable1735 behaves like an accessible1736 has the correct scope1737 behaves like a valid token1738 is expected to include :token1739 is expected to include "access"1740 a expirable1741 for default configuration1742 is expected not to be within 2 of 2021-12-20 17:09:25.047568567 +00001743 for changed configuration1744 is expected to be within 2 of 2021-12-20 17:09:25.219520793 +00001745 when pushing1746 behaves like a pushable1747 behaves like an accessible1748 has the correct scope1749 behaves like a valid token1750 is expected to include :token1751 is expected to include "access"1752 a expirable1753 for default configuration1754 is expected not to be within 2 of 2021-12-20 17:09:25.929369753 +00001755 for changed configuration1756 is expected to be within 2 of 2021-12-20 17:09:26.125959837 +00001757 behaves like able to login1758 registry provides read_container_image authentication_abilities1759 behaves like an authenticated1760 is expected to include :token1761 is expected to include "access"1762 for public project with private container registry1763 when pulling1764 behaves like a pullable1765 behaves like an accessible1766 has the correct scope1767 behaves like a valid token1768 is expected to include :token1769 is expected to include "access"1770 a expirable1771 for default configuration1772 is expected not to be within 2 of 2021-12-20 17:09:27.514505521 +00001773 for changed configuration1774 is expected to be within 2 of 2021-12-20 17:09:27.730351452 +00001775 when pushing1776 behaves like a pushable1777 behaves like an accessible1778 has the correct scope1779 behaves like a valid token1780 is expected to include :token1781 is expected to include "access"1782 a expirable1783 for default configuration1784 is expected not to be within 2 of 2021-12-20 17:09:28.697164121 +00001785 for changed configuration1786 is expected to be within 2 of 2021-12-20 17:09:28.945691690 +00001787 behaves like able to login1788 registry provides read_container_image authentication_abilities1789 behaves like an authenticated1790 is expected to include :token1791 is expected to include "access"1792 when deploy token does not have read_registry scope1793 for public project with container registry `enabled`1794 when pulling1795 behaves like a pullable1796 behaves like an accessible1797 has the correct scope1798 behaves like a valid token1799 is expected to include :token1800 is expected to include "access"1801 a expirable1802 for default configuration1803 is expected not to be within 2 of 2021-12-20 17:09:30.526619888 +00001804 for changed configuration1805 is expected to be within 2 of 2021-12-20 17:09:30.712143382 +00001806 behaves like unable to login1807 registry provides no container authentication_abilities1808 behaves like a forbidden1809 is expected to include {:http_status => 403}1810 is expected not to include :token1811 registry provides inapplicable container authentication_abilities1812 behaves like a forbidden1813 is expected to include {:http_status => 403}1814 is expected not to include :token1815 for public project with container registry `private`1816 when pulling1817 behaves like an inaccessible1818 is expected to include {"access" => []}1819 behaves like a valid token1820 is expected to include :token1821 is expected to include "access"1822 a expirable1823 for default configuration1824 is expected not to be within 2 of 2021-12-20 17:09:32.907986698 +00001825 for changed configuration1826 is expected to be within 2 of 2021-12-20 17:09:33.074963324 +00001827 behaves like unable to login1828 registry provides no container authentication_abilities1829 behaves like a forbidden1830 is expected to include {:http_status => 403}1831 is expected not to include :token1832 registry provides inapplicable container authentication_abilities1833 behaves like a forbidden1834 is expected to include {:http_status => 403}1835 is expected not to include :token1836 for internal project1837 when pulling1838 behaves like an inaccessible1839 is expected to include {"access" => []}1840 behaves like a valid token1841 is expected to include :token1842 is expected to include "access"1843 a expirable1844 for default configuration1845 is expected not to be within 2 of 2021-12-20 17:09:34.633158324 +00001846 for changed configuration1847 is expected to be within 2 of 2021-12-20 17:09:34.806175579 +00001848 behaves like unable to login1849 registry provides no container authentication_abilities1850 behaves like a forbidden1851 is expected to include {:http_status => 403}1852 is expected not to include :token1853 registry provides inapplicable container authentication_abilities1854 behaves like a forbidden1855 is expected to include {:http_status => 403}1856 is expected not to include :token1857 for private project1858 when pulling1859 behaves like an inaccessible1860 is expected to include {"access" => []}1861 behaves like a valid token1862 is expected to include :token1863 is expected to include "access"1864 a expirable1865 for default configuration1866 is expected not to be within 2 of 2021-12-20 17:09:37.392322432 +00001867 for changed configuration1868 is expected to be within 2 of 2021-12-20 17:09:37.559344268 +00001869 when logging in1870 behaves like a forbidden1871 is expected to include {:http_status => 403}1872 is expected not to include :token1873 behaves like unable to login1874 registry provides no container authentication_abilities1875 behaves like a forbidden1876 is expected to include {:http_status => 403}1877 is expected not to include :token1878 registry provides inapplicable container authentication_abilities1879 behaves like a forbidden1880 is expected to include {:http_status => 403}1881 is expected not to include :token1882 when deploy token is not related to the project1883 for public project with container registry `enabled`1884 when pulling1885 behaves like a pullable1886 behaves like an accessible1887 has the correct scope1888 behaves like a valid token1889 is expected to include :token1890 is expected to include "access"1891 a expirable1892 for default configuration1893 is expected not to be within 2 of 2021-12-20 17:09:38.981705639 +00001894 for changed configuration1895 is expected to be within 2 of 2021-12-20 17:09:39.133197606 +00001896 for public project with container registry `private`1897 when pulling1898 behaves like an inaccessible1899 is expected to include {"access" => []}1900 behaves like a valid token1901 is expected to include :token1902 is expected to include "access"1903 a expirable1904 for default configuration1905 is expected not to be within 2 of 2021-12-20 17:09:39.910053521 +00001906 for changed configuration1907 is expected to be within 2 of 2021-12-20 17:09:40.040275540 +00001908 for internal project1909 when pulling1910 behaves like an inaccessible1911 is expected to include {"access" => []}1912 behaves like a valid token1913 is expected to include :token1914 is expected to include "access"1915 a expirable1916 for default configuration1917 is expected not to be within 2 of 2021-12-20 17:09:40.748848991 +00001918 for changed configuration1919 is expected to be within 2 of 2021-12-20 17:09:40.873662340 +00001920 for private project1921 when pulling1922 behaves like an inaccessible1923 is expected to include {"access" => []}1924 behaves like a valid token1925 is expected to include :token1926 is expected to include "access"1927 a expirable1928 for default configuration1929 is expected not to be within 2 of 2021-12-20 17:09:41.583288401 +00001930 for changed configuration1931 is expected to be within 2 of 2021-12-20 17:09:41.697457661 +00001932 when deploy token has been revoked1933 for public project with container registry `enabled`1934 behaves like a pullable1935 behaves like an accessible1936 has the correct scope1937 behaves like a valid token1938 is expected to include :token1939 is expected to include "access"1940 a expirable1941 for default configuration1942 is expected not to be within 2 of 2021-12-20 17:09:42.604374815 +00001943 for changed configuration1944 is expected to be within 2 of 2021-12-20 17:09:42.756429532 +00001945 for public project with container registry `private`1946 behaves like an inaccessible1947 is expected to include {"access" => []}1948 behaves like a valid token1949 is expected to include :token1950 is expected to include "access"1951 a expirable1952 for default configuration1953 is expected not to be within 2 of 2021-12-20 17:09:43.450205334 +00001954 for changed configuration1955 is expected to be within 2 of 2021-12-20 17:09:43.577864503 +00001956 for internal project1957 behaves like an inaccessible1958 is expected to include {"access" => []}1959 behaves like a valid token1960 is expected to include :token1961 is expected to include "access"1962 a expirable1963 for default configuration1964 is expected not to be within 2 of 2021-12-20 17:09:44.246626947 +00001965 for changed configuration1966 is expected to be within 2 of 2021-12-20 17:09:44.368198567 +00001967 for private project1968 behaves like an inaccessible1969 is expected to include {"access" => []}1970 behaves like a valid token1971 is expected to include :token1972 is expected to include "access"1973 a expirable1974 for default configuration1975 is expected not to be within 2 of 2021-12-20 17:09:45.251011253 +00001976 for changed configuration1977 is expected to be within 2 of 2021-12-20 17:09:45.415823299 +00001978 user authorization1979 with multiple scopes1980 allow developer to push images1981 behaves like a pushable1982 behaves like an accessible1983 has the correct scope1984 behaves like a valid token1985 is expected to include :token1986 is expected to include "access"1987 a expirable1988 for default configuration1989 is expected not to be within 2 of 2021-12-20 17:09:46.234760151 +00001990 for changed configuration1991 is expected to be within 2 of 2021-12-20 17:09:46.342449762 +00001992 behaves like container repository factory1993 creates a new container repository resource1994gitlab:elastic namespace rake tasks1995 create_empty_index1996 creates the default index1997 creates the migrations index if it does not exist1998 marks all migrations as completed1999 when SKIP_ALIAS environment variable is set2000 does not alias the new index2001 does not create the migrations index if it does not exist2002 Issue2003 does not create a standalone index2004 Note2005 does not create a standalone index2006 MergeRequest2007 does not create a standalone index2008 Issue2009 creates a standalone index2010 Note2011 creates a standalone index2012 MergeRequest2013 creates a standalone index2014 delete_index2015 removes the index2016 removes the migrations index2017 behaves like deletes all standalone indices2018 Issue2019 removes a standalone index2020 Note2021 removes a standalone index2022 MergeRequest2023 removes a standalone index2024 when the index does not exist2025 does not error2026 with elasticsearch_indexing enabled2027 index2028 calls all indexing tasks in order2029 index_projects2030 queues jobs for each project batch2031 with limited indexing enabled2032 does not queue jobs for projects that should not be indexed2033 index_snippets2034 indexes snippets2035 recreate_index2036 calls all related subtasks in order2037 with elasticsearch_indexing is disabled2038 enables `elasticsearch_indexing`2039 mark_reindex_failed2040 when there is a running reindex job2041 marks the current reindex job as failed2042 prints a message after marking it as failed2043 when no running reindex job2044 just prints a message2045 list_pending_migrations2046 when there are pending migrations2047 outputs pending migrations2048 when there is no pending migrations2049 outputs message there are no pending migrations2050 estimate_cluster_size2051 outputs estimates2052 pause_indexing2053 when indexing is already paused2054 does not do anything2055 when indexing is running2056 pauses indexing2057 resume_indexing2058 when indexing is already running2059 does not do anything2060 when indexing is not running2061 resumes indexing2062ApprovalState2063 #approval_rules_overwritten?2064 when approval rule on the merge request does not exist2065 returns false2066 when merge request has any approver rule2067 returns true2068 when overriding approvals is not allowed2069 returns true2070 when multiple rules are allowed2071 #wrapped_approval_rules2072 returns all rules in wrapper2073 when approval feature is unavailable2074 returns empty array2075 with multiple scan_finding rules2076 returns one rule for each orchestration_policy_idx2077 #approval_needed?2078 when feature not available2079 returns false2080 when overall approvals required is not zero2081 returns true2082 when any rule's approvals required is not zero2083 returns false2084 when overall approvals required and all rule's approvals_required are zero2085 returns false2086 when overall approvals required is zero, and there is no rule2087 returns false2088 when approval feature is unavailable2089 returns false2090 #approved?2091 when no rules2092 behaves like checking any_approver rule2093 when it is not met2094 returns false2095 when it is met2096 returns true2097 when only code owner rules present2098 behaves like when rules are present2099 when all rules are approved2100 returns true2101 when some rules are not approved2102 returns false2103 behaves like checking any_approver rule2104 when it is not met2105 returns false2106 when it is met2107 returns true2108 when only report approver rules present2109 behaves like when rules are present2110 when all rules are approved2111 returns true2112 when some rules are not approved2113 returns false2114 behaves like checking any_approver rule2115 when it is not met2116 returns false2117 when it is met2118 returns true2119 when regular rules present2120 behaves like when rules are present2121 when all rules are approved2122 returns true2123 when some rules are not approved2124 returns false2125 when approval feature is unavailable2126 returns true2127 #approvals_left2128 sums approvals_left from rules2129 with any approval rule2130 sums approvals_left from regular rules2131 with report approver rule2132 sums code_owner_rules_left from report approver rules2133 when approval feature is unavailable2134 returns 02135 #approval_rules_left2136 counts approval_rules left2137 when approval feature is unavailable2138 returns empty array2139 #approvals_required2140 correctly sums the approvals2141 #approvers2142 includes all approvers, including code owner and group members2143 behaves like filtering author and committers2144 when self approval is disabled on project2145 excludes authors2146 when self approval is enabled on project2147 includes author2148 when committers approval is enabled on project2149 includes committers2150 when committers approval is disabled on project2151 excludes committers2152 #filtered_approvers2153 only direct users, without code owners2154 includes only rule user members2155 only unactioned2156 excludes approved approvers2157 behaves like filtering author and committers2158 when self approval is disabled on project2159 excludes authors2160 when self approval is enabled on project2161 includes author2162 when committers approval is enabled on project2163 includes committers2164 when committers approval is disabled on project2165 excludes committers2166 #unactioned_approvers2167 sums approvals_left from rules2168 behaves like filtering author and committers2169 when self approval is disabled on project2170 excludes authors2171 when self approval is enabled on project2172 includes author2173 when committers approval is enabled on project2174 includes committers2175 when committers approval is disabled on project2176 excludes committers2177 #can_approve?2178 when there are no regular approval rules2179 requires one approval2180 behaves like a MR that all members with write access can approve2181 is expected to be truthy2182 is expected to be falsey2183 is expected to be falsey2184 is expected to be falsey2185 when authors are authorized to approve their own MRs2186 allows the author to approve the MR if within the approvers list2187 allows the author to approve the MR if not within the approvers list2188 when the author has approved the MR already2189 does not allow the author to approve the MR again2190 when authors are not authorized to approve their own MRs2191 allows the author to approve the MR if within the approvers list2192 does not allow the author to approve the MR if not within the approvers list2193 when committers are authorized to approve their own MRs2194 allows the committer to approve the MR if within the approvers list2195 allows the committer to approve the MR if not within the approvers list2196 when the committer has approved the MR already2197 does not allow the committer to approve the MR again2198 when committers are not authorized to approve their own MRs2199 allows the committer to approve the MR if within the approvers list2200 does not allow the committer to approve the MR if not within the approvers list2201 when the user is both an author and a committer2202 when authors are authorized to approve their own MRs, but not committers2203 allows the user to approve the MR if within the approvers list2204 does not allow the user to approve the MR if not within the approvers list2205 when committers are authorized to approve their own MRs, but not authors2206 allows the user to approve the MR if within the approvers list2207 does not allow the user to approve the MR if not within the approvers list2208 when there is one approver required2209 when that approver is the MR author2210 does not allow a logged-out user to approve the MR2211 is not approved2212 behaves like authors self-approval authorization2213 when authors are authorized to approve their own MRs2214 allows the author to approve the MR if within the approvers list2215 when authors are not authorized to approve their own MRs2216 does not allow the author to approve the MR2217 behaves like a MR that all members with write access can approve2218 is expected to be truthy2219 is expected to be falsey2220 is expected to be falsey2221 is expected to be falsey2222 when there are multiple approvers required2223 when one of those approvers is the MR author2224 requires the original number of approvals2225 allows any other other approver to approve the MR2226 does not allow a logged-out user to approve the MR2227 behaves like authors self-approval authorization2228 when authors are authorized to approve their own MRs2229 allows the author to approve the MR if within the approvers list2230 when authors are not authorized to approve their own MRs2231 does not allow the author to approve the MR2232 when self-approval is disabled and all of the valid approvers have approved the MR2233 requires the original number of approvals2234 does not allow the author to approve the MR2235 does not allow the approvers to approve the MR again2236 behaves like a MR that all members with write access can approve2237 is expected to be truthy2238 is expected to be falsey2239 is expected to be falsey2240 is expected to be falsey2241 when self-approval is enabled and all of the valid approvers have approved the MR2242 requires the original number of approvals2243 does not allow the approvers to approve the MR again2244 allows any other project member with write access to approve the MR2245 when all approvers have approved the MR2246 is approved2247 returns sum of each rule's approvals_left2248 when the approvers do not contain the MR author2249 requires the original number of approvals2250 allows anyone with write access except for author to approve the MR2251 #any_approver_rules2252 a project with any_approver rule2253 returns project rules2254 a merge request with regular rule2255 returns merge request rules2256 when any_approver rule with 2 approvals required exist2257 requires the 2 approvals2258 behaves like a MR that all members with write access can approve2259 is expected to be truthy2260 is expected to be falsey2261 is expected to be falsey2262 is expected to be falsey2263 a user approves the MR2264 requires 1 approval2265 another user approves the MR2266 becomes approved2267 when approval feature is disabled2268 delegates the call to merge request2269 #authors_can_approve?2270 group_merge_request_approval_settings_feature_flag is enabled2271 allow_author_approval is resolved to not be permitted2272 returns false2273 allow_author_approval is resolved to be permitted2274 returns true2275 group_merge_request_approval_settings_feature_flag is disabled2276 when project allows author approval2277 returns true2278 when project disallows author approval2279 returns true2280 #committers_can_approve?2281 group_merge_request_approval_settings_feature_flag is enabled2282 allow_committer_approval is resolved to not be permitted2283 returns false2284 allow_committer_approval is resolved to be permitted2285 returns false2286 group_merge_request_approval_settings_feature_flag is disabled2287 when project allows committer approval2288 returns true2289 when project disallows committer approval2290 returns true2291 #suggested_approvers2292 user cannot see private group2293 shows public users2294 does not show users who have already approved2295 user can see private group2296 shows private users2297 when only a single rule is allowed2298 #wrapped_approval_rules2299 returns one regular rule in wrapper2300 #approval_needed?2301 when feature not available2302 returns false2303 when overall approvals required is not zero2304 returns true2305 when any rule's approvals required is not zero2306 returns false2307 when overall approvals required and all rule's approvals_required are zero2308 returns false2309 when overall approvals required is zero, and there is no rule2310 returns false2311 #approved?2312 when no rules2313 behaves like checking any_approver rule2314 when it is not met2315 returns false2316 when it is met2317 returns true2318 when only code owner rules present2319 behaves like when rules are present2320 when all rules are approved2321 returns true2322 when some rules are not approved2323 returns false2324 behaves like checking any_approver rule2325 when it is not met2326 returns false2327 when it is met2328 returns true2329 when only report approver rules present2330 behaves like when rules are present2331 when all rules are approved2332 returns true2333 when some rules are not approved2334 returns false2335 behaves like checking any_approver rule2336 when it is not met2337 returns false2338 when it is met2339 returns true2340 when regular rules present2341 behaves like when rules are present2342 when all rules are approved2343 returns true2344 when some rules are not approved2345 returns false2346 when a single project rule is present2347 behaves like when rules are present2348 when all rules are approved2349 returns true2350 when some rules are not approved2351 returns false2352 when the project rule is overridden by a fallback but the project does not allow overriding2353 behaves like when rules are present2354 when all rules are approved2355 returns true2356 when some rules are not approved2357 returns false2358 when the project rule is overridden by a fallback2359 behaves like checking any_approver rule2360 when it is not met2361 returns false2362 when it is met2363 returns true2364 when a single project rule is present that is overridden in the merge request2365 behaves like checking any_approver rule2366 when it is not met2367 returns false2368 when it is met2369 returns true2370 #approvals_left2371 sums approvals_left from rules2372 #approval_rules_left2373 counts approval_rules left2374 #approvers2375 includes approvers from first rule, code owner rule, and report approver rule2376 behaves like filtering author and committers2377 when self approval is disabled on project2378 excludes authors2379 when self approval is enabled on project2380 includes author2381 when committers approval is enabled on project2382 includes committers2383 when committers approval is disabled on project2384 excludes committers2385 #filtered_approvers2386 only direct users, without code owners2387 excludes code owners2388 only unactioned2389 excludes approved approvers2390 behaves like filtering author and committers2391 when self approval is disabled on project2392 excludes authors2393 when self approval is enabled on project2394 includes author2395 when committers approval is enabled on project2396 includes committers2397 when committers approval is disabled on project2398 excludes committers2399 #unactioned_approvers2400 sums approvals_left from rules2401 behaves like filtering author and committers2402 when self approval is disabled on project2403 excludes authors2404 when self approval is enabled on project2405 includes author2406 when committers approval is enabled on project2407 includes committers2408 when committers approval is disabled on project2409 excludes committers2410 #can_approve?2411 when the user is the author2412 and author is an approver2413 returns true when authors can approve2414 returns false when authors cannot approve2415 and author is not an approver2416 returns true when authors can approve2417 returns false when authors cannot approve2418 when user is a committer2419 and committer is an approver2420 return true when committers can approve2421 return false when committers cannot approve2422 and committer is not an approver2423 return true when committers can approve2424 return false when committers cannot approve2425 when there is one approver required2426 when that approver is the MR author2427 requires one approval2428 does not allow a logged-out user to approve the MR2429 is not approved2430 behaves like authors self-approval authorization2431 when authors are authorized to approve their own MRs2432 allows the author to approve the MR if within the approvers list2433 when authors are not authorized to approve their own MRs2434 does not allow the author to approve the MR2435 behaves like a MR that all members with write access can approve2436 is expected to be truthy2437 is expected to be falsey2438 is expected to be falsey2439 is expected to be falsey2440 when there are multiple approvers required2441 when one of those approvers is the MR author2442 requires the original number of approvals2443 allows any other other approver to approve the MR2444 does not allow a logged-out user to approve the MR2445 behaves like authors self-approval authorization2446 when authors are authorized to approve their own MRs2447 allows the author to approve the MR if within the approvers list2448 when authors are not authorized to approve their own MRs2449 does not allow the author to approve the MR2450 when self-approval is disabled and all of the valid approvers have approved the MR2451 requires the original number of approvals2452 does not allow the author to approve the MR2453 does not allow the approvers to approve the MR again2454 behaves like a MR that all members with write access can approve2455 is expected to be truthy2456 is expected to be falsey2457 is expected to be falsey2458 is expected to be falsey2459 when self-approval is enabled and all of the valid approvers have approved the MR2460 requires the original number of approvals2461 does not allow the approvers to approve the MR again2462 allows any other project member with write access to approve the MR2463 when all approvers have approved the MR2464 is approved2465 returns sum of each rule's approvals_left2466 when the approvers do not contain the MR author2467 requires the original number of approvals2468 allows anyone with write access except for author to approve the MR2469 when an approver does not have access to the merge request2470 the user cannot approver2471 #authors_can_approve?2472 when project allows author approval2473 returns true2474 when project disallows author approval2475 returns true2476 #user_defined_rules2477 when approval rules are not overwritten2478 and multiple approval rules is disabled2479 returns the first rule2480 and multiple approval rules is enabled2481 returns the rules as is2482 and rules are scoped by protected branches2483 returns the rules that are applicable to the merge request target branch2484 and target_branch is specified2485 returns the rules that are applicable to the specified target_branch2486 when approval rules are overwritten2487 when multiple approval rules is disabled2488 returns the first rule2489 when multiple approval rules is enabled2490 returns the rules as is2491 and rules have source rules that are scoped by protected branches2492 returns the rules that are applicable to the merge request target branch2493 and target_branch is specified2494 returns the rules that are applicable to the specified target_branch2495 #total_approvals_count2496 returns the total number of approvals (required + optional)2497EnvironmentEntity2498 #as_json2499 with alert2500 exposes active alert flag2501 when user does not have permission to read alert2502 does not expose active alert flag2503 when license is insufficient2504 does not expose active alert flag2505 when environment has a review app2506 #can_stop2507 behaves like protected environments access2508 when Protected Environments feature is not available in the project2509 access_level: :guest, result: false2510 is expected to eq false2511 access_level: :reporter, result: false2512 is expected to eq false2513 access_level: :developer, result: true2514 is expected to eq true2515 access_level: :maintainer, result: true2516 is expected to eq true2517 access_level: :admin, result: true2518 is expected to eq true2519 when Protected Environments feature is available in the project2520 when environment is protected with project-level protection2521 behaves like authorize correctly per access type2522 when user does not have access to the environment2523 access_level: :guest, result: false2524 is expected to eq false2525 access_level: :reporter, result: false2526 is expected to eq false2527 access_level: :developer, result: false2528 is expected to eq false2529 access_level: :maintainer, result: false2530 is expected to eq false2531 access_level: :admin, result: true2532 is expected to eq true2533 when user has access to the environment2534 access_level: :reporter, result: false2535 is expected to eq false2536 access_level: :developer, result: true2537 is expected to eq true2538 access_level: :maintainer, result: true2539 is expected to eq true2540 access_level: :admin, result: true2541 is expected to eq true2542 when the user has access via a group2543 is expected to eq false2544 when environment is protected with group-level protection2545 behaves like authorize correctly per access type2546 when user does not have access to the environment2547 access_level: :guest, result: false2548 is expected to eq false2549 access_level: :reporter, result: false2550 is expected to eq false2551 access_level: :developer, result: false2552 is expected to eq false2553 access_level: :maintainer, result: false2554 is expected to eq false2555 access_level: :admin, result: true2556 is expected to eq true2557 when user has access to the environment2558 access_level: :reporter, result: false2559 is expected to eq false2560 access_level: :developer, result: true2561 is expected to eq true2562 access_level: :maintainer, result: true2563 is expected to eq true2564 access_level: :admin, result: true2565 is expected to eq true2566 when the user has access via a group2567 is expected to eq false2568 when environment is not protected2569 access_level: :guest, result: false2570 is expected to eq false2571 access_level: :reporter, result: false2572 is expected to eq false2573 access_level: :developer, result: true2574 is expected to eq true2575 access_level: :maintainer, result: true2576 is expected to eq true2577 access_level: :admin, result: true2578 is expected to eq true2579 #terminal_path2580 behaves like protected environments access2581 when Protected Environments feature is not available in the project2582 access_level: :guest, result: false2583 is expected to eq false2584 access_level: :reporter, result: false2585 is expected to eq false2586 access_level: :developer, result: false2587 is expected to eq false2588 access_level: :maintainer, result: true2589 is expected to eq true2590 access_level: :admin, result: true2591 is expected to eq true2592 when Protected Environments feature is available in the project2593 when environment is protected with project-level protection2594 behaves like authorize correctly per access type2595 when user does not have access to the environment2596 access_level: :guest, result: false2597 is expected to eq false2598 access_level: :reporter, result: false2599 is expected to eq false2600 access_level: :developer, result: false2601 is expected to eq false2602 access_level: :maintainer, result: false2603 is expected to eq false2604 access_level: :admin, result: true2605 is expected to eq true2606 when user has access to the environment2607 access_level: :reporter, result: false2608 is expected to eq false2609 access_level: :developer, result: false2610 is expected to eq false2611 access_level: :maintainer, result: true2612 is expected to eq true2613 access_level: :admin, result: true2614 is expected to eq true2615 when the user has access via a group2616 is expected to eq false2617 when environment is protected with group-level protection2618 behaves like authorize correctly per access type2619 when user does not have access to the environment2620 access_level: :guest, result: false2621 is expected to eq false2622 access_level: :reporter, result: false2623 is expected to eq false2624 access_level: :developer, result: false2625 is expected to eq false2626 access_level: :maintainer, result: false2627 is expected to eq false2628 access_level: :admin, result: true2629 is expected to eq true2630 when user has access to the environment2631 access_level: :reporter, result: false2632 is expected to eq false2633 access_level: :developer, result: false2634 is expected to eq false2635 access_level: :maintainer, result: true2636 is expected to eq true2637 access_level: :admin, result: true2638 is expected to eq true2639 when the user has access via a group2640 is expected to eq false2641 when environment is not protected2642 access_level: :guest, result: false2643 is expected to eq false2644 access_level: :reporter, result: false2645 is expected to eq false2646 access_level: :developer, result: false2647 is expected to eq false2648 access_level: :maintainer, result: true2649 is expected to eq true2650 access_level: :admin, result: true2651 is expected to eq true2652Ci::Build2653 .license_scan2654 with new license_scanning artifact2655 is expected to eq "license_scanning"2656 associations2657 is expected to have many security_scans class_name => Security::Scan2658 is expected to have one dast_site_profiles_build class_name => Dast::SiteProfilesBuild2659 is expected to have one dast_site_profile class_name => DastSiteProfile through dast_site_profiles_build2660 is expected to have one dast_scanner_profiles_build class_name => Dast::ScannerProfilesBuild2661 is expected to have one dast_scanner_profile class_name => DastScannerProfile through dast_scanner_profiles_build2662 #cost_factor_enabled?2663 for shared runner2664 is expected to be truthy2665 with specific runner2666 is expected to be falsey2667 without runner2668 is expected to be falsey2669 updates pipeline minutes2670 for event success2671 for event drop2672 for event cancel2673 #variables2674 when environment specific variable is defined2675 when there is a plan for the group2676 GITLAB_FEATURES should include the features for that plan2677 dast2678 when there is a dast_site_profile associated with the job2679 behaves like it includes variables2680 includes variables from the profile2681 when user has permission2682 behaves like it includes variables2683 includes variables from the profile2684 when there is a dast_scanner_profile associated with the job2685 behaves like it includes variables2686 includes variables from the profile2687 when there are profiles associated with the job2688 when dast_configuration is absent from the options2689 does not attempt look up any dast profiles to avoid unnecessary queries2690 when site_profile is absent from the dast_configuration2691 does not attempt look up the site profile to avoid unnecessary queries2692 when scanner_profile is absent from the dast_configuration2693 does not attempt look up the scanner profile to avoid unnecessary queries2694 when both profiles are present in the dast_configuration2695 attempts look up dast profiles2696 variable CI_HAS_OPEN_REQUIREMENTS2697 is included with value 'true' if there are open requirements2698 is not included if there are no open requirements2699 #has_security_reports?2700 when build has a security report2701 is expected to equal true2702 when build does not have a security report2703 is expected to equal false2704 #unmerged_security_reports2705 when build has a security report2706 when there is a sast report2707 parses blobs and add the results to the report2708 when there are multiple reports2709 parses blobs and adds unmerged results to the reports2710 when build has no security reports2711 has no parsed reports2712 #collect_security_reports!2713 when build has a security report2714 when there is a sast report2715 parses blobs and add the results to the report2716 adds the created date to the report2717 when there are multiple reports2718 parses blobs and adds the results to the reports2719 when there is a corrupted sast report2720 stores an error2721 vulnerability_finding_signatures2722 vulnerability_finding_signatures: true2723 parses the report2724 vulnerability_finding_signatures: false2725 parses the report2726 when there is unsupported file type2727 stores an error2728 #collect_license_scanning_reports!2729 is expected to eq 02730 when the build has a license scanning report2731 when there is a report2732 parses blobs and add the results to the report2733 when there is a corrupted report2734 returns an empty report2735 when the license scanning feature is disabled2736 does NOT parse license scanning report2737 #collect_dependency_list_reports!2738 with available licensed feature2739 parses blobs and add the results to the report2740 with different report format2741 parses blobs and add the results to the report2742 with disabled licensed feature2743 does NOT parse dependency list report2744 #collect_licenses_for_dependency_list!2745 with available licensed feature2746 parses blobs and add found license2747 with unavailable licensed feature2748 does not add licenses2749 #collect_metrics_reports!2750 when there is a metrics report2751 when license has metrics_reports2752 parses blobs and add the results to the report2753 when license does not have metrics_reports2754 does not parse metrics report2755 #collect_requirements_reports!2756 when there is a requirements report2757 when requirements are available2758 parses blobs and adds the results to the report2759 when requirements are not available2760 does not parse requirements report2761 #retryable?2762 with pipeline for merged results2763 is expected to equal true2764 .license_scan2765 returns only license artifacts2766 ci_secrets_management_available?2767 when build has no project2768 is expected to equal false2769 when secrets management feature is available2770 is expected to equal true2771 when secrets management feature is not available2772 is expected to equal false2773 #runner_required_feature_names2774 when secrets management feature is available2775 when there are secrets defined2776 is expected to include :vault_secrets2777 when there are no secrets defined2778 is expected not to include :vault_secrets2779 when secrets management feature is not available2780 when there are secrets defined2781 is expected not to include :vault_secrets2782 when there are no secrets defined2783 is expected not to include :vault_secrets2784 secrets management usage data2785 when secrets management feature is not available2786 does not track unique users2787 when secrets management feature is available2788 when there are secrets defined2789 on create2790 tracks unique users2791 on update2792 does not track unique users2793 when there are no secrets defined2794 does not track unique users2795 #validate_schema?2796 when the yaml variables does not have the configuration2797 is expected to be falsey2798 when the yaml variables has the configuration2799 when the configuration is set as `false`2800 is expected to be falsey2801 when the configuration is set as `true`2802 is expected to be truthy2803Ci::Pipeline2804 associations2805 is expected to have many security_scans class_name => Security::Scan2806 is expected to have many security_findings class_name => Security::Finding through security_scans source => findings2807 is expected to have many downstream_bridges2808 is expected to have many vulnerability_findings class_name => Vulnerabilities::Finding through vulnerabilities_finding_pipelines2809 is expected to have many vulnerabilities_finding_pipelines class_name => Vulnerabilities::FindingPipeline2810 is expected to have one dast_profiles_pipeline class_name => Dast::ProfilesPipeline2811 is expected to have one dast_profile class_name => Dast::Profile through dast_profiles_pipeline2812 .failure_reasons2813 contains failure reasons about exceeded limits2814 #batch_lookup_report_artifact_for_file_type2815 with security report artifact2816 when feature is available2817 returns the dependency_scanning artifact2818 when feature is not available2819 doesn't return the dependency_scanning artifact2820 with license scanning artifact2821 when feature is available2822 returns the license_scanning artifact2823 when feature is not available2824 doesn't return the license_scanning artifact2825 with browser performance artifact2826 when feature is available2827 returns the browser_performance artifact2828 when feature is not available2829 doesn't return the browser_performance artifact2830 with load performance artifact2831 when feature is available2832 returns the load_performance artifact2833 when feature is not available2834 doesn't return the load_performance artifact2835 #expose_license_scanning_data?2836 is expected to be truthy2837 #security_reports2838 when pipeline has multiple builds with security reports2839 assigns pipeline to the reports2840 returns security reports with collected data grouped as expected2841 when builds are retried2842 does not take retried builds into account2843 when the `report_types` parameter is provided2844 returns only the reports which are requested2845 when pipeline does not have any builds with security reports2846 returns empty security reports2847 ::Security::StoreScansWorker2848 when pipeline is succeeded2849 behaves like storing the security scans2850 when the security scans can be stored for the pipeline2851 schedules store security scans job2852 when the security scans can not be stored for the pipeline2853 does not schedule store security scans job2854 when pipeline is dropped2855 behaves like storing the security scans2856 when the security scans can be stored for the pipeline2857 schedules store security scans job2858 when the security scans can not be stored for the pipeline2859 does not schedule store security scans job2860 when pipeline is skipped2861 behaves like storing the security scans2862 when the security scans can be stored for the pipeline2863 schedules store security scans job2864 when the security scans can not be stored for the pipeline2865 does not schedule store security scans job2866 when pipeline is canceled2867 behaves like storing the security scans2868 when the security scans can be stored for the pipeline2869 schedules store security scans job2870 when the security scans can not be stored for the pipeline2871 does not schedule store security scans job2872 #license_scanning_reports2873 when pipeline has multiple builds with license scanning reports2874 returns a license scanning report with collected data2875 when builds are retried2876 does not take retried builds into account2877 when pipeline does not have any builds with license scanning reports2878 returns an empty license scanning report2879 #dependency_list_reports2880 when pipeline has a build with dependency list reports2881 returns a dependency list report with collected data2882 when builds are retried2883 does not take retried builds into account2884 when pipeline does not have any builds with dependency_list reports2885 returns an empty dependency_list report2886 #metrics_report2887 when pipeline has multiple builds with metrics reports2888 returns a metrics report with collected data2889 when pipeline has multiple builds with metrics reports that are retried2890 does not take retried builds into account2891 when pipeline does not have any builds with metrics reports2892 returns an empty metrics report2893 state machine transitions2894 on pipeline complete2895 from waiting_for_resource2896 schedules Ci::SyncReportsToReportApprovalRulesWorker2897 from preparing2898 schedules Ci::SyncReportsToReportApprovalRulesWorker2899 from pending2900 schedules Ci::SyncReportsToReportApprovalRulesWorker2901 from running2902 schedules Ci::SyncReportsToReportApprovalRulesWorker2903 when pipeline has downstream bridges2904 when transitioning to success2905 schedules the pipeline bridge worker2906 when transitioning to blocked2907 schedules the pipeline bridge worker2908 when pipeline project has downstream subscriptions2909 when pipeline runs on a tag2910 when feature is not available2911 does not schedule the trigger downstream subscriptions worker2912 when feature is available2913 schedules the trigger downstream subscriptions worker2914 #latest_merged_result_pipeline?2915 is expected to be truthy2916 when pipeline is not merge request pipeline2917 is expected to be falsy2918 when source sha is outdated2919 is expected to be falsy2920 when target sha is outdated2921 is expected to be falsy2922 #retryable?2923 with pipeline for merged results2924 is expected to equal true2925 #merge_train_pipeline?2926 is expected to be truthy2927 when ref is merge ref2928 is expected to be falsy2929 #merge_request_event_type2930 when pipeline is merge train pipeline2931 is expected to eq :merge_train2932 when pipeline is merge request pipeline2933 is expected to eq :merged_result2934 when pipeline is detached merge request pipeline2935 is expected to eq :detached2936 #latest_failed_security_builds2937 is expected to contain exactly #<Ci::Build status: "failed", finished_at: "2021-12-20 08:53:29.000000000 +0000", trace: nil, created...resource_at: nil, processed: false, scheduling_type: "stage", id: 373, stage_id: 265, tag_list: nil>2938 #license_scan_completed?2939 pipeline_status: :blocked, build_types: [:container_scanning], expected_status: false2940 is expected to eq false2941 pipeline_status: :blocked, build_types: [:cluster_image_scanning], expected_status: false2942 is expected to eq false2943 pipeline_status: :blocked, build_types: [:license_scan_v2_1, :container_scanning], expected_status: true2944 is expected to eq true2945 pipeline_status: :blocked, build_types: [:license_scan_v2_1], expected_status: true2946 is expected to eq true2947 pipeline_status: :blocked, build_types: [], expected_status: false2948 is expected to eq false2949 pipeline_status: :failed, build_types: [:container_scanning], expected_status: false2950 is expected to eq false2951 pipeline_status: :failed, build_types: [:cluster_image_scanning], expected_status: false2952 is expected to eq false2953 pipeline_status: :failed, build_types: [:license_scan_v2_1, :container_scanning], expected_status: true2954 is expected to eq true2955 pipeline_status: :failed, build_types: [:license_scan_v2_1], expected_status: true2956 is expected to eq true2957 pipeline_status: :failed, build_types: [], expected_status: false2958 is expected to eq false2959 pipeline_status: :running, build_types: [:container_scanning], expected_status: false2960 is expected to eq false2961 pipeline_status: :running, build_types: [:cluster_image_scanning], expected_status: false2962 is expected to eq false2963 pipeline_status: :running, build_types: [:license_scan_v2_1, :container_scanning], expected_status: true2964 is expected to eq true2965 pipeline_status: :running, build_types: [:license_scan_v2_1], expected_status: true2966 is expected to eq true2967 pipeline_status: :running, build_types: [], expected_status: false2968 is expected to eq false2969 pipeline_status: :success, build_types: [:container_scanning], expected_status: false2970 is expected to eq false2971 pipeline_status: :success, build_types: [:cluster_image_scanning], expected_status: false2972 is expected to eq false2973 pipeline_status: :success, build_types: [:license_scan_v2_1, :container_scanning], expected_status: true2974 is expected to eq true2975 pipeline_status: :success, build_types: [:license_scan_v2_1], expected_status: true2976 is expected to eq true2977 pipeline_status: :success, build_types: [], expected_status: false2978 is expected to eq false2979 #can_store_security_reports?2980 when the security reports can not be stored for the project2981 when the pipeline does not have security reports2982 is expected to be falsy2983 when the pipeline has security reports2984 is expected to be falsy2985 when the security reports can be stored for the project2986 when the pipeline does not have security reports2987 is expected to be falsy2988 when the pipeline has security reports2989 is expected to be truthy2990 #has_security_findings?2991 when the pipeline has security_findings2992 is expected to be truthy2993 when the pipeline does not have security_findings2994 is expected to be falsey2995 #triggered_for_ondemand_dast_scan?2996 when the feature flag is enabled2997 is expected to be truthy2998 when the pipeline only has the correct source2999 is expected to be falsey3000 when the pipeline only has the correct config_source3001 is expected to be falsey3002 #needs_touch?3003 when pipeline was updated less than 5 minutes ago3004 is expected to eq false3005 when pipeline was updated more than 5 minutes ago3006 is expected to eq true3007EpicIssues::CreateService3008 #execute3009 when epics feature is disabled3010 returns an error3011 no relationship is created3012 when epics feature is enabled3013 when user has permissions to link the issue3014 when the reference list is empty3015 returns an error3016 no relationship is created3017 does not create a system note3018 when there is an issue to relate3019 when shortcut for Issue is given3020 returns an error3021 no relationship is created3022 when a full reference is given3023 creates a new relationship and updates epic3024 orders the epic issue to the first place and moves the existing ones down3025 returns success status3026 does not perform N + 1 queries3027 async actions3028 creates 1 system note for epic and 1 system note for issue3029 creates a note for epic correctly3030 creates a note for issue correctly3031 records action on usage ping3032 when an issue link is given3033 creates a new relationship and updates epic3034 orders the epic issue to the first place and moves the existing ones down3035 returns success status3036 async actions3037 creates 1 system note for epic and 1 system note for issue3038 creates a note for epic correctly3039 creates a note for issue correctly3040 records action on usage ping3041 when a link of an issue in a subgroup is given3042 creates a new relationship and updates epic3043 orders the epic issue to the first place and moves the existing ones down3044 returns success status3045 async actions3046 creates 1 system note for epic and 1 system note for issue3047 creates a note for epic correctly3048 creates a note for issue correctly3049 records action on usage ping3050 when multiple valid issues are given3051 creates new relationships3052 places each issue at the start3053 orders the epic issues to the first place and moves the existing ones down3054 returns success status3055 creates 2 system notes for each issue3056 when there are invalid references3057 creates links only for valid references3058 returns error status3059 when assigning issuable which don't support epics3060 returns an error3061 no relationship is created3062 when user does not have permissions to link the issue3063 returns an error3064 no relationship is created3065 when assigning issue(s) to the same epic3066 no relationship is created3067 does not create notes3068 returns an error3069 when at least one of the issues is still not assigned to the epic3070 creates a new relationship and updates epic3071 orders the epic issue to the first place and moves the existing ones down3072 returns success status3073 async actions3074 creates 1 system note for epic and 1 system note for issue3075 creates a note for epic correctly3076 creates a note for issue correctly3077 records action on usage ping3078 when an issue is already assigned to another epic3079 does not create a new association3080 updates the existing association3081 returns success status3082 creates 3 system notes3083 updates both old and new epic milestone dates3084 creates a note correctly for the original epic3085 creates a note correctly for the new epic3086 creates a note correctly for the issue3087 when issue from non group project is given3088 returns an error3089 no relationship is created3090CI YML Templates3091 that support autodevops3092 template_name: "5-Minute-Production-App.gitlab-ci.yml"3093 are valid with default stages3094 require default stages to be included3095 template_name: "Android.gitlab-ci.yml"3096 are valid with default stages3097 require default stages to be included3098 template_name: "Android-Fastlane.gitlab-ci.yml"3099 are valid with default stages3100 require default stages to be included3101 template_name: "Auto-DevOps.gitlab-ci.yml"3102 are valid with default stages3103 require default stages to be included3104 template_name: "Bash.gitlab-ci.yml"3105 are valid with default stages3106 require default stages to be included3107 template_name: "C++.gitlab-ci.yml"3108 are valid with default stages3109 require default stages to be included3110 template_name: "Chef.gitlab-ci.yml"3111 are valid with default stages3112 require default stages to be included3113 template_name: "Clojure.gitlab-ci.yml"3114 are valid with default stages3115 require default stages to be included3116 template_name: "Code-Quality.gitlab-ci.yml"3117 are valid with default stages3118 require default stages to be included3119 template_name: "Composer.gitlab-ci.yml"3120 are valid with default stages3121 require default stages to be included3122 template_name: "Crystal.gitlab-ci.yml"3123 are valid with default stages3124 require default stages to be included3125 template_name: "Dart.gitlab-ci.yml"3126 are valid with default stages3127 require default stages to be included3128 template_name: "Deploy-ECS.gitlab-ci.yml"3129 are valid with default stages3130 require default stages to be included3131 template_name: "Django.gitlab-ci.yml"3132 are valid with default stages3133 require default stages to be included3134 template_name: "Docker.gitlab-ci.yml"3135 are valid with default stages3136 require default stages to be included3137 template_name: "Elixir.gitlab-ci.yml"3138 are valid with default stages3139 require default stages to be included3140 template_name: "Flutter.gitlab-ci.yml"3141 are valid with default stages3142 require default stages to be included3143 template_name: "Getting-Started.gitlab-ci.yml"3144 are valid with default stages3145 require default stages to be included3146 template_name: "Go.gitlab-ci.yml"3147 are valid with default stages3148 require default stages to be included3149 template_name: "Gradle.gitlab-ci.yml"3150 are valid with default stages3151 require default stages to be included3152 template_name: "Grails.gitlab-ci.yml"3153 are valid with default stages3154 require default stages to be included3155 template_name: "Indeni.Cloudrail.gitlab-ci.yml"3156 are valid with default stages3157 require default stages to be included3158 template_name: "Julia.gitlab-ci.yml"3159 are valid with default stages3160 require default stages to be included3161 template_name: "Kaniko.gitlab-ci.yml"3162 are valid with default stages3163 require default stages to be included3164 template_name: "LaTeX.gitlab-ci.yml"3165 are valid with default stages3166 require default stages to be included3167 template_name: "Laravel.gitlab-ci.yml"3168 are valid with default stages3169 require default stages to be included3170 template_name: "Managed-Cluster-Applications.gitlab-ci.yml"3171 are valid with default stages3172 require default stages to be included3173 template_name: "Maven.gitlab-ci.yml"3174 are valid with default stages3175 require default stages to be included3176 template_name: "Mono.gitlab-ci.yml"3177 are valid with default stages3178 require default stages to be included3179 template_name: "Nodejs.gitlab-ci.yml"3180 are valid with default stages3181 require default stages to be included3182 template_name: "OpenShift.gitlab-ci.yml"3183 are valid with default stages3184 require default stages to be included3185 template_name: "PHP.gitlab-ci.yml"3186 are valid with default stages3187 require default stages to be included3188 template_name: "Packer.gitlab-ci.yml"3189 are valid with default stages3190 require default stages to be included3191 template_name: "Python.gitlab-ci.yml"3192 are valid with default stages3193 require default stages to be included3194 template_name: "Ruby.gitlab-ci.yml"3195 are valid with default stages3196 require default stages to be included3197 template_name: "Rust.gitlab-ci.yml"3198 are valid with default stages3199 require default stages to be included3200 template_name: "Scala.gitlab-ci.yml"3201 are valid with default stages3202 require default stages to be included3203 template_name: "Serverless.gitlab-ci.yml"3204 are valid with default stages3205 require default stages to be included3206 template_name: "Swift.gitlab-ci.yml"3207 are valid with default stages3208 require default stages to be included3209 template_name: "dotNET.gitlab-ci.yml"3210 are valid with default stages3211 require default stages to be included3212 template_name: "dotNET-Core.gitlab-ci.yml"3213 are valid with default stages3214 require default stages to be included3215 template_name: "iOS-Fastlane.gitlab-ci.yml"3216 are valid with default stages3217 require default stages to be included3218 template_name: "npm.gitlab-ci.yml"3219 are valid with default stages3220 require default stages to be included3221 template_name: "Pages/Brunch.gitlab-ci.yml"3222 are valid with default stages3223 require default stages to be included3224 template_name: "Pages/Doxygen.gitlab-ci.yml"3225 are valid with default stages3226 require default stages to be included3227 template_name: "Pages/Gatsby.gitlab-ci.yml"3228 are valid with default stages3229 require default stages to be included3230 template_name: "Pages/HTML.gitlab-ci.yml"3231 are valid with default stages3232 require default stages to be included3233 template_name: "Pages/Harp.gitlab-ci.yml"3234 are valid with default stages3235 require default stages to be included3236 template_name: "Pages/Hexo.gitlab-ci.yml"3237 are valid with default stages3238 require default stages to be included3239 template_name: "Pages/Hugo.gitlab-ci.yml"3240 are valid with default stages3241 require default stages to be included3242 template_name: "Pages/Hyde.gitlab-ci.yml"3243 are valid with default stages3244 require default stages to be included3245 template_name: "Pages/JBake.gitlab-ci.yml"3246 are valid with default stages3247 require default stages to be included3248 template_name: "Pages/Jekyll.gitlab-ci.yml"3249 are valid with default stages3250 require default stages to be included3251 template_name: "Pages/Jigsaw.gitlab-ci.yml"3252 are valid with default stages3253 require default stages to be included3254 template_name: "Pages/Lektor.gitlab-ci.yml"3255 are valid with default stages3256 require default stages to be included3257 template_name: "Pages/Metalsmith.gitlab-ci.yml"3258 are valid with default stages3259 require default stages to be included3260 template_name: "Pages/Middleman.gitlab-ci.yml"3261 are valid with default stages3262 require default stages to be included3263 template_name: "Pages/Nanoc.gitlab-ci.yml"3264 are valid with default stages3265 require default stages to be included3266 template_name: "Pages/Octopress.gitlab-ci.yml"3267 are valid with default stages3268 require default stages to be included3269 template_name: "Pages/Pelican.gitlab-ci.yml"3270 are valid with default stages3271 require default stages to be included3272 template_name: "Pages/SwaggerUI.gitlab-ci.yml"3273 are valid with default stages3274 require default stages to be included3275 template_name: "Verify/Accessibility.gitlab-ci.yml"3276 are valid with default stages3277 require default stages to be included3278 template_name: "Verify/Browser-Performance.gitlab-ci.yml"3279 are valid with default stages3280 require default stages to be included3281 template_name: "Verify/FailFast.gitlab-ci.yml"3282 are valid with default stages3283 require default stages to be included3284 template_name: "Verify/Load-Performance-Testing.gitlab-ci.yml"3285 are valid with default stages3286 require default stages to be included3287 template_name: "Security/Cluster-Image-Scanning.gitlab-ci.yml"3288 are valid with default stages3289 require default stages to be included3290 template_name: "Security/Container-Scanning.gitlab-ci.yml"3291 are valid with default stages3292 require default stages to be included3293 template_name: "Security/Coverage-Fuzzing.gitlab-ci.yml"3294 are valid with default stages3295 require default stages to be included3296 template_name: "Security/DAST-On-Demand-Scan.gitlab-ci.yml"3297 are valid with default stages3298 require default stages to be included3299 template_name: "Security/DAST-Runner-Validation.gitlab-ci.yml"3300 are valid with default stages3301 require default stages to be included3302 template_name: "Security/Dependency-Scanning.gitlab-ci.yml"3303 are valid with default stages3304 require default stages to be included3305 template_name: "Security/License-Scanning.gitlab-ci.yml"3306 are valid with default stages3307 require default stages to be included3308 template_name: "Security/SAST.gitlab-ci.yml"3309 are valid with default stages3310 require default stages to be included3311 template_name: "Security/Secret-Detection.gitlab-ci.yml"3312 are valid with default stages3313 require default stages to be included3314 template_name: "Security/Secure-Binaries.gitlab-ci.yml"3315 are valid with default stages3316 require default stages to be included3317 that do not support autodevops3318 when DAST API template3319 with default stages3320 is expected not to be valid3321 with defined stages3322 is expected to be valid3323 require default stages to be included3324 when API Fuzzing template3325 with default stages3326 is expected not to be valid3327 with defined stages3328 is expected to be valid3329 require default stages to be included3330MergeRequest3331 associations3332 is expected to contain exactly #<MergeRequestBlock id: 1, blocking_merge_request_id: 30, blocked_merge_request_id: 31, created_at: "2021-12-20 17:05:36.180717355 +0000", updated_at: "2021-12-20 17:05:36.180717355 +0000">3333 is expected to be empty3334 is expected to be empty3335 is expected to contain exactly #<MergeRequestBlock id: 4, blocking_merge_request_id: 36, blocked_merge_request_id: 37, created_at: "2021-12-20 17:05:40.511172763 +0000", updated_at: "2021-12-20 17:05:40.511172763 +0000">3336 is expected to be empty3337 is expected to contain exactly #<MergeRequest id:41 namespace392/project388!1>3338 is expected to contain exactly #<MergeRequest id:42 namespace393/project389!1>3339 is expected to be empty3340 #mergeable? (blocking MRs)3341 checks MergeRequest#merge_blocked_by_other_mrs?3342 #merge_blocked_by_other_mrs?3343 licensed3344 is false for the blocking MR3345 is true for the blocked MR when the blocking MR is open3346 is true for the blocked MR when the blocking MR is closed3347 is false for the blocked MR when the blocking MR is merged3348 unlicensed3349 is false for the blocked MR3350 #visible_blocking_merge_requests3351 shows blocking MR to developer3352 hides block from guest3353 hides block from anonymous user3354 #visible_blocking_merge_request_refs3355 returns the references for the result of #visible_blocking_merge_requests3356 #hidden_blocking_merge_requests_count3357 returns 0 when all MRs are visible3358 MR is hidden3359 returns 1 when MR is unmerged by default3360 MR is merged3361 returns 0 by default3362 returns 1 when include_merged: true3363ApprovalRules::CreateService3364 when target is project3365 behaves like creatable3366 basic creation action3367 creates approval, excluding non-eligible users and groups3368 tracks creation event via a usage counter3369 when some users and groups are eligible3370 creates and includes eligible users and groups3371 when validation fails3372 returns error message3373 behaves like does not record an onboarding progress action3374 is expected not to receive new(*(any args)) 0 times3375 when user does not have right to admin project3376 returns error message3377 when approval rule with empty users and groups is being created3378 sets default attributes for any-approver rule3379 when any-approver rule exists3380 multiple approval rules are not enabled3381 removes the rule if a regular one is created3382 multiple approval rules are enabled3383 does not remove any approval rule3384 behaves like records an onboarding progress action3385 is expected to receive execute({:action=>:required_mr_approvals_enabled}) 1 time3386 when protected_branch_ids param is present3387 and multiple approval rules is enabled3388 associates the approval rule to the protected branch3389 but user cannot administer project3390 does not associate the approval rule to the protected branch3391 but protected branch is for another project3392 does not associate the approval rule to the protected branch3393 and multiple approval rules is disabled3394 does not associate the approval rule to the protected branch3395 with rule_type set to :report_approver3396 without report_type3397 is expected to eq :error3398 with report_type set to any of valid value3399 rule_name: "Vulnerability-Check", report_type: :vulnerability3400 is expected to eq :success3401 is expected to eq 13402 is expected to eq "report_approver"3403 rule_name: "License-Check", report_type: :license_scanning3404 is expected to eq :success3405 is expected to eq 13406 is expected to eq "report_approver"3407 rule_name: "Coverage-Check", report_type: :code_coverage3408 is expected to eq :success3409 is expected to eq 13410 is expected to eq "report_approver"3411 when target is merge request3412 behaves like creatable3413 basic creation action3414 creates approval, excluding non-eligible users and groups3415 tracks creation event via a usage counter3416 when some users and groups are eligible3417 creates and includes eligible users and groups3418 when validation fails3419 returns error message3420 behaves like does not record an onboarding progress action3421 is expected not to receive new(*(any args)) 0 times3422 when user does not have right to admin project3423 returns error message3424 when approval rule with empty users and groups is being created3425 sets default attributes for any-approver rule3426 when any-approver rule exists3427 multiple approval rules are not enabled3428 removes the rule if a regular one is created3429 multiple approval rules are enabled3430 does not remove any approval rule3431 behaves like records an onboarding progress action3432 is expected to receive execute({:action=>:required_mr_approvals_enabled}) 1 time3433 when project rule id is present3434 associates with project rule and copies its properites3435 when project rule includes no specific approvers3436 associates with project rule and copies its properties3437 when merge request includes empty approvers3438 sets any approver3439 when merge request overrides approvers3440 sets single user as the approver3441 when project rule is under the same project as MR3442 ignores assignment3443 does not copy properties from project rule3444Gitlab::Analytics::CycleAnalytics::Summary::Group::StageSummary3445 #new_issues3446 with from date3447 finds the number of issues created after it3448 returns the localized title3449 with subgroups3450 finds issues from them3451 with projects specified in options3452 finds issues from those projects3453 with `assignee_username` filter3454 finds issues from those projects3455 with `author_username` filter3456 finds issues from those projects3457 with `label_name` filter3458 finds issue with two labels3459 when `from` and `to` parameters are provided3460 finds issues from 5 days ago3461 with other projects3462 doesn't find issues from them3463 #deploys3464 with from date3465 finds the number of deploys made created after it3466 returns the localized title3467 with subgroups3468 finds deploys from them3469 with projects specified in options3470 shows deploys from those projects3471 when `from` and `to` parameters are provided3472 finds deployments from 5 days ago3473 with other projects3474 doesn't find deploys from them3475 #deployment_frequency3476 includes the unit: `per day`3477 when `to` is nil3478 includes range until now3479 when `to` is given3480 returns deployment frequency within `from` and `to` range3481MergeRequests::PushOptionsHandlerService3482 `assign` push option3483 behaves like with a new branch3484 adds an error to the service3485 behaves like a service that does not create a merge request3486 is expected not to change `MergeRequest.count`3487 behaves like when coupled with the `create` push option3488 behaves like a service that can create a merge request3489 creates a merge request with the correct target branch3490 when project has been forked3491 sets the correct source and target project3492 behaves like a service that can change assignees of a merge request3493 changes assignee count3494 behaves like with an existing branch but no open MR3495 adds an error to the service3496 behaves like a service that does not create a merge request3497 is expected not to change `MergeRequest.count`3498 behaves like when coupled with the `create` push option3499 behaves like a service that can create a merge request3500 creates a merge request with the correct target branch3501 when project has been forked3502 sets the correct source and target project3503 behaves like a service that can change assignees of a merge request3504 changes assignee count3505 behaves like with an existing branch that has a merge request open3506 behaves like a service that does not create a merge request3507 is expected not to change `MergeRequest.count`3508 behaves like a service that can change assignees of a merge request3509 changes assignee count3510 `unassign` push option3511 behaves like with a new branch3512 adds an error to the service3513 behaves like a service that does not create a merge request3514 is expected not to change `MergeRequest.count`3515 behaves like when coupled with the `create` push option3516 behaves like a service that can create a merge request3517 creates a merge request with the correct target branch3518 when project has been forked3519 sets the correct source and target project3520 behaves like a service that can change assignees of a merge request3521 changes assignee count3522 behaves like with an existing branch but no open MR3523 adds an error to the service3524 behaves like a service that does not create a merge request3525 is expected not to change `MergeRequest.count`3526 behaves like when coupled with the `create` push option3527 behaves like a service that can create a merge request3528 creates a merge request with the correct target branch3529 when project has been forked3530 sets the correct source and target project3531 behaves like a service that can change assignees of a merge request3532 changes assignee count3533 behaves like with an existing branch that has a merge request open3534 behaves like a service that does not create a merge request3535 is expected not to change `MergeRequest.count`3536 behaves like a service that can change assignees of a merge request3537 changes assignee count3538RedoBackfillNamespaceAncestryIdsForIssues3539 migration_options3540 has migration options set3541 .migrate3542 when migration is already completed3543 does not modify data3544 migration process3545 updates all documents3546 only updates documents missing a field3547 processes in batches3548 .completed?3549 when documents are missing field3550 is expected not to be completed3551 when no documents are missing field3552 is expected to be completed3553Git::BranchPushService3554 with pull project3555 deleted branch3556 handles when remote branch exists3557 ElasticSearch indexing3558 runs ElasticCommitIndexerWorker3559 triggers indexer when push to default branch3560 when push to non-default branch3561 does not trigger indexer when push to non-default branch3562 when limited indexing is on3563 when the project is not enabled specifically3564 does not run ElasticCommitIndexerWorker3565 when a project is enabled specifically3566 runs ElasticCommitIndexerWorker3567 when a group is enabled3568 runs ElasticCommitIndexerWorker3569 External pull requests3570 runs UpdateExternalPullRequestsWorker3571 when project is not mirror3572 does nothing3573 when param skips pipeline creation3574 does nothing3575Note3576 behaves like an editable mentionable with EE-specific mentions3577 creates new cross-reference notes when the mentionable text is edited3578 behaves like a mentionable with EE-specific mentions3579 extracts references from its reference property3580 creates cross-reference notes3581 #readable_by?3582 note created after epic3583 behaves like users with note access3584 returns true3585 when group is private3586 returns visible but not readable for a non-member user3587 returns visible but not readable for a nil user3588 behaves like users with note access3589 returns true3590 when note is older than epic3591 behaves like users with note access3592 returns true3593 behaves like users without note access3594 returns false3595 when group is private3596 behaves like users with note access3597 returns true3598 behaves like users without note access3599 returns false3600 #system_note_with_references?3601 delegates relate_epic system note to the cross-reference regex3602 delegates unrelate_epic system note to the cross-reference regex3603 #resource_parent3604 returns group for epic notes3605 .by_humans3606 excludes notes by bots and service users3607 .count_for_vulnerability_id3608 counts notes by vulnerability id3609 #skip_notification?3610 when there is no review3611 when the note is not for vulnerability3612 is expected to be falsey3613 when the note is for vulnerability3614 is expected to be truthy3615 when the review exists3616 when the note is not for vulnerability3617 is expected to be truthy3618 when the note is for vulnerability3619 is expected to be truthy3620ProtectedBranch3621 associations3622 is expected to have many required_code_owners_sections class_name => ProtectedBranch::RequiredCodeOwnersSection3623 behaves like uniqueness validation3624 while checking uniqueness of a role-based merge access level3625 allows a single merge access level for a role (per protected branch)3626 does not count a user-based merge access level with an `access_level` set3627 does not count a group-based merge access level with an `access_level` set3628 while checking uniqueness of a user-based merge access level3629 allows a single merge access level for a user (per protected branch)3630 ignores the `access_level` while validating a user-based merge access level3631 while checking uniqueness of a group-based merge access level3632 allows a single merge access level for a group (per protected branch)3633 ignores the `access_level` while validating a group-based merge access level3634 behaves like uniqueness validation3635 while checking uniqueness of a role-based push access level3636 allows a single push access level for a role (per protected branch)3637 does not count a user-based push access level with an `access_level` set3638 does not count a group-based push access level with an `access_level` set3639 while checking uniqueness of a user-based push access level3640 allows a single push access level for a user (per protected branch)3641 ignores the `access_level` while validating a user-based push access level3642 while checking uniqueness of a group-based push access level3643 allows a single push access level for a group (per protected branch)3644 ignores the `access_level` while validating a group-based push access level3645 #code_owner_approval_required3646 when the attr code_owner_approval_required is true3647 returns true3648 returns false when the project doesn't require approvals3649 when the attr code_owner_approval_required is false3650 returns false3651 #can_unprotect?3652 without unprotect_access_levels3653 doesn't add any additional restriction3654 with access level set to MAINTAINER3655 defaults to requiring maintainer access3656 with access level set to ADMIN3657 prevents access to maintainers3658 grants access to admins3659 multiple access levels3660 grants access if any grant access3661Projects::GroupLinks::CreateService#execute3662 audit events3663 when licensed3664 does not log audit event if operation fails3665 when operation succeeds3666 logs an audit event3667 logs the audit event info3668 when not licensed3669 does not log audit event3670 when project is in sso enforced group3671 when invited group is outside top group3672 does not add group to project3673 when invited group is in the top group3674 adds group to project3675 when project is deeper in the hierarchy and group is in the top group3676 adds group to project3677 when invited group is outside top group3678 does not add group to project3679 when project is forked from group with enforced SSO3680 when invited group is outside top group3681 does not add group to project3682 returns error status and message3683 when invited group is in the top group3684 adds group to project3685 when project is forked to group with enforced sso3686 when invited group is outside top group3687 does not add group to project3688 when invited group is in the top group3689 adds group to project3690StoreSecurityReportsWorker3691 #secret_detection_vulnerability_found?3692 is expected to equal true3693 #revoke_secret_detection_token?3694 visibility: :public, token_revocation_enabled: true, secret_detection_vulnerability_found: true3695 is expected to eql true3696 visibility: :public, token_revocation_enabled: true, secret_detection_vulnerability_found: false3697 is expected to eql false3698 visibility: :public, token_revocation_enabled: false, secret_detection_vulnerability_found: true3699 is expected to eql false3700 visibility: :public, token_revocation_enabled: false, secret_detection_vulnerability_found: false3701 is expected to eql false3702 visibility: :private, token_revocation_enabled: true, secret_detection_vulnerability_found: true3703 is expected to eql false3704 visibility: :private, token_revocation_enabled: true, secret_detection_vulnerability_found: false3705 is expected to eql false3706 visibility: :private, token_revocation_enabled: false, secret_detection_vulnerability_found: true3707 is expected to eql false3708 visibility: :private, token_revocation_enabled: false, secret_detection_vulnerability_found: false3709 is expected to eql false3710 visibility: nil, token_revocation_enabled: true, secret_detection_vulnerability_found: true3711 is expected to eql false3712 visibility: nil, token_revocation_enabled: true, secret_detection_vulnerability_found: false3713 is expected to eql false3714 visibility: nil, token_revocation_enabled: false, secret_detection_vulnerability_found: true3715 is expected to eql false3716 visibility: nil, token_revocation_enabled: false, secret_detection_vulnerability_found: false3717 is expected to eql false3718 #perform3719 when at least one security report feature is enabled3720 report_type: :sast3721 scans security reports for token revocation3722 when the `security_report_ingestion_framework` feature is enabled3723 executes IngestReportsService for given pipeline3724 when the `security_report_ingestion_framework` feature is disabled3725 executes StoreReportsService for given pipeline3726 report_type: :dast3727 scans security reports for token revocation3728 when the `security_report_ingestion_framework` feature is enabled3729 executes IngestReportsService for given pipeline3730 when the `security_report_ingestion_framework` feature is disabled3731 executes StoreReportsService for given pipeline3732 report_type: :dependency_scanning3733 scans security reports for token revocation3734 when the `security_report_ingestion_framework` feature is enabled3735 executes IngestReportsService for given pipeline3736 when the `security_report_ingestion_framework` feature is disabled3737 executes StoreReportsService for given pipeline3738 report_type: :container_scanning3739 scans security reports for token revocation3740 when the `security_report_ingestion_framework` feature is enabled3741 executes IngestReportsService for given pipeline3742 when the `security_report_ingestion_framework` feature is disabled3743 executes StoreReportsService for given pipeline3744 report_type: :cluster_image_scanning3745 scans security reports for token revocation3746 when the `security_report_ingestion_framework` feature is enabled3747 executes IngestReportsService for given pipeline3748 when the `security_report_ingestion_framework` feature is disabled3749 executes StoreReportsService for given pipeline3750 when security reports feature is not available3751 does not execute StoreReportsService3752Security::OrchestrationPolicyRuleSchedule3753 associations3754 is expected to belong to owner class_name => User required: false3755 is expected to belong to security_orchestration_policy_configuration class_name => Security::OrchestrationPolicyConfiguration required: false3756 validations3757 is expected to validate that :owner cannot be empty/falsy3758 is expected to validate that :security_orchestration_policy_configuration cannot be empty/falsy3759 is expected to validate that :cron cannot be empty/falsy3760 is expected to validate that :policy_index cannot be empty/falsy3761 is expected to validate that :rule_index cannot be empty/falsy3762 .runnable_schedules3763 when there are runnable schedules3764 returns the runnable schedule3765 when there are no runnable schedules3766 returns an empty array3767 when there are runnable schedules in future3768 returns an empty array3769 #policy3770 when policy is present3771 is expected to eq {:actions=>[{:scan=>"dast", :scanner_profile=>"Scanner Profile", :site_profile=>"Site Profile"}], :de...heduled DAST 1", :rules=>[{:branches=>["production"], :cadence=>"*/20 * * * *", :type=>"schedule"}]}3772 when policy is not present3773 is expected to be nil3774 when policy is not enabled3775 is expected to be nil3776 #applicable_branches3777 when branches does not exist3778 is expected to be empty3779 when branches is empty3780 is expected to be empty3781 when some of the branches exists3782 is expected to eq ["feature-a"]3783 when branches with wildcards matches3784 is expected to eq ["feature-a", "feature-b"]3785 when policy is not present3786 is expected to be empty3787 when policy rules are not present3788 is expected to be empty3789 #applicable_clusters3790 when applicable rule contains clusters configuration3791 is expected to eq {:"production-cluster"=>{:namespaces=>["production-namespace"]}}3792 when applicable rule does not contain clusters configuration3793 is expected to be nil3794 #for_cluster?3795 when applicable rule contains clusters configuration3796 is expected to eq true3797 when applicable rule does not contain clusters configuration3798 is expected to eq false3799 #set_next_run_at3800 behaves like handles set_next_run_at3801 when schedule runs every minute3802 updates next_run_at to the worker's execution time3803 when there are two different schedules in the same time zones3804 sets the sames next_run_at3805 when cron is updated for existing schedules3806 updates next_run_at automatically3807Ci::Minutes::TrackLiveConsumptionService3808 #execute3809 when build is not running3810 behaves like returns early3811 returns an error response3812 when runner is not of instance type3813 behaves like returns early3814 returns an error response3815 when cost factor is not enabled for build3816 behaves like returns early3817 returns an error response3818 when namespace has unlimited minutes3819 behaves like returns early3820 returns an error response3821 when build has not been tracked recently3822 considers the current consumption as zero3823 when build has been tracked recently3824 behaves like limit not exceeded3825 does not drop the build3826 when current consumption exceeds the limit but not the grace period3827 behaves like limit not exceeded3828 does not drop the build3829 when current consumption exceeds the limit and the grace period3830 behaves like limit exceeded3831 drops the build3832 logs event3833 when namespace is on a trial hosted plan3834 behaves like limit exceeded3835 drops the build3836 logs event3837 when namespace is on a paid plan3838 behaves like limit exceeded3839 drops the build3840 logs event3841 #live_consumption3842 when build has not been tracked3843 is expected to be zero3844 when build has been tracked once3845 returns the consumption since last update3846 when build has been tracked multiple times3847 accumulates the consumption over different runs3848Board3849 is expected to includes the EE::Board module3850 relationships3851 is expected to belong to milestone required: false3852 is expected to belong to iteration required: false3853 is expected to have one board_assignee3854 is expected to have one assignee through board_assignee3855 is expected to have many board_labels3856 is expected to have many labels through board_labels3857 is expected to have many user_preferences3858 is expected to have many boards_epic_user_preferences class_name => Boards::EpicUserPreference3859 validations3860 when group is present3861 is expected not to validate that :project cannot be empty/falsy3862 is expected to validate that :group cannot be empty/falsy3863 when project is present3864 is expected to validate that :project cannot be empty/falsy3865 is expected not to validate that :group cannot be empty/falsy3866 milestone3867 returns nil when the feature is not available3868 when the feature is available3869 returns Milestone::None for started milestone id3870 returns Milestone::Any for started milestone id3871 returns Milestone::Upcoming for upcoming milestone id3872 returns Milestone::Started for started milestone id3873 returns milestone for valid milestone id3874 iteration3875 returns nil when the feature is not available3876 when the feature is available3877 returns Iteration::Predefined::None, when iteration_id is None.id3878 returns Iteration::Predefined::Any, when iteration_id is Any.id3879 returns ::Iteration::Predefined::Current, when iteration_id is Current.id3880 returns iteration for valid iteration id3881 returns nil for invalid iteration id3882 #scoped?3883 returns true when milestone is not nil AND is not "Any milestone"3884 returns true when weight is not nil AND is not "Any weight"3885 returns true when any label exists3886 returns true when assignee is present3887 returns false when feature is not available3888 returns false when board is not scoped3889IssuesFinder3890 #execute3891 scope: all3892 filter by scoped label wildcard3893 when scoped labels are unavailable3894 does not return any results3895 when project scope is not given3896 does not return any results3897 with a single wildcard filter3898 returns issues that have labels that match the wildcard3899 with multiple wildcard filters3900 returns issues that have labels that match both wildcards3901 combined with a regular label filter3902 returns issues that have labels that match the wildcard and the regular label3903 with nested prefix3904 returns issues that have labels that match the prefix3905 with overlapping prefixes3906 returns issues that have labels that match both prefixes3907 using NOT3908 returns issues that do not have labels that match the wildcard3909 filter by weight3910 filter issues with no weight3911 returns all issues3912 filter issues with any weight3913 returns all issues3914 filter issues with a specific weight3915 returns all issues3916 filer issues by negated weight3917 filters out issues with the specified weight3918 filtering by assignee IDs3919 returns issues assigned to those users3920 filter by username3921 behaves like assignee username filter3922 returns issuables assigned to those users3923 behaves like assignee NOT username filter3924 returns issuables not assigned to those users3925 filter by epic3926 filter issues with no epic3927 returns filtered issues3928 filter issues by epic3929 when include_subepics param is not included3930 returns all issues in the epic, subepic issues excluded3931 when include_subepics param is set to true3932 returns all issues in the epic including subepic issues3933 filter issues with any epic3934 returns filtered issues3935 filter issues not in the epic3936 returns issues not assigned to the epic3937 filter by iteration3938 filter issues with no iteration3939 returns all issues without iterations3940 filter issues with any iteration3941 returns filtered issues3942 filter issues by current iteration3943 when no current iteration is found3944 returns no issues3945 when current iteration exists3946 returns filtered issues3947 filter by negated current iteration3948 returns filtered issues3949 filter issues by iteration3950 returns all issues with the iteration3951 filter issues by multiple iterations3952 returns all issues with the iteration3953 filter issue by iteration title3954 returns all issues with the iteration title3955 filter issue by negated iteration title3956 returns all issues that do not match the iteration title3957 without iteration_id param3958 returns unfiltered issues3959 with hidden issues3960 for an auditor3961 when no project filter is given3962 returns all issues3963 when searching within a specific project3964 returns all issues3965AppSec::Dast::Profiles::UpdateService3966 execute3967 when on demand scan licensed feature is not available3968 communicates failure3969 when the feature is enabled3970 when the user cannot run a DAST scan3971 communicates failure3972 when the user can run a DAST scan3973 audits the update3974 without dast_profile_schedule param3975 communicates success3976 updates the dast_profile3977 does not try to create or update the dast_profile_schedule3978 ignores the dast_profile_schedule3979 with dast_profile_schedule param3980 when associated schedule is not present3981 creates a new schedule3982 returns the success status3983 audits the creation3984 when associated schedule is present3985 updates the dast profile schedule3986 creates the audit event3987 when the owner is valid3988 does not updates the schedule owner3989 when the owner was deleted3990 updates the schedule owner3991 audits the owner change3992 when the owner permission was downgraded3993 updates the schedule owner3994 audits the owner change3995 when the owner was removed from the project3996 updates the schedule owner3997 audits the owner change3998 when param run_after_update: true3999 creates a ci_pipeline4000 behaves like it delegates scan creation to another service4001 calls AppSec::Dast::Scans::CreateService4002 when dast_profile param is missing4003 communicates failure4004SystemNotes::EpicsService4005 #epic_issue4006 issue added to an epic4007 creates the note text correctly4008 behaves like a system note4009 has the correct attributes4010 issue removed from an epic4011 creates the note text correctly4012 behaves like a system note4013 has the correct attributes4014 #issue_on_epic4015 issue added to an epic4016 creates the note text correctly4017 behaves like a system note4018 has the correct attributes4019 issue removed from an epic4020 creates the note text correctly4021 behaves like a system note4022 has the correct attributes4023 invalid type4024 raises an error4025 #change_epic_date_note4026 when start date was changed4027 sets the note text4028 behaves like a system note4029 has the correct attributes4030 when start date was removed4031 sets the note text4032 behaves like a system note4033 has the correct attributes4034 #issue_promoted4035 note on the epic4036 sets the note text4037 behaves like a system note4038 has the correct attributes4039 note on the issue4040 sets the note text4041 behaves like a system note4042 has the correct attributes4043 #change_epics_relation4044 relate epic4045 behaves like a system note4046 has the correct attributes4047 when epic is added as child to a parent epic4048 sets the note text4049 when added epic is from a subgroup4050 sets the note text4051 unrelate epic4052 behaves like a system note4053 has the correct attributes4054 when child epic is removed from a parent epic4055 sets the note text4056 when removed epic is from a subgroup4057 sets the note text4058Security::FindingsFinder4059 #execute4060 when the pipeline does not have security findings4061 is expected to be nil4062 when the pipeline has security findings4063 N+1 queries4064 does not cause N+1 queries4065 #current_page4066 when the page is not provided4067 is expected to equal 14068 when the page is provided4069 is expected to equal 24070 #limit_value4071 when the per_page is not provided4072 is expected to equal 204073 when the per_page is provided4074 is expected to equal 1004075 #total_pages4076 when the per_page is not provided4077 is expected to equal 14078 when the per_page is provided4079 is expected to equal 34080 #total_count4081 when the scope is not provided4082 is expected to equal 84083 when the scope is provided as `all`4084 is expected to equal 84085 #next_page4086 when the page is not provided4087 is expected to equal 24088 when the page is provided4089 is expected to be nil4090 #prev_page4091 when the page is not provided4092 is expected to be nil4093 when the page is provided4094 is expected to equal 14095 #vulnerability_flags4096 with no vulnerability flags present4097 does not have any vulnerability flag4098 with some vulnerability flags present4099 has some vulnerability_findings with vulnerability flag4100 does not have any vulnerability_flag if license is not available4101 #findings4102 with the default parameters4103 is expected to contain exactly "4ae096451135db224b9e16818baaca8096896522", "0bfcfbb70b15a7cecef9a1ea39df15ecfd88949f", "157f362acf654c60e224400f59a088e1c01b369f", "b9c0d1cdc7cb9c180ebb6981abbddc2df0172509", "baf3e36cda35331daed7a3e80155533d552844fa", "3204893d5894c74aaee86ce5bc28427f9f14e512", "98366a28fa80b23a1dafe2b36e239a04909495c4", and "9a644ee1b89ac29d6175dc1170914f47b0531635"4104 when the page is provided4105 is expected to contain exactly "0bfcfbb70b15a7cecef9a1ea39df15ecfd88949f" and "baf3e36cda35331daed7a3e80155533d552844fa"4106 when the per_page is provided4107 is expected to contain exactly "4ae096451135db224b9e16818baaca8096896522"4108 when the `severity_levels` is provided4109 is expected to contain exactly "0bfcfbb70b15a7cecef9a1ea39df15ecfd88949f", "9a644ee1b89ac29d6175dc1170914f47b0531635", "b9c0d1cdc7cb9c180ebb6981abbddc2df0172509", and "baf3e36cda35331daed7a3e80155533d552844fa"4110 when the `confidence_levels` is provided4111 is expected to contain exactly "98366a28fa80b23a1dafe2b36e239a04909495c4"4112 when the `report_types` is provided4113 is expected to contain exactly "3204893d5894c74aaee86ce5bc28427f9f14e512", "157f362acf654c60e224400f59a088e1c01b369f", and "4ae096451135db224b9e16818baaca8096896522"4114 when the `scope` is provided as `all`4115 is expected to contain exactly "4ae096451135db224b9e16818baaca8096896522", "157f362acf654c60e224400f59a088e1c01b369f", "baf3e36cda35331daed7a3e80155533d552844fa", "0bfcfbb70b15a7cecef9a1ea39df15ecfd88949f", "98366a28fa80b23a1dafe2b36e239a04909495c4", "b9c0d1cdc7cb9c180ebb6981abbddc2df0172509", "3204893d5894c74aaee86ce5bc28427f9f14e512", and "9a644ee1b89ac29d6175dc1170914f47b0531635"4116 when there is a retried build4117 is expected to contain exactly "3204893d5894c74aaee86ce5bc28427f9f14e512", "157f362acf654c60e224400f59a088e1c01b369f", and "4ae096451135db224b9e16818baaca8096896522"4118 when the `security_findings` records have `overridden_uuid`s4119 is expected to contain exactly "4ae096451135db224b9e16818baaca8096896522", "0bfcfbb70b15a7cecef9a1ea39df15ecfd88949f", "157f362acf654c60e224400f59a088e1c01b369f", "b9c0d1cdc7cb9c180ebb6981abbddc2df0172509", "baf3e36cda35331daed7a3e80155533d552844fa", "3204893d5894c74aaee86ce5bc28427f9f14e512", "98366a28fa80b23a1dafe2b36e239a04909495c4", and "9a644ee1b89ac29d6175dc1170914f47b0531635"4120 when a build has more than one security report artifacts4121 is expected to contain exactly "0cac4e1f5f407998454dd6af2052d548bad058f5"4122ProjectWiki4123 searches wiki page4124 indexes4125 can delete wiki pages4126 #use_elasticsearch?4127 delegates to Project#use_elasticsearch?4128EE::NamespacesHelper4129 #ci_minutes_progress_bar4130 shows a green bar if percent is 04131 shows a green bar if percent is lower than 704132 shows a yellow bar if percent is 704133 shows a yellow bar if percent is higher than 70 and lower than 954134 shows a red bar if percent is 954135 shows a red bar if percent is higher than 100 and caps the value to 1004136 #ci_minutes_report4137 rendering monthly minutes report4138 when ci minutes quota is not enabled4139 and the namespace is eligible for unlimited4140 returns Unlimited for the limit section4141 and the namespace is not eligible for unlimited4142 returns Not supported for the limit section4143 when it's limited4144 returns the proper values for used and limit sections4145 rendering purchased minutes report4146 when extra minutes are assigned4147 when minutes used is higher than monthly minutes limit4148 returns the proper values for used and limit sections4149 when minutes used is lower than monthly minutes limit4150 returns the proper values for used and limit sections4151 when extra minutes are not assigned4152 returns the proper values for used and limit sections4153 #temporary_storage_increase_visible?4154 when enforce_namespace_storage_limit setting enabled4155 when current_user is admin of namespace4156 is expected to eq true4157 when feature flag is disabled4158 is expected to eq false4159 when current_user is not the admin of namespace4160 is expected to eq false4161 when enforce_namespace_storage_limit setting disabled4162 when current_user is admin of namespace4163 is expected to eq false4164 #buy_additional_minutes_path4165 is expected to eq "/-/subscriptions/buy_minutes?selected_group=1001"4166 new_route_ci_minutes_purchase4167 when is disabled4168 is expected to eq "https://customers.staging.gitlab.com/buy_pipeline_minutes"4169 when new_route_ci_minutes_purchase is enabled only for a specific namespace4170 returns the default purchase path for the disabled namespace4171 returns GitLab purchase path for the disabled namespace4172 when called for a personal namespace4173 returns the default purchase4174 #buy_storage_path4175 is expected to eq "/-/subscriptions/buy_storage?selected_group=1008"4176 new_route_storage_purchase4177 when is disabled4178 is expected to eq "https://customers.staging.gitlab.com/buy_storage"4179 when new_route_storage_purchase is enabled only for a specific namespace4180 returns the default purchase path for the disabled namespace4181 returns GitLab purchase path for the disabled namespace4182 when called for a personal namespace4183 returns the default purchase4184 #buy_additional_minutes_target4185 new_route_ci_minutes_purchase4186 when is disabled4187 is expected to eq "_blank"4188 when is enabled4189 is expected to eq "_self"4190 when is enabled only for a specific namespace4191 returns _blank for the disabled namespace4192 returns _self for the disabled namespace4193 when called for a personal namespace4194 returns _blank4195MergeRequestApproverPresenter4196 #render4197 displays committers4198 approvals_required is low4199 returns the top n committers4200 #any?4201 returns true if any user exists4202 returns false if no user exists4203 caches loaded users4204 #render_user4205 renders link4206 #show_code_owner_tips?4207 when code_owner feature enabled and code owner is empty4208 returns true4209 when code_owner feature enabled and code owner is not empty4210 returns false4211 when code_owner feature is disabled4212 returns false4213BulkImports::Groups::Pipelines::EpicsPipeline4214 #run4215 imports group epics into destination group4216 imports epic award emoji4217 imports epic notes4218 imports epic labels4219 imports epic system note metadata4220 #load4221 when epic is not persisted4222 saves the epic4223 when epic is missing4224 returns4225 pipeline parts4226 is expected to includes the BulkImports::NdjsonPipeline module4227 is expected to includes the BulkImports::Pipeline::Runner module4228 has extractor4229Vulnerabilities::ManuallyCreateService4230 with an authorized user with proper permissions4231 with valid parameters4232 does not exceed query limit4233 creates a new Vulnerability4234 creates a Vulnerability with correct attributes4235 creates associated objects4236 creates all objects with correct attributes4237 with custom external_type and external_id4238 uses them to create a Vulnerabilities::Identifier4239 when Scanner already exists4240 does not create a new Scanner4241 when Identifier already exists4242 does not create a new Identifier4243 when state fields match state4244 creates Vulnerability in a different state with timestamps4245 when state fields don't match state4246 returns an error4247 with invalid parameters4248 returns an error4249 when user does not have rights to dismiss a vulnerability4250 raises an "access denied" error4251StatusPage::ProjectSetting4252 associations4253 is expected to belong to project required: false4254 validations4255 is expected not to validate that :status_page_url cannot be empty/falsy4256 is expected to validate that :aws_s3_bucket_name cannot be empty/falsy4257 is expected to validate that the length of :aws_s3_bucket_name is between 3 and 634258 is expected to validate that :aws_region cannot be empty/falsy4259 is expected to validate that :aws_access_key cannot be empty/falsy4260 is expected to validate that :encrypted_aws_secret_key cannot be empty/falsy4261 status_page_url4262 disallows invalid urls for status_page_url4263 allows valid urls for status_page_url4264 aws_s3_bucket_name4265 is expected to allow :aws_s3_bucket_name to be ‹"bucket-name"›4266 is expected to allow :aws_s3_bucket_name to be ‹"3ucket-name"›4267 is expected to allow :aws_s3_bucket_name to be ‹"bucket.name"›4268 is expected to allow :aws_s3_bucket_name to be ‹"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"›4269 is expected to allow :aws_s3_bucket_name to be ‹"111111111111111111111111111111111111111111111111111111111111111"›4270 is expected not to allow :aws_s3_bucket_name to be ‹"Bucket-name"›4271 is expected not to allow :aws_s3_bucket_name to be ‹"bucKet-Name"›4272 is expected not to allow :aws_s3_bucket_name to be ‹"bb"›4273 is expected not to allow :aws_s3_bucket_name to be ‹"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"›4274 aws_access_key4275 is expected to allow :aws_access_key to be ‹"AAAAAAAAAAAAAAAAAAAA"›4276 is expected to allow :aws_access_key to be ‹"11111111111111111111"›4277 is expected not to allow :aws_access_key to be ‹"AAAAAAAAAAAAAAAAAAA"›4278 is expected not to allow :aws_access_key to be ‹"1111111111111111111"›4279 is expected not to allow :aws_access_key to be ‹"AAAAAAAAAAAAAAAAAAAAA"›4280 is expected not to allow :aws_access_key to be ‹"111111111111111111111"›4281 aws_secret_key4282 tests the validation4283 existing setting4284 passes validation and removes changes if setting to masked key4285 attribute encryption4286 token4287 encrypts original value into encrypted_token attribute4288 #masked_aws_secret_key4289 is expected to eq "****************************************"4290 when no secret saved4291 is expected to eq nil4292 #enabled?4293 is expected to eq true4294 when status page setting is disabled4295 is expected to eq false4296 when license is not available4297 is expected to eq false4298 #normalized_status_page_url4299 when status_page_url exists4300 is expected to eq "https://status.gitlab.com/#/"4301 when status_page_url is blank4302 is expected to be nil4303 when status_page_url is nil4304 is expected to be nil4305 when status_page_url contains trailing slash4306 is expected to eq "https://status.gitlab.com/#/"4307 when status_page_url contains trailing hash-navigator4308 is expected to eq "https://status.gitlab.com/#/"4309 when status_page_url matches expected url4310 is expected to eq "https://status.gitlab.com/#/"4311 #storage_client4312 when status page settings is enabled4313 is expected to be an instance of Gitlab::StatusPage::Storage::S3Client4314 when not enabled4315 is expected to be nil4316Iterations::CreateService4317 for projects4318 behaves like iterations create service4319 iterations feature enabled4320 #execute4321 valid params4322 creates an iteration4323 invalid params4324 does not create an iteration but returns errors4325 no permissions4326 is not allowed4327 iterations feature disabled4328 #execute4329 is not allowed4330 for groups4331 group without cadences4332 behaves like iterations create service4333 iterations feature enabled4334 #execute4335 valid params4336 creates an iteration4337 invalid params4338 does not create an iteration but returns errors4339 no permissions4340 is not allowed4341 iterations feature disabled4342 #execute4343 is not allowed4344 group with a cadence4345 behaves like iterations create service4346 iterations feature enabled4347 #execute4348 valid params4349 creates an iteration4350 invalid params4351 does not create an iteration but returns errors4352 no permissions4353 is not allowed4354 iterations feature disabled4355 #execute4356 is not allowed4357 group with multiple cadences4358 behaves like iterations create service4359 iterations feature enabled4360 #execute4361 valid params4362 creates an iteration4363 invalid params4364 does not create an iteration but returns errors4365 no permissions4366 is not allowed4367 iterations feature disabled4368 #execute4369 is not allowed4370 with specific cadence being passed as param4371 valid params4372 creates an iteration4373Ci::SubscribeBridgeService4374 #execute4375 when the upstream project exists4376 when the upstream project has a pipeline4377 when the user has permissions4378 populates the pipeline project source4379 persists the bridge4380 when the pipeline already finished4381 mirrors the pipeline status to the bridge job instantly4382 when the user does not have permissions4383 drops the bridge4384 when the upstream project does not have a pipeline4385 skips the bridge4386 when the upstream project does not exist4387 drops the bridge4388Gitlab::Ci::Parsers::Security::DependencyScanning4389 #parse!4390 report_format: :dependency_scanning, occurrence_count: 4, identifier_count: 7, scanner_count: 3, file_path: "app/pom.xml", package_name: "io.netty/netty", package_version: "3.9.1.Final", version: "1.3"4391 parses all identifiers and findings4392 generates expected location4393 generates expected metadata_version4394 report_format: :dependency_scanning_deprecated, occurrence_count: 4, identifier_count: 7, scanner_count: 2, file_path: "app/pom.xml", package_name: "io.netty/netty", package_version: "3.9.1.Final", version: "1.3"4395 parses all identifiers and findings4396 generates expected location4397 generates expected metadata_version4398 report_format: :dependency_scanning_remediation, occurrence_count: 2, identifier_count: 3, scanner_count: 1, file_path: "yarn.lock", package_name: "debug", package_version: "1.0.5", version: "2.0"4399 parses all identifiers and findings4400 generates expected location4401 generates expected metadata_version4402 when parsing a vulnerability with a missing location4403 is expected not to raise Exception4404 when parsing a vulnerability with a missing cve4405 is expected not to raise Exception4406 when vulnerabilities have remediations4407 generates occurrence with expected remediation4408Epics::TransferService4409 #execute4410 when old_group is present4411 when user can create epics in the new group4412 recreates the missing group epics in the new group4413 does not recreate missing epics that are not applied to issues4414 when epic is from an descendant group4415 recreates the missing epic in the new group4416 when create_epic returns nil4417 removes issues epic4418 when assigned epic is confidential4419 creates a new confidential epic in the new group4420 when user is a guest of the new group4421 does not create a new epic but removes assigned epic4422 when epics are disabled4423 does not create a new epic4424 when old_group is not present4425 returns nil4426 when project group is not present4427 returns nil4428IncidentManagement::OncallSchedule4429 .associations4430 is expected to belong to project required: false4431 is expected to have many rotations inverse_of => schedule4432 is expected to have many participants through rotations4433 .validations4434 is expected to validate that :name cannot be empty/falsy4435 is expected to validate that the length of :name is at most 2004436 is expected to validate that the length of :description is at most 10004437 is expected to validate that :timezone cannot be empty/falsy4438 is expected to validate that :timezone is either ‹"Etc/GMT+12"›, ‹"Pacific/Pago_Pago"›, ‹"Pacific/Midway"›, ‹"Pacific/Honolulu"›, ‹"America/Juneau"›, ‹"America/Los_Angeles"›, ‹"America/Tijuana"›, ‹"America/Phoenix"›, ‹"America/Chihuahua"›, ‹"America/Mazatlan"›, ‹"America/Denver"›, ‹"America/Guatemala"›, ‹"America/Chicago"›, ‹"America/Mexico_City"›, ‹"America/Mexico_City"›, ‹"America/Monterrey"›, ‹"America/Regina"›, ‹"America/Bogota"›, ‹"America/New_York"›, ‹"America/Indiana/Indianapolis"›, ‹"America/Lima"›, ‹"America/Lima"›, ‹"America/Halifax"›, ‹"America/Caracas"›, ‹"America/Guyana"›, ‹"America/La_Paz"›, ‹"America/Puerto_Rico"›, ‹"America/Santiago"›, ‹"America/St_Johns"›, ‹"America/Sao_Paulo"›, ‹"America/Argentina/Buenos_Aires"›, ‹"America/Godthab"›, ‹"America/Montevideo"›, ‹"Atlantic/South_Georgia"›, ‹"Atlantic/Azores"›, ‹"Atlantic/Cape_Verde"›, ‹"Europe/London"›, ‹"Europe/Lisbon"›, ‹"Europe/London"›, ‹"Africa/Monrovia"›, ‹"Etc/UTC"›, ‹"Europe/Amsterdam"›, ‹"Europe/Belgrade"›, ‹"Europe/Berlin"›, ‹"Europe/Zurich"›, ‹"Europe/Bratislava"›, ‹"Europe/Brussels"›, ‹"Europe/Budapest"›, ‹"Africa/Casablanca"›, ‹"Europe/Copenhagen"›, ‹"Europe/Dublin"›, ‹"Europe/Ljubljana"›, ‹"Europe/Madrid"›, ‹"Europe/Paris"›, ‹"Europe/Prague"›, ‹"Europe/Rome"›, ‹"Europe/Sarajevo"›, ‹"Europe/Skopje"›, ‹"Europe/Stockholm"›, ‹"Europe/Vienna"›, ‹"Europe/Warsaw"›, ‹"Africa/Algiers"›, ‹"Europe/Zagreb"›, ‹"Europe/Zurich"›, ‹"Europe/Athens"›, ‹"Europe/Bucharest"›, ‹"Africa/Cairo"›, ‹"Africa/Harare"›, ‹"Europe/Helsinki"›, ‹"Asia/Jerusalem"›, ‹"Europe/Kaliningrad"›, ‹"Europe/Kiev"›, ‹"Africa/Johannesburg"›, ‹"Europe/Riga"›, ‹"Europe/Sofia"›, ‹"Europe/Tallinn"›, ‹"Europe/Vilnius"›, ‹"Asia/Baghdad"›, ‹"Europe/Istanbul"›, ‹"Asia/Kuwait"›, ‹"Europe/Minsk"›, ‹"Europe/Moscow"›, ‹"Africa/Nairobi"›, ‹"Asia/Riyadh"›, ‹"Europe/Moscow"›, ‹"Europe/Volgograd"›, ‹"Asia/Tehran"›, ‹"Asia/Muscat"›, ‹"Asia/Baku"›, ‹"Asia/Muscat"›, ‹"Europe/Samara"›, ‹"Asia/Tbilisi"›, ‹"Asia/Yerevan"›, ‹"Asia/Kabul"›, ‹"Asia/Yekaterinburg"›, ‹"Asia/Karachi"›, ‹"Asia/Karachi"›, ‹"Asia/Tashkent"›, ‹"Asia/Kolkata"›, ‹"Asia/Kolkata"›, ‹"Asia/Kolkata"›, ‹"Asia/Kolkata"›, ‹"Asia/Colombo"›, ‹"Asia/Kathmandu"›, ‹"Asia/Almaty"›, ‹"Asia/Dhaka"›, ‹"Asia/Dhaka"›, ‹"Asia/Urumqi"›, ‹"Asia/Rangoon"›, ‹"Asia/Bangkok"›, ‹"Asia/Bangkok"›, ‹"Asia/Jakarta"›, ‹"Asia/Krasnoyarsk"›, ‹"Asia/Novosibirsk"›, ‹"Asia/Shanghai"›, ‹"Asia/Chongqing"›, ‹"Asia/Hong_Kong"›, ‹"Asia/Irkutsk"›, ‹"Asia/Kuala_Lumpur"›, ‹"Australia/Perth"›, ‹"Asia/Singapore"›, ‹"Asia/Taipei"›, ‹"Asia/Ulaanbaatar"›, ‹"Asia/Tokyo"›, ‹"Asia/Tokyo"›, ‹"Asia/Seoul"›, ‹"Asia/Tokyo"›, ‹"Asia/Yakutsk"›, ‹"Australia/Adelaide"›, ‹"Australia/Darwin"›, ‹"Australia/Brisbane"›, ‹"Australia/Melbourne"›, ‹"Pacific/Guam"›, ‹"Australia/Hobart"›, ‹"Australia/Melbourne"›, ‹"Pacific/Port_Moresby"›, ‹"Australia/Sydney"›, ‹"Asia/Vladivostok"›, ‹"Asia/Magadan"›, ‹"Pacific/Noumea"›, ‹"Pacific/Guadalcanal"›, ‹"Asia/Srednekolymsk"›, ‹"Pacific/Auckland"›, ‹"Pacific/Fiji"›, ‹"Asia/Kamchatka"›, ‹"Pacific/Majuro"›, ‹"Pacific/Auckland"›, ‹"Pacific/Chatham"›, ‹"Pacific/Tongatapu"›, ‹"Pacific/Apia"›, or ‹"Pacific/Fakaofo"›4439 when the oncall schedule with the same name exists4440 has validation errors4441 scopes4442 .for_project4443 is expected to contain exactly #<IncidentManagement::OncallSchedule id: 2, created_at: "2021-12-20 17:12:21.155050073 +0000", update...ct_id: 791, iid: 1, name: "On-call Schedule #1", description: [FILTERED], timezone: "Europe/Berlin">4444 behaves like AtomicInternalId4445 .has_internal_id4446 Module inclusion4447 is expected to includes the AtomicInternalId module4448 Validation4449 when presence validation is required4450 when creating an object4451 raises an error if the internal id is blank4452 when updating an object4453 raises an error if the internal id is blank4454 when presence validation is not required4455 when creating an object4456 does not raise an error if the internal id is blank (PENDING: No reason given)4457 when updating an object4458 does not raise an error if the internal id is blank (PENDING: No reason given)4459 Creating an instance4460 saves a new instance properly4461 internal id generation4462 calls InternalId.generate_next and sets internal id attribute4463 does not overwrite an existing internal id4464 when the instance has an internal ID set4465 calls InternalId.update_last_value and sets the `last_value` to that of the instance4466 unsetting the instance internal id on rollback4467 when the internal id has been changed4468 when the internal id is automatically set4469 clears it on the instance4470 when the internal id is manually set4471 does not clear it on the instance4472 when the internal id has not been changed4473 preserves the value on the instance4474 supply of internal ids4475 provides a persistent supply of IID values, sensitive to the current state4476 #reset_scope_internal_id_attribute4477 rewinds the allocated IID4478 allocates the same IID4479 .for_iid4480 returns only records with that IID4481NetworkPolicies::ResourcesService4482 #execute4483 returns success response with policies from the deployment namespace4484 behaves like tracking unique hll events4485 tracks unique event4486 without deployment_platform4487 returns error response4488 with Kubeclient::HttpError related to network policies4489 returns error response4490 with Kubeclient::HttpError related to cilium network policies4491 returns error response4492 without environment_id4493 returns success response with policies from two deployment namespaces4494 with a partial successful response4495 returns error response for the platforms with failures4496 returns error response with the policies for all successful platforms4497Secure-Binaries.gitlab-ci.yml4498 is expected not to be nil4499 the created pipeline4500 dast4501 behaves like an offline image download job4502 creates the job4503 sets SECURE_BINARIES_ANALYZER_VERSION to the correct version4504 dast-runner-validation4505 behaves like an offline image download job4506 creates the job4507 sets SECURE_BINARIES_ANALYZER_VERSION to the correct version4508 sets SECURE_BINARIES_IMAGE explicitly4509Gitlab::Auth::Smartcard::Certificate4510 #find_or_create_user4511 user and smartcard identity already exist4512 behaves like an existing user4513 finds existing user4514 does not create new user4515 user exists but smartcard identity does not4516 associates the new smartcard identity with the user4517 behaves like an existing user4518 finds existing user4519 does not create new user4520 behaves like a new smartcard identity4521 creates smartcard identity4522 user exists but it is using a new smartcard4523 keeps both identities for the user4524 behaves like an existing user4525 finds existing user4526 does not create new user4527 behaves like a new smartcard identity4528 creates smartcard identity4529 user and smartcard identity do not exist4530 calls Users::BuildService with correct params4531 behaves like creates user4532 is expected to eql "gitlab-user@random-corp.org"4533 when the current minimum password length is different from the default minimum password length4534 behaves like creates user4535 is expected to eql "gitlab-user@random-corp.org"4536 behaves like a new smartcard identity4537 creates smartcard identity4538 username generation4539 uses CN from certificate4540 creates user with correct username4541 avoids conflicting namespaces4542 creates user with correct usnername4543 san email defined4544 creates user4545 behaves like a valid certificate is required4546 invalid certificate4547 returns nil4548 incorrect certificate4549 returns nil4550 behaves like a certificate store4551 .store4552 loads CA bundle4553 uses correct method4554 without valid CA file4555 raises error4556Gitlab::Ci::Parsers::Security::ContainerScanning4557 #parse!4558 when improved_container_scan_matching is disabled4559 behaves like report4560 parses all identifiers and findings for unapproved vulnerabilities4561 generates expected location4562 generates expected metadata_version4563 adds report image's name to raw_metadata4564 when not on default branch4565 does not include default_branch_image4566 when improved_container_scan_matching is enabled4567 behaves like report4568 parses all identifiers and findings for unapproved vulnerabilities4569 generates expected location4570 generates expected metadata_version4571 adds report image's name to raw_metadata4572 when on default branch4573 does not include default_branch_image in location4574 when not on default branch4575 includes default_branch_image in location4576IssuablePolicy4577 #rules4578 in a public project4579 disallows non-members from creating and deleting metric images4580 allows guests to read, create metric images, and delete them in their own issues4581 allows reporters to create and delete metric images4582 Timeline events4583 allows non-members to read time line events4584 when timeline events are not available4585 disallows guests from reading timeline events4586 in a private project4587 disallows non-members from creating and deleting metric images4588 allows guests to read metric images, and create + delete in their own issues4589 allows reporters to create and delete metric images4590 Timeline events4591 disallows non-members from reading timeline events4592 allows guests to read time line events4593 when timeline events are not available4594 disallows guests from reading timeline events4595Dast::SiteProfileSecretVariable4596 behaves like CI variable4597 is expected to includes the Ci::HasVariable module4598 strips whitespaces when assigning key4599 can convert to runner variable4600 variable type4601 defines variable types4602 defaults variable type to env_var4603 supports variable type file4604 constants4605 MAX_ENCODED_VALUE_LENGTH4606 correctly expresses the relationship between input and encoded length4607 associations4608 is expected to belong to dast_site_profile required: false4609 validations4610 is expected to be valid4611 is expected to includes the Ci::Maskable module4612 is expected to includes the Ci::HasVariable module4613 is expected to validate that :dast_site_profile_id cannot be empty/falsy4614 is expected to validate that :masked is ‹true›4615 is expected to validate that :key is case-sensitively unique within the scope of :dast_site_profile_id, producing a custom validation error on failure4616 only allows records where variable_type=env_var4617 #value4618 when the value is over the limit4619 is not valid4620 raises a database level error4621 when value is under the limit4622 is valid4623 does not raise database level error4624 #masked4625 defaults to true4626 #project4627 delegates to dast_site_profile4628 #raw_value=4629 pre-encodes the value4630 #value=4631 raises an error because #raw_value= should be used instead4632 #variable_type4633 defaults to env_var4634Resolvers::BoardGroupings::EpicsResolver4635 #resolve4636 when user can not see epics4637 does not return epics4638 when user can access the group4639 finds all epics for issues in the project board4640 finds all epics for issues in the group board4641 finds only epics for issues matching issue filters4642 finds only epics for issues matching search param4643 accepts negated issue params4644 raises an exception if both epic_id and epic_wildcard_id are present4645 accepts epic global id4646 accepts epic wildcard id4647Gitlab::Auth::Ldap::User4648 includes the EE module4649 #initialize4650 when there is one external group4651 when there is another user in the external group4652 when the user is in the external group4653 sets the user's external flag to true4654 when the user is not in the external group4655 sets the user's external flag to false4656 when there are no other users in the external group4657 when the user is in the external group4658 sets the user's external flag to true4659 when the user is not in the external group4660 sets the user's external flag to false4661 with "user_default_external" application setting4662 user_default_external: true, user_default_internal_regex: nil, user_is_in_external_group: false, expected_to_be_external: false4663 sets the user's external flag appropriately4664 user_default_external: true, user_default_internal_regex: "example.com", user_is_in_external_group: false, expected_to_be_external: false4665 sets the user's external flag appropriately4666 user_default_external: true, user_default_internal_regex: nil, user_is_in_external_group: true, expected_to_be_external: true4667 sets the user's external flag appropriately4668 user_default_external: true, user_default_internal_regex: "example.com", user_is_in_external_group: true, expected_to_be_external: true4669 sets the user's external flag appropriately4670 user_default_external: false, user_default_internal_regex: nil, user_is_in_external_group: false, expected_to_be_external: false4671 sets the user's external flag appropriately4672 user_default_external: false, user_default_internal_regex: "example.com", user_is_in_external_group: false, expected_to_be_external: false4673 sets the user's external flag appropriately4674 user_default_external: false, user_default_internal_regex: nil, user_is_in_external_group: true, expected_to_be_external: true4675 sets the user's external flag appropriately4676 user_default_external: false, user_default_internal_regex: "example.com", user_is_in_external_group: true, expected_to_be_external: true4677 sets the user's external flag appropriately4678 when there is more than one external group4679 when the user is in an external group4680 sets the user's external flag to true4681 when the user is not in an external group4682 sets the user's external flag to false4683 when there are no external groups4684 sets the user's external flag to false4685 when the user_default_external application setting is true4686 does not set the external flag to false4687 #find_user4688 behaves like finding user when user cap is set4689 when a sign-up user cap has been set4690 when the user cap has been reached4691 does not activate the user4692 when the user cap has not been reached4693 when the user can be activated based on user cap4694 activates the user4695 when the query behind .user_cap_reached? times out4696 does not activate the user4697 when the user cannot be activated based on user cap4698 does not activate the user4699AdjournedProjectsDeletionCronWorker4700 #perform4701 only schedules to delete projects marked for deletion before number of days from settings4702 when two projects are scheduled for deletion4703 schedules the second job 10 seconds after the first4704 marked for deletion exectly before number of days from settings4705 schedules to delete project4706 when settings are set to not-default number of days4707 only schedules to delete projects marked for deletion before number of days from settings4708Members::InviteService4709 #execute4710 with group plan4711 already exceeded invite quota limit4712 behaves like quota limit exceeded4713 limits the number of daily invites allowed4714 will exceed invite quota limit4715 behaves like quota limit exceeded4716 limits the number of daily invites allowed4717 within invite quota limit4718 successfully creates members4719 infinite invite quota limit4720 successfully creates members4721 without a plan4722 successfully creates members4723 with Audit Event logging4724 when there are valid members created4725 creates Audit Events4726 when there are some invalid members4727 only creates Audit Events for valid members4728SubscriptionPresenter4729 #plan4730 is expected to eq "ultimate"4731 #notify_admins?4732 is false when remaining days is nil4733 remaining days more than 30 is false4734 remaining days less than 30 is true4735 #notify_users?4736 is expected to equal false4737 #block_changes_at4738 is expected to eq Tue, 03 Jan 20234739 when end_date is nil4740 is nil4741 #block_changes?4742 end_date is nil4743 is expected to equal false4744 is not expired4745 is false4746 is expired4747 is not past grace period4748 is false4749 is past grace period4750 is true4751 #will_block_changes?4752 when end_date exists4753 is expected to equal true4754 when end_date does not exist4755 is false4756 #remaining_days4757 is nil when end_date is nil4758 returns the number of days between end_date and today4759 is 0 if expired4760Security::Ingestion::Tasks::IngestVulnerabilityStatistics4761 #execute4762 when there is no statistics record for the project4763 when there are no new vulnerabilities4764 does not create a new Vulnerabilities::Statistic record4765 when there are new vulnerabilities4766 creates a new Vulnerabilities::Statistic record4767 sets the correct attributes for the recently created record4768 when there is already a statistics record for the project4769 when there are no new vulnerabilities4770 does not create a new record and does not change the existing record4771 when there are new vulnerabilities4772 does not create a new record and updates the existing one4773Mutations::Vulnerabilities::CreateExternalIssueLink4774 #resolve4775 for JIRA external tracker and CREATED issue link4776 when the project can have external issue links4777 when user does not have access to the project4778 raises an error4779 when user has access to the project4780 when issue creation fails4781 returns empty external issue link4782 returns error collection4783 when issue creation succeeds4784 returns empty external issue link4785 returns empty error collection4786AuditEventPresenter4787 exposes the date4788 exposes the action4789 exposes the author4790 gets the event author name4791 event authored by a user that exists4792 returns a url4793 event authored by a user that no longer exists4794 when `author_name` is not included in the details4795 does not return a url4796 when `author_name` is included in the details and not in the author_name column4797 shows the author name as provided in the details4798 #target4799 delegates to the model object4800 exposes the ip address4801 exposes the database value by default4802 survives a round trip from JSON4803 exposes the object4804 returns the object path if it exists4805 returns the stored name if it has been deleted4806 returns the object url if it exists4807 returns no object url if it has been deleted4808EpicIssues::UpdateService4809 #execute4810 when moving issues between different epics4811 returns an error4812 does not change the relative_position values4813 moving issue to the first position4814 when some positions are close to each other4815 orders issues correctly4816 when there is enough place between positions4817 orders issues correctly4818 moving issue to the third position4819 when some positions are close to each other4820 orders issues correctly4821 when all positions are same4822 orders affected 2 issues correctly4823 when there is enough place between positions4824 orders issues correctly4825 moving issues to the last position4826 when index of the last possition is correct4827 orders issues correctly4828Issues::ExportCsvService4829 includes4830 handling epics4831 with epics disabled4832 does not include epics information4833 with epics enabled4834 epic ID4835 epic Title4836 when epic and issue are not from same group hierarchy4837 epic ID4838 epic Title4839Subscriptions::CreateService4840 #execute4841 when failing to create a customer4842 returns the response hash4843 does not save oauth token4844 when successfully creating a customer4845 creates a subscription with the returned authentication token4846 saves oauth token4847 creates oauth token with correct application id4848 when failing to create a subscription4849 returns the response hash4850 behaves like does not record an onboarding progress action4851 is expected not to receive new(*(any args)) 0 times4852 when successfully creating a subscription4853 returns the response hash4854 passing the correct parameters to the client4855 passes the correct parameters for creating a customer4856 passes the correct parameters for creating a subscription4857 with add-on purchase4858 without active subscription4859 passes the correct parameters for creating a subscription4860 with active subscription4861 passes the correct parameters for creating a subscription4862 behaves like records an onboarding progress action4863 is expected to receive execute({:action=>:subscription_created}) 1 time4864ApprovalWrappedAnyApproverRule4865 #approved?4866 #approvals_approvers4867 contains every approved user4868 when an author and a committer approved4869 does not contain an author4870 #commented_approvers4871 returns an array4872 returns an array of approvers who have commented4873Security::SecurityOrchestrationPolicies::CiConfigurationService4874 #execute4875 when action is valid4876 when scan type is secret_detection4877 returns prepared CI configuration with Secret Detection scans4878 behaves like with template name for scan type4879 fetches template content using ::TemplateFinder4880 when scan type is cluster_image_scanning4881 returns prepared CI configuration for Cluster Image Scanning4882 behaves like with template name for scan type4883 fetches template content using ::TemplateFinder4884 when scan type is container_scanning4885 returns prepared CI configuration for Container Scanning4886 behaves like with template name for scan type4887 fetches template content using ::TemplateFinder4888 when scan type is sast4889 returns prepared CI configuration for SAST4890 when variables are empty4891 returns prepared CI configuration for SAST4892 when action is invalid4893 returns prepared CI configuration with error script4894NamespaceLimit4895 is expected to belong to namespace required: false4896 #temporary_storage_increase_enabled?4897 when date is not set4898 is expected to eq false4899 when temporary storage increase end date is today4900 is expected to eq true4901 when feature is disabled4902 is expected to eq false4903 when temporary storage increase end date is exceeded4904 is expected to eq false4905 #eligible_for_temporary_storage_increase?4906 when usage ratio is above the threshold4907 is expected to eq true4908 when feature flag :temporary_storage_increase disabled4909 is expected to eq false4910 when feature flag :namespace_storage_limit disabled4911 is expected to eq false4912 when feature flag :namespace_storage_limit disabled4913 is expected to eq true4914 when usage ratio is below the threshold4915 is expected to eq false4916 when feature flag :namespace_storage_limit disabled4917 is expected to eq false4918 validations4919 is expected to validate that :namespace cannot be empty/falsy4920 namespace_is_root_namespace4921 when associated namespace is root4922 is expected to be valid4923 when associated namespace is not root4924 is invalid4925 temporary_storage_increase_set_once4926 when temporary_storage_increase_ends_on was nil4927 can be set4928 when temporary_storage_increase_ends_on is already set4929 can not be set again4930 temporary_storage_increase_eligibility4931 when storage usage is above threshold4932 is expected to be valid4933 when feature flag :namespace_storage_limit disabled4934 is expected to be valid4935 when storage usage is below threshold4936 is invalid4937 when feature flag :namespace_storage_limit disabled4938 is invalid4939ReleaseHighlight4940 .load_items4941 whats new for current tier only4942 returns all items4943 whats new for current tier only4944 with no license4945 returns items with package=Free4946 with Starter license4947 returns items with package=Free4948 with Premium license4949 returns items with package=Premium4950 with Ultimate license4951 returns items with package=Ultimate4952 .current_package4953 returns package for no license4954 returns package for Starter license4955 returns package for Premium license4956 returns package for Ultimate license4957PersonalAccessTokens::Instance::PolicyWorker4958 #perform4959 when a token is valid4960 doesn't revoked valid tokens4961 when limit is nil4962 doesn't revoked valid tokens4963 doesn't call the revoke invalid service4964 invalid tokens4965 PATs of users that do not belong to a managed group4966 when a token doesn't have an expiration time4967 enforces the policy on tokens4968 when a token expires after the limit4969 enforces the policy on tokens4970 PATs of users that belongs to a managed group4971 when the group has set a PAT expiry policy4972 PAT invalid as per the instance PAT expiration policy4973 does not revoke the PAT4974 PAT invalid as per the group PAT expiration policy4975 does not revoke the PAT4976 when the group has not set a PAT expiry policy4977 PAT invalid as per the instance PAT expiration policy4978 revokes the PAT4979 PAT valid as per the instance PAT expiration policy4980 does not revoke the PAT4981Mutations::DastSiteProfiles::Create4982 is expected to require graphql authorizations :create_on_demand_dast_scan4983 #resolve4984 when on demand scan feature is enabled4985 when the project does not exist4986 raises an exception4987 when the user can run a dast scan4988 creates a dast_site_profile and dast_site_profile_secret_variables4989 returns the dast_site_profile id4990 calls the dast_site_profile creation service4991 when the project name already exists4992 returns an error4993 when variable creation fails4994 returns an error and the dast_site_profile4995EE::TrialRegistrationHelper4996 #social_signin_enabled?4997 com: true, omniauth_enabled: true, omniauthable: true, button_based_providers_enabled: true4998 is expected to eq true4999 com: true, omniauth_enabled: true, omniauthable: true, button_based_providers_enabled: false5000 is expected to eq false5001 com: true, omniauth_enabled: true, omniauthable: false, button_based_providers_enabled: true5002 is expected to eq false5003 com: true, omniauth_enabled: true, omniauthable: false, button_based_providers_enabled: false5004 is expected to eq false5005 com: true, omniauth_enabled: false, omniauthable: true, button_based_providers_enabled: true5006 is expected to eq false5007 com: true, omniauth_enabled: false, omniauthable: true, button_based_providers_enabled: false5008 is expected to eq false5009 com: true, omniauth_enabled: false, omniauthable: false, button_based_providers_enabled: true5010 is expected to eq false5011 com: true, omniauth_enabled: false, omniauthable: false, button_based_providers_enabled: false5012 is expected to eq false5013 com: false, omniauth_enabled: true, omniauthable: true, button_based_providers_enabled: true5014 is expected to eq false5015 com: false, omniauth_enabled: true, omniauthable: true, button_based_providers_enabled: false5016 is expected to eq false5017 com: false, omniauth_enabled: true, omniauthable: false, button_based_providers_enabled: true5018 is expected to eq false5019 com: false, omniauth_enabled: true, omniauthable: false, button_based_providers_enabled: false5020 is expected to eq false5021 com: false, omniauth_enabled: false, omniauthable: true, button_based_providers_enabled: true5022 is expected to eq false5023 com: false, omniauth_enabled: false, omniauthable: true, button_based_providers_enabled: false5024 is expected to eq false5025 com: false, omniauth_enabled: false, omniauthable: false, button_based_providers_enabled: true5026 is expected to eq false5027 com: false, omniauth_enabled: false, omniauthable: false, button_based_providers_enabled: false5028 is expected to eq false5029Ci::JobArtifacts::DestroyAllExpiredService5030 .execute5031 when artifact is expired5032 when artifact is not locked5033 destroys job artifact and the security finding5034 when artifact is locked5035 does not destroy job artifact5036 when artifact is not expired5037 does not destroy expired job artifacts5038 when artifact is permanent5039 does not destroy expired job artifacts5040 when failed to destroy artifact5041 raises an exception but destroys the security_finding object regardless5042 when there are artifacts more than batch sizes5043 destroys all expired artifacts5044 when some artifacts are locked5045 destroys only unlocked artifacts5046GroupSaml::Identity::DestroyService5047 prevents future Group SAML logins5048 does not use a transaction5049 uses a transaction when transactional is set5050 removes access to the group5051 doesn't remove the last group owner5052 logs an audit event5053Gitlab::Audit::Auditor5054 .audit5055 when recording multiple events5056 interacts with the event queue in correct order5057 bulk-inserts audit events to database5058 records audit events in correct order5059 logs audit events to database5060 logs audit events to file5061 when recording single event5062 logs audit event to database5063 logs audit events to file5064 when audit events are invalid5065 tracks error5066 does not throw exception5067Repositories::HousekeepingService5068 behaves like housekeeps repository5069 with a clean redis state5070 #execute5071 enqueues a sidekiq job5072 yields the block if given5073 resets counter after execution5074 runs the task specifically requested5075 when no lease can be obtained5076 does not enqueue a job5077 does not reset pushes_since_gc5078 does not yield5079 task type5080 goes through all three housekeeping tasks, executing only the highest task when there is overlap5081 #needed?5082 when the count is low enough5083 when the count is high enough5084 #increment!5085 increments the pushes_since_gc counter5086DependencyListEntity5087 behaves like report list5088 #as_json5089 with success build5090 with provided items5091 has array of items with status ok5092 with no items5093 has empty array of items with status no_items5094 with failed build5095 with authorized user5096 has job_path with status failed_job5097 without authorized user5098 has only status failed_job5099 with no build5100 has status job_not_set_up and no job_path5101AlertManagement::AlertsFinder#execute5102 #execute5103 filtering by domain5104 domain: "threat_monitoring", license_enabled: true, alerts: [:cilium_alert]5105 is expected to contain exactly #<AlertManagement::Alert id:5 namespace958/project970^alert#2>5106 domain: "threat_monitoring", license_enabled: false, alerts: :general_alert5107 is expected to contain exactly #<AlertManagement::Alert id:4 namespace958/project970^alert#1>5108 domain: "operations", license_enabled: true, alerts: :general_alert5109 is expected to contain exactly #<AlertManagement::Alert id:4 namespace958/project970^alert#1>5110 domain: "operations", license_enabled: false, alerts: :general_alert5111 is expected to contain exactly #<AlertManagement::Alert id:4 namespace958/project970^alert#1>5112 domain: "unknown", license_enabled: true, alerts: :general_alert5113 is expected to contain exactly #<AlertManagement::Alert id:4 namespace958/project970^alert#1>5114 domain: "unknown", license_enabled: false, alerts: :general_alert5115 is expected to contain exactly #<AlertManagement::Alert id:4 namespace958/project970^alert#1>5116 domain: nil, license_enabled: true, alerts: :general_alert5117 is expected to contain exactly #<AlertManagement::Alert id:4 namespace958/project970^alert#1>5118 domain: nil, license_enabled: false, alerts: :general_alert5119 is expected to contain exactly #<AlertManagement::Alert id:4 namespace958/project970^alert#1>5120LdapGroupSyncWorker5121 #perform5122 with the default license key5123 syncs a single group when group_id is present5124 creates a proxy for syncing a single provider5125 without a license key5126 does not sync groups5127 #sync_groups5128 syncs a group when it was found without a proxy5129 syncs with an existing proxy when one was given5130 #sync_group5131 syncs a single provider when a provider was given5132 syncs all providers when no proxy was given5133NotesHelpers5134 #find_noteable5135 #find_noteable5136 returns the expected epic5137 raises not found exception when epic does not belong to group5138GitlabSubscriptions::PlanUpgradeService5139 #execute5140 when the response is a failure5141 returns nil values5142 when the response is successful5143 eligible: true, assisted_id: "111", free_id: "222", plan_id: "111"5144 returns the correct values5145 eligible: true, assisted_id: nil, free_id: "222", plan_id: "222"5146 returns the correct values5147 eligible: true, assisted_id: "111", free_id: nil, plan_id: "111"5148 returns the correct values5149 eligible: true, assisted_id: nil, free_id: nil, plan_id: nil5150 returns the correct values5151 eligible: false, assisted_id: "111", free_id: "222", plan_id: "111"5152 returns the correct values5153 eligible: false, assisted_id: "111", free_id: nil, plan_id: "111"5154 returns the correct values5155 eligible: false, assisted_id: nil, free_id: "222", plan_id: "222"5156 returns the correct values5157 eligible: nil, assisted_id: "111", free_id: "222", plan_id: nil5158 returns the correct values5159Resolvers::IncidentManagement::OncallRotationsResolver5160 is expected to have nullable GraphQL type IncidentManagementOncallRotationConnection5161 returns on-call rotations5162 when user does not have permissions5163 returns no rotations5164 when resolving a single item5165 when id given5166 returns the on-call rotation5167shared/_promotion_link_project5168 with namespace plans5169 for namespace admin users5170 is expected to have visible link "Try it for free" with href "/-/trial_registrations/new?glm_content=some_location&glm_source=gitlab.com"5171 for regular users5172 for groups5173 is expected to have text "Contact an owner of group Our group to upgrade the plan."5174 for a project in a personal namespace5175 is expected to have text "Contact owner Joe to upgrade the plan."5176 with instance plans5177 for admin users5178 with active license5179 is expected to have text "Start GitLab Ultimate trial"5180 with expired license5181 is expected to have text "Buy GitLab Enterprise Edition"5182 for regular users5183 is expected to have text "Contact your Administrator to upgrade your license."5184Gitlab::Prometheus::Queries::AdditionalMetricsEnvironmentQuery5185 queries using specific time5186 with custom metrics5187 without common metrics5188 return group data for custom metric5189 with common metrics5190 return group data for custom metric5191ComplianceManagement::FrameworkPolicy5192 feature is licensed5193 user is namespace owner5194 is expected to be allowed :manage_compliance_framework5195 is expected to be allowed :manage_group_level_compliance_pipeline_config5196 user is group owner5197 is expected to be allowed :manage_compliance_framework5198 is expected to be allowed :manage_group_level_compliance_pipeline_config5199 user is not namespace owner5200 is expected to be disallowed :manage_compliance_framework5201 is expected to be disallowed :manage_group_level_compliance_pipeline_config5202 user is an admin5203 is expected to be allowed :manage_compliance_framework5204 is expected to be allowed :manage_group_level_compliance_pipeline_config5205 feature is unlicensed5206 is expected to be disallowed :manage_compliance_framework5207 is expected to be disallowed :manage_group_level_compliance_pipeline_config5208SystemCheck::App::ElasticsearchCheck5209 #skip?5210 with elasticsearch disabled5211 returns true5212 with elasticsearch enabled5213 returns false5214 #check?5215 version: "2.3.0", result: false5216 is expected to eq false5217 version: "5.3.1", result: false5218 is expected to eq false5219 version: "5.6.0", result: false5220 is expected to eq false5221 version: "5.6.6", result: false5222 is expected to eq false5223 version: "6.0.0", result: false5224 is expected to eq false5225 version: "6.3.0", result: false5226 is expected to eq false5227 version: "6.4.2", result: true5228 is expected to eq true5229 version: "7.1.0", result: true5230 is expected to eq true5231 version: "7.5.1", result: true5232 is expected to eq true5233Ci::PlayBridgeService#execute5234 behaves like prevents playing job when credit card is required5235 when user has required credit card5236WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. `NoMethodError`, `NameError` and `ArgumentError`), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /builds/gitlab-org/gitlab/ee/spec/support/shared_examples/services/ci/play_job_service_shared_examples.rb:17:in `block (3 levels) in <top (required)>'.5237 does not raise any exception5238 when user does not have required credit card5239 raises an exception and logs the failure5240IncidentManagement::OncallUsersFinder5241 #execute5242 when feature is available5243 without parameters uses current time5244 is expected to contain exactly #<User id:1680 @user791>, #<User id:1681 @user792>, and #<User id:1683 @user794>5245 with :schedule paramater specified5246 is expected to contain exactly #<User id:1680 @user791> and #<User id:1681 @user792>5247 with :oncall_at parameter specified5248 does not require additional queries to generate shifts5249 with all persisted shifts for oncall_at time5250 is expected to contain exactly #<User id:1680 @user791>, #<User id:1681 @user792>, and #<User id:1683 @user794>5251 does not attempt to generate shifts5252 with some persisted shifts for oncall_at time5253 is expected to contain exactly #<User id:1680 @user791>, #<User id:1682 @user793>, and #<User id:1683 @user794>5254 does not run additional queries for each persisted shift5255 before rotations have started5256 is expected to be empty5257 when feature is not avaiable5258 is expected to eq #<ActiveRecord::Relation []>5259IncidentManagement::PendingEscalations::Issue5260 is expected to be valid5261 validations5262 is expected to validate that :process_at cannot be empty/falsy5263 is expected to validate that :rule_id cannot be empty/falsy5264 is expected to delegate #project to the #issue object5265 is expected to validate that :rule_id is case-sensitively unique within the scope of :issue_id5266 associations5267 is expected to belong to issue required: false5268 is expected to belong to rule required: false5269 scopes5270 .processable5271 is expected to contain exactly #<IncidentManagement::PendingEscalations::Issue id: 3, rule_id: 3, issue_id: 181, process_at: "2021-1...reated_at: "2021-12-20 17:14:46.545844506 +0000", updated_at: "2021-12-20 17:14:46.545844506 +0000"> and #<IncidentManagement::PendingEscalations::Issue id: 4, rule_id: 3, issue_id: 182, process_at: "2021-1...reated_at: "2021-12-20 17:14:46.598478302 +0000", updated_at: "2021-12-20 17:14:46.598478302 +0000">5272IssuableSidebarExtrasEntity5273 when the gitlab_employee_badge flag is off5274 does not expose the is_gitlab_employee field for assignees5275 when the gitlab_employee_badge flag is on but we are not on gitlab.com5276 does not expose the is_gitlab_employee field for assignees5277 when gitlab_employee_badge flag is on and we are on gitlab.com5278 exposes is_gitlab_employee field for assignees5279Gitlab::Analytics::CycleAnalytics::StageEvents::MergeRequestClosed5280 behaves like value stream analytics event5281 is expected to be a kind of String5282 is expected to be a kind of Symbol5283 is expected to include ApplicationRecord(abstract)5284 is expected to respond to #timestamp_projection5285 is expected to respond to #html_description5286 is expected to be a kind of Array5287 #apply_query_customization5288 expects an ActiveRecord::Relation object as argument and returns a modified version of it5289 #hash_code5290 returns a hash that uniquely identifies an event5291 does not differ when the same object is built with the same params5292 behaves like LEFT JOIN-able value stream analytics event5293 can use the event as LEFT JOIN5294 when looking at the record with data5295 contains the timestamp expression5296 when looking at the record without data5297 returns nil for the timestamp expression5298shared/milestones/_milestone.html.haml5299 when a milestone is associated to a lot of releases5300 when viewing a project milestone5301 renders "1 more release" as a link to the project's Releases page5302 when viewing a group milestone5303 renders "1 more release" as plain text instead of as a link5304MergeTrains::CheckStatusService5305 #execute5306 when there is at least one merge request on the train5307 when new revision is included in merge train history5308 does not outdate the merge train pipeline5309 when new revision is not included in merge train history5310 outdates the merge train pipeline5311 when there are no merge requests on train5312 does not raise error5313 when merge train is disabled on the project5314 does not check history5315Ci::JobArtifacts::DestroyBatchService5316 .execute5317 destroys all expired artifacts5318 with Geo replication5319 creates a JobArtifactDeletedEvent5320 JobArtifact batch destroy fails5321 does not create a JobArtifactDeletedEvent5322QualityManagement::TestCases::CreateService5323 #execute5324 when test has title and description5325 responds with success5326 creates an test case issue5327 created issue has correct attributes5328 when test case has no title5329 does not create an issue5330 responds with errors5331 result payload contains an Issue object5332OperationsHelper5333 #status_page_settings_data5334 setting does not exist5335 returns the correct values5336 user does not have permission5337 returns the correct values5338 setting exists5339 returns the correct values5340 #alerts_settings_data5341 Multiple Integrations Support5342 when available5343 is expected to include {"multi_integrations" => "true"}5344 has the correct list of fields5345 when not available5346 is expected to include {"multi_integrations" => "false"}5347 is expected not to have key "alert_fields"5348 #operations_settings_data5349 returns the correct set of data5350 incident_sla feature enabled5351 returns the feature as enabled5352Ci::Minutes::AdditionalPack5353 associations5354 is expected to belong to namespace required: false5355 validations5356 is expected to validate that :namespace cannot be empty/falsy5357 is expected to validate that :number_of_minutes cannot be empty/falsy5358 is expected to validate that the length of :purchase_xid is at most 505359 when GitLab.com5360 is expected to validate that :expires_at cannot be empty/falsy5361 is expected to validate that :purchase_xid cannot be empty/falsy5362 is expected to validate that :purchase_xid is case-sensitively unique5363 when self-managed5364 is expected not to validate that :purchase_xid cannot be empty/falsy5365 is expected not to validate that :expires_at cannot be empty/falsy5366 is expected not to validate that :purchase_xid is case-sensitively unique5367IpRestriction5368 relations5369 is expected to belong to group required: false5370 validations5371 is expected to validate that :range cannot be empty/falsy5372 is expected to validate that :group_id cannot be empty/falsy5373 #valid_subnet5374 valid subnet5375 succeeds5376 invalid subnet5377 fails5378 #allow_root_group_only5379 top-level group5380 succeeds5381 subgroup5382 fails5383 #allows_address?5384 address is within the range5385 is expected to be truthy5386 address is outside the range5387 is expected to be falsey5388 range is invalid5389 is expected to be falsey5390 address is invalid5391 is expected to be falsey5392LicenseHelper5393 #current_license_title5394 when there is a current license5395 returns the plan titleized if it has a plan associated to it5396 returns the default title if it does not have a plan associated to it5397 when there is NOT a current license5398 returns the default title5399 #seats_calculation_message5400 and guest are excluded from the active count5401 returns the message5402 and guest are NOT excluded from the active count5403 returns nil5404 #licensed_users5405 with a restricted license count5406 returns a number as string5407 without a restricted license count5408 returns Unlimited5409 #cloud_license_view_data5410 when there is a current license5411 returns the data for the view5412 when there is no current license5413 returns the data for the view5414EE::Gitlab::Ci::Pipeline::Quota::Size5415 #enabled?5416 when limit is enabled in plan5417 is enabled5418 when limit is not enabled5419 is not enabled5420 when limit does not exist5421 is not enabled5422 #exceeded?5423 when limit is exceeded5424 is exceeded5425 when limit is not exceeded5426 is not exceeded5427 #message5428 when limit is exceeded5429 returns info about pipeline size limit exceeded5430 #log_exceeded_limit?5431 when there are more than 2000 jobs in the pipeline5432 returns true5433 when there are 2000 or less jobs in the pipeline5434 returns false5435SlackIntegration5436 Associations5437 is expected to belong to integration required: false5438 Validations5439 is expected to validate that :team_id cannot be empty/falsy5440 is expected to validate that :team_name cannot be empty/falsy5441 is expected to validate that :alias cannot be empty/falsy5442 is expected to validate that :user_id cannot be empty/falsy5443 is expected to validate that :integration cannot be empty/falsy5444Analytics::CycleAnalytics::GroupValueStream5445 associations5446 is expected to belong to group required: false5447 is expected to have many stages5448 validations5449 is expected to validate that :group cannot be empty/falsy5450 is expected to validate that :name cannot be empty/falsy5451 is expected to validate that the length of :name is at most 1005452 validates uniqueness of name5453 ordering of stages5454 stages attribute5455 sorts stages by relative position5456 #custom?5457 when value stream is not persisted5458 when the name of the value stream is default5459 is expected not to be custom5460 when the name of the value stream is not default5461 is expected to be custom5462 when value stream is persisted5463 is expected to be custom5464shared/issuable/_health_status_dropdown.html.haml5465 behaves like issuable bulk dropdown5466 renders hidden input5467 renders vue root5468 without parent5469 is nil5470 without feature5471 is nil5472Resolvers::Analytics::DevopsAdoption::EnabledNamespacesResolver5473 #resolve5474 for instance level5475 as an admin user5476 returns enabled_namespaces for all groups without display_namespace5477 as a non-admin user5478 raises ResourceNotAvailable error5479 when the feature is not available5480 raises ResourceNotAvailable error5481 for group level5482 for reporter+5483 returns enabled_namespaces for given parent group and its descendants5484 for guests5485 raises ResourceNotAvailable error5486 when the feature is not available5487 raises ResourceNotAvailable error5488Vulnerabilities::HistoricalStatistics::UpdateService5489 .update_for5490 instantiates an instance of service class and calls execute on it5491 #execute5492 when the `keep_historical_vulnerability_statistics_always_consistent` feature is enabled5493 when the statistic is not empty5494 changes the updated_at timestamp of the existing historical statistic entity5495 when there exists a record in the database5496 changes the existing historical statistic entity5497 when there exists no record in the database5498 creates a new record in the database5499 when the statistic is empty5500 does not create any historical statistic entity5501 when the `keep_historical_vulnerability_statistics_always_consistent` feature is disabled5502 when the statistic is not empty5503 when there exists a record in the database5504 does not change the existing historical statistic entity5505 when there exists no record in the database5506 does not create a new record in the database5507 when the statistic is empty5508 does not create any historical statistic entity5509DesignManagement::SaveDesignsService5510 #execute5511 when service is successful5512 calls repository#log_geo_updated_event5513 when service errors5514 does not call repository#log_geo_updated_event5515Security::Orchestration::AssignService5516 #execute5517 assigns policy project to project5518 updates project with new policy project5519 assigns same policy to different projects5520 unassigns project5521 returns error when db has problem5522 with invalid project id5523 assigns policy project to project5524Mutations::Boards::EpicLists::Update5525 on epic boards5526 behaves like update board list mutation5527 #resolve5528 with permission to admin board lists5529 updates the list position and collapsed state as expected5530 with permission to read board lists5531 updates the list collapsed state but not the list position5532 without permission to read board lists5533 raises Resource Not Found error5534EE::Ci::PipelinesHelper5535 #show_cc_validation_alert?5536 user_not_verified?: true, has_required_cc?: false, result: true5537 is expected to eq true5538 user_not_verified?: false, has_required_cc?: true, result: false5539 is expected to eq false5540 user_not_verified?: true, has_required_cc?: true, result: false5541 is expected to eq false5542 user_not_verified?: false, has_required_cc?: false, result: false5543 is expected to eq false5544 without current user5545 is expected to be falsy5546 when not in dev env or com5547 is expected to be falsy5548Analytics::DevopsAdoption::EnabledNamespacesFinder5549 #execute5550 with display_namespace provided5551 returns enabled_namespaces with given display namespace5552 without display_namespace provided5553 returns all namespace without display_namespace5554ManualRenewalBannerHelper5555 #manual_renewal_banner5556 when current user is empty5557 does not return a banner payload5558 when current user cannot admin all resources5559 does not return a banner payload5560 when current user can admin all resources5561 when no banner instance is returned5562 does not return a banner payload5563 when a banner instance is returned5564 when current license is expired5565 returns a banner payload5566 when current license is not expired5567 returns a banner payload5568ElasticsearchIndexedProject5569 behaves like an elasticsearch indexed container5570 validations5571 validates uniqueness of main attribute5572 callbacks5573 on save5574 triggers index_project5575 performs the expected action5576 on destroy5577 triggers delete_from_index5578 performs the expected action5579Sidebars::Groups::Menus::EpicsMenu5580 Menu Items5581 when the user has access to epics5582 has all the menus5583 when the user does not have access5584 is expected to be empty5585 behaves like pill_count formatted results5586 returns all digits for count value under 10005587 returns truncated digits for count value over 10005588 returns truncated digits for count value over 100005589 returns truncated digits for count value over 1000005590Release5591 .by_namespace_id5592 when a single namespace id is passed5593 returns releases associated to projects of the provided group5594 when an array of namespace ids is passed5595 returns releases associated to projects of all provided groups5596LicenseEntity5597 #as_json5598 produces the correct representation5599 when the url is blank5600 url: ""5601 is expected to be nil5602 url: nil5603 is expected to be nil5604PathLocks::LockService5605 locks path5606 raises exception if user has no permissions5607IncidentManagement::PendingEscalations::ScheduleCheckCronWorker5608 #perform5609 schedules a job for each processable escalation5610Gitlab::AlertManagement::Payload5611 #parse5612 with the payload specifing cilium as monitoring tool5613 with the payload specifying an unknown tool5614 is expected to be a kind of Gitlab::AlertManagement::Payload::Cilium5615Gitlab::Mirror5616 #configure_cron_job!5617 with jobs already running5618 creates a new cron job5619 without jobs already running5620 creates update_all_mirrors_worker5621 when Geo is enabled5622 disables mirror cron job5623 #max_mirror_capacity_reached?5624 returns true if available capacity is 05625 returns false if available capacity is not 05626 #reschedule_immediately?5627 when available capacity exceeds the defined threshold5628 returns true5629 when the availabile capacity is lower than the defined threshold5630 returns false5631 #available_capacity5632 when redis key does not exist5633 returns mirror_max_capacity5634 when redis key exists5635 returns available capacity5636 #increment_capacity5637 increments capacity5638 #decrement_capacity5639 with capacity above 05640 decrements capacity5641 with non-existent id5642 does not decrement capacity5643 #max_delay5644 returns max delay with some jitter5645 #min_delay5646 returns min delay with some jitter5647Gitlab::Prometheus::MetricGroup5648 .for_project5649 for current project5650 returns metrics for given project and common ones5651 for other project5652 returns metrics only common ones5653Mutations::RequirementsManagement::ExportRequirements5654 #ready5655 with selected fields argument5656 raises exception when invalid fields are given5657 #resolve5658 behaves like requirements not available5659 raises a not accessible error5660 when the user can export requirements5661 when requirements feature is available5662 exports requirements5663 when requirements feature is disabled5664 behaves like requirements not available5665 raises a not accessible error5666IssuePresenter5667 #sla_due_at5668 issue sla available5669 is expected to eq 2021-12-20 18:15:39.421254011 +00005670 issue sla not available5671 is expected to eq nil5672 #web_url5673 when issue has default type5674 is expected to eq "http://localhost/namespace1021/project1026/-/issues/1"5675 when issue has test_case type5676 is expected to eq "http://localhost/namespace1022/project1027/-/quality/test_cases/1"5677Vulnerabilities::HistoricalStatistics::DeletionService5678 .execute5679 instantiates the service object and calls `execute`5680 #execute5681 when there is no historical statistics older than 365 days5682 does not delete historical statistics5683 when there is a historical statistic entry that was created 364 days ago5684 does not delete historical statistics5685 and there are more than one entries that are older than 365 days5686 deletes historical statistics older than 365 days5687Types::EpicDescendantCountType5688 is expected to eq "EpicDescendantCount"5689 has specific fields5690Types::Dast::ProfileBranchType5691 is expected to eq "DastProfileBranch"5692 is expected to require graphql authorizations :read_on_demand_dast_scan5693 is expected to have graphql field :name and {:calls_gitaly?=>true}5694 is expected to have graphql field :exists and {:calls_gitaly?=>true}5695Gitlab::Ci::Config::Entry::Needs5696 validations5697 when entry config value is correct5698 #valid?5699 is expected to be valid5700 when wrong needs type is used5701 #valid?5702 is expected not to be valid5703 #errors5704 returns error about incorrect type5705 when bridge needs has wrong attributes5706 #valid?5707 is expected not to be valid5708 cross dependencies limit5709 when enforcing limit for cross project dependencies5710 when limit is exceeded5711 #valid?5712 is expected not to be valid5713 #errors5714 returns error about incorrect type5715 when limit is not exceeded5716 does not count cross pipeline dependencies5717 when enforcing limit for cross pipeline dependencies5718 when limit is not exceeded5719 does not count cross project dependencies5720 .compose!5721 when valid job entries composed5722 is valid5723 #value5724 returns key value5725 #descendants5726 creates valid descendant nodes5727Git::WikiPushService5728 #process_changes5729 with a group wiki5730 does not create any events5731 when elasticsearch is enabled5732 when changes include master ref5733 triggers a wiki update5734 with a group wiki5735 does not trigger a wiki update5736 when changes do not include master ref5737 does not trigger a wiki update5738 when elasticsearch is disabled5739 when changes include master ref5740 does nothing even if changes include master ref5741AuditEventEntity5742 .as_json5743 includes audit event attributes5744 @presenter5745 is only set once5746PreviewMarkdownService5747 preview epic text with quick action5748 explains quick actions effect5749Banzai::Filter::JiraPrivateImageLinkFilter5750 with a Jira private image5751 replaces the Jira private images with the link to the image5752 includes the Atlassian referrer on gitlab.com5753 with other image5754 keeps the original image5755Types::VulnerabilityIdentifierInputType5756 is expected to eq "VulnerabilityIdentifierInput"5757 has the correct arguments5758Gitlab::Patch::LegacyDatabaseConfig5759 #load_geo_database_yaml5760 when config/database_geo.yml does not exist5761 returns an empty hash5762 when config/database_geo.yml exists5763 when config/database_geo.yml use a new syntax5764 returns a hash containing geo:5765 when config/database_geo.yml use a legacy syntax5766 returns a hash containing geo:5767 #database_configuration5768 when config/database_geo.yml does not exist5769 when config/database.yml use a new syntax5770 returns a hash containing only main:5771 when config/database.yml use a legacy syntax5772 returns a hash containing only main:5773 configuration is legacy5774 when config/database_geo.yml exists5775 when config/database.yml use a new syntax5776 returns a hash containing both main: and geo:5777 when config/database.yml use a legacy syntax5778 returns a hash containing both main: and geo:5779Dora::DailyMetrics::RefreshWorker5780 #perform5781 refreshes the DORA metrics on the environment and date5782 when the date is not parsable5783 raises an error5784 when an environment does not exist5785 does not refresh5786BoardAssignee5787 relationships5788 is expected to belong to board required: false5789 is expected to belong to assignee class_name => User required: false5790 validations5791 is expected to validate that :board cannot be empty/falsy5792 is expected to validate that :assignee cannot be empty/falsy5793Gitlab::Ci::Pipeline::Chain::Validate::SecurityOrchestrationPolicy5794 #perform5795 when security policies feature is not licensed5796 does not return warning5797 when security policies feature is licensed5798 when policy file is missing5799 returns warning5800 when policy file is present5801 when policy file is invalid5802 returns warning5803 when policy file is valid5804 does not return warning5805projects/security/corpus_management/show5806 renders Vue app root5807 passes project's full path5808shared/_clone_panel5809 without Geo enabled5810 behaves like has no geo-specific instructions5811 has no geo-specific instructions5812 On a Geo primary node5813 behaves like has no geo-specific instructions5814 has no geo-specific instructions5815 On a Geo secondary node5816 behaves like has no geo-specific instructions5817 has no geo-specific instructions5818GitlabSubscriptions::ExtendReactivateTrialService5819 #execute5820 trial is extended/reactivated successfully5821 returns success: true5822 error while extending/reactivating the trial5823 returns success: false with errors5824Analytics::DevopsAdoption::CreateAllSnapshotsWorker5825 #perform5826 schedules workers individually for all pending enabled_namespaces5827ManualQuarterlyCoTermBannerHelper5828 #manual_quarterly_co_term_banner5829 when current user is empty5830 does not return a banner payload5831 when current user cannot admin all resources5832 does not return a banner payload5833 when current user can admin all resources5834 when no banner instance is returned5835 does not return a banner payload5836 when a banner instance is returned5837 when reconciliation is overdue5838 returns a banner payload5839 when reconciliation is upcoming5840 returns a banner payload5841Licenses::DestroyService5842 raises an error if license is nil5843 raises an error if the user is not an admin5844 when admin mode is enabled5845 destroys a license5846 with cloud license5847 destroys a license5848 when admin mode is disabled5849 raises not allowed error5850IncidentManagement::OncallRotationPolicy5851 rules5852 is expected to be disallowed :read_incident_management_oncall_schedule5853 when reporter5854 is expected to be allowed :read_incident_management_oncall_schedule5855 licensed feature disabled5856 is expected to be disallowed :read_incident_management_oncall_schedule5857layouts/header/_new_dropdown5858 general menu links5859 renders a 'New project/repository' link5860 group-specific links5861 does not have "New epic" link5862 as a Group owner5863 with the epics license5864 has a "New epic" link5865Banzai::IssuableExtractor5866 returns an instance of an epic for the node with reference5867Resolvers::Admin::CloudLicenses::LicenseHistoryEntriesResolver5868 #resolve5869 returns the license history entries5870 when current user is unauthorized5871 raises error5872 when no licenses exist5873 returns an empty array5874Gitlab::Audit::Levels::Project5875 #apply5876 finds all project events5877Groups::UpdateStatisticsWorker5878 #perform5879 updates the group statistics5880 when group id does not exist5881 ends gracefully5882Types::VulnerabilityDetails::TextType5883 is expected to have graphql fields :name, :description, :fieldName, and :value5884Analytics::UsageTrends::Measurement5885 .identifier_query_mapping5886 is expected to include 115887 .identifier_min_max_queries5888 is expected to include 115889Sidebars::Projects::Menus::RepositoryMenu5890 File Locks5891 when licensed feature file locks is not enabled5892 does not include file locks menu item5893 when licensed feature file locks is enabled5894 includes file locks menu item5895IncidentManagement::OncallScheduleHelper5896 #oncall_schedule_data5897 returns on-call schedule data5898Gitlab::CodeOwners::ReferenceExtractor5899 #emails5900 includes all mentioned email adresses5901 #names5902 includes all mentioned usernames and groupnames5903 #references5904 includes all user-references once5905Types::VulnerabilityLocation::CoverageFuzzingType5906 is expected to have graphql fields :vulnerable_class, :end_line, :file, :vulnerable_method, :start_line, and :blob_path5907ProtectedBranch::UnprotectAccessLevel5908 is expected to validate that :access_level is either ‹40›, ‹30›, or ‹0›5909EE::API::Entities::Scim::NotFound5910 contains the schemas5911 contains the detail5912 contains the status5913Types::RequirementsManagement::RequirementType5914 is expected to expose permissions using Types::PermissionTypes::Requirement5915 is expected to eq "Requirement"5916 is expected to require graphql authorizations :read_requirement5917 is expected to have graphql fields :id, :iid, :title, :titleHtml, :description, :descriptionHtml, :state, :last_test_report_state, :project, :author, :created_at, :updated_at, :user_permissions, :test_reports, and :last_test_report_manually_created5918profiles/personal_access_tokens/_token_expiry_notification.html.haml5919 when the notification should be shown5920 when there are expired tokens5921 contains the correct content5922 when there is one expired token5923 has the singular title5924Gitlab::SnippetSearchResults5925 when all requirements are met5926 calls the finder with the restrictive scope5927 when not in Gitlab.com5928 calls the finder with the restrictive scope5929Types::Vulnerability::IssueLinkType5930 is expected to have graphql fields :id, :link_type, and :issue5931 is expected to require graphql authorizations :read_issue_link5932Types::BurnupChartDailyTotalsType5933 is expected to eq "BurnupChartDailyTotals"5934 has specific fields5935Gitlab::GlRepository5936 .parse5937 parses a group wiki gl_repository5938Types::VulnerableDependencyType5939 is expected to have graphql fields :package and :version5940Nav::NewDropdownHelper5941 #new_dropdown_view_model5942 with group and can create_epic5943 shows create epic menu item5944Gitlab::RackAttack5945 .configure5946 adds the incident management throttle5947Types::VulnerabilityDetails::CodeType5948 is expected to have graphql fields :name, :description, :fieldName, :lang, and :value5949Gitlab::Insights::Serializers::Chartjs::LineSerializer5950 returns the correct format5951Types::VulnerabilityDetails::IntType5952 is expected to have graphql fields :name, :description, :fieldName, and :value5953Knapsack report was generated. Preview:5954{5955 "ee/spec/lib/ee/gitlab/usage_data_spec.rb": 277.9891219250003,5956 "ee/spec/services/ee/auth/container_registry_authentication_service_spec.rb": 103.59304392200102,5957 "ee/spec/tasks/gitlab/elastic_rake_spec.rb": 101.204691723,5958 "ee/spec/models/approval_state_spec.rb": 44.003838870001346,5959 "ee/spec/serializers/environment_entity_spec.rb": 69.82722209399981,5960 "ee/spec/models/ci/build_spec.rb": 36.86960990800071,5961 "ee/spec/models/ci/pipeline_spec.rb": 44.28048594699976,5962 "ee/spec/services/epic_issues/create_service_spec.rb": 42.79819175100056,5963 "ee/spec/lib/ee/gitlab/ci/templates/templates_spec.rb": 8.803651123000236,5964 "ee/spec/models/merge_request/blocking_spec.rb": 32.43398845499905,5965 "ee/spec/services/approval_rules/create_service_spec.rb": 26.93783782600076,5966 "ee/spec/lib/gitlab/analytics/cycle_analytics/summary/group/stage_summary_spec.rb": 29.589069483999992,5967 "ee/spec/services/merge_requests/push_options_handler_service_spec.rb": 26.054702550000002,5968 "ee/spec/elastic/migrate/20210910100000_redo_backfill_namespace_ancestry_ids_for_issues_spec.rb": 29.750452270000096,5969 "ee/spec/services/ee/git/branch_push_service_spec.rb": 24.570043552999778,5970 "ee/spec/models/note_spec.rb": 21.70340531399961,5971 "ee/spec/models/ee/protected_branch_spec.rb": 18.78957106800044,5972 "ee/spec/services/projects/group_links/create_service_spec.rb": 17.311995510999623,5973 "ee/spec/workers/store_security_reports_worker_spec.rb": 13.674657766001474,5974 "ee/spec/models/security/orchestration_policy_rule_schedule_spec.rb": 17.74350298600075,5975 "ee/spec/services/ci/minutes/track_live_consumption_service_spec.rb": 16.030150997999954,5976 "ee/spec/models/board_spec.rb": 11.379753148001328,5977 "ee/spec/finders/issues_finder_spec.rb": 11.34552892099964,5978 "ee/spec/services/app_sec/dast/profiles/update_service_spec.rb": 11.04299121600161,5979 "ee/spec/services/system_notes/epics_service_spec.rb": 8.232935321000696,5980 "ee/spec/finders/security/findings_finder_spec.rb": 9.361469286999636,5981 "ee/spec/models/concerns/elastic/project_wiki_spec.rb": 13.713445892000891,5982 "ee/spec/helpers/ee/namespaces_helper_spec.rb": 5.652888007000001,5983 "ee/spec/presenters/merge_request_approver_presenter_spec.rb": 10.58746916400014,5984 "ee/spec/lib/bulk_imports/groups/pipelines/epics_pipeline_spec.rb": 7.72994477300017,5985 "ee/spec/services/vulnerabilities/manually_create_service_spec.rb": 8.353242790999502,5986 "ee/spec/models/status_page/project_setting_spec.rb": 3.9927344460011227,5987 "ee/spec/services/iterations/create_service_spec.rb": 6.334849160000886,5988 "ee/spec/services/ci/subscribe_bridge_service_spec.rb": 8.02437856799952,5989 "ee/spec/lib/gitlab/ci/parsers/security/dependency_scanning_spec.rb": 6.626044795999405,5990 "ee/spec/services/epics/transfer_service_spec.rb": 8.007223180000437,5991 "ee/spec/models/incident_management/oncall_schedule_spec.rb": 6.66295767200063,5992 "ee/spec/services/network_policies/resources_service_spec.rb": 7.6214551419998315,5993 "ee/spec/lib/gitlab/ci/templates/secure_binaries_ci_yaml_spec.rb": 6.878081214999838,5994 "ee/spec/lib/gitlab/auth/smartcard/certificate_spec.rb": 3.8852719239985163,5995 "ee/spec/lib/gitlab/ci/parsers/security/container_scanning_spec.rb": 6.371590176000609,5996 "ee/spec/policies/issuable_policy_spec.rb": 7.146468631999596,5997 "ee/spec/models/dast/site_profile_secret_variable_spec.rb": 3.3204444929997408,5998 "ee/spec/graphql/resolvers/board_groupings/epics_resolvers_spec.rb": 5.961181570000917,5999 "ee/spec/lib/gitlab/auth/ldap/user_spec.rb": 3.220674181000504,6000 "ee/spec/workers/adjourned_projects_deletion_cron_worker_spec.rb": 5.365583341001184,6001 "ee/spec/services/ee/members/invite_service_spec.rb": 4.294382771000528,6002 "ee/spec/presenters/subscription_presenter_spec.rb": 4.22493449600006,6003 "ee/spec/services/security/ingestion/tasks/ingest_vulnerability_statistics_spec.rb": 4.952622885999517,6004 "ee/spec/graphql/mutations/vulnerabilities/create_external_issue_link_spec.rb": 3.5918522400006623,6005 "ee/spec/presenters/audit_event_presenter_spec.rb": 4.045303581000553,6006 "ee/spec/services/epic_issues/update_service_spec.rb": 3.6692229729997052,6007 "ee/spec/services/issues/export_csv_service_spec.rb": 5.856991489999928,6008 "ee/spec/services/subscriptions/create_service_spec.rb": 1.7953277100004925,6009 "ee/spec/models/approval_wrapped_any_approver_rule_spec.rb": 5.786819795001065,6010 "ee/spec/services/security/security_orchestration_policies/ci_configuration_service_spec.rb": 1.57205907900061,6011 "ee/spec/models/ee/namespace_limit_spec.rb": 2.8028466850009863,6012 "ee/spec/models/release_highlight_spec.rb": 2.614673740999933,6013 "ee/spec/workers/personal_access_tokens/instance/policy_worker_spec.rb": 3.0546474040002067,6014 "ee/spec/graphql/mutations/dast_site_profiles/create_spec.rb": 3.778460535000704,6015 "ee/spec/helpers/ee/trial_registration_helper_spec.rb": 1.63613379400158,6016 "ee/spec/services/ee/ci/job_artifacts/destroy_all_expired_service_spec.rb": 3.752652985000168,6017 "ee/spec/services/group_saml/identity/destroy_service_spec.rb": 4.47151417600071,6018 "ee/spec/lib/gitlab/audit/auditor_spec.rb": 1.438802279999436,6019 "ee/spec/services/repositories/housekeeping_service_spec.rb": 1.7974064990012266,6020 "ee/spec/serializers/dependency_list_entity_spec.rb": 3.647300374999759,6021 "ee/spec/finders/ee/alert_management/alerts_finder_spec.rb": 2.0038253319999058,6022 "ee/spec/workers/ldap_group_sync_worker_spec.rb": 1.3039901110005303,6023 "ee/spec/lib/ee/api/helpers/notes_helpers_spec.rb": 2.5899051329997747,6024 "ee/spec/services/gitlab_subscriptions/plan_upgrade_service_spec.rb": 0.9099380040006508,6025 "ee/spec/graphql/resolvers/incident_management/oncall_rotations_resolver_spec.rb": 1.942354456999965,6026 "ee/spec/views/shared/promotions/_promotion_link_project.html.haml_spec.rb": 1.6842802589999337,6027 "ee/spec/lib/gitlab/prometheus/queries/additional_metrics_environment_query_spec.rb": 2.2021286849994794,6028 "ee/spec/policies/compliance_management/framework_policy_spec.rb": 1.4747687970011611,6029 "ee/spec/lib/system_check/app/elasticsearch_check_spec.rb": 0.9119816729999002,6030 "ee/spec/services/ci/play_bridge_service_spec.rb": 2.9376762340016285,6031 "ee/spec/finders/incident_management/oncall_users_finder_spec.rb": 2.346083403999728,6032 "ee/spec/models/incident_management/pending_escalations/issue_spec.rb": 1.9040745210004388,6033 "ee/spec/serializers/issuable_sidebar_extras_entity_spec.rb": 2.410080437999568,6034 "ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_closed_spec.rb": 1.9232228589989973,6035 "ee/spec/views/shared/milestones/_milestone.html.haml_spec.rb": 2.00608879200081,6036 "ee/spec/services/merge_trains/check_status_service_spec.rb": 3.0266667859996232,6037 "ee/spec/services/ee/ci/job_artifacts/destroy_batch_service_spec.rb": 2.5021107209995535,6038 "ee/spec/services/quality_management/test_cases/create_service_spec.rb": 3.927378641999894,6039 "ee/spec/helpers/ee/operations_helper_spec.rb": 1.8777342930006853,6040 "ee/spec/models/ci/minutes/additional_pack_spec.rb": 2.3545693930009293,6041 "ee/spec/models/ip_restriction_spec.rb": 1.3275385390006704,6042 "ee/spec/helpers/license_helper_spec.rb": 0.8852372860001196,6043 "ee/spec/lib/ee/gitlab/ci/pipeline/quota/size_spec.rb": 1.4328381800005445,6044 "ee/spec/models/slack_integration_spec.rb": 0.767616465998799,6045 "ee/spec/models/analytics/cycle_analytics/group_value_stream_spec.rb": 1.2619707939993532,6046 "ee/spec/views/shared/issuable/_health_status_dropdown.html.haml_spec.rb": 1.207272188999923,6047 "ee/spec/graphql/resolvers/analytics/devops_adoption/enabled_namespaces_resolver_spec.rb": 1.3069976799997676,6048 "ee/spec/services/vulnerabilities/historical_statistics/update_service_spec.rb": 1.235264257000381,6049 "ee/spec/services/ee/design_management/save_designs_service_spec.rb": 1.6241528840000683,6050 "ee/spec/services/security/orchestration/assign_service_spec.rb": 2.2400410329992155,6051 "ee/spec/graphql/mutations/boards/epic_lists/update_spec.rb": 1.6351451230002567,6052 "ee/spec/helpers/ee/ci/pipelines_helper_spec.rb": 0.7259336290007923,6053 "ee/spec/finders/analytics/devops_adoption/enabled_namespaces_finder_spec.rb": 0.963126968999859,6054 "ee/spec/helpers/manual_renewal_banner_helper_spec.rb": 0.9554210890000832,6055 "ee/spec/models/elasticsearch_indexed_project_spec.rb": 1.2892739229992003,6056 "ee/spec/lib/sidebars/groups/menus/epics_menu_spec.rb": 1.2046241400003055,6057 "ee/spec/models/ee/release_spec.rb": 2.0335876299996016,6058 "ee/spec/serializers/license_entity_spec.rb": 0.9659387190004054,6059 "ee/spec/services/path_locks/lock_service_spec.rb": 1.548345920000429,6060 "ee/spec/workers/incident_management/pending_escalations/schedule_check_cron_worker_spec.rb": 1.8972747110001364,6061 "ee/spec/lib/ee/gitlab/alert_management/payload_spec.rb": 0.6828025529994193,6062 "ee/spec/lib/gitlab/mirror_spec.rb": 1.058708120999654,6063 "ee/spec/lib/ee/gitlab/prometheus/metric_group_spec.rb": 2.1621406590002152,6064 "ee/spec/graphql/mutations/requirements_management/export_requirements_spec.rb": 1.2747232639994763,6065 "ee/spec/presenters/ee/issue_presenter_spec.rb": 1.567035598000075,6066 "ee/spec/services/vulnerabilities/historical_statistics/deletion_service_spec.rb": 1.5227160729991738,6067 "ee/spec/graphql/types/epic_descendant_count_type_spec.rb": 0.6704889540014847,6068 "ee/spec/graphql/types/dast/profile_branch_type_spec.rb": 0.6487365159991896,6069 "ee/spec/lib/ee/gitlab/ci/config/entry/needs_spec.rb": 1.0562756910003372,6070 "ee/spec/services/ee/git/wiki_push_service_spec.rb": 1.7117261969997344,6071 "ee/spec/serializers/audit_event_entity_spec.rb": 0.9790978979999636,6072 "ee/spec/services/ee/preview_markdown_service_spec.rb": 1.118893326000034,6073 "ee/spec/lib/banzai/filter/jira_private_image_link_filter_spec.rb": 0.9526827499994397,6074 "ee/spec/graphql/types/vulnerability_identifier_input_type_spec.rb": 0.6608267139999953,6075 "ee/spec/lib/gitlab/patch/legacy_database_config_spec.rb": 0.9867716379994818,6076 "ee/spec/workers/dora/daily_metrics/refresh_worker_spec.rb": 1.1831721819999075,6077 "ee/spec/models/board_assignee_spec.rb": 0.7651608050000505,6078 "ee/spec/lib/ee/gitlab/ci/pipeline/chain/validate/security_orchestration_policy_spec.rb": 2.5651805060006154,6079 "ee/spec/views/projects/security/corpus_management/show.html.haml_spec.rb": 1.4314566799985187,6080 "ee/spec/views/shared/_clone_panel.html.haml_spec.rb": 1.7621579230017232,6081 "ee/spec/services/gitlab_subscriptions/extend_reactivate_trial_service_spec.rb": 1.0576567509997403,6082 "ee/spec/workers/analytics/devops_adoption/create_all_snapshots_worker_spec.rb": 1.1576951530005317,6083 "ee/spec/helpers/manual_quarterly_co_term_banner_helper_spec.rb": 0.9935634569992544,6084 "ee/spec/services/licenses/destroy_service_spec.rb": 0.9568436699992162,6085 "ee/spec/policies/incident_management/oncall_rotation_policy_spec.rb": 1.3374324680007703,6086 "ee/spec/views/layouts/header/_new_dropdown.haml_spec.rb": 1.3328275980002218,6087 "ee/spec/lib/banzai/issuable_extractor_spec.rb": 0.9612789200000407,6088 "ee/spec/graphql/resolvers/admin/cloud_licenses/license_history_entries_resolver_spec.rb": 0.8921301750015118,6089 "ee/spec/lib/gitlab/audit/levels/project_spec.rb": 1.4348905500010005,6090 "ee/spec/workers/groups/update_statistics_worker_spec.rb": 0.7569996570000512,6091 "ee/spec/graphql/types/vulnerability_details/text_type_spec.rb": 0.5966308700008085,6092 "ee/spec/models/ee/analytics/usage_trends/measurement_spec.rb": 0.6194825080001465,6093 "ee/spec/lib/ee/sidebars/projects/menus/repository_menu_spec.rb": 0.8783835560006992,6094 "ee/spec/helpers/incident_management/oncall_schedule_helper_spec.rb": 0.9317097919993103,6095 "ee/spec/lib/gitlab/code_owners/reference_extractor_spec.rb": 0.6819295530003728,6096 "ee/spec/graphql/types/vulnerability_location/coverage_fuzzing_type_spec.rb": 0.686191892998977,6097 "ee/spec/models/protected_branch/unprotect_access_level_spec.rb": 0.670046913999613,6098 "ee/spec/lib/ee/api/entities/scim/not_found_spec.rb": 0.7880956440003501,6099 "ee/spec/graphql/types/requirements_management/requirement_type_spec.rb": 0.78620253400004,6100 "ee/spec/views/profiles/personal_access_tokens/_token_expiry_notification.html.haml_spec.rb": 0.6785652529997606,6101 "ee/spec/lib/ee/gitlab/snippet_search_results_spec.rb": 0.8884055549988261,6102 "ee/spec/graphql/types/vulnerability/issue_link_type_spec.rb": 0.7945123239987879,6103 "ee/spec/graphql/types/burnup_chart_daily_totals_type_spec.rb": 0.6681767640002363,6104 "ee/spec/lib/gitlab/gl_repository_spec.rb": 0.6660675040002388,6105 "ee/spec/graphql/types/vulnerable_dependency_type_spec.rb": 0.6345634070003143,6106 "ee/spec/helpers/nav/new_dropdown_helper_spec.rb": 0.7056406609990518,6107 "ee/spec/lib/gitlab/rack_attack_spec.rb": 0.6197025080000458,6108 "ee/spec/graphql/types/vulnerability_details/code_type_spec.rb": 0.6239549580004677,6109 "ee/spec/lib/gitlab/insights/serializers/chartjs/line_serializer_spec.rb": 0.7902122539999255,6110 "ee/spec/graphql/types/vulnerability_details/int_type_spec.rb": 0.73716176799825926111}6112Knapsack global time execution for tests: 22m 58s6113Pending: (Failures listed here are expected and do not affect your suite's status)6114 1) IncidentManagement::OncallSchedule behaves like AtomicInternalId .has_internal_id Validation when presence validation is not required when creating an object does not raise an error if the internal id is blank6115 # No reason given6116 # ./spec/support/shared_examples/models/atomic_internal_id_shared_examples.rb:496117 2) IncidentManagement::OncallSchedule behaves like AtomicInternalId .has_internal_id Validation when presence validation is not required when updating an object does not raise an error if the internal id is blank6118 # No reason given6119 # ./spec/support/shared_examples/models/atomic_internal_id_shared_examples.rb:576120Finished in 23 minutes 1 second (files took 49.25 seconds to load)61212548 examples, 0 failures, 2 pending6122Mon Dec 20 17:16:35 UTC 20216124Not uploading cache ruby-gems-v1-9 due to policy6125Not uploading cache gitaly-ruby-gems-v1-9 due to policy6127Uploading artifacts...6128coverage/: found 5 matching files and directories 6129crystalball/: found 2 matching files and directories 6130WARNING: deprecations/: no matching files 6131knapsack/: found 3 matching files and directories 6132rspec_flaky/: found 5 matching files and directories 6133rspec_profiling/: found 1 matching files and directories 6134WARNING: tmp/capybara/: no matching files 6135tmp/memory_test/: found 2 matching files and directories 6136log/*.log: found 18 matching files and directories 6137Uploading artifacts as "archive" to coordinator... ok id=1904366830 responseStatus=201 Created token=dCX9yCki6138Uploading artifacts...6139junit_rspec.xml: found 1 matching files and directories 6140Uploading artifacts as "junit" to coordinator... ok id=1904366830 responseStatus=201 Created token=dCX9yCki6142Job succeeded