rspec unit pg13 single-db-ci-connection 17/28
Passed Started
by
@fabiopitino
Fabio Pitino
1Running with gitlab-runner 16.1.0~beta.5.gf131a6a2 (f131a6a2)2 on blue-1.private.runners-manager.gitlab.com/gitlab.com/gitlab-org 1zzGUpzq, system ID: s_fc31da7ae46e3 feature flags: FF_NETWORK_PER_BUILD:true, FF_USE_FASTZIP:true, FF_USE_IMPROVED_URL_MASKING:true6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-rust-1.65-node-18.16-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-113-yarn-1.22-graphicsmagick-1.3.36 ...7Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-13-pgvector-0.4.1 ...8Authenticating with credentials from job payload (GitLab Registry)9Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-13-pgvector-0.4.1 ...10Using docker image sha256:73740c557807c4bc5d692f263c0e35454270600da4b22bbe952331411426c8b5 for registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-13-pgvector-0.4.1 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:3174001f839c42e299ac06a42f8ded446edfcb33b0eb820874749a3f53eb799c ...11WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 is already created. Ignoring.12WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 is already created. Ignoring.13Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 ...14Authenticating with credentials from job payload (GitLab Registry)15Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 ...16Using docker image sha256:a9a90ece30d9630d694ab1997cd103ea8ec729789451b983a75c7b58b0062d45 for registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:7ef36177d5d0bc554fbb63d8210ae751bcc538bea7905b51d078d9ab90a755fa ...17Starting service redis:6.2-alpine ...18Pulling docker image redis:6.2-alpine ...19Using docker image sha256:85fd7bd884b6493c8eb6f4dffbe5406d97cce56aff84f1580a5eb5b9d841f158 for redis:6.2-alpine with digest redis@sha256:87c44d5d9f472e767c8737f4130c765d77bdc95c7472d6427cfc9d4632f12da6 ...20Waiting for services to be up and running (timeout 30 seconds)...21Authenticating with credentials from job payload (GitLab Registry)22Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-rust-1.65-node-18.16-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-113-yarn-1.22-graphicsmagick-1.3.36 ...23Using docker image sha256:61b59025d0d646cd177f654d8f81df859675be528f37dcc2ce6f39a49c7a5dd9 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-rust-1.65-node-18.16-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-113-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-rust-1.65-node-18.16-postgresql-13@sha256:25367d41b1034f1ecacfc9cb8eebc70cb30c6fdade3781cf295488255bf61614 ...25Running on runner-1zzgupzq-project-278964-concurrent-0 via runner-1zzgupzq-private-1685686915-bbcafb36...27Fetching changes with git depth set to 20...28Initialized empty Git repository in /builds/gitlab-org/gitlab/.git/29Created fresh repository.30remote: Enumerating objects: 139970, done. 31remote: Counting objects: 100% (139970/139970), done. 32remote: Compressing objects: 100% (94736/94736), done. 33remote: Total 139970 (delta 61223), reused 92035 (delta 39894), pack-reused 0 34Receiving objects: 100% (139970/139970), 123.36 MiB | 32.14 MiB/s, done.35Resolving deltas: 100% (61223/61223), done.37 * [new ref] refs/pipelines/887306308 -> refs/pipelines/88730630838Checking out 95754c79 as detached HEAD (ref is refs/merge-requests/122015/merge)...39Skipping Git submodules setup40$ git remote set-url origin "${CI_REPOSITORY_URL}"42Checking cache for ruby-gems-debian-bullseye-ruby-3.0-16...43Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/ruby-gems-debian-bullseye-ruby-3.0-16 44Successfully extracted cache46Downloading artifacts for compile-test-assets (4400964016)...47Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4400964016 responseStatus=200 OK token=64__-wni48Downloading artifacts for detect-tests (4400964025)...49Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4400964025 responseStatus=200 OK token=64__-wni50Downloading artifacts for retrieve-tests-metadata (4400964028)...51Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4400964028 responseStatus=200 OK token=64__-wni52Downloading artifacts for setup-test-env (4400964019)...53Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4400964019 responseStatus=200 OK token=64__-wni55Using docker image sha256:61b59025d0d646cd177f654d8f81df859675be528f37dcc2ce6f39a49c7a5dd9 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-rust-1.65-node-18.16-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-113-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-rust-1.65-node-18.16-postgresql-13@sha256:25367d41b1034f1ecacfc9cb8eebc70cb30c6fdade3781cf295488255bf61614 ...56$ echo $FOSS_ONLY57$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb58$ export GOPATH=$CI_PROJECT_DIR/.go59$ mkdir -p $GOPATH60$ source scripts/utils.sh61$ source scripts/prepare_build.sh716Using decomposed database config (config/database.yml.postgresql)717Geo DB won't be set up.718Embedding DB won't be set up.730$ source ./scripts/rspec_helpers.sh731$ run_timed_command "gem install knapsack --no-document"732$ gem install knapsack --no-document733Successfully installed knapsack-4.0.07341 gem installed735==> 'gem install knapsack --no-document' succeeded in 1 seconds.736$ echo -e "\e[0Ksection_start:`date +%s`:gitaly-test-spawn[collapsed=true]\r\e[0KStarting Gitaly"738$ section_start "gitaly-test-spawn" "Spawning Gitaly"; scripts/gitaly-test-spawn; section_end "gitaly-test-spawn"743$ echo -e "\e[0Ksection_end:`date +%s`:gitaly-test-spawn\r\e[0K"744$ rspec_paralellized_job "--tag ~quarantine --tag ~level:background_migration"745SKIP_FLAKY_TESTS_AUTOMATICALLY: 746RETRY_FAILED_TESTS_IN_NEW_PROCESS: true747KNAPSACK_GENERATE_REPORT: true748FLAKY_RSPEC_GENERATE_REPORT: true749KNAPSACK_TEST_FILE_PATTERN: spec/{bin,channels,components,config,contracts,db,dependencies,elastic,elastic_integration,experiments,factories,finders,frontend,graphql,haml_lint,helpers,initializers,lib,metrics_server,models,policies,presenters,rack_servers,replicators,routing,rubocop,scripts,serializers,services,sidekiq,sidekiq_cluster,spam,support_specs,tasks,uploaders,validators,views,workers,tooling}{,/**/}*_spec.rb750KNAPSACK_LOG_LEVEL: debug751KNAPSACK_REPORT_PATH: knapsack/rspec_unit_pg13_single-db-ci-connection_17_28_report.json752FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json753FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec_unit_pg13_single-db-ci-connection_17_28_report.json754NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec_unit_pg13_single-db-ci-connection_17_28_report.json755SKIPPED_TESTS_REPORT_PATH: rspec/skipped_tests_rspec_unit_pg13_single-db-ci-connection_17_28.txt756CRYSTALBALL: 757RSPEC_TESTS_MAPPING_ENABLED: 758RSPEC_TESTS_FILTER_FILE: 759Running command: bundle exec rspec -Ispec -rspec_helper --color --failure-exit-code 1 --error-exit-code 2 --format documentation --format Support::Formatters::JsonFormatter --out rspec/rspec-4400964349.json --format RspecJunitFormatter --out rspec/rspec-4400964349.xml --tag ~quarantine --tag ~level:background_migration -- spec/lib/gitlab/ci/templates/auto_devops_gitlab_ci_yaml_spec.rb spec/services/members/destroy_service_spec.rb spec/lib/gitlab/usage_data_counters/ci_template_unique_counter_spec.rb spec/services/issues/close_service_spec.rb spec/services/issues/move_service_spec.rb spec/services/notes/update_service_spec.rb spec/lib/gitlab/import_export/project/tree_saver_spec.rb spec/services/boards/issues/move_service_spec.rb spec/lib/gitlab/user_access_spec.rb spec/presenters/project_presenter_spec.rb spec/finders/branches_finder_spec.rb spec/finders/personal_access_tokens_finder_spec.rb spec/lib/gitlab/background_migration/disable_legacy_open_source_license_for_one_member_no_repo_projects_spec.rb spec/lib/gitlab/background_migration/backfill_resource_link_events_spec.rb spec/lib/gitlab/background_migration/migrate_links_for_vulnerability_findings_spec.rb spec/policies/namespace/root_storage_statistics_policy_spec.rb spec/services/files/multi_service_spec.rb spec/presenters/ci/pipeline_presenter_spec.rb spec/models/ability_spec.rb spec/policies/packages/policies/project_policy_spec.rb spec/graphql/mutations/merge_requests/accept_spec.rb spec/lib/gitlab/gitaly_client/operation_service_spec.rb spec/helpers/notes_helper_spec.rb spec/services/projects/update_pages_service_spec.rb spec/services/resource_events/change_state_service_spec.rb spec/models/integrations/discord_spec.rb spec/services/labels/available_labels_service_spec.rb spec/lib/gitlab/path_regex_spec.rb spec/lib/gitlab/ci/ansi2html_spec.rb spec/services/merge_requests/update_reviewers_service_spec.rb spec/lib/gitlab/suggestions/suggestion_set_spec.rb spec/lib/gitlab/diff/position_tracer/image_strategy_spec.rb spec/lib/gitlab/auth/ldap/person_spec.rb spec/lib/gitlab/background_migration/cleanup_personal_access_tokens_with_nil_expires_at_spec.rb spec/lib/gitlab/usage_data_counters/package_event_counter_spec.rb spec/workers/packages/nuget/extraction_worker_spec.rb spec/lib/gitlab/slash_commands/command_spec.rb spec/lib/gitlab/metrics/rails_slis_spec.rb spec/services/admin/abuse_report_update_service_spec.rb spec/serializers/stage_entity_spec.rb spec/finders/users_finder_spec.rb spec/services/milestones/promote_service_spec.rb spec/lib/gitlab/sidekiq_middleware/client_metrics_spec.rb spec/lib/gitlab/import_export/lfs_restorer_spec.rb spec/policies/design_management/design_policy_spec.rb spec/helpers/dropdowns_helper_spec.rb spec/lib/gitlab/shell_spec.rb spec/serializers/diff_file_entity_spec.rb spec/helpers/releases_helper_spec.rb spec/models/fork_network_spec.rb spec/services/ci/pipeline_artifacts/coverage_report_service_spec.rb spec/lib/gitlab/diff/file_collection/compare_spec.rb spec/lib/sidebars/projects/menus/infrastructure_menu_spec.rb spec/lib/gitlab/database/count_spec.rb spec/models/concerns/sortable_spec.rb spec/models/work_items/resource_link_event_spec.rb spec/views/shared/_label_row.html.haml_spec.rb spec/lib/gitlab/ci/pipeline/chain/validate/repository_spec.rb spec/models/ci/runner_namespace_spec.rb spec/initializers/hangouts_chat_http_override_spec.rb spec/uploaders/packages/composer/cache_uploader_spec.rb spec/services/merge_requests/add_context_service_spec.rb spec/lib/gitlab/ci/pipeline/chain/build_spec.rb spec/support_specs/helpers/html_escaped_helpers_spec.rb spec/lib/gitlab/ci/templates/Jobs/code_quality_gitlab_ci_yaml_spec.rb spec/models/integrations/packagist_spec.rb spec/lib/gitlab/ci/config/external/file/component_spec.rb spec/lib/gitlab/github_import/parallel_scheduling_spec.rb spec/finders/concerns/finder_with_group_hierarchy_spec.rb spec/graphql/mutations/boards/issues/issue_move_list_spec.rb spec/services/ci/create_pipeline_service/evaluate_runner_tags_spec.rb spec/policies/upload_policy_spec.rb spec/services/packages/debian/generate_distribution_key_service_spec.rb spec/initializers/direct_upload_support_spec.rb spec/lib/gitlab/usage/metrics/aggregates/aggregate_spec.rb spec/models/projects/forks/details_spec.rb spec/lib/gitlab/database/async_indexes/postgres_async_index_spec.rb spec/services/packages/update_package_file_service_spec.rb spec/rubocop/cop/static_translation_definition_spec.rb spec/lib/gitlab/database/type/indifferent_jsonb_spec.rb spec/finders/personal_projects_finder_spec.rb spec/lib/gitlab/popen/runner_spec.rb spec/lib/gitlab/ci/build/step_spec.rb spec/lib/gitlab/usage/metrics/instrumentations/generic_metric_spec.rb spec/tasks/gitlab/dependency_proxy/migrate_rake_spec.rb spec/lib/bulk_imports/common/transformers/user_reference_transformer_spec.rb spec/lib/generators/gitlab/usage_metric_generator_spec.rb spec/services/concerns/exclusive_lease_guard_spec.rb spec/graphql/mutations/boards/lists/create_spec.rb spec/lib/gitlab/web_hooks/rate_limiter_spec.rb spec/lib/gitlab/spamcheck/client_spec.rb spec/services/ci/daily_build_group_report_result_service_spec.rb spec/lib/json_web_token/hmac_token_spec.rb spec/lib/gitlab/pages/virtual_host_finder_spec.rb spec/finders/resource_milestone_event_finder_spec.rb spec/lib/gitlab/database/shared_model_spec.rb spec/views/projects/_files.html.haml_spec.rb spec/workers/concerns/gitlab/github_import/stage_methods_spec.rb spec/lib/atlassian/jira_issue_key_extractors/branch_spec.rb spec/models/label_priority_spec.rb spec/services/integrations/propagate_service_spec.rb spec/tasks/admin_mode_spec.rb spec/lib/gitlab/kubernetes/kubectl_cmd_spec.rb spec/lib/gitlab/ci/status/success_spec.rb spec/tasks/rubocop_rake_spec.rb spec/lib/gitlab/database/schema_validation/structure_sql_spec.rb spec/workers/onboarding/issue_created_worker_spec.rb spec/lib/gitlab/ci/artifacts/logger_spec.rb spec/tasks/gitlab/lfs/check_rake_spec.rb spec/workers/object_pool/create_worker_spec.rb spec/services/packages/go/create_package_service_spec.rb spec/lib/gitlab/word_diff/line_processor_spec.rb spec/presenters/ci/variable_presenter_spec.rb spec/lib/gitlab/database/migrations/lock_retry_mixin_spec.rb spec/lib/gitlab/ci/config/extendable/entry_spec.rb spec/lib/gitlab/database/migrations/sidekiq_helpers_spec.rb spec/initializers/carrierwave_s3_encryption_headers_patch_spec.rb spec/views/projects/notes/_more_actions_dropdown.html.haml_spec.rb spec/graphql/types/release_type_spec.rb spec/finders/ci/job_artifacts_finder_spec.rb spec/lib/gitlab/ci/reports/sbom/report_spec.rb spec/services/packages/maven/create_package_service_spec.rb spec/services/metrics/dashboard/cluster_metrics_embed_service_spec.rb spec/workers/destroy_pages_deployments_worker_spec.rb spec/models/blob_viewer/gitlab_ci_yml_spec.rb spec/lib/gitlab/seeder_spec.rb spec/lib/gitlab/slug/environment_spec.rb spec/models/merge_request_context_commit_spec.rb spec/helpers/access_tokens_helper_spec.rb spec/models/clusters/agents/authorizations/ci_access/group_authorization_spec.rb spec/services/users/update_canonical_email_service_spec.rb spec/models/ci/artifact_blob_spec.rb spec/lib/gitlab/import/set_async_jid_spec.rb spec/lib/gitlab/cache/client_spec.rb spec/lib/gitlab/usage/metrics/instrumentations/count_imported_projects_metric_spec.rb spec/finders/merge_request/metrics_finder_spec.rb spec/lib/api/entities/clusters/agents/authorizations/ci_access_spec.rb spec/serializers/web_ide_terminal_serializer_spec.rb spec/rubocop/cop/rspec/shared_groups_metadata_spec.rb spec/uploaders/import_export_uploader_spec.rb spec/lib/gitlab/highlight_spec.rb spec/lib/gitlab/buffered_io_spec.rb spec/services/projects/repository_languages_service_spec.rb spec/lib/gitlab/http_connection_adapter_spec.rb spec/lib/gitlab/email/hook/delivery_metrics_observer_spec.rb spec/lib/gitlab/import_export/recursive_merge_folders_spec.rb spec/lib/gitlab/sidekiq_versioning/worker_spec.rb spec/lib/gitlab/kubernetes/deployment_spec.rb spec/initializers/database_config_spec.rb spec/views/help/instance_configuration.html.haml_spec.rb spec/lib/gitlab/database/migrations/instrumentation_spec.rb spec/workers/object_storage/delete_stale_direct_uploads_worker_spec.rb spec/services/packages/create_package_file_service_spec.rb spec/graphql/mutations/clusters/agent_tokens/create_spec.rb spec/serializers/ci/daily_build_group_report_result_serializer_spec.rb spec/graphql/types/ci/project_variable_type_spec.rb spec/graphql/resolvers/design_management/design_at_version_resolver_spec.rb spec/rubocop/cop/gitlab/rspec/avoid_setup_spec.rb spec/lib/gitlab/seeders/ci/daily_build_group_report_result_spec.rb spec/rubocop/cop/migration/prevent_single_statement_with_disable_ddl_transaction_spec.rb spec/workers/purge_dependency_proxy_cache_worker_spec.rb spec/lib/gitlab/email/handler_spec.rb spec/serializers/namespace_basic_entity_spec.rb spec/models/work_items/widgets/labels_spec.rb spec/lib/gitlab/ci/config/external/mapper/location_expander_spec.rb spec/lib/gitlab/git/remote_mirror_spec.rb spec/views/layouts/group.html.haml_spec.rb spec/lib/gitlab/analytics/cycle_analytics/median_spec.rb spec/helpers/gitlab_script_tag_helper_spec.rb spec/presenters/ml/candidates_csv_presenter_spec.rb spec/scripts/pipeline_test_report_builder_spec.rb spec/services/packages/rubygems/dependency_resolver_service_spec.rb spec/serializers/merge_request_sidebar_basic_entity_spec.rb spec/workers/packages/composer/cache_update_worker_spec.rb spec/services/merge_requests/create_approval_event_service_spec.rb spec/lib/gitlab/ci/reports/security/locations/sast_spec.rb spec/lib/gitlab/url_blockers/domain_allowlist_entry_spec.rb spec/models/pages/virtual_domain_spec.rb spec/support_specs/database/without_check_constraint_spec.rb spec/lib/gitlab/database/health_status/signals_spec.rb spec/lib/gitlab/i18n_spec.rb spec/views/projects/runners/_project_runners.html.haml_spec.rb spec/models/packages/nuget/dependency_link_metadatum_spec.rb spec/lib/gitlab/sidekiq_middleware/size_limiter/client_spec.rb spec/models/concerns/x509_serial_number_attribute_spec.rb spec/lib/gitlab/memory/watchdog/sidekiq_event_reporter_spec.rb spec/lib/error_tracking/sentry_client_spec.rb spec/models/push_event_payload_spec.rb spec/serializers/group_access_token_serializer_spec.rb spec/services/pages_domains/delete_service_spec.rb spec/lib/gitlab/kroki_spec.rb spec/lib/gitlab/metrics/dashboard/stages/variable_endpoint_inserter_spec.rb spec/helpers/groups/settings_helper_spec.rb spec/services/merge_requests/mergeability/check_base_service_spec.rb spec/lib/banzai/filter_array_spec.rb spec/views/admin/application_settings/ci_cd.html.haml_spec.rb spec/lib/api/entities/deploy_key_spec.rb spec/lib/gitlab/import_export/version_checker_spec.rb spec/rubocop/cop/rspec/factory_bot/avoid_create_spec.rb spec/models/concerns/integrations/has_web_hook_spec.rb spec/lib/gitlab/usage_data_counters/jetbrains_plugin_activity_unique_counter_spec.rb spec/services/export_csv/map_export_fields_service_spec.rb spec/workers/gitlab/github_gists_import/finish_import_worker_spec.rb spec/views/projects/packages/index.html.haml_spec.rb spec/workers/gitlab/github_import/stage/import_pull_requests_merged_by_worker_spec.rb spec/graphql/types/custom_emoji_type_spec.rb spec/graphql/resolvers/echo_resolver_spec.rb spec/lib/gitlab/subscription_portal_spec.rb spec/lib/gitlab/instrumentation/rate_limiting_gates_spec.rb spec/lib/api/helpers/project_stats_refresh_conflicts_helpers_spec.rb spec/rubocop/cop/database/establish_connection_spec.rb spec/rubocop/cop/sidekiq_redis_call_spec.rb spec/views/errors/omniauth_error.html.haml_spec.rb spec/lib/gitlab/usage/metrics/instrumentations/count_ci_runners_group_type_active_online_metric_spec.rb spec/helpers/projects/incidents_helper_spec.rb spec/lib/gitlab/import/database_helpers_spec.rb spec/lib/gitlab/usage/metrics/instrumentations/snowplow_configured_to_gitlab_collector_metric_spec.rb spec/services/packages/rpm/repository_metadata/build_filelist_xml_service_spec.rb spec/graphql/types/project_member_relation_enum_spec.rb spec/graphql/types/projects/topic_type_spec.rb spec/lib/sidebars/groups/super_sidebar_menus/build_menu_spec.rb spec/lib/api/entities/plan_limit_spec.rb spec/initializers/rdoc_segfault_patch_spec.rb spec/graphql/types/alert_management/integration_type_spec.rb spec/lib/backup/task_spec.rb spec/serializers/entity_request_spec.rb spec/serializers/personal_access_token_entity_spec.rb spec/services/packages/rpm/repository_metadata/build_primary_xml_service_spec.rb spec/serializers/accessibility_error_entity_spec.rb spec/lib/gitlab/sidekiq_middleware/instrumentation_logger_spec.rb spec/tooling/merge_request_spec.rb spec/initializers/circuitbox_spec.rb spec/rubocop/cop/gitlab/avoid_uploaded_file_from_params_spec.rb spec/graphql/resolvers/metadata_resolver_spec.rb spec/tooling/lib/tooling/crystalball/coverage_lines_strategy_spec.rb spec/lib/gitlab/database/schema_validation/validators/missing_tables_spec.rb spec/spam/concerns/has_spam_action_response_fields_spec.rb spec/models/instance_metadata_spec.rb spec/uploaders/metric_image_uploader_spec.rbKnapsack report generator started!760warning: parser/current is loading parser/ruby30, which recognizes 3.0.5-compliant syntax, but you are running 3.0.6.762Run options: exclude {:quarantine=>true, :level=>"background_migration"}763[TEST PROF INFO] Time spent in factories: 00:10.232 (57.21% of total time)764[TEST PROF INFO] Time spent in factories: 00:10.232 (57.04% of total time)765Test environment set up in 0.658745833 seconds766Auto-DevOps.gitlab-ci.yml767 default_branch: "master"768 the created pipeline769 creates a build and a test job770 when the project is set for deployment to AWS771 creates an ECS deployment job for production only772 behaves like no Kubernetes deployment job773 does not create any Kubernetes deployment-related builds774 behaves like no ECS job when AUTO_DEVOPS_PLATFORM_TARGET is not present775 when AUTO_DEVOPS_PLATFORM_TARGET is nil776 does not trigger the job777 when AUTO_DEVOPS_PLATFORM_TARGET is empty778 does not trigger the job779 with FARGATE as a launch type780 creates a FARGATE deployment job for production only781 and we are not on the default branch782 creates an ECS deployment job for review only783 behaves like no ECS job when AUTO_DEVOPS_PLATFORM_TARGET is not present784 when AUTO_DEVOPS_PLATFORM_TARGET is nil785 does not trigger the job786 when AUTO_DEVOPS_PLATFORM_TARGET is empty787 does not trigger the job788 behaves like no ECS job when AUTO_DEVOPS_PLATFORM_TARGET is not present789 when AUTO_DEVOPS_PLATFORM_TARGET is nil790 does not trigger the job791 when AUTO_DEVOPS_PLATFORM_TARGET is empty792 does not trigger the job793 with FARGATE as a launch type794 creates an FARGATE deployment job for review only795 and when the project has an active cluster796 on default branch797 triggers the deployment to Kubernetes, not to ECS798 when the platform target is EC2799 contains the build_artifact job, not the build job800 when the project has no active cluster801 only creates a build and a test stage802 behaves like no Kubernetes deployment job803 does not create any Kubernetes deployment-related builds804 when a cluster is attached805 behaves like pipeline with Kubernetes jobs806 deployment-related builds807 on default branch808 does not include rollout jobs besides production809 when STAGING_ENABLED=1810 includes a staging job and a production_manual job811 when CANARY_ENABLED=1812 includes a canary job and a production_manual job813 when MIGRATE_HELM_2TO3=true814 includes a helm-2to3:migrate and a helm-2to3:cleanup job815 outside of default branch816 does not include rollout jobs besides review817 when MIGRATE_HELM_2TO3=true818 includes a helm-2to3:migrate and a helm-2to3:cleanup job819 when certificate_based_clusters FF is disabled820 does not include production job821 when project has an Agent822 behaves like pipeline with Kubernetes jobs823 deployment-related builds824 on default branch825 does not include rollout jobs besides production826 when STAGING_ENABLED=1827 includes a staging job and a production_manual job828 when CANARY_ENABLED=1829 includes a canary job and a production_manual job830 when MIGRATE_HELM_2TO3=true831 includes a helm-2to3:migrate and a helm-2to3:cleanup job832 outside of default branch833 does not include rollout jobs besides review834 when MIGRATE_HELM_2TO3=true835 includes a helm-2to3:migrate and a helm-2to3:cleanup job836 when certificate_based_clusters FF is disabled837 includes production job838 buildpack detection839 No match840 creates a pipeline with the expected jobs841 Buildpack842 creates a pipeline with the expected jobs843 Explicit set844 creates a pipeline with the expected jobs845 Explicit unset846 creates a pipeline with the expected jobs847 DOCKERFILE_PATH848 creates a pipeline with the expected jobs849 Dockerfile850 creates a pipeline with the expected jobs851 Clojure852 creates a pipeline with the expected jobs853 Go modules854 creates a pipeline with the expected jobs855 Go gb856 creates a pipeline with the expected jobs857 Gradle858 creates a pipeline with the expected jobs859 Java860 creates a pipeline with the expected jobs861 Multi-buildpack862 creates a pipeline with the expected jobs863 NodeJS864 creates a pipeline with the expected jobs865 PHP866 creates a pipeline with the expected jobs867 Play868 creates a pipeline with the expected jobs869 Python870 creates a pipeline with the expected jobs871 Ruby872 creates a pipeline with the expected jobs873 Scala874 creates a pipeline with the expected jobs875 Static876 creates a pipeline with the expected jobs877 default_branch: "main"878 the created pipeline879 creates a build and a test job880 when the project is set for deployment to AWS881 creates an ECS deployment job for production only882 behaves like no Kubernetes deployment job883 does not create any Kubernetes deployment-related builds884 behaves like no ECS job when AUTO_DEVOPS_PLATFORM_TARGET is not present885 when AUTO_DEVOPS_PLATFORM_TARGET is nil886 does not trigger the job887 when AUTO_DEVOPS_PLATFORM_TARGET is empty888 does not trigger the job889 with FARGATE as a launch type890 creates a FARGATE deployment job for production only891 and we are not on the default branch892 creates an ECS deployment job for review only893 behaves like no ECS job when AUTO_DEVOPS_PLATFORM_TARGET is not present894 when AUTO_DEVOPS_PLATFORM_TARGET is nil895 does not trigger the job896 when AUTO_DEVOPS_PLATFORM_TARGET is empty897 does not trigger the job898 behaves like no ECS job when AUTO_DEVOPS_PLATFORM_TARGET is not present899 when AUTO_DEVOPS_PLATFORM_TARGET is nil900 does not trigger the job901 when AUTO_DEVOPS_PLATFORM_TARGET is empty902 does not trigger the job903 with FARGATE as a launch type904 creates an FARGATE deployment job for review only905 and when the project has an active cluster906 on default branch907 triggers the deployment to Kubernetes, not to ECS908 when the platform target is EC2909 contains the build_artifact job, not the build job910 when the project has no active cluster911 only creates a build and a test stage912 behaves like no Kubernetes deployment job913 does not create any Kubernetes deployment-related builds914 when a cluster is attached915 behaves like pipeline with Kubernetes jobs916 deployment-related builds917 on default branch918 does not include rollout jobs besides production919 when STAGING_ENABLED=1920 includes a staging job and a production_manual job921 when CANARY_ENABLED=1922 includes a canary job and a production_manual job923 when MIGRATE_HELM_2TO3=true924 includes a helm-2to3:migrate and a helm-2to3:cleanup job925 outside of default branch926 does not include rollout jobs besides review927 when MIGRATE_HELM_2TO3=true928 includes a helm-2to3:migrate and a helm-2to3:cleanup job929 when certificate_based_clusters FF is disabled930 does not include production job931 when project has an Agent932 behaves like pipeline with Kubernetes jobs933 deployment-related builds934 on default branch935 does not include rollout jobs besides production936 when STAGING_ENABLED=1937 includes a staging job and a production_manual job938 when CANARY_ENABLED=1939 includes a canary job and a production_manual job940 when MIGRATE_HELM_2TO3=true941 includes a helm-2to3:migrate and a helm-2to3:cleanup job942 outside of default branch943 does not include rollout jobs besides review944 when MIGRATE_HELM_2TO3=true945 includes a helm-2to3:migrate and a helm-2to3:cleanup job946 when certificate_based_clusters FF is disabled947 includes production job948 buildpack detection949 No match950 creates a pipeline with the expected jobs951 Buildpack952 creates a pipeline with the expected jobs953 Explicit set954 creates a pipeline with the expected jobs955 Explicit unset956 creates a pipeline with the expected jobs957 DOCKERFILE_PATH958 creates a pipeline with the expected jobs959 Dockerfile960 creates a pipeline with the expected jobs961 Clojure962 creates a pipeline with the expected jobs963 Go modules964 creates a pipeline with the expected jobs965 Go gb966 creates a pipeline with the expected jobs967 Gradle968 creates a pipeline with the expected jobs969 Java970 creates a pipeline with the expected jobs971 Multi-buildpack972 creates a pipeline with the expected jobs973 NodeJS974 creates a pipeline with the expected jobs975 PHP976 creates a pipeline with the expected jobs977 Play978 creates a pipeline with the expected jobs979 Python980 creates a pipeline with the expected jobs981 Ruby982 creates a pipeline with the expected jobs983 Scala984 creates a pipeline with the expected jobs985 Static986 creates a pipeline with the expected jobs987Members::DestroyService988 With ExclusiveLeaseHelpers989 for group members990 deleting group owners991 locking to avoid race conditions992 tries to perform the delete within a lock993 based on status of the lock994 when lock is obtained995 destroys the membership996 when the lock cannot be obtained997 raises error998 deleting group members that are not owners999 does not try to perform the deletion of the member within a lock1000 destroys the membership1001 for project members1002 deleting project owners1003 deleting project owners1004 behaves like deletes the project member without using a lock1005 does not try to perform the deletion of a project member within a lock1006 destroys the membership1007 deleting project members that are not owners1008 behaves like deletes the project member without using a lock1009 does not try to perform the deletion of a project member within a lock1010 destroys the membership1011 with a member with access1012 when current user cannot destroy the given member1013 with a project member1014 when current user does not have any membership management permissions1015 behaves like a service raising Gitlab::Access::AccessDeniedError1016 raises Gitlab::Access::AccessDeniedError1017 when skipping authorisation1018 behaves like a service destroying a member with access1019 invalidates cached counts for assigned issues and merge requests1020 behaves like a service destroying a member1021 destroys the member1022 destroys member notification_settings1023 resolves the access request todos for the owner1024 when a project maintainer tries to destroy a project owner1025 behaves like a service raising Gitlab::Access::AccessDeniedError1026 raises Gitlab::Access::AccessDeniedError1027 when skipping authorisation1028 behaves like a service destroying a member with access1029 invalidates cached counts for assigned issues and merge requests1030 behaves like a service destroying a member1031 destroys the member1032 destroys member notification_settings1033 resolves the access request todos for the owner1034 with a group member1035 behaves like a service raising Gitlab::Access::AccessDeniedError1036 raises Gitlab::Access::AccessDeniedError1037 when skipping authorisation1038 behaves like a service destroying a member with access1039 invalidates cached counts for assigned issues and merge requests1040 behaves like a service destroying a member1041 destroys the member1042 destroys member notification_settings1043 resolves the access request todos for the owner1044 when current user can destroy the given member1045 with a project member1046 behaves like a service destroying a member with access1047 invalidates cached counts for assigned issues and merge requests1048 behaves like a service destroying a member1049 destroys the member1050 destroys member notification_settings1051 resolves the access request todos for the owner1052 unassign issuables1053 behaves like a service destroying a member with access1054 invalidates cached counts for assigned issues and merge requests1055 behaves like a service destroying a member1056 destroys the member1057 destroys member notification_settings1058 resolves the access request todos for the owner1059 with a project bot member1060 when the destroy_bot flag is true1061 behaves like a service destroying a member with access1062 invalidates cached counts for assigned issues and merge requests1063 behaves like a service destroying a member1064 destroys the member1065 destroys member notification_settings1066 resolves the access request todos for the owner1067 when the destroy_bot flag is not specified1068 behaves like a service raising Gitlab::Access::AccessDeniedError1069 raises Gitlab::Access::AccessDeniedError1070 with a group member1071 behaves like a service destroying a member with access1072 invalidates cached counts for assigned issues and merge requests1073 behaves like a service destroying a member1074 destroys the member1075 destroys member notification_settings1076 resolves the access request todos for the owner1077 unassign issuables1078 behaves like a service destroying a member with access1079 invalidates cached counts for assigned issues and merge requests1080 behaves like a service destroying a member1081 destroys the member1082 destroys member notification_settings1083 resolves the access request todos for the owner1084 with an access requester1085 when current user cannot destroy the given access requester1086 behaves like a service raising Gitlab::Access::AccessDeniedError1087 raises Gitlab::Access::AccessDeniedError1088 behaves like a service destroying a member1089 destroys the member1090 destroys member notification_settings1091 resolves the access request todos for the owner1092 behaves like a service raising Gitlab::Access::AccessDeniedError1093 raises Gitlab::Access::AccessDeniedError1094 behaves like a service destroying a member1095 destroys the member1096 destroys member notification_settings1097 resolves the access request todos for the owner1098 when current user can destroy the given access requester1099 behaves like a service destroying an access request of another user1100 calls Member#after_decline_request1101 behaves like a service destroying a member1102 destroys the member1103 destroys member notification_settings1104 resolves the access request todos for the owner1105 behaves like a service destroying an access request of another user1106 calls Member#after_decline_request1107 behaves like a service destroying a member1108 destroys the member1109 destroys member notification_settings1110 resolves the access request todos for the owner1111 on withdrawing their own access request1112 behaves like a service destroying an access request of self1113 behaves like a service destroying a member1114 destroys the member1115 destroys member notification_settings1116 resolves the access request todos for the owner1117 when current user is the member1118 does not call Member#after_decline_request1119 behaves like a service destroying an access request of self1120 behaves like a service destroying a member1121 destroys the member1122 destroys member notification_settings1123 resolves the access request todos for the owner1124 when current user is the member1125 does not call Member#after_decline_request1126 with an invited user1127 when current user cannot destroy the given invited user1128 behaves like a service raising Gitlab::Access::AccessDeniedError1129 raises Gitlab::Access::AccessDeniedError1130 behaves like a service destroying a member1131 destroys the member1132 destroys member notification_settings1133 resolves the access request todos for the owner1134 behaves like a service raising Gitlab::Access::AccessDeniedError1135 raises Gitlab::Access::AccessDeniedError1136 behaves like a service destroying a member1137 destroys the member1138 destroys member notification_settings1139 resolves the access request todos for the owner1140 when current user can destroy the given invited user1141 behaves like a service destroying a member1142 destroys the member1143 destroys member notification_settings1144 resolves the access request todos for the owner1145 behaves like a service destroying a member1146 destroys the member1147 destroys member notification_settings1148 resolves the access request todos for the owner1149 subresources1150 with memberships1151 with skipping of subresources1152 removes the group membership1153 does not remove the project membership1154 does not remove the subgroup membership1155 does not remove the subsubgroup membership1156 does not remove the subsubproject membership1157 does not remove the user from the control project1158 todos1159 removes todos for which the user no longer has access1160 issuables1161 removes assigned issuables, even in subresources1162 without skipping of subresources1163 removes the project membership1164 removes the group membership1165 removes the subgroup membership1166 removes the subsubgroup membership1167 removes the subsubproject membership1168 does not remove the user from the control project1169 todos1170 removes todos for which the user no longer has access1171 issuables1172 removes assigned issuables1173 with invites1174 with skipping of subresources1175 does not remove group members invited by deleted user1176 does not remove project members invited by deleted user1177 does not remove subgroup members invited by deleted user1178 does not remove subproject members invited by deleted user1179 without skipping of subresources1180 removes group members invited by deleted user1181 removes project members invited by deleted user1182 removes subgroup members invited by deleted user1183 removes subproject members invited by deleted user1184 deletion of invitations created by deleted project member1185 removes project members invited by deleted user1186 #mark_as_recursive_call1187 marks the instance as recursive1188Gitlab::UsageDataCounters::CiTemplateUniqueCounter1189 .track_unique_project_event1190 expands short template names1191 with explicit includes1192 for 5-Minute-Production-App.gitlab-ci.yml1193 has an event defined for template1194 tracks template1195 behaves like Snowplow event tracking with RedisHLL context1196 behaves like Snowplow event tracking1197 is emitted1198 for AWS/CF-Provision-and-Deploy-EC2.gitlab-ci.yml1199 has an event defined for template1200 tracks template1201 behaves like Snowplow event tracking with RedisHLL context1202 behaves like Snowplow event tracking1203 is emitted1204 for AWS/Deploy-ECS.gitlab-ci.yml1205 has an event defined for template1206 tracks template1207 behaves like Snowplow event tracking with RedisHLL context1208 behaves like Snowplow event tracking1209 is emitted1210 for Android-Fastlane.gitlab-ci.yml1211 has an event defined for template1212 tracks template1213 behaves like Snowplow event tracking with RedisHLL context1214 behaves like Snowplow event tracking1215 is emitted1216 for Android.gitlab-ci.yml1217 has an event defined for template1218 tracks template1219 behaves like Snowplow event tracking with RedisHLL context1220 behaves like Snowplow event tracking1221 is emitted1222 for Android.latest.gitlab-ci.yml1223 has an event defined for template1224 tracks template1225 behaves like Snowplow event tracking with RedisHLL context1226 behaves like Snowplow event tracking1227 is emitted1228 for Auto-DevOps.gitlab-ci.yml1229 has an event defined for template1230 tracks template1231 behaves like Snowplow event tracking with RedisHLL context1232 behaves like Snowplow event tracking1233 is emitted1234 for Bash.gitlab-ci.yml1235 has an event defined for template1236 tracks template1237 behaves like Snowplow event tracking with RedisHLL context1238 behaves like Snowplow event tracking1239 is emitted1240 for C++.gitlab-ci.yml1241 has an event defined for template1242 tracks template1243 behaves like Snowplow event tracking with RedisHLL context1244 behaves like Snowplow event tracking1245 is emitted1246 for Chef.gitlab-ci.yml1247 has an event defined for template1248 tracks template1249 behaves like Snowplow event tracking with RedisHLL context1250 behaves like Snowplow event tracking1251 is emitted1252 for Clojure.gitlab-ci.yml1253 has an event defined for template1254 tracks template1255 behaves like Snowplow event tracking with RedisHLL context1256 behaves like Snowplow event tracking1257 is emitted1258 for Code-Quality.gitlab-ci.yml1259 has an event defined for template1260 tracks template1261 behaves like Snowplow event tracking with RedisHLL context1262 behaves like Snowplow event tracking1263 is emitted1264 for Composer.gitlab-ci.yml1265 has an event defined for template1266 tracks template1267 behaves like Snowplow event tracking with RedisHLL context1268 behaves like Snowplow event tracking1269 is emitted1270 for Crystal.gitlab-ci.yml1271 has an event defined for template1272 tracks template1273 behaves like Snowplow event tracking with RedisHLL context1274 behaves like Snowplow event tracking1275 is emitted1276 for Dart.gitlab-ci.yml1277 has an event defined for template1278 tracks template1279 behaves like Snowplow event tracking with RedisHLL context1280 behaves like Snowplow event tracking1281 is emitted1282 for Deploy-ECS.gitlab-ci.yml1283 has an event defined for template1284 tracks template1285 behaves like Snowplow event tracking with RedisHLL context1286 behaves like Snowplow event tracking1287 is emitted1288 for Django.gitlab-ci.yml1289 has an event defined for template1290 tracks template1291 behaves like Snowplow event tracking with RedisHLL context1292 behaves like Snowplow event tracking1293 is emitted1294 for Docker.gitlab-ci.yml1295 has an event defined for template1296 tracks template1297 behaves like Snowplow event tracking with RedisHLL context1298 behaves like Snowplow event tracking1299 is emitted1300 for Elixir.gitlab-ci.yml1301 has an event defined for template1302 tracks template1303 behaves like Snowplow event tracking with RedisHLL context1304 behaves like Snowplow event tracking1305 is emitted1306 for Flutter.gitlab-ci.yml1307 has an event defined for template1308 tracks template1309 behaves like Snowplow event tracking with RedisHLL context1310 behaves like Snowplow event tracking1311 is emitted1312 for Getting-Started.gitlab-ci.yml1313 has an event defined for template1314 tracks template1315 behaves like Snowplow event tracking with RedisHLL context1316 behaves like Snowplow event tracking1317 is emitted1318 for Go.gitlab-ci.yml1319 has an event defined for template1320 tracks template1321 behaves like Snowplow event tracking with RedisHLL context1322 behaves like Snowplow event tracking1323 is emitted1324 for Gradle.gitlab-ci.yml1325 has an event defined for template1326 tracks template1327 behaves like Snowplow event tracking with RedisHLL context1328 behaves like Snowplow event tracking1329 is emitted1330 for Grails.gitlab-ci.yml1331 has an event defined for template1332 tracks template1333 behaves like Snowplow event tracking with RedisHLL context1334 behaves like Snowplow event tracking1335 is emitted1336 for Indeni.Cloudrail.gitlab-ci.yml1337 has an event defined for template1338 tracks template1339 behaves like Snowplow event tracking with RedisHLL context1340 behaves like Snowplow event tracking1341 is emitted1342 for Jobs/Browser-Performance-Testing.gitlab-ci.yml1343 has an event defined for template1344 tracks template1345 behaves like Snowplow event tracking with RedisHLL context1346 behaves like Snowplow event tracking1347 is emitted1348 for Jobs/Browser-Performance-Testing.latest.gitlab-ci.yml1349 has an event defined for template1350 tracks template1351 behaves like Snowplow event tracking with RedisHLL context1352 behaves like Snowplow event tracking1353 is emitted1354 for Jobs/Build.gitlab-ci.yml1355 has an event defined for template1356 tracks template1357 behaves like Snowplow event tracking with RedisHLL context1358 behaves like Snowplow event tracking1359 is emitted1360 for Jobs/Build.latest.gitlab-ci.yml1361 has an event defined for template1362 tracks template1363 behaves like Snowplow event tracking with RedisHLL context1364 behaves like Snowplow event tracking1365 is emitted1366 for Jobs/CF-Provision.gitlab-ci.yml1367 has an event defined for template1368 tracks template1369 behaves like Snowplow event tracking with RedisHLL context1370 behaves like Snowplow event tracking1371 is emitted1372 for Jobs/Code-Intelligence.gitlab-ci.yml1373 has an event defined for template1374 tracks template1375 behaves like Snowplow event tracking with RedisHLL context1376 behaves like Snowplow event tracking1377 is emitted1378 for Jobs/Code-Quality.gitlab-ci.yml1379 has an event defined for template1380 tracks template1381 behaves like Snowplow event tracking with RedisHLL context1382 behaves like Snowplow event tracking1383 is emitted1384 for Jobs/Container-Scanning.gitlab-ci.yml1385 has an event defined for template1386 tracks template1387 behaves like Snowplow event tracking with RedisHLL context1388 behaves like Snowplow event tracking1389 is emitted1390 for Jobs/Container-Scanning.latest.gitlab-ci.yml1391 has an event defined for template1392 tracks template1393 behaves like Snowplow event tracking with RedisHLL context1394 behaves like Snowplow event tracking1395 is emitted1396 for Jobs/DAST-Default-Branch-Deploy.gitlab-ci.yml1397 has an event defined for template1398 tracks template1399 behaves like Snowplow event tracking with RedisHLL context1400 behaves like Snowplow event tracking1401 is emitted1402 for Jobs/Dependency-Scanning.gitlab-ci.yml1403 has an event defined for template1404 tracks template1405 behaves like Snowplow event tracking with RedisHLL context1406 behaves like Snowplow event tracking1407 is emitted1408 for Jobs/Dependency-Scanning.latest.gitlab-ci.yml1409 has an event defined for template1410 tracks template1411 behaves like Snowplow event tracking with RedisHLL context1412 behaves like Snowplow event tracking1413 is emitted1414 for Jobs/Deploy/EC2.gitlab-ci.yml1415 has an event defined for template1416 tracks template1417 behaves like Snowplow event tracking with RedisHLL context1418 behaves like Snowplow event tracking1419 is emitted1420 for Jobs/Deploy/ECS.gitlab-ci.yml1421 has an event defined for template1422 tracks template1423 behaves like Snowplow event tracking with RedisHLL context1424 behaves like Snowplow event tracking1425 is emitted1426 for Jobs/Deploy.gitlab-ci.yml1427 has an event defined for template1428 tracks template1429 behaves like Snowplow event tracking with RedisHLL context1430 behaves like Snowplow event tracking1431 is emitted1432 for Jobs/Deploy.latest.gitlab-ci.yml1433 has an event defined for template1434 tracks template1435 behaves like Snowplow event tracking with RedisHLL context1436 behaves like Snowplow event tracking1437 is emitted1438 for Jobs/Helm-2to3.gitlab-ci.yml1439 has an event defined for template1440 tracks template1441 behaves like Snowplow event tracking with RedisHLL context1442 behaves like Snowplow event tracking1443 is emitted1444 for Jobs/License-Scanning.gitlab-ci.yml1445 has an event defined for template1446 tracks template1447 behaves like Snowplow event tracking with RedisHLL context1448 behaves like Snowplow event tracking1449 is emitted1450 for Jobs/License-Scanning.latest.gitlab-ci.yml1451 has an event defined for template1452 tracks template1453 behaves like Snowplow event tracking with RedisHLL context1454 behaves like Snowplow event tracking1455 is emitted1456 for Jobs/Load-Performance-Testing.gitlab-ci.yml1457 has an event defined for template1458 tracks template1459 behaves like Snowplow event tracking with RedisHLL context1460 behaves like Snowplow event tracking1461 is emitted1462 for Jobs/SAST-IaC.gitlab-ci.yml1463 has an event defined for template1464 tracks template1465 behaves like Snowplow event tracking with RedisHLL context1466 behaves like Snowplow event tracking1467 is emitted1468 for Jobs/SAST-IaC.latest.gitlab-ci.yml1469 has an event defined for template1470 tracks template1471 behaves like Snowplow event tracking with RedisHLL context1472 behaves like Snowplow event tracking1473 is emitted1474 for Jobs/SAST.gitlab-ci.yml1475 has an event defined for template1476 tracks template1477 behaves like Snowplow event tracking with RedisHLL context1478 behaves like Snowplow event tracking1479 is emitted1480 for Jobs/SAST.latest.gitlab-ci.yml1481 has an event defined for template1482 tracks template1483 behaves like Snowplow event tracking with RedisHLL context1484 behaves like Snowplow event tracking1485 is emitted1486 for Jobs/Secret-Detection.gitlab-ci.yml1487 has an event defined for template1488 tracks template1489 behaves like Snowplow event tracking with RedisHLL context1490 behaves like Snowplow event tracking1491 is emitted1492 for Jobs/Secret-Detection.latest.gitlab-ci.yml1493 has an event defined for template1494 tracks template1495 behaves like Snowplow event tracking with RedisHLL context1496 behaves like Snowplow event tracking1497 is emitted1498 for Jobs/Test.gitlab-ci.yml1499 has an event defined for template1500 tracks template1501 behaves like Snowplow event tracking with RedisHLL context1502 behaves like Snowplow event tracking1503 is emitted1504 for Julia.gitlab-ci.yml1505 has an event defined for template1506 tracks template1507 behaves like Snowplow event tracking with RedisHLL context1508 behaves like Snowplow event tracking1509 is emitted1510 for Kaniko.gitlab-ci.yml1511 has an event defined for template1512 tracks template1513 behaves like Snowplow event tracking with RedisHLL context1514 behaves like Snowplow event tracking1515 is emitted1516 for Katalon.gitlab-ci.yml1517 has an event defined for template1518 tracks template1519 behaves like Snowplow event tracking with RedisHLL context1520 behaves like Snowplow event tracking1521 is emitted1522 for LaTeX.gitlab-ci.yml1523 has an event defined for template1524 tracks template1525 behaves like Snowplow event tracking with RedisHLL context1526 behaves like Snowplow event tracking1527 is emitted1528 for Laravel.gitlab-ci.yml1529 has an event defined for template1530 tracks template1531 behaves like Snowplow event tracking with RedisHLL context1532 behaves like Snowplow event tracking1533 is emitted1534 for MATLAB.gitlab-ci.yml1535 has an event defined for template1536 tracks template1537 behaves like Snowplow event tracking with RedisHLL context1538 behaves like Snowplow event tracking1539 is emitted1540 for Maven.gitlab-ci.yml1541 has an event defined for template1542 tracks template1543 behaves like Snowplow event tracking with RedisHLL context1544 behaves like Snowplow event tracking1545 is emitted1546 for Mono.gitlab-ci.yml1547 has an event defined for template1548 tracks template1549 behaves like Snowplow event tracking with RedisHLL context1550 behaves like Snowplow event tracking1551 is emitted1552 for Nodejs.gitlab-ci.yml1553 has an event defined for template1554 tracks template1555 behaves like Snowplow event tracking with RedisHLL context1556 behaves like Snowplow event tracking1557 is emitted1558 for OpenShift.gitlab-ci.yml1559 has an event defined for template1560 tracks template1561 behaves like Snowplow event tracking with RedisHLL context1562 behaves like Snowplow event tracking1563 is emitted1564 for PHP.gitlab-ci.yml1565 has an event defined for template1566 tracks template1567 behaves like Snowplow event tracking with RedisHLL context1568 behaves like Snowplow event tracking1569 is emitted1570 for Packer.gitlab-ci.yml1571 has an event defined for template1572 tracks template1573 behaves like Snowplow event tracking with RedisHLL context1574 behaves like Snowplow event tracking1575 is emitted1576 for Pages/Brunch.gitlab-ci.yml1577 has an event defined for template1578 tracks template1579 behaves like Snowplow event tracking with RedisHLL context1580 behaves like Snowplow event tracking1581 is emitted1582 for Pages/Doxygen.gitlab-ci.yml1583 has an event defined for template1584 tracks template1585 behaves like Snowplow event tracking with RedisHLL context1586 behaves like Snowplow event tracking1587 is emitted1588 for Pages/Gatsby.gitlab-ci.yml1589 has an event defined for template1590 tracks template1591 behaves like Snowplow event tracking with RedisHLL context1592 behaves like Snowplow event tracking1593 is emitted1594 for Pages/HTML.gitlab-ci.yml1595 has an event defined for template1596 tracks template1597 behaves like Snowplow event tracking with RedisHLL context1598 behaves like Snowplow event tracking1599 is emitted1600 for Pages/Harp.gitlab-ci.yml1601 has an event defined for template1602 tracks template1603 behaves like Snowplow event tracking with RedisHLL context1604 behaves like Snowplow event tracking1605 is emitted1606 for Pages/Hexo.gitlab-ci.yml1607 has an event defined for template1608 tracks template1609 behaves like Snowplow event tracking with RedisHLL context1610 behaves like Snowplow event tracking1611 is emitted1612 for Pages/Hugo.gitlab-ci.yml1613 has an event defined for template1614 tracks template1615 behaves like Snowplow event tracking with RedisHLL context1616 behaves like Snowplow event tracking1617 is emitted1618 for Pages/Hyde.gitlab-ci.yml1619 has an event defined for template1620 tracks template1621 behaves like Snowplow event tracking with RedisHLL context1622 behaves like Snowplow event tracking1623 is emitted1624 for Pages/JBake.gitlab-ci.yml1625 has an event defined for template1626 tracks template1627 behaves like Snowplow event tracking with RedisHLL context1628 behaves like Snowplow event tracking1629 is emitted1630 for Pages/Jekyll.gitlab-ci.yml1631 has an event defined for template1632 tracks template1633 behaves like Snowplow event tracking with RedisHLL context1634 behaves like Snowplow event tracking1635 is emitted1636 for Pages/Jigsaw.gitlab-ci.yml1637 has an event defined for template1638 tracks template1639 behaves like Snowplow event tracking with RedisHLL context1640 behaves like Snowplow event tracking1641 is emitted1642 for Pages/Lektor.gitlab-ci.yml1643 has an event defined for template1644 tracks template1645 behaves like Snowplow event tracking with RedisHLL context1646 behaves like Snowplow event tracking1647 is emitted1648 for Pages/Metalsmith.gitlab-ci.yml1649 has an event defined for template1650 tracks template1651 behaves like Snowplow event tracking with RedisHLL context1652 behaves like Snowplow event tracking1653 is emitted1654 for Pages/Middleman.gitlab-ci.yml1655 has an event defined for template1656 tracks template1657 behaves like Snowplow event tracking with RedisHLL context1658 behaves like Snowplow event tracking1659 is emitted1660 for Pages/Nanoc.gitlab-ci.yml1661 has an event defined for template1662 tracks template1663 behaves like Snowplow event tracking with RedisHLL context1664 behaves like Snowplow event tracking1665 is emitted1666 for Pages/Octopress.gitlab-ci.yml1667 has an event defined for template1668 tracks template1669 behaves like Snowplow event tracking with RedisHLL context1670 behaves like Snowplow event tracking1671 is emitted1672 for Pages/Pelican.gitlab-ci.yml1673 has an event defined for template1674 tracks template1675 behaves like Snowplow event tracking with RedisHLL context1676 behaves like Snowplow event tracking1677 is emitted1678 for Pages/SwaggerUI.gitlab-ci.yml1679 has an event defined for template1680 tracks template1681 behaves like Snowplow event tracking with RedisHLL context1682 behaves like Snowplow event tracking1683 is emitted1684 for Python.gitlab-ci.yml1685 has an event defined for template1686 tracks template1687 behaves like Snowplow event tracking with RedisHLL context1688 behaves like Snowplow event tracking1689 is emitted1690 for Qualys-IaC-Security.gitlab-ci.yml1691 has an event defined for template1692 tracks template1693 behaves like Snowplow event tracking with RedisHLL context1694 behaves like Snowplow event tracking1695 is emitted1696 for Ruby.gitlab-ci.yml1697 has an event defined for template1698 tracks template1699 behaves like Snowplow event tracking with RedisHLL context1700 behaves like Snowplow event tracking1701 is emitted1702 for Rust.gitlab-ci.yml1703 has an event defined for template1704 tracks template1705 behaves like Snowplow event tracking with RedisHLL context1706 behaves like Snowplow event tracking1707 is emitted1708 for Scala.gitlab-ci.yml1709 has an event defined for template1710 tracks template1711 behaves like Snowplow event tracking with RedisHLL context1712 behaves like Snowplow event tracking1713 is emitted1714 for Security/API-Discovery.gitlab-ci.yml1715 has an event defined for template1716 tracks template1717 behaves like Snowplow event tracking with RedisHLL context1718 behaves like Snowplow event tracking1719 is emitted1720 for Security/API-Fuzzing.gitlab-ci.yml1721 has an event defined for template1722 tracks template1723 behaves like Snowplow event tracking with RedisHLL context1724 behaves like Snowplow event tracking1725 is emitted1726 for Security/API-Fuzzing.latest.gitlab-ci.yml1727 has an event defined for template1728 tracks template1729 behaves like Snowplow event tracking with RedisHLL context1730 behaves like Snowplow event tracking1731 is emitted1732 for Security/BAS.latest.gitlab-ci.yml1733 has an event defined for template1734 tracks template1735 behaves like Snowplow event tracking with RedisHLL context1736 behaves like Snowplow event tracking1737 is emitted1738 for Security/Container-Scanning.gitlab-ci.yml1739 has an event defined for template1740 tracks template1741 behaves like Snowplow event tracking with RedisHLL context1742 behaves like Snowplow event tracking1743 is emitted1744 for Security/Container-Scanning.latest.gitlab-ci.yml1745 has an event defined for template1746 tracks template1747 behaves like Snowplow event tracking with RedisHLL context1748 behaves like Snowplow event tracking1749 is emitted1750 for Security/Coverage-Fuzzing.gitlab-ci.yml1751 has an event defined for template1752 tracks template1753 behaves like Snowplow event tracking with RedisHLL context1754 behaves like Snowplow event tracking1755 is emitted1756 for Security/Coverage-Fuzzing.latest.gitlab-ci.yml1757 has an event defined for template1758 tracks template1759 behaves like Snowplow event tracking with RedisHLL context1760 behaves like Snowplow event tracking1761 is emitted1762 for Security/DAST-API.gitlab-ci.yml1763 has an event defined for template1764 tracks template1765 behaves like Snowplow event tracking with RedisHLL context1766 behaves like Snowplow event tracking1767 is emitted1768 for Security/DAST-API.latest.gitlab-ci.yml1769 has an event defined for template1770 tracks template1771 behaves like Snowplow event tracking with RedisHLL context1772 behaves like Snowplow event tracking1773 is emitted1774 for Security/DAST-On-Demand-API-Scan.gitlab-ci.yml1775 has an event defined for template1776 tracks template1777 behaves like Snowplow event tracking with RedisHLL context1778 behaves like Snowplow event tracking1779 is emitted1780 for Security/DAST-On-Demand-Scan.gitlab-ci.yml1781 has an event defined for template1782 tracks template1783 behaves like Snowplow event tracking with RedisHLL context1784 behaves like Snowplow event tracking1785 is emitted1786 for Security/DAST-Runner-Validation.gitlab-ci.yml1787 has an event defined for template1788 tracks template1789 behaves like Snowplow event tracking with RedisHLL context1790 behaves like Snowplow event tracking1791 is emitted1792 for Security/DAST.gitlab-ci.yml1793 has an event defined for template1794 tracks template1795 behaves like Snowplow event tracking with RedisHLL context1796 behaves like Snowplow event tracking1797 is emitted1798 for Security/DAST.latest.gitlab-ci.yml1799 has an event defined for template1800 tracks template1801 behaves like Snowplow event tracking with RedisHLL context1802 behaves like Snowplow event tracking1803 is emitted1804 for Security/Dependency-Scanning.gitlab-ci.yml1805 has an event defined for template1806 tracks template1807 behaves like Snowplow event tracking with RedisHLL context1808 behaves like Snowplow event tracking1809 is emitted1810 for Security/Fortify-FoD-sast.gitlab-ci.yml1811 has an event defined for template1812 tracks template1813 behaves like Snowplow event tracking with RedisHLL context1814 behaves like Snowplow event tracking1815 is emitted1816 for Security/License-Scanning.gitlab-ci.yml1817 has an event defined for template1818 tracks template1819 behaves like Snowplow event tracking with RedisHLL context1820 behaves like Snowplow event tracking1821 is emitted1822 for Security/SAST-IaC.gitlab-ci.yml1823 has an event defined for template1824 tracks template1825 behaves like Snowplow event tracking with RedisHLL context1826 behaves like Snowplow event tracking1827 is emitted1828 for Security/SAST-IaC.latest.gitlab-ci.yml1829 has an event defined for template1830 tracks template1831 behaves like Snowplow event tracking with RedisHLL context1832 behaves like Snowplow event tracking1833 is emitted1834 for Security/SAST.gitlab-ci.yml1835 has an event defined for template1836 tracks template1837 behaves like Snowplow event tracking with RedisHLL context1838 behaves like Snowplow event tracking1839 is emitted1840 for Security/Secret-Detection.gitlab-ci.yml1841 has an event defined for template1842 tracks template1843 behaves like Snowplow event tracking with RedisHLL context1844 behaves like Snowplow event tracking1845 is emitted1846 for Security/Secure-Binaries.gitlab-ci.yml1847 has an event defined for template1848 tracks template1849 behaves like Snowplow event tracking with RedisHLL context1850 behaves like Snowplow event tracking1851 is emitted1852 for Swift.gitlab-ci.yml1853 has an event defined for template1854 tracks template1855 behaves like Snowplow event tracking with RedisHLL context1856 behaves like Snowplow event tracking1857 is emitted1858 for Terraform/Base.gitlab-ci.yml1859 has an event defined for template1860 tracks template1861 behaves like Snowplow event tracking with RedisHLL context1862 behaves like Snowplow event tracking1863 is emitted1864 for Terraform/Base.latest.gitlab-ci.yml1865 has an event defined for template1866 tracks template1867 behaves like Snowplow event tracking with RedisHLL context1868 behaves like Snowplow event tracking1869 is emitted1870 for Terraform/Module-Base.gitlab-ci.yml1871 has an event defined for template1872 tracks template1873 behaves like Snowplow event tracking with RedisHLL context1874 behaves like Snowplow event tracking1875 is emitted1876 for Terraform-Module.gitlab-ci.yml1877 has an event defined for template1878 tracks template1879 behaves like Snowplow event tracking with RedisHLL context1880 behaves like Snowplow event tracking1881 is emitted1882 for Terraform.gitlab-ci.yml1883 has an event defined for template1884 tracks template1885 behaves like Snowplow event tracking with RedisHLL context1886 behaves like Snowplow event tracking1887 is emitted1888 for Terraform.latest.gitlab-ci.yml1889 has an event defined for template1890 tracks template1891 behaves like Snowplow event tracking with RedisHLL context1892 behaves like Snowplow event tracking1893 is emitted1894 for ThemeKit.gitlab-ci.yml1895 has an event defined for template1896 tracks template1897 behaves like Snowplow event tracking with RedisHLL context1898 behaves like Snowplow event tracking1899 is emitted1900 for Verify/Accessibility.gitlab-ci.yml1901 has an event defined for template1902 tracks template1903 behaves like Snowplow event tracking with RedisHLL context1904 behaves like Snowplow event tracking1905 is emitted1906 for Verify/FailFast.gitlab-ci.yml1907 has an event defined for template1908 tracks template1909 behaves like Snowplow event tracking with RedisHLL context1910 behaves like Snowplow event tracking1911 is emitted1912 for Verify/Load-Performance-Testing.gitlab-ci.yml1913 has an event defined for template1914 tracks template1915 behaves like Snowplow event tracking with RedisHLL context1916 behaves like Snowplow event tracking1917 is emitted1918 for Workflows/Branch-Pipelines.gitlab-ci.yml1919 has an event defined for template1920 tracks template1921 behaves like Snowplow event tracking with RedisHLL context1922 behaves like Snowplow event tracking1923 is emitted1924 for Workflows/MergeRequest-Pipelines.gitlab-ci.yml1925 has an event defined for template1926 tracks template1927 behaves like Snowplow event tracking with RedisHLL context1928 behaves like Snowplow event tracking1929 is emitted1930 for dotNET-Core.gitlab-ci.yml1931 has an event defined for template1932 tracks template1933 behaves like Snowplow event tracking with RedisHLL context1934 behaves like Snowplow event tracking1935 is emitted1936 for dotNET.gitlab-ci.yml1937 has an event defined for template1938 tracks template1939 behaves like Snowplow event tracking with RedisHLL context1940 behaves like Snowplow event tracking1941 is emitted1942 for iOS-Fastlane.gitlab-ci.yml1943 has an event defined for template1944 tracks template1945 behaves like Snowplow event tracking with RedisHLL context1946 behaves like Snowplow event tracking1947 is emitted1948 for liquibase.gitlab-ci.yml1949 has an event defined for template1950 tracks template1951 behaves like Snowplow event tracking with RedisHLL context1952 behaves like Snowplow event tracking1953 is emitted1954 for npm.gitlab-ci.yml1955 has an event defined for template1956 tracks template1957 behaves like Snowplow event tracking with RedisHLL context1958 behaves like Snowplow event tracking1959 is emitted1960 with implicit includes1961 for Auto-DevOps.gitlab-ci.yml1962 has an event defined for template1963 tracks template1964 behaves like Snowplow event tracking with RedisHLL context1965 behaves like Snowplow event tracking1966 is emitted1967 for Jobs/Build.gitlab-ci.yml1968 has an event defined for template1969 tracks template1970 behaves like Snowplow event tracking with RedisHLL context1971 behaves like Snowplow event tracking1972 is emitted1973 for Jobs/Test.gitlab-ci.yml1974 has an event defined for template1975 tracks template1976 behaves like Snowplow event tracking with RedisHLL context1977 behaves like Snowplow event tracking1978 is emitted1979 for Jobs/Code-Quality.gitlab-ci.yml1980 has an event defined for template1981 tracks template1982 behaves like Snowplow event tracking with RedisHLL context1983 behaves like Snowplow event tracking1984 is emitted1985 for Jobs/Code-Intelligence.gitlab-ci.yml1986 has an event defined for template1987 tracks template1988 behaves like Snowplow event tracking with RedisHLL context1989 behaves like Snowplow event tracking1990 is emitted1991 for Jobs/Deploy.gitlab-ci.yml1992 has an event defined for template1993 tracks template1994 behaves like Snowplow event tracking with RedisHLL context1995 behaves like Snowplow event tracking1996 is emitted1997 for Jobs/Deploy/ECS.gitlab-ci.yml1998 has an event defined for template1999 tracks template2000 behaves like Snowplow event tracking with RedisHLL context2001 behaves like Snowplow event tracking2002 is emitted2003 for Jobs/Deploy/EC2.gitlab-ci.yml2004 has an event defined for template2005 tracks template2006 behaves like Snowplow event tracking with RedisHLL context2007 behaves like Snowplow event tracking2008 is emitted2009 for Jobs/DAST-Default-Branch-Deploy.gitlab-ci.yml2010 has an event defined for template2011 tracks template2012 behaves like Snowplow event tracking with RedisHLL context2013 behaves like Snowplow event tracking2014 is emitted2015 for Jobs/Browser-Performance-Testing.gitlab-ci.yml2016 has an event defined for template2017 tracks template2018 behaves like Snowplow event tracking with RedisHLL context2019 behaves like Snowplow event tracking2020 is emitted2021 for Jobs/Helm-2to3.gitlab-ci.yml2022 has an event defined for template2023 tracks template2024 behaves like Snowplow event tracking with RedisHLL context2025 behaves like Snowplow event tracking2026 is emitted2027 for Security/DAST.gitlab-ci.yml2028 has an event defined for template2029 tracks template2030 behaves like Snowplow event tracking with RedisHLL context2031 behaves like Snowplow event tracking2032 is emitted2033 for Jobs/Container-Scanning.gitlab-ci.yml2034 has an event defined for template2035 tracks template2036 behaves like Snowplow event tracking with RedisHLL context2037 behaves like Snowplow event tracking2038 is emitted2039 for Jobs/Dependency-Scanning.gitlab-ci.yml2040 has an event defined for template2041 tracks template2042 behaves like Snowplow event tracking with RedisHLL context2043 behaves like Snowplow event tracking2044 is emitted2045 for Jobs/License-Scanning.gitlab-ci.yml2046 has an event defined for template2047 tracks template2048 behaves like Snowplow event tracking with RedisHLL context2049 behaves like Snowplow event tracking2050 is emitted2051 for Jobs/SAST.gitlab-ci.yml2052 has an event defined for template2053 tracks template2054 behaves like Snowplow event tracking with RedisHLL context2055 behaves like Snowplow event tracking2056 is emitted2057 for Jobs/Secret-Detection.gitlab-ci.yml2058 has an event defined for template2059 tracks template2060 behaves like Snowplow event tracking with RedisHLL context2061 behaves like Snowplow event tracking2062 is emitted2063Issues::CloseService2064 #execute2065 checks if the user is authorized to update the issue2066 does not close the issue when the user is not authorized to do so2067 closes the external issue even when the user is not authorized to do so2068 closes the issue when the user is authorized to do so2069 refreshes the number of open issues2070 invalidates counter cache for assignees2071 does not change escalation status2072 when skip_authorization is true2073 does close the issue even if user is not authorized2074 issue is incident type2075 creates a new escalation resolved escalation status2076 behaves like an incident management tracked event2077 .track_event2078 tracks the event using redis2079 behaves like Snowplow event tracking with RedisHLL context2080 behaves like Snowplow event tracking2081 is emitted2082 when there is an escalation status2083 changes escalations status to resolved2084 adds a system note2085 adds a timeline event2086 when the escalation status did not change to resolved2087 does not create a system note2088 does not create a timeline event2089 #close_issue2090 with external issue2091 with an active external issue tracker supporting close_issue2092 closes the issue on the external issue tracker2093 with inactive external issue tracker supporting close_issue2094WARNING: An expectation of `:close_issue` was set on `nil`. To allow expectations on `nil` and suppress this message, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `true`. To disallow expectations on `nil`, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `false`. Called from /builds/gitlab-org/gitlab/spec/services/issues/close_service_spec.rb:179:in `block (5 levels) in <top (required)>'.2095 does not close the issue on the external issue tracker2096 with an active external issue tracker not supporting close_issue2097 does not close the issue on the external issue tracker2098 closed by a merge request2099 mentions closure via a merge request2100 behaves like records an onboarding progress action2101 is expected to receive execute({:action=>:issue_auto_closed}) 1 time2102 updating `metrics.first_mentioned_in_commit_at`2103 when `metrics.first_mentioned_in_commit_at` is not set2104 uses the first commit authored timestamp2105 when `metrics.first_mentioned_in_commit_at` is already set2106 does not update the metrics2107 when merge request has no commits2108 does not update the metrics2109 closed by a commit2110 mentions closure via a commit2111 valid params2112 verifies the number of queries2113 closes the issue2114 records closed user2115 sends notification2116 creates resource state event about the issue being closed2117 marks todos as done2118 deletes milestone issue counters cache2119 when closing the issue fails2120 does not assign a closed_by value for the issue2121 when there is an associated Alert Management Alert2122 when alert can be resolved2123 resolves an alert and sends a system note2124 when alert cannot be resolved2125 writes a warning into the log2126 when there are several associated Alert Management Alerts2127 when alerts can be resolved2128 resolves an alert and sends a system note2129 behaves like does not record an onboarding progress action2130 is expected not to receive new(*(any args)) 0 times2131 when issue is not confidential2132 executes issue hooks2133 when issue is confidential2134 executes confidential issue hooks2135 internal issues disabled2136 does not close the issue2137Issues::MoveService2138 #execute2139 when issue creation fails2140 raises a move error2141 issue movable2142 creates resource state event2143 generic issue2144 creates a new issue in a new project2145 copies issue title2146 copies issue description2147 adds system note to old issue at the end2148 adds system note to new issue at the end2149 closes old issue2150 persists new issue2151 persists all changes2152 preserves author2153 creates a new internal id for issue2154 marks issue as moved2155 marks issue as closed2156 preserves create time2157 issue with award emoji2158 copies the award emoji2159 issue with milestone2160 does not create extra milestone events2161 issue with due date2162 does not create extra system notes2163 issue with assignee2164 preserves assignee with access to the new issue2165 ignores assignee without access to the new issue2166 issue with contacts2167 preserves contacts2168 when moving to another root group2169 does not preserve contacts2170 moving to same project2171 raises error2172 project issue hooks2173 executes project issue hooks for both projects2174 issue with notes2175 copies existing notes in order2176 issue with a design2177 calls CopyDesignCollection::QueueService2178 logs if QueueService returns an error2179 copies the design and its notes2180 issue relative position2181 behaves like copy or reset relative position2182 when moved to a project within same group hierarchy2183 does not reset the relative_position2184 when moved to a project in a different group hierarchy2185 does reset the relative_position2186 issue with escalation status2187 keeps the escalation status2188 move permissions2189 user is reporter in both projects2190 is expected not to raise Exception2191 user is reporter only in new project2192 is expected to raise StandardError with message matching /permissions/2193 user is reporter only in old project2194 is expected to raise StandardError with message matching /permissions/2195 user is reporter in one project and guest in another2196 is expected to raise StandardError with message matching /permissions/2197 issue has already been moved2198 is expected to raise StandardError with message matching /permissions/2199 issue is not persisted2200 is expected to raise StandardError with message matching /permissions/2201 #rewrite_related_issues2202 multiple related issues2203 when admin mode is enabled2204 moves all related issues and retains permissions2205 when admin mode is disabled2206 moves all related issues and retains permissions2207 updating sent notifications2208 when issue is from service desk2209 updates moved issue sent notifications2210 does not update other issues sent notifications2211 when issue is not from service desk2212 does not update sent notifications2213 copying email participants2214 copies moved issue email participants2215Notes::UpdateService2216 #execute2217 does not update the note when params is blank2218 event tracking2219 does not track usage data when params is blank2220 tracks issue usage data2221 behaves like issue_edit snowplow tracking2222 behaves like Snowplow event tracking with RedisHLL context2223 behaves like Snowplow event tracking2224 is emitted2225 when note text was changed2226 update last_edited_at2227 update updated_by2228 when quick action only update2229 delete note and return commands_only error2230 when note text was not changed2231 does not update last_edited_at2232 does not update updated_by2233 when the notable is a merge request2234 tracks merge request usage data2235 with system note2236 does not update the note2237 does not track usage data2238 suggestions2239 refreshes note suggestions2240 todos2241 when note includes a user mention2242 when the note does not change mentions2243 behaves like does not update todos2244 keep todos2245 does not create any new todos2246 when the note changes to include one more user mention2247 behaves like creates one todo2248 marks todos as done2249 creates only 1 new todo2250 when the note changes to include a group mentions2251 behaves like creates one todo2252 marks todos as done2253 creates only 1 new todo2254 when note includes a group mention2255 when the group is public2256 when the note does not change mentions2257 behaves like does not update todos2258 keep todos2259 does not create any new todos2260 when the note changes mentions2261 behaves like creates one todo2262 marks todos as done2263 creates only 1 new todo2264 when the group is private2265 when the note does not change mentions2266 behaves like does not update todos2267 keep todos2268 does not create any new todos2269 when the note changes mentions2270 behaves like creates one todo2271 marks todos as done2272 creates only 1 new todo2273 for a personal snippet2274 does not create todos2275 does not create suggestions2276 does not create mentions2277 does not track usage data2278Gitlab::ImportExport::Project::TreeSaver2279 behaves like saves project tree successfully2280 saves project tree attributes2281 with project root2282 is expected to include {"description" => "description", "visibility_level" => 20}2283 is expected not to include {"runners_token" => "token"}2284 has approvals_before_merge set2285 with milestones2286 is expected not to be empty2287 with merge_requests2288 is expected not to be empty2289 has merge request's milestones2290 has merge request's source branch SHA2291 has merge request's target branch SHA2292 has events2293 has merge requests diffs2294 has merge request diff files2295 has merge request diff commits2296 has merge requests comments2297 has author on merge requests comments2298 has merge request approvals2299 has merge request resource label events2300 has merge request assignees2301 has merge request reviewers2302 with snippets2303 is expected not to be empty2304 has snippet notes2305 with releases2306 is expected not to be empty2307 has no author on releases2308 has the author ID on releases2309 with issues2310 is expected not to be empty2311 has issue comments2312 has issue assignees2313 has author on issue comments2314 has labels associated to records2315 has project and group labels2316 has priorities associated to labels2317 has issue resource label events2318 saves the issue designs correctly2319 saves the issue design notes correctly2320 saves the issue design versions correctly2321 with ci_pipelines2322 is expected not to be empty2323 has pipeline stages2324 has pipeline builds2325 has pipeline generic_commit_statuses2326 has pipeline bridges2327 with commit_notes2328 is expected not to be empty2329 with labels2330 is expected not to be empty2331 with project_feature2332 is expected not to be empty2333 has project feature2334 with custom_attributes2335 has custom attributes2336 with badges2337 has badges2338 with project_members2339 is expected not to be empty2340 with boards2341 is expected not to be empty2342 #saves project tree2343 saves project successfully2344 does not complain about non UTF-8 characters in MR diff files2345 overrides group members2346 when has no permission2347 does not export group members2348 when has permission as maintainer2349 does not export group members2350 when has permission as group owner2351 exports group members as group owner2352 as admin2353 when admin mode is enabled2354 exports group members as admin2355 exports group members as project members2356 when admin mode is disabled2357 does not export group members2358 with description override2359 is expected to include {"description" => "Foo Bar"}2360 when streaming has to retry2361 retries and succeeds2362 retries and does not succeed2363Boards::Issues::MoveService2364 #execute2365 when parent is a project2366 behaves like issues move service2367 when moving an issue between lists2368 delegates the label changes to Issues::UpdateService2369 removes the label from the list it came from and adds the label of the list it goes to2370 behaves like updating timestamps2371 updates updated_at2372 when moving to closed2373 delegates the close proceedings to Issues::CloseService2374 removes all list-labels from boards and close the issue2375 behaves like updating timestamps2376 updates updated_at2377 when moving to backlog2378 keeps labels and milestone2379 behaves like updating timestamps2380 updates updated_at2381 when moving from closed2382 delegates the re-open proceedings to Issues::ReopenService2383 adds the label of the list it goes to and reopen the issue2384 behaves like updating timestamps2385 updates updated_at2386 when moving to same list2387 returns nil2388 keeps issues labels2389 keeps issues assignees2390 sorts issues2391 does not update updated_at2392 when moving to a specific list position2393 moves issue to the top of the list2394 moves issue to a position in the middle of the list2395 moves issue to the bottom of the list2396 when given position is greater than number of issues in the list2397 moves the issue to the bottom of the list2398 when parent is a group2399 behaves like issues move service2400 when moving an issue between lists2401 delegates the label changes to Issues::UpdateService2402 removes the label from the list it came from and adds the label of the list it goes to2403 behaves like updating timestamps2404 updates updated_at2405 when moving to closed2406 delegates the close proceedings to Issues::CloseService2407 removes all list-labels from boards and close the issue2408 behaves like updating timestamps2409 updates updated_at2410 when moving to backlog2411 keeps labels and milestone2412 behaves like updating timestamps2413 updates updated_at2414 when moving from closed2415 delegates the re-open proceedings to Issues::ReopenService2416 adds the label of the list it goes to and reopen the issue2417 behaves like updating timestamps2418 updates updated_at2419 when moving to same list2420 returns nil2421 keeps issues labels2422 keeps issues assignees2423 sorts issues2424 does not update updated_at2425 when moving to a specific list position2426 moves issue to the top of the list2427 moves issue to a position in the middle of the list2428 moves issue to the bottom of the list2429 when given position is greater than number of issues in the list2430 moves the issue to the bottom of the list2431 #execute_multiple2432 returns the expected result if list of issues is empty2433 moving multiple issues2434 moves multiple issues from one list to another2435 moving a single issue2436 moves one issue2437 moving issues visually after an existing issue2438 moves one issue2439 moving issues visually before an existing issue2440 moves one issue2441Gitlab::UserAccess2442 #can_push_to_branch?2443 push to none protected branch2444 returns true if user is a maintainer2445 returns true if user is a developer2446 returns false if user is a reporter2447 push to empty project2448 returns true if user is maintainer2449 when admin mode is enabled2450 returns true for admins2451 when admin mode is disabled2452 returns false for admins2453 when the user is a developer2454 default_branch_protection_level: 0, result: true2455 is expected to eq true2456 default_branch_protection_level: 1, result: true2457 is expected to eq true2458 default_branch_protection_level: 3, result: false2459 is expected to eq false2460 default_branch_protection_level: 2, result: false2461 is expected to eq false2462 push to protected branch2463 returns true if user is a maintainer2464 returns false if user is a developer2465 returns false if user is a reporter2466 returns false if branch does not exist2467 when admin mode is enabled2468 returns false for admins2469 when admin mode is disabled2470 returns false for admins2471 push to protected branch if allowed for developers2472 returns true if user is a maintainer2473 returns true if user is a developer2474 returns false if user is a reporter2475 allowing pushes to maintainers of forked projects2476 allows users that have push access to the canonical project to push to the MR branch2477 does not allow the user to push to other branches2478 does not allow the user to push if they do not have push access to the canonical project2479 merge to protected branch if allowed for developers2480 returns true if user is a maintainer2481 returns true if user is a developer2482 returns false if user is a reporter2483 when skip_collaboration_check is true2484 does not call Project#branch_allows_collaboration?2485 #can_create_tag?2486 push to none protected tag2487 returns true if user is a maintainer2488 returns true if user is a developer2489 returns false if user is a reporter2490 push to protected tag2491 returns true if user is a maintainer2492 returns false if user is a developer2493 returns false if user is a reporter2494 push to protected tag if allowed for developers2495 returns true if user is a maintainer2496 returns true if user is a developer2497 returns false if user is a reporter2498 #can_delete_branch?2499 delete unprotected branch2500 returns true if user is a maintainer2501 returns true if user is a developer2502 returns false if user is a reporter2503 delete protected branch2504 returns true if user is a maintainer2505 returns false if user is a developer2506 returns false if user is a reporter2507 #can_push_for_ref?2508 when user cannot push_code to a project repository (eg. as a guest)2509 is false2510 when user can push_code to a project repository (eg. as a developer)2511 is true2512ProjectPresenter2513 #license_short_name2514 when project.repository has a license_key2515 returns the nickname of the license if present2516 returns the name of the license if nickname is not present2517 when project.repository has no license_key but a license_blob2518 returns LICENSE2519 #default_view2520 user not signed in2521 when repository is empty2522 returns wiki if user has repository access and can read wiki, which exists2523 returns activity if user has repository access and can read wiki, which does not exist2524 returns issues if user does not have repository access, but can read issues2525 returns activity if user can read neither wiki nor issues2526 when repository is not empty2527 returns files and readme if user has repository access2528 returns wiki if user does not have repository access and can read wiki, which exists2529 returns activity if user does not have repository or wiki access2530 returns releases anchor2531 returns environments anchor2532 user signed in2533 when the user is allowed to see the code2534 returns the project view2535 with wikis enabled and the right policy for the user2536 returns wiki if the user has the right policy and the wiki exists2537 returns activity if the user does not have the right policy2538 with issues as a feature available2539 return issues2540 with no activity, no wikies and no issues2541 returns activity as default2542 #can_current_user_push_code?2543 empty repo2544 returns true if user can push_code2545 returns false if user cannot push_code2546 not empty repo2547 returns true if user can push to default branch2548 returns false if default branch is protected2549 if no current user2550 returns false2551 statistics anchors (empty repo)2552 #storage_anchor_data2553 returns storage data2554 #releases_anchor_data2555 does not return release count2556 #commits_anchor_data2557 returns commits data2558 #branches_anchor_data2559 returns branches data2560 #tags_anchor_data2561 returns tags data2562 statistics anchors2563 #storage_anchor_data2564 returns storage data without usage quotas link for non-admin users2565 returns storage data with usage quotas link for admin users2566 #gitlab_ci_anchor_data2567 when user cannot collaborate2568 returns no value2569 when user can collaborate2570 and the CI/CD file is missing2571 returns `Set up CI/CD` button2572 and there is a CI/CD file2573 returns `CI/CD configuration` button2574 #releases_anchor_data2575 returns release count if user can read release2576 returns nil if user cannot read release2577 user not signed in2578 returns nil if user is signed out2579 #commits_anchor_data2580 returns commits data2581 #branches_anchor_data2582 returns branches data2583 #tags_anchor_data2584 returns tags data2585 #new_file_anchor_data2586 returns new file data if user can push2587 returns nil if user cannot push2588 when the project is empty2589 is empty for a developer2590 #readme_anchor_data2591 when user can push and README does not exists2592 returns anchor data2593 when README exists2594 returns anchor data2595 #changelog_anchor_data2596 when user can push and CHANGELOG does not exist2597 returns anchor data2598 when CHANGELOG exists2599 returns anchor data2600 #license_anchor_data2601 when user can push and LICENSE does not exist2602 returns anchor data2603 when LICENSE exists2604 returns anchor data2605 #contribution_guide_anchor_data2606 when user can push and CONTRIBUTING does not exist2607 returns anchor data2608 when CONTRIBUTING exists2609 returns anchor data2610 #autodevops_anchor_data2611 returns nil if builds feature is not available2612 when Auto Devops is enabled2613 returns anchor data2614 when user can admin pipeline and CI yml does not exist2615 returns anchor data2616 #kubernetes_cluster_anchor_data2617 when user can create Kubernetes cluster2618 returns link to cluster if only one exists2619 returns link to clusters page if more than one exists2620 returns link to create a cluster if no cluster exists2621 when user cannot create Kubernetes cluster2622 returns nil2623 #upload_anchor_data2624 when a user can push to the default branch2625 returns upload_anchor_data2626 when the user cannot push to default branch2627 returns nil2628 #wiki_anchor_data2629 wiki_enabled: true, can_read_wiki: true, has_home_page: true, can_create_wiki: true, expected_result: anchor_goto_wiki2630 is expected to match (have attributes {:class_modifier => "btn-default", :is_link => false, :label => (a string ending with "Wiki"), :link => "/namespace947/project-975/-/wikis/home"})2631 wiki_enabled: true, can_read_wiki: true, has_home_page: true, can_create_wiki: false, expected_result: anchor_goto_wiki2632 is expected to match (have attributes {:class_modifier => "btn-default", :is_link => false, :label => (a string ending with "Wiki"), :link => "/namespace947/project-975/-/wikis/home"})2633 wiki_enabled: true, can_read_wiki: true, has_home_page: false, can_create_wiki: true, expected_result: anchor_add_wiki2634 is expected to match (have attributes {:is_link => false, :label => (a string ending with "Add Wiki"), :link => "/namespace947/project-975/-/wikis/home?view=create"})2635 wiki_enabled: true, can_read_wiki: true, has_home_page: false, can_create_wiki: false, expected_result: nil2636 is expected to match nil2637 wiki_enabled: true, can_read_wiki: false, has_home_page: true, can_create_wiki: true, expected_result: nil2638 is expected to match nil2639 wiki_enabled: true, can_read_wiki: false, has_home_page: true, can_create_wiki: false, expected_result: nil2640 is expected to match nil2641 wiki_enabled: true, can_read_wiki: false, has_home_page: false, can_create_wiki: true, expected_result: nil2642 is expected to match nil2643 wiki_enabled: true, can_read_wiki: false, has_home_page: false, can_create_wiki: false, expected_result: nil2644 is expected to match nil2645 wiki_enabled: false, can_read_wiki: true, has_home_page: true, can_create_wiki: true, expected_result: nil2646 is expected to match nil2647 wiki_enabled: false, can_read_wiki: true, has_home_page: true, can_create_wiki: false, expected_result: nil2648 is expected to match nil2649 wiki_enabled: false, can_read_wiki: true, has_home_page: true, can_create_wiki: false, expected_result: nil2650 is expected to match nil2651 wiki_enabled: false, can_read_wiki: true, has_home_page: false, can_create_wiki: true, expected_result: nil2652 is expected to match nil2653 wiki_enabled: false, can_read_wiki: true, has_home_page: false, can_create_wiki: false, expected_result: nil2654 is expected to match nil2655 wiki_enabled: false, can_read_wiki: false, has_home_page: true, can_create_wiki: true, expected_result: nil2656 is expected to match nil2657 wiki_enabled: false, can_read_wiki: false, has_home_page: true, can_create_wiki: false, expected_result: nil2658 is expected to match nil2659 wiki_enabled: false, can_read_wiki: false, has_home_page: false, can_create_wiki: true, expected_result: nil2660 is expected to match nil2661 wiki_enabled: false, can_read_wiki: false, has_home_page: false, can_create_wiki: false, expected_result: nil2662 is expected to match nil2663 #statistics_buttons2664 orders the items correctly2665 #repo_statistics_buttons2666 empty repo2667 includes a button to configure integrations for maintainers2668 does not include a button if not a maintainer2669 for a developer2670 orders the items correctly2671 initialized repo2672 orders the items correctly2673 #can_setup_review_app?2674 when the ci/cd file is missing2675 is expected to be truthy2676 when the ci/cd file is not missing2677 and the user can create a cluster2678 and there is no cluster associated to this project2679 is expected to be truthy2680 and there is already a cluster associated to this project2681 is expected to be falsey2682 when a group cluster is instantiated2683 and the project belongs to this group2684 is expected to be falsey2685 and the project does not belong to this group2686 is expected to be truthy2687 and there is already an instance cluster2688 is false2689 and the user cannot create a cluster2690 is expected to be falsey2691BranchesFinder2692 #execute2693 sort only2694 by name2695 sorts2696 by recently_updated2697 sorts2698 by last_updated2699 sorts2700 filter only2701 by name2702 filters branches2703 by name ignoring letter case2704 filters branches2705 by string2706 returns all branches contain name2707 by provided names2708 filters branches2709 by name that begins with2710 filters branches2711 by name that ends with2712 filters branches2713 by name with wildcard2714 filters branches2715 by mixed regex operators2716 filters branches2717 by invalid regex2718 is expected to raise RegexpError2719 by `|` regex2720 filters branches2721 by exclude name2722 filters branches2723 by name with multiple wildcards2724 filters branches2725 with an unknown name2726 does not find any branch2727 by nonexistent name that begins with2728 filters branches2729 by nonexistent name that ends with2730 filters branches2731 by nonexistent name with wildcard2732 filters branches2733 filter and sort2734 by name and sorts by recently_updated2735 filters branches2736 by name and sorts by recently_updated, with exact matches first2737 filters branches2738 by name and sorts by last_updated2739 filters branches2740 with gitaly pagination2741 by page_token and per_page2742 filters branches2743 by next page_token and per_page2744 filters branches2745 by per_page only2746 filters branches2747 by page_token only2748 raises an error2749 pagination and sort2750 by per_page2751 filters branches2752 by page_token and per_page2753 filters branches2754 pagination and names2755 falls back to default execute and ignore paginations2756 pagination and search2757 falls back to default execute and ignore paginations2758 #total2759 is expected to be a kind of Integer2760 is expected to eq 842761PersonalAccessTokensFinder2762 #execute2763 by current user2764 with no user2765 returns all tokens2766 with admin2767 when admin mode setting is disabled2768 returns all tokens2769 when admin mode setting is enabled2770 when in admin mode2771 returns all tokens2772 when not in admin mode2773 returns no tokens2774 when user can read user personal access tokens2775 returns tokens of user2776 when user can not read user personal access tokens2777 returns no tokens2778 by user2779 by_user: nil, expected_tokens: [:active, :active_other, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation, :bot]2780 returns tokens by user2781 by_user: user, expected_tokens: [:active, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation]2782 returns tokens by user2783 by_user: other_user, expected_tokens: [:active_other]2784 returns tokens by user2785 by_user: admin, expected_tokens: []2786 returns tokens by user2787 by users2788 by_users: nil, expected_tokens: [:active, :active_other, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation, :bot]2789 returns tokens by users2790 by_users: lazy { [user] }, expected_tokens: [:active, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation]2791 returns tokens by users2792 by_users: lazy { [other_user] }, expected_tokens: [:active_other]2793 returns tokens by users2794 by_users: lazy { [user, other_user] }, expected_tokens: [:active, :active_other, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation]2795 returns tokens by users2796 by_users: [], expected_tokens: []2797 returns tokens by users2798 by impersonation2799 by_impersonation: nil, expected_tokens: [:active, :active_other, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation, :bot]2800 returns tokens by impersonation2801 by_impersonation: true, expected_tokens: [:active_impersonation, :expired_impersonation, :revoked_impersonation]2802 returns tokens by impersonation2803 by_impersonation: false, expected_tokens: [:active, :active_other, :expired, :revoked, :bot]2804 returns tokens by impersonation2805 by_impersonation: "other", expected_tokens: [:active, :active_other, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation, :bot]2806 returns tokens by impersonation2807 by state2808 by_state: nil, expected_tokens: [:active, :active_other, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation, :bot]2809 returns tokens by state2810 by_state: "active", expected_tokens: [:active, :active_other, :active_impersonation, :bot]2811 returns tokens by state2812 by_state: "inactive", expected_tokens: [:expired, :revoked, :expired_impersonation, :revoked_impersonation]2813 returns tokens by state2814 by_state: "other", expected_tokens: [:active, :active_other, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation, :bot]2815 returns tokens by state2816 by owner type2817 by_owner_type: nil, expected_tokens: [:active, :active_other, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation, :bot]2818 returns tokens by owner type2819 by_owner_type: "human", expected_tokens: [:active, :active_other, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation]2820 returns tokens by owner type2821 by_owner_type: "other", expected_tokens: [:active, :active_other, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation, :bot]2822 returns tokens by owner type2823 by revoked state2824 by_revoked_state: nil, expected_tokens: [:active, :active_other, :expired, :active_impersonation, :expired_impersonation, :bot]2825 returns tokens by revoked state2826 by_revoked_state: true, expected_tokens: [:revoked, :revoked_impersonation]2827 returns tokens by revoked state2828 by_revoked_state: false, expected_tokens: [:active, :active_other, :expired, :active_impersonation, :expired_impersonation, :bot]2829 returns tokens by revoked state2830 by created date2831 by created before2832 by_created_before: Sat, 27 May 2023 06:26:35.565780946 UTC +00:00, expected_tokens: []2833 returns tokens by created before2834 by_created_before: Wed, 31 May 2023 06:26:35.566049910 UTC +00:00, expected_tokens: [:active_other]2835 returns tokens by created before2836 by_created_before: Sun, 04 Jun 2023 06:26:35.566209421 UTC +00:00, expected_tokens: [:active, :active_other, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation, :bot]2837 returns tokens by created before2838 by created after2839 by_created_after: Sat, 27 May 2023 06:26:36.159564951 UTC +00:00, expected_tokens: [:active, :active_other, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation, :bot]2840 returns tokens by created before2841 by_created_after: Wed, 31 May 2023 06:26:36.787812215 UTC +00:00, expected_tokens: [:active, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation, :bot]2842 returns tokens by created before2843 by_created_after: Sun, 04 Jun 2023 06:26:36.787993337 UTC +00:00, expected_tokens: []2844 returns tokens by created before2845 by last used date2846 by last used before2847 by_last_used_before: Sat, 27 May 2023 06:26:36.791687772 UTC +00:00, expected_tokens: []2848 returns tokens by last used before2849 by_last_used_before: Wed, 31 May 2023 06:26:36.791857049 UTC +00:00, expected_tokens: [:active_other]2850 returns tokens by last used before2851 by_last_used_before: Sun, 04 Jun 2023 06:26:36.791968552 UTC +00:00, expected_tokens: [:active, :active_other, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation, :bot]2852 returns tokens by last used before2853 by last used after2854 by_last_used_after: Sat, 27 May 2023 06:26:37.422579357 UTC +00:00, expected_tokens: [:active, :active_other, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation, :bot]2855 returns tokens by last used after2856 by_last_used_after: Wed, 31 May 2023 06:26:38.061889728 UTC +00:00, expected_tokens: [:active, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation, :bot]2857 returns tokens by last used after2858 by_last_used_after: Sun, 04 Jun 2023 06:26:38.062055523 UTC +00:00, expected_tokens: []2859 returns tokens by last used after2860 by search2861 by_search: nil, expected_tokens: [:active, :active_other, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation, :bot]2862 returns tokens by search2863 by_search: "my_pat", expected_tokens: [:active, :active_other]2864 returns tokens by search2865 by_search: "other", expected_tokens: []2866 returns tokens by search2867 sort2868 sort: nil, expected_tokens: [:active, :active_other, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation, :bot]2869 returns ordered tokens28711st Try error in ./spec/finders/personal_access_tokens_finder_spec.rb:295:2872expected: [473, 474, 475, 476, 477, 478, 479, 480]2873 got: [477, 478, 479, 480, 473, 474, 475, 476]2874(compared using ==)2876RSpec::Retry: 2nd try ./spec/finders/personal_access_tokens_finder_spec.rb:2952877 sort: "id_asc", expected_tokens: [:active, :active_other, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation, :bot]2878 returns ordered tokens2879 sort: "id_desc", expected_tokens: [:bot, :revoked_impersonation, :expired_impersonation, :active_impersonation, :revoked, :expired, :active_other, :active]2880 returns ordered tokens2881 sort: "other", expected_tokens: [:active, :active_other, :expired, :revoked, :active_impersonation, :expired_impersonation, :revoked_impersonation, :bot]2882 returns ordered tokens2883 delegates2884 #find_by_id2885 returns token by id2886 #find_by_token2887 returns token by token2888 #find2889 returns token by id2890Namespace::RootStorageStatisticsPolicy2891 #rules2892 when the namespace is a personal namespace2893 when the users is anonymous2894 is expected to be falsey2895 when the user is not the owner2896 is expected to be falsey2897 when the user is the owner2898 is expected to be truthy2899 when the namespace is a group2900 when the users is anonymous2901 is expected to be falsey2902 user_type: :non_member, outcome: false2903 is expected to eq false2904 when the user is external2905 is expected to eq false2906 user_type: :guest, outcome: false2907 is expected to eq false2908 when the user is external2909 is expected to eq false2910 user_type: :reporter, outcome: false2911 is expected to eq false2912 when the user is external2913 is expected to eq false2914 user_type: :developer, outcome: false2915 is expected to eq false2916 when the user is external2917 is expected to eq false2918 user_type: :maintainer, outcome: false2919 is expected to eq false2920 when the user is external2921 is expected to eq false2922 user_type: :owner, outcome: true2923 is expected to eq true2924 when the user is external2925 is expected to eq true2926 when the users is anonymous2927 is expected to be falsey2928 user_type: :non_member, outcome: false2929 is expected to eq false2930 when the user is external2931 is expected to eq false2932 user_type: :guest, outcome: false2933 is expected to eq false2934 when the user is external2935 is expected to eq false2936 user_type: :reporter, outcome: false2937 is expected to eq false2938 when the user is external2939 is expected to eq false2940 user_type: :developer, outcome: false2941 is expected to eq false2942 when the user is external2943 is expected to eq false2944 user_type: :maintainer, outcome: false2945 is expected to eq false2946 when the user is external2947 is expected to eq false2948 user_type: :owner, outcome: true2949 is expected to eq true2950 when the user is external2951 is expected to eq true2952 when the users is anonymous2953 is expected to be falsey2954 user_type: :non_member, outcome: false2955 is expected to eq false2956 when the user is external2957 is expected to eq false2958 user_type: :guest, outcome: false2959 is expected to eq false2960 when the user is external2961 is expected to eq false2962 user_type: :reporter, outcome: false2963 is expected to eq false2964 when the user is external2965 is expected to eq false2966 user_type: :developer, outcome: false2967 is expected to eq false2968 when the user is external2969 is expected to eq false2970 user_type: :maintainer, outcome: false2971 is expected to eq false2972 when the user is external2973 is expected to eq false2974 user_type: :owner, outcome: true2975 is expected to eq true2976 when the user is external2977 is expected to eq true2978Files::MultiService2979 #execute2980 with a valid action2981 returns a hash with the :success status2982 with an invalid action2983 returns a hash with the :error status2984 Updating files2985 when the file has been previously updated2986 rejects the commit2987 when file not changed, but later commit id is used2988 accepts the commit2989 when the file have not been modified2990 accepts the commit2991 changing execute_filemode of a file2992 accepts the commit2993 updates the execute_filemode of the file2994 when the file doesn't exists2995 rejects the commit2996 when moving a file2997 when original file has been updated2998 rejects the commit2999 when original file has not been updated3000 moves the file3001 when content is nil3002 moves the existing content untouched3003 when content is an empty string3004 moves the file and empties it3005 when creating a file matching an LFS filter3006 creates an LFS pointer3007 creates an LfsObject with the file's content3008 links the LfsObject to the project3009 with base64 encoded content3010 creates an LFS pointer3011 creates an LfsObject with the file's content3012 when file status validation is skipped3013 does not check the last commit3014 creates the file3015 when force is set to true and branch already exists3016 is still a success3017Ci::PipelinePresenter3018 inherits from Gitlab::View::Presenter::Delegated3019 #initialize3020 takes a pipeline and optional params3021 exposes pipeline3022 forwards missing methods to pipeline3023 #status_title3024 when pipeline is auto-canceled3025 shows that the pipeline is auto-canceled3026 when pipeline is not auto-canceled3027 does not have a status title3028 #failure_reason3029 when pipeline has a failure reason3030 when failure reason is unknown_failure3031 represents a failure reason sentence3032 when failure reason is config_error3033 represents a failure reason sentence3034 when failure reason is external_validation_failure3035 represents a failure reason sentence3036 when failure reason is user_not_verified3037 represents a failure reason sentence3038 when failure reason is size_limit_exceeded3039 represents a failure reason sentence3040 when failure reason is job_activity_limit_exceeded3041 represents a failure reason sentence3042 when failure reason is deployments_limit_exceeded3043 represents a failure reason sentence3044 when failure reason is project_deleted3045 represents a failure reason sentence3046 when pipeline does not have failure reason3047 returns nil3048 #event_type_name3049 for a detached merge request pipeline3050 is expected to eq "Merge request pipeline"3051 for a merged result pipeline3052 is expected to eq "Merged result pipeline"3053 for a merge train pipeline3054 is expected to eq "Merge train pipeline"3055 when pipeline is branch pipeline3056 is expected to eq "Pipeline"3057 #coverage3058 when pipeline has coverage3059 formats coverage into 2 decimal points3060 when pipeline does not have coverage3061 returns nil3062 #ref_text_legacy3063 when pipeline is detached merge request pipeline3064 returns a correct ref text3065 when pipeline is merge request pipeline3066 returns a correct ref text3067 when pipeline is branch pipeline3068 when ref exists in the repository3069 returns a correct ref text3070 when ref contains malicious script3071 does not include the malicious script3072 when ref does not exist in the repository3073 returns a correct ref text3074 when ref contains malicious script3075 does not include the malicious script3076 #ref_text3077 when pipeline is detached merge request pipeline3078 returns a correct ref text3079 when pipeline is merge request pipeline3080 returns a correct ref text3081 when pipeline is branch pipeline3082 when ref exists in the repository3083 returns a correct ref text3084 when ref contains malicious script3085 does not include the malicious script3086 when ref does not exist in the repository3087 returns a correct ref text3088 when ref contains malicious script3089 does not include the malicious script3090 #all_related_merge_request_text3091 with zero related merge requests (branch pipeline)3092 is expected to eq "No related merge requests found."3093 with one related merge request3094 is expected to eq "1 related merge request: <a class=\"mr-iid\" href=\"/namespace1018/project-1046/-/merge_requests/1\">!1 My title 316</a>"3095 with two related merge requests3096 is expected to eq "2 related merge requests: <a class=\"mr-iid\" href=\"/namespace1019/project-1047/-/merge_requests/1\...a>, <a class=\"mr-iid\" href=\"/namespace1018/project-1046/-/merge_requests/1\">!1 My title 316</a>"3097 with a limit passed3098 is expected to eq "2 related merge requests: <a class=\"mr-iid\" href=\"/namespace1019/project-1047/-/merge_requests/1\">!1 My title 317</a>"3099 #all_related_merge_requests3100 memoizes the returned relation3101 for a branch pipeline with two open MRs3102 is expected to contain exactly #<MergeRequest id:39 namespace1013/project-1041!1> and #<MergeRequest id:40 namespace1013/project-1041!2>3103 permissions3104 with a private project3105 behaves like private merge requests3106 when not logged in3107 is expected to be empty3108 when logged in as a non_member3109 is expected to be empty3110 when logged in as a guest3111 is expected to be empty3112 when logged in as a developer3113 is expected to contain exactly #<MergeRequest id:41 namespace1013/project-1041!1>3114 when logged in as a maintainer3115 is expected to contain exactly #<MergeRequest id:41 namespace1013/project-1041!1>3116 with a public project with private merge requests3117 behaves like private merge requests3118 when not logged in3119 is expected to be empty3120 when logged in as a non_member3121 is expected to be empty3122 when logged in as a guest3123 is expected to be empty3124 when logged in as a developer3125 is expected to contain exactly #<MergeRequest id:41 namespace1013/project-1041!1>3126 when logged in as a maintainer3127 is expected to contain exactly #<MergeRequest id:41 namespace1013/project-1041!1>3128 with a public project with public merge requests3129 when not logged in3130 is expected to contain exactly #<MergeRequest id:41 namespace1013/project-1041!1>3131 #link_to_merge_request3132 with a related merge request3133 returns a correct link3134 when pipeline is branch pipeline3135 is expected to be nil3136 #link_to_merge_request_source_branch3137 with a related merge request3138 returns a correct link3139 when pipeline is branch pipeline3140 is expected to be nil3141 #link_to_merge_request_target_branch3142 with a related merge request3143 returns a correct link3144 when pipeline is branch pipeline3145 is expected to be nil3146Ability3147 using a nil subject3148 has no permissions3149 .users_that_can_read_project3150 using a public project3151 returns all the users3152 using an internal project3153 returns users that are administrators3154 returns internal users while skipping external users3155 returns external users if they are the project owner3156 returns external users if they are project members3157 returns an empty Array if all users are external users without access3158 using a private project3159 returns users that are administrators when admin mode is enabled3160 does not return users that are administrators when admin mode is disabled3161 returns external users if they are the project owner3162 returns external users if they are project members3163 returns an empty Array if all users are internal users without access3164 returns an empty Array if all users are external users without access3165 .users_that_can_read_personal_snippet3166 private snippet is readable only by its author3167 public snippet is readable by all users3168 .users_that_can_read_internal_note3169 for groups3170 behaves like filtering users that can read internal note3171 returns users that can read internal notes3172 for projects3173 behaves like filtering users that can read internal note3174 returns users that can read internal notes3175 .merge_requests_readable_by_user3176 with an admin when admin mode is enabled3177 returns all merge requests3178 with an admin when admin mode is disabled3179 returns merge_requests that are publicly visible3180 without a user3181 returns merge_requests that are publicly visible3182 with a user3183 returns projects visible to the user3184 when a user cannot read cross project and a filter is passed3185 returns only MRs of the specified project without checking access on others3186 .issues_readable_by_user3187 with an admin when admin mode is enabled3188 returns all given issues3189 with an admin when admin mode is disabled3190 returns the issues readable by the admin3191 returns no issues when not given access3192 with a regular user3193 returns the issues readable by the user3194 returns an empty Array when no issues are readable3195 without a regular user3196 returns issues that are publicly visible3197 when the user cannot read cross project3198 excludes issues from other projects whithout checking separatly when passing a scope3199 .feature_flags_readable_by_user3200 without a user3201 returns no feature flags3202 with a user3203 returns feature flags visible to the user3204 when a user cannot read cross project and a filter is passed3205 returns only feature flags of the specified project without checking access on others3206 .project_disabled_features_rules3207 wiki named abilities3208 disables wiki abilities if the project has no wiki3209 forgetting3210 allows us to discard specific values from the DeclarativePolicy cache3211 when bypassing the session3212 allows us to have re-entrant evaluation of admin-only permissions3213Packages::Policies::ProjectPolicy3214 deploy token access3215 when a deploy token with read_package_registry scope3216 is expected to be allowed :read_package3217 behaves like package access with repository disabled3218 is expected to be allowed :read_package3219 when a deploy token with write_package_registry scope3220 is expected to be allowed :read_package3221 behaves like package access with repository disabled3222 is expected to be allowed :read_package3223 read_package3224 project: private_project, package_registry_access_level: 0, current_user: anonymous, expect_to_be_allowed: false3225 is expected to be disallowed :read_package3226 project: private_project, package_registry_access_level: 0, current_user: non_member, expect_to_be_allowed: false3227 is expected to be disallowed :read_package3228 project: private_project, package_registry_access_level: 0, current_user: guest, expect_to_be_allowed: false3229 is expected to be disallowed :read_package3230 project: private_project, package_registry_access_level: 0, current_user: reporter, expect_to_be_allowed: false3231 is expected to be disallowed :read_package3232 project: private_project, package_registry_access_level: 0, current_user: developer, expect_to_be_allowed: false3233 is expected to be disallowed :read_package3234 project: private_project, package_registry_access_level: 0, current_user: maintainer, expect_to_be_allowed: false3235 is expected to be disallowed :read_package3236 project: private_project, package_registry_access_level: 0, current_user: owner, expect_to_be_allowed: false3237 is expected to be disallowed :read_package3238 project: private_project, package_registry_access_level: 0, current_user: admin, expect_to_be_allowed: false3239 is expected to be disallowed :read_package3240 project: private_project, package_registry_access_level: 10, current_user: anonymous, expect_to_be_allowed: false3241 is expected to be disallowed :read_package3242 project: private_project, package_registry_access_level: 10, current_user: non_member, expect_to_be_allowed: false3243 is expected to be disallowed :read_package3244 project: private_project, package_registry_access_level: 10, current_user: guest, expect_to_be_allowed: false3245 is expected to be disallowed :read_package3246 project: private_project, package_registry_access_level: 10, current_user: reporter, expect_to_be_allowed: true3247 is expected to be allowed :read_package3248 project: private_project, package_registry_access_level: 10, current_user: developer, expect_to_be_allowed: true3249 is expected to be allowed :read_package3250 project: private_project, package_registry_access_level: 10, current_user: maintainer, expect_to_be_allowed: true3251 is expected to be allowed :read_package3252 project: private_project, package_registry_access_level: 10, current_user: owner, expect_to_be_allowed: true3253 is expected to be allowed :read_package3254 project: private_project, package_registry_access_level: 10, current_user: admin, expect_to_be_allowed: true3255 is expected to be allowed :read_package3256 project: private_project, package_registry_access_level: 30, current_user: anonymous, expect_to_be_allowed: true3257 is expected to be allowed :read_package3258 project: private_project, package_registry_access_level: 30, current_user: non_member, expect_to_be_allowed: true3259 is expected to be allowed :read_package3260 project: private_project, package_registry_access_level: 30, current_user: guest, expect_to_be_allowed: true3261 is expected to be allowed :read_package3262 project: private_project, package_registry_access_level: 30, current_user: reporter, expect_to_be_allowed: true3263 is expected to be allowed :read_package3264 project: private_project, package_registry_access_level: 30, current_user: developer, expect_to_be_allowed: true3265 is expected to be allowed :read_package3266 project: private_project, package_registry_access_level: 30, current_user: maintainer, expect_to_be_allowed: true3267 is expected to be allowed :read_package3268 project: private_project, package_registry_access_level: 30, current_user: owner, expect_to_be_allowed: true3269 is expected to be allowed :read_package3270 project: private_project, package_registry_access_level: 30, current_user: admin, expect_to_be_allowed: true3271 is expected to be allowed :read_package3272 project: internal_project, package_registry_access_level: 0, current_user: anonymous, expect_to_be_allowed: false3273 is expected to be disallowed :read_package3274 project: internal_project, package_registry_access_level: 0, current_user: non_member, expect_to_be_allowed: false3275 is expected to be disallowed :read_package3276 project: internal_project, package_registry_access_level: 0, current_user: guest, expect_to_be_allowed: false3277 is expected to be disallowed :read_package3278 project: internal_project, package_registry_access_level: 0, current_user: reporter, expect_to_be_allowed: false3279 is expected to be disallowed :read_package3280 project: internal_project, package_registry_access_level: 0, current_user: developer, expect_to_be_allowed: false3281 is expected to be disallowed :read_package3282 project: internal_project, package_registry_access_level: 0, current_user: maintainer, expect_to_be_allowed: false3283 is expected to be disallowed :read_package3284 project: internal_project, package_registry_access_level: 0, current_user: owner, expect_to_be_allowed: false3285 is expected to be disallowed :read_package3286 project: internal_project, package_registry_access_level: 0, current_user: admin, expect_to_be_allowed: false3287 is expected to be disallowed :read_package3288 project: internal_project, package_registry_access_level: 20, current_user: anonymous, expect_to_be_allowed: false3289 is expected to be disallowed :read_package3290 project: internal_project, package_registry_access_level: 20, current_user: non_member, expect_to_be_allowed: true3291 is expected to be allowed :read_package3292 project: internal_project, package_registry_access_level: 20, current_user: guest, expect_to_be_allowed: true3293 is expected to be allowed :read_package3294 project: internal_project, package_registry_access_level: 20, current_user: reporter, expect_to_be_allowed: true3295 is expected to be allowed :read_package3296 project: internal_project, package_registry_access_level: 20, current_user: developer, expect_to_be_allowed: true3297 is expected to be allowed :read_package3298 project: internal_project, package_registry_access_level: 20, current_user: maintainer, expect_to_be_allowed: true3299 is expected to be allowed :read_package3300 project: internal_project, package_registry_access_level: 20, current_user: owner, expect_to_be_allowed: true3301 is expected to be allowed :read_package3302 project: internal_project, package_registry_access_level: 20, current_user: admin, expect_to_be_allowed: true3303 is expected to be allowed :read_package3304 project: internal_project, package_registry_access_level: 30, current_user: anonymous, expect_to_be_allowed: true3305 is expected to be allowed :read_package3306 project: internal_project, package_registry_access_level: 30, current_user: non_member, expect_to_be_allowed: true3307 is expected to be allowed :read_package3308 project: internal_project, package_registry_access_level: 30, current_user: guest, expect_to_be_allowed: true3309 is expected to be allowed :read_package3310 project: internal_project, package_registry_access_level: 30, current_user: reporter, expect_to_be_allowed: true3311 is expected to be allowed :read_package3312 project: internal_project, package_registry_access_level: 30, current_user: developer, expect_to_be_allowed: true3313 is expected to be allowed :read_package3314 project: internal_project, package_registry_access_level: 30, current_user: maintainer, expect_to_be_allowed: true3315 is expected to be allowed :read_package3316 project: internal_project, package_registry_access_level: 30, current_user: owner, expect_to_be_allowed: true3317 is expected to be allowed :read_package3318 project: internal_project, package_registry_access_level: 30, current_user: admin, expect_to_be_allowed: true3319 is expected to be allowed :read_package3320 project: public_project, package_registry_access_level: 0, current_user: anonymous, expect_to_be_allowed: false3321 is expected to be disallowed :read_package3322 project: public_project, package_registry_access_level: 0, current_user: non_member, expect_to_be_allowed: false3323 is expected to be disallowed :read_package3324 project: public_project, package_registry_access_level: 0, current_user: guest, expect_to_be_allowed: false3325 is expected to be disallowed :read_package3326 project: public_project, package_registry_access_level: 0, current_user: reporter, expect_to_be_allowed: false3327 is expected to be disallowed :read_package3328 project: public_project, package_registry_access_level: 0, current_user: developer, expect_to_be_allowed: false3329 is expected to be disallowed :read_package3330 project: public_project, package_registry_access_level: 0, current_user: maintainer, expect_to_be_allowed: false3331 is expected to be disallowed :read_package3332 project: public_project, package_registry_access_level: 0, current_user: owner, expect_to_be_allowed: false3333 is expected to be disallowed :read_package3334 project: public_project, package_registry_access_level: 0, current_user: admin, expect_to_be_allowed: false3335 is expected to be disallowed :read_package3336 project: public_project, package_registry_access_level: 30, current_user: anonymous, expect_to_be_allowed: true3337 is expected to be allowed :read_package3338 project: public_project, package_registry_access_level: 30, current_user: non_member, expect_to_be_allowed: true3339 is expected to be allowed :read_package3340 project: public_project, package_registry_access_level: 30, current_user: guest, expect_to_be_allowed: true3341 is expected to be allowed :read_package3342 project: public_project, package_registry_access_level: 30, current_user: reporter, expect_to_be_allowed: true3343 is expected to be allowed :read_package3344 project: public_project, package_registry_access_level: 30, current_user: developer, expect_to_be_allowed: true3345 is expected to be allowed :read_package3346 project: public_project, package_registry_access_level: 30, current_user: maintainer, expect_to_be_allowed: true3347 is expected to be allowed :read_package3348 project: public_project, package_registry_access_level: 30, current_user: owner, expect_to_be_allowed: true3349 is expected to be allowed :read_package3350 project: public_project, package_registry_access_level: 30, current_user: admin, expect_to_be_allowed: true3351 is expected to be allowed :read_package3352 with admin3353 behaves like package access with repository disabled3354 is expected to be allowed :read_package3355Mutations::MergeRequests::Accept3356 #resolve3357 merges the merge request3358 rejects the mutation if the SHA is a mismatch3359 respects the merge commit message3360 respects the squash flag3361 respects the squash_commit_message argument3362 respects the should_remove_source_branch argument when true3363 respects the should_remove_source_branch argument when false3364 rejects unmergeable MRs3365 rejects merges when we cannot validate the hooks3366 rejects merges when the merge service returns an error3367 rejects merges when the merge service raises merge error3368 can use the MERGE_WHEN_PIPELINE_SUCCEEDS strategy3369Gitlab::GitalyClient::OperationService3370 #user_create_branch3371 sends a user_create_branch message and returns a Gitlab::git::Branch3372 with structured errors3373 with CustomHookError3374 when details contain stderr without prefix3375 behaves like failed branch creation3376 raised a PreRecieveError3377 when details contain stderr with prefix3378 behaves like failed branch creation3379 raised a PreRecieveError3380 when details contain stdout without prefix3381 behaves like failed branch creation3382 raised a PreRecieveError3383 when details contain stdout with prefix3384 behaves like failed branch creation3385 raised a PreRecieveError3386 when details contain no stderr or stdout3387 behaves like failed branch creation3388 raised a PreRecieveError3389 #user_update_branch3390 sends a user_update_branch message3391 when pre_receive_error is present3392 throws a PreReceive exception3393 #user_merge_to_ref3394 sends a user_merge_to_ref message3395 #user_delete_branch3396 sends a user_delete_branch message3397 with a custom hook error3398 when details contain stderr3399 behaves like a failed branch deletion3400 raises a PreReceiveError3401 when details contain stdout3402 behaves like a failed branch deletion3403 raises a PreReceiveError3404 with a non-detailed error3405 raises a GRPC error3406 #user_merge_branch3407 sends a user_merge_branch message3408 with an exception with the UserMergeBranchError3409 raises PreRecieveError with the error message3410 with a custom hook error3411 when details contain stderr without prefix3412 behaves like a failed merge3413 raises a PreReceiveError3414 when details contain stderr with prefix3415 behaves like a failed merge3416 raises a PreReceiveError3417 when details contain stdout without prefix3418 behaves like a failed merge3419 raises a PreReceiveError3420 when details contain stdout with prefix3421 behaves like a failed merge3422 raises a PreReceiveError3423 when details contain no stderr or stdout3424 behaves like a failed merge3425 raises a PreReceiveError3426 with an exception without the detailed error3427 raises PermissionDenied3428 with ReferenceUpdateError3429 returns nil3430 #user_ff_branch3431 sends a user_ff_branch message and returns a BranchUpdate object3432 when the response has no branch_update3433 is expected to be nil3434 when the pre-receive hook fails3435 raises the error3436 #user_cherry_pick3437 when AccessCheckError is raised3438 behaves like #user_cherry_pick with a gRPC error3439 raises an exception3440 when NotAncestorError is raised3441 behaves like #user_cherry_pick with a gRPC error3442 raises an exception3443 when MergeConflictError is raised3444 behaves like #user_cherry_pick with a gRPC error3445 raises an exception3446 when a non-detailed gRPC error is raised3447 behaves like #user_cherry_pick with a gRPC error3448 raises an exception3449 #user_revert3450 behaves like cherry pick and revert errors3451 when a pre_receive_error is present3452 raises a PreReceiveError3453 when a commit_error is present3454 raises a CommitError3455 when a create_tree_error is present3456 raises a CreateTreeError3457 when branch_update is nil3458 is expected to be nil3459 #rebase3460 when AccessError is raised3461 behaves like #rebase with an error3462 raises a GitError exception3463 when RebaseConflictError is raised3464 behaves like #rebase with an error3465 raises a GitError exception3466 when non-detailed gRPC error is raised3467 behaves like #rebase with an error3468 raises a GitError exception3469 #user_squash3470 sends a user_squash message and returns the squash sha3471 when ResolveRevisionError is raised3472 behaves like #user_squash with an error3473 raises a GitError exception3474 when RebaseConflictError is raised3475 behaves like #user_squash with an error3476 raises a GitError exception3477 when non-detailed gRPC error is raised3478 behaves like #user_squash with an error3479 raises a GitError exception3480 #user_commit_files3481 with unstructured errors3482 when a pre_receive_error is present3483 raises a PreReceiveError3484 when an index_error is present3485 raises an IndexError3486 when branch_update is nil3487 is expected to be nil3488 with structured errors3489 with AccessCheckError3490 raises a PreReceiveError3491 with IndexError3492 with missing file3493 behaves like #user_commit_files failure3494 raises an IndexError3495 with existing directory3496 behaves like #user_commit_files failure3497 raises an IndexError3498 with existing file3499 behaves like #user_commit_files failure3500 raises an IndexError3501 with invalid path3502 behaves like #user_commit_files failure3503 raises an IndexError3504 with directory traversal3505 behaves like #user_commit_files failure3506 raises an IndexError3507 with empty path3508 behaves like #user_commit_files failure3509 raises an IndexError3510 with unspecified error3511 behaves like #user_commit_files failure3512 raises an IndexError3513 with an exception without the detailed error3514 with an index error from libgit23515 raises IndexError3516 with a generic error3517 raises PermissionDenied3518 with CustomHookError3519 raises a PreReceiveError3520 #user_commit_patches3521 applies the patch correctly3522 when the patch could not be applied3523 raises the correct error3524 #add_tag3525 without tag message3526 creates a lightweight tag3527 with tag message3528 creates an annotated tag3529 with preexisting tag3530 raises a TagExistsError3531 with invalid target3532 raises an InvalidRef error3533 with internal error3534 raises an Internal error3535 with structured errors3536 with ReferenceExistsError3537 raises a TagExistsError3538 with AccessCheckError3539 raises a PreReceiveError3540 with CustomHookError3541 raises a PreReceiveError3542NotesHelper3543 #note_target_title3544 note does not exist3545 returns nil3546 target does not exist3547 returns nil3548 when given a design target3549 returns nil3550 when given a non-design target3551 returns the issue title3552 #notes_max_access_for_users3553 returns access levels3554 handles access in different projects3555 #discussion_path3556 for a merge request discusion3557 for a diff discussion3558 when the discussion is active3559 returns the diff path with the line code3560 when the discussion is on an older merge request version3561 returns the diff version path with the line code3562 when the discussion is on a comparison between merge request versions3563 returns the diff version comparison path with the line code3564 when the discussion does not have a merge request version3565 returns nil3566 for a legacy diff discussion3567 when the discussion is active3568 returns the diff path with the line code3569 when the discussion is outdated3570 returns nil3571 for a non-diff discussion3572 returns nil3573 for a contextual commit discussion3574 returns the merge request diff discussion scoped in the commit3575 for a commit discussion3576 for a diff discussion3577 returns the commit path with the line code3578 for a legacy diff discussion3579 returns the commit path with the line code3580 for a non-diff discussion3581 returns the commit path with the note anchor3582 #initial_notes_data3583 return initial notes data for issuable3584 #notes_url3585 return snippet notes path for personal snippet3586 return project notes path for project snippet3587 return project notes path for other noteables3588 #note_url3589 return snippet notes path for personal snippet3590 return project notes path for project snippet3591 return project notes path for other noteables3592 #form_resources3593 returns note for personal snippet3594 returns namespace, project and note for project snippet3595 returns namespace, project and note path for other noteables3596 #noteable_note_url3597 returns the noteable url with an anchor to the note3598 #discussion_resolved_intro3599 when the discussion was resolved by a push3600 returns "Automatically resolved"3601 when the discussion was not resolved by a push3602 returns "Resolved"3603 #notes_data3604 includes the current notes filter for the user3605Projects::UpdatePagesService3606 fails if no artifacts3607 fails for invalid archive3608 when a deploy stage already exists3609 assigns the deploy stage3610 when a deploy stage does not exists3611 assigns the deploy stage3612 for new artifacts3613 for a valid job3614 doesn't delete artifacts after deploying3615 succeeds3616 publishes a PageDeployedEvent event with project id and namespace id3617 creates pages_deployment and saves it in the metadata3618 does not fail if pages_metadata is absent3619 limits pages size3620 limits pages file count3621 fails when uploaded deployment size is wrong3622 when there is an old pages deployment3623 schedules a destruction of older deployments3624 removes older deployments3625 when archive does not have pages directory3626 returns an error3627 when there is a custom root config3628 when the directory specified with `publish` is included in the artifacts3629 creates pages_deployment and saves it in the metadata3630 when the directory specified with `publish` is not included in the artifacts3631 returns an error3632 when there is a folder named `public`, but `publish` specifies a different one3633 returns an error3634 when timeout happens by DNS error3635 raises an error3636 when missing artifacts metadata3637 does not raise an error as failed job3638 with background jobs running3639 succeeds3640 when sha on branch was updated before deployment was uploaded3641 succeeds3642 when old deployment present3643 succeeds3644 when newer deployment present3645 fails with outdated reference message3646 when artifacts archive does not have sha2563647 fails with exception raised3648 maximum pages artifacts size3649 when maximum pages size is set to zero3650 behaves like pages size limit is3651 when size is below the limit3652 updates pages correctly3653 when size is above the limit3654 limits the maximum size of gitlab pages3655 when size is limited on the instance level3656 behaves like pages size limit is3657 when size is below the limit3658 updates pages correctly3659 when size is above the limit3660 limits the maximum size of gitlab pages3661 when retrying the job3662 marks older pages:deploy jobs retried3663ResourceEvents::ChangeStateService3664 #execute3665 when resource is an Issue3666 when no source is given3667 behaves like a state event3668 creates the expected event if resource has opened state3669 sets the created_at timestamp from the system_note_timestamp3670 creates the expected event if resource has reopened state3671 sets the created_at timestamp from the system_note_timestamp3672 creates the expected event if resource has closed state3673 sets the created_at timestamp from the system_note_timestamp3674 creates the expected event if resource has locked state3675 sets the created_at timestamp from the system_note_timestamp3676 when source commit is given3677 behaves like a state event3678 creates the expected event if resource has opened state3679 sets the created_at timestamp from the system_note_timestamp3680 creates the expected event if resource has reopened state3681 sets the created_at timestamp from the system_note_timestamp3682 creates the expected event if resource has closed state3683 sets the created_at timestamp from the system_note_timestamp3684 creates the expected event if resource has locked state3685 sets the created_at timestamp from the system_note_timestamp3686 when source merge request is given3687 behaves like a state event3688 creates the expected event if resource has opened state3689 sets the created_at timestamp from the system_note_timestamp3690 creates the expected event if resource has reopened state3691 sets the created_at timestamp from the system_note_timestamp3692 creates the expected event if resource has closed state3693 sets the created_at timestamp from the system_note_timestamp3694 creates the expected event if resource has locked state3695 sets the created_at timestamp from the system_note_timestamp3696 when resource is a MergeRequest3697 when no source is given3698 behaves like a state event3699 creates the expected event if resource has opened state3700 sets the created_at timestamp from the system_note_timestamp3701 creates the expected event if resource has reopened state3702 sets the created_at timestamp from the system_note_timestamp3703 creates the expected event if resource has closed state3704 sets the created_at timestamp from the system_note_timestamp3705 creates the expected event if resource has locked state3706 sets the created_at timestamp from the system_note_timestamp3707 when source commit is given3708 behaves like a state event3709 creates the expected event if resource has opened state3710 sets the created_at timestamp from the system_note_timestamp3711 creates the expected event if resource has reopened state3712 sets the created_at timestamp from the system_note_timestamp3713 creates the expected event if resource has closed state3714 sets the created_at timestamp from the system_note_timestamp3715 creates the expected event if resource has locked state3716 sets the created_at timestamp from the system_note_timestamp3717 when source merge request is given3718 behaves like a state event3719 creates the expected event if resource has opened state3720 sets the created_at timestamp from the system_note_timestamp3721 creates the expected event if resource has reopened state3722 sets the created_at timestamp from the system_note_timestamp3723 creates the expected event if resource has closed state3724 sets the created_at timestamp from the system_note_timestamp3725 creates the expected event if resource has locked state3726 sets the created_at timestamp from the system_note_timestamp3727Integrations::Discord3728 behaves like chat integration3729 Associations3730 is expected to belong to project required: false3731 Validations3732 when integration is active3733 is expected to validate that :webhook cannot be empty/falsy3734 behaves like issue tracker integration URL attribute3735 is expected to allow :webhook to be ‹"https://example.com"›3736 is expected not to allow :webhook to be ‹"example.com"›3737 is expected not to allow :webhook to be ‹"ftp://example.com"›3738 is expected not to allow :webhook to be ‹"herp-and-derp"›3739 when integration is inactive3740 is expected not to validate that :webhook cannot be empty/falsy3741 .supported_events3742 does not support deployment_events3743 #execute3744 with push events3745 behaves like triggered Discord notifications integration3746 calls Discord notifications API3747 with default branch3748 when only default branch are to be notified3749 behaves like triggered Discord notifications integration3750 calls Discord notifications API3751 when only protected branches are to be notified3752 behaves like untriggered Discord notifications integration3753 does not call Discord notifications API3754 when default and protected branches are to be notified3755 behaves like triggered Discord notifications integration3756 calls Discord notifications API3757 when all branches are to be notified3758 behaves like triggered Discord notifications integration3759 calls Discord notifications API3760 with protected branch3761 when only default branch are to be notified3762 behaves like untriggered Discord notifications integration3763 does not call Discord notifications API3764 when only protected branches are to be notified3765 behaves like triggered Discord notifications integration3766 calls Discord notifications API3767 when default and protected branches are to be notified3768 behaves like triggered Discord notifications integration3769 calls Discord notifications API3770 when all branches are to be notified3771 behaves like triggered Discord notifications integration3772 calls Discord notifications API3773 with neither default nor protected branch3774 when only default branch are to be notified3775 behaves like untriggered Discord notifications integration3776 does not call Discord notifications API3777 when only protected branches are to be notified3778 behaves like untriggered Discord notifications integration3779 does not call Discord notifications API3780 when default and protected branches are to be notified3781 behaves like untriggered Discord notifications integration3782 does not call Discord notifications API3783 when all branches are to be notified3784 behaves like triggered Discord notifications integration3785 calls Discord notifications API3786 with issue events3787 behaves like triggered Discord notifications integration3788 calls Discord notifications API3789 with merge events3790 behaves like triggered Discord notifications integration3791 calls Discord notifications API3792 with wiki page events3793 behaves like triggered Discord notifications integration3794 calls Discord notifications API3795 with note events3796 with commit comment3797 behaves like triggered Discord notifications integration3798 calls Discord notifications API3799 with merge request comment3800 behaves like triggered Discord notifications integration3801 calls Discord notifications API3802 with issue comment3803 behaves like triggered Discord notifications integration3804 calls Discord notifications API3805 with snippet comment3806 behaves like triggered Discord notifications integration3807 calls Discord notifications API3808 with pipeline events3809 with failed pipeline3810 behaves like triggered Discord notifications integration3811 calls Discord notifications API3812 with succeeded pipeline3813 with default notify_only_broken_pipelines3814 does not call Discord notifications API3815 when notify_only_broken_pipelines is false3816 behaves like triggered Discord notifications integration3817 calls Discord notifications API3818 with default branch3819 when only default branch are to be notified3820 behaves like triggered Discord notifications integration3821 calls Discord notifications API3822 when only protected branches are to be notified3823 behaves like untriggered Discord notifications integration3824 does not call Discord notifications API3825 when default and protected branches are to be notified3826 behaves like triggered Discord notifications integration3827 calls Discord notifications API3828 when all branches are to be notified3829 behaves like triggered Discord notifications integration3830 calls Discord notifications API3831 with protected branch3832 when only default branch are to be notified3833 behaves like untriggered Discord notifications integration3834 does not call Discord notifications API3835 when only protected branches are to be notified3836 behaves like triggered Discord notifications integration3837 calls Discord notifications API3838 when default and protected branches are to be notified3839 behaves like triggered Discord notifications integration3840 calls Discord notifications API3841 when all branches are to be notified3842 behaves like triggered Discord notifications integration3843 calls Discord notifications API3844 with neither default nor protected branch3845 when only default branch are to be notified3846 behaves like untriggered Discord notifications integration3847 does not call Discord notifications API3848 when only protected branches are to be notified3849 behaves like untriggered Discord notifications integration3850 does not call Discord notifications API3851 when default and protected branches are to be notified3852 behaves like untriggered Discord notifications integration3853 does not call Discord notifications API3854 when all branches are to be notified3855 behaves like triggered Discord notifications integration3856 calls Discord notifications API3857 deployment events3858 behaves like untriggered Discord notifications integration3859 does not call Discord notifications API3860 #execute3861 uses the right embed parameters3862 DNS rebind to local address3863 does not allow DNS rebinding3864 when the Discord request fails3865 logs an error and returns false3866Labels::AvailableLabelsService3867 #find_or_create_by_titles3868 when parent is a project3869 when a user is not a project member3870 returns only relevant label ids3871 when a user is a project member3872 creates new labels for not found titles3873 do not cause additional query for finding labels3874 when parent is a group3875 when a user is not a group member3876 returns only relevant label ids3877 when a user is a group member3878 creates new labels for not found titles3879 #filter_labels_ids_in_param3880 accepts a single id parameter3881 when parent is a project3882 returns only relevant label ids3883 returns labels in preserved order3884 when parent is a group3885 returns only relevant label ids3886 #available_labels3887 when parent is a project3888 returns only relevant labels3889 when parent is a group3890 returns only relevant labels3891Gitlab::PathRegex3892 TOP_LEVEL_ROUTES3893 includes all the top level namespaces3894 does not allow expansion3895 GROUP_ROUTES3896 don't contain a second wildcard3897 does not allow expansion3898 PROJECT_WILDCARD_ROUTES3899 includes all paths that can be used after a namespace/project path3900 does not allow expansion3901 .root_namespace_route_regex3902 rejects top level routes3903 accepts project wildcard routes3904 accepts group routes3905 is not case sensitive3906 does not allow extra slashes3907 .full_namespace_path_regex3908 is not case sensitive3909 does not allow extra slashes3910 at the top level3911 when the final level3912 rejects top level routes3913 accepts project wildcard routes3914 accepts group routes3915 when more levels follow3916 rejects top level routes3917 accepts project wildcard routes3918 accepts group routes3919 at the second level3920 when the final level3921 accepts top level routes3922 rejects project wildcard routes3923 rejects group routes3924 when more levels follow3925 accepts top level routes3926 rejects project wildcard routes3927 rejects group routes3928 .project_route_regex3929 accepts top level routes3930 rejects project wildcard routes3931 accepts group routes3932 is not case sensitive3933 does not allow extra slashes3934 .full_project_path_regex3935 accepts top level routes3936 rejects project wildcard routes3937 accepts group routes3938 is not case sensitive3939 does not allow extra slashes3940 .namespace_format_regex3941 is expected to match "gitlab-ce"3942 is expected to match "gitlab_git"3943 is expected to match "_underscore.js"3944 is expected to match "100px.com"3945 is expected to match "gitlab.org"3946 is expected not to match "?gitlab"3947 is expected not to match "git lab"3948 is expected not to match "gitlab.git"3949 is expected not to match "gitlab.org."3950 is expected not to match "gitlab.org/"3951 is expected not to match "/gitlab.org"3952 is expected not to match "gitlab git"3953 is expected not to match "gitlab?"3954 is expected to match "gitlab.org-"3955 is expected to match "gitlab.org_"3956 .project_path_format_regex3957 is expected to match "gitlab-ce"3958 is expected to match "gitlab_git"3959 is expected to match "_underscore.js"3960 is expected to match "100px.com"3961 is expected not to match "?gitlab"3962 is expected not to match "git lab"3963 is expected not to match "gitlab.git"3964 is expected not to match "gitlab?"3965 is expected not to match "gitlab git"3966 is expected to match "gitlab.org"3967 is expected to match "gitlab.org-"3968 is expected to match "gitlab.org_"3969 is expected to match "gitlab.org."3970 is expected not to match "gitlab.org/"3971 is expected not to match "/gitlab.org"3972 repository routes3973 .repository_route_regex3974 matches the expected paths3975 .repository_git_route_regex3976 matches the expected paths3977 .repository_git_lfs_route_regex3978 matches the expected paths3979 .repository_wiki_git_route_regex3980 matches the expected paths3981 is expected not to match "snippets/1.wiki.git"3982 .full_snippets_repository_path_regex3983 matches the expected paths3984 is expected not to match "root/snippets/1"3985 is expected not to match "gitlab-org/gitlab-test/snippets/foo"3986 .container_image_regex3987 is expected to match "gitlab-foss"3988 is expected to match "gitlab_foss"3989 is expected to match "gitlab-org/gitlab-foss"3990 is expected to match "a/b/c/d/e"3991 is expected to match "100px.com/100px.ruby"3992 does not match beyond 4 slashes3993 does not match other non-word characters3994 .container_image_blob_sha_regex3995 is expected to match "sha256:asdf1234567890ASDF"3996 is expected to match "foo:123"3997 is expected to match "a12bc3f590szp"3998 is expected not to match ""3999 does not match malicious characters4000 .dependency_proxy_route_regex4001 is expected to match "/v2/group1/dependency_proxy/containers/alpine/manifests/latest"4002 is expected to match "/v2/group1/dependency_proxy/containers/alpine/blobs/sha256:14119a10abf4669e8cdbdff324a9f9605d99697215a0d21c360fe8dfa8471bab"4003 is expected not to match ""4004 is expected not to match "/v3/group1/dependency_proxy/containers/alpine/manifests/latest"4005 is expected not to match "/v2/group1/dependency_proxy/container/alpine/manifests/latest"4006 is expected not to match "/v2/group1/dependency_prox/containers/alpine/manifests/latest"4007 is expected not to match "/v2/group1/dependency_proxy/containers/alpine/manifest/latest"4008 is expected not to match "/v2/group1/dependency_proxy/containers/alpine/manifest/la%2Ftest"4009 is expected not to match "/v2/group1/dependency_proxy/containers/alpine/manifest/latest/../one"4010 is expected not to match "/v3/group1/dependency_proxy/containers/alpine/blobs/sha256:14119a10abf4669e8cdbdff324a9f9605d99697215a0d21c360fe8dfa8471bab"4011 is expected not to match "/v2/group1/dependency_proxy/container/alpine/blobs/sha256:14119a10abf4669e8cdbdff324a9f9605d99697215a0d21c360fe8dfa8471bab"4012 is expected not to match "/v2/group1/dependency_prox/containers/alpine/blobs/sha256:14119a10abf4669e8cdbdff324a9f9605d99697215a0d21c360fe8dfa8471bab"4013 is expected not to match "/v2/group1/dependency_proxy/containers/alpine/blob/sha256:14119a10abf4669e8cdbdff324a9f9605d99697215a0d21c360fe8dfa8471bab"4014 is expected not to match "/v2/group1/dependency_proxy/containers/alpine/blob/sha256:F14119a10abf4669e8cdbdff324a9f9605d99697215a0d21c360fe8dfa8471bab/../latest"4015 is expected not to match "/v2/group1/dependency_proxy/containers/alpine/blob/sha256:F14119a10abf4669e8cdbdff324a9f9605d99697215a0d21c360fe8dfa8471bab/latest"4016Gitlab::Ci::Ansi2html4017 prints non-ansi as-is4018 strips non-color-changing control sequences4019 prints simply red4020 prints simply red without trailing reset4021 prints simply yellow4022 prints default on blue4023 prints red on blue4024 resets colors after red on blue4025 performs color change from red/blue to yellow/blue4026 performs color change from red/blue to yellow/green4027 performs color change from red/blue to reset to yellow/green4028 ignores unsupported codes4029 prints light red4030 prints default on light red4031 performs color change from red/blue to default/blue4032 performs color change from light red/blue to default/blue4033 prints bold text4034 resets bold text4035 prints italic text4036 resets italic text4037 prints underlined text4038 resets underlined text4039 prints concealed text4040 resets concealed text4041 prints crossed-out text4042 resets crossed-out text4043 can print 256 xterm fg colors4044 can print 256 xterm fg colors on normal magenta background4045 can print 256 xterm bg colors4046 can print 256 xterm fg bold colors4047 can print 256 xterm bg colors on normal magenta foreground4048 prints bold colored text vividly4049 prints bold light colored text correctly4050 prints <4051 replaces newlines with line break tags4052 groups carriage returns with newlines4053 replaces invalid UTF-8 data4054 incremental update4055 with split word4056 behaves like stateable converter4057 to returns html to append4058 with split sequence4059 behaves like stateable converter4060 to returns html to append4061 with partial sequence4062 behaves like stateable converter4063 to returns html to append4064 with new line4065 behaves like stateable converter4066 to returns html to append4067 with section markers4068 do not allow XSS injections4069 behaves like a legit section4070 prints light red4071 begins with a section_start html marker4072 ends with a section_end html marker4073 section name includes $4074 behaves like forbidden char in section_name4075 ignores sections4076 section name includes <4077 behaves like forbidden char in section_name4078 ignores sections4079 section name contains .-_4080 behaves like a legit section4081 prints light red4082 begins with a section_start html marker4083 ends with a section_end html marker4084 truncates4085 returns truncated output4086 does not append output4087MergeRequests::UpdateReviewersService4088 execute4089 when the parameters are valid4090 updates the MR4091 creates system note about merge_request review request4092 creates a pending todo for new review request4093 sends email reviewer change notifications to old and new reviewers4094 updates open merge request counter for reviewers4095 updates the tracking4096 tracks reviewers changed event4097 calls MergeRequest::ResolveTodosService#async_execute4098 executes hooks with update action4099 does not update the reviewers if they do not have access4100 when using sentinel values4101 behaves like removing all reviewers4102 removes all reviewers4103 when the reviewer_ids parameter is the empty list4104 behaves like removing all reviewers4105 removes all reviewers4106 behaves like triggers GraphQL subscription mergeRequestReviewersUpdated4107 is expected to receive merge_request_reviewers_updated(#<MergeRequest id:106 group301/project-1143!1>) 1 time4108 when reviewers did not change4109 behaves like does not trigger GraphQL subscription mergeRequestReviewersUpdated4110 is expected not to receive merge_request_reviewers_updated(*(any args)) 0 times4111Gitlab::Suggestions::SuggestionSet4112 merge_request: merge_request_same_project4113 #source_project4114 returns the source project associated with the suggestions4115 #target_project4116 returns the target project associated with the suggestions4117 #branch4118 returns the branch associated with the suggestions4119 #valid?4120 returns true if no errors are found4121 returns false if an error is found4122 #error_message4123 returns an error message if an error is found4124 returns nil if no errors are found4125 #actions4126 returns an array of hashes with proper key/value pairs4127 #file_paths4128 returns an array of unique file paths associated with the suggestions4129 merge_request: merge_request_from_fork4130 #source_project4131 returns the source project associated with the suggestions4132 #target_project4133 returns the target project associated with the suggestions4134 #branch4135 returns the branch associated with the suggestions4136 #valid?4137 returns true if no errors are found4138 returns false if an error is found4139 #error_message4140 returns an error message if an error is found4141 returns nil if no errors are found4142 #actions4143 returns an array of hashes with proper key/value pairs4144 #file_paths4145 returns an array of unique file paths associated with the suggestions4146Gitlab::Diff::PositionTracer::ImageStrategy4147 #trace4148 diff scenarios4149 when the file was created in the old diff4150 when the file is unchanged between the old and the new diff4151 returns the new position4152 when the file was updated between the old and the new diff4153 returns the position of the change4154 when the file was renamed in between the old and the new diff4155 returns the position of the change4156 when the file was removed in between the old and the new diff4157 returns the position of the change4158 when the file is unchanged in the new diff4159 returns the position of the change4160 when the file was changed in the old diff4161 when the file is unchanged in between the old and the new diff4162 returns the new position4163 when the file was updated in between the old and the new diff4164 returns the position of the change4165 when the file was renamed in between the old and the new diff4166 returns the position of the change4167 when the file was removed in between the old and the new diff4168 returns the position of the change4169 when the file is unchanged in the new diff4170 returns the position of the change4171Gitlab::Auth::Ldap::Person4172 .normalize_dn4173 behaves like normalizes a DN4174 test_description: "strips extraneous whitespace", given: "uid =John Smith , ou = People, dc= example,dc =com", expected: "uid=john smith,ou=people,dc=example,dc=com"4175 normalizes the DN4176 test_description: "strips extraneous whitespace for a DN with a single RDN", given: "uid = John Smith", expected: "uid=john smith"4177 normalizes the DN4178 test_description: "unescapes non-reserved, non-special Unicode characters", given: "uid = Sebasti\\c3\\a1n\\ C.\\20Smith, ou=People (aka. \\22humans\\\") ,dc=example, dc=com", expected: "uid=sebastián c. smith,ou=people (aka. \\\"humans\\\"),dc=example,dc=com"4179 normalizes the DN4180 test_description: "downcases the whole string", given: "UID=John Smith,ou=People,dc=example,dc=com", expected: "uid=john smith,ou=people,dc=example,dc=com"4181 normalizes the DN4182 test_description: "for a null DN (empty string), returns empty string and does not error", given: "", expected: ""4183 normalizes the DN4184 test_description: "does not strip an escaped leading space in an attribute value", given: "uid=\\ John Smith,ou=People,dc=example,dc=com", expected: "uid=\\ john smith,ou=people,dc=example,dc=com"4185 normalizes the DN4186 test_description: "does not strip an escaped leading space in the last attribute value", given: "uid=\\ John Smith", expected: "uid=\\ john smith"4187 normalizes the DN4188 test_description: "does not strip an escaped trailing space in an attribute value", given: "uid=John Smith\\ ,ou=People,dc=example,dc=com", expected: "uid=john smith\\ ,ou=people,dc=example,dc=com"4189 normalizes the DN4190 test_description: "strips extraneous spaces after an escaped trailing space", given: "uid=John Smith\\ ,ou=People,dc=example,dc=com", expected: "uid=john smith\\ ,ou=people,dc=example,dc=com"4191 normalizes the DN4192 test_description: "strips extraneous spaces after an escaped trailing space at the end of the DN", given: "uid=John Smith,ou=People,dc=example,dc=com\\ ", expected: "uid=john smith,ou=people,dc=example,dc=com\\ "4193 normalizes the DN4194 test_description: "properly preserves escaped trailing space after unescaped trailing spaces", given: "uid=John Smith \\ ,ou=People,dc=example,dc=com", expected: "uid=john smith \\ ,ou=people,dc=example,dc=com"4195 normalizes the DN4196 test_description: "preserves multiple inner spaces in an attribute value", given: "uid=John Smith,ou=People,dc=example,dc=com", expected: "uid=john smith,ou=people,dc=example,dc=com"4197 normalizes the DN4198 test_description: "preserves inner spaces after an escaped space", given: "uid=John\\ Smith,ou=People,dc=example,dc=com", expected: "uid=john smith,ou=people,dc=example,dc=com"4199 normalizes the DN4200 test_description: "hex-escapes an escaped leading newline in an attribute value", given: "uid=\\\nJohn Smith,ou=People,dc=example,dc=com", expected: "uid=\\0ajohn smith,ou=people,dc=example,dc=com"4201 normalizes the DN4202 test_description: "hex-escapes and does not strip an escaped trailing newline in an attribute value", given: "uid=John Smith\\\n,ou=People,dc=example,dc=com", expected: "uid=john smith\\0a,ou=people,dc=example,dc=com"4203 normalizes the DN4204 test_description: "hex-escapes an unescaped leading newline (actually an invalid DN?)", given: "uid=\nJohn Smith,ou=People,dc=example,dc=com", expected: "uid=\\0ajohn smith,ou=people,dc=example,dc=com"4205 normalizes the DN4206 test_description: "strips an unescaped trailing newline (actually an invalid DN?)", given: "uid=John Smith\n,ou=People,dc=example,dc=com", expected: "uid=john smith,ou=people,dc=example,dc=com"4207 normalizes the DN4208 test_description: "does not strip if no extraneous whitespace", given: "uid=John Smith,ou=People,dc=example,dc=com", expected: "uid=john smith,ou=people,dc=example,dc=com"4209 normalizes the DN4210 test_description: "does not modify an escaped equal sign in an attribute value", given: "uid= foo \\= bar", expected: "uid=foo \\= bar"4211 normalizes the DN4212 test_description: "converts an escaped hex equal sign to an escaped equal sign in an attribute value", given: "uid= foo \\3D bar", expected: "uid=foo \\= bar"4213 normalizes the DN4214 test_description: "does not modify an escaped comma in an attribute value", given: "uid= John C. Smith, ou=San Francisco\\, CA", expected: "uid=john c. smith,ou=san francisco\\, ca"4215 normalizes the DN4216 test_description: "converts an escaped hex comma to an escaped comma in an attribute value", given: "uid= John C. Smith, ou=San Francisco\\2C CA", expected: "uid=john c. smith,ou=san francisco\\, ca"4217 normalizes the DN4218 test_description: "does not modify an escaped hex carriage return character in an attribute value", given: "uid= John C. Smith, ou=San Francisco\\,\\0DCA", expected: "uid=john c. smith,ou=san francisco\\,\\0dca"4219 normalizes the DN4220 test_description: "does not modify an escaped hex line feed character in an attribute value", given: "uid= John C. Smith, ou=San Francisco\\,\\0ACA", expected: "uid=john c. smith,ou=san francisco\\,\\0aca"4221 normalizes the DN4222 test_description: "does not modify an escaped hex CRLF in an attribute value", given: "uid= John C. Smith, ou=San Francisco\\,\\0D\\0ACA", expected: "uid=john c. smith,ou=san francisco\\,\\0d\\0aca"4223 normalizes the DN4224 test_description: "allows attribute type name OIDs", given: "0.9.2342.19200300.100.1.25=Example,0.9.2342.19200300.100.1.25=Com", expected: "0.9.2342.19200300.100.1.25=example,0.9.2342.19200300.100.1.25=com"4225 normalizes the DN4226 test_description: "strips extraneous whitespace from attribute type name OIDs", given: "0.9.2342.19200300.100.1.25 = Example, 0.9.2342.19200300.100.1.25 = Com", expected: "0.9.2342.19200300.100.1.25=example,0.9.2342.19200300.100.1.25=com"4227 normalizes the DN4228 with an exception during normalization4229 returns the given DN unmodified4230 .normalize_uid4231 behaves like normalizes a DN attribute value4232 test_description: "strips extraneous whitespace", given: " John Smith ", expected: "john smith"4233 normalizes the DN attribute value4234 test_description: "unescapes non-reserved, non-special Unicode characters", given: "Sebasti\\c3\\a1n\\ C.\\20Smith", expected: "sebastián c. smith"4235 normalizes the DN attribute value4236 test_description: "downcases the whole string", given: "JoHn C. Smith", expected: "john c. smith"4237 normalizes the DN attribute value4238 test_description: "does not strip an escaped leading space in an attribute value", given: "\\ John Smith", expected: "\\ john smith"4239 normalizes the DN attribute value4240 test_description: "does not strip an escaped trailing space in an attribute value", given: "John Smith\\ ", expected: "john smith\\ "4241 normalizes the DN attribute value4242 test_description: "hex-escapes an escaped leading newline in an attribute value", given: "\\\nJohn Smith", expected: "\\0ajohn smith"4243 normalizes the DN attribute value4244 test_description: "hex-escapes and does not strip an escaped trailing newline in an attribute value", given: "John Smith\\\n", expected: "john smith\\0a"4245 normalizes the DN attribute value4246 test_description: "hex-escapes an unescaped leading newline (actually an invalid DN value?)", given: "\nJohn Smith", expected: "\\0ajohn smith"4247 normalizes the DN attribute value4248 test_description: "strips an unescaped trailing newline (actually an invalid DN value?)", given: "John Smith\n", expected: "john smith"4249 normalizes the DN attribute value4250 test_description: "does not strip if no extraneous whitespace", given: "John Smith", expected: "john smith"4251 normalizes the DN attribute value4252 test_description: "does not modify an escaped equal sign in an attribute value", given: " foo \\= bar", expected: "foo \\= bar"4253 normalizes the DN attribute value4254 test_description: "converts an escaped hex equal sign to an escaped equal sign in an attribute value", given: " foo \\3D bar", expected: "foo \\= bar"4255 normalizes the DN attribute value4256 test_description: "does not modify an escaped comma in an attribute value", given: "San Francisco\\, CA", expected: "san francisco\\, ca"4257 normalizes the DN attribute value4258 test_description: "converts an escaped hex comma to an escaped comma in an attribute value", given: "San Francisco\\2C CA", expected: "san francisco\\, ca"4259 normalizes the DN attribute value4260 test_description: "does not modify an escaped hex carriage return character in an attribute value", given: "San Francisco\\,\\0DCA", expected: "san francisco\\,\\0dca"4261 normalizes the DN attribute value4262 test_description: "does not modify an escaped hex line feed character in an attribute value", given: "San Francisco\\,\\0ACA", expected: "san francisco\\,\\0aca"4263 normalizes the DN attribute value4264 test_description: "does not modify an escaped hex CRLF in an attribute value", given: "San Francisco\\,\\0D\\0ACA", expected: "san francisco\\,\\0d\\0aca"4265 normalizes the DN attribute value4266 with an exception during normalization4267 returns the given UID unmodified4268 .ldap_attributes4269 returns a compact and unique array4270 #name4271 uses the configured name attribute and handles values as an array4272 #email4273 returns the value of mail, if present4274 returns the value of userPrincipalName, if mail and email are not present4275 #username4276 with default uid username attribute4277 returns the proper username value4278 with a different username attribute4279 returns the proper username value4280 with a non-standard username attribute4281 returns the proper username value4282 if lowercase_usernames setting is4283 enabled the username attribute is lower cased4284 disabled the username attribute is not lower cased4285Gitlab::UsageDataCounters::PackageEventCounter4286 behaves like usage counter with totals4287 increments counter and returns total count4288 behaves like usage counter with totals4289 increments counter and returns total count4290 behaves like usage counter with totals4291 increments counter and returns total count4292 behaves like usage counter with totals4293 increments counter and returns total count4294 behaves like usage counter with totals4295 increments counter and returns total count4296 behaves like usage counter with totals4297 increments counter and returns total count4298 behaves like usage counter with totals4299 increments counter and returns total count4300 behaves like usage counter with totals4301 increments counter and returns total count4302 behaves like usage counter with totals4303 increments counter and returns total count4304 behaves like usage counter with totals4305 increments counter and returns total count4306 behaves like usage counter with totals4307 increments counter and returns total count4308 behaves like usage counter with totals4309 increments counter and returns total count4310 behaves like usage counter with totals4311 increments counter and returns total count4312 behaves like usage counter with totals4313 increments counter and returns total count4314 behaves like usage counter with totals4315 increments counter and returns total count4316 behaves like usage counter with totals4317 increments counter and returns total count4318 behaves like usage counter with totals4319 increments counter and returns total count4320 behaves like usage counter with totals4321 increments counter and returns total count4322 behaves like usage counter with totals4323 increments counter and returns total count4324 behaves like usage counter with totals4325 increments counter and returns total count4326 behaves like usage counter with totals4327 increments counter and returns total count4328 behaves like usage counter with totals4329 increments counter and returns total count4330 behaves like usage counter with totals4331 increments counter and returns total count4332 behaves like usage counter with totals4333 increments counter and returns total count4334 behaves like usage counter with totals4335 increments counter and returns total count4336 behaves like usage counter with totals4337 increments counter and returns total count4338 behaves like usage counter with totals4339 increments counter and returns total count4340 behaves like usage counter with totals4341 increments counter and returns total count4342 behaves like usage counter with totals4343 increments counter and returns total count4344 behaves like usage counter with totals4345 increments counter and returns total count4346 behaves like usage counter with totals4347 increments counter and returns total count4348 behaves like usage counter with totals4349 increments counter and returns total count4350 behaves like usage counter with totals4351 increments counter and returns total count4352 behaves like usage counter with totals4353 increments counter and returns total count4354 behaves like usage counter with totals4355 increments counter and returns total count4356 behaves like usage counter with totals4357 increments counter and returns total count4358 behaves like usage counter with totals4359 increments counter and returns total count4360 behaves like usage counter with totals4361 increments counter and returns total count4362 behaves like usage counter with totals4363 increments counter and returns total count4364 behaves like usage counter with totals4365 increments counter and returns total count4366 behaves like usage counter with totals4367 increments counter and returns total count4368 behaves like usage counter with totals4369 increments counter and returns total count4370 behaves like usage counter with totals4371 increments counter and returns total count4372 behaves like usage counter with totals4373 increments counter and returns total count4374 behaves like usage counter with totals4375 increments counter and returns total count4376 behaves like usage counter with totals4377 increments counter and returns total count4378 behaves like usage counter with totals4379 increments counter and returns total count4380 behaves like usage counter with totals4381 increments counter and returns total count4382 behaves like usage counter with totals4383 increments counter and returns total count4384 behaves like usage counter with totals4385 increments counter and returns total count4386 behaves like usage counter with totals4387 increments counter and returns total count4388 behaves like usage counter with totals4389 increments counter and returns total count4390 behaves like usage counter with totals4391 increments counter and returns total count4392 behaves like usage counter with totals4393 increments counter and returns total count4394 behaves like usage counter with totals4395 increments counter and returns total count4396 behaves like usage counter with totals4397 increments counter and returns total count4398 behaves like usage counter with totals4399 increments counter and returns total count4400 behaves like usage counter with totals4401 increments counter and returns total count4402 behaves like usage counter with totals4403 increments counter and returns total count4404 .fetch_supported_event4405 is expected to eq "i_package_conan_push_package"4406Packages::Nuget::ExtractionWorker4407 #perform4408 with valid package file4409 updates package and package file4410 with exisiting package4411 reuses existing package and updates package file4412 with invalid package file id4413 doesn't update package and package file4414 with package file not containing a nuspec file4415 behaves like handling the metadata error4416 updates package status to error4417 with package with an invalid package name4418 with4419 behaves like handling the metadata error4420 updates package status to error4421 with My/package4422 behaves like handling the metadata error4423 updates package status to error4424 with ../../../my_package4425 behaves like handling the metadata error4426 updates package status to error4427 with %2e%2e%2fmy_package4428 behaves like handling the metadata error4429 updates package status to error4430 with package with an invalid package version4431 with4432 behaves like handling the metadata error4433 updates package status to error4434 with 5554435 behaves like handling the metadata error4436 updates package status to error4437 with 1./2.34438 behaves like handling the metadata error4439 updates package status to error4440 with ../../../../../1.2.34441 behaves like handling the metadata error4442 updates package status to error4443 with %2e%2e%2f1.2.34444 behaves like handling the metadata error4445 updates package status to error4446 handles a processing an unaccounted for error4447 behaves like handling the metadata error4448 updates package status to error4449Gitlab::SlashCommands::Command4450 #execute4451 when no command is available4452 displays 404 messages4453 when an unknown command is triggered4454 displays the help message4455 the user can not create an issue4456 rejects the actions4457 when trying to do deployment4458 and user can not create deployment4459 returns action4460 and user has deployment permission4461 returns action4462 when duplicate action exists4463 returns error4464 #match_command4465 IssueShow is triggered4466 is expected to eq Gitlab::SlashCommands::IssueShow4467 IssueCreate is triggered4468 is expected to eq Gitlab::SlashCommands::IssueNew4469 IssueSearch is triggered4470 is expected to eq Gitlab::SlashCommands::IssueSearch4471 IssueMove is triggered4472 is expected to eq Gitlab::SlashCommands::IssueMove4473 IssueComment is triggered4474 is expected to eq Gitlab::SlashCommands::IssueComment4475 when incident declare is triggered4476 IncidentNew is triggered4477 is expected to eq Gitlab::SlashCommands::IncidentManagement::IncidentNew4478 when feature flag is disabled4479 IncidentNew is triggered4480 is expected not to eq Gitlab::SlashCommands::IncidentManagement::IncidentNew4481Gitlab::Metrics::RailsSlis4482 .initialize_request_slis!4483 initializes the SLI for all possible endpoints if they weren't4484 when initializeing for limited types4485 git: true, api: true, web: true4486 initializes only with the expected labels4487 git: true, api: true, web: false4488 initializes only with the expected labels4489 git: true, api: false, web: true4490 initializes only with the expected labels4491 git: true, api: false, web: false4492 initializes only with the expected labels4493 git: false, api: true, web: true4494 initializes only with the expected labels4495 git: false, api: true, web: false4496 initializes only with the expected labels4497 git: false, api: false, web: true4498 initializes only with the expected labels4499 git: false, api: false, web: false4500 initializes only with the expected labels4501 .request_apdex4502 returns the initialized request apdex SLI object4503 .request_error4504 returns the initialized request error rate SLI object4505 .graphql_query_apdex4506 returns the initialized request apdex SLI object4507Admin::AbuseReportUpdateService4508 # order random4509 #execute4510 when invalid parameters are given4511 invalid user4512 when no user is given4513 behaves like returns an error response4514 returns an error response4515 when given user is no admin4516 behaves like returns an error response4517 returns an error response4518 invalid action4519 when no action is given4520 behaves like returns an error response4521 returns an error response4522 when unknown action is given4523 behaves like returns an error response4524 returns an error response4525 invalid reason4526 sets the reason to `other`4527 when banning the user4528 calls the Users::BanService4529 when closing the report4530 behaves like closes the report4531 closes the report4532 behaves like records an event4533 records the event4534 returns the event success message4535 when not closing the report4536 behaves like does not close the report4537 does not close the report4538 behaves like records an event4539 records the event4540 returns the event success message4541 when banning the user fails4542 behaves like returns an error response4543 returns an error response4544 behaves like does not close the report4545 does not close the report4546 behaves like does not record an event4547 does not record an event4548 when blocking the user4549 calls the Users::BlockService4550 when closing the report4551 behaves like closes the report4552 closes the report4553 behaves like records an event4554 records the event4555 returns the event success message4556 when not closing the report4557 behaves like does not close the report4558 does not close the report4559 behaves like records an event4560 records the event4561 returns the event success message4562 when blocking the user fails4563 behaves like returns an error response4564 returns an error response4565 behaves like does not close the report4566 does not close the report4567 behaves like does not record an event4568 does not record an event4569 when deleting the user4570 calls the delete_async method4571 when closing the report4572 behaves like closes the report4573 closes the report4574 behaves like records an event4575 records the event4576 returns the event success message4577 when not closing the report4578 behaves like does not close the report4579 does not close the report4580 behaves like records an event4581 records the event4582 returns the event success message4583 when only closing the report4584 behaves like closes the report4585 closes the report4586 behaves like records an event4587 records the event4588 returns the event success message4589 when report is already closed4590 behaves like returns an error response4591 returns an error response4592 behaves like does not record an event4593 does not record an event4594StageEntity4595 #as_json4596 contains relevant fields4597 contains detailed status4598 contains valid name4599 contains path to the stage4600 contains path to the stage dropdown4601 contains stage title4602 does not contain play_details info4603 when the jobs should be grouped4604 exposes the group key4605 and contains commit status4606 contains commit status4607 with a skipped stage4608 contains play_all_manual4609 with a scheduled stage4610 contains play_all_manual4611 with a manual stage4612 contains play_all_manual4613UsersFinder4614 #execute4615 with a normal user4616 behaves like executes users finder as normal user4617 returns searchable users4618 filters by username4619 filters by id4620 filters by username (case insensitive)4621 filters by search4622 does not filter by private emails search4623 filters by external users4624 filters by non external users4625 filters by created_at4626 filters by non internal users4627 does not filter by custom attributes4628 orders returned results4629 does not filter by admins4630 with an admin user4631 when admin mode setting is disabled4632 behaves like executes users finder as admin4633 filters by external users4634 returns all users4635 filters by blocked users4636 filters by active users4637 returns only admins4638 filters by custom attributes4639 filters by private emails search4640 when admin mode setting is enabled4641 when in admin mode4642 behaves like executes users finder as admin4643 filters by external users4644 returns all users4645 filters by blocked users4646 filters by active users4647 returns only admins4648 filters by custom attributes4649 filters by private emails search4650 when not in admin mode4651 behaves like executes users finder as normal user4652 returns searchable users4653 filters by username4654 filters by id4655 filters by username (case insensitive)4656 filters by search4657 does not filter by private emails search4658 filters by external users4659 filters by non external users4660 filters by created_at4661 filters by non internal users4662 does not filter by custom attributes4663 orders returned results4664 does not filter by admins4665Milestones::PromoteService4666 #execute4667 validations4668 raises error if milestone does not belong to a project4669 raises error if project does not belong to a group4670 does not promote milestone and update issuables if promoted milestone is not valid4671 without duplicated milestone titles across projects4672 promotes project milestone to group milestone4673 does not update issuables without milestone with the new promoted milestone4674 sets issuables with new promoted milestone4675 with duplicated milestone titles across projects4676 deletes project milestones with the same title4677 does not update issuables without milestone with the new promoted milestone4678 sets all issuables with new promoted milestone4679Gitlab::SidekiqMiddleware::ClientMetrics4680 behaves like metrics middleware with worker attribution4681 when workers are not attributed4682 behaves like a metrics middleware4683 with mocked prometheus4684 #call4685 yields block4686 increments enqueued jobs metric with correct labels when worker is a string of the class4687 increments enqueued jobs metric with correct labels4688 when a worker is wrapped into ActiveJob4689 behaves like a metrics middleware4690 with mocked prometheus4691 #call4692 yields block4693 increments enqueued jobs metric with correct labels when worker is a string of the class4694 increments enqueued jobs metric with correct labels4695 when workers are attributed4696 high urgency4697 behaves like a metrics middleware4698 with mocked prometheus4699 #call4700 yields block4701 increments enqueued jobs metric with correct labels when worker is a string of the class4702 increments enqueued jobs metric with correct labels4703 no urgency4704 behaves like a metrics middleware4705 with mocked prometheus4706 #call4707 yields block4708 increments enqueued jobs metric with correct labels when worker is a string of the class4709 increments enqueued jobs metric with correct labels4710 external dependencies4711 behaves like a metrics middleware4712 with mocked prometheus4713 #call4714 yields block4715 increments enqueued jobs metric with correct labels when worker is a string of the class4716 increments enqueued jobs metric with correct labels4717 cpu boundary4718 behaves like a metrics middleware4719 with mocked prometheus4720 #call4721 yields block4722 increments enqueued jobs metric with correct labels when worker is a string of the class4723 increments enqueued jobs metric with correct labels4724 memory boundary4725 behaves like a metrics middleware4726 with mocked prometheus4727 #call4728 yields block4729 increments enqueued jobs metric with correct labels when worker is a string of the class4730 increments enqueued jobs metric with correct labels4731 feature category4732 behaves like a metrics middleware4733 with mocked prometheus4734 #call4735 yields block4736 increments enqueued jobs metric with correct labels when worker is a string of the class4737 increments enqueued jobs metric with correct labels4738 combined4739 behaves like a metrics middleware4740 with mocked prometheus4741 #call4742 yields block4743 increments enqueued jobs metric with correct labels when worker is a string of the class4744 increments enqueued jobs metric with correct labels4745 when mounted4746 when scheduling jobs for immediate execution4747 increments enqueued jobs metric with scheduling label set to immediate4748 when scheduling jobs for future execution4749 increments enqueued jobs metric with scheduling label set to delayed4750 sets the scheduled_at field4751 when the worker class cannot be found4752 increments enqueued jobs metric with the worker labels set to NilClass4753Gitlab::ImportExport::LfsRestorer4754 #restore4755 when the archive contains lfs files4756 succeeds4757 does not create a new `LfsObject` records, as one already exists4758 creates new `LfsObjectsProject` records in order to link the project to the existing `LfsObject`4759 restores the correct `LfsObject` records4760 restores the correct `LfsObjectsProject` records for the project4761 assigns the file correctly4762 when there is not an existing `LfsObject`4763 creates a new lfs object4764 stores the upload4765 when there is no lfs-objects.json file4766 restores the correct `LfsObject` records4767 restores a single `LfsObjectsProject` record for the project with "project" for the `repository_type`4768 without any LFS-objects4769 succeeds4770DesignManagement::DesignPolicy4771 when DesignManagement is not enabled4772 behaves like design abilities not available4773 for owners4774 is expected to be disallowed :read_design, :create_design, :destroy_design, :move_design, and :update_design4775 for admins4776 is expected to be disallowed :read_design, :create_design, :destroy_design, :move_design, and :update_design4777 for maintainers4778 is expected to be disallowed :read_design, :create_design, :destroy_design, :move_design, and :update_design4779 for developers4780 is expected to be disallowed :read_design, :create_design, :destroy_design, :move_design, and :update_design4781 for reporters4782 is expected to be disallowed :read_design, :create_design, :destroy_design, :move_design, and :update_design4783 for guests4784 is expected to be disallowed :read_design, :create_design, :destroy_design, :move_design, and :update_design4785 for anonymous users4786 is expected to be disallowed :read_design, :create_design, :destroy_design, :move_design, and :update_design4787 when the feature is available4788 behaves like design abilities available for members4789 for owners4790 is expected to be allowed :read_design, :create_design, :destroy_design, :move_design, and :update_design4791 for admins4792 when admin mode enabled4793 is expected to be allowed :read_design, :create_design, :destroy_design, :move_design, and :update_design4794 when admin mode disabled4795 behaves like read-only design abilities4796 is expected to be allowed :read_design4797 is expected to be disallowed :create_design, :destroy_design, :move_design, and :update_design4798 for maintainers4799 is expected to be allowed :read_design, :create_design, :destroy_design, :move_design, and :update_design4800 for developers4801 is expected to be allowed :read_design, :create_design, :destroy_design, :move_design, and :update_design4802 for reporters4803 behaves like read-only design abilities4804 is expected to be allowed :read_design4805 is expected to be disallowed :create_design, :destroy_design, :move_design, and :update_design4806 for guests in private projects4807 behaves like read-only design abilities4808 is expected to be allowed :read_design4809 is expected to be disallowed :create_design, :destroy_design, :move_design, and :update_design4810 for anonymous users in public projects4811 behaves like read-only design abilities4812 is expected to be allowed :read_design4813 is expected to be disallowed :create_design, :destroy_design, :move_design, and :update_design4814 when the issue is confidential4815 behaves like design abilities available for members4816 for owners4817 is expected to be allowed :read_design, :create_design, :destroy_design, :move_design, and :update_design4818 for admins4819 when admin mode enabled4820 is expected to be allowed :read_design, :create_design, :destroy_design, :move_design, and :update_design4821 when admin mode disabled4822 behaves like read-only design abilities4823 is expected to be allowed :read_design4824 is expected to be disallowed :create_design, :destroy_design, :move_design, and :update_design4825 for maintainers4826 is expected to be allowed :read_design, :create_design, :destroy_design, :move_design, and :update_design4827 for developers4828 is expected to be allowed :read_design, :create_design, :destroy_design, :move_design, and :update_design4829 for reporters4830 behaves like read-only design abilities4831 is expected to be allowed :read_design4832 is expected to be disallowed :create_design, :destroy_design, :move_design, and :update_design4833 for guests4834 is expected to be disallowed :read_design, :create_design, :destroy_design, :move_design, and :update_design4835 for anonymous users4836 is expected to be disallowed :read_design, :create_design, :destroy_design, :move_design, and :update_design4837 when the project is archived4838 behaves like read-only design abilities4839 is expected to be allowed :read_design4840 is expected to be disallowed :create_design, :destroy_design, :move_design, and :update_design4841DropdownsHelper4842 #dropdown_tag4843 returns the container in the content4844 returns the block in the content4845 #dropdown_toggle4846 returns the button4847 returns the buttons default label data attribute4848 returns the dropdown toggle text4849 returns the button icon in the content4850 #dropdown_toggle_link4851 returns the link4852 returns the links data attribute4853 returns the link text4854 #dropdown_title4855 with a back and close button4856 applies the justification class to the container4857 behaves like has a back button4858 contains the back button4859 behaves like has the title text4860 contains the title text4861 behaves like has a close button4862 contains the close button4863 behaves like has two icons4864 returns two icons4865 behaves like does not have the title margin class4866 does not have the title margin class4867 with a back button4868 returns the back button icon4869 behaves like has a back button4870 contains the back button4871 behaves like has the title text4872 contains the title text4873 behaves like has the title margin class4874 contains the title margin class4875 behaves like does not have a close button4876 does not contain the close button4877 with a close button4878 returns the close button icon4879 behaves like does not have a back button4880 does not contain the back button4881 behaves like has the title text4882 contains the title text4883 behaves like has the title margin class4884 contains the title margin class4885 behaves like has a close button4886 contains the close button4887 without any buttons4888 returns no button icons4889 behaves like does not have a back button4890 does not contain the back button4891 behaves like has the title text4892 contains the title text4893 behaves like does not have the title margin class4894 does not have the title margin class4895 behaves like does not have a close button4896 does not contain the close button4897 #dropdown_filter4898 returns the container4899 returns the search input4900 behaves like has two icons4901 returns two icons4902 #dropdown_content4903 without block4904 behaves like contains the container4905 returns the container in the content4906 with block4907 returns the block in the content4908 behaves like contains the container4909 returns the container in the content4910 #dropdown_footer4911 without a content class4912 behaves like contains the content4913 returns the container in the content4914 returns the block in the content4915 without a content class4916 returns the footer in the content4917 behaves like contains the content4918 returns the container in the content4919 returns the block in the content4920 #dropdown_loading4921 returns the container in the content4922 returns a gl-spinner in the content4923Gitlab::Shell4924 is expected to respond to #remove_repository4925 .secret_token4926 memoized secret_token4927 behaves like creates and links the secret token file4928 creates and links the secret token file4929 when link_file is a broken symbolic link4930 behaves like creates and links the secret token file4931 creates and links the secret token file4932 when secret_file exists4933 reads the token from the existing file4934 behaves like creates and links the secret token file4935 creates and links the secret token file4936 projects commands4937 #remove_repository4938 returns true when the command succeeds4939 #mv_repository4940 returns true when the command succeeds4941 returns false when the command fails4942 namespace actions4943 #add_namespace4944 creates a namespace4945 #repository_exists?4946 when the repository does not exist4947 returns false4948 when the repository exists4949 returns true4950 #remove4951 removes the namespace4952 #mv_namespace4953 renames the namespace4954DiffFileEntity4955 when there is no merge request4956 behaves like diff file entity4957 exposes correct attributes4958 behaves like diff file base entity4959 exposes essential attributes4960 when diff file does not have a blob and content sha4961 exposes some attributes as nil4962 when a viewer4963 matches the schema4964 when it is a whitespace only change4965 has whitespace_only true4966 when the highlighted lines arent shown4967 has whitespace_only nil4968 when it is a new file4969 has whitespace_only false4970 when it is a collapsed file4971 has whitespace_only false4972 diff files4973 when diff_view is parallel4974 contains only the parallel diff lines4975 when diff_view is parallel4976 contains only the inline diff lines4977 when there is a merge request4978 exposes additional attributes4979 points all urls to merge request target project4980 exposes load_collapsed_diff_url if the file viewer is collapsed4981 behaves like diff file entity4982 exposes correct attributes4983 behaves like diff file base entity4984 exposes essential attributes4985 when diff file does not have a blob and content sha4986 exposes some attributes as nil4987 when a viewer4988 matches the schema4989 when it is a whitespace only change4990 has whitespace_only true4991 when the highlighted lines arent shown4992 has whitespace_only nil4993 when it is a new file4994 has whitespace_only false4995 when it is a collapsed file4996 has whitespace_only false4997 diff files4998 when diff_view is parallel4999 contains only the parallel diff lines5000 when diff_view is parallel5001 contains only the inline diff lines5002 when diff_view is unknown5003 hides highlighted_diff_lines and parallel_diff_lines5004 #parallel_diff_lines5005 exposes parallel diff lines correctly5006 #highlighted_diff_lines5007 calls diff_lines_for_serializer on diff_file5008 behaves like diff file with conflict_type5009 #conflict_type5010 returns nil by default5011 when there is matching conflict file5012 returns false5013ReleasesHelper5014 #illustration5015 returns the correct image path5016 #releases_help_page_path5017 returns the correct link to the help page5018 url helpers5019 #data_for_releases_page5020 includes the required data for displaying release blocks5021 when the user is allowed to create a new release5022 includes new_release_path5023 points new_release_path to the "New Release" page5024 new releases redirect new milestone creation5025 redirects new_milestone_path back to the release page5026 #data_for_edit_release_page5027 has the needed data to display the "edit release" page5028 #data_for_new_release_page5029 has the needed data to display the "new release" page5030 #data_for_show_page5031 has the needed data to display the individual "release" page5032 startup queries5033 use_startup_query_for_index_page?5034 allows startup queries for non-paginated requests5035 disallows startup queries for requests paginated with a "before" cursor5036 disallows startup queries for requests paginated with an "after" cursor5037 #index_page_startup_query_variables5038 returns the correct GraphQL variables for the startup query5039ForkNetwork5040 #add_root_as_member5041 adds the root project as a member when creating a new root network5042 #find_fork_in5043 finds all fork of the current network in al collection5044 #merge_requests5045 finds merge requests within the fork network5046 for a deleted project5047 keeps the fork network5048 allows multiple fork networks where the root project is deleted5049Ci::PipelineArtifacts::CoverageReportService5050 #execute5051 when pipeline has coverage report5052 artifact has pipeline's locked status5053 behaves like creating or updating a pipeline coverage report5054 when pipeline is finished5055 creates or updates a pipeline artifact5056 persists the default file name5057 sets expire_at to 1 week from now5058 logs relevant information5059 when pipeline has coverage report from child pipeline5060 behaves like creating or updating a pipeline coverage report5061 when pipeline is finished5062 creates or updates a pipeline artifact5063 persists the default file name5064 sets expire_at to 1 week from now5065 logs relevant information5066 when pipeline has existing pipeline artifact for coverage report5067 behaves like creating or updating a pipeline coverage report5068 when pipeline is finished5069 creates or updates a pipeline artifact5070 persists the default file name5071 sets expire_at to 1 week from now5072 logs relevant information5073 when pipeline is running and coverage report does not exist5074 does not persist data5075Gitlab::Diff::FileCollection::Compare5076 behaves like diff statistics5077 when include_stats is true5078 Repository#diff_stats is called5079 Gitlab::Diff::File is initialized with diff stats5080 when should not request diff stats5081 Repository#diff_stats is not called5082 behaves like sortable diff files5083 #raw_diff_files5084 when sorted is false (default)5085 returns unsorted diff files5086 when sorted is true5087 returns sorted diff files5088 #cache_key5089 returns with head and base5090 pagination methods5091 when pagination options are not present5092 returns default values5093 when pagination options are present5094 returns values based on options5095Sidebars::Projects::Menus::InfrastructureMenu5096 behaves like not serializable as super_sidebar_menu_args5097 returns nil5098 #render?5099 when menu does not have any menu items5100 returns false5101 when menu has menu items5102 returns true5103 behavior based on access level setting5104 infrastructure_access_level: enabled, render: true5105 renders based on the infrastructure access level5106 infrastructure_access_level: disabled, render: false5107 renders based on the infrastructure access level5108 #link5109 when Kubernetes menu item is visible5110 menu link points to Kubernetes page5111 when Kubernetes menu item is not visible5112 menu link points to Terraform states page5113 when Terraform states menu is not visible5114 menu link points to Google Cloud page5115 Menu Items5116 Kubernetes5117 behaves like access rights checks5118 is expected not to be nil5119 when the user does not have access5120 is expected to be nil5121 Terraform states5122 behaves like access rights checks5123 is expected not to be nil5124 when the user does not have access5125 is expected to be nil5126 if terraform_state.enabled=true5127 behaves like access rights checks5128 is expected not to be nil5129 when the user does not have access5130 is expected to be nil5131 if terraform_state.enabled=false5132 is expected to be nil5133 Google Cloud5134 behaves like access rights checks5135 is expected not to be nil5136 when the user does not have access5137 is expected to be nil5138 when feature flag is turned off globally5139 is expected to be nil5140 when feature flag is enabled for specific project5141 behaves like access rights checks5142 is expected not to be nil5143 when the user does not have access5144 is expected to be nil5145 when feature flag is enabled for specific group5146 behaves like access rights checks5147 is expected not to be nil5148 when the user does not have access5149 is expected to be nil5150 when feature flag is enabled for specific project5151 behaves like access rights checks5152 is expected not to be nil5153 when the user does not have access5154 is expected to be nil5155 when instance is not configured for Google OAuth25156 is expected to be nil5157 AWS5158 behaves like access rights checks5159 is expected not to be nil5160 when the user does not have access5161 is expected to be nil5162 when feature flag is turned off globally5163 is expected to be nil5164 when feature flag is enabled for specific project5165 behaves like access rights checks5166 is expected not to be nil5167 when the user does not have access5168 is expected to be nil5169 when feature flag is enabled for specific group5170 behaves like access rights checks5171 is expected not to be nil5172 when the user does not have access5173 is expected to be nil5174 when feature flag is enabled for specific project5175 behaves like access rights checks5176 is expected not to be nil5177 when the user does not have access5178 is expected to be nil5179Gitlab::Database::Count5180 .approximate_counts5181 fallbacks5182 gets results from first strategy5183 gets more results from second strategy if some counts are missing5184 does not get more results as soon as all counts are present5185 default strategies5186 with a read-only database5187 only uses the ExactCountStrategy5188 with a read-write database5189 uses the available strategies5190Sortable5191 scopes5192 secondary ordering by id5193 allows secondary ordering by id ascending5194 allows secondary ordering by id descending5195 .order_by5196 does not call reorder in case of unrecognized ordering5197 ordering by id5198 ascending5199 descending5200 ordering by created day5201 ascending5202 descending5203 order by "date"5204 ordering by name5205 ascending5206 descending5207 ordering by Updated Time5208 ascending5209 descending5210 sorting groups5211 sorts groups by id5212 sorts groups by name via case-insensitive comparision5213 sorts groups by created_at5214 sorts groups by updated_at5215WorkItems::ResourceLinkEvent5216 # order random5217 associations5218 is expected to belong to work_item required: false5219 is expected to belong to child_work_item required: false5220 behaves like a resource event5221 importable5222 is expected to respond to #importing?5223 is expected to respond to #imported?5224 validations5225 is expected not to allow :user to be ‹nil›5226 when importing5227 is expected to allow :user to be ‹nil›5228 associations5229 is expected to belong to user required: false5230 .created_after5231 returns the expected events5232 returns no events if time is after last record time5233 validation5234 is expected to validate that :child_work_item cannot be empty/falsy5235shared/_label_row.html.haml5236 with a project context5237 has label title5238 has a non-linked label title5239 has Issues link5240 has Merge request link5241 shows the path from where the label was created5242 with a subgroup context5243 has label title5244 has a non-linked label title5245 has Issues link5246 has Merge request link5247 shows the path from where the label was created5248 with a group context5249 has label title5250 has a non-linked label title5251 has Issues link5252 has Merge request link5253 does not show a path from where the label was created5254 with an admin context5255 has label title5256 has a non-linked label title5257 does not show Issues link5258 does not show Merge request link5259 does not show a path from where the label was created5260Gitlab::Ci::Pipeline::Chain::Validate::Repository5261 when ref and sha exists5262 does not break the chain5263 does not append pipeline errors5264 when ref does not exist5265 breaks the chain5266 adds an error about missing ref5267 when origin ref is a merge request ref5268 does not break the chain5269 does not append pipeline errors5270 when ref is ambiguous5271 breaks the chain5272 adds an error about missing ref5273 when does not have existing SHA set5274 breaks the chain5275 adds an error about missing SHA5276Ci::RunnerNamespace5277 behaves like includes Limitable concern5278 #exceeds_limits?5279 without plan limits configured5280 is expected to eq false5281 without plan limits configured5282 is expected to eq false5283 with an existing model5284 is expected to eq true5285 validations5286 is expected to be a kind of Limitable5287 without plan limits configured5288 can create new models5289 with plan limits configured5290 can create new models5291 with an existing model5292 cannot create new models exceeding the plan limits5293 behaves like cleanup by a loose foreign key5294 cleans up (delete or nullify) the model5295 .for_runner5296 with runner ids5297 returns requested runner namespaces5298 with runners5299 returns requested runner namespaces5300HangoutsChat::Sender Gitlab::HTTP override5301 HangoutsChat::Sender::HTTP#post5302 calls Gitlab::HTTP.post with default protection settings5303 behaves like a request using Gitlab::UrlBlocker5304 when local requests are not allowed5305 allows an external request with http5306 allows an external request with https5307 raises error when it is a request that resolves to a local address5308 raises error when it is a request that resolves to a localhost address5309 raises error when it is a request to local address5310 raises error when it is a request to localhost address5311 when port different from URL scheme is used5312 allows the request5313 raises error when it is a request to local address5314 raises error when it is a request to localhost address5315 when DNS rebinding protection is disabled5316 allows the request5317 when http(s) proxy environment variable is set5318 allows the request5319 when local requests are allowed5320 allows an external request5321 allows an external request that resolves to a local address5322 allows an external request that resolves to a localhost address5323 allows a local address request5324 allows a localhost address request5325 when a non HTTP/HTTPS URL is provided5326 raises an error5327Packages::Composer::CacheUploader5328 behaves like builds correct paths5329 #store_dir5330 behaves like matches the method pattern5331 is expected to match /^\h{2}\/\h{2}\/\h{64}\/packages\/composer_cache\/\d+$/5332 #cache_dir5333 behaves like matches the method pattern5334 is expected to match /\/packages\/tmp\/cache/5335 #work_dir5336 behaves like matches the method pattern5337 is expected to match /\/packages\/tmp\/work/5338 #upload_path5339 behaves like matches the method pattern5340 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)5341 #relative_path5342 is relative (PENDING: Path not set, skipping.)5343 .absolute_path5344 behaves like matches the method pattern5345 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)5346 .base_dir5347 behaves like matches the method pattern5348 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)5349 path traversal exploits5350 throws an exception5351 object store is remote5352 behaves like builds correct paths5353 #store_dir5354 behaves like matches the method pattern5355 is expected to match /^\h{2}\/\h{2}\/\h{64}\/packages\/composer_cache\/\d+$/5356 #cache_dir5357 behaves like matches the method pattern5358 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)5359 #work_dir5360 behaves like matches the method pattern5361 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)5362 #upload_path5363 behaves like matches the method pattern5364 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)5365 #relative_path5366 is relative (PENDING: Path not set, skipping.)5367 .absolute_path5368 behaves like matches the method pattern5369 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)5370 .base_dir5371 behaves like matches the method pattern5372 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)5373 path traversal exploits5374 throws an exception5375 remote file5376 with object storage enabled5377 can store file remotely5378MergeRequests::AddContextService5379 #execute5380 when admin mode is enabled5381 adds context commit5382 when admin mode is disabled5383 doesn't add context commit5384 when user doesn't have permission to update merge request5385 doesn't add context commit5386 when the commits array is empty5387 doesn't add context commit5388Gitlab::Ci::Pipeline::Chain::Build5389 does not break the chain5390 builds a pipeline with the expected attributes5391 returns a valid pipeline5392 does not persist a pipeline5393 when pipeline is running for a tag5394 correctly indicated that this is a tagged pipeline5395 when origin_ref is branch but tag ref with the same name exists5396 correctly indicated that a pipeline is not tagged5397 when pipeline is running for a merge request5398 correctly indicated that this is a merge request pipeline5399 correctly sets souce sha and target sha to pipeline5400 when pipeline is running for an external pull request5401 correctly indicated that this is an external pull request pipeline5402 correctly sets source sha and target sha to pipeline5403 when keep_latest_artifact is set5404 keep_latest_artifact: true, locking_result: "artifacts_locked"5405 builds a pipeline with appropriate locked value5406 keep_latest_artifact: false, locking_result: "unlocked"5407 builds a pipeline with appropriate locked value5408HtmlEscapedHelpers5409 # order random5410 #match_html_escaped_tags5411 content: nil, expected_match: nil5412 is expected to eq nil5413 content: "", expected_match: nil5414 is expected to eq nil5415 content: "<a href", expected_match: nil5416 is expected to eq nil5417 content: "<span href", expected_match: nil5418 is expected to eq nil5419 content: "</a>", expected_match: nil5420 is expected to eq nil5421 content: "<a href", expected_match: "<a"5422 is expected to eq "<a"5423 content: "<span href", expected_match: "<span"5424 is expected to eq "<span"5425 content: "< span", expected_match: "< span"5426 is expected to eq "< span"5427 content: "some text <a href", expected_match: "<a"5428 is expected to eq "<a"5429 content: "some text \"<a href", expected_match: "<a"5430 is expected to eq "<a"5431 content: "</a&glt;", expected_match: "</a"5432 is expected to eq "</a"5433 content: "</span>", expected_match: "</span"5434 is expected to eq "</span"5435 content: "< / span>", expected_match: "< / span"5436 is expected to eq "< / span"5437 content: "title=\"<a href", expected_match: nil5438 is expected to eq nil5439 content: "title= \"<a href", expected_match: nil5440 is expected to eq nil5441 content: "title= '<a href", expected_match: nil5442 is expected to eq nil5443 content: "title= '</a", expected_match: nil5444 is expected to eq nil5445 content: "title= '</span", expected_match: nil5446 is expected to eq nil5447 content: "title=\"foo\"><a", expected_match: "<a"5448 is expected to eq "<a"5449 content: "title='foo'>\n<a", expected_match: "<a"5450 is expected to eq "<a"5451 #ensure_no_html_escaped_tags!5452 when content contains HTML escaped chars5453 raises an exception5454 when content does not contain HTML escaped tags5455 does not raise anything5456Jobs/Code-Quality.gitlab-ci.yml5457 the created pipeline5458 on master5459 creates the code_quality job5460 on another branch5461 creates the code_quality job5462 on tag5463 creates the code_quality job5464 on merge request5465 has no jobs5466 CODE_QUALITY_DISABLED is set5467 on master5468 has no jobs5469 on another branch5470 has no jobs5471 on tag5472 has no jobs5473Integrations::Packagist5474 behaves like Integrations::HasWebHook5475 associations5476 is expected to have one service_hook inverse_of => integration5477 callbacks5478 calls #update_web_hook! when enabled5479 does not call #update_web_hook! when disabled5480 does not call #update_web_hook! when validation fails5481 #hook_url5482 returns a string5483 #url_variables5484 returns a hash5485 #hook_ssl_verification5486 returns a boolean5487 delegates to #enable_ssl_verification if the concern is included5488 #update_web_hook!5489 creates or updates a service hook5490 raises an error if the service hook could not be saved5491 does not attempt to save the service hook if there are no changes5492 #execute_web_hook!5493 creates the webhook if necessary and executes it5494 raises an error if the service hook could not be saved5495 behaves like Integrations::ResetSecretFields5496 #exposing_secrets_fields5497 returns an array of strings5498 #reset_secret_fields?5499 returns false if no exposing field has changed5500 returns true if any exposing field has changed5501 validation callback5502 when an exposing field has changed5503 clears all secret fields5504 when a secret field has been updated5505 does not clear this secret field5506 when a secret field has been updated with the same value5507 does not clear this secret field5508 when no exposing field has changed5509 does not clear any secret fields5510 #execute5511 calls Packagist API5512 #test5513 when test request executes without errors5514 when response is a 2005515 return failure result5516 when response is a 2025517 return success result5518 when test request executes with errors5519 return failure result5520Gitlab::Ci::Config::External::File::Component5521 # order random5522 #metadata5523 returns the metadata5524 #expand_context5525 inherits user and variables while changes project and sha5526 #to_hash5527 when interpolation is being used5528 correctly interpolates the content5529 #matching?5530 when component is specified5531 is expected to be truthy5532 when feature flag ci_include_components is disabled5533 is expected to be falsey5534 when component is not specified5535 is expected to be falsy5536 #valid?5537 when the context project does not have a repository5538 is invalid5539 when location is not provided5540 is invalid5541 when component path is provided5542 when component is not found5543 is invalid5544 when component is found5545 is valid5546 when content is not a valid YAML5547 is invalid5548Gitlab::GithubImport::ParallelScheduling5549 #parallel?5550 returns true when running in parallel mode5551 returns false when running in sequential mode5552 #execute5553 imports data in parallel when running in parallel mode5554 imports data in parallel when running in sequential mode5555 expires the cache used for tracking already imported objects5556 logs the the process5557 when abort_on_failure is false5558 logs the error when it fails5559 when abort_on_failure is true5560 logs the error when it fails and marks import as failed5561 #sequential_import5562 imports data in sequence5563 #parallel_import5564 imports data in parallel with delays respecting parallel_import_batch definition and return job waiter5565 when job restarts due to API rate limit or Sidekiq interruption5566 restores job waiter's key and jobs_remaining5567 #each_object_to_import5568 yields every object to import5569 resumes from the last page5570 does not yield any objects if the page number was not set5571 does not yield the object if it was already imported5572 #already_imported?5573 returns false when an object has not yet been imported5574 returns true when an object has already been imported5575 #mark_as_imported5576 marks an object as already imported5577 #increment_object_counter?5578 returns true5579FinderWithGroupHierarchy5580 when specifying group5581 returns only the group by default5582 when specifying group_id5583 returns only the group by default5584 when including items from group ancestors5585 returns group and its ancestors5586 ignores groups which user can not read5587 returns them all when skip_authorization is true5588 when including items from group descendants5589 returns items from group and its descendants5590 ignores items from groups which user can not read5591 returns them all when skip_authorization is true5592 with N+1 query check5593 does not produce N+1 query5594Mutations::Boards::Issues::IssueMoveList5595 #resolve5596 when we only pass from_list_id5597 generates an error5598 when we only pass to_list_id5599 generates an error5600 when required arguments are missing5601 generates an error5602 when the board ID is wrong5603 raises an error5604 when positionInList is given5605 when fromListId and toListId are missing5606 generates an error5607 when move_before_id is also given5608 generates an error5609 when move_after_id is also given5610 generates an error5611 when position_in_list is invalid5612 generates an error5613 when user have access to resources5614 moves and repositions issue5615 when user cannot update issue5616 is expected to raise Gitlab::Graphql::Errors::ResourceNotAvailable5617Ci::CreatePipelineService5618 when the variable is set5619 uses the evaluated variable5620 when the tag is composed by two variables5621 uses the evaluated variables5622 when the variable is not set5623 uses the variable as a regular string5624 when the tag uses group variables5625 uses the evaluated variables5626 when the tag has the same variable name defined for both group and project5627 uses the project variable instead of group due to variable precedence5628 with parallel:matrix config5629 uses the evaluated variables5630UploadPolicy5631 destroy_upload5632 when deleting project upload5633 behaves like uploads policy5634 when user is guest5635 is expected to be disallowed :read_upload and :destroy_upload5636 when user is developer5637 is expected to be disallowed :read_upload and :destroy_upload5638 when user is maintainer5639 is expected to be allowed :read_upload and :destroy_upload5640 when user is owner5641 is expected to be allowed :read_upload and :destroy_upload5642 when user is admin5643 is expected to be disallowed :read_upload and :destroy_upload5644 with admin mode5645 is expected to be allowed :read_upload and :destroy_upload5646 when deleting group upload5647 behaves like uploads policy5648 when user is guest5649 is expected to be disallowed :read_upload and :destroy_upload5650 when user is developer5651 is expected to be disallowed :read_upload and :destroy_upload5652 when user is maintainer5653 is expected to be allowed :read_upload and :destroy_upload5654 when user is owner5655 is expected to be allowed :read_upload and :destroy_upload5656 when user is admin5657 is expected to be disallowed :read_upload and :destroy_upload5658 with admin mode5659 is expected to be allowed :read_upload and :destroy_upload5660 when deleting upload associated with other model5661 is expected to be disallowed :read_upload and :destroy_upload5662Packages::Debian::GenerateDistributionKeyService5663 returns an Hash5664Direct upload support5665 config_name: "artifacts"5666 when object storage is enabled5667 when direct upload is enabled5668 when provider is AWS5669/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5670/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5671/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5672/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5673/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5674/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5675 succeeds5676 when provider is Google5677/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5678/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5679/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5680/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5681/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5682/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5683 succeeds5684 when provider is AzureRM5685/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5686/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5687/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5688/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5689/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5690/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5691 succeeds5692 when connection is empty5693/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5694/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5695/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5696/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5697/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5698/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5699 raises an error5700 when other provider is used5701/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5702/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5703/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5704/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5705/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5706/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5707 raises an error5708 when connection is omitted5709/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5710/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5711/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5712/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5713/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5714/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5715 raises an error5716 when direct upload is disabled5717/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5718/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5719/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5720/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5721/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5722/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5723 succeeds5724 when object storage is disabled5725/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5726/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5727/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5728/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5729/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5730/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5731 succeeds5732 config_name: "lfs"5733 when object storage is enabled5734 when direct upload is enabled5735 when provider is AWS5736/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5737/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5738/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5739/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5740/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5741/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5742 succeeds5743 when provider is Google5744/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5745/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5746/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5747/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5748/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5749/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5750 succeeds5751 when provider is AzureRM5752/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5753/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5754/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5755/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5756/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5757/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5758 succeeds5759 when connection is empty5760/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5761/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5762/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5763/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5764/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5765/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5766 raises an error5767 when other provider is used5768/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5769/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5770/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5771/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5772/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5773/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5774 raises an error5775 when connection is omitted5776/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5777/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5778/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5779/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5780/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5781/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5782 raises an error5783 when direct upload is disabled5784/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5785/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5786/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5787/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5788/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5789/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5790 succeeds5791 when object storage is disabled5792/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5793/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5794/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5795/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5796/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5797/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5798 succeeds5799 config_name: "uploads"5800 when object storage is enabled5801 when direct upload is enabled5802 when provider is AWS5803/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5804/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5805/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5806/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5807/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5808/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5809 succeeds5810 when provider is Google5811/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5812/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5813/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5814/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5815/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5816/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5817 succeeds5818 when provider is AzureRM5819/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5820/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5821/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5822/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5823/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5824/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5825 succeeds5826 when connection is empty5827/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5828/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5829/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5830/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5831/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5832/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5833 raises an error5834 when other provider is used5835/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5836/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5837/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5838/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5839/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5840/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5841 raises an error5842 when connection is omitted5843/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5844/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5845/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5846/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5847/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5848/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5849 raises an error5850 when direct upload is disabled5851/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5852/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5853/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5854/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5855/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5856/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5857 succeeds5858 when object storage is disabled5859/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: already initialized constant DirectUploadsValidator::SUPPORTED_DIRECT_UPLOAD_PROVIDERS5860/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:4: warning: previous definition of SUPPORTED_DIRECT_UPLOAD_PROVIDERS was here5861/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: already initialized constant DirectUploadsValidator::ValidationError5862/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:8: warning: previous definition of ValidationError was here5863/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: already initialized constant CONFIGS5864/builds/gitlab-org/gitlab/config/initializers/direct_upload_support.rb:38: warning: previous definition of CONFIGS was here5865 succeeds5866Gitlab::Usage::Metrics::Aggregates::Aggregate5867 .calculate_count_for_aggregation5868 with valid configuration5869 number_of_days: 28, operator: "AND", datasource: "redis_hll", expected_method: :calculate_metrics_intersections5870 returns the number of unique events for aggregation5871 number_of_days: 7, operator: "AND", datasource: "redis_hll", expected_method: :calculate_metrics_intersections5872 returns the number of unique events for aggregation5873 number_of_days: 28, operator: "AND", datasource: "database", expected_method: :calculate_metrics_intersections5874 returns the number of unique events for aggregation5875 number_of_days: 7, operator: "AND", datasource: "database", expected_method: :calculate_metrics_intersections5876 returns the number of unique events for aggregation5877 number_of_days: 28, operator: "OR", datasource: "redis_hll", expected_method: :calculate_metrics_union5878 returns the number of unique events for aggregation5879 number_of_days: 7, operator: "OR", datasource: "redis_hll", expected_method: :calculate_metrics_union5880 returns the number of unique events for aggregation5881 number_of_days: 28, operator: "OR", datasource: "database", expected_method: :calculate_metrics_union5882 returns the number of unique events for aggregation5883 number_of_days: 7, operator: "OR", datasource: "database", expected_method: :calculate_metrics_union5884 returns the number of unique events for aggregation5885 with invalid configuration5886 time_frame: "28d", operator: "SUM", datasource: "redis_hll", expected_error: Gitlab::Usage::Metrics::Aggregates::UnknownAggregationOperator5887 with non prod environment5888 raises error5889 with prod environment5890 returns fallback value5891 time_frame: "7d", operator: "AND", datasource: "mongodb", expected_error: Gitlab::Usage::Metrics::Aggregates::UnknownAggregationSource5892 with non prod environment5893 raises error5894 with prod environment5895 returns fallback value5896 time_frame: "all", operator: "AND", datasource: "redis_hll", expected_error: Gitlab::Usage::Metrics::Aggregates::DisallowedAggregationTimeFrame5897 with non prod environment5898 raises error5899 with prod environment5900 returns fallback value5901 when union data is not available5902 time_frame: "28d", operator: "OR", datasource: "redis_hll"5903 with non prod environment5904 raises error5905 with prod environment5906 returns fallback value5907 time_frame: "7d", operator: "OR", datasource: "database"5908 with non prod environment5909 raises error5910 with prod environment5911 returns fallback value5912Projects::Forks::Details5913 # order random5914 #exclusive_lease5915 returns exclusive lease to the details5916 #counts5917 shows how far behind/ahead a fork is from the upstream5918 when counts calculated from a branch that exists upstream5919 compares the fork branch to upstream default branch5920 when specified branch does not exist5921 returns nils as counts5922 #has_conflicts5923 returns whether merge for the stored commits failed due to conflicts5924 #update!5925 updates the cache with the specified value5926 syncing?5927 returns whether there is a sync in progress5928Gitlab::Database::AsyncIndexes::PostgresAsyncIndex5929 is expected to be a kind of Gitlab::Database::SharedModel(abstract)5930 validations5931 is expected to validate that :name cannot be empty/falsy5932 is expected to validate that the length of :name is at most 635933 is expected to validate that :table_name cannot be empty/falsy5934 is expected to validate that the length of :table_name is at most 1275935 is expected to validate that :definition cannot be empty/falsy5936 is expected to validate that the length of :definition is at most 20485937 is expected to validate that the length of :last_error is at most 100005938 when passing a long schema name5939 behaves like table_name is invalid5940 is invalid5941 when passing a long table name5942 behaves like table_name is invalid5943 is invalid5944 when passing a long table name and schema name5945 behaves like table_name is invalid5946 is invalid5947 when invalid table name is given5948 behaves like table_name is invalid5949 is invalid5950 scopes5951 .to_create5952 is expected to contain exactly #<Gitlab::Database::AsyncIndexes::PostgresAsyncIndex id: 1, created_at: "2023-06-02 06:47:55.73934057...nition: "CREATE INDEX users_id_12 ON users (id)", table_name: "users", attempts: 0, last_error: nil>5953 .to_drop5954 is expected to contain exactly #<Gitlab::Database::AsyncIndexes::PostgresAsyncIndex id: 2, created_at: "2023-06-02 06:47:55.74467934...ers_id_13", definition: "DROP INDEX users_id_13", table_name: "users", attempts: 0, last_error: nil>5955 .ordered5956 is expected to contain exactly #<Gitlab::Database::AsyncIndexes::PostgresAsyncIndex id: 2, created_at: "2023-06-02 06:47:55.74467934...ers_id_13", definition: "DROP INDEX users_id_13", table_name: "users", attempts: 0, last_error: nil>5957 #handle_exception!5958 increases the attempts number5959 saves error details5960Packages::UpdatePackageFileService5961 #execute5962 with object storage disabled5963 behaves like updating package file with valid parameters5964 with both parameters set5965 updates the package file accordingly5966 with only file_name set5967 updates the package file accordingly5968 with only package_id set5969 updates the package file accordingly5970 behaves like not updating package with invalid parameters5971 with blank parameters5972 raise an argument error5973 with non persisted package file5974 raise an argument error5975 with object storage enabled5976 behaves like updating package file with valid parameters5977 with both parameters set5978 updates the package file accordingly5979 with only file_name set5980 updates the package file accordingly5981 with only package_id set5982 updates the package file accordingly5983 behaves like not updating package with invalid parameters5984 with blank parameters5985 raise an argument error5986 with non persisted package file5987 raise an argument error5988RuboCop::Cop::StaticTranslationDefinition5989 # order random5990 ignore5991 code: "CONSTANT_1 = __(\"a\")"5992 does not register an offense5993 code: "CONSTANT_2 = s__(\"a\")"5994 does not register an offense5995 code: "CONSTANT_3 = n__(\"a\")"5996 does not register an offense5997 code: "CONSTANT_var = _(code)"5998 does not register an offense5999 code: "CONSTANT_int = _(1)"6000 does not register an offense6001 code: "CONSTANT_none = _()"6002 does not register an offense6003 code: "class MyClass\n def self.method\n @cache ||= { hello: -> { _(\"hello\") } }\n end\nend\n"6004 does not register an offense6005 code: "class MyClass\n def self.method\n @cache ||= { hello: proc { _(\"hello\") } }\n end\nend\n"6006 does not register an offense6007 code: "class MyClass\n def method\n @cache ||= { hello: _(\"hello\") }\n end\nend\n"6008 does not register an offense6009 code: "def method\n s_('a')\nend\n"6010 does not register an offense6011 code: "class MyClass\n VALID = -> {\n s_('hi')\n }\nend\n"6012 does not register an offense6013 code: "class MyClass\n def hello\n {\n a: _('hi')\n }\n end\nend\n"6014 does not register an offense6015 code: "SomeClass = Struct.new do\n def text\n _('Some translated text')\n end\nend\n"6016 does not register an offense6017 code: "Struct.new('SomeClass') do\n def text\n _('Some translated text')\n end\nend\n"6018 does not register an offense6019 code: "class MyClass\n field :foo, title: -> { _('A title') }\nend\n"6020 does not register an offense6021 code: "included do\n put do\n _('b')\n end\nend\nclass_methods do\n expose do\n _('b')\n end\nend\n"6022 does not register an offense6023 offenses6024 code: "A = _(\"a\")\n ^^^^^^ Translation is defined in static scope. Keep translations dynamic. See https://docs.gitlab.com/ee/development/i18n/externalization.html#keep-translations-dynamic \n"6025 registers an offense6026 code: "B = s_(\"b\")\n ^^^^^^^ Translation is defined in static scope. Keep translations dynamic. See https://docs.gitlab.com/ee/development/i18n/externalization.html#keep-translations-dynamic \n"6027 registers an offense6028 code: "C = n_(\"c\")\n ^^^^^^^ Translation is defined in static scope. Keep translations dynamic. See https://docs.gitlab.com/ee/development/i18n/externalization.html#keep-translations-dynamic \n"6029 registers an offense6030 code: "A = _('a' \\\n ^^^^^^^ [...]\n 'b')\n"6031 registers an offense6032 code: "A = _(\"a\#{s}\")\n ^^^^^^^^^^ [...]\n"6033 registers an offense6034 code: "class MyClass\n def self.translations\n @cache ||= { hello: _(\"hello\") }\n ^^^^^^^^^^ Translation is defined in static scope. Keep translations dynamic. See https://docs.gitlab.com/ee/development/i18n/externalization.html#keep-translations-dynamic \n end\nend\n"6035 registers an offense6036 code: "module MyModule\n A = {\n b: {\n c: _(\"a\")\n ^^^^^^ Translation is defined in static scope. Keep translations dynamic. See https://docs.gitlab.com/ee/development/i18n/externalization.html#keep-translations-dynamic \n }\n }\nend\n"6037 registers an offense6038 code: "class MyClass\n B = [\n [\n s_(\"a\")\n ^^^^^^^ Translation is defined in static scope. Keep translations dynamic. See https://docs.gitlab.com/ee/development/i18n/externalization.html#keep-translations-dynamic \n ]\n ]\nend\n"6039 registers an offense6040 code: "class MyClass\n field :foo, title: _('A title')\n ^^^^^^^^^^^^ Translation is defined in static scope. Keep translations dynamic. See https://docs.gitlab.com/ee/development/i18n/externalization.html#keep-translations-dynamic \nend\n"6041 registers an offense6042 code: "included do\n _('a')\n ^^^^^^ Translation is defined in static scope. Keep translations dynamic. See https://docs.gitlab.com/ee/development/i18n/externalization.html#keep-translations-dynamic \nend\nprepended do\n self.var = _('a')\n ^^^^^^ Translation is defined in static scope. Keep translations dynamic. See https://docs.gitlab.com/ee/development/i18n/externalization.html#keep-translations-dynamic \nend\nclass_methods do\n _('a')\n ^^^^^^ Translation is defined in static scope. Keep translations dynamic. See https://docs.gitlab.com/ee/development/i18n/externalization.html#keep-translations-dynamic \nend\n"6043 registers an offense6044Gitlab::Database::Type::IndifferentJsonb6045 # order random6046 #deserialize6047 json: nil, value: nil6048 is expected to match nil6049 is expected to match nil6050 json: "{\"key\":\"value\"}", value: {:key=>"value"}6051 is expected to match {:key=>"value"}6052 is expected to match {"key"=>"value"}6053 json: "{\"key\":[1,2,3]}", value: {:key=>[1, 2, 3]}6054 is expected to match {:key=>[1, 2, 3]}6055 is expected to match {"key"=>[1, 2, 3]}6056 json: "{\"key\":{\"subkey\":\"value\"}}", value: {:key=>{:subkey=>"value"}}6057 is expected to match {:key=>{:subkey=>"value"}}6058 is expected to match {"key"=>{"subkey"=>"value"}}6059 json: "{\"key\":{\"a\":[{\"b\":\"c\"},{\"d\":\"e\"}]}}", value: {:key=>{:a=>[{:b=>"c"}, {:d=>"e"}]}}6060 is expected to match {:key=>{:a=>[{:b=>"c"}, {:d=>"e"}]}}6061 is expected to match {"key"=>{"a"=>[{"b"=>"c"}, {"d"=>"e"}]}}6062 when used by a model6063 is expected to match {:key=>"value"}6064 is expected to match {"key"=>"value"}6065 ignores changes to other attributes6066 tracks changes to options6067PersonalProjectsFinder6068 without a current user6069 is expected to eq [#<Project id:864 user1971/pblc>>]6070 with a current user6071 normal user6072 is expected to contain exactly #<Project id:868 user1971/pblc>>, #<Project id:870 user1971/C>>, and #<Project id:869 user1971/mepmep>>6073 external6074 is expected to contain exactly #<Project id:872 user1971/pblc>> and #<Project id:873 user1971/mepmep>>6075 and searching with an admin user6076 is expected to contain exactly #<Project id:876 user1971/pblc>>, #<Project id:878 user1971/C>>, #<Project id:879 user1971/D>>, and #<Project id:877 user1971/mepmep>>6077Gitlab::Popen::Runner6078 #run6079 runs the command and returns the result6080 #all_success_and_clean?6081 returns true when exit status is 0 and stderr is empty6082 returns false when exit status is not 06083 returns false when exit stderr has something6084 #all_success?6085 returns true when exit status is 06086 returns false when exit status is not 06087 returns true6088 #all_stderr_empty?6089 returns true when stderr is empty6090 returns true when exit status is not 06091 returns false when exit stderr has something6092 #failed_results6093 returns [] when everything is passed6094 returns the result when exit status is not 06095 returns [] when exit stderr has something6096 #warned_results6097 returns [] when everything is passed6098 returns [] when exit status is not 06099 returns the result when exit stderr has something6100Gitlab::Ci::Build::Step6101 #from_commands6102 when script option is specified6103 behaves like has correct script6104 fabricates an object6105 when before and script option is specified6106 behaves like has correct script6107 fabricates an object6108 when timeout option is specified in seconds6109 has job level timeout6110 behaves like has correct script6111 fabricates an object6112 #from_release6113 with release6114 returns the release-cli command line6115 when release is empty6116 does not fabricate an object6117 #from_after_script6118 when after_script is empty6119 does not fabricate an object6120 when after_script is not empty6121 fabricates an object6122Gitlab::Usage::Metrics::Instrumentations::GenericMetric6123 with default fallback6124 #value6125 gives the correct value6126 when raising an exception6127 with should_raise_for_dev? false6128 return the default fallback6129 with should_raise_for_dev? true6130 raises an error6131 with custom fallback -26132 behaves like custom fallback6133 #value6134 gives the correct value6135 when raising an exception6136 with should_raise_for_dev? false6137 return the custom fallback6138 with should_raise_for_dev? true6139 raises an error6140 with custom fallback nil6141 behaves like custom fallback6142 #value6143 gives the correct value6144 when raising an exception6145 with should_raise_for_dev? false6146 return the custom fallback6147 with should_raise_for_dev? true6148 raises an error6149 with custom fallback false6150 behaves like custom fallback6151 #value6152 gives the correct value6153 when raising an exception6154 with should_raise_for_dev? false6155 return the custom fallback6156 with should_raise_for_dev? true6157 raises an error6158 with custom fallback true6159 behaves like custom fallback6160 #value6161 gives the correct value6162 when raising an exception6163 with should_raise_for_dev? false6164 return the custom fallback6165 with should_raise_for_dev? true6166 raises an error6167 with custom fallback []6168 behaves like custom fallback6169 #value6170 gives the correct value6171 when raising an exception6172 with should_raise_for_dev? false6173 return the custom fallback6174 with should_raise_for_dev? true6175 raises an error6176 with custom fallback { major: -1 }6177 behaves like custom fallback6178 #value6179 gives the correct value6180 when raising an exception6181 with should_raise_for_dev? false6182 return the custom fallback6183 with should_raise_for_dev? true6184 raises an error6185gitlab:dependency_proxy namespace rake task6186 migrate6187 object storage disabled6188 doesn't migrate files6189 object storage enabled6190 migrates local file to object storage6191 an error is raised while migrating6192 fails to migrate a local file that does not exist6193BulkImports::Common::Transformers::UserReferenceTransformer6194 #transform6195 when user can be found by email6196 sets found user_id and removes user key6197 when user cannot be found by email6198 sets found user_id and removes user key6199 when there is no data to transform6200 returns6201 when custom reference is provided6202 updates provided reference6203 updates provided reference6204Gitlab::UsageMetricGenerator6205 Creating metric instrumentation files6206 creates CE metric instrumentation files using the template6207 with EE flag true6208 creates EE metric instrumentation files using the template6209 for database type6210 creates the metric instrumentation file using the template6211 for numbers type6212 creates the metric instrumentation file using the template6213 with type option missing6214 raises an ArgumentError6215 with type option value not included in approved superclasses6216 raises an ArgumentError6217 without operation for database metric6218 raises an ArgumentError6219 with wrong operation for database metric6220 raises an ArgumentError6221 without operation for numbers metric6222 raises an ArgumentError6223 with wrong operation for numbers metric6224 raises an ArgumentError6225ExclusiveLeaseGuard6226 #try_obtain_lease6227 obtains the lease, calls internal_method and releases the lease6228 when the lease is already obtained6229 when the class does not override lease_taken_log_level6230 does not call internal_method but logs error6231 when the class overrides lease_taken_log_level to return :info6232 logs info6233 when the class overrides lease_taken_log_level to return :debug6234 logs debug6235 with overwritten lease_release?6236 does not release the lease after execution6237 #exclusive_lease6238 uses the class name as lease key6239 with overwritten lease_key6240 uses the custom lease key6241 #release_lease6242 sends a cancel message to ExclusiveLease6243 #renew_lease!6244 sends a renew message to the exclusive_lease instance6245Mutations::Boards::Lists::Create6246 behaves like board lists create mutation6247 #ready?6248 raises an error if required arguments are missing6249 raises an error if too many required arguments are specified6250 #resolve6251 with proper permissions6252 backlog list6253 creates one and only one backlog6254 label list6255 creates a new label board list6256 when label not found6257 returns an error6258 without proper permissions6259 raises an error6260Gitlab::WebHooks::RateLimiter6261 #rate_limit!6262 when there is no plan limit6263 hook: project_hook6264 behaves like a hook that is never rate limited6265 is expected to eq false6266 hook: system_hook6267 behaves like a hook that is never rate limited6268 is expected to eq false6269 hook: integration_hook6270 behaves like a hook that is never rate limited6271 is expected to eq false6272 when there is a plan limit6273 hook: project_hook, limitless_hook_type: false6274 rate limits the hook, returning true when rate limited6275 hook: system_hook, limitless_hook_type: true6276 behaves like a hook that is never rate limited6277 is expected to eq false6278 hook: integration_hook, limitless_hook_type: true6279 behaves like a hook that is never rate limited6280 is expected to eq false6281 rate limit scope6282 rate limits all hooks from the same namespace6283 #rate_limited?6284 when no plan limit has been defined6285 hook: project_hook6286 is expected to eq false6287 hook: system_hook6288 is expected to eq false6289 hook: integration_hook6290 is expected to eq false6291 when there is a plan limit6292 when hook is not rate-limited6293 hook: project_hook6294 is expected to eq false6295 hook: system_hook6296 is expected to eq false6297 hook: integration_hook6298 is expected to eq false6299 when hook is rate-limited6300 hook: project_hook, limitless_hook_type: false6301 is expected to eq true6302 hook: system_hook, limitless_hook_type: true6303 is expected to eq false6304 hook: integration_hook, limitless_hook_type: true6305 is expected to eq false6306Gitlab::Spamcheck::Client6307 url scheme6308 is tls6309 uses secure connection6310 is grpc6311 uses insecure connection6312 #spam?6313 issue6314 behaves like check for spam6315 includes interceptors6316 verdict_value: 0, expected: "allow", verdict_evaluated: true, verdict_score: 0.016317 returns expected spam result6318 verdict_value: 1, expected: "conditional_allow", verdict_evaluated: true, verdict_score: 0.56319 returns expected spam result6320 verdict_value: 2, expected: "disallow", verdict_evaluated: true, verdict_score: 0.756321 returns expected spam result6322 verdict_value: 3, expected: "block", verdict_evaluated: true, verdict_score: 0.996323 returns expected spam result6324 verdict_value: 4, expected: "noop", verdict_evaluated: false, verdict_score: 0.06325 returns expected spam result6326 snippet6327 behaves like check for spam6328 includes interceptors6329 verdict_value: 0, expected: "allow", verdict_evaluated: true, verdict_score: 0.016330 returns expected spam result6331 verdict_value: 1, expected: "conditional_allow", verdict_evaluated: true, verdict_score: 0.56332 returns expected spam result6333 verdict_value: 2, expected: "disallow", verdict_evaluated: true, verdict_score: 0.756334 returns expected spam result6335 verdict_value: 3, expected: "block", verdict_evaluated: true, verdict_score: 0.996336 returns expected spam result6337 verdict_value: 4, expected: "noop", verdict_evaluated: false, verdict_score: 0.06338 returns expected spam result6339 #build_protobuf6340 builds the expected issue protobuf object6341 builds the expected snippet protobuf object6342 builds the expected generic protobuf object6343 #build_user_protobuf6344 builds the expected protobuf object6345 when user has multiple email addresses6346 adds emails to the user pb object6347 #build_project_protobuf6348 builds the expected protobuf object6349 #get_spammable_mappings6350 is a defined spammable6351 is a generic spammable6352Ci::DailyBuildGroupReportResultService#execute6353 creates daily code coverage record for each job in the pipeline that has coverage value6354 creates a project_ci_feature_usage record for the pipeline project6355 when there are multiple builds with the same group name that report coverage6356 creates daily code coverage record with the average as the value6357 when there is an existing daily code coverage for the matching date, project, ref_path, and group name6358 updates the existing record's coverage value and last_pipeline_id6359 does not create a new project_ci_feature_usage record for the pipeline project6360 when the ID of the pipeline is older than the last_pipeline_id6361 updates the existing daily code coverage records6362 when pipeline has no builds with coverage6363 does nothing6364 when pipeline ref_path is the project default branch6365 sets default branch to true6366 creates a project_ci_feature_usage record for the pipeline project for default branch6367 when pipeline ref_path is not the project default branch6368 sets default branch to false6369JSONWebToken::HMACToken6370 .decode6371 with an invalid token6372 that is junk6373 raises exception saying 'Not enough or too many segments'6374 that has been fiddled with6375 raises exception saying 'Invalid segment encoding'6376 that was generated using a different secret6377 raises exception saying 'Signature verification failed6378 that is expired6379 raises exception saying 'Signature has expired'6380 with a valid token6381 that has expired6382 with the default leeway6383 behaves like a valid, non-expired token6384 is an Array with two elements6385 contains the following keys in the first Array element Hash - jti, iat, nbf, exp6386 contains the following keys in the second Array element Hash - typ and alg6387 with a leeway of 0 seconds6388 raises exception saying 'Signature has expired'6389 that has not expired6390 behaves like a valid, non-expired token6391 is an Array with two elements6392 contains the following keys in the first Array element Hash - jti, iat, nbf, exp6393 contains the following keys in the second Array element Hash - typ and alg6394 #encoded6395 without data6396 behaves like a valid, non-expired token6397 is an Array with two elements6398 contains the following keys in the first Array element Hash - jti, iat, nbf, exp6399 contains the following keys in the second Array element Hash - typ and alg6400 with data6401 contains the 'data' key in the first Array element Hash6402 can re-read back the data6403 behaves like a valid, non-expired token6404 is an Array with two elements6405 contains the following keys in the first Array element Hash - jti, iat, nbf, exp6406 contains the following keys in the second Array element Hash - typ and alg6407Gitlab::Pages::VirtualHostFinder6408 # order random6409 returns nil when host is empty6410 when host is a namespace domain6411 when there are no pages deployed for the project6412 returns no result if the provided host is not subdomain of the Pages host6413 returns the virual domain with no lookup_paths6414 when :cache_pages_domain_api is disabled6415 returns the virual domain with no lookup_paths6416 when there are pages deployed for the project6417 returns no result if the provided host is not subdomain of the Pages host6418 returns the virual domain when there are pages deployed for the project6419 finds domain with case-insensitive6420 when :cache_pages_domain_api is disabled6421 returns the virual domain when there are pages deployed for the project6422 when host is a unique domain6423 when pages unique domain is enabled6424 when there are no pages deployed for the project6425 returns nil6426 when there are pages deployed for the project6427 returns the virual domain when there are pages deployed for the project6428 when :cache_pages_domain_api is disabled6429 returns the virual domain when there are pages deployed for the project6430 when pages unique domain is disabled6431 when there are no pages deployed for the project6432 returns nil6433 when there are pages deployed for the project6434 returns nil6435 when host is a pages custom domain host6436 when there are no pages deployed for the project6437 returns nil6438 when there are pages deployed for the project6439 returns the virual domain when there are pages deployed for the project6440 when :cache_pages_domain_api is disabled6441 returns the virual domain when there are pages deployed for the project6442ResourceMilestoneEventFinder6443 #execute6444 returns events with milestones accessible by user6445 filters events with public project milestones if issues and MRs are private6446 filters events with project milestones not accessible by user6447 filters events with group milestones not accessible by user6448 when multiple events share the same milestone6449 avoids N+1 queries6450Gitlab::Database::SharedModel6451 using an external connection6452 overrides the connection for the duration of the block6453 does not affect connections in other threads6454 raises an error if the connection does not include `:gitlab_shared` schema6455 when multiple connection overrides are nested6456 allows the nesting with the same connection object6457 raises an error if the connection is changed6458 when the block raises an error6459 re-raises the error, removing the overridden connection6460 #connection_db_config6461 returns the class connection_db_config6462 when switching the class connection6463 returns the db_config of the used connection when using load balancing6464projects/_files6465 # order random6466 when rendered in the project overview page and there is no current user6467 renders buttons6468 when rendered in a page other than project overview6469 does not render buttons6470 when the user disabled project shortcut buttons6471 does not render buttons6472 when the user has project shortcut buttons enabled6473 renders buttons6474Gitlab::GithubImport::StageMethods6475 #perform6476 returns if no project could be found6477 returns if the import state is canceled6478 imports the data when the project exists6479 when abort_on_failure is false6480 logs error when import fails6481 when abort_on_failure is true6482 logs, captures and re-raises the exception and also marks the import as failed6483 #try_import6484 imports the project6485 reschedules the worker if RateLimitError was raised6486 #find_project6487 returns a Project for an existing ID6488 returns nil for a project that failed importing6489 returns nil for a non-existing project ID6490Atlassian::JiraIssueKeyExtractors::Branch6491 # order random6492 .has_keys?6493 delegates to `#issue_keys?`6494 #issue_keys6495 when branch name does not refer to an issue6496 is expected to eq []6497 when branch name refers to an issue6498 is expected to eq ["BRANCH-1"]6499 when there is a related open merge request, and related closed merge request6500 is expected to eq ["BRANCH-1", "OPEN_MR_TITLE-1", "OPEN_MR_DESC-1"]6501LabelPriority6502 relationships6503 is expected to belong to project required: false6504 is expected to belong to label required: false6505 validations6506 is expected to validate that :project cannot be empty/falsy6507 is expected to validate that :label cannot be empty/falsy6508 is expected to validate that :priority looks like an integer greater than or equal to 06509 validates uniqueness of label_id scoped to project_id6510 when importing6511 is expected not to validate that :label cannot be empty/falsy6512Integrations::PropagateService6513 .propagate6514 with inherited integration6515 calls to PropagateIntegrationProjectWorker6516 with a project without integration6517 calls to PropagateIntegrationProjectWorker6518 with a group without integration6519 calls to PropagateIntegrationProjectWorker6520 for a group-level integration6521 with a project without integration6522 calls to PropagateIntegrationProjectWorker6523 with a subgroup without integration6524 calls to PropagateIntegrationGroupWorker6525 with a subgroup with integration6526 calls to PropagateIntegrationInheritDescendantWorker6527admin mode on tasks6528 with a regular user6529 matches the expected admin mode6530 with an admin6531 matches the expected admin mode6532Gitlab::Kubernetes::KubectlCmd6533 .delete6534 constructs string properly6535 .apply_file6536 without optional args6537 requires filename to be present6538 constructs string properly6539 with optional args6540 constructs command properly with many args6541 constructs command properly with single arg6542 .api_resources6543 constructs string properly6544 .delete_crds_from_group6545 constructs string properly6546Gitlab::Ci::Status::Success6547 #text6548 is expected to eq "passed"6549 #label6550 is expected to eq "passed"6551 #icon6552 is expected to eq "status_success"6553 #favicon6554 is expected to eq "favicon_status_success"6555 #group6556 is expected to eq "success"6557 #details_path6558 is expected to be nil6559rubocop rake tasks6560 check:graceful6561 with successful task result6562 example at ./spec/tasks/rubocop_rake_spec.rb:466563 modifies ENV and deletes REVEAL_RUBOCOP_TODO key6564 with non-successful task result6565 is expected to abort execution6566 todo:generate6567 without arguments6568 generates TODOs for all RuboCop rules6569 sets acronyms for inflections6570 with cop names as arguments6571 generates TODOs for given RuboCop cops6572Gitlab::Database::SchemaValidation::StructureSql6573 # order random6574 when having tables6575 #table_exists?6576 returns true when schema object exists6577 returns false when schema object does not exists6578 #tables6579 returns all the schema objects6580 when having indexes6581 #index_exists?6582 returns true when schema object exists6583 returns false when schema object does not exists6584 #indexes6585 returns all the schema objects6586 when having triggers6587 #trigger_exists?6588 returns true when schema object exists6589 returns false when schema object does not exists6590 #triggers6591 returns all the schema objects6592Onboarding::IssueCreatedWorker#perform6593 # order random6594 behaves like records an onboarding progress action6595 is expected to receive execute({:action=>:issue_created}) 1 time6596 behaves like does not record an onboarding progress action6597 is expected not to receive new(*(any args)) 0 times6598 behaves like an idempotent worker6599 is labeled as idempotent6600 performs multiple times sequentially without raising an exception6601 sets the onboarding progress action6602Gitlab::Ci::Artifacts::Logger6603 .log_created6604 logs information about created artifact6605 .log_deleted6606 logs information about deleted artifacts6607gitlab:lfs rake tasks6608 check6609 outputs the integrity check for each batch6610 errors out about missing files on the file system6611 errors out about invalid checksum6612ObjectPool::CreateWorker6613 #perform6614 when the pool creation is successful6615 marks the pool as ready6616 when a the pool already exists6617 cleans up the pool6618 when the server raises an unknown error6619 marks the pool as failed6620 when the pool creation failed before6621 deletes the pool first6622Packages::Go::CreatePackageService6623 #execute6624 with no existing package6625 creates a new package6626 behaves like creates a package6627 returns a valid package with 2 file(s)6628 behaves like creates a package file6629 returns a package with a mod file6630 with FIPS mode6631 does not generate file_md56632 behaves like creates a package file6633 returns a package with a zip file6634 with FIPS mode6635 does not generate file_md56636 with an existing package6637 does not create a package or files6638 behaves like creates a package6639 returns a valid package with 2 file(s)6640 behaves like creates a package file6641 returns a package with a mod file6642 with FIPS mode6643 does not generate file_md56644 behaves like creates a package file6645 returns a package with a zip file6646 with FIPS mode6647 does not generate file_md56648Gitlab::WordDiff::LineProcessor6649 #extract6650 when line is a diff hunk6651 returns DiffHunk segment6652 when line has a newline delimiter6653 returns Newline segment6654 when line has only space6655 returns nil6656 when line has content6657 returns Chunk segment6658Ci::VariablePresenter6659 inherits from Gitlab::View::Presenter::Delegated6660 #initialize6661 takes a variable and optional params6662 exposes variable6663 forwards missing methods to variable6664 #placeholder6665 is expected to eq "PROJECT_VARIABLE"6666 #form_path6667 is expected to eq "/namespace1357/project-1420/-/settings/ci_cd"6668 #edit_path6669 is expected to eq "/namespace1358/project-1421/-/variables"6670 #delete_path6671 is expected to eq "/namespace1359/project-1422/-/variables"6672Gitlab::Database::Migrations::LockRetryMixin6673 Gitlab::Database::Migrations::LockRetryMixin::ActiveRecordMigrationProxyLockRetries6674 #enable_lock_retries?6675 delegates to #migration6676 #migration_class6677 retrieves actual migration class from #migration6678 #migration_connection6679 retrieves actual migration connection from #migration6680 Gitlab::Database::Migrations::LockRetryMixin::ActiveRecordMigratorLockRetries6681 with transactions disabled6682 calls super method6683 with transactions enabled, but lock retries disabled6684 calls super method6685 with transactions enabled and lock retries enabled6686 calls super method6687 .patch!6688 patches MigrationProxy6689 patches Migrator6690Gitlab::Ci::Config::Extendable::Entry6691 .new6692 when entry key is not included in the context hash6693 raises error6694 #value6695 reads a hash value from the context6696 #extensible?6697 when entry has inheritance defined6698 is extensible6699 when entry does not have inheritance specified6700 is not extensible6701 when entry value is not a hash6702 is not extensible6703 #extends_keys6704 when entry is extensible6705 returns symbolized extends key value6706 when entry is not extensible6707 returns nil6708 #ancestors6709 returns ancestors keys6710 #base_hashes!6711 when base hash is not extensible6712 returns unchanged base hashes6713 when base hash is extensible too6714 extends the base hashes first6715 mutates original context6716 #extend!6717 when extending a non-hash value6718 raises an error6719 when extending unknown key6720 raises an error6721 when extending a hash correctly6722 returns extended part of the hash6723 mutates original context6724 when extending multiple hashes correctly6725 returns extended part of the hash6726 mutates original context6727 when hash is not extensible6728 returns original key value6729 does not mutate orignal context6730 when circular depenency gets detected6731 raises an error6732 when nesting level is too deep6733 raises an error6734Gitlab::Database::Migrations::SidekiqHelpers6735 # order random6736 sidekiq migration helpers6737 #sidekiq_remove_jobs6738 when inside a transaction6739 raises RuntimeError6740 when outside a transaction6741 removes all related job instances from the job classes' queues6742 when the constant is not defined6743 doesn't try to delete it6744 when the constant is defined6745 will use it find job instances to delete6746 when job instances are in the scheduled set6747 removes all related job instances from the scheduled set6748 when job instances are in the retry set6749 removes all related job instances from the retry set6750 when job fails to be deleted6751 and does not work enough times in a row before max attempts6752 tries the max attempts without succeeding6753 and then it works enough times in a row before max attempts6754 succeeds6755 #sidekiq_queue_length6756 when queue is empty6757 returns zero6758 when queue contains jobs6759 returns correct size of the queue6760 #sidekiq_queue_migrate6761 migrates jobs from one sidekiq queue to another6762CarrierWave::Storage::Fog::File6763 # order random6764 AWS6765 #copy_to6766 copies the file6767 Azure6768 #copy_to6769 copies the file6770 #authenticated_url6771 has an authenticated URL6772 with custom expire_at6773 properly sets expires param6774 with content_disposition option6775 passes options6776projects/notes/_more_actions_dropdown6777 shows Report abuse to admin button if not editable and not current users comment6778 does not show the More actions button if not editable and current users comment6779 shows Report abuse and Delete buttons if editable and not current users comment6780 shows Delete button if editable and current users comment6781Types::ReleaseType6782 is expected to require graphql authorizations :read_release6783 has the expected fields6784 assets field6785 is expected to have graphql type Types::ReleaseAssetsType6786 links field6787 is expected to have graphql type Types::ReleaseLinksType6788 milestones field6789 is expected to have graphql type #<Class:0x00007f01374200b0>6790 evidences field6791 is expected to have graphql type #<Class:0x00007f0137404478>6792 author field6793 is expected to have graphql type Types::UserType6794 commit field6795 is expected to have graphql type Types::CommitType6796Ci::JobArtifactsFinder6797 #execute6798 with empty params6799 returns all artifacts belonging to the project6800 with sort param6801 sorts the artifacts6802Gitlab::Ci::Reports::Sbom::Report6803 #valid?6804 when there are no errors6805 is expected to be valid6806 when report contains errors6807 is expected not to be valid6808 #add_error6809 appends errors to a list6810 #set_source6811 stores the source6812 #add_component6813 appends components to a list6814Packages::Maven::CreatePackageService6815 #execute6816 with version6817 creates a new package with metadatum6818 behaves like assigns the package creator6819 assigns the package creator6820 without version6821 creates a new package with metadatum6822 behaves like assigns the package creator6823 assigns the package creator6824 path is missing6825 raises an error6826Metrics::Dashboard::ClusterMetricsEmbedService6827 .valid_params?6828 is expected to be truthy6829 returns false with missing param6830 returns false with missing param6831 returns false with missing param6832 returns false with missing param6833 returns false with missing param6834 missing all params6835 is expected to be falsy6836 #get_dashboard6837 returns one panel6838 returns panel by title and y_label6839 behaves like valid embedded dashboard service response6840 behaves like valid dashboard service response for schema6841 returns a json representation of the dashboard6842 behaves like caches the unprocessed dashboard for subsequent calls6843 is expected to receive load_raw!(*(any args)) 1 time6844DestroyPagesDeploymentsWorker6845 doesn't fail if project is already removed6846 can be called without last_deployment_id6847 calls destroy service6848BlobViewer::GitlabCiYml6849 #validation_message6850 calls prepare! on the viewer6851 when the configuration is valid6852 returns nil6853 when the configuration is invalid6854 returns the error message6855Gitlab::Seeder6856 Namespace6857OK6858 has not_mass_generated scope6859OK6860 includes NamespaceSeed module6861 .quiet6862OK6863 disables database logging6864OK6865 disables mail deliveries6866OK6867 disables new note notifications6868 .log_message6869 prepends timestamp to the logged message6870Gitlab::Slug::Environment6871 # order random6872 #generate6873 name: "staging-12345678901234567", slug: "staging-123456789-q517sa"6874 is expected to eq "staging-123456789-q517sa"6875 name: "9-staging-123456789012345", slug: "env-9-staging-123-q517sa"6876 is expected to eq "env-9-staging-123-q517sa"6877 name: "staging-1234567890123456", slug: "staging-1234567890123456"6878 is expected to eq "staging-1234567890123456"6879 name: "staging-1234567890123456-", slug: "staging-123456789-q517sa"6880 is expected to eq "staging-123456789-q517sa"6881 name: "production", slug: "production"6882 is expected to eq "production"6883 name: "PRODUCTION", slug: "production-q517sa"6884 is expected to eq "production-q517sa"6885 name: "review/1-foo", slug: "review-1-foo-q517sa"6886 is expected to eq "review-1-foo-q517sa"6887 name: "1-foo", slug: "env-1-foo-q517sa"6888 is expected to eq "env-1-foo-q517sa"6889 name: "1/foo", slug: "env-1-foo-q517sa"6890 is expected to eq "env-1-foo-q517sa"6891 name: "foo-", slug: "foo"6892 is expected to eq "foo"6893 name: "foo--bar", slug: "foo-bar-q517sa"6894 is expected to eq "foo-bar-q517sa"6895 name: "foo**bar", slug: "foo-bar-q517sa"6896 is expected to eq "foo-bar-q517sa"6897 name: "*-foo", slug: "env-foo-q517sa"6898 is expected to eq "env-foo-q517sa"6899 name: "staging-12345678-", slug: "staging-12345678"6900 is expected to eq "staging-12345678"6901 name: "staging-12345678-01234567", slug: "staging-12345678-q517sa"6902 is expected to eq "staging-12345678-q517sa"6903 name: "", slug: "env-q517sa"6904 is expected to eq "env-q517sa"6905 name: nil, slug: "env-q517sa"6906 is expected to eq "env-q517sa"6907MergeRequestContextCommit6908 associations6909 is expected to belong to merge_request required: false6910 is expected to have many diff_files class_name => MergeRequestContextCommitDiffFile6911 .delete_bulk6912 deletes context commits for given commit sha's and returns the commit6913 doesn't delete context commits when commit sha's are not passed6914AccessTokensHelper6915 #scope_description6916 prefix: :personal_access_token, description_location: [:doorkeeper, :scope_desc]6917 is expected to eq [:doorkeeper, :scope_desc]6918 prefix: :project_access_token, description_location: [:doorkeeper, :project_access_token_scope_desc]6919 is expected to eq [:doorkeeper, :project_access_token_scope_desc]6920 #tokens_app_data6921 returns expected json6922 #expires_at_field_data6923 returns expected hash6924Clusters::Agents::Authorizations::CiAccess::GroupAuthorization6925 # order random6926 is expected to belong to group class_name => ::Group required: true6927 is expected to belong to agent class_name => Clusters::Agent required: true6928 is expected to validate jsonb schema "config"6929 #config_project6930 is expected to eq #<Project id:951 namespace1384/project-1447>>6931Users::UpdateCanonicalEmailService6932 #initialize6933 unsuccessful6934 raises an error if there is no user6935 raises an error if the object is not a User6936 when a user is provided6937 does not error6938 #canonicalize_email6939 when the email domain is included6940 strips out any . or anything after + in the agent for included domains6941 raw_email: "user@includeddomain.com", expected_result: "user@includeddomain.com"6942 is expected to eq "user@includeddomain.com"6943 raw_email: "u.s.e.r@includeddomain.com", expected_result: "user@includeddomain.com"6944 is expected to eq "user@includeddomain.com"6945 raw_email: "user+123@includeddomain.com", expected_result: "user@includeddomain.com"6946 is expected to eq "user@includeddomain.com"6947 raw_email: "us.er+123@includeddomain.com", expected_result: "user@includeddomain.com"6948 is expected to eq "user@includeddomain.com"6949 when the user has an existing canonical email6950 updates the user canonical email record6951 when the email domain is not included6952 returns nil6953 destroys any existing UserCanonicalEmail record6954 when the user email is not processable6955 with6956 is expected to be nil6957 preserves any existing record6958 with nonsense6959 is expected to be nil6960 preserves any existing record6961Ci::ArtifactBlob6962 #id6963 returns a hash of the path6964 #name6965 returns the entry name6966 #path6967 returns the entry path6968 #size6969 returns the entry size6970 #mode6971 returns the entry mode6972 #external_storage6973 returns :build_artifact6974 #external_url6975 .gif extension6976 returns nil6977 txt extensions6978 returns a URL6979 when port is configured6980 returns an URL with port number6981 #external_link?6982 gif extensions6983 returns false6984 txt extensions6985 returns true6986Gitlab::Import::SetAsyncJid6987 .set_jid6988 sets the JID in Redis6989 updates the import JID of the project6990Gitlab::Cache::Client6991 # order random6992 Methods6993 #read6994 when key does not exist6995 returns nil6996 increments cache miss6997 when key exists6998 returns key value6999 increments cache hit7000 #write7001 calls backend "#write" method with the expected key7002 #exist?7003 calls backend "#exist?" method with the expected key7004 #delete7005 calls backend "#delete" method with the expected key7006 #fetch7007 creates key in the specific format7008 yields the block once7009 when key already exists7010 does not redefine the value7011 increments a cache hit7012 does not measure the cache generation time7013 when key does not exist7014 caches the key7015 increments a cache miss7016 measures the cache generation time7017 .build_with_metadata7018 builds a cache client with metrics support7019Gitlab::Usage::Metrics::Instrumentations::CountImportedProjectsMetric7020 with import_type gitea7021 with all time frame7022 behaves like a correct instrumented metric value and query7023 behaves like a correct instrumented metric value7024 has correct value7025 behaves like a correct instrumented metric query7026 has correct generate query7027 for 28d time frame7028 behaves like a correct instrumented metric value and query7029 behaves like a correct instrumented metric value7030 has correct value7031 behaves like a correct instrumented metric query7032 has correct generate query7033 with import_type bitbucket7034 with all time frame7035 behaves like a correct instrumented metric value and query7036 behaves like a correct instrumented metric value7037 has correct value7038 behaves like a correct instrumented metric query7039 has correct generate query7040 for 28d time frame7041 behaves like a correct instrumented metric value and query7042 behaves like a correct instrumented metric value7043 has correct value7044 behaves like a correct instrumented metric query7045 has correct generate query7046MergeRequest::MetricsFinder7047 when target project is missing7048 is expected to be empty7049 when the user is not part of the project7050 is expected to be empty7051 when user is part of the project7052 returns merge request records7053 excludes not merged records7054 when only merged_before is given7055 is expected to eq [#<MergeRequest::Metrics merge_request_id: 134, latest_build_started_at: nil, latest_build_finished_a..., added_lines: nil, removed_lines: nil, target_project_id: 962, id: 188, first_contribution: false>]7056 when only merged_after is given7057 is expected to eq [#<MergeRequest::Metrics merge_request_id: 134, latest_build_started_at: nil, latest_build_finished_a..., added_lines: nil, removed_lines: nil, target_project_id: 962, id: 188, first_contribution: false>]7058 when no records matching the date range7059 is expected to be empty7060API::Entities::Clusters::Agents::Authorizations::CiAccess7061 # order random7062 project authorization7063 includes shared fields7064 group authorization7065 includes shared fields7066 implicit authorization7067 includes shared fields7068WebIdeTerminalSerializer7069 represents WebIdeTerminalEntity entities7070 accepts WebIdeTerminal as a resource7071 when resource is a build7072 transforms it into a WebIdeTerminal resource7073RuboCop::Cop::RSpec::SharedGroupsMetadata7074 # order random7075 does not flag if feature category is missing7076 with symbol metadata7077 flags metadata in shared example7078 flags metadata in shared context7079 with hash metadata7080 flags metadata in shared example7081 flags metadata in shared context7082ImportExportUploader7083 local store7084 #move_to_cache7085 returns false7086 with project export7087 returns true7088 #move_to_store7089 returns true7090 object_store is REMOTE7091 behaves like builds correct paths7092 #store_dir7093 behaves like matches the method pattern7094 is expected to match /import_export_upload\/import_file\//7095 #cache_dir7096 behaves like matches the method pattern7097 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)7098 #work_dir7099 behaves like matches the method pattern7100 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)7101 #upload_path7102 behaves like matches the method pattern7103 is expected to match /import_export_upload\/import_file\//7104 #relative_path7105 is relative (PENDING: Path not set, skipping.)7106 .absolute_path7107 behaves like matches the method pattern7108 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)7109 .base_dir7110 behaves like matches the method pattern7111 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)7112 path traversal exploits7113 throws an exception7114 #move_to_cache7115 returns false7116 with project export7117 returns true7118 #move_to_store7119 returns false7120 with an export file directly uploaded7121 cleans up cached file7122 .workhorse_local_upload_path7123 returns path that includes uploads dir7124Gitlab::Highlight7125 language provided7126 sets correct lexer7127 #highlight7128 highlights7129 returns plain version for unknown lexer context7130 highlights multi-line comments7131 links dependencies via DependencyLinker7132 when content is too long to be highlighted7133 returns plain version for long content7134 diff highlighting7135 highlights each line properly7136 when start line number is set7137 highlights each line properly7138 with CRLF7139 strips extra LFs7140 timeout7141 falls back to plaintext on timeout7142Gitlab::BufferedIo7143 #readuntil7144 does not raise a timeout error7145 when the response contains infinitely long headers7146 raises a timeout error7147 when not passing start_time7148 raises a timeout error7149Projects::RepositoryLanguagesService7150 when detected_repository_languages flag is set7151 when a project is without detected programming languages7152 schedules a worker and returns the empty result7153 when a project is with detected programming languages7154 does not schedule a worker and returns the detected languages7155 sets detected_repository_languages flag7156 when detected_repository_languages flag is not set7157 returns repository languages7158Gitlab::HTTPConnectionAdapter7159 #connection7160 when local requests are allowed7161 sets up the connection7162 when local requests are not allowed7163 sets up the connection7164 when it is a request to local network7165 raises error7166 when local request allowed7167 sets up the connection7168 when it is a request to local address7169 raises error7170 when local request allowed7171 sets up the connection7172 when port different from URL scheme is used7173 sets up the addr_port accordingly7174 when DNS rebinding protection is disabled7175 sets up the connection7176 when proxy is enabled7177 proxy stays configured7178 when no_proxy matches the request7179 proxy is disabled7180 when no_proxy does not match the request7181 proxy stays configured7182 when URL scheme is not HTTP/HTTPS7183 raises error7184Gitlab::Email::Hook::DeliveryMetricsObserver7185 when email has been delivered7186 increments both email delivery metrics7187 when email has not been delivered due to an error7188 increments only delivery attempt metric7189Gitlab::ImportExport::RecursiveMergeFolders7190 # order random7191 .merge7192 merge folder and ignore symlinks7193 raises an error for invalid source path7194 raises an error for source path outside temp dir7195 raises an error for invalid target path7196Gitlab::SidekiqVersioning::Worker7197 .version7198 when called with an argument7199 sets the version option7200 when called without an argument7201 returns the version option7202 #job_version7203 when job_version is not set7204 returns latest version7205 when job_version is set7206 returns the set version7207Gitlab::Kubernetes::Deployment7208 #name7209 is expected to eq :selected7210 #labels7211 is expected to eq :selected7212 #outdated?7213 when outdated7214 is expected to be truthy7215 when up to date7216 is expected to be falsy7217 when ahead of latest7218 is expected to be falsy7219 #instances7220 when unnamed7221 returns all pods with generated names and pending7222 when number of pods is less than wanted replicas7223 returns not spawned pods as pending and unknown and running7224 when outdated7225 returns all instances as named and waiting7226 with pods of each type7227 returns all instances7228 with track label7229 when marked as stable7230 returns all instances7231 when marked as canary7232 returns all instances7233Database config initializer7234 when main database connection7235 behaves like does not change connection attributes7236 retains the correct database name for connection7237 does not overwrite custom pool settings7238 when ci database connection7239 behaves like does not change connection attributes7240 retains the correct database name for connection7241 does not overwrite custom pool settings7242help/instance_configuration7243 General Sections:7244 has links to several sections7245 has several sections7246Gitlab::Database::Migrations::Instrumentation7247 #observe7248 executes the given block7249 behavior with observers7250 instantiates observer with observation7251 calls #before, #after, #record on given observers7252 ignores errors coming from observers #before7253 ignores errors coming from observers #after7254 ignores errors coming from observers #record7255 on successful execution7256 records a valid observation7257 transforms observation to expected json7258 upon failure7259 exception: StandardError, error_message: "something went wrong"7260 retrieving observations7261 records a valid observation7262 transforms observation to expected json7263 exception: ActiveRecord::StatementTimeout, error_message: "timeout"7264 retrieving observations7265 records a valid observation7266 transforms observation to expected json7267 sequence of migrations with failures7268 records observations for all migrations7269ObjectStorage::DeleteStaleDirectUploadsWorker7270 # order random7271 #perform7272 executes a service7273 behaves like an idempotent worker7274 is labeled as idempotent7275 performs multiple times sequentially without raising an exception7276 only deletes stale entries7277 when stale_pending_direct_uploads_cleaner feature flag is disabled7278 does nothing7279Packages::CreatePackageFileService7280 #execute7281 with valid params7282 creates a new package file7283 behaves like assigns build to package file7284 with build info7285 assigns the pipeline to the package7286 creates a new PackageFileBuildInfo record7287 file is missing7288 raises an error7289Mutations::Clusters::AgentTokens::Create7290 is expected to require graphql authorizations :create_cluster7291 #resolve7292 without token permissions7293 raises an error if the resource is not accessible to the user7294 with user permissions7295 creates a new token7296 returns token information7297 when the active agent tokens limit is reached7298 raises an error7299Ci::DailyBuildGroupReportResultSerializer7300 #to_json7301 returns an array of group results7302Types::Ci::ProjectVariableType7303 is expected to contain exactly Types::Ci::VariableInterface7304 is expected to have graphql fields :environment_scope, :masked, and :protected7305Resolvers::DesignManagement::DesignAtVersionResolver7306 #resolve7307 returns the specified design7308 when the user cannot see designs7309 generates ResourceNotAvailable7310 the ID belongs to a design on another issue7311 generates ResourceNotAvailable7312 the current object does not constrain the issue7313 returns the object7314RuboCop::Cop::Gitlab::RSpec::AvoidSetup7315 # order random7316 when calling let_it_be7317 registers an offense7318 without readability issues7319 does not register an offense7320Gitlab::Seeders::Ci::DailyBuildGroupReportResult7321 #seed7322 creates daily build results for the project7323 matches project data with last report7324 does not raise error on RecordNotUnique7325RuboCop::Cop::Migration::PreventSingleStatementWithDisableDdlTransaction7326 # order random7327 when outside of migration7328 registers no offense7329 when in migration7330 registers an offense when `disable_ddl_transaction!` is only for the :validate_foreign_key statement7331 registers no offense when `disable_ddl_transaction!` is used with more than one statement7332PurgeDependencyProxyCacheWorker7333 #perform7334 an admin user7335 when admin mode is enabled7336 is labeled as idempotent7337 performs multiple times sequentially without raising an exception7338 marks the blobs as pending_destruction and returns ok7339 when admin mode is disabled7340 behaves like not expiring blobs and manifests7341 does not expire blobs and manifests7342 a non-admin user7343 behaves like not expiring blobs and manifests7344 does not expire blobs and manifests7345 an invalid user id7346 behaves like not expiring blobs and manifests7347 does not expire blobs and manifests7348 an invalid group7349 behaves like not expiring blobs and manifests7350 does not expire blobs and manifests7351Gitlab::Email::Handler7352 .for7353 picks issue handler if there is no merge request prefix7354 picks merge request handler if there is merge request key7355 returns nil if no handler is found7356 returns nil if provided email is nil7357 key matches the reply_key of a notification7358 picks note handler7359 key matches the reply_key of a notification, along with an unsubscribe suffix7360 picks unsubscribe handler7361 new issue email7362 return new issue handler7363 a Service Desk email7364 uses the Service Desk handler7365 regexps are set properly7366 picks each handler at least once7367 can pick exactly one handler for each address7368NamespaceBasicEntity7369 #as_json7370 includes required fields7371WorkItems::Widgets::Labels7372 .type7373 is expected to eq :labels7374 .quick_action_params7375 is expected to include :add_label_ids, :remove_label_ids, and :label_ids7376 #type7377 is expected to eq :labels7378 #labels7379 is expected to eq #<ActiveRecord::Associations::CollectionProxy [#<ProjectLabel id:210 namespace1429/project-1492~210>]>7380 #allowScopedLabels7381 is expected to eq false7382Gitlab::Ci::Config::External::Mapper::LocationExpander7383 # order random7384 #process7385 when there are project files7386 returns expanded locations7387 when there are local files7388 returns expanded locations7389 when there are other files7390 returns the same location7391Gitlab::Git::RemoteMirror7392 #update7393 delegates to the Gitaly client7394 wraps gitaly errors7395layouts/group7396 # order random7397 with ability to invite members7398 is expected to have visible css ".js-invite-members-modal"7399 without ability to invite members7400 is expected not to have visible css ".js-invite-members-modal"7401Gitlab::Analytics::CycleAnalytics::Median7402 retruns nil when no results7403 returns median duration seconds as float7404GitlabScriptTagHelper7405 external script tag7406DEPRECATION WARNING: The asset "test.js" is not present in the asset pipeline.7407Falling back to an asset that may be in the public folder.7408This behavior is deprecated and will be removed.7409To bypass the asset pipeline and preserve this behavior,7410use the `skip_pipeline: true` option.7411 (called from javascript_include_tag at /builds/gitlab-org/gitlab/app/helpers/gitlab_script_tag_helper.rb:12)7412 returns a script tag with defer=true and a nonce7413DEPRECATION WARNING: The asset "test.js" is not present in the asset pipeline.7414Falling back to an asset that may be in the public folder.7415This behavior is deprecated and will be removed.7416To bypass the asset pipeline and preserve this behavior,7417use the `skip_pipeline: true` option.7418 (called from javascript_include_tag at /builds/gitlab-org/gitlab/app/helpers/gitlab_script_tag_helper.rb:12)7419 returns a script tag with defer=false and a nonce7420DEPRECATION WARNING: The asset "test.js" is not present in the asset pipeline.7421Falling back to an asset that may be in the public folder.7422This behavior is deprecated and will be removed.7423To bypass the asset pipeline and preserve this behavior,7424use the `skip_pipeline: true` option.7425 (called from javascript_include_tag at /builds/gitlab-org/gitlab/app/helpers/gitlab_script_tag_helper.rb:12)7426 returns a script tag with a nonce even nonce is set to nil7427 inline script tag7428 returns a script tag with a nonce using block syntax7429 returns a script tag with a nonce using block syntax with options7430 returns a script tag with a nonce using argument syntax7431 returns a script tag with a nonce using argument syntax with options7432 returns a script tag with a nonce using argument and block syntax with options7433 #preload_link_tag7434 returns a link tag with a nonce7435Ml::CandidatesCsvPresenter7436 # order random7437 .present7438 generates header row correctly7439 generates the first row correctly7440 generates the second row correctly7441PipelineTestReportBuilder7442 # order random7443 #test_report_for_pipeline7444 for previous pipeline7445[PipelineTestReportBuilder] Discovered previous failed pipeline (#1) for MR!1220157446[PipelineTestReportBuilder] 1 failed builds in test stage found...7447 fetches builds from pipeline related to MR7448 canonical pipeline7449 no previous pipeline7450 returns empty hash7451 no failed test builds7452[PipelineTestReportBuilder] Discovered previous failed pipeline (#1) for MR!1220157453[PipelineTestReportBuilder] 0 failed builds in test stage found...7454 returns a hash with an empty "suites" array7455 failed pipeline and failed test builds7456[PipelineTestReportBuilder] Discovered previous failed pipeline (#1) for MR!1220157457[PipelineTestReportBuilder] 1 failed builds in test stage found...7458 returns populated test list for suites7459 when receiving a server error7460 when response code is 4047461/builds/gitlab-org/gitlab/spec/scripts/pipeline_test_report_builder_spec.rb:163: warning: constant Net::HTTPServerException is deprecated7462[PipelineTestReportBuilder] Discovered previous failed pipeline (#1) for MR!1220157463/builds/gitlab-org/gitlab/scripts/pipeline_test_report_builder.rb:107: warning: constant Net::HTTPServerException is deprecated7464[PipelineTestReportBuilder] Artifacts not found. They may have expired. Skipping this build.7465[PipelineTestReportBuilder] 0 failed builds in test stage found...7466 continues without the missing reports7467 when response code is unexpected7468/builds/gitlab-org/gitlab/spec/scripts/pipeline_test_report_builder_spec.rb:163: warning: constant Net::HTTPServerException is deprecated7469[PipelineTestReportBuilder] Discovered previous failed pipeline (#1) for MR!1220157470/builds/gitlab-org/gitlab/scripts/pipeline_test_report_builder.rb:107: warning: constant Net::HTTPServerException is deprecated7471 raises HTTPServerException7472 for latest pipeline7473[PipelineTestReportBuilder] Discovered latest failed pipeline (#3) for MR!1220157474[PipelineTestReportBuilder] 1 failed builds in test stage found...7475 fetches builds from pipeline related to MR7476 #previous_pipeline7477 pipeline in a fork project7478 returns fork pipeline7479 pipeline in target project7480 returns failed pipeline7481Packages::Rubygems::DependencyResolverService7482 #execute7483 user without access7484 returns a service error7485 user with access7486 when no package is found7487 returns a service error7488 package without dependencies7489 returns an empty dependencies array7490 package with dependencies7491 returns a set of dependencies7492 package with multiple versions7493 returns a set of dependencies7494MergeRequestSidebarBasicEntity7495 #current_user7496 contains attributes related to the current user7497Packages::Composer::CacheUpdateWorker7498 #perform7499 is labeled as idempotent7500 performs multiple times sequentially without raising an exception7501 creating a package7502 does nothing7503 deleting a package7504 does nothing7505MergeRequests::CreateApprovalEventService7506 #execute7507 creates approve MR event7508Gitlab::Ci::Reports::Security::Locations::Sast7509 behaves like vulnerability location7510 #initialize7511 when all params are given7512 initializes an instance7513 param: :file_path7514 when param file_path is missing7515 raises an error7516 param: :start_line7517 when param start_line is missing7518 raises an error7519 #fingerprint7520 generates expected fingerprint7521 #fingerprint_path7522 generates expected fingerprint7523 #==7524 returns true when fingerprints are equal7525 returns false when fingerprints are different7526Gitlab::UrlBlockers::DomainAllowlistEntry7527 #initialize7528 initializes without port7529 initializes with port7530 #match?7531 matches when domain and port are equal7532 matches any port when port is nil7533 does not match when port is present but requested_port is nil7534 matches when port and requested_port are nil7535 does not match if domain is not equal7536Pages::VirtualDomain7537 #certificate and #key pair7538 returns nil if there is no domain provided7539 when Pages domain is provided7540 returns certificate and key from the provided domain7541 #lookup_paths7542 when there is pages domain provided7543 returns collection of projects pages lookup paths sorted by prefix in reverse7544 when there is trim_prefix provided7545 returns collection of projects pages lookup paths sorted by prefix in reverse7546 #cache_key7547 returns the cache key based in the given cache_control7548 returns nil when no cache_control is given7549Database::WithoutCheckConstraint7550 # order random7551 .without_check_constraint7552 with invalid table7553 raises exception7554 with invalid constraint name7555 raises exception7556 with constraint7557 removes inside block7558 restores outside block7559 when creating an invalid record7560 enables invalid record creation inside block7561 rolls back changes made within the block7562Gitlab::Database::HealthStatus::Signals7563 # order random7564 with Unknown signal it should only log and not stop7565 behaves like health status signal7566 #log_info?7567 returns the log signal7568 #stop?7569 returns the stop signal7570 with Stop signal it should stop and log7571 behaves like health status signal7572 #log_info?7573 returns the log signal7574 #stop?7575 returns the stop signal7576 with NotAvailable signal it should not stop and log7577 behaves like health status signal7578 #log_info?7579 returns the log signal7580 #stop?7581 returns the stop signal7582 with Normal signal it should not stop and log7583 behaves like health status signal7584 #log_info?7585 returns the log signal7586 #stop?7587 returns the stop signal7588Gitlab::I18n7589 .selectable_locales7590 does not return languages with default translation levels 60%7591 does not return languages with less than 100% translation levels7592 .locale=7593 sets the locale based on current user preferred language7594 .use_default_locale7595 resets the locale to the default language7596 .pluralisation_rule7597 when overridden7598 returns custom definition regardless7599projects/runners/_project_runners.html.haml7600 # order random7601 render7602 when create_runner_workflow_for_namespace is disabled7603 when project runner registration is allowed7604 enables the Remove project button for a project7605 when project runner registration is not allowed7606 does not enable the Remove project button for a project7607 when create_runner_workflow_for_namespace is enabled7608 when user can create project runner7609 renders the New project runner button7610 when user cannot create project runner7611 does not render the New project runner button7612Packages::Nuget::DependencyLinkMetadatum7613 relationships7614 is expected to belong to dependency_link required: false7615 validations7616 is expected to validate that :dependency_link cannot be empty/falsy7617 is expected to validate that :target_framework cannot be empty/falsy7618 #ensure_nuget_package_type7619 validates package of type nuget7620 validates package of type nuget with nil dependency_link7621Gitlab::SidekiqMiddleware::SizeLimiter::Client7622 #call7623 when the validator rejects the job7624 raises an exception when scheduling job with #perform_at7625 raises an exception when scheduling job with #perform_async7626 raises an exception when scheduling job with #perform_in7627 when the validator validates the job suscessfully7628 raises an exception when scheduling job with #perform_at7629 raises an exception when scheduling job with #perform_async7630 raises an exception when scheduling job with #perform_in7631X509SerialNumberAttribute7632 #x509_serial_number_attribute7633 when in non-production7634 when the table exists7635 defines a x509 serial number attribute for a binary column7636 raises ArgumentError when the column type is not :binary7637 when the table does not exist7638 allows the attribute to be added and issues a warning7639 when the column does not exist7640 allows the attribute to be added and issues a warning7641 when other execeptions are raised7642 logs and re-rasises the error7643 when in production7644 defines a x509 serial number attribute7645Gitlab::Memory::Watchdog::SidekiqEventReporter7646 # order random7647 #strikes_exceeded7648 delegates #strikes_exceeded with correct arguments7649 increment running jobs counter7650 delegations7651 is expected to delegate #started to the #event_reporter object7652 is expected to delegate #stopped to the #event_reporter object7653 is expected to delegate #threshold_violated to the #event_reporter object7654 is expected to delegate #logger to the #event_reporter object7655ErrorTracking::SentryClient7656 # order random7657 is expected to respond to #issue_details7658 is expected to respond to #issue_latest_event7659 is expected to respond to #projects7660 is expected to respond to #list_issues7661 is expected to respond to #repos7662 is expected to respond to #create_issue_link7663PushEventPayload7664 behaves like having unique enum values7665 has unique values in "action"7666 has unique values in "ref_type"7667 saving payloads7668 does not allow commit messages longer than 70 characters7669GroupAccessTokenSerializer7670 #represent7671 can render a single token7672 can render a collection of tokens7673PagesDomains::DeleteService7674 # order random7675 when the user has the required permissions7676 when it updates the domain successfully7677 deletes the domain and publishes a PagesDomainDeletedEvent7678 when the user does not have the required permissions7679 does not delete the pages domain and does not publish a PagesDomainDeletedEvent7680Gitlab::Kroki7681 .formats7682 enabled_formats: "", expected_formats: ["bytefield", "c4plantuml", "d2", "dbml", "diagramsnet", "ditaa", "erd", "graphviz", "nomnoml", "pikchr", "plantuml", "structurizr", "svgbob", "umlet", "vega", "vegalite", "wavedrom"]7683 returns the expected formats7684 enabled_formats: "blockdiag", expected_formats: ["bytefield", "c4plantuml", "d2", "dbml", "diagramsnet", "ditaa", "erd", "graphviz", "nomnoml", "pikchr", "plantuml", "structurizr", "svgbob", "umlet", "vega", "vegalite", "wavedrom", "actdiag", "blockdiag", "nwdiag", "packetdiag", "rackdiag", "seqdiag"]7685 returns the expected formats7686 enabled_formats: "bpmn", expected_formats: ["bytefield", "c4plantuml", "d2", "dbml", "diagramsnet", "ditaa", "erd", "graphviz", "nomnoml", "pikchr", "plantuml", "structurizr", "svgbob", "umlet", "vega", "vegalite", "wavedrom", "bpmn"]7687 returns the expected formats7688 enabled_formats: "excalidraw", expected_formats: ["bytefield", "c4plantuml", "d2", "dbml", "diagramsnet", "ditaa", "erd", "graphviz", "nomnoml", "pikchr", "plantuml", "structurizr", "svgbob", "umlet", "vega", "vegalite", "wavedrom", "excalidraw"]7689 returns the expected formats7690Gitlab::Metrics::Dashboard::Stages::VariableEndpointInserter7691 #transform!7692 when dashboard variables are present7693 assigns prometheus_endpoint_path to metric_label_values variable type7694 does not modify other variable types7695 when variable does not have the required series_selector7696 adds prometheus_endpoint_path without match parameter7697 when no variables are present7698 does not fail7699 with no environment7700 raises error7701Groups::SettingsHelper7702 #group_settings_confirm_modal_data7703 prevent_delete_response: true, is_button_disabled: "true", form_value_id: nil7704 returns expected parameters7705 prevent_delete_response: true, is_button_disabled: "true", form_value_id: "fake_form_id"7706 returns expected parameters7707 prevent_delete_response: false, is_button_disabled: "false", form_value_id: nil7708 returns expected parameters7709 prevent_delete_response: false, is_button_disabled: "false", form_value_id: "fake_form_id"7710 returns expected parameters7711MergeRequests::Mergeability::CheckBaseService7712 #merge_request7713 returns the merge_request7714 #params7715 returns the params7716 #skip?7717 raises NotImplementedError7718 #cacheable?7719 raises NotImplementedError7720 #cache_key?7721 raises NotImplementedError7722Banzai::FilterArray7723 #insert_after7724 inserts an element after a provided element7725 inserts an element at the end when the provided element does not exist7726 #insert_before7727 inserts an element before a provided element7728 inserts an element at the beginning when the provided element does not exist7729admin/application_settings/ci_cd.html.haml7730 CI CD Runners7731 has the setting section7732 renders the correct setting section content7733API::Entities::DeployKey7734 #as_json7735 includes basic fields7736 when in FIPS mode7737 is expected not to have key :fingerprint7738Gitlab::ImportExport::VersionChecker7739 bundle a project Git repo7740 returns true if Import/Export have the same version7741 newer version7742 returns false if export version is newer7743 shows the correct error message7744 version file access check7745 does not read a symlink7746RuboCop::Cop::RSpec::FactoryBot::AvoidCreate7747 # order random7748 behaves like an offensive factory call7749 registers an offense for create(:user)7750 registers an offense for create_list(:user)7751 behaves like an offensive factory call7752 registers an offense for FactoryBot.create(:user)7753 registers an offense for FactoryBot.create_list(:user)7754Integrations::HasWebHook7755 # order random7756 when integration responds to enable_ssl_verification7757 is expected to eq true7758 when hook_url and url_variables are not implemented7759 is expected to raise NotImplementedError7760 is expected to raise NotImplementedError7761 when integration does not respond to enable_ssl_verification7762 is expected to eq true7763Gitlab::UsageDataCounters::JetBrainsPluginActivityUniqueCounter7764 when tracking a jetbrains api request7765 behaves like a request from an extension7766 tracks when the user agent is matching7767 does not track when the user agent is not matching7768 does not track if user agent is not present7769 does not track if user is not present7770ExportCsv::MapExportFieldsService7771 # order random7772 #invalid_fields7773 returns an array containing invalid fields7774 #execute7775 returns a hash with selected fields only7776 when the fields collection is empty7777 returns a hash with all fields7778 when fields collection includes invalid fields7779 returns a hash with valid selected fields only7780Gitlab::GithubGistsImport::FinishImportWorker7781 # order random7782 .sidekiq_retries_exhausted7783 sets status to failed7784 #perform7785 when there are no remaining jobs7786 marks import status as finished7787 when there are remaining jobs7788 reschedules the worker7789 when some gists were failed to import7790 sends an email to user7791projects/packages/packages/index.html.haml7792 # order random7793 renders vue entrypoint7794 settings path7795 without permission sets empty settings path7796 with permission sets project settings path7797Gitlab::GithubImport::Stage::ImportPullRequestsMergedByWorker7798 #import7799 imports all the pull requests7800Types::CustomEmojiType7801 is expected to eq "CustomEmoji"7802 is expected to require graphql authorizations :read_custom_emoji7803 is expected to have graphql fields :id, :name, :url, and :external7804Resolvers::EchoResolver7805 is expected to have non-null GraphQL type String7806 #resolve7807 echoes text and username7808 echoes text and nil as username7809Gitlab::SubscriptionPortal7810 class methods7811 method_name: :payment_validation_form_id, result: "payment_method_validation"7812 is expected to eq "payment_method_validation"7813 method_name: :registration_validation_form_id, result: "cc_registration_validation"7814 is expected to eq "cc_registration_validation"7815 constants7816 constant_name: "REGISTRATION_VALIDATION_FORM_ID", result: "cc_registration_validation"7817 is expected to eq "cc_registration_validation"7818Gitlab::Instrumentation::RateLimitingGates7819 .gates7820 returns an empty array when no gates are tracked7821 returns all gates used in the request7822 deduplicates its results7823 .payload7824 returns the gates in a hash7825API::Helpers::ProjectStatsRefreshConflictsHelpers7826 #reject_if_build_artifacts_size_refreshing!7827 when project is undergoing stats refresh7828 logs and returns a 409 conflict error7829 when project is not undergoing stats refresh7830 does nothing7831RuboCop::Cop::Database::EstablishConnection7832 # order random7833 flags the use of ActiveRecord::Base.establish_connection7834 flags the use of SomeModel.establish_connection7835 flags the use of ActiveRecord::Base.establish_connection with arguments7836RuboCop::Cop::SidekiqRedisCall7837 # order random7838 flags the use of Sidekiq.redis in multi-line blocks7839 flags the use of Sidekiq.redis in single-line blocks7840 flags any use of Sidekiq.redis even without blocks7841errors/omniauth_error7842 renders template7843Gitlab::Usage::Metrics::Instrumentations::CountCiRunnersGroupTypeActiveOnlineMetric7844 # order random7845 behaves like a correct instrumented metric value7846 has correct value7847Projects::IncidentsHelper7848 # order random7849 #incidents_data7850 when user can create incidents7851 returns frontend configuration7852 when user cannot create incidents7853 returns frontend configuration7854Gitlab::Import::DatabaseHelpers7855 .insert_and_return_id7856 returns the ID returned by the query7857Gitlab::Usage::Metrics::Instrumentations::SnowplowConfiguredToGitlabCollectorMetric7858 for collector_hostname option7859 collector_hostname: "snowplow.trx.gitlab.net", expected_value: true7860 behaves like a correct instrumented metric value7861 has correct value7862 collector_hostname: "foo.bar.something.net", expected_value: false7863 behaves like a correct instrumented metric value7864 has correct value7865Packages::Rpm::RepositoryMetadata::BuildFilelistXmlService7866 # order random7867 #execute7868 adds all file nodes7869 setting type attribute7870 when all files are directories7871 set dir type attribute for directories only7872Types::ProjectMemberRelationEnum7873 is expected to eq "ProjectMemberRelation"7874 exposes all the existing project member relation type values7875Types::Projects::TopicType7876 is expected to eq "Topic"7877 is expected to have graphql fields :id, :name, :title, :description, :description_html, and :avatar_url7878Sidebars::Groups::SuperSidebarMenus::BuildMenu7879 # order random7880 defines list of NilMenuItem placeholders7881 has title and sprite_icon7882API::Entities::PlanLimit7883 exposes correct attributes7884 does not expose id and plan_id7885RDoc segfault patch fix7886 RDoc::Markup::ToHtml7887 #parseable?7888 returns false7889 RDoc::Markup::Verbatim7890 ruby?7891 returns false7892Types::AlertManagement::IntegrationType7893 is expected to eq "AlertManagementIntegration"7894 exposes the expected fields7895Backup::Task7896 #dump7897 must be implemented by the subclass7898 #restore7899 must be implemented by the subclass7900EntityRequest7901 methods created7902 defines accessible attributes7903 raises error when attribute is not defined7904PersonalAccessTokenEntity7905 has the correct attributes7906Packages::Rpm::RepositoryMetadata::BuildPrimaryXmlService7907 # order random7908 #execute7909 adds node with required_text_only_attributes7910AccessibilityErrorEntity7911 #as_json7912 when accessibility contains an error7913 contains correct accessibility error details7914Gitlab::SidekiqMiddleware::InstrumentationLogger7915 #call7916 merges all instrumentation data in the job7917Tooling::MergeRequest7918 .for7919 fetches merge request for local branch in the given GitLab project path7920circuitbox7921 # order random7922 configures Circuitbox7923RuboCop::Cop::Gitlab::AvoidUploadedFileFromParams7924 # order random7925 when using UploadedFile.from_params7926 flags its call7927Resolvers::MetadataResolver7928 #resolve7929 returns version and revision7930Tooling::Crystalball::CoverageLinesStrategy7931 #after_register7932 starts coverage7933Gitlab::Database::SchemaValidation::Validators::MissingTables7934 # order random7935 returns table inconsistencies7936Spam::Concerns::HasSpamActionResponseFields7937 #with_spam_action_response_fields7938 merges in spam action fields from spammable7939InstanceMetadata7940 has the correct properties7941MetricImageUploader7942 .workhorse_local_upload_path7943 returns path that includes uploads dir7944Knapsack report was generated. Preview:7945{7946 "spec/lib/gitlab/ci/templates/auto_devops_gitlab_ci_yaml_spec.rb": 275.143314601,7947 "spec/services/members/destroy_service_spec.rb": 155.35306257600007,7948 "spec/lib/gitlab/usage_data_counters/ci_template_unique_counter_spec.rb": 27.687720731000013,7949 "spec/services/issues/close_service_spec.rb": 73.20726425299995,7950 "spec/services/issues/move_service_spec.rb": 70.59356058200001,7951 "spec/services/notes/update_service_spec.rb": 77.85897149699997,7952 "spec/lib/gitlab/import_export/project/tree_saver_spec.rb": 45.851565574000006,7953 "spec/services/boards/issues/move_service_spec.rb": 53.559804190000136,7954 "spec/lib/gitlab/user_access_spec.rb": 43.710128952000105,7955 "spec/presenters/project_presenter_spec.rb": 24.967118133999975,7956 "spec/finders/branches_finder_spec.rb": 29.96569805399986,7957 "spec/finders/personal_access_tokens_finder_spec.rb": 28.366628601000002,7958 "spec/policies/namespace/root_storage_statistics_policy_spec.rb": 13.883226272000002,7959 "spec/services/files/multi_service_spec.rb": 21.456942944000048,7960 "spec/presenters/ci/pipeline_presenter_spec.rb": 14.183819547999974,7961 "spec/models/ability_spec.rb": 16.65201240600004,7962 "spec/policies/packages/policies/project_policy_spec.rb": 8.563029898999957,7963 "spec/graphql/mutations/merge_requests/accept_spec.rb": 18.343599778999987,7964 "spec/lib/gitlab/gitaly_client/operation_service_spec.rb": 4.946405433999871,7965 "spec/helpers/notes_helper_spec.rb": 10.699045914999942,7966 "spec/services/projects/update_pages_service_spec.rb": 11.430439061000015,7967 "spec/services/resource_events/change_state_service_spec.rb": 9.94409143300004,7968 "spec/models/integrations/discord_spec.rb": 8.613711512000009,7969 "spec/services/labels/available_labels_service_spec.rb": 13.699863412000013,7970 "spec/lib/gitlab/path_regex_spec.rb": 4.143230799999856,7971 "spec/lib/gitlab/ci/ansi2html_spec.rb": 2.0642407209998055,7972 "spec/services/merge_requests/update_reviewers_service_spec.rb": 11.436736009000015,7973 "spec/lib/gitlab/suggestions/suggestion_set_spec.rb": 9.655761986000016,7974 "spec/lib/gitlab/diff/position_tracer/image_strategy_spec.rb": 10.904772700999956,7975 "spec/lib/gitlab/auth/ldap/person_spec.rb": 2.2216774369999257,7976 "spec/lib/gitlab/usage_data_counters/package_event_counter_spec.rb": 2.6048836089998986,7977 "spec/workers/packages/nuget/extraction_worker_spec.rb": 6.409807909999927,7978 "spec/lib/gitlab/slash_commands/command_spec.rb": 11.950433163999833,7979 "spec/lib/gitlab/metrics/rails_slis_spec.rb": 9.962611739000067,7980 "spec/services/admin/abuse_report_update_service_spec.rb": 5.142737862999866,7981 "spec/serializers/stage_entity_spec.rb": 8.53451502400003,7982 "spec/finders/users_finder_spec.rb": 3.3984014610000486,7983 "spec/services/milestones/promote_service_spec.rb": 9.012830958999984,7984 "spec/lib/gitlab/sidekiq_middleware/client_metrics_spec.rb": 1.4906908049999856,7985 "spec/lib/gitlab/import_export/lfs_restorer_spec.rb": 4.929191266000089,7986 "spec/policies/design_management/design_policy_spec.rb": 3.99345031200005,7987 "spec/helpers/dropdowns_helper_spec.rb": 2.1894520379998994,7988 "spec/lib/gitlab/shell_spec.rb": 4.132653932000039,7989 "spec/serializers/diff_file_entity_spec.rb": 6.404587918000061,7990 "spec/helpers/releases_helper_spec.rb": 4.73769490299992,7991 "spec/models/fork_network_spec.rb": 6.452621320999924,7992 "spec/services/ci/pipeline_artifacts/coverage_report_service_spec.rb": 4.415071979999993,7993 "spec/lib/gitlab/diff/file_collection/compare_spec.rb": 6.294475703999979,7994 "spec/lib/sidebars/projects/menus/infrastructure_menu_spec.rb": 2.8039355179998893,7995 "spec/lib/gitlab/database/count_spec.rb": 5.198588114999893,7996 "spec/models/concerns/sortable_spec.rb": 2.332208457000206,7997 "spec/models/work_items/resource_link_event_spec.rb": 3.813079339000069,7998 "spec/views/shared/_label_row.html.haml_spec.rb": 2.7812326109999503,7999 "spec/lib/gitlab/ci/pipeline/chain/validate/repository_spec.rb": 3.4711439860000155,8000 "spec/models/ci/runner_namespace_spec.rb": 3.532456153000112,8001 "spec/initializers/hangouts_chat_http_override_spec.rb": 1.8473656090000077,8002 "spec/uploaders/packages/composer/cache_uploader_spec.rb": 2.8980413419999422,8003 "spec/services/merge_requests/add_context_service_spec.rb": 6.140369792999991,8004 "spec/lib/gitlab/ci/pipeline/chain/build_spec.rb": 2.0249981320000643,8005 "spec/support_specs/helpers/html_escaped_helpers_spec.rb": 1.1688267819999965,8006 "spec/lib/gitlab/ci/templates/Jobs/code_quality_gitlab_ci_yaml_spec.rb": 2.9265403899999,8007 "spec/models/integrations/packagist_spec.rb": 2.6364569460001803,8008 "spec/lib/gitlab/ci/config/external/file/component_spec.rb": 2.0692531890001646,8009 "spec/lib/gitlab/github_import/parallel_scheduling_spec.rb": 1.4155215089999729,8010 "spec/finders/concerns/finder_with_group_hierarchy_spec.rb": 3.1481744790000903,8011 "spec/graphql/mutations/boards/issues/issue_move_list_spec.rb": 2.195846816999847,8012 "spec/services/ci/create_pipeline_service/evaluate_runner_tags_spec.rb": 3.741162153999994,8013 "spec/policies/upload_policy_spec.rb": 1.9947791049999068,8014 "spec/services/packages/debian/generate_distribution_key_service_spec.rb": 3.651879613000119,8015 "spec/initializers/direct_upload_support_spec.rb": 1.1828816009999628,8016 "spec/lib/gitlab/usage/metrics/aggregates/aggregate_spec.rb": 0.9419420330000321,8017 "spec/models/projects/forks/details_spec.rb": 3.8998138700001164,8018 "spec/lib/gitlab/database/async_indexes/postgres_async_index_spec.rb": 0.8356837420001284,8019 "spec/services/packages/update_package_file_service_spec.rb": 3.6360120849999475,8020 "spec/rubocop/cop/static_translation_definition_spec.rb": 1.208417567999959,8021 "spec/lib/gitlab/database/type/indifferent_jsonb_spec.rb": 0.8459534409998923,8022 "spec/finders/personal_projects_finder_spec.rb": 3.73924438500012,8023 "spec/lib/gitlab/popen/runner_spec.rb": 0.7423540519998824,8024 "spec/lib/gitlab/ci/build/step_spec.rb": 3.9078393190000043,8025 "spec/lib/gitlab/usage/metrics/instrumentations/generic_metric_spec.rb": 1.0440459030000966,8026 "spec/tasks/gitlab/dependency_proxy/migrate_rake_spec.rb": 3.076623642999948,8027 "spec/lib/bulk_imports/common/transformers/user_reference_transformer_spec.rb": 1.2340747289999854,8028 "spec/lib/generators/gitlab/usage_metric_generator_spec.rb": 0.6081192159999773,8029 "spec/services/concerns/exclusive_lease_guard_spec.rb": 0.5734268879998581,8030 "spec/graphql/mutations/boards/lists/create_spec.rb": 1.0344984040000327,8031 "spec/lib/gitlab/web_hooks/rate_limiter_spec.rb": 2.392173875000026,8032 "spec/lib/gitlab/spamcheck/client_spec.rb": 1.8110771880001266,8033 "spec/services/ci/daily_build_group_report_result_service_spec.rb": 1.8686956330000157,8034 "spec/lib/json_web_token/hmac_token_spec.rb": 0.8688852970001335,8035 "spec/lib/gitlab/pages/virtual_host_finder_spec.rb": 1.400820647999808,8036 "spec/finders/resource_milestone_event_finder_spec.rb": 2.122690315,8037 "spec/lib/gitlab/database/shared_model_spec.rb": 0.4712904549999166,8038 "spec/views/projects/_files.html.haml_spec.rb": 1.0588557720000153,8039 "spec/workers/concerns/gitlab/github_import/stage_methods_spec.rb": 1.2289443099998607,8040 "spec/lib/atlassian/jira_issue_key_extractors/branch_spec.rb": 1.3331788729999516,8041 "spec/models/label_priority_spec.rb": 1.8280850859998736,8042 "spec/services/integrations/propagate_service_spec.rb": 2.885368797999945,8043 "spec/tasks/admin_mode_spec.rb": 2.30508179200001,8044 "spec/lib/gitlab/kubernetes/kubectl_cmd_spec.rb": 0.47203373499996815,8045 "spec/lib/gitlab/ci/status/success_spec.rb": 0.4339903879999838,8046 "spec/tasks/rubocop_rake_spec.rb": 5.848186021999936,8047 "spec/lib/gitlab/database/schema_validation/structure_sql_spec.rb": 0.5073798230000648,8048 "spec/workers/onboarding/issue_created_worker_spec.rb": 0.7238385470000139,8049 "spec/lib/gitlab/ci/artifacts/logger_spec.rb": 2.1232962839999345,8050 "spec/tasks/gitlab/lfs/check_rake_spec.rb": 2.0981985169999007,8051 "spec/workers/object_pool/create_worker_spec.rb": 3.4060391909999908,8052 "spec/services/packages/go/create_package_service_spec.rb": 2.125305684000068,8053 "spec/lib/gitlab/word_diff/line_processor_spec.rb": 0.35245679400009067,8054 "spec/presenters/ci/variable_presenter_spec.rb": 2.7729464779999944,8055 "spec/lib/gitlab/database/migrations/lock_retry_mixin_spec.rb": 0.5048758929999622,8056 "spec/lib/gitlab/ci/config/extendable/entry_spec.rb": 1.0176716249998208,8057 "spec/lib/gitlab/database/migrations/sidekiq_helpers_spec.rb": 0.70724125799984,8058 "spec/initializers/carrierwave_s3_encryption_headers_patch_spec.rb": 0.5851532069998484,8059 "spec/views/projects/notes/_more_actions_dropdown.html.haml_spec.rb": 2.675462484000036,8060 "spec/graphql/types/release_type_spec.rb": 0.4785528449999674,8061 "spec/finders/ci/job_artifacts_finder_spec.rb": 1.9492197070001112,8062 "spec/lib/gitlab/ci/reports/sbom/report_spec.rb": 0.3869913420001012,8063 "spec/services/packages/maven/create_package_service_spec.rb": 2.6416047459999845,8064 "spec/services/metrics/dashboard/cluster_metrics_embed_service_spec.rb": 2.1632643509999525,8065 "spec/workers/destroy_pages_deployments_worker_spec.rb": 2.4495191409998824,8066 "spec/models/blob_viewer/gitlab_ci_yml_spec.rb": 1.202096757999925,8067 "spec/lib/gitlab/seeder_spec.rb": 0.9469153599998208,8068 "spec/lib/gitlab/slug/environment_spec.rb": 0.813456288999987,8069 "spec/models/merge_request_context_commit_spec.rb": 3.707908565000025,8070 "spec/helpers/access_tokens_helper_spec.rb": 0.3941832750001595,8071 "spec/models/clusters/agents/authorizations/ci_access/group_authorization_spec.rb": 0.8414722669999719,8072 "spec/services/users/update_canonical_email_service_spec.rb": 0.794915039999978,8073 "spec/models/ci/artifact_blob_spec.rb": 1.3842247630000202,8074 "spec/lib/gitlab/import/set_async_jid_spec.rb": 0.9309650619998138,8075 "spec/lib/gitlab/cache/client_spec.rb": 0.7254767839999658,8076 "spec/lib/gitlab/usage/metrics/instrumentations/count_imported_projects_metric_spec.rb": 2.118679936000035,8077 "spec/finders/merge_request/metrics_finder_spec.rb": 1.8868187109999326,8078 "spec/lib/api/entities/clusters/agents/authorizations/ci_access_spec.rb": 1.9427356979999786,8079 "spec/serializers/web_ide_terminal_serializer_spec.rb": 1.1530370170000879,8080 "spec/rubocop/cop/rspec/shared_groups_metadata_spec.rb": 0.44868526099980954,8081 "spec/uploaders/import_export_uploader_spec.rb": 1.0460614639998767,8082 "spec/lib/gitlab/highlight_spec.rb": 1.2451607609998518,8083 "spec/lib/gitlab/buffered_io_spec.rb": 0.5205518479999682,8084 "spec/services/projects/repository_languages_service_spec.rb": 1.7247750619999351,8085 "spec/lib/gitlab/http_connection_adapter_spec.rb": 1.1914262249999865,8086 "spec/lib/gitlab/email/hook/delivery_metrics_observer_spec.rb": 0.28067156199995225,8087 "spec/lib/gitlab/import_export/recursive_merge_folders_spec.rb": 0.40040684499990675,8088 "spec/lib/gitlab/sidekiq_versioning/worker_spec.rb": 0.3527222079999319,8089 "spec/lib/gitlab/kubernetes/deployment_spec.rb": 0.5994133420001617,8090 "spec/initializers/database_config_spec.rb": 0.5282378270001118,8091 "spec/views/help/instance_configuration.html.haml_spec.rb": 0.47672153899998193,8092 "spec/lib/gitlab/database/migrations/instrumentation_spec.rb": 0.9477737899999283,8093 "spec/workers/object_storage/delete_stale_direct_uploads_worker_spec.rb": 0.4071901439999692,8094 "spec/services/packages/create_package_file_service_spec.rb": 1.8457805139998982,8095 "spec/graphql/mutations/clusters/agent_tokens/create_spec.rb": 1.6057703080000465,8096 "spec/serializers/ci/daily_build_group_report_result_serializer_spec.rb": 0.26433191400019496,8097 "spec/graphql/types/ci/project_variable_type_spec.rb": 0.31057131000011395,8098 "spec/graphql/resolvers/design_management/design_at_version_resolver_spec.rb": 1.7403683100001217,8099 "spec/rubocop/cop/gitlab/rspec/avoid_setup_spec.rb": 0.3725355059998492,8100 "spec/lib/gitlab/seeders/ci/daily_build_group_report_result_spec.rb": 1.4015414320001582,8101 "spec/rubocop/cop/migration/prevent_single_statement_with_disable_ddl_transaction_spec.rb": 0.32603597899992565,8102 "spec/workers/purge_dependency_proxy_cache_worker_spec.rb": 0.8262224079999214,8103 "spec/lib/gitlab/email/handler_spec.rb": 0.7427580329999728,8104 "spec/serializers/namespace_basic_entity_spec.rb": 0.3258043490000091,8105 "spec/models/work_items/widgets/labels_spec.rb": 0.9281624420000298,8106 "spec/lib/gitlab/ci/config/external/mapper/location_expander_spec.rb": 1.2027901530000236,8107 "spec/lib/gitlab/git/remote_mirror_spec.rb": 1.631575496999858,8108 "spec/views/layouts/group.html.haml_spec.rb": 1.6109707479999997,8109 "spec/lib/gitlab/analytics/cycle_analytics/median_spec.rb": 1.299685257999954,8110 "spec/helpers/gitlab_script_tag_helper_spec.rb": 0.5730648740000106,8111 "spec/presenters/ml/candidates_csv_presenter_spec.rb": 1.1434970080001676,8112 "spec/scripts/pipeline_test_report_builder_spec.rb": 0.508977737999885,8113 "spec/services/packages/rubygems/dependency_resolver_service_spec.rb": 1.260940741000013,8114 "spec/serializers/merge_request_sidebar_basic_entity_spec.rb": 1.3388254550000056,8115 "spec/workers/packages/composer/cache_update_worker_spec.rb": 0.9623139889999948,8116 "spec/services/merge_requests/create_approval_event_service_spec.rb": 1.3220052470001065,8117 "spec/lib/gitlab/ci/reports/security/locations/sast_spec.rb": 0.4580423710001469,8118 "spec/lib/gitlab/url_blockers/domain_allowlist_entry_spec.rb": 0.5010841179998806,8119 "spec/models/pages/virtual_domain_spec.rb": 0.4483562420000453,8120 "spec/support_specs/database/without_check_constraint_spec.rb": 0.5074486280000201,8121 "spec/lib/gitlab/database/health_status/signals_spec.rb": 0.4881185900001128,8122 "spec/lib/gitlab/i18n_spec.rb": 0.5520790250000118,8123 "spec/views/projects/runners/_project_runners.html.haml_spec.rb": 0.6549494589999085,8124 "spec/models/packages/nuget/dependency_link_metadatum_spec.rb": 0.44144906199994693,8125 "spec/lib/gitlab/sidekiq_middleware/size_limiter/client_spec.rb": 0.40423475500006134,8126 "spec/models/concerns/x509_serial_number_attribute_spec.rb": 0.401682793999953,8127 "spec/lib/gitlab/memory/watchdog/sidekiq_event_reporter_spec.rb": 0.4202406230001543,8128 "spec/lib/error_tracking/sentry_client_spec.rb": 0.44137274200011234,8129 "spec/models/push_event_payload_spec.rb": 0.7921873999998752,8130 "spec/serializers/group_access_token_serializer_spec.rb": 0.7126990849999402,8131 "spec/services/pages_domains/delete_service_spec.rb": 0.6867256560001351,8132 "spec/lib/gitlab/kroki_spec.rb": 0.4093046640000466,8133 "spec/lib/gitlab/metrics/dashboard/stages/variable_endpoint_inserter_spec.rb": 0.4946438490001128,8134 "spec/helpers/groups/settings_helper_spec.rb": 0.46482799999989766,8135 "spec/services/merge_requests/mergeability/check_base_service_spec.rb": 0.36376667699983045,8136 "spec/lib/banzai/filter_array_spec.rb": 0.32665844899997865,8137 "spec/views/admin/application_settings/ci_cd.html.haml_spec.rb": 0.5602162950001457,8138 "spec/lib/api/entities/deploy_key_spec.rb": 0.5830710840000393,8139 "spec/lib/gitlab/import_export/version_checker_spec.rb": 0.39246463500012396,8140 "spec/rubocop/cop/rspec/factory_bot/avoid_create_spec.rb": 0.36771405599984064,8141 "spec/models/concerns/integrations/has_web_hook_spec.rb": 0.3957723650000844,8142 "spec/lib/gitlab/usage_data_counters/jetbrains_plugin_activity_unique_counter_spec.rb": 0.39459354200016605,8143 "spec/services/export_csv/map_export_fields_service_spec.rb": 0.3392805829998906,8144 "spec/workers/gitlab/github_gists_import/finish_import_worker_spec.rb": 0.4300169000000551,8145 "spec/views/projects/packages/index.html.haml_spec.rb": 0.41109085900006903,8146 "spec/workers/gitlab/github_import/stage/import_pull_requests_merged_by_worker_spec.rb": 0.5962355990000106,8147 "spec/graphql/types/custom_emoji_type_spec.rb": 0.3215363710000929,8148 "spec/graphql/resolvers/echo_resolver_spec.rb": 0.39497123600017403,8149 "spec/lib/gitlab/subscription_portal_spec.rb": 0.3088704140000118,8150 "spec/lib/gitlab/instrumentation/rate_limiting_gates_spec.rb": 0.3375200749999294,8151 "spec/lib/api/helpers/project_stats_refresh_conflicts_helpers_spec.rb": 0.47892073999992135,8152 "spec/rubocop/cop/database/establish_connection_spec.rb": 0.3046736589999455,8153 "spec/rubocop/cop/sidekiq_redis_call_spec.rb": 0.37420256700011123,8154 "spec/views/errors/omniauth_error.html.haml_spec.rb": 0.32572390600012113,8155 "spec/lib/gitlab/usage/metrics/instrumentations/count_ci_runners_group_type_active_online_metric_spec.rb": 0.385777613999835,8156 "spec/helpers/projects/incidents_helper_spec.rb": 0.36952161099998193,8157 "spec/lib/gitlab/import/database_helpers_spec.rb": 0.570338485999855,8158 "spec/lib/gitlab/usage/metrics/instrumentations/snowplow_configured_to_gitlab_collector_metric_spec.rb": 0.2804171430000224,8159 "spec/services/packages/rpm/repository_metadata/build_filelist_xml_service_spec.rb": 0.296984005000013,8160 "spec/graphql/types/project_member_relation_enum_spec.rb": 0.2820059709999896,8161 "spec/graphql/types/projects/topic_type_spec.rb": 0.27428437899993696,8162 "spec/lib/sidebars/groups/super_sidebar_menus/build_menu_spec.rb": 0.3321870000002036,8163 "spec/lib/api/entities/plan_limit_spec.rb": 0.30144914199991035,8164 "spec/initializers/rdoc_segfault_patch_spec.rb": 0.27605104700000993,8165 "spec/graphql/types/alert_management/integration_type_spec.rb": 0.29104739200010954,8166 "spec/lib/backup/task_spec.rb": 0.2790432740000597,8167 "spec/serializers/entity_request_spec.rb": 0.27459481799996865,8168 "spec/serializers/personal_access_token_entity_spec.rb": 0.35499491600012334,8169 "spec/services/packages/rpm/repository_metadata/build_primary_xml_service_spec.rb": 0.23917516500000602,8170 "spec/serializers/accessibility_error_entity_spec.rb": 0.23405255000011493,8171 "spec/lib/gitlab/sidekiq_middleware/instrumentation_logger_spec.rb": 0.24186319299997194,8172 "spec/tooling/merge_request_spec.rb": 0.24164216200006194,8173 "spec/initializers/circuitbox_spec.rb": 0.2501159230000667,8174 "spec/rubocop/cop/gitlab/avoid_uploaded_file_from_params_spec.rb": 0.25357321999990745,8175 "spec/graphql/resolvers/metadata_resolver_spec.rb": 0.2775481249998393,8176 "spec/tooling/lib/tooling/crystalball/coverage_lines_strategy_spec.rb": 0.23373914099988724,8177 "spec/lib/gitlab/database/schema_validation/validators/missing_tables_spec.rb": 0.2671170969999821,8178 "spec/spam/concerns/has_spam_action_response_fields_spec.rb": 0.25773742700016555,8179 "spec/models/instance_metadata_spec.rb": 0.2582987250000315,8180 "spec/uploaders/metric_image_uploader_spec.rb": 0.24516689899996898181}8182Knapsack global time execution for tests: 23m 46s8183Pending: (Failures listed here are expected and do not affect your suite's status)8184 1) Packages::Composer::CacheUploader behaves like builds correct paths #upload_path behaves like matches the method pattern 8185 # No pattern provided, skipping.8186 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88187 2) Packages::Composer::CacheUploader behaves like builds correct paths #relative_path is relative8188 # Path not set, skipping.8189 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:408190 3) Packages::Composer::CacheUploader behaves like builds correct paths .absolute_path behaves like matches the method pattern 8191 # No pattern provided, skipping.8192 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88193 4) Packages::Composer::CacheUploader behaves like builds correct paths .base_dir behaves like matches the method pattern 8194 # No pattern provided, skipping.8195 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88196 5) Packages::Composer::CacheUploader object store is remote behaves like builds correct paths #cache_dir behaves like matches the method pattern 8197 # No pattern provided, skipping.8198 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88199 6) Packages::Composer::CacheUploader object store is remote behaves like builds correct paths #work_dir behaves like matches the method pattern 8200 # No pattern provided, skipping.8201 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88202 7) Packages::Composer::CacheUploader object store is remote behaves like builds correct paths #upload_path behaves like matches the method pattern 8203 # No pattern provided, skipping.8204 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88205 8) Packages::Composer::CacheUploader object store is remote behaves like builds correct paths #relative_path is relative8206 # Path not set, skipping.8207 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:408208 9) Packages::Composer::CacheUploader object store is remote behaves like builds correct paths .absolute_path behaves like matches the method pattern 8209 # No pattern provided, skipping.8210 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88211 10) Packages::Composer::CacheUploader object store is remote behaves like builds correct paths .base_dir behaves like matches the method pattern 8212 # No pattern provided, skipping.8213 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88214 11) ImportExportUploader object_store is REMOTE behaves like builds correct paths #cache_dir behaves like matches the method pattern 8215 # No pattern provided, skipping.8216 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88217 12) ImportExportUploader object_store is REMOTE behaves like builds correct paths #work_dir behaves like matches the method pattern 8218 # No pattern provided, skipping.8219 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88220 13) ImportExportUploader object_store is REMOTE behaves like builds correct paths #relative_path is relative8221 # Path not set, skipping.8222 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:408223 14) ImportExportUploader object_store is REMOTE behaves like builds correct paths .absolute_path behaves like matches the method pattern 8224 # No pattern provided, skipping.8225 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88226 15) ImportExportUploader object_store is REMOTE behaves like builds correct paths .base_dir behaves like matches the method pattern 8227 # No pattern provided, skipping.8228 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88229Finished in 23 minutes 50 seconds (files took 56.23 seconds to load)82303412 examples, 0 failures, 15 pending8231Randomized with seed 233308232[TEST PROF INFO] Time spent in factories: 11:55.211 (49.47% of total time)8233RSpec exited with 0.8234No examples to retry, congrats!8236Not uploading cache ruby-gems-debian-bullseye-ruby-3.0-16 due to policy8238Uploading artifacts...8239coverage/: found 5 matching artifact files and directories 8240crystalball/: found 2 matching artifact files and directories 8241deprecations/: found 3 matching artifact files and directories 8242knapsack/: found 4 matching artifact files and directories 8243WARNING: query_recorder/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 8244rspec/: found 16 matching artifact files and directories 8245WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 8246log/*.log: found 17 matching artifact files and directories 8247WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4400964349/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com8248WARNING: Retrying... context=artifacts-uploader error=request redirected8249Uploading artifacts as "archive" to coordinator... 201 Created id=4400964349 responseStatus=201 Created token=64__-wni8250Uploading artifacts...8251rspec/rspec-*.xml: found 1 matching artifact files and directories 8252WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4400964349/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com8253WARNING: Retrying... context=artifacts-uploader error=request redirected8254Uploading artifacts as "junit" to coordinator... 201 Created id=4400964349 responseStatus=201 Created token=64__-wni8256Job succeeded