rspec unit pg12 5/22
Passed Started
by
@dbalexandre

Douglas Barbosa Alexandre
1Running with gitlab-runner 14.7.0~beta.58.gfa48f33b (fa48f33b)2 on blue-3.shared-gitlab-org.runners-manager.gitlab.com/default sUrYYgEG3 feature flags: FF_USE_FASTZIP:true6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36 ...7Starting service postgres:12 ...8Pulling docker image postgres:12 ...9Using docker image sha256:84353f33e1def62bd8dfb09b10761c4ce651f5e5475e1ec53d5c918e29d96744 for postgres:12 with digest postgres@sha256:7984919d5b1d8bd22539118c671555b50cd3bb5fbc568645a49f61e5ab94b8f9 ...10Starting service redis:5.0-alpine ...11Pulling docker image redis:5.0-alpine ...12Using docker image sha256:1746b159f8934fe63cae3984643ee8c5651bcfc80ae107032a60f2871a0e7cdb for redis:5.0-alpine with digest redis@sha256:a04b57e05b784a406bc818f6b450233328c4115a1e1f104d84ce916eb1583925 ...13Waiting for services to be up and running...14Authenticating with credentials from job payload (GitLab Registry)15Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36 ...16Using docker image sha256:8138f36e34bc79c9e5ab676915a37672f25052a13a6e7b6801a0d5866a8e494c for registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:cd14b6829dee854cdf4ce05c5e8cfd48f805945f17d115efa8a7d36dc4ac6d9b ...18Running on runner-suryygeg-project-278964-concurrent-0 via runner-suryygeg-shared-gitlab-org-1643990463-6f681890...20$ eval "$CI_PRE_CLONE_SCRIPT"21Fetching changes with git depth set to 20...22Initialized empty Git repository in /builds/gitlab-org/gitlab/.git/23Created fresh repository.24remote: Enumerating objects: 119975, done. 25remote: Counting objects: 100% (119975/119975), done. 26remote: Compressing objects: 100% (79457/79457), done.27remote: Total 119975 (delta 54354), reused 82008 (delta 35960), pack-reused 0 28Receiving objects: 100% (119975/119975), 113.03 MiB | 28.91 MiB/s, done.29Resolving deltas: 100% (54354/54354), done.31 * [new ref] 075476b823110142086f2b93d474f8349e99b4a0 -> refs/pipelines/46383679932 * [new branch] master -> origin/master33Checking out 075476b8 as master...34Skipping Git submodules setup36Checking cache for ruby-gems-v1-9...37cache.zip is up to date 38Successfully extracted cache39Checking cache for gitaly-ruby-gems-v1-9...40cache.zip is up to date 41Successfully extracted cache43Downloading artifacts for compile-test-assets (2055931272)...44Downloading artifacts from coordinator... ok id=2055931272 responseStatus=200 OK token=zXasY4gr45Downloading artifacts for detect-tests (2055931277)...46Downloading artifacts from coordinator... ok id=2055931277 responseStatus=200 OK token=9WcSYqj747Downloading artifacts for retrieve-tests-metadata (2055931281)...48Downloading artifacts from coordinator... ok id=2055931281 responseStatus=200 OK token=HLyRKusZ49Downloading artifacts for setup-test-env (2055931275)...50Downloading artifacts from coordinator... ok id=2055931275 responseStatus=200 OK token=K6p64DvG52Using docker image sha256:8138f36e34bc79c9e5ab676915a37672f25052a13a6e7b6801a0d5866a8e494c for registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:cd14b6829dee854cdf4ce05c5e8cfd48f805945f17d115efa8a7d36dc4ac6d9b ...53$ echo $FOSS_ONLY54$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb55$ export GOPATH=$CI_PROJECT_DIR/.go56$ mkdir -p $GOPATH57$ source scripts/utils.sh58$ source scripts/prepare_build.sh59Successfully installed bundler-2.3.6601 gem installed61Bundler version 2.3.662production:development63Settings are listed in order of priority. The top value will be used.64clean65Set for the current user (/root/.bundle/config): true66install_flags67Set via BUNDLE_INSTALL_FLAGS: "--jobs=$(nproc) --retry=3 --quiet"68path69Set for the current user (/root/.bundle/config): "/builds/gitlab-org/gitlab/vendor"70without71Set via BUNDLE_WITHOUT: [:production, :development]72$ bundle install --jobs=$(nproc) --retry=3 --quiet && bundle check73Don't run Bundler as root. Bundler can ask for sudo if it is needed, and74installing your bundle as root will break this application for all non-root75users on this machine.76The Gemfile's dependencies are satisfied77==> 'bundle install --jobs=$(nproc) --retry=3 --quiet && bundle check' succeeded in 9 seconds.78$ bundle pristine pg79Installing pg 1.2.3 with native extensions80==> 'bundle pristine pg' succeeded in 12 seconds.81$ setup_db_user_only82CREATE ROLE83GRANT84==> 'setup_db_user_only' succeeded in 0 seconds.85$ bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee86Dropped database 'gitlabhq_test'87Dropped database 'gitlabhq_geo_test'88Created database 'gitlabhq_test'89Created database 'gitlabhq_geo_test'90DEPRECATION WARNING: Using `bin/rails db:structure:load` is deprecated and will be removed in Rails 6.2. Configure the format using `config.active_record.schema_format = :sql` to use `structure.sql` and run `bin/rails db:schema:load` instead. (called from load at /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/bin/rake:23)91Dropped database 'gitlabhq_geo_test'92Created database 'gitlabhq_geo_test'93==> 'bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee' succeeded in 32 seconds.94$ run_timed_command "gem install knapsack --no-document"95$ gem install knapsack --no-document96Successfully installed knapsack-4.0.0971 gem installed98==> 'gem install knapsack --no-document' succeeded in 1 seconds.99$ run_timed_command "scripts/gitaly-test-spawn"100$ scripts/gitaly-test-spawn101find: ‘/builds/gitlab-org/gitlab/tmp/tests/gitaly/cmd’: No such file or directory102find: ‘/builds/gitlab-org/gitlab/tmp/tests/gitaly/cmd’: No such file or directory103find: ‘/builds/gitlab-org/gitlab/tmp/tests/gitaly/cmd’: No such file or directory104Don't run Bundler as root. Bundler can ask for sudo if it is needed, and105installing your bundle as root will break this application for all non-root106users on this machine.107Using abstract_type 0.0.7108Using concurrent-ruby 1.1.9109Using i18n 1.8.11110Using minitest 5.15.0111Using tzinfo 2.0.4112Using zeitwerk 2.5.3113Using activesupport 6.1.4.4114Using builder 3.2.4115Using erubi 1.10.0116Using mini_portile2 2.6.1117Using racc 1.6.0118Using nokogiri 1.12.5 (x86_64-linux)119Using rails-dom-testing 2.0.3120Using crass 1.0.6121Using loofah 2.13.0122Using rails-html-sanitizer 1.4.2123Using actionview 6.1.4.4124Using rack 2.2.3125Using rack-test 1.1.0126Using actionpack 6.1.4.4127Using ice_nine 0.11.2128Using thread_safe 0.3.6129Using memoizable 0.4.2130Using adamantium 0.2.0131Using public_suffix 4.0.6132Using addressable 2.7.0133Using ast 2.4.2134Using binding_ninja 0.2.3135Using bundler 2.1.4136Using charlock_holmes 0.7.7137Using coderay 1.1.2138Using equalizer 0.0.11139Using concord 0.1.5140Using diff-lcs 1.3141Using dotenv 2.7.6142Using escape_utils 1.2.1143Using factory_bot 5.0.2144Using multipart-post 2.1.1145Using faraday 1.0.1146Using ffi 1.15.3147Using json 2.6.1148Using gemojione 3.3.0149Using mini_mime 1.0.2150Using rugged 1.2.0151Using github-linguist 7.12.1152Using github-markup 1.7.0153Using mime-types-data 3.2020.1104154Using mime-types 3.3.1155Using gitlab-gollum-rugged_adapter 0.4.4.4.gitlab.1156Using rouge 3.27.0157Using sanitize 6.0.0158Using stringex 2.8.5159Using gitlab-gollum-lib 4.2.7.10.gitlab.2160Using google-protobuf 3.19.1 (x86_64-linux)161Using googleapis-common-protos-types 1.3.0162Using grpc 1.42.0 (x86_64-linux)163Using opentracing 0.5.0164Using thrift 0.15.0165Using jaeger-client 1.1.0166Using pg_query 2.1.1167Using redis 4.4.0168Using gitlab-labkit 0.21.2169Using rubyzip 2.3.2170Using thor 1.1.0171Using tomlrb 2.0.1172Using with_env 1.1.0173Using rexml 3.2.5174Using xml-simple 1.1.9175Using gitlab-license_finder 6.14.2.1176Using gitlab-markup 1.7.1177Using grpc-tools 1.42.0178Using sawyer 0.8.2179Using octokit 4.20.0180Using reverse_markdown 1.4.0181Using licensee 9.14.1182Using method_source 0.9.2183Using msgpack 1.3.3184Using optimist 3.0.1185Using parallel 1.19.2186Using parser 3.0.3.2187Using procto 0.0.3188Using unparser 0.4.7189Using proc_to_ast 0.1.0190Using pry 0.12.2191Using rainbow 3.0.0192Using rbtrace 0.4.14193Using rdoc 6.3.2194Using regexp_parser 1.8.1195Using rspec-support 3.8.0196Using rspec-core 3.8.0197Using rspec-expectations 3.8.3198Using rspec-mocks 3.8.0199Using rspec 3.8.0200Using rspec-parameterized 0.4.2201Using rubocop-ast 0.2.0202Using ruby-progressbar 1.10.1203Using unicode-display_width 1.7.0204Using rubocop 0.86.0205Using sentry-raven 3.0.4206Using timecop 0.9.1207Bundle complete! 22 Gemfile dependencies, 100 gems now installed.208Gems in the groups production and development were not installed.209Bundled gems are installed into `/builds/gitlab-org/gitlab/vendor/gitaly-ruby`210Checking gitaly-ruby Gemfile...211Checking gitaly-ruby bundle...212The Gemfile's dependencies are satisfied213Trying to connect to gitaly: ............................................... OK214Trying to connect to gitaly2: ................................................................. OK215Trying to connect to praefect: ......... OK216==> 'scripts/gitaly-test-spawn' succeeded in 13 seconds.217$ source ./scripts/rspec_helpers.sh218$ rspec_paralellized_job "--tag ~quarantine --tag ~geo --tag ~level:migration"219SKIP_FLAKY_TESTS_AUTOMATICALLY: true220RETRY_FAILED_TESTS_IN_NEW_PROCESS: false221KNAPSACK_GENERATE_REPORT: true222FLAKY_RSPEC_GENERATE_REPORT: true223KNAPSACK_TEST_FILE_PATTERN: spec/{bin,channels,config,db,dependencies,elastic,elastic_integration,experiments,factories,finders,frontend,graphql,haml_lint,helpers,initializers,javascripts,lib,metrics_server,models,policies,presenters,rack_servers,replicators,routing,rubocop,scripts,serializers,services,sidekiq,sidekiq_cluster,spam,support_specs,tasks,uploaders,validators,views,workers,tooling}{,/**/}*_spec.rb224KNAPSACK_LOG_LEVEL: debug225KNAPSACK_REPORT_PATH: knapsack/rspec_unit_pg12_5_22_report.json226FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json227FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec_unit_pg12_5_22_report.json228NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec_unit_pg12_5_22_report.json229SKIPPED_FLAKY_TESTS_REPORT_PATH: rspec/flaky/skipped_flaky_tests_rspec_unit_pg12_5_22_report.txt230RETRIED_TESTS_REPORT_PATH: rspec/flaky/retried_tests_rspec_unit_pg12_5_22_report.txt231CRYSTALBALL: 232Knapsack node specs:233spec/lib/gitlab/usage_data_spec.rb234spec/tasks/gitlab/backup_rake_spec.rb235spec/services/git/branch_hooks_service_spec.rb236spec/services/groups/destroy_service_spec.rb237spec/services/users/migrate_to_ghost_user_service_spec.rb238spec/models/todo_spec.rb239spec/lib/gitlab/ci/yaml_processor_spec.rb240spec/lib/banzai/filter/references/merge_request_reference_filter_spec.rb241spec/lib/gitlab/ci/trace_spec.rb242spec/presenters/project_presenter_spec.rb243spec/models/resource_milestone_event_spec.rb244spec/models/integrations/unify_circuit_spec.rb245spec/lib/gitlab/git/commit_spec.rb246spec/lib/gitlab/background_migration/fix_vulnerability_occurrences_with_hashes_as_raw_metadata_spec.rb247spec/services/merge_requests/close_service_spec.rb248spec/services/merge_requests/toggle_attention_requested_service_spec.rb249spec/services/packages/debian/extract_metadata_service_spec.rb250spec/models/protected_branch_spec.rb251spec/finders/ci/runner_jobs_finder_spec.rb252spec/models/concerns/awardable_spec.rb253spec/lib/container_registry/tag_spec.rb254spec/lib/gitlab/background_migration/backfill_upvotes_count_on_issues_spec.rb255spec/lib/gitlab/bitbucket_import/importer_spec.rb256spec/finders/personal_access_tokens_finder_spec.rb257spec/models/serverless/domain_cluster_spec.rb258spec/presenters/ci/build_presenter_spec.rb259spec/presenters/merge_request_presenter_spec.rb260spec/tasks/gitlab/db_rake_spec.rb261spec/models/namespace/package_setting_spec.rb262spec/services/members/groups/creator_service_spec.rb263spec/lib/gitlab/auth/saml/user_spec.rb264spec/serializers/stage_entity_spec.rb265spec/lib/backup/database_spec.rb266spec/helpers/auto_devops_helper_spec.rb267spec/graphql/types/global_id_type_spec.rb268spec/lib/gitlab/repository_cache_adapter_spec.rb269spec/lib/gitlab/metrics/dashboard/url_spec.rb270spec/helpers/nav/top_nav_helper_spec.rb271spec/presenters/blobs/unfold_presenter_spec.rb272spec/presenters/projects/settings/deploy_keys_presenter_spec.rb273spec/services/milestones/destroy_service_spec.rb274spec/uploaders/terraform/state_uploader_spec.rb275spec/lib/gitlab/checks/single_change_access_spec.rb276spec/rubocop/code_reuse_helpers_spec.rb277spec/lib/gitlab/ci/pipeline/seed/stage_spec.rb278spec/services/git/base_hooks_service_spec.rb279spec/lib/object_storage/config_spec.rb280spec/config/mail_room_spec.rb281spec/serializers/diff_file_entity_spec.rb282spec/models/diff_viewer/base_spec.rb283spec/models/project_auto_devops_spec.rb284spec/models/ci/resource_spec.rb285spec/models/project_label_spec.rb286spec/serializers/ci/dag_job_entity_spec.rb287spec/lib/gitlab/sidekiq_daemon/memory_killer_spec.rb288spec/lib/gitlab/ci/pipeline/seed/environment_spec.rb289spec/serializers/fork_namespace_entity_spec.rb290spec/lib/gitlab/ci/reports/security/report_spec.rb291spec/policies/ci/trigger_policy_spec.rb292spec/models/integrations/mattermost_slash_commands_spec.rb293spec/models/zoom_meeting_spec.rb294spec/models/packages/nuget/metadatum_spec.rb295spec/lib/gitlab/quick_actions/command_definition_spec.rb296spec/services/files/update_service_spec.rb297spec/lib/gitlab/repository_cache_spec.rb298spec/lib/gitlab/ci/parsers/test/junit_spec.rb299spec/lib/gitlab/utils/override_spec.rb300spec/models/snippet_statistics_spec.rb301spec/lib/gitlab/middleware/multipart_spec.rb302spec/lib/gitlab/visibility_level_spec.rb303spec/lib/gitlab/fogbugz_import/importer_spec.rb304spec/lib/gitlab/email/reply_parser_spec.rb305spec/models/issue_collection_spec.rb306spec/finders/concerns/finder_with_group_hierarchy_spec.rb307spec/services/ci/create_pipeline_service/tags_spec.rb308spec/lib/gitlab/checks/diff_check_spec.rb309spec/graphql/mutations/merge_requests/create_spec.rb310spec/serializers/suggestion_entity_spec.rb311spec/lib/gitlab/repository_url_builder_spec.rb312spec/lib/json_web_token/hmac_token_spec.rb313spec/lib/gitlab/metrics/background_transaction_spec.rb314spec/lib/gitlab/ci/reports/reports_comparer_spec.rb315spec/lib/gitlab/diff/parser_spec.rb316spec/services/error_tracking/list_projects_service_spec.rb317spec/serializers/entity_date_helper_spec.rb318spec/helpers/notifications_helper_spec.rb319spec/services/ci/expire_pipeline_cache_service_spec.rb320spec/workers/packages/cleanup_package_registry_worker_spec.rb321spec/models/tree_spec.rb322spec/presenters/commit_presenter_spec.rb323spec/workers/environments/auto_stop_worker_spec.rb324spec/lib/gitlab/ci/reports/security/reports_spec.rb325spec/services/packages/generic/create_package_file_service_spec.rb326spec/graphql/resolvers/projects/snippets_resolver_spec.rb327spec/models/metrics/users_starred_dashboard_spec.rb328spec/lib/gitlab/cleanup/orphan_lfs_file_references_spec.rb329spec/lib/gitlab/legacy_github_import/label_formatter_spec.rb330spec/lib/gitlab/authorized_keys_spec.rb331spec/lib/gitlab/slash_commands/presenters/issue_show_spec.rb332spec/workers/concerns/gitlab/github_import/rescheduling_methods_spec.rb333spec/models/analytics/usage_trends/measurement_spec.rb334spec/graphql/resolvers/releases_resolver_spec.rb335spec/services/ci/update_instance_variables_service_spec.rb336spec/initializers/00_rails_disable_joins_spec.rb337spec/services/packages/debian/create_distribution_service_spec.rb338spec/finders/ci/variables_finder_spec.rb339spec/workers/object_pool/destroy_worker_spec.rb340spec/views/projects/project_members/index.html.haml_spec.rb341spec/lib/gitlab/dependency_linker_spec.rb342spec/lib/gitlab/background_migration/remove_occurrence_pipelines_and_duplicate_vulnerabilities_findings_spec.rb343spec/services/system_notes/base_service_spec.rb344spec/lib/atlassian/jira_connect/asymmetric_jwt_spec.rb345spec/lib/gitlab/dependency_linker/gemfile_linker_spec.rb346spec/lib/gitlab/ci/config/external/file/local_spec.rb347spec/graphql/resolvers/design_management/design_at_version_resolver_spec.rb348spec/models/ci/pipeline_message_spec.rb349spec/lib/gitlab/phabricator_import/project_creator_spec.rb350spec/models/aws/role_spec.rb351spec/rubocop/cop/gitlab/rails_logger_spec.rb352spec/graphql/resolvers/groups_resolver_spec.rb353spec/policies/terraform/state_policy_spec.rb354spec/lib/gitlab/ci/build/artifacts/metadata_spec.rb355spec/graphql/types/base_object_spec.rb356spec/models/users/credit_card_validation_spec.rb357spec/lib/gitlab/slash_commands/presenters/issue_new_spec.rb358spec/validators/qualified_domain_array_validator_spec.rb359spec/lib/gitlab/database/migration_spec.rb360spec/lib/gitlab/zentao/query_spec.rb361spec/lib/gitlab/ci/build/rules/rule_spec.rb362spec/lib/gitlab/usage/metrics/name_suggestion_spec.rb363spec/lib/gitlab/webpack/manifest_spec.rb364spec/lib/gitlab/middleware/multipart/handler_spec.rb365spec/models/snippet_input_action_collection_spec.rb366spec/lib/gitlab/lograge/custom_options_spec.rb367spec/services/bulk_imports/file_decompression_service_spec.rb368spec/services/security/ci_configuration/container_scanning_create_service_spec.rb369spec/lib/gitlab/config/entry/configurable_spec.rb370spec/models/concerns/uniquify_spec.rb371spec/serializers/label_serializer_spec.rb372spec/services/customer_relations/contacts/create_service_spec.rb373spec/lib/gitlab/terraform/state_migration_helper_spec.rb374spec/models/clusters/project_spec.rb375spec/workers/remove_unaccepted_member_invites_worker_spec.rb376spec/lib/gitlab/composer/version_index_spec.rb377spec/models/fork_network_member_spec.rb378spec/lib/gitlab/pipeline_scope_counts_spec.rb379spec/lib/bulk_imports/groups/loaders/group_loader_spec.rb380spec/lib/gitlab/bitbucket_import/wiki_formatter_spec.rb381spec/lib/gitlab/graphql/pagination/keyset/conditions/not_null_condition_spec.rb382spec/lib/gitlab/ci/status/build/erased_spec.rb383spec/graphql/types/invitation_interface_spec.rb384spec/models/concerns/token_authenticatable_strategies/base_spec.rb385spec/lib/gitlab/sidekiq_middleware_spec.rb386spec/workers/error_tracking_issue_link_worker_spec.rb387spec/presenters/packages/nuget/packages_versions_presenter_spec.rb388spec/lib/gitlab/usage_data_queries_spec.rb389spec/graphql/types/terraform/state_type_spec.rb390spec/lib/gitlab/github_import/page_counter_spec.rb391spec/lib/gitlab/database/shared_model_spec.rb392spec/workers/export_csv_worker_spec.rb393spec/helpers/webpack_helper_spec.rb394spec/graphql/types/project_member_type_spec.rb395spec/lib/banzai/filter/spaced_link_filter_spec.rb396spec/lib/gitlab/middleware/request_context_spec.rb397spec/lib/gitlab/github_import/representation_spec.rb398spec/lib/gitlab/ci/status/build/pending_spec.rb399spec/services/system_notes/zoom_service_spec.rb400spec/finders/uploader_finder_spec.rb401spec/lib/api/entities/ci/job_request/port_spec.rb402spec/lib/gitlab/branch_push_merge_commit_analyzer_spec.rb403spec/lib/gitlab/private_commit_email_spec.rb404spec/services/users/dismiss_group_callout_service_spec.rb405spec/serializers/web_ide_terminal_serializer_spec.rb406spec/workers/remote_mirror_notification_worker_spec.rb407spec/policies/namespaces/project_namespace_policy_spec.rb408spec/services/import/bitbucket_server_service_spec.rb409spec/models/packages/composer/metadatum_spec.rb410spec/lib/gitlab/with_request_store_spec.rb411spec/services/import/github/notes/create_service_spec.rb412spec/lib/bitbucket_server/representation/repo_spec.rb413spec/workers/build_queue_worker_spec.rb414spec/serializers/context_commits_diff_entity_spec.rb415spec/lib/gitlab/metrics/dashboard/importer_spec.rb416spec/models/packages/composer/cache_file_spec.rb417spec/scripts/setup/find_jh_branch_spec.rb418spec/lib/api/validations/validators/file_path_spec.rb419spec/finders/packages/composer/packages_finder_spec.rb420spec/services/ide/base_config_service_spec.rb421spec/services/bulk_imports/tree_export_service_spec.rb422spec/finders/repositories/branch_names_finder_spec.rb423spec/lib/bulk_imports/projects/pipelines/external_pull_requests_pipeline_spec.rb424spec/lib/gitlab/asset_proxy_spec.rb425spec/lib/gitlab/query_limiting/middleware_spec.rb426spec/models/external_issue_spec.rb427spec/graphql/features/feature_flag_spec.rb428spec/models/ci/pipeline_schedule_variable_spec.rb429spec/graphql/types/incident_management/escalation_status_enum_spec.rb430spec/lib/gitlab/setup_helper/workhorse_spec.rb431spec/workers/gitlab/github_import/import_pull_request_review_worker_spec.rb432spec/lib/gitlab/usage_data_counters/vscode_extension_activity_unique_counter_spec.rb433spec/services/merge_requests/mergeability/check_ci_status_service_spec.rb434spec/lib/gitlab/tracking/snowplow_schema_validation_spec.rb435spec/serializers/blob_entity_spec.rb436spec/lib/gitlab/usage_data_counters_spec.rb437spec/graphql/resolvers/commit_pipelines_resolver_spec.rb438spec/lib/gitlab/usage_data_counters/base_counter_spec.rb439spec/graphql/resolvers/alert_management/alert_status_counts_resolver_spec.rb440spec/lib/gitlab/graphql/pagination/keyset/conditions/null_condition_spec.rb441spec/graphql/types/milestone_type_spec.rb442spec/serializers/codequality_degradation_entity_spec.rb443spec/graphql/resolvers/echo_resolver_spec.rb444spec/graphql/types/access_level_type_spec.rb445spec/graphql/types/error_tracking/sentry_error_stack_trace_type_spec.rb446spec/graphql/types/ci_configuration/sast/options_entity_spec.rb447spec/lib/gitlab/usage/metrics/names_suggestions/relation_parsers/joins_spec.rb448spec/workers/gitlab/import/stuck_import_job_spec.rb449spec/rubocop/cop/scalability/idempotent_worker_spec.rb450spec/graphql/types/projects/base_service_type_spec.rb451spec/rubocop/cop/database/establish_connection_spec.rb452spec/lib/gitlab/metrics/dashboard/stages/metric_endpoint_inserter_spec.rb453spec/helpers/ssh_keys_helper_spec.rb454spec/lib/api/entities/deploy_key_spec.rb455spec/lib/gitlab/graphql/tracers/metrics_tracer_spec.rb456spec/lib/system_check/incoming_email_check_spec.rb457spec/lib/gitlab/net_http_adapter_spec.rb458spec/lib/gitlab/sidekiq_status/client_middleware_spec.rb459spec/lib/gitlab/graphql_logger_spec.rb460spec/lib/gitlab/graphql/timeout_spec.rb461spec/graphql/types/deployment_tier_enum_spec.rb462spec/rubocop/cop/gitlab/finder_with_find_by_spec.rb463spec/graphql/types/user_status_type_spec.rb464spec/views/groups/runners/_sort_dropdown.html.haml_spec.rb465spec/workers/gitlab/github_import/import_note_worker_spec.rb466spec/initializers/mailer_retries_spec.rb467spec/rubocop/cop/gitlab/except_spec.rb468spec/workers/concerns/pipeline_background_queue_spec.rb469spec/lib/gitlab/ci/pipeline/metrics_spec.rb470spec/tooling/merge_request_spec.rb471spec/serializers/ci/lint/job_entity_spec.rb472spec/lib/gitlab/usage_data_counters/code_review_events_spec.rb473spec/lib/gitlab/gitaly_client/diff_stitcher_spec.rb474spec/graphql/types/ci/job_artifact_type_spec.rb475spec/graphql/types/packages/package_sort_enum_spec.rb476Filter specs:477Running specs:478Running all node tests without filter479spec/lib/gitlab/usage_data_spec.rb480spec/tasks/gitlab/backup_rake_spec.rb481spec/services/git/branch_hooks_service_spec.rb482spec/services/groups/destroy_service_spec.rb483spec/services/users/migrate_to_ghost_user_service_spec.rb484spec/models/todo_spec.rb485spec/lib/gitlab/ci/yaml_processor_spec.rb486spec/lib/banzai/filter/references/merge_request_reference_filter_spec.rb487spec/lib/gitlab/ci/trace_spec.rb488spec/presenters/project_presenter_spec.rb489spec/models/resource_milestone_event_spec.rb490spec/models/integrations/unify_circuit_spec.rb491spec/lib/gitlab/git/commit_spec.rb492spec/lib/gitlab/background_migration/fix_vulnerability_occurrences_with_hashes_as_raw_metadata_spec.rb493spec/services/merge_requests/close_service_spec.rb494spec/services/merge_requests/toggle_attention_requested_service_spec.rb495spec/services/packages/debian/extract_metadata_service_spec.rb496spec/models/protected_branch_spec.rb497spec/finders/ci/runner_jobs_finder_spec.rb498spec/models/concerns/awardable_spec.rb499spec/lib/container_registry/tag_spec.rb500spec/lib/gitlab/background_migration/backfill_upvotes_count_on_issues_spec.rb501spec/lib/gitlab/bitbucket_import/importer_spec.rb502spec/finders/personal_access_tokens_finder_spec.rb503spec/models/serverless/domain_cluster_spec.rb504spec/presenters/ci/build_presenter_spec.rb505spec/presenters/merge_request_presenter_spec.rb506spec/tasks/gitlab/db_rake_spec.rb507spec/models/namespace/package_setting_spec.rb508spec/services/members/groups/creator_service_spec.rb509spec/lib/gitlab/auth/saml/user_spec.rb510spec/serializers/stage_entity_spec.rb511spec/lib/backup/database_spec.rb512spec/helpers/auto_devops_helper_spec.rb513spec/graphql/types/global_id_type_spec.rb514spec/lib/gitlab/repository_cache_adapter_spec.rb515spec/lib/gitlab/metrics/dashboard/url_spec.rb516spec/helpers/nav/top_nav_helper_spec.rb517spec/presenters/blobs/unfold_presenter_spec.rb518spec/presenters/projects/settings/deploy_keys_presenter_spec.rb519spec/services/milestones/destroy_service_spec.rb520spec/uploaders/terraform/state_uploader_spec.rb521spec/lib/gitlab/checks/single_change_access_spec.rb522spec/rubocop/code_reuse_helpers_spec.rb523spec/lib/gitlab/ci/pipeline/seed/stage_spec.rb524spec/services/git/base_hooks_service_spec.rb525spec/lib/object_storage/config_spec.rb526spec/config/mail_room_spec.rb527spec/serializers/diff_file_entity_spec.rb528spec/models/diff_viewer/base_spec.rb529spec/models/project_auto_devops_spec.rb530spec/models/ci/resource_spec.rb531spec/models/project_label_spec.rb532spec/serializers/ci/dag_job_entity_spec.rb533spec/lib/gitlab/sidekiq_daemon/memory_killer_spec.rb534spec/lib/gitlab/ci/pipeline/seed/environment_spec.rb535spec/serializers/fork_namespace_entity_spec.rb536spec/lib/gitlab/ci/reports/security/report_spec.rb537spec/policies/ci/trigger_policy_spec.rb538spec/models/integrations/mattermost_slash_commands_spec.rb539spec/models/zoom_meeting_spec.rb540spec/models/packages/nuget/metadatum_spec.rb541spec/lib/gitlab/quick_actions/command_definition_spec.rb542spec/services/files/update_service_spec.rb543spec/lib/gitlab/repository_cache_spec.rb544spec/lib/gitlab/ci/parsers/test/junit_spec.rb545spec/lib/gitlab/utils/override_spec.rb546spec/models/snippet_statistics_spec.rb547spec/lib/gitlab/middleware/multipart_spec.rb548spec/lib/gitlab/visibility_level_spec.rb549spec/lib/gitlab/fogbugz_import/importer_spec.rb550spec/lib/gitlab/email/reply_parser_spec.rb551spec/models/issue_collection_spec.rb552spec/finders/concerns/finder_with_group_hierarchy_spec.rb553spec/services/ci/create_pipeline_service/tags_spec.rb554spec/lib/gitlab/checks/diff_check_spec.rb555spec/graphql/mutations/merge_requests/create_spec.rb556spec/serializers/suggestion_entity_spec.rb557spec/lib/gitlab/repository_url_builder_spec.rb558spec/lib/json_web_token/hmac_token_spec.rb559spec/lib/gitlab/metrics/background_transaction_spec.rb560spec/lib/gitlab/ci/reports/reports_comparer_spec.rb561spec/lib/gitlab/diff/parser_spec.rb562spec/services/error_tracking/list_projects_service_spec.rb563spec/serializers/entity_date_helper_spec.rb564spec/helpers/notifications_helper_spec.rb565spec/services/ci/expire_pipeline_cache_service_spec.rb566spec/workers/packages/cleanup_package_registry_worker_spec.rb567spec/models/tree_spec.rb568spec/presenters/commit_presenter_spec.rb569spec/workers/environments/auto_stop_worker_spec.rb570spec/lib/gitlab/ci/reports/security/reports_spec.rb571spec/services/packages/generic/create_package_file_service_spec.rb572spec/graphql/resolvers/projects/snippets_resolver_spec.rb573spec/models/metrics/users_starred_dashboard_spec.rb574spec/lib/gitlab/cleanup/orphan_lfs_file_references_spec.rb575spec/lib/gitlab/legacy_github_import/label_formatter_spec.rb576spec/lib/gitlab/authorized_keys_spec.rb577spec/lib/gitlab/slash_commands/presenters/issue_show_spec.rb578spec/workers/concerns/gitlab/github_import/rescheduling_methods_spec.rb579spec/models/analytics/usage_trends/measurement_spec.rb580spec/graphql/resolvers/releases_resolver_spec.rb581spec/services/ci/update_instance_variables_service_spec.rb582spec/initializers/00_rails_disable_joins_spec.rb583spec/services/packages/debian/create_distribution_service_spec.rb584spec/finders/ci/variables_finder_spec.rb585spec/workers/object_pool/destroy_worker_spec.rb586spec/views/projects/project_members/index.html.haml_spec.rb587spec/lib/gitlab/dependency_linker_spec.rb588spec/lib/gitlab/background_migration/remove_occurrence_pipelines_and_duplicate_vulnerabilities_findings_spec.rb589spec/services/system_notes/base_service_spec.rb590spec/lib/atlassian/jira_connect/asymmetric_jwt_spec.rb591spec/lib/gitlab/dependency_linker/gemfile_linker_spec.rb592spec/lib/gitlab/ci/config/external/file/local_spec.rb593spec/graphql/resolvers/design_management/design_at_version_resolver_spec.rb594spec/models/ci/pipeline_message_spec.rb595spec/lib/gitlab/phabricator_import/project_creator_spec.rb596spec/models/aws/role_spec.rb597spec/rubocop/cop/gitlab/rails_logger_spec.rb598spec/graphql/resolvers/groups_resolver_spec.rb599spec/policies/terraform/state_policy_spec.rb600spec/lib/gitlab/ci/build/artifacts/metadata_spec.rb601spec/graphql/types/base_object_spec.rb602spec/models/users/credit_card_validation_spec.rb603spec/lib/gitlab/slash_commands/presenters/issue_new_spec.rb604spec/validators/qualified_domain_array_validator_spec.rb605spec/lib/gitlab/database/migration_spec.rb606spec/lib/gitlab/zentao/query_spec.rb607spec/lib/gitlab/ci/build/rules/rule_spec.rb608spec/lib/gitlab/usage/metrics/name_suggestion_spec.rb609spec/lib/gitlab/webpack/manifest_spec.rb610spec/lib/gitlab/middleware/multipart/handler_spec.rb611spec/models/snippet_input_action_collection_spec.rb612spec/lib/gitlab/lograge/custom_options_spec.rb613spec/services/bulk_imports/file_decompression_service_spec.rb614spec/services/security/ci_configuration/container_scanning_create_service_spec.rb615spec/lib/gitlab/config/entry/configurable_spec.rb616spec/models/concerns/uniquify_spec.rb617spec/serializers/label_serializer_spec.rb618spec/services/customer_relations/contacts/create_service_spec.rb619spec/lib/gitlab/terraform/state_migration_helper_spec.rb620spec/models/clusters/project_spec.rb621spec/workers/remove_unaccepted_member_invites_worker_spec.rb622spec/lib/gitlab/composer/version_index_spec.rb623spec/models/fork_network_member_spec.rb624spec/lib/gitlab/pipeline_scope_counts_spec.rb625spec/lib/bulk_imports/groups/loaders/group_loader_spec.rb626spec/lib/gitlab/bitbucket_import/wiki_formatter_spec.rb627spec/lib/gitlab/graphql/pagination/keyset/conditions/not_null_condition_spec.rb628spec/lib/gitlab/ci/status/build/erased_spec.rb629spec/graphql/types/invitation_interface_spec.rb630spec/models/concerns/token_authenticatable_strategies/base_spec.rb631spec/lib/gitlab/sidekiq_middleware_spec.rb632spec/workers/error_tracking_issue_link_worker_spec.rb633spec/presenters/packages/nuget/packages_versions_presenter_spec.rb634spec/lib/gitlab/usage_data_queries_spec.rb635spec/graphql/types/terraform/state_type_spec.rb636spec/lib/gitlab/github_import/page_counter_spec.rb637spec/lib/gitlab/database/shared_model_spec.rb638spec/workers/export_csv_worker_spec.rb639spec/helpers/webpack_helper_spec.rb640spec/graphql/types/project_member_type_spec.rb641spec/lib/banzai/filter/spaced_link_filter_spec.rb642spec/lib/gitlab/middleware/request_context_spec.rb643spec/lib/gitlab/github_import/representation_spec.rb644spec/lib/gitlab/ci/status/build/pending_spec.rb645spec/services/system_notes/zoom_service_spec.rb646spec/finders/uploader_finder_spec.rb647spec/lib/api/entities/ci/job_request/port_spec.rb648spec/lib/gitlab/branch_push_merge_commit_analyzer_spec.rb649spec/lib/gitlab/private_commit_email_spec.rb650spec/services/users/dismiss_group_callout_service_spec.rb651spec/serializers/web_ide_terminal_serializer_spec.rb652spec/workers/remote_mirror_notification_worker_spec.rb653spec/policies/namespaces/project_namespace_policy_spec.rb654spec/services/import/bitbucket_server_service_spec.rb655spec/models/packages/composer/metadatum_spec.rb656spec/lib/gitlab/with_request_store_spec.rb657spec/services/import/github/notes/create_service_spec.rb658spec/lib/bitbucket_server/representation/repo_spec.rb659spec/workers/build_queue_worker_spec.rb660spec/serializers/context_commits_diff_entity_spec.rb661spec/lib/gitlab/metrics/dashboard/importer_spec.rb662spec/models/packages/composer/cache_file_spec.rb663spec/scripts/setup/find_jh_branch_spec.rb664spec/lib/api/validations/validators/file_path_spec.rb665spec/finders/packages/composer/packages_finder_spec.rb666spec/services/ide/base_config_service_spec.rb667spec/services/bulk_imports/tree_export_service_spec.rb668spec/finders/repositories/branch_names_finder_spec.rb669spec/lib/bulk_imports/projects/pipelines/external_pull_requests_pipeline_spec.rb670spec/lib/gitlab/asset_proxy_spec.rb671spec/lib/gitlab/query_limiting/middleware_spec.rb672spec/models/external_issue_spec.rb673spec/graphql/features/feature_flag_spec.rb674spec/models/ci/pipeline_schedule_variable_spec.rb675spec/graphql/types/incident_management/escalation_status_enum_spec.rb676spec/lib/gitlab/setup_helper/workhorse_spec.rb677spec/workers/gitlab/github_import/import_pull_request_review_worker_spec.rb678spec/lib/gitlab/usage_data_counters/vscode_extension_activity_unique_counter_spec.rb679spec/services/merge_requests/mergeability/check_ci_status_service_spec.rb680spec/lib/gitlab/tracking/snowplow_schema_validation_spec.rb681spec/serializers/blob_entity_spec.rb682spec/lib/gitlab/usage_data_counters_spec.rb683spec/graphql/resolvers/commit_pipelines_resolver_spec.rb684spec/lib/gitlab/usage_data_counters/base_counter_spec.rb685spec/graphql/resolvers/alert_management/alert_status_counts_resolver_spec.rb686spec/lib/gitlab/graphql/pagination/keyset/conditions/null_condition_spec.rb687spec/graphql/types/milestone_type_spec.rb688spec/serializers/codequality_degradation_entity_spec.rb689spec/graphql/resolvers/echo_resolver_spec.rb690spec/graphql/types/access_level_type_spec.rb691spec/graphql/types/error_tracking/sentry_error_stack_trace_type_spec.rb692spec/graphql/types/ci_configuration/sast/options_entity_spec.rb693spec/lib/gitlab/usage/metrics/names_suggestions/relation_parsers/joins_spec.rb694spec/workers/gitlab/import/stuck_import_job_spec.rb695spec/rubocop/cop/scalability/idempotent_worker_spec.rb696spec/graphql/types/projects/base_service_type_spec.rb697spec/rubocop/cop/database/establish_connection_spec.rb698spec/lib/gitlab/metrics/dashboard/stages/metric_endpoint_inserter_spec.rb699spec/helpers/ssh_keys_helper_spec.rb700spec/lib/api/entities/deploy_key_spec.rb701spec/lib/gitlab/graphql/tracers/metrics_tracer_spec.rb702spec/lib/system_check/incoming_email_check_spec.rb703spec/lib/gitlab/net_http_adapter_spec.rb704spec/lib/gitlab/sidekiq_status/client_middleware_spec.rb705spec/lib/gitlab/graphql_logger_spec.rb706spec/lib/gitlab/graphql/timeout_spec.rb707spec/graphql/types/deployment_tier_enum_spec.rb708spec/rubocop/cop/gitlab/finder_with_find_by_spec.rb709spec/graphql/types/user_status_type_spec.rb710spec/views/groups/runners/_sort_dropdown.html.haml_spec.rb711spec/workers/gitlab/github_import/import_note_worker_spec.rb712spec/initializers/mailer_retries_spec.rb713spec/rubocop/cop/gitlab/except_spec.rb714spec/workers/concerns/pipeline_background_queue_spec.rb715spec/lib/gitlab/ci/pipeline/metrics_spec.rb716spec/tooling/merge_request_spec.rb717spec/serializers/ci/lint/job_entity_spec.rb718spec/lib/gitlab/usage_data_counters/code_review_events_spec.rb719spec/lib/gitlab/gitaly_client/diff_stitcher_spec.rb720spec/graphql/types/ci/job_artifact_type_spec.rb721spec/graphql/types/packages/package_sort_enum_spec.rb722Running all node tests without filter723Running all node tests without filter724Knapsack report generator started!725Run options: exclude {:quarantine=>true, :geo=>true, :level=>"migration"}726==> /builds/gitlab-org/gitlab/tmp/tests/gitlab-test_bare set up in 0.059540204 seconds...727Test environment set up in 1.559879986 seconds728Gitlab::UsageData729 .data730 includes basic top and second level keys731/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH732/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here733 clears memoized values734 ensures recorded_at is set before any other usage data calculation735 when generating usage ping in critical weeks736/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH737/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here738 does not raise error when generated in last week of the year739/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH740/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here741 does not raise error when generated in first week of the year742/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH743/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here744 does not raise error when generated in second week of the year745/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH746/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here747 does not raise error when generated in 3rd week of the year748 usage_activity_by_stage_package749 includes accurate usage_activity_by_stage data750 .usage_activity_by_stage_configure751 includes accurate usage_activity_by_stage data752 usage_activity_by_stage_create753 includes accurate usage_activity_by_stage data754 usage_activity_by_stage_manage755 includes accurate usage_activity_by_stage data756 includes import gmau usage data757 includes imports usage data758 usage_activity_by_stage_monitor759 includes accurate usage_activity_by_stage data760 usage_activity_by_stage_plan761 includes accurate usage_activity_by_stage data762 does not merge the data from instrumentation classes763 usage_activity_by_stage_release764 includes accurate usage_activity_by_stage data765 usage_activity_by_stage_verify766 includes accurate usage_activity_by_stage data767 .data768/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH769/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here770 gathers usage data771/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH772/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here773 gathers usage counts774/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH775/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here776 gathers usage counts correctly777/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH778/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here779 gathers object store usage correctly780/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH781/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here782 includes a recording_ce_finished_at timestamp783 with existing container expiration policies784/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH785/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here786 gathers usage data787 when queries time out788 with should_raise_for_dev? true789 raises an error790 when metric calls find_in_batches791 raises an error for jira_usage792 with should_raise_for_dev? false793/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH794/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here795 does not raise an error796 when metric calls find_in_batches797 does not raise an error for jira_usage798 .system_usage_data_monthly799 gathers monthly usage counts correctly800 .runners_usage801 gathers runner usage counts correctly802 .usage_counters803 is expected to include :kubernetes_agent_gitops_sync804 is expected to include :kubernetes_agent_k8s_api_proxy_request805 is expected to include :static_site_editor_views806 is expected to include :package_events_i_package_pull_package807 is expected to include :package_events_i_package_delete_package_by_user808 is expected to include :package_events_i_package_conan_push_package809 .usage_data_counters810 is expected to all respond to #totals811 is expected to all respond to #fallback_totals812 does not have any conflicts813 the results of calling #totals on all objects in the array814 is expected to all be a kind of Hash815 is expected to all have attributes {:keys => (all be a kind of Symbol), :values => (all be a kind of Integer)}816 the results of calling #fallback_totals on all objects in the array817 is expected to all be a kind of Hash818 is expected to all have attributes {:keys => (all be a kind of Symbol), :values => (all eq -1)}819 .license_usage_data820 gathers license data821 when not relying on database records822 .features_usage_data_ce823 gathers feature usage data824 with embedded Prometheus825 returns true when embedded Prometheus is enabled826 returns false when embedded Prometheus is disabled827 with embedded grafana828 returns true when embedded grafana is enabled829 returns false when embedded grafana is disabled830 with Gitpod831 returns true when is enabled832 returns false when is disabled833 .components_usage_data834 gathers basic components usage data835 .object_store_config836 when object_store is not configured837 returns component enable status only838 when object_store is configured839 returns filtered object store config840 when retrieve component setting meets exception841 with should_raise_for_dev? false842 returns -1 for component enable status843 with should_raise_for_dev? true844 raises an error845 .object_store_usage_data846 fetches object store config of five components847 .grafana_embed_usage_data848 with project grafana integration enabled849 with valid and invalid embeds850 counts only the issues with embeds851 with project grafana integration disabled852 with one issue having a grafana link in the description and one without853 behaves like zero count854 does not count the issue855 with an un-integrated project856 with one issue having a grafana link in the description and one without857 behaves like zero count858 does not count the issue859 .operating_system860/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH861/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here862 is expected to eq "ubuntu-20.04"863 when on Debian with armv architecture864/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: already initialized constant MAC_MATCH865/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/ohai-16.10.6/lib/ohai/plugins/eucalyptus.rb:32: warning: previous definition of MAC_MATCH was here866 is expected to eq "raspbian-10"867 .system_usage_data_settings868 gathers encrypted secrets usage data869 populates operating system information870 gathers gitaly apdex871 reports collected data categories872 gathers service_ping_features_enabled873 gathers user_cap_feature_enabled874 snowplow stats875 gathers snowplow stats876 .merge_requests_users877 returns the distinct count of users using merge requests (via events table) within the specified time period878 #action_monthly_active_users879 returns the distinct count of user actions within the specified time period880 .analytics_unique_visits_data881 returns the number of unique visits to pages with analytics features882 .compliance_unique_visits_data883 returns the number of unique visits to pages with compliance features884 .search_unique_visits_data885 returns the number of unique visits to pages with search features886 redis_hll_counters887 has all known_events888 .aggregated_metrics_data889 uses ::Gitlab::Usage::Metrics::Aggregates::Aggregate methods890 .service_desk_counts891 gathers Service Desk data892 .email_campaign_counts893 when queries time out894 with should_raise_for_dev? true895 raises an error896 with should_raise_for_dev? false897 returns -1 for email campaign data898 when there are entries899 gathers email campaign data900gitlab:app namespace rake task901 backup_restore902 gitlab version903 restore with matching gitlab version904 invokes restoration on match905 prints timestamps on messages906 when the restore directory is not empty907 removes stale data908 when the backup is restored909 restores the data910 backup911 backup creation and deletion using custom_hooks912 project uses custom_hooks and successfully creates backup913 creates custom_hooks.tar and project bundle914 restores files correctly915 specific backup tasks916 prints a progress message to stdout9172022-02-04 17:08:43 +0000 -- Dumping database ... 9182022-02-04 17:08:43 +0000 -- [SKIPPED]9192022-02-04 17:08:43 +0000 -- Dumping repositories ...920time="2022-02-04T17:08:43.315Z" level=info msg="started create" command=create gl_project_path=namespace163/project162 relative_path=@hashed/3d/32/3d3286f7cd19074f04e514b0c6c237e757513fb32820698b790e1dec801d947a.git storage_name=default921time="2022-02-04T17:08:43.316Z" level=info msg="started create" command=create gl_project_path=namespace163/project162.wiki relative_path=@hashed/3d/32/3d3286f7cd19074f04e514b0c6c237e757513fb32820698b790e1dec801d947a.wiki.git storage_name=default922time="2022-02-04T17:08:43.319Z" level=warning msg="skipped create" command=create error="manager: repository empty: repository skipped" gl_project_path=namespace163/project162.wiki relative_path=@hashed/3d/32/3d3286f7cd19074f04e514b0c6c237e757513fb32820698b790e1dec801d947a.wiki.git storage_name=default923time="2022-02-04T17:08:43.320Z" level=info msg="started create" command=create gl_project_path=namespace163/project162 relative_path=@hashed/3d/32/3d3286f7cd19074f04e514b0c6c237e757513fb32820698b790e1dec801d947a.design.git storage_name=default924time="2022-02-04T17:08:43.323Z" level=warning msg="skipped create" command=create error="manager: repository empty: repository skipped" gl_project_path=namespace163/project162 relative_path=@hashed/3d/32/3d3286f7cd19074f04e514b0c6c237e757513fb32820698b790e1dec801d947a.design.git storage_name=default925time="2022-02-04T17:08:43.443Z" level=info msg="completed create" command=create gl_project_path=namespace163/project162 relative_path=@hashed/3d/32/3d3286f7cd19074f04e514b0c6c237e757513fb32820698b790e1dec801d947a.git storage_name=default9262022-02-04 17:08:43 +0000 -- done9272022-02-04 17:08:43 +0000 -- Dumping uploads ... 9282022-02-04 17:08:43 +0000 -- done9292022-02-04 17:08:43 +0000 -- Dumping builds ... 9302022-02-04 17:08:43 +0000 -- done9312022-02-04 17:08:43 +0000 -- Dumping artifacts ... 9322022-02-04 17:08:43 +0000 -- done9332022-02-04 17:08:43 +0000 -- Dumping pages ... 9342022-02-04 17:08:43 +0000 -- done9352022-02-04 17:08:43 +0000 -- Dumping lfs objects ... 9362022-02-04 17:08:44 +0000 -- done9372022-02-04 17:08:44 +0000 -- Dumping terraform states ... 9382022-02-04 17:08:44 +0000 -- done9392022-02-04 17:08:44 +0000 -- Dumping container registry images ... 9402022-02-04 17:08:44 +0000 -- done9412022-02-04 17:08:44 +0000 -- Dumping packages ... 9422022-02-04 17:08:44 +0000 -- done943 logs the progress to log file944 backup create fails945 backup_class: Backup::Database, rake_task: "gitlab:backup:db:create", error: #<Backup::DatabaseBackupError: Backup::DatabaseBackupError>946 raises an error with message947 backup_class: Backup::Builds, rake_task: "gitlab:backup:builds:create", error: #<Backup::FileBackupError: Backup::FileBackupError>948 raises an error with message949 backup_class: Backup::Uploads, rake_task: "gitlab:backup:uploads:create", error: #<Backup::FileBackupError: Backup::FileBackupError>950 raises an error with message951 backup_class: Backup::Artifacts, rake_task: "gitlab:backup:artifacts:create", error: #<Backup::FileBackupError: Backup::FileBackupError>952 raises an error with message953 backup_class: Backup::Pages, rake_task: "gitlab:backup:pages:create", error: #<Backup::FileBackupError: Backup::FileBackupError>954 raises an error with message955 backup_class: Backup::Lfs, rake_task: "gitlab:backup:lfs:create", error: #<Backup::FileBackupError: Backup::FileBackupError>956 raises an error with message957 backup_class: Backup::Registry, rake_task: "gitlab:backup:registry:create", error: #<Backup::FileBackupError: Backup::FileBackupError>958 raises an error with message959 tar creation960CONTENT: drwx------ root/root 0 2022-02-04 17:08 repositories/961drwx------ root/root 0 2022-02-04 17:08 repositories/@hashed/962drwx------ root/root 0 2022-02-04 17:08 repositories/@hashed/79/963drwx------ root/root 0 2022-02-04 17:08 repositories/@hashed/79/d6/964-rw------- root/root 2910657 2022-02-04 17:08 repositories/@hashed/79/d6/79d6eaa2676189eb927f2e16a70091474078e2117c3fc607d35cdc6b591ef355.bundle965drwx------ root/root 0 2022-02-04 17:08 repositories/@hashed/79/d6/79d6eaa2676189eb927f2e16a70091474078e2117c3fc607d35cdc6b591ef355/966-rw------- root/root 10240 2022-02-04 17:08 repositories/@hashed/79/d6/79d6eaa2676189eb927f2e16a70091474078e2117c3fc607d35cdc6b591ef355/custom_hooks.tar967-rw------- root/root 5222 2022-02-04 17:08 repositories/@hashed/79/d6/79d6eaa2676189eb927f2e16a70091474078e2117c3fc607d35cdc6b591ef355.refs968drwx------ root/root 0 2022-02-04 17:08 repositories/@hashed/3d/969drwx------ root/root 0 2022-02-04 17:08 repositories/@hashed/3d/32/970-rw------- root/root 2910657 2022-02-04 17:08 repositories/@hashed/3d/32/3d3286f7cd19074f04e514b0c6c237e757513fb32820698b790e1dec801d947a.bundle971-rw------- root/root 5222 2022-02-04 17:08 repositories/@hashed/3d/32/3d3286f7cd19074f04e514b0c6c237e757513fb32820698b790e1dec801d947a.refs972drwx------ root/root 0 2022-02-04 17:08 repositories/@hashed/3d/32/3d3286f7cd19074f04e514b0c6c237e757513fb32820698b790e1dec801d947a/973-rw------- root/root 10240 2022-02-04 17:08 repositories/@hashed/3d/32/3d3286f7cd19074f04e514b0c6c237e757513fb32820698b790e1dec801d947a/custom_hooks.tar974drwx------ root/root 0 2022-02-04 17:08 repositories/@hashed/bb/975drwx------ root/root 0 2022-02-04 17:08 repositories/@hashed/bb/66/976-rw------- root/root 5222 2022-02-04 17:08 repositories/@hashed/bb/66/bb668ca95563216088b98a62557fa1e26802563f3919ac78ae30533bb9ed422c.refs977-rw------- root/root 2910657 2022-02-04 17:08 repositories/@hashed/bb/66/bb668ca95563216088b98a62557fa1e26802563f3919ac78ae30533bb9ed422c.bundle978drwx------ root/root 0 2022-02-04 17:08 repositories/@hashed/bb/66/bb668ca95563216088b98a62557fa1e26802563f3919ac78ae30533bb9ed422c/979-rw------- root/root 10240 2022-02-04 17:08 repositories/@hashed/bb/66/bb668ca95563216088b98a62557fa1e26802563f3919ac78ae30533bb9ed422c/custom_hooks.tar980drwx------ root/root 0 2022-02-04 17:08 repositories/@hashed/28/981drwx------ root/root 0 2022-02-04 17:08 repositories/@hashed/28/4d/982-rw------- root/root 2910657 2022-02-04 17:08 repositories/@hashed/28/4d/284de502c9847342318c17d474733ef468fbdbe252cddf6e4b4be0676706d9d0.bundle983-rw------- root/root 5222 2022-02-04 17:08 repositories/@hashed/28/4d/284de502c9847342318c17d474733ef468fbdbe252cddf6e4b4be0676706d9d0.refs984drwxr-xr-x root/root 0 2022-02-04 17:08 db/985-rw------- root/root 323857 2022-02-04 17:08 db/database.sql.gz986-rw------- root/root 145 2022-02-04 17:08 uploads.tar.gz987-rw------- root/root 145 2022-02-04 17:08 builds.tar.gz988-rw------- root/root 144 2022-02-04 17:08 artifacts.tar.gz989-rw------- root/root 144 2022-02-04 17:08 pages.tar.gz990-rw------- root/root 189 2022-02-04 17:08 lfs.tar.gz991-rw------- root/root 144 2022-02-04 17:08 terraform_state.tar.gz992-rw------- root/root 189 2022-02-04 17:08 registry.tar.gz993-rw------- root/root 190 2022-02-04 17:08 packages.tar.gz994 sets correct permissions on the tar contents995 deletes temp directories996 archive file permissions997 sets correct permissions on the tar file998 with custom archive_permissions999 uses the custom permissions1000 registry disabled1001 does not create registry.tar.gz1002 multiple repository storages1003 no concurrency1004 behaves like includes repositories in all repository storages1005 aggregate_failures1006 with concurrency1007 behaves like includes repositories in all repository storages1008 aggregate_failures1009 concurrency settings1010 has defaults1011 passes through concurrency environment variables1012 CRON env is set1013 does not output to stdout1014 Skipping items in a backup1015 does not contain repositories and uploads1016 does not invoke restore of repositories and uploads1017 skipping tar archive creation1018 created files with backup content and no tar archive1019 those component files can be restored from1020 Human Readable Backup Name1021 name has human readable time1022Git::BranchHooksService1023 Git Push Data1024 has expected push data attributes1025 with repository data1026 has expected attributes1027 with commits1028 is expected to be a kind of Array1029 has 1 element1030 the commit1031 is expected to eq 2014-02-27 08:57:31.000000000 +00001032 includes expected commit data1033 with a author1034 includes expected author data1035 Push Event1036 with an existing branch1037 generates a push event with one commit1038 with changing CI config1039 tracks the event1040 when usage ping is disabled1041 does not track the event1042 when the branch is not the main branch1043 does not track the event1044 when the CI config is a different path1045 does not track the event1046 with a new default branch1047 generates a push event with more than one commit1048 with a new non-default branch1049 generates a push event with more than one commit1050 removing a branch1051 generates a push event with no commits1052 Invalidating project cache1053 on default branch1054 create1055 is expected to receive invalidated_file_types(*(any args)) 1 time1056 update1057 is expected to receive perform_async(207, [:readme], [], false) 1 time1058 remove1059 is expected to receive invalidated_file_types(*(any args)) 1 time1060 on ordinary branch1061 create1062 is expected to receive invalidated_file_types(*(any args)) 1 time1063 update1064 is expected to receive invalidated_file_types(*(any args)) 1 time1065 remove1066 is expected to receive invalidated_file_types(*(any args)) 1 time1067 signatures1068 when the commit has a signature1069 when the signature is already cached1070 does not queue a CreateCommitSignatureWorker1071 when the signature is not yet cached1072 queues a CreateCommitSignatureWorker1073 can queue several commits to create the gpg signature1074 when the commit does not have a signature1075 does not queue a CreateCommitSignatureWorker1076 Processing commit messages1077 creating the default branch1078 processes a limited number of commit messages1079 updating the default branch1080 processes a limited number of commit messages1081 removing the default branch1082 does not process commit messages1083 creating a normal branch1084 processes a limited number of commit messages1085 updating a normal branch1086 processes a limited number of commit messages1087 removing a normal branch1088 does not process commit messages1089 when the project is forked1090 when commits already exists in the upstream project1091 does not process commit messages1092 when a commit does not exist in the upstream repo1093 processes the commit message1094 when the upstream project no longer exists1095 processes the commit messages1096 New branch detection1097 oldrev is the blank SHA1098 is treated as a new branch1099 oldrev is set1100 Gitaly does not know about the branch1101 is treated as a new branch1102 Gitaly knows about the branch1103 is not treated as a new branch1104 Metrics dashboard sync1105 with default branch1106 when adding files1107 also related1108 imports metrics to database1109 only unrelated1110 does not sync metrics to database1111 when deleting files1112 also related1113 imports metrics to database1114 only unrelated1115 does not sync metrics to database1116 when updating files1117 also related1118 imports metrics to database1119 only unrelated1120 does not sync metrics to database1121 without changes1122 does not sync metrics to database1123 with other branch1124 does not sync metrics to database1125Groups::DestroyService1126 asynchronous delete1127 behaves like group destruction1128 database records1129 is expected not to include #<Group id:742 @group46>1130 is expected not to include #<Group id:749 @group48/group49>1131 is expected not to include #<Project id:242 group50/project238>>1132 is expected not to include #<NotificationSetting id: 243, user_id: 468, source_id: 760, source_type: "Namespace", level: "global...: nil, moved_project: true, change_reviewer_merge_request: nil, merge_when_pipeline_succeeds: false>1133 mattermost team1134 destroys the team too1135 file system1136 Sidekiq inline1137 verifies that paths have been deleted1138 Sidekiq fake1139 verifies original paths and projects still exist1140 synchronous delete1141 behaves like group destruction1142 database records1143 is expected not to include #<Group id:784 @group60>1144 is expected not to include #<Group id:791 @group62/group63>1145 is expected not to include #<Project id:249 group64/project245>>1146 is expected not to include #<NotificationSetting id: 264, user_id: 489, source_id: 802, source_type: "Namespace", level: "global...: nil, moved_project: true, change_reviewer_merge_request: nil, merge_when_pipeline_succeeds: false>1147 mattermost team1148 destroys the team too1149 file system1150 Sidekiq inline1151 verifies that paths have been deleted1152 projects in pending_delete1153 behaves like group destruction1154 database records1155 is expected not to include #<Group id:820 @group72>1156 is expected not to include #<Group id:827 @group74/group75>1157 is expected not to include #<Project id:255 group76/project251>>1158 is expected not to include #<NotificationSetting id: 282, user_id: 507, source_id: 838, source_type: "Namespace", level: "global...: nil, moved_project: true, change_reviewer_merge_request: nil, merge_when_pipeline_succeeds: false>1159 mattermost team1160 destroys the team too1161 file system1162 Sidekiq inline1163 verifies that paths have been deleted1164 repository removal status is taken into account1165 raises exception1166 repository removal1167 legacy storage1168 removes repository1169 hashed storage1170 removes repository1171 authorization updates1172 for solo groups1173 group is deleted1174 updates project authorization1175 does not make use of a specific service to update project_authorizations records1176 for shared groups within different hierarchies1177 when a project is shared with a group1178 and the shared group is deleted1179 updates project authorizations so group2 users no longer have access1180 calls the service to update project authorizations only with necessary user ids1181 and the group is shared with another group1182 updates project authorizations so group2 and group3 users no longer have access1183 calls the service to update project authorizations only with necessary user ids1184 when a group is shared with a group1185 and the shared group is deleted1186 updates project authorizations since the project has been deleted with the group1187 does not call the service to update project authorizations1188 the shared_with group is deleted1189 updates project authorizations so users of both groups lose access1190 calls the service to update project authorizations only with necessary user ids1191 for shared groups in the same group hierarchy1192 the shared group is deleted1193 updates project authorization1194 does not make use of a specific service to update project authorizations1195 the shared_with group is deleted1196 updates project authorization1197 makes use of a specific service to update project authorizations1198Users::MigrateToGhostUserService1199 migrating a user's associated records to the ghost user1200 issues1201 deleted user is present as both author and edited_user1202 for a issue the user has created1203 does not delete the issue1204 blocks the user before migrating issues to the 'Ghost User'1205 migrates all associated fields to the "Ghost user"1206 race conditions1207 blocks the user before issue migration begins1208 when issue migration fails and is rolled back1209 rolls back the user block1210 doesn't unblock a previously-blocked user1211 deleted user is present only as edited_user1212 for a issue the user has created1213 does not delete the issue1214 blocks the user before migrating issues to the 'Ghost User'1215 migrates all associated fields to the "Ghost user"1216 race conditions1217 blocks the user before issue migration begins1218 when issue migration fails and is rolled back1219 rolls back the user block1220 doesn't unblock a previously-blocked user1221 merge requests1222 deleted user is present as both author and merge_user1223 for a merge request the user has created1224 does not delete the merge request1225 blocks the user before migrating merge requests to the 'Ghost User'1226 migrates all associated fields to the "Ghost user"1227 race conditions1228 blocks the user before merge request migration begins1229 when merge request migration fails and is rolled back1230 rolls back the user block1231 doesn't unblock a previously-blocked user1232 deleted user is present only as both merge_user1233 for a merge request the user has created1234 does not delete the merge request1235 blocks the user before migrating merge requests to the 'Ghost User'1236 migrates all associated fields to the "Ghost user"1237 race conditions1238 blocks the user before merge request migration begins1239 when merge request migration fails and is rolled back1240 rolls back the user block1241 doesn't unblock a previously-blocked user1242 notes1243 for a note the user has created1244 does not delete the note1245 blocks the user before migrating notes to the 'Ghost User'1246 migrates all associated fields to the "Ghost user"1247 race conditions1248 blocks the user before note migration begins1249 when note migration fails and is rolled back1250 rolls back the user block1251 doesn't unblock a previously-blocked user1252 abuse reports1253 for a abuse report the user has created1254 does not delete the abuse report1255 blocks the user before migrating abuse reports to the 'Ghost User'1256 migrates all associated fields to the "Ghost user"1257 race conditions1258 blocks the user before abuse report migration begins1259 when abuse report migration fails and is rolled back1260 rolls back the user block1261 doesn't unblock a previously-blocked user1262 award emoji1263 for a award emoji the user has created1264 does not delete the award emoji1265 blocks the user before migrating award emojis to the 'Ghost User'1266 migrates all associated fields to the "Ghost user"1267 race conditions1268 blocks the user before award emoji migration begins1269 when award emoji migration fails and is rolled back1270 rolls back the user block1271 doesn't unblock a previously-blocked user1272 when the awardable already has an award emoji of the same name assigned to the ghost user1273 migrates the award emoji regardless1274 does not leave the migrated award emoji in an invalid state1275 snippets1276 for a snippet the user has created1277 does not delete the snippet1278 blocks the user before migrating snippets to the 'Ghost User'1279 migrates all associated fields to the "Ghost user"1280 race conditions1281 blocks the user before snippet migration begins1282 when snippet migration fails and is rolled back1283 rolls back the user block1284 doesn't unblock a previously-blocked user1285 reviews1286 for a review the user has created1287 does not delete the review1288 blocks the user before migrating reviews to the 'Ghost User'1289 migrates all associated fields to the "Ghost user"1290 race conditions1291 blocks the user before review migration begins1292 when review migration fails and is rolled back1293 rolls back the user block1294 doesn't unblock a previously-blocked user1295Todo1296 relationships1297 is expected to belong to author class_name => User required: false1298 is expected to belong to note required: false1299 is expected to belong to project required: false1300 is expected to belong to group required: false1301 is expected to belong to target required: false1302 is expected to belong to user required: false1303 respond to1304 is expected to respond to #author_name1305 is expected to respond to #author_email1306 validations1307 is expected to validate that :action cannot be empty/falsy1308 is expected to validate that :target_type cannot be empty/falsy1309 is expected to validate that :user cannot be empty/falsy1310 is expected to validate that :author cannot be empty/falsy1311 for commits1312 is expected to validate that :commit_id cannot be empty/falsy1313 is expected not to validate that :target_id cannot be empty/falsy1314 for issuables1315 is expected to validate that :target_id cannot be empty/falsy1316 is expected not to validate that :commit_id cannot be empty/falsy1317 #body1318 returns target title when note is blank1319 returns note when note is present1320 #done1321 changes state to done1322 does not raise error when is already done1323 #for_commit?1324 returns true when target is a commit1325 returns false when target is an issuable1326 #for_design?1327 returns true when target is a Design1328 returns false when target is not a Design1329 #for_alert?1330 returns true when target is a Alert1331 returns false when target is not a Alert1332 #target1333 returns the issuable for issuables1334 for commits1335 returns an instance of Commit when exists1336 returns nil when does not exists1337 #target_reference1338 returns commit full reference with short id1339 returns full reference for issuables1340 #self_added?1341 is true when the user is the author1342 is false when the user is not the author1343 #done?1344 returns true for todos with done state1345 returns false for todos with state pending1346 #self_assigned?1347 when self_added1348 returns true for ASSIGNED1349 returns true for REVIEW_REQUESTED1350 returns false for other action1351 when todo is not self_added1352 returns false1353 .for_action1354 returns the todos for a given action1355 .for_author1356 returns the todos for a given author1357 .for_project1358 returns the todos for a given project1359 returns the todos for many projects1360 .for_undeleted_projects1361 returns the todos for a given project1362 when todo belongs to deleted project1363 excludes todos of deleted projects1364 .for_group1365 returns the todos for a given group1366 .for_type1367 returns the todos for a given target type1368 .for_target1369 returns the todos for a given target1370 .for_commit1371 returns the todos for a commit ID1372 .for_group_ids_and_descendants1373 returns the todos for a group and its descendants1374 .for_user1375 returns the expected todos1376 .for_note1377 returns todos that belongs to notes1378 .group_by_user_id_and_state1379 is expected to eq {[890, "done"]=>1, [890, "pending"]=>2, [891, "pending"]=>1}1380 .any_for_target?1381 returns true if there are todos for a given target1382 returns true if there is at least one todo for a given target with state pending1383 returns false if there are only todos for a given target with state done while searching for pending1384 returns false if there are no todos for a given target1385 .batch_update1386 updates the state of todos1387 does not update todos that already have the given state1388 updates updated_at1389 .distinct_user_ids1390 is expected to contain exactly 915 and 9161391Gitlab::Ci::YamlProcessor1392 #build_attributes1393 attributes list1394 returns valid build attributes1395 with job rules1396 returns valid build attributes1397 coverage entry1398 code coverage regexp1399 includes coverage regexp in build attributes1400 tags entry with default values1401 applies default values1402 interruptible entry1403 returns interruptible when overridden for job1404 interruptible job1405 is expected to be truthy1406 interruptible job with default value1407 is expected not to have key :interruptible1408 uninterruptible job1409 is expected to be falsy1410 retry entry1411 when retry count is specified1412 includes retry count in build options attribute1413 when retry count is not specified1414 does not persist retry count in the database1415 when retry count is specified by default1416 does use the default value1417 when retry count default value is overridden1418 does use the job value1419 allow failure entry1420 when job is a manual action1421 when allow_failure is defined1422 is not allowed to fail1423 when allow_failure is not defined1424 is allowed to fail1425 when allow_failure has exit_codes1426 is not allowed to fail1427 saves allow_failure_criteria into options1428 when job is not a manual action1429 when allow_failure is defined1430 is not allowed to fail1431 when allow_failure is not defined1432 is not allowed to fail1433 when allow_failure is dynamically specified1434 is not allowed to fail1435 saves allow_failure_criteria into options1436 delayed job entry1437 when delayed is defined1438 has the attributes1439 resource group1440 when resource group is defined1441 has the attributes1442 #stages_attributes1443 returns stages seed attributes1444 workflow attributes1445 with disallowed workflow:variables1446 behaves like returns errors1447 adds a message when an error is encountered1448 with rules and variables1449 parses the workflow:rules configuration1450 parses the root:variables as #root_variables1451 with rules and no variables1452 parses the workflow:rules configuration1453 parses the root:variables as #root_variables1454 with variables and no rules1455 parses the workflow:rules configuration1456 parses the root:variables as #root_variables1457 with no rules and no variables1458 parses the workflow:rules configuration1459 parses the root:variables as #root_variables1460 #warnings1461 when a warning is raised in a given entry1462 is propagated all the way up to the processor1463 when a warning is raised together with errors1464 is propagated all the way up into the raised exception1465 behaves like returns errors1466 adds a message when an error is encountered1467 when error is raised before composing the config1468 has empty warnings1469 behaves like returns errors1470 adds a message when an error is encountered1471 when error is raised after composing the config with warnings1472 when stage does not exist1473 behaves like has warnings and expected error1474 returns errors and warnings1475 job dependency does not exist1476 behaves like has warnings and expected error1477 returns errors and warnings1478 job dependency defined in later stage1479 behaves like has warnings and expected error1480 returns errors and warnings1481 only / except policies validations1482 when `only` has an invalid value1483 when it is integer1484 behaves like returns errors1485 adds a message when an error is encountered1486 when it is an array of integers1487 behaves like returns errors1488 adds a message when an error is encountered1489 when it is invalid regex1490 behaves like returns errors1491 adds a message when an error is encountered1492 when `except` has an invalid value1493 when it is integer1494 behaves like returns errors1495 adds a message when an error is encountered1496 when it is an array of integers1497 behaves like returns errors1498 adds a message when an error is encountered1499 when it is invalid regex1500 behaves like returns errors1501 adds a message when an error is encountered1502 Scripts handling1503 before_script1504 in global context1505 inherit: nil, result: ["global script"]1506 is expected to eq ["global script"]1507 inherit: {:default=>false}, result: nil1508 is expected to eq nil1509 inherit: {:default=>true}, result: ["global script"]1510 is expected to eq ["global script"]1511 inherit: {:default=>["before_script"]}, result: ["global script"]1512 is expected to eq ["global script"]1513 inherit: {:default=>["image"]}, result: nil1514 is expected to eq nil1515 in default context1516 inherit: nil, result: ["global script"]1517 is expected to eq ["global script"]1518 inherit: {:default=>false}, result: nil1519 is expected to eq nil1520 inherit: {:default=>true}, result: ["global script"]1521 is expected to eq ["global script"]1522 inherit: {:default=>["before_script"]}, result: ["global script"]1523 is expected to eq ["global script"]1524 inherit: {:default=>["image"]}, result: nil1525 is expected to eq nil1526 overwritten in local context1527 return commands with scripts concatenated1528 when script is nested arrays of strings1529 return commands with scripts concatenated1530 script1531 when script is array of strings1532 return commands with scripts concatenated1533 when script is nested arrays of strings1534 return commands with scripts concatenated1535 after_script1536 in global context1537 return after_script in options1538 in default context1539 return after_script in options1540 overwritten in local context1541 return after_script in options1542 when script is nested arrays of strings1543 return after_script in options1544 Image and service handling1545 when extended docker configuration is used1546 returns image and service when defined1547 returns image and service when overridden for job1548 when etended docker configuration is not used1549 returns image and service when defined1550 returns image and service when overridden for job1551 Variables1552 when global variables are defined1553 returns global variables1554 when job variables are defined1555 when syntax is correct1556 returns job variables1557 when syntax is incorrect1558 when variables defined but invalid1559 behaves like returns errors1560 adds a message when an error is encountered1561 when variables key defined but value not specified1562 returns empty array1563 when job variables are not defined1564 returns empty array1565 when using `extends`1566 when using simple `extends`1567 correctly extends rspec job1568 when overriding `extends`1569 correctly extends jobs1570 when using recursive `extends`1571 correctly extends rspec job1572 Include1573 when validating a ci config file with no project context1574 when a single string is provided1575 behaves like returns errors1576 adds a message when an error is encountered1577 when an array is provided1578 behaves like returns errors1579 adds a message when an error is encountered1580 when an array of wrong keyed object is provided1581 behaves like returns errors1582 adds a message when an error is encountered1583 when an array of mixed typed objects is provided1584 is expected to be valid1585 when the include type is incorrect1586 behaves like returns errors1587 adds a message when an error is encountered1588 when validating a ci config file within a project1589 when the included internal file is present1590 is expected to be valid1591 adds the job from the included file1592 when the included internal file is not present1593 behaves like returns errors1594 adds a message when an error is encountered1595 when:1596 on_success creates one build and sets when:1597 on_failure creates one build and sets when:1598 always creates one build and sets when:1599 manual creates one build and sets when:1600 delayed1601 with start_in1602 creates one build and sets when:1603 without start_in1604 behaves like returns errors1605 adds a message when an error is encountered1606 Parallel1607 when job is parallelized1608 returns parallelized jobs1609 does not have the original job1610 with build matrix1611 returns the number of parallelized jobs1612 returns the parallel config1613 sets matrix variables1614 does not have the original job1615 cache1616 returns cache when defined globally1617 returns cache when defined in default context1618 returns cache key/s when defined in a job1619 returns cache files1620 returns cache files with prefix1621 overwrite cache when defined for a job and globally1622 when cache definition has unknown keys1623 behaves like returns errors1624 adds a message when an error is encountered1625 Artifacts1626 returns artifacts when defined1627 returns artifacts with expire_in never keyword1628 returns artifacts for when on_success defined1629 returns artifacts for when on_failure defined1630 returns artifacts for when always defined1631 populates a build options with complete artifacts configuration1632 when artifacts syntax is wrong1633 behaves like returns errors1634 adds a message when an error is encountered1635 release1636 returns release info1637 #environment1638 when a production environment is specified1639 does return production1640 when hash is specified1641 does return production and URL1642 the url has a port as variable1643 allows a variable for the port1644 when no environment is specified1645 does return nil environment1646 is not a string1647 behaves like returns errors1648 adds a message when an error is encountered1649 is not a valid string1650 behaves like returns errors1651 adds a message when an error is encountered1652 when on_stop is specified1653 with matching job1654 does return a list of builds1655 without matching job1656 behaves like returns errors1657 adds a message when an error is encountered1658 with close job without environment1659 behaves like returns errors1660 adds a message when an error is encountered1661 with close job for different environment1662 behaves like returns errors1663 adds a message when an error is encountered1664 with close job without stop action1665 behaves like returns errors1666 adds a message when an error is encountered1667 Timeout1668 when no timeout was provided1669 does not include job_timeout1670 when an invalid timeout was provided1671 behaves like returns errors1672 adds a message when an error is encountered1673 when some valid timeout was provided1674 returns provided timeout value1675 Dependencies1676 no dependencies1677 is expected to be valid1678 dependencies to builds1679 is expected to be valid1680 dependencies to builds defined as symbols1681 is expected to be valid1682 undefined dependency1683 behaves like returns errors1684 adds a message when an error is encountered1685 dependencies to deploy1686 behaves like returns errors1687 adds a message when an error is encountered1688 when a job depends on another job that references a not-yet defined stage1689 behaves like returns errors1690 adds a message when an error is encountered1691 Job Needs1692 no needs1693 is expected to be valid1694 needs a job from the same stage1695 creates jobs with valid specifications1696 needs two builds1697 does create jobs with valid specification1698 needs two builds1699 does create jobs with valid specification1700 needs parallel job1701 does create jobs with valid specification1702 needs dependencies artifacts1703 does create jobs with valid specification1704 undefined need1705 behaves like returns errors1706 adds a message when an error is encountered1707 needs to deploy1708 behaves like returns errors1709 adds a message when an error is encountered1710 duplicate needs1711 behaves like returns errors1712 adds a message when an error is encountered1713 needs and dependencies that are mismatching1714 behaves like returns errors1715 adds a message when an error is encountered1716 needs with a Hash type and dependencies with a string type that are mismatching1717 behaves like returns errors1718 adds a message when an error is encountered1719 needs with an array type and dependency with a string type1720 behaves like returns errors1721 adds a message when an error is encountered1722 needs with a string type and dependency with an array type1723 behaves like returns errors1724 adds a message when an error is encountered1725 needs with a Hash type and dependency with a string type1726 behaves like returns errors1727 adds a message when an error is encountered1728 with when/rules1729 is expected to be valid1730 returns all jobs regardless of their inclusion1731 used with job-level when1732 is expected to be valid1733 used with job-level when:delayed1734 behaves like returns errors1735 adds a message when an error is encountered1736 cross pipeline needs1737 when configuration is valid1738 returns a valid configuration and sets artifacts: true by default1739 when pipeline ID is hard-coded1740 returns a valid configuration and sets artifacts: true by default1741 when configuration is not valid1742 returns an error1743 Hidden jobs1744 when hidden job have a script definition1745 behaves like hidden_job_handling1746 doesn't create jobs that start with dot1747 when hidden job doesn't have a script definition1748 behaves like hidden_job_handling1749 doesn't create jobs that start with dot1750 YAML Alias/Anchor1751 when template is a job1752 behaves like job_templates_handling1753 is correctly supported for jobs1754 when template is a hidden job1755 behaves like job_templates_handling1756 is correctly supported for jobs1757 when job adds its own keys to a template definition1758 behaves like job_templates_handling1759 is correctly supported for jobs1760 with parent-child pipeline1761 when artifact and job are specified1762 is expected to be valid1763 when job is not specified while artifact is1764 behaves like returns errors1765 adds a message when an error is encountered1766 when project and file are specified1767 is expected to be valid1768 when file is not specified while project is1769 behaves like returns errors1770 adds a message when an error is encountered1771 when include is a string1772 is expected to be valid1773 Error handling1774 when YAML syntax is invalid1775 behaves like returns errors1776 adds a message when an error is encountered1777 when object is invalid1778 behaves like returns errors1779 adds a message when an error is encountered1780 returns errors if tags parameter is invalid1781 behaves like returns errors1782 adds a message when an error is encountered1783 returns errors if job before_script parameter is not an array of strings1784 behaves like returns errors1785 adds a message when an error is encountered1786 returns errors if job after_script parameter is not an array of strings1787 behaves like returns errors1788 adds a message when an error is encountered1789 returns errors if image parameter is invalid1790 behaves like returns errors1791 adds a message when an error is encountered1792 returns errors if job name is blank1793 behaves like returns errors1794 adds a message when an error is encountered1795 returns errors if job name is non-string1796 behaves like returns errors1797 adds a message when an error is encountered1798 returns errors if job image parameter is invalid1799 behaves like returns errors1800 adds a message when an error is encountered1801 returns errors if services parameter is not an array1802 behaves like returns errors1803 adds a message when an error is encountered1804 returns errors if services parameter is not an array of strings1805 behaves like returns errors1806 adds a message when an error is encountered1807 returns errors if job services parameter is not an array1808 behaves like returns errors1809 adds a message when an error is encountered1810 returns errors if job services parameter is not an array of strings1811 behaves like returns errors1812 adds a message when an error is encountered1813 returns error if job configuration is invalid1814 behaves like returns errors1815 adds a message when an error is encountered1816 returns errors if services configuration is not correct1817 behaves like returns errors1818 adds a message when an error is encountered1819 returns errors if there are no jobs defined1820 behaves like returns errors1821 adds a message when an error is encountered1822 returns errors if the job script is not defined1823 behaves like returns errors1824 adds a message when an error is encountered1825 returns errors if there are no visible jobs defined1826 behaves like returns errors1827 adds a message when an error is encountered1828 returns errors if job allow_failure parameter is not an boolean1829 behaves like returns errors1830 adds a message when an error is encountered1831 returns errors if job exit_code parameter from allow_failure is not an integer1832 behaves like returns errors1833 adds a message when an error is encountered1834 returns errors if job stage is not a string1835 behaves like returns errors1836 adds a message when an error is encountered1837 returns errors if job stage is not a pre-defined stage1838 behaves like returns errors1839 adds a message when an error is encountered1840 returns errors if job stage is not a defined stage1841 behaves like returns errors1842 adds a message when an error is encountered1843 returns errors if stages is not an array1844 behaves like returns errors1845 adds a message when an error is encountered1846 returns errors if stages is not an array of strings1847 behaves like returns errors1848 adds a message when an error is encountered1849 returns errors if variables is not a map1850 behaves like returns errors1851 adds a message when an error is encountered1852 returns errors if variables is not a map of key-value strings1853 behaves like returns errors1854 adds a message when an error is encountered1855 returns errors if job when is not on_success, on_failure or always1856 behaves like returns errors1857 adds a message when an error is encountered1858 returns errors if job artifacts:name is not an a string1859 behaves like returns errors1860 adds a message when an error is encountered1861 returns errors if job artifacts:when is not an a predefined value1862 behaves like returns errors1863 adds a message when an error is encountered1864 returns errors if job artifacts:expire_in is not an a string1865 behaves like returns errors1866 adds a message when an error is encountered1867 returns errors if job artifacts:expire_in is not an a valid duration1868 behaves like returns errors1869 adds a message when an error is encountered1870 returns errors if job artifacts:untracked is not an array of strings1871 behaves like returns errors1872 adds a message when an error is encountered1873 returns errors if job artifacts:paths is not an array of strings1874 behaves like returns errors1875 adds a message when an error is encountered1876 returns errors if cache:untracked is not an array of strings1877 behaves like returns errors1878 adds a message when an error is encountered1879 returns errors if cache:paths is not an array of strings1880 behaves like returns errors1881 adds a message when an error is encountered1882 returns errors if cache:key is not a string1883 behaves like returns errors1884 adds a message when an error is encountered1885 returns errors if job cache:key is not an a string1886 behaves like returns errors1887 adds a message when an error is encountered1888 returns errors if job cache:key:files is not an array of strings1889 behaves like returns errors1890 adds a message when an error is encountered1891 returns errors if job cache:key:files is an empty array1892 behaves like returns errors1893 adds a message when an error is encountered1894 returns errors if job defines only cache:key:prefix1895 behaves like returns errors1896 adds a message when an error is encountered1897 returns errors if job cache:key:prefix is not an a string1898 behaves like returns errors1899 adds a message when an error is encountered1900 returns errors if job cache:untracked is not an array of strings1901 behaves like returns errors1902 adds a message when an error is encountered1903 returns errors if job cache:paths is not an array of strings1904 behaves like returns errors1905 adds a message when an error is encountered1906 returns errors if job dependencies is not an array of strings1907 behaves like returns errors1908 adds a message when an error is encountered1909 returns errors if pipeline variables expression policy is invalid1910 behaves like returns errors1911 adds a message when an error is encountered1912 returns errors if pipeline changes policy is invalid1913 behaves like returns errors1914 adds a message when an error is encountered1915 returns errors if extended hash configuration is invalid1916 behaves like returns errors1917 adds a message when an error is encountered1918 returns errors if parallel is invalid1919 behaves like returns errors1920 adds a message when an error is encountered1921 when the pipeline has a circular dependency1922 behaves like returns errors1923 adds a message when an error is encountered1924 #execute1925 when the YAML could not be parsed1926 returns errors and empty configuration1927 when the tags parameter is invalid1928 returns errors and empty configuration1929 when the configuration contains multiple keyword-syntax errors1930 returns errors and empty configuration1931 when YAML content is empty1932 returns errors and empty configuration1933 when the YAML contains an unknown alias1934 returns errors and empty configuration1935 when the YAML is valid1936 returns errors and empty configuration1937Banzai::Filter::References::MergeRequestReferenceFilter1938 requires project context1939 ignores valid references contained inside 'pre' element1940 ignores valid references contained inside 'code' element1941 ignores valid references contained inside 'a' element1942 ignores valid references contained inside 'style' element1943 performance1944 does not have a N+1 query problem1945 all references1946 adds merge request iid1947 adds project data attribute with project id1948 does not add `has-tooltip` class1949 internal reference1950 links to a valid reference1951 links with adjacent text1952 ignores invalid merge IDs1953 ignores out-of-bounds merge request IDs on the referenced project1954 has no title1955 escapes the title attribute1956 includes default classes, without tooltip1957 includes a data-project attribute1958 includes a data-merge-request attribute1959 includes a data-reference-format attribute1960 includes a data-reference-format attribute for URL references1961 supports an :only_path context1962 cross-project / cross-namespace complete reference1963 links to a valid reference1964 link has valid text1965 has valid text1966 has correct data attributes1967 ignores invalid merge IDs on the referenced project1968 cross-project / same-namespace complete reference1969 links to a valid reference1970 link has valid text1971 has valid text1972 ignores invalid merge IDs on the referenced project1973 cross-project shorthand reference1974 links to a valid reference1975 link has valid text1976 has valid text1977 ignores invalid merge IDs on the referenced project1978 URL reference for a commit1979 links to a valid reference1980 commit ref tag is valid1981 has valid text1982 has valid title attribute1983 ignores invalid commit short_ids on link text1984 cross-project URL reference1985 links to a valid reference1986 links with adjacent text1987 group context1988 links to a valid reference1989Gitlab::Ci::Trace1990 associations1991 is expected to respond to #job1992 is expected to delegate #old_trace to the #job object1993 when trace is migrated to object storage1994 reloads the trace in case of a chunk error1995 when live trace feature is disabled1996 behaves like trace with disabled live trace feature1997 behaves like common trace features1998 #html1999 returns formatted html2000 returns last line of formatted html2001 #raw2002 returns raw output2003 returns last line of raw output2004 #read2005 gitlab_ci_archived_trace_consistent_reads feature flag enabled2006 calls ::Ci::Build.sticking.unstick_or_continue_sticking2007 gitlab_ci_archived_trace_consistent_reads feature flag disabled2008 does not call ::Ci::Build.sticking.unstick_or_continue_sticking2009 #extract_coverage2010 matching coverage2011 returns valid coverage2012 no coverage2013 returs nil2014 #extract_sections2015 no sections2016 returs []2017 multiple sections available2018 returns valid sections2019 logs contains "section_start"2020 returns only one section2021 missing section_end2022 returns no sections2023 missing section_start2024 returns no sections2025 inverted section_start section_end2026 returns no sections2027 #write2028 when arhicved trace does not exist yet2029 does not raise an error2030 when arhicved trace already exists2031 raises an error2032 #set2033 returns trace2034 overwrite trace2035 returns new trace2036 runners token2037 hides token2038 hides build token2039 hides token2040 #append2041 returns correct trace2042 tries to append trace at different offset2043 fails with append2044 runners token2045 hides token2046 build token2047 hides token2048 #archive!2049 when live trace chunks exists2050 has job trace_chunks2051 gitlab_ci_archived_trace_consistent_reads feature flag enabled2052 calls ::Ci::Build.sticking.stick2053 gitlab_ci_archived_trace_consistent_reads feature flag disabled2054 does not call ::Ci::Build.sticking.stick2055 when build status is success2056 does not have an archived trace yet2057 when archives2058 has an archived trace2059 when another process has already been archiving2060 blocks concurrent archiving2061 #read2062 when trace artifact exists2063 behaves like read successfully with IO2064 yields with source2065 when current_path (with project_id) exists2066 behaves like read successfully with IO2067 yields with source2068 when db trace exists2069 behaves like read successfully with StringIO2070 yields with source2071 when no sources exist2072 behaves like failed to read2073 yields without source2074 trace handling2075 trace does not exist2076 is expected to equal false2077 when trace artifact exists2078 is expected to be truthy2079 when the trace artifact has been erased2080 is expected to be falsy2081 removes associations2082 new trace path is used2083 trace exist2084 can be erased2085 stored in database2086 trace exist2087 can be erased2088 returns database data2089 #archive!2090 when job does not have trace artifact2091 when trace file stored in default path2092 behaves like archive trace file2093 is expected to eq "f0ec4d8149e55ace7117d95f408160f8c4844b3ad76ee68b0d7e35989a44459e"2094 when failed to create clone file2095 behaves like source trace file stays intact2096 is expected to be truthy2097 when failed to create job artifact record2098 behaves like source trace file stays intact2099 is expected to be truthy2100 when trace is stored in database2101 behaves like archive trace in database2102 is expected to eq "14bf640d204552230ff0c066e0c8d3743baad80467cf04e6512ea271f12f6a73"2103 when failed to create clone file2104 behaves like source trace in database stays intact2105 is expected to eq "Sample trace"2106 when failed to create job artifact record2107 behaves like source trace in database stays intact2108 is expected to eq "Sample trace"2109 when there is a validation error on Ci::Build2110 when erase old trace with 'save'2111 old trace is not deleted2112 behaves like archive trace in database2113 is expected to eq "14bf640d204552230ff0c066e0c8d3743baad80467cf04e6512ea271f12f6a73"2114 when job has trace artifact2115 does not archive2116 when job is not finished yet2117 does not archive2118 #erase!2119 when it is a live trace2120 when trace is stored in database2121 is expected not to be nil2122 removes trace2123 when trace is stored in file storage2124 is expected not to be nil2125 removes trace2126 when it is an archived trace2127 has trace at first2128 removes trace2129 when live trace feature is enabled2130 behaves like trace with enabled live trace feature2131 behaves like common trace features2132 #html2133 returns formatted html2134 returns last line of formatted html2135 #raw2136 returns raw output2137 returns last line of raw output2138 #read2139 gitlab_ci_archived_trace_consistent_reads feature flag enabled2140 calls ::Ci::Build.sticking.unstick_or_continue_sticking2141 gitlab_ci_archived_trace_consistent_reads feature flag disabled2142 does not call ::Ci::Build.sticking.unstick_or_continue_sticking2143 #extract_coverage2144 matching coverage2145 returns valid coverage2146 no coverage2147 returs nil2148 #extract_sections2149 no sections2150 returs []2151 multiple sections available2152 returns valid sections2153 logs contains "section_start"2154 returns only one section2155 missing section_end2156 returns no sections2157 missing section_start2158 returns no sections2159 inverted section_start section_end2160 returns no sections2161 #write2162 when arhicved trace does not exist yet2163 does not raise an error2164 when arhicved trace already exists2165 raises an error2166 #set2167 returns trace2168 overwrite trace2169 returns new trace2170 runners token2171 hides token2172 hides build token2173 hides token2174 #append2175 returns correct trace2176 tries to append trace at different offset2177 fails with append2178 runners token2179 hides token2180 build token2181 hides token2182 #archive!2183 when live trace chunks exists2184 has job trace_chunks2185 gitlab_ci_archived_trace_consistent_reads feature flag enabled2186 calls ::Ci::Build.sticking.stick2187 gitlab_ci_archived_trace_consistent_reads feature flag disabled2188 does not call ::Ci::Build.sticking.stick2189 when build status is success2190 does not have an archived trace yet2191 when archives2192 has an archived trace2193 when another process has already been archiving2194 blocks concurrent archiving2195 #read2196 when trace artifact exists2197 behaves like read successfully with IO2198 yields with source2199 when live trace exists2200 behaves like read successfully with ChunkedIO2201 yields with source2202 when no sources exist2203 behaves like failed to read2204 yields without source2205 trace handling2206 trace does not exist2207 is expected to equal false2208 when trace artifact exists2209 is expected to be truthy2210 when the trace artifact has been erased2211 is expected to be falsy2212 removes associations2213 stored in live trace2214 trace exist2215 can be erased2216 returns live trace data2217 #archived_trace_exist?2218 when trace does not exist2219 is expected to be falsy2220 when archived trace exists2221 is truthy2222 when archived trace record exists but file is not stored2223 is falsy2224 when live trace exists2225 is expected to be falsy2226 #live_trace_exist?2227 when trace does not exist2228 is expected to be falsy2229 when archived trace exists2230 is expected to be falsy2231 when live trace exists2232 is expected to be truthy2233 #archive!2234 when job does not have trace artifact2235 when trace is stored in ChunkedIO2236 behaves like archive trace file in ChunkedIO2237 is expected to eq "f0ec4d8149e55ace7117d95f408160f8c4844b3ad76ee68b0d7e35989a44459e"2238 when failed to create clone file2239 behaves like a pre-commit error2240 does not save the trace artifact2241 behaves like source trace in ChunkedIO stays intact2242 is expected to eq "BUILD TRACE"2243 when failed to create job artifact record2244 behaves like a pre-commit error2245 does not save the trace artifact2246 behaves like source trace in ChunkedIO stays intact2247 is expected to eq "BUILD TRACE"2248 when storing the file raises an error2249 behaves like a post-commit error2250 saves the trace artifact but not the file2251 behaves like source trace in ChunkedIO stays intact2252 is expected to eq "BUILD TRACE"2253 when job has trace artifact2254 does not archive2255 when live trace chunks still exist2256 removes the traces2257 when job is not finished yet2258 does not archive2259 #erase!2260 when it is a live trace2261 is expected not to be nil2262 removes trace2263 when it is an archived trace2264 has trace at first2265 removes trace2266 #update_interval2267 it is not being watched2268 is expected to eq 60 seconds2269 it is being watched2270 returns 3 seconds2271 #being_watched!2272 sets gitlab:ci:trace:<job.id>:watched in redis2273 updates the expiry of gitlab:ci:trace:<job.id>:watched in redis2274 #being_watched?2275 gitlab:ci:trace:<job.id>:watched in redis is set2276 returns true2277 gitlab:ci:trace:<job.id>:watched in redis is not set2278 returns false2279 #lock2280 acquires an exclusive lease on the trace2281 #can_attempt_archival_now?2282 creates the record and returns true2283 #increment_archival_attempts!2284 creates the record and increments its value2285ProjectPresenter2286 #license_short_name2287 when project.repository has a license_key2288 returns the nickname of the license if present2289 returns the name of the license if nickname is not present2290 when project.repository has no license_key but a license_blob2291 returns LICENSE2292 #default_view2293 user not signed in2294 when repository is empty2295 returns wiki if user has repository access and can read wiki, which exists2296 returns activity if user has repository access and can read wiki, which does not exist2297 returns issues if user does not have repository access, but can read issues2298 returns activity if user can read neither wiki nor issues2299 when repository is not empty2300 returns files and readme if user has repository access2301 returns wiki if user does not have repository access and can read wiki, which exists2302 returns activity if user does not have repository or wiki access2303 returns releases anchor2304 user signed in2305 when the user is allowed to see the code2306 returns the project view2307 with wikis enabled and the right policy for the user2308 returns wiki if the user has the right policy and the wiki exists2309 returns activity if the user does not have the right policy2310 with issues as a feature available2311 return issues2312 with no activity, no wikies and no issues2313 returns activity as default2314 #can_current_user_push_code?2315 empty repo2316 returns true if user can push_code2317 returns false if user cannot push_code2318 not empty repo2319 returns true if user can push to default branch2320 returns false if default branch is protected2321 if no current user2322 returns false2323 statistics anchors (empty repo)2324 #files_anchor_data2325 returns files data2326 #storage_anchor_data2327 returns storage data2328 #releases_anchor_data2329 does not return release count2330 #commits_anchor_data2331 returns commits data2332 #branches_anchor_data2333 returns branches data2334 #tags_anchor_data2335 returns tags data2336 statistics anchors2337 #files_anchor_data2338 returns files data2339 #storage_anchor_data2340 returns storage data2341 #releases_anchor_data2342 returns release count if user can read release2343 returns nil if user cannot read release2344 user not signed in2345 returns nil if user is signed out2346 #commits_anchor_data2347 returns commits data2348 #branches_anchor_data2349 returns branches data2350 #tags_anchor_data2351 returns tags data2352 #new_file_anchor_data2353 returns new file data if user can push2354 returns nil if user cannot push2355 when the project is empty2356 is empty for a developer2357 #readme_anchor_data2358 when user can push and README does not exists2359 returns anchor data2360 when README exists2361 returns anchor data2362 #changelog_anchor_data2363 when user can push and CHANGELOG does not exist2364 returns anchor data2365 when CHANGELOG exists2366 returns anchor data2367 #license_anchor_data2368 when user can push and LICENSE does not exist2369 returns anchor data2370 when LICENSE exists2371 returns anchor data2372 #contribution_guide_anchor_data2373 when user can push and CONTRIBUTING does not exist2374 returns anchor data2375 when CONTRIBUTING exists2376 returns anchor data2377 #autodevops_anchor_data2378 when Auto Devops is enabled2379 returns anchor data2380 when user can admin pipeline and CI yml does not exist2381 returns anchor data2382 #kubernetes_cluster_anchor_data2383 when user can create Kubernetes cluster2384 returns link to cluster if only one exists2385 returns link to clusters page if more than one exists2386 returns link to create a cluster if no cluster exists2387 when user cannot create Kubernetes cluster2388 returns nil2389 #upload_anchor_data2390 when a user can push to the default branch2391 returns upload_anchor_data2392 when the user cannot push to default branch2393 returns nil2394 #statistics_buttons2395 orders the items correctly2396 #repo_statistics_buttons2397 empty repo2398 includes a button to configure integrations for maintainers2399 does not include a button if not a maintainer2400 for a guest user2401 orders the items correctly2402 for a developer2403 orders the items correctly2404 initialized repo2405 orders the items correctly2406 #can_setup_review_app?2407 when the ci/cd file is missing2408 is expected to be truthy2409 when the ci/cd file is not missing2410 and the user can create a cluster2411 and there is no cluster associated to this project2412 is expected to be truthy2413 and there is already a cluster associated to this project2414 is expected to be falsey2415 when a group cluster is instantiated2416 and the project belongs to this group2417 is expected to be falsey2418 and the project does not belong to this group2419 is expected to be truthy2420 and there is already an instance cluster2421 is false2422 and the user cannot create a cluster2423 is expected to be falsey2424 #add_code_quality_ci_yml_path2425 is expected to match /code_quality_walkthrough=true.*template=Code-Quality/2426ResourceMilestoneEvent2427 behaves like a resource event2428 importable2429 is expected to respond to #importing?2430 is expected to respond to #imported?2431 validations2432 is expected not to allow :user to be ‹nil›2433 when importing2434 is expected to allow :user to be ‹nil›2435 associations2436 is expected to belong to user required: false2437 .created_after2438 returns the expected events2439 returns no events if time is after last record time2440 behaves like a resource event for issues2441 associations2442 is expected to belong to issue required: false2443 .by_issue2444 returns the expected records for an issue with events2445 returns the expected records for an issue with no events2446 .by_issue_ids_and_created_at_earlier_or_equal_to2447 returns the expected records for an issue with events2448 returns the expected records for an issue with no events2449 #issuable2450 returns the expected issuable2451 behaves like a resource event for merge requests2452 associations2453 is expected to belong to merge_request required: false2454 .by_merge_request2455 returns the expected records for an issue with events2456 returns the expected records for an issue with no events2457 #issuable2458 returns the expected issuable2459 behaves like having unique enum values2460 has unique values in "action"2461 has unique values in "state"2462 behaves like timebox resource event validations2463 validations2464 when issue and merge_request are both nil2465 is expected not to be valid2466 when issue and merge_request are both set2467 is expected not to be valid2468 when issue is set2469 is expected to be valid2470 when merge_request is set2471 is expected to be valid2472 behaves like timebox resource event states2473 states2474 supports state opened for issue2475 supports state closed for issue2476 supports state opened for merge_request2477 supports state closed for merge_request2478 supports state merged for merge_request2479 supports state locked for merge_request2480 behaves like timebox resource event actions2481 #added?2482 behaves like queryable timebox action resource event2483 is true for action add on issue2484 is false for action remove on issue2485 is true for action add on merge_request2486 is false for action remove on merge_request2487 #removed?2488 behaves like queryable timebox action resource event2489 is false for action add on issue2490 is true for action remove on issue2491 is false for action add on merge_request2492 is true for action remove on merge_request2493 behaves like timebox resource tracks issue metrics2494 #issue_usage_metrics2495 tracks usage for issues2496 does not track usage for merge requests2497 associations2498 is expected to belong to milestone required: false2499 #milestone_title2500 returns the expected title2501 when milestone is nil2502 returns nil2503 #milestone_parent2504 when milestone parent is project2505 returns the expected parent2506 when milestone parent is group2507 returns the expected parent2508 when milestone is nil2509 returns nil2510Integrations::UnifyCircuit2511 behaves like chat integration2512 Associations2513 is expected to belong to project required: false2514 is expected to have one service_hook2515 Validations2516 when integration is active2517 is expected to validate that :webhook cannot be empty/falsy2518 behaves like issue tracker integration URL attribute2519 is expected to allow :webhook to be ‹"https://example.com"›2520 is expected not to allow :webhook to be ‹"example.com"›2521 is expected not to allow :webhook to be ‹"ftp://example.com"›2522 is expected not to allow :webhook to be ‹"herp-and-derp"›2523 when integration is inactive2524 is expected not to validate that :webhook cannot be empty/falsy2525 .supported_events2526 does not support deployment_events2527 #execute2528 with push events2529 behaves like triggered Unify Circuit integration2530 calls Unify Circuit API2531 with default branch2532 when only default branch are to be notified2533 behaves like triggered Unify Circuit integration2534 calls Unify Circuit API2535 when only protected branches are to be notified2536 behaves like untriggered Unify Circuit integration2537 does not call Unify Circuit API2538 when default and protected branches are to be notified2539 behaves like triggered Unify Circuit integration2540 calls Unify Circuit API2541 when all branches are to be notified2542 behaves like triggered Unify Circuit integration2543 calls Unify Circuit API2544 with protected branch2545 when only default branch are to be notified2546 behaves like untriggered Unify Circuit integration2547 does not call Unify Circuit API2548 when only protected branches are to be notified2549 behaves like triggered Unify Circuit integration2550 calls Unify Circuit API2551 when default and protected branches are to be notified2552 behaves like triggered Unify Circuit integration2553 calls Unify Circuit API2554 when all branches are to be notified2555 behaves like triggered Unify Circuit integration2556 calls Unify Circuit API2557 with neither default nor protected branch2558 when only default branch are to be notified2559 behaves like untriggered Unify Circuit integration2560 does not call Unify Circuit API2561 when only protected branches are to be notified2562 behaves like untriggered Unify Circuit integration2563 does not call Unify Circuit API2564 when default and protected branches are to be notified2565 behaves like untriggered Unify Circuit integration2566 does not call Unify Circuit API2567 when all branches are to be notified2568 behaves like triggered Unify Circuit integration2569 calls Unify Circuit API2570 with issue events2571 behaves like triggered Unify Circuit integration2572 calls Unify Circuit API2573 with merge events2574 behaves like triggered Unify Circuit integration2575 calls Unify Circuit API2576 with wiki page events2577 behaves like triggered Unify Circuit integration2578 calls Unify Circuit API2579 with note events2580 with commit comment2581 behaves like triggered Unify Circuit integration2582 calls Unify Circuit API2583 with merge request comment2584 behaves like triggered Unify Circuit integration2585 calls Unify Circuit API2586 with issue comment2587 behaves like triggered Unify Circuit integration2588 calls Unify Circuit API2589 with snippet comment2590 behaves like triggered Unify Circuit integration2591 calls Unify Circuit API2592 with pipeline events2593 with failed pipeline2594 behaves like triggered Unify Circuit integration2595 calls Unify Circuit API2596 with succeeded pipeline2597 with default notify_only_broken_pipelines2598 does not call Unify Circuit API2599 when notify_only_broken_pipelines is false2600 behaves like triggered Unify Circuit integration2601 calls Unify Circuit API2602 with default branch2603 when only default branch are to be notified2604 behaves like triggered Unify Circuit integration2605 calls Unify Circuit API2606 when only protected branches are to be notified2607 behaves like untriggered Unify Circuit integration2608 does not call Unify Circuit API2609 when default and protected branches are to be notified2610 behaves like triggered Unify Circuit integration2611 calls Unify Circuit API2612 when all branches are to be notified2613 behaves like triggered Unify Circuit integration2614 calls Unify Circuit API2615 with protected branch2616 when only default branch are to be notified2617 behaves like untriggered Unify Circuit integration2618 does not call Unify Circuit API2619 when only protected branches are to be notified2620 behaves like triggered Unify Circuit integration2621 calls Unify Circuit API2622 when default and protected branches are to be notified2623 behaves like triggered Unify Circuit integration2624 calls Unify Circuit API2625 when all branches are to be notified2626 behaves like triggered Unify Circuit integration2627 calls Unify Circuit API2628 with neither default nor protected branch2629 when only default branch are to be notified2630 behaves like untriggered Unify Circuit integration2631 does not call Unify Circuit API2632 when only protected branches are to be notified2633 behaves like untriggered Unify Circuit integration2634 does not call Unify Circuit API2635 when default and protected branches are to be notified2636 behaves like untriggered Unify Circuit integration2637 does not call Unify Circuit API2638 when all branches are to be notified2639 behaves like triggered Unify Circuit integration2640 calls Unify Circuit API2641 deployment events2642 behaves like untriggered Unify Circuit integration2643 does not call Unify Circuit API2644Gitlab::Git::Commit2645 move this test to gitaly-ruby (PENDING: No reason given)2646 Commit info2647 is expected to eq "67e8ec6fefb"2648 is expected to eq "67e8ec6fefbd371990431891a130dd691f96f841"2649 is expected to eq "67e8ec6fefbd371990431891a130dd691f96f841"2650 is expected to eq "Refactoring specs"2651 is expected to eq 2000-01-01 00:00:00.000000000 +08002652 is expected to eq 2000-01-01 00:00:00.000000000 +08002653 is expected to eq "john@smith.com"2654 is expected to eq "John Smith"2655 is expected to eq "Mike Smith"2656 is expected to eq "mike@smith.com"2657 is expected to be truthy2658 is expected to eq [#<Gitlab::Git::Commit:0x00007f1881a41780 @repository=#<Gitlab::Git::Repository:0x00007f1881a49020 @s...50ec4d3c7ce42ab74dda1d422cb2cbffe1e326", "0e1b353b348f8477bdbec1ef47087171c5032cd9"], @trailers={}>]2659 is expected to eq "4b4918a572fa86f9771e5ba40fbd48e1eb03e2c6"2660 is expected to eq "No commit message"2661 Commit info from gitaly commit2662 is expected to eq "3fb846d2011"2663 is expected to eq "77ecf454436ce60be74b8d506c6a376eada4edd5"2664 is expected to eq "8ee6ff9d469dd6d85367061609501a536fb3d2ea"2665 is expected to eq "My commitMy body"2666 is expected to eq 2022-02-04 17:17:38.000000000 +00002667 is expected to eq "user1146@example.org"2668 is expected to eq "Sidney Jones1240"2669 is expected to eq "Sidney Jones1243"2670 is expected to eq "user1153@example.org"2671 is expected to eq ["344f9b7848cf86ec668351e04accc30a6a56a9c9", "b02151bca99bd2a279ad056f4be3b411e283a926"]2672 non-UTC dates2673 sets timezones correctly2674 body_size != body.size2675 zero body_size2676 is expected to eq "My commit"2677 body_size less than threshold2678 fetches commit message separately2679 body_size greater than threshold2680 returns the suject plus a notice about message size2681 Class methods2682 .find with Gitaly enabled2683 behaves like .find2684 returns first head commit if without params2685 returns valid commit2686 returns an array of parent ids2687 returns valid commit for tag2688 returns nil for non-commit ids2689 returns nil for parent of non-commit object2690 returns nil for nonexisting ids2691 returns nil for id started with dash2692 returns nil for id containing colon2693 returns nil for id containing space2694 returns nil for id containing tab2695 returns nil for id containing NULL2696 with broken repo2697 returns nil2698 .find with Rugged enabled2699 calls out to the Rugged implementation2700 behaves like .find2701 returns first head commit if without params2702 returns valid commit2703 returns an array of parent ids2704 returns valid commit for tag2705 returns nil for non-commit ids2706 returns nil for parent of non-commit object2707 returns nil for nonexisting ids2708 returns nil for id started with dash2709 returns nil for id containing colon2710 returns nil for id containing space2711 returns nil for id containing tab2712 returns nil for id containing NULL2713 with broken repo2714 returns nil2715 .last_for_path2716 no path2717 #id2718 is expected to eq "4b4918a572fa86f9771e5ba40fbd48e1eb03e2c6"2719 path2720 #id2721 is expected to eq "570e7b2abdd848b95f2f578043fc23bd6f6fd24d"2722 pathspec2723 with default literal_pathspec value2724 finds the seed commit2725 with literal_pathspec set to false2726 finds the seed commit2727 with literal_pathspec set to true2728 does not find the seed commit2729 ref + path2730 #id2731 is expected to eq "913c66a37b4a45b9769037c55c2d238bd0942d2e"2732 path is empty string2733 has 10 elements2734 is expected to include "b0e52af38d7ea43cf41d8a6f2471351ac036d6c9"2735 path is nil2736 has 10 elements2737 is expected to include "b0e52af38d7ea43cf41d8a6f2471351ac036d6c9"2738 ref is branch name2739 has 3 elements2740 is expected to include "d14d6c0abdd253381df51a723d58691b2ee1ab08"2741 is expected not to include "eb49186cfa5c4338011f5f590fac11bd66c5c631"2742 ref is commit id2743 has 3 elements2744 is expected to include "2f63565e7aac07bcdadb654e253078b727143ec4"2745 is expected not to include "570e7b2abdd848b95f2f578043fc23bd6f6fd24d"2746 ref is tag2747 has 3 elements2748 is expected to include "874797c3a73b60d2187ed6e2fcabd289ff75171e"2749 is expected not to include "570e7b2abdd848b95f2f578043fc23bd6f6fd24d"2750 .between2751 requesting a single commit2752 is expected to contain exactly "570e7b2abdd848b95f2f578043fc23bd6f6fd24d"2753 requesting a commit range2754 no limit2755 is expected to eq ["570e7b2abdd848b95f2f578043fc23bd6f6fd24d", "5937ac0a7beb003549fc5fd26fc247adbce4a52e", "eb49186cfa5c4338011f5f590fac11bd66c5c631"]2756 limited2757 is expected to eq ["5937ac0a7beb003549fc5fd26fc247adbce4a52e", "eb49186cfa5c4338011f5f590fac11bd66c5c631"]2758 .shas_with_signatures2759 has 2 signed shas2760 has 0 signed shas2761 has 1 signed sha2762 .find_all2763 returns a return a collection of commits2764 max_count2765 has 34 elements2766 includes the expected commits2767 ref + max_count + skip2768 has 24 elements2769 includes the expected commits2770 .batch_by_oid with Gitaly enabled2771 behaves like .batch_by_oid2772 with multiple OIDs2773 returns multiple commits2774 when repo does not exist2775 returns empty commits2776 when oids is empty2777 returns empty commits2778 when oids is empty2779 makes no Gitaly request2780 .batch_by_oid with Rugged enabled2781 calls out to the Rugged implementation2782 behaves like .batch_by_oid2783 with multiple OIDs2784 returns multiple commits2785 when repo does not exist2786 returns empty commits2787 when oids is empty2788 returns empty commits2789 .extract_signature_lazily2790 when the commit is signed2791 returns signature and signed text2792 when the commit has no signature2793 returns nil2794 when the commit cannot be found2795 returns nil2796 when the commit ID is invalid2797 raises ArgumentError2798 when loading signatures in batch once2799 fetches signatures in batch once2800 #init_from_hash2801 #id2802 is expected to eq "570e7b2abdd848b95f2f578043fc23bd6f6fd24d"2803 #message2804 is expected to eq "tree css fixes"2805 #stats2806 #additions2807 is expected to eq 112808 #deletions2809 is expected to eq 62810 #total2811 is expected to eq 172812 #gitaly_commit?2813 when the commit data comes from gitaly2814 is expected to eq true2815 when the commit data comes from a Hash2816 is expected to eq false2817 #has_zero_stats?2818 is expected to eq false2819 #to_hash2820 is expected to be a kind of Hash2821 #keys2822 is expected to match [:author_email, :author_name, :authored_date, :committed_date, :committer_email, :committer_name, :id, :message, :parent_ids, :trailers]2823 #diffs2824 is expected to be a kind of Gitlab::Git::DiffCollection2825 is expected to eq 22826 is expected to be a kind of Gitlab::Git::Diff2827 #ref_names2828 has 2 element2829 is expected to include "master"2830 is expected not to include "feature"2831 #first_ref_by_oid2832 is expected to eq "master"2833 .get_message2834 gets commit messages2835 gets messages in one batch2836MergeRequests::CloseService2837 #execute2838 updates metrics2839 calls the merge request activity counter2840 refreshes the number of open merge requests for a valid MR2841 clean up environments for the merge request2842 schedules CleanupRefsService2843 behaves like cache counters invalidator2844 invalidates counter cache for assignees2845 behaves like merge request reviewers cache counters invalidator2846 invalidates counter cache for reviewers2847 valid params2848 is expected to be valid2849 is expected to be closed2850 executes hooks with close action2851 sends email to user2 about assign of new merge_request2852 creates a resource event2853 marks todos as done2854 removes attention requested state2855 when auto merge is enabled2856 cancels the auto merge2857 current user is not authorized to close merge request2858 does not close the merge request2859MergeRequests::ToggleAttentionRequestedService2860 #execute2861 invalid permissions2862 returns an error2863 reviewer does not exist2864 returns an error2865 reviewer exists2866 returns success2867 updates reviewers state2868 creates a new todo for the reviewer2869 sends email to reviewer2870 removes attention requested state2871 assignee exists2872 returns success2873 updates assignees state2874 creates a new todo for the reviewer2875 creates a request attention system note2876 removes attention requested state2877 assignee is the same as reviewer2878 updates reviewers and assignees state2879 state is attention_requested2880 toggles state to reviewed2881 does not create a new todo for the reviewer2882 creates a remove attention request system note2883Packages::Debian::ExtractMetadataService2884 with invalid2885 behaves like Test Debian ExtractMetadata Service2886 returns file_type :unknown2887 returns architecture nil2888 returns fields nil2889 with source2890 behaves like Test Debian ExtractMetadata Service2891 returns file_type :source2892 returns architecture nil2893 returns fields nil2894 with dsc2895 behaves like Test Debian ExtractMetadata Service2896 returns file_type :dsc2897 returns architecture nil2898 returns fields including {"Binary"=>"sample-dev, libsample0, sample-udeb"}2899 with deb2900 behaves like Test Debian ExtractMetadata Service2901 returns file_type :deb2902 returns architecture "amd64"2903 returns fields including {"Multi-Arch"=>"same"}2904 with udeb2905 behaves like Test Debian ExtractMetadata Service2906 returns file_type :udeb2907 returns architecture "amd64"2908 returns fields including {"Package"=>"sample-udeb"}2909 with buildinfo2910 behaves like Test Debian ExtractMetadata Service2911 returns file_type :buildinfo2912 returns architecture nil2913 returns fields including {"Architecture"=>"amd64 source", "Build-Architecture"=>"amd64"}2914 with changes2915 behaves like Test Debian ExtractMetadata Service2916 returns file_type :changes2917 returns architecture nil2918 returns fields including {"Architecture"=>"source amd64", "Binary"=>"libsample0 sample-dev sample-udeb"}2919 with invalid package file2920 raise error2921ProtectedBranch2922 Associations2923 is expected to belong to project required: false2924 Validation2925 is expected to validate that :project cannot be empty/falsy2926 is expected to validate that :name cannot be empty/falsy2927 #matches?2928 when the protected branch setting is not a wildcard2929 returns true for branch names that are an exact match2930 returns false for branch names that are not an exact match2931 when the protected branch name contains wildcard(s)2932 when there is a single '*'2933 returns true for branch names matching the wildcard2934 returns false for branch names not matching the wildcard2935 when the wildcard contains regex symbols other than a '*'2936 returns true for branch names matching the wildcard2937 returns false for branch names not matching the wildcard2938 when there are '*'s at either end2939 returns true for branch names matching the wildcard2940 returns false for branch names not matching the wildcard2941 when there are arbitrarily placed '*'s2942 returns true for branch names matching the wildcard2943 returns false for branch names not matching the wildcard2944 #matching2945 for direct matches2946 returns a list of protected branches matching the given branch name2947 accepts a list of protected branches to search from, so as to avoid a DB call2948 for wildcard matches2949 returns a list of protected branches matching the given branch name2950 accepts a list of protected branches to search from, so as to avoid a DB call2951 #protected?2952 existing project2953 returns true when the branch matches a protected branch via direct match2954 returns true when the branch matches a protected branch via wildcard match2955 returns false when the branch does not match a protected branch via direct match2956 returns false when the branch does not match a protected branch via wildcard match2957 returns false when branch name is nil2958 with caching2959 correctly invalidates a cache2960 correctly uses the cached version2961 new project2962 when the group has set their own default_branch_protection level2963 default_branch_protection_level: 0, result: false2964 protects the default branch based on the default branch protection setting of the group2965 default_branch_protection_level: 1, result: false2966 protects the default branch based on the default branch protection setting of the group2967 default_branch_protection_level: 3, result: true2968 protects the default branch based on the default branch protection setting of the group2969 default_branch_protection_level: 2, result: true2970 protects the default branch based on the default branch protection setting of the group2971 when the group has not set their own default_branch_protection level2972 default_branch_protection_level: 0, result: false2973 protects the default branch based on the instance level default branch protection setting2974 default_branch_protection_level: 1, result: false2975 protects the default branch based on the instance level default branch protection setting2976 default_branch_protection_level: 3, result: true2977 protects the default branch based on the instance level default branch protection setting2978 default_branch_protection_level: 2, result: true2979 protects the default branch based on the instance level default branch protection setting2980 #allow_force_push?2981 when the attr allow_force_push is true2982 returns true2983 when the attr allow_force_push is false2984 returns false2985 #any_protected?2986 existing project2987 returns true when any of the branch names match a protected branch via direct match2988 returns true when any of the branch matches a protected branch via wildcard match2989 returns false when none of branches does not match a protected branch via direct match2990 returns false when none of the branches does not match a protected branch via wildcard match2991 .by_name2992 returns protected branches with a matching name2993 returns protected branches with a partially matching name2994 returns protected branches with a matching name regardless of the casing2995 returns nothing when nothing matches2996 return nothing when query is blank2997 .get_ids_by_name2998 returns the id for each protected branch matching name2999Ci::RunnerJobsFinder3000 #execute3001 when params is empty3002 returns all jobs assigned to Runner3003 when params contains status3004 when status is created3005 returns matched job3006 when status is waiting_for_resource3007 returns matched job3008 when status is preparing3009 returns matched job3010 when status is pending3011 returns matched job3012 when status is running3013 returns matched job3014 when status is success3015 returns matched job3016 when status is failed3017 returns matched job3018 when status is canceled3019 returns matched job3020 when status is skipped3021 returns matched job3022 when status is manual3023 returns matched job3024 when status is scheduled3025 returns matched job3026 when order_by and sort are specified3027 when order_by id and sort is asc3028 sorts as id: :asc3029 when order_by is specified and sort is not specified3030 when order_by id and sort is not specified3031 sorts as id: :desc3032Awardable3033 Associations3034 is expected to have many award_emoji dependent => destroy3035 ClassMethods3036 orders3037 orders on upvotes3038 orders on downvotes3039 #awarded3040 filters by user and emoji name3041 filters by user and any emoji3042 #not_awarded3043 returns notes not awarded by user3044 #upvotes3045 counts the number of upvotes3046 #downvotes3047 counts the number of downvotes3048 #user_can_award?3049 is truthy when the user is allowed to award emoji3050 is falsy when the project is archived3051 querying award_emoji on an Awardable3052 sorts in ascending fashion3053 #grouped_awards3054 default award emojis3055 includes unused thumbs buttons by default3056 doesn't include unused thumbs buttons when disabled in project3057 includes unused thumbs buttons when enabled in project3058 doesn't include unused thumbs buttons in summary3059 includes used thumbs buttons when disabled in project3060 includes used thumbs buttons in summary3061ContainerRegistry::Tag3062 is expected to respond to #repository3063 is expected to delegate #registry to the #repository object3064 is expected to delegate #client to the #repository object3065 #path3066 when tag belongs to zero-level repository3067 returns path to the image3068 when tag belongs to first-level repository3069 returns path to the image3070 #location3071 returns a full location of the tag3072 manifest processing3073 schema v13074 #layers3075 is expected to eq 13076 #total_size3077 is expected to be nil3078 config processing3079 #config3080 is expected to be nil3081 #created_at3082 is expected to be nil3083 behaves like using the value manually set on created_at3084 does not use the config3085 image is a helm chart3086 #created_at3087 is expected to be nil3088 behaves like using the value manually set on created_at3089 does not use the config3090 schema v23091 #layers3092 is expected to eq 13093 #total_size3094 is expected to eq 23198703095 config processing3096 when locally stored3097 behaves like a processable3098 #config3099 is expected not to be nil3100 #created_at3101 is expected not to be nil3102 behaves like using the value manually set on created_at3103 does not use the config3104 when externally stored3105 behaves like a processable3106 #config3107 is expected not to be nil3108 #created_at3109 is expected not to be nil3110 behaves like using the value manually set on created_at3111 does not use the config3112 with stubbed digest3113 #digest3114 returns a correct tag digest3115 #unsafe_delete3116 correctly deletes the tag3117Gitlab::BitbucketImport::Importer3118 #import_pull_requests3119 imports threaded discussions3120 when user exists in GitLab3121 does not add author line to comments3122 when importing a pull request throws an exception3123 logs an error without the backtrace3124 when branches' sha is not found in the repository3125 uses the pull request sha references3126 metrics3127 counts imported pull requests3128 issues statuses3129 maps statuses to open or closed3130 creating labels on project3131 creates labels as expected3132 does not fail if label is already existing3133 does not create new labels3134 does not update existing ones3135 wiki import3136 is skipped when the wiki exists3137 imports to the project disk_path3138 issue import3139 maps reporters to anonymous if bitbucket reporter is nil3140 metrics3141 counts imported issues3142 #execute3143 metrics3144 counts and measures duration of imported projects3145PersonalAccessTokensFinder3146 #execute3147 when current_user is defined3148 current_user is allowed to read PATs3149 is expected to contain exactly #<PersonalAccessToken id: 1, user_id: 1578, name: "PAT 1", revoked: false, expires_at: "2022-02-09", ...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 4, user_id: 1578, name: "PAT 4", revoked: false, expires_at: "2022-02-09", ...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 3, user_id: 1578, name: "PAT 3", revoked: true, expires_at: "2022-02-09", c...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 2, user_id: 1578, name: "PAT 2", revoked: false, expires_at: "2022-02-03", ...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 6, user_id: 1578, name: "PAT 6", revoked: true, expires_at: "2022-02-09", c...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, and #<PersonalAccessToken id: 5, user_id: 1578, name: "PAT 5", revoked: false, expires_at: "2022-02-03", ...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3150 current_user is not allowed to read PATs3151 is expected to be empty3152 when user param is not set3153 is expected to contain exactly #<PersonalAccessToken id: 13, user_id: 1582, name: "PAT 13", revoked: false, expires_at: "2022-02-09"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 16, user_id: 1582, name: "PAT 16", revoked: false, expires_at: "2022-02-09"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 15, user_id: 1582, name: "PAT 15", revoked: true, expires_at: "2022-02-09",...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 14, user_id: 1582, name: "PAT 14", revoked: false, expires_at: "2022-02-03"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 18, user_id: 1582, name: "PAT 18", revoked: true, expires_at: "2022-02-09",...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, and #<PersonalAccessToken id: 17, user_id: 1582, name: "PAT 17", revoked: false, expires_at: "2022-02-03"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3154 when current_user is not an administrator3155 is expected to be empty3156 without user3157 is expected to contain exactly #<PersonalAccessToken id: 25, user_id: 1586, name: "PAT 25", revoked: false, expires_at: "2022-02-09"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 28, user_id: 1586, name: "PAT 28", revoked: false, expires_at: "2022-02-09"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 27, user_id: 1586, name: "PAT 27", revoked: true, expires_at: "2022-02-09",...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 26, user_id: 1586, name: "PAT 26", revoked: false, expires_at: "2022-02-03"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 30, user_id: 1586, name: "PAT 30", revoked: true, expires_at: "2022-02-09",...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, and #<PersonalAccessToken id: 29, user_id: 1586, name: "PAT 29", revoked: false, expires_at: "2022-02-03"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3158 with users3159 is expected to contain exactly #<PersonalAccessToken id: 31, user_id: 1587, name: "PAT 31", revoked: false, expires_at: "2022-02-09"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 34, user_id: 1587, name: "PAT 34", revoked: false, expires_at: "2022-02-09"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 33, user_id: 1587, name: "PAT 33", revoked: true, expires_at: "2022-02-09",...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 32, user_id: 1587, name: "PAT 32", revoked: false, expires_at: "2022-02-03"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 36, user_id: 1587, name: "PAT 36", revoked: true, expires_at: "2022-02-09",...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, and #<PersonalAccessToken id: 35, user_id: 1587, name: "PAT 35", revoked: false, expires_at: "2022-02-03"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3160 with sort order3161 sorts records as per the specified sort order3162 without impersonation3163 is expected to contain exactly #<PersonalAccessToken id: 49, user_id: 1590, name: "PAT 49", revoked: false, expires_at: "2022-02-09"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 51, user_id: 1590, name: "PAT 51", revoked: true, expires_at: "2022-02-09",...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, and #<PersonalAccessToken id: 50, user_id: 1590, name: "PAT 50", revoked: false, expires_at: "2022-02-03"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3164 with active state3165 is expected to contain exactly #<PersonalAccessToken id: 55, user_id: 1591, name: "PAT 55", revoked: false, expires_at: "2022-02-09"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3166 with inactive state3167 is expected to contain exactly #<PersonalAccessToken id: 63, user_id: 1592, name: "PAT 63", revoked: true, expires_at: "2022-02-09",...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false> and #<PersonalAccessToken id: 62, user_id: 1592, name: "PAT 62", revoked: false, expires_at: "2022-02-03"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3168 with impersonation3169 is expected to contain exactly #<PersonalAccessToken id: 70, user_id: 1593, name: "PAT 70", revoked: false, expires_at: "2022-02-09"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 72, user_id: 1593, name: "PAT 72", revoked: true, expires_at: "2022-02-09",...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, and #<PersonalAccessToken id: 71, user_id: 1593, name: "PAT 71", revoked: false, expires_at: "2022-02-03"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3170 with active state3171 is expected to contain exactly #<PersonalAccessToken id: 76, user_id: 1594, name: "PAT 76", revoked: false, expires_at: "2022-02-09"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3172 with inactive state3173 is expected to contain exactly #<PersonalAccessToken id: 84, user_id: 1595, name: "PAT 84", revoked: true, expires_at: "2022-02-09",...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false> and #<PersonalAccessToken id: 83, user_id: 1595, name: "PAT 83", revoked: false, expires_at: "2022-02-03"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3174 with active state3175 is expected to contain exactly #<PersonalAccessToken id: 85, user_id: 1596, name: "PAT 85", revoked: false, expires_at: "2022-02-09"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false> and #<PersonalAccessToken id: 88, user_id: 1596, name: "PAT 88", revoked: false, expires_at: "2022-02-09"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3176 with inactive state3177 is expected to contain exactly #<PersonalAccessToken id: 92, user_id: 1597, name: "PAT 92", revoked: false, expires_at: "2022-02-03"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 93, user_id: 1597, name: "PAT 93", revoked: true, expires_at: "2022-02-09",...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 95, user_id: 1597, name: "PAT 95", revoked: false, expires_at: "2022-02-03"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, and #<PersonalAccessToken id: 96, user_id: 1597, name: "PAT 96", revoked: true, expires_at: "2022-02-09",...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3178 with id3179 is expected to eq #<PersonalAccessToken id: 97, user_id: 1598, name: "PAT 97", revoked: false, expires_at: "2022-02-09"...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3180 with impersonation3181 is expected to be nil3182 with token3183 is expected to eq #<PersonalAccessToken id: 109, user_id: 1600, name: "PAT 109", revoked: false, expires_at: "2022-02-0...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3184 with impersonation3185 is expected to be nil3186 with user3187 is expected to contain exactly #<PersonalAccessToken id: 121, user_id: 1602, name: "PAT 121", revoked: false, expires_at: "2022-02-0...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 124, user_id: 1602, name: "PAT 124", revoked: false, expires_at: "2022-02-0...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 123, user_id: 1602, name: "PAT 123", revoked: true, expires_at: "2022-02-09...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 122, user_id: 1602, name: "PAT 122", revoked: false, expires_at: "2022-02-0...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 126, user_id: 1602, name: "PAT 126", revoked: true, expires_at: "2022-02-09...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, and #<PersonalAccessToken id: 125, user_id: 1602, name: "PAT 125", revoked: false, expires_at: "2022-02-0...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3188 without impersonation3189 is expected to contain exactly #<PersonalAccessToken id: 133, user_id: 1604, name: "PAT 133", revoked: false, expires_at: "2022-02-0...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 135, user_id: 1604, name: "PAT 135", revoked: true, expires_at: "2022-02-09...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, and #<PersonalAccessToken id: 134, user_id: 1604, name: "PAT 134", revoked: false, expires_at: "2022-02-0...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3190 with active state3191 is expected to contain exactly #<PersonalAccessToken id: 145, user_id: 1606, name: "PAT 145", revoked: false, expires_at: "2022-02-0...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3192 with inactive state3193 is expected to contain exactly #<PersonalAccessToken id: 159, user_id: 1608, name: "PAT 159", revoked: true, expires_at: "2022-02-09...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false> and #<PersonalAccessToken id: 158, user_id: 1608, name: "PAT 158", revoked: false, expires_at: "2022-02-0...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3194 with impersonation3195 is expected to contain exactly #<PersonalAccessToken id: 172, user_id: 1610, name: "PAT 172", revoked: false, expires_at: "2022-02-0...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 174, user_id: 1610, name: "PAT 174", revoked: true, expires_at: "2022-02-09...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, and #<PersonalAccessToken id: 173, user_id: 1610, name: "PAT 173", revoked: false, expires_at: "2022-02-0...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3196 with active state3197 is expected to contain exactly #<PersonalAccessToken id: 184, user_id: 1612, name: "PAT 184", revoked: false, expires_at: "2022-02-0...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3198 with inactive state3199 is expected to contain exactly #<PersonalAccessToken id: 198, user_id: 1614, name: "PAT 198", revoked: true, expires_at: "2022-02-09...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false> and #<PersonalAccessToken id: 197, user_id: 1614, name: "PAT 197", revoked: false, expires_at: "2022-02-0...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3200 with active state3201 is expected to contain exactly #<PersonalAccessToken id: 205, user_id: 1616, name: "PAT 205", revoked: false, expires_at: "2022-02-0...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false> and #<PersonalAccessToken id: 208, user_id: 1616, name: "PAT 208", revoked: false, expires_at: "2022-02-0...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3202 with inactive state3203 is expected to contain exactly #<PersonalAccessToken id: 218, user_id: 1618, name: "PAT 218", revoked: false, expires_at: "2022-02-0...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 219, user_id: 1618, name: "PAT 219", revoked: true, expires_at: "2022-02-09...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, #<PersonalAccessToken id: 221, user_id: 1618, name: "PAT 221", revoked: false, expires_at: "2022-02-0...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>, and #<PersonalAccessToken id: 222, user_id: 1618, name: "PAT 222", revoked: true, expires_at: "2022-02-09...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3204 with active or expired state3205 includes active tokens3206 includes expired tokens3207 does not include revoked tokens3208 with id3209 is expected to eq #<PersonalAccessToken id: 265, user_id: 1626, name: "PAT 265", revoked: false, expires_at: "2022-02-0...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3210 with impersonation3211 is expected to be nil3212 with token3213 is expected to eq #<PersonalAccessToken id: 289, user_id: 1630, name: "PAT 289", revoked: false, expires_at: "2022-02-0...expire_notification_delivered: false, last_used_at: nil, after_expiry_notification_delivered: false>3214 with impersonation3215 is expected to be nil3216Serverless::DomainCluster3217 validations3218 is expected to validate that :pages_domain cannot be empty/falsy3219 is expected to validate that :knative cannot be empty/falsy3220 is expected to validate that :uuid cannot be empty/falsy3221 is expected to validate that the length of :uuid is 143222 is expected to validate that :uuid is case-sensitively unique3223 validates that uuid has only hex characters3224 associations3225 is expected to belong to pages_domain required: false3226 is expected to belong to knative required: false3227 is expected to belong to creator optional: true3228 uuid3229 when nil3230 generates a value by default3231 when not nil3232 does not override the existing value3233 cluster3234 is expected to respond to #cluster3235 domain3236 is expected to respond to #domain3237 certificate3238 is expected to respond to #certificate3239 key3240 is expected to respond to #key3241Ci::BuildPresenter3242 inherits from Gitlab::View::Presenter::Delegated3243 #initialize3244 takes a build and optional params3245 exposes build3246 forwards missing methods to build3247 #erased_by_user?3248 takes a build and optional params3249 #erased_by_name3250 when build is not erased3251 returns nil3252 when build is erased3253 returns the name of the eraser3254 #status_title3255 when build is auto-canceled3256 shows that the build is auto-canceled3257 when build failed3258 returns the reason of failure3259 when build has failed && retried3260 does not include retried title3261 when build has failed and is allowed to3262 returns the reason of failure3263 For any other build3264 returns the status3265 quack like a Ci::Build permission-wise3266 user is not allowed3267 returns false3268 user is allowed3269 returns true3270 #trigger_variables3271 when variable is stored in ci_pipeline_variables3272 when pipeline is triggered by trigger API3273 returns variables3274 when pipeline is not triggered by trigger API3275 does not return variables3276 when variable is stored in ci_trigger_requests.variables3277 returns variables3278 #tooltip_message3279 When build has failed3280 returns the reason of failure3281 When build has failed and retried3282 includes the reason of failure and the retried title3283 When build has failed and is allowed to3284 includes the reason of failure3285 For any other build (no retried)3286 includes build name and status3287 For any other build (retried)3288 includes build name and status3289 #execute_in3290 when build is scheduled3291 when schedule is not expired3292 returns execution time3293 when schedule is expired3294 returns execution time3295 when build is not delayed3296 does not return execution time3297 #callout_failure_message3298 returns a verbose failure reason3299MergeRequestPresenter3300 #ci_status3301 when no head pipeline3302 return status from Ci integration3303 when head pipeline present3304 success with warnings3305 returns "success-with-warnings"3306 pipeline HAS status AND its not success with warnings3307 returns pipeline status3308 pipeline has NO status AND its not success with warnings3309 returns "preparing"3310 #conflict_resolution_path3311 when MR cannot be resolved in UI3312 does not return conflict resolution path3313 when conflicts cannot be resolved by user3314 does not return conflict resolution path3315 when able to access conflict resolution UI3316 does return conflict resolution path3317 issues links3318 #closing_issues_links3319 presents closing issues links3320 does not present related issues links3321 appends status when closing issue is already closed3322 #mentioned_issues_links3323 presents related issues links3324 does not present closing issues links3325 appends status when mentioned issue is already closed3326 #assign_to_closing_issues_link3327 single closing issue3328 returns correct link with correct text3329 multiple closing issues3330 returns correct link with correct text3331 no closing issue3332 returns correct link with correct text3333 #cancel_auto_merge_path3334 when can cancel mwps3335 returns path3336 when cannot cancel mwps3337 returns nil3338 #merge_path3339 when can be merged by user3340 returns path3341 when cannot be merged by user3342 returns nil3343 #create_issue_to_resolve_discussions_path3344 when can create issue and issues enabled3345 returns path3346 when cannot create issue3347 returns nil3348 when issues disabled3349 returns nil3350 #remove_wip_path3351 when merge request enabled and has permission3352 has remove_wip_path3353 when has no permission3354 returns nil3355 #target_branch_commits_path3356 when target branch exists3357 returns path3358 when target branch does not exist3359 returns nil3360 #source_branch_commits_path3361 when source branch exists3362 returns path3363 when source branch does not exist3364 returns nil3365 #target_branch_tree_path3366 when target branch exists3367 returns path3368 when target branch does not exist3369 returns nil3370 #source_branch_path3371 when source branch exists3372 returns path3373 when source branch does not exist3374 returns nil3375 #target_branch_path3376 when target branch exists3377 returns path3378 when target branch does not exist3379 returns nil3380 #source_branch_link3381 when source branch exists3382 returns link3383 when source branch does not exist3384 returns text3385 #target_branch_link3386 when target branch exists3387 returns link3388 when target branch does not exist3389 returns text3390 #source_branch_with_namespace_link3391 returns link3392 escapes html, when source_branch does not exist3393 #rebase_path3394 when can rebase3395 returns path3396 when cannot rebase3397 when rebase in progress3398 returns nil3399 when user cannot merge3400 returns nil3401 should not be rebased3402 returns nil3403 #can_push_to_source_branch3404 when source branch exists AND user can push to source branch3405 returns true3406 when source branch does not exists3407 returns false3408 when user cannot push to source branch3409 returns false3410 #api_approvals_path3411 is expected to eq "/api/v4/projects/910/merge_requests/1/approvals"3412 #api_approve_path3413 is expected to eq "/api/v4/projects/910/merge_requests/1/approve"3414 #api_unapprove_path3415 is expected to eq "/api/v4/projects/910/merge_requests/1/unapprove"3416 #pipeline_coverage_delta3417 when merge request has pipeline coverage delta3418 formats coverage into 2 decimal points3419 when merge request does not have pipeline coverage delta3420 returns nil3421gitlab:db namespace rake task3422 configure3423 invokes db:migrate when schema has already been loaded3424 invokes db:shema:load and db:seed_fu when schema is not loaded3425 invokes db:shema:load and db:seed_fu when there is only a single table present3426 does not invoke any other rake tasks during an error3427 does not invoke seed after a failed schema_load3428 SKIP_POST_DEPLOYMENT_MIGRATIONS environment variable set3429 adds post deployment migrations before schema load if the schema is not already loaded3430 ignores post deployment migrations when schema has already been loaded3431 unattended3432 schema_migration_table_exists: false, needs_migrations: false, rake_output: "unattended_migrations_completed"3433 outputs changed message for automation after operations happen3434 schema_migration_table_exists: false, needs_migrations: true, rake_output: "unattended_migrations_completed"3435 outputs changed message for automation after operations happen3436 schema_migration_table_exists: true, needs_migrations: false, rake_output: "unattended_migrations_static"3437 outputs changed message for automation after operations happen3438 schema_migration_table_exists: true, needs_migrations: true, rake_output: "unattended_migrations_completed"3439 outputs changed message for automation after operations happen3440 clean_structure_sql3441 can be executed multiple times within another rake task3442 drop_tables3443 drops all tables, except schema_migrations3444 drops all views3445 truncates schema_migrations table3446 drops extra schemas3447 reindex3448 delegates to Gitlab::Database::Reindexing3449 when reindexing is not enabled3450 is a no-op3451 reindex:main3452 delegates to Gitlab::Database::Reindexing3453 when reindexing is not enabled3454 is a no-op3455 reindex:geo3456 delegates to Gitlab::Database::Reindexing3457 when reindexing is not enabled3458 is a no-op3459 enqueue_reindexing_action3460 creates an entry in the queue3461 defaults to main database3462 active3463 needs_migration: true, self_monitoring_project: nil, project_count: nil, exit_status: 1, exit_code: false3464 exits 0 or 1 depending on user modifications to the database3465 needs_migration: false, self_monitoring_project: :self_monitoring, project_count: 1, exit_status: 1, exit_code: false3466 exits 0 or 1 depending on user modifications to the database3467 needs_migration: false, self_monitoring_project: nil, project_count: 0, exit_status: 1, exit_code: false3468 exits 0 or 1 depending on user modifications to the database3469 needs_migration: false, self_monitoring_project: :self_monitoring, project_count: 2, exit_status: 0, exit_code: true3470 exits 0 or 1 depending on user modifications to the database3471 #migrate_with_instrumentation3472 #up3473 delegates to the migration runner3474 #down3475 delegates to the migration runner3476 #execute_batched_migrations3477 executes all migrations3478 with multiple databases3479 db:structure:dump3480DEPRECATION WARNING: Using `bin/rails db:structure:dump:main` is deprecated and will be removed in Rails 6.2. Configure the format using `config.active_record.schema_format = :sql` to use `structure.sql` and run `bin/rails db:schema:dump:main` instead. (called from run_rake_task at /builds/gitlab-org/gitlab/spec/tasks/gitlab/db_rake_spec.rb:358)3481 invokes gitlab:db:clean_structure_sql3482 db:schema:dump3483 invokes gitlab:db:clean_structure_sql3484Namespace::PackageSetting3485 relationships3486 is expected to belong to namespace required: false3487 validations3488 is expected to validate that :namespace cannot be empty/falsy3489 #maven_duplicates_allowed3490 is expected to allow :maven_duplicates_allowed to be ‹true›3491 is expected to allow :maven_duplicates_allowed to be ‹false›3492 is expected not to allow :maven_duplicates_allowed to be ‹nil›3493 is expected to allow :generic_duplicates_allowed to be ‹true›3494 is expected to allow :generic_duplicates_allowed to be ‹false›3495 is expected not to allow :generic_duplicates_allowed to be ‹nil›3496 regex values3497 is expected to allow :maven_duplicate_exception_regex to be ‹"SNAPSHOT"›3498 is expected to allow :maven_duplicate_exception_regex to be ‹".*"›3499 is expected to allow :maven_duplicate_exception_regex to be ‹"v.+"›3500 is expected to allow :maven_duplicate_exception_regex to be ‹"v10.1.*"›3501 is expected to allow :maven_duplicate_exception_regex to be ‹"(?:v.+|SNAPSHOT|TEMP)"›3502 is expected not to allow :maven_duplicate_exception_regex to be ‹"["›3503 is expected not to allow :maven_duplicate_exception_regex to be ‹"(?:v.+|SNAPSHOT|TEMP"›3504 is expected to allow :generic_duplicate_exception_regex to be ‹"SNAPSHOT"›3505 is expected to allow :generic_duplicate_exception_regex to be ‹".*"›3506 is expected to allow :generic_duplicate_exception_regex to be ‹"v.+"›3507 is expected to allow :generic_duplicate_exception_regex to be ‹"v10.1.*"›3508 is expected to allow :generic_duplicate_exception_regex to be ‹"(?:v.+|SNAPSHOT|TEMP)"›3509 is expected not to allow :generic_duplicate_exception_regex to be ‹"["›3510 is expected not to allow :generic_duplicate_exception_regex to be ‹"(?:v.+|SNAPSHOT|TEMP"›3511 #duplicates_allowed?3512 package types with package_settings3513 duplicates_allowed: true, duplicate_exception_regex: "", result: true3514 for maven_package3515 is expected to equal true3516 duplicates_allowed: false, duplicate_exception_regex: "", result: false3517 for maven_package3518 is expected to equal false3519 duplicates_allowed: false, duplicate_exception_regex: ".*", result: true3520 for maven_package3521 is expected to equal true3522 duplicates_allowed: false, duplicate_exception_regex: "fo.*", result: true3523 for maven_package3524 is expected to equal true3525 duplicates_allowed: false, duplicate_exception_regex: "be.*", result: true3526 for maven_package3527 is expected to equal true3528 duplicates_allowed: true, duplicate_exception_regex: "", result: true3529 for generic_package3530 is expected to equal true3531 duplicates_allowed: false, duplicate_exception_regex: "", result: false3532 for generic_package3533 is expected to equal false3534 duplicates_allowed: false, duplicate_exception_regex: ".*", result: true3535 for generic_package3536 is expected to equal true3537 duplicates_allowed: false, duplicate_exception_regex: "fo.*", result: true3538 for generic_package3539 is expected to equal true3540 duplicates_allowed: false, duplicate_exception_regex: "be.*", result: true3541 for generic_package3542 is expected to equal true3543 package types without package_settings3544 raises an error3545 raises an error3546 raises an error3547 raises an error3548 raises an error3549 raises an error3550 raises an error3551Members::Groups::CreatorService3552 behaves like member creation3553 #execute3554 returns a Member object3555 sets members.expires_at to the given expires_at3556 accepts the :guest symbol as access level3557 accepts the 10 integer as access level3558 accepts the :reporter symbol as access level3559 accepts the 20 integer as access level3560 accepts the :developer symbol as access level3561 accepts the 30 integer as access level3562 accepts the :maintainer symbol as access level3563 accepts the 40 integer as access level3564 accepts the :owner symbol as access level3565 accepts the 50 integer as access level3566 when admin mode is enabled3567 sets members.created_by to the given admin current_user3568 when admin mode is disabled3569 rejects setting members.created_by to the given admin current_user3570 with no current_user3571 when called with a known user id3572 adds the user as a member3573 when called with an unknown user id3574 adds the user as a member3575 when called with a user object3576 adds the user as a member3577 when called with a requester user object3578 adds the requester as a member3579 when called with a known user email3580 adds the user as a member3581 when called with an unknown user email3582 creates an invited member3583 when called with an unknown user email starting with a number3584 creates an invited member3585 when current_user can update member3586 creates the member3587 when called with a requester user object3588 adds the requester as a member3589 when current_user cannot update member3590 does not create the member3591 when called with a requester user object3592 does not destroy the requester3593 when member already exists3594 with no current_user3595 updates the member3596 when current_user can update member3597 updates the member3598 when current_user cannot update member3599 does not update the member3600 when `tasks_to_be_done` and `tasks_project_id` are passed3601 creates a member_task with the correct attributes3602 .access_levels3603 returns Gitlab::Access.options_with_owner3604Gitlab::Auth::Saml::User3605 #save3606 account exists on server3607 and should bind with SAML3608 adds the SAML identity to the existing user3609 external groups3610 are defined3611 marks the user as external3612 are defined but the user does not belong there3613 does not mark the user as external3614 user was external, now should not be3615 makes user internal3616 no account exists on server3617 external groups3618 are defined3619 marks the user as external3620 are defined but the user does not belong there3621 does not mark the user as external3622 with auto_link_ldap_user disabled (default)3623 with allow_single_sign_on enabled3624 creates a user from SAML3625 with allow_single_sign_on default (["saml"])3626 does not throw an error3627 with allow_single_sign_on disabled3628 throws an error3629 with auto_link_ldap_user enabled3630 and at least one LDAP provider is defined3631 and a corresponding LDAP person3632 and no account for the LDAP user3633 creates a user with dual LDAP and SAML identities3634 and LDAP user has an account already3635 adds the omniauth identity to the LDAP account3636 saves successfully on subsequent tries, when both identities are present3637 when uid is an uid3638 behaves like find LDAP person3639 adds the omniauth identity to the LDAP account3640 when uid is a dn3641 behaves like find LDAP person3642 adds the omniauth identity to the LDAP account3643 when uid is an email3644 behaves like find LDAP person3645 adds the omniauth identity to the LDAP account3646 user has SAML user, and wants to add their LDAP identity3647 adds the LDAP identity to the existing SAML user3648 when signup is disabled3649 creates the user3650 when user confirmation email is enabled3651 creates and confirms the user anyway3652 when the current minimum password length is different from the default minimum password length3653 creates the user3654 blocking3655 signup with SAML only3656 dont block on create3657 does not block the user3658 block on create3659 blocks user3660 sign-in3661 dont block on create3662 is expected not to be blocked3663 block on create3664 is expected not to be blocked3665 #find_user3666 raw info hash attributes empty3667 does not mark user as external3668 #bypass_two_factor?3669 with authn_contexts_worth_two_factors configured3670 returns true when authn_context is worth two factors3671 returns false when authn_context is not worth two factors3672 returns false when authn_context is blank3673 without auth_contexts_worth_two_factors_configured3674 returns false when authn_context is present3675 returns false when authn_context is blank3676StageEntity3677 #as_json3678 contains relevant fields3679 contains detailed status3680 contains valid name3681 contains path to the stage3682 contains path to the stage dropdown3683 contains stage title3684 does not contain play_details info3685 when the jobs should be grouped3686 exposes the group key3687 and contains commit status3688 contains commit status3689 with a skipped stage3690 contains play_all_manual3691 with a scheduled stage3692 contains play_all_manual3693 with a manual stage3694 contains play_all_manual3695Backup::Database3696 #restore3697 with an empty .gz file369813699 returns successfully3700 with a corrupted .gz file3701gzip: stdin: not in gzip format370213703 raises a backup error3704 when the restore command prints errors3705Table projects does not exist3706must be owner of extension pg_trgm3707WARNING: no privileges could be revoked for public3708This is a test error3709 filters out noise from errors3710 with PostgreSQL settings defined in the environment3711{"PGBOUNCER_VERSION"=>"", "PGUSER"=>"postgres", "PGHOST"=>"test.example.com", "PGPASSWORD"=>"donotchange"}3712 overrides default config values3713AutoDevopsHelper3714 .show_auto_devops_callout?3715 when auto devops is implicitly enabled3716 is expected to eq false3717 when auto devops is not implicitly enabled3718 is expected to eq true3719 when the banner is disabled by feature flag3720 is expected to be falsy3721 when dismissed3722 is expected to eq false3723 when user cannot admin project3724 is expected to eq false3725 when auto devops is enabled system-wide3726 is expected to eq false3727 when auto devops is explicitly enabled for project3728 is expected to eq false3729 when auto devops is explicitly disabled for project3730 is expected to eq false3731 when master contains a .gitlab-ci.yml file3732 is expected to eq false3733 when another service is enabled3734 is expected to eq false3735 #auto_devops_settings_path3736 returns auto devops settings path3737 #badge_for_auto_devops_scope3738 when receiver is a group3739 when explicitly enabled3740 is expected to eq "group enabled"3741 when explicitly disabled3742 is expected to be nil3743 when auto devops is implicitly enabled3744 by instance3745 is expected to eq "instance enabled"3746 with groups3747 when auto devops is enabled on parent3748 is expected to eq "group enabled"3749 when auto devops is enabled on parent group3750 is expected to eq "group enabled"3751 when auto devops disabled set on parent group3752 is expected to be nil3753 when receiver is a project3754 when auto devops is enabled at project level3755 is expected to be nil3756 when auto devops is disabled at project level3757 is expected to be nil3758 when auto devops is implicitly enabled3759 by instance3760 is expected to eq "instance enabled"3761 with groups3762 when auto devops is enabled on group level3763 is expected to eq "group enabled"3764 when auto devops is enabled on root group3765 is expected to eq "group enabled"3766 when auto devops is implicitly disabled3767 by instance3768 is expected to be nil3769 with groups3770 when auto devops is disabled on group level3771 is expected to be nil3772 when root group is enabled and parent disabled3773 is expected to be nil3774Types::GlobalIDType3775 is has the correct name3776 .coerce_result3777 can coerce results3778 rejects integer IDs3779 rejects strings3780 .coerce_input3781 can coerce valid input3782 handles all valid application GIDs3783 rejects invalid input3784 rejects nil3785 rejects GIDs from different apps3786 a parameterized type3787 is has the correct name3788 handles GIDs for invalid resource names gracefully3789 the GID is appropriate3790 can coerce results3791 can coerce IDs to a GlobalIDType3792 can coerce valid input3793 the GID is not for an appropriate type3794 raises errors when coercing results3795 will not coerce invalid input, even if its a valid GID3796 with a deprecation3797 appends the description with a deprecation notice for the old Global ID3798 coercing input against the type (parsing the Global ID string when supplied as an argument)3799 when passed the deprecated Global ID3800 changes the model_name to the new model name3801 changes the model_class to the new model class3802 can find the correct resource3803 can find the correct resource loaded through GitlabSchema3804 when passed the Global ID that is deprecating another3805 works as normal3806 coercing the result against the type (producing the Global ID string when used in a field)3807 when passed the deprecated Global ID3808 works, but does not result in matching the new Global ID3809 when passed the Global ID that is deprecating another3810 works as normal3811 executing against the schema3812 when the query signature includes the old type name3813 behaves like a query that works with old and new GIDs3814 when the argument value is the new GID3815 is expected to be present3816 when the argument value is the old GID3817 is expected to be present3818 when the query signature includes the new type name3819 behaves like a query that works with old and new GIDs3820 when the argument value is the new GID3821 is expected to be present3822 when the argument value is the old GID3823 is expected to be present3824 a parameterized type with a namespace3825 is has a valid GraphQL identifier for a name3826 compatibility3827 when the client declares the argument as ID the actual argument can be any type3828 result_type: GraphQL::Types::ID, argument_type: GraphQL::Types::ID3829 behaves like a working query3830 works3831 result_type: Types::GlobalIDType, argument_type: GraphQL::Types::ID3832 behaves like a working query3833 works3834 result_type: ProjectID, argument_type: GraphQL::Types::ID3835 behaves like a working query3836 works3837 result_type: GraphQL::Types::ID, argument_type: Types::GlobalIDType3838 behaves like a working query3839 works3840 result_type: Types::GlobalIDType, argument_type: Types::GlobalIDType3841 behaves like a working query3842 works3843 result_type: ProjectID, argument_type: Types::GlobalIDType3844 behaves like a working query3845 works3846 result_type: GraphQL::Types::ID, argument_type: ProjectID3847 behaves like a working query3848 works3849 result_type: Types::GlobalIDType, argument_type: ProjectID3850 behaves like a working query3851 works3852 result_type: ProjectID, argument_type: ProjectID3853 behaves like a working query3854 works3855 when the client passes the argument as GlobalID3856 result_type: GraphQL::Types::ID3857 behaves like a working query3858 works3859 result_type: Types::GlobalIDType3860 behaves like a working query3861 works3862 result_type: ProjectID3863 behaves like a working query3864 works3865 when the client passes the argument as ProjectID3866 result_type: GraphQL::Types::ID3867 behaves like a working query3868 works3869 result_type: Types::GlobalIDType3870 behaves like a working query3871 works3872 result_type: ProjectID3873 behaves like a working query3874 works3875 .model_name_to_graphql_name3876 returns a graphql name for the given model name3877Gitlab::RepositoryCacheAdapter3878 .cache_method_output_as_redis_set3879 with an existing repository3880 caches the output, sorting the results3881 membership checks3882 when the cache key does not exist3883 calls the original method and populates the cache3884 when the cache key exists3885 calls #try_include? on the set cache3886 memoizes the result3887 #cache_method_output3888 with a non-existing repository3889 returns the fallback value3890 avoids calling the original method3891 with a method throwing a non-existing-repository error3892 returns the fallback value3893 does not cache the data3894 with an existing repository3895 caches the output3896 #cache_method_output_asymmetrically3897 with a non-existing repository3898 returns the output of the original method3899 with a method throwing a non-existing-repository error3900 returns nil3901 does not cache the data3902 with an existing repository3903 when it returns truthy3904 caches the output in RequestStore3905 caches the output in RepositoryCache3906 when it returns false3907 caches the output in RequestStore3908 does NOT cache the output in RepositoryCache3909 #memoize_method_output3910 with a non-existing repository3911 returns the fallback value3912 avoids calling the original method3913 does not set the instance variable3914 with a method throwing a non-existing-repository error3915 returns the fallback value3916 does not set the instance variable3917 with an existing repository3918 sets the instance variable3919 #expire_method_caches3920 expires the caches of the given methods3921 does not expire caches for non-existent methods3922Gitlab::Metrics::Dashboard::Url3923 #metrics_regex3924 for /-/environments/:environment_id/metrics route3925 behaves like regex which matches url when expected3926 is expected to be a kind of Regexp3927 matches a metrics dashboard link with named params3928 does not match other gitlab urls that contain the term metrics3929 does not match other gitlab urls3930 does not match non-gitlab urls3931 for /-/metrics?environment=:environment_id route3932 behaves like regex which matches url when expected3933 is expected to be a kind of Regexp3934 matches a metrics dashboard link with named params3935 does not match other gitlab urls that contain the term metrics3936 does not match other gitlab urls3937 does not match non-gitlab urls3938 for metrics_dashboard route3939 behaves like regex which matches url when expected3940 is expected to be a kind of Regexp3941 matches a metrics dashboard link with named params3942 does not match other gitlab urls that contain the term metrics3943 does not match other gitlab urls3944 does not match non-gitlab urls3945 #clusters_regex3946 behaves like regex which matches url when expected3947 is expected to be a kind of Regexp3948 matches a metrics dashboard link with named params3949 does not match other gitlab urls that contain the term metrics3950 does not match other gitlab urls3951 does not match non-gitlab urls3952 for metrics_dashboard route3953 behaves like regex which matches url when expected3954 is expected to be a kind of Regexp3955 matches a metrics dashboard link with named params3956 does not match other gitlab urls that contain the term metrics3957 does not match other gitlab urls3958 does not match non-gitlab urls3959 #grafana_regex3960 behaves like regex which matches url when expected3961 is expected to be a kind of Regexp3962 matches a metrics dashboard link with named params3963 does not match other gitlab urls that contain the term metrics3964 does not match other gitlab urls3965 does not match non-gitlab urls3966 #alert_regex3967 behaves like regex which matches url when expected3968 is expected to be a kind of Regexp3969 matches a metrics dashboard link with named params3970 does not match other gitlab urls that contain the term metrics3971 does not match other gitlab urls3972 does not match non-gitlab urls3973 behaves like regex which matches url when expected3974 is expected to be a kind of Regexp3975 matches a metrics dashboard link with named params3976 does not match other gitlab urls that contain the term metrics3977 does not match other gitlab urls3978 does not match non-gitlab urls3979 #build_dashboard_url3980 builds the url for the dashboard endpoint3981Nav::TopNavHelper3982 #top_nav_view_model3983 has :activeTitle3984 when current_user is nil (anonymous)3985 has expected :primary3986 has expected :shortcuts3987 has expected :secondary3988 with current nav as project3989 has expected :active3990 when current_user is non-admin3991 has no menu items or views by default3992 with projects3993 has expected :primary3994 has expected :shortcuts3995 projects3996 has expected :currentUserName3997 has expected :namespace3998 has expected :linksPrimary3999 has expected :linksSecondary4000 with current nav as project4001 has expected :active4002 with persisted project4003 has project as :container4004 with groups4005 has expected :primary4006 has expected :shortcuts4007 groups4008 has expected :currentUserName4009 has expected :namespace4010 has expected :linksPrimary4011 has expected :linksSecondary4012 with external user4013 does not have create group link4014 with current nav as group4015 has expected :active4016 with persisted group4017 has expected :container4018 with milestones4019 has expected :primary4020 has expected :shortcuts4021 with snippets4022 has expected :primary4023 has expected :shortcuts4024 with activity4025 has expected :primary4026 has expected :shortcuts4027 when current_user is admin4028 has admin as first :secondary item4029 with header link admin_mode true4030 has leave_admin_mode as last :secondary item4031 with header link admin_mode false4032 has enter_admin_mode as last :secondary item4033 #top_nav_responsive_view_model4034 has nil new subview4035 has nil search subview4036 with search4037 has search subview4038 with new4039 has new subview4040 with new and no menu_sections4041 has new subview4042Blobs::UnfoldPresenter4043 #initialize4044 with empty params4045 sets default attributes4046 when full is false4047 sets attributes4048 when full is true4049 sets other attributes4050 when to is -14051 sets other attributes4052 #diff_lines4053 when "full" is true4054 returns all lines4055 when last line is empty4056 disregards last line4057 when "since" is equal to 14058 does not add top match line4059 when "since" is greater than 14060 adds top match line4061 "to" is higher than blob size4062 does not add bottom match line4063 "to" is equal to blob size4064 does not add bottom match line4065 "to" is less than blob size4066 adds bottom match line4067 when "to" is less than blob size4068 adds bottom match line4069 when "to" is equal to blob size4070 does not add bottom match line4071 when "to" is "-1"4072 does not add bottom match line4073 last line is the latest blob line4074 #lines4075 when scope is specified4076 returns lines cropped by params4077 when since exceeds number of lines4078 returns an empty list4079 when full is true4080 returns all lines4081 #match_line_text4082 when bottom is true4083 returns empty string4084 when bottom is false4085 returns match line string4086Projects::Settings::DeployKeysPresenter4087 inherits from Gitlab::View::Presenter::Simple4088 deploy key groups4089 with enabled keys4090 returns correct deploy keys4091 with available keys4092 returns correct deploy keys4093 with available project keys4094 returns correct deploy keys4095 with available public keys4096 returns correct deploy keys4097 #enabled_keys4098 returns currently enabled keys4099 does not contain enabled_keys inside available_keys4100 returns the enabled_keys size4101 #available_keys/#available_project_keys4102 returns the current available_keys4103 returns the current available_project_keys4104 returns the available_project_keys size4105 prevent N + 1 queries4106 returns correct counts4107 does not increase the query count4108Milestones::DestroyService4109 #execute4110 deletes milestone4111 logs destroy event4112 with an existing merge request4113 deletes milestone id from issuables4114 group milestones4115 is expected to eq #<Milestone id:30 %"My title 731">4116 deletes milestone id from issuables4117 does not log destroy event4118 when a release is tied to a milestone4119 destroys the milestone but not the associated release4120Terraform::StateUploader4121 #filename4122 contains the version of the terraform state record4123 legacy state with versioning disabled4124 contains the UUID of the terraform state record4125 #store_dir4126 hashes the project ID and UUID4127 legacy state with versioning disabled4128 contains the ID of the project4129 #key4130 creates a digest with a secret key and the project id4131 encryption4132 encrypts the stored file4133 decrypts the file when reading4134 .direct_upload_enabled?4135 returns false4136 .background_upload_enabled?4137 returns false4138 .proxy_download_enabled?4139 returns true4140 .default_store4141 when object storage is enabled4142 returns REMOTE4143 when object storage is disabled4144 returns LOCAL4145Gitlab::Checks::SingleChangeAccess4146 #validate!4147 without failed checks4148 doesn't raise an error4149 calls pushes checks4150 calls branches checks4151 calls tags checks4152 calls diff checks4153 when time limit was reached4154 raises a TimeoutError4155 #commits4156 with provided commits4157 behaves like #commits4158 returns expected commits4159 returns expected commits on repeated calls4160 without provided commits4161 behaves like #commits4162 returns expected commits4163 returns expected commits on repeated calls4164RuboCop::CodeReuseHelpers4165 delegates ee? to GitlabEdition4166 delegates jh? to GitlabEdition4167 #send_to_constant?4168 returns true when sending to a constant4169 returns false when sending to something other than a constant4170 #send_receiver_name_ends_with?4171 returns true when the receiver ends with a suffix4172 returns false when the receiver is the same as a suffix4173 #file_path_for_node4174 returns the file path of a node4175 #name_of_constant4176 returns the name of a constant4177 #in_finder?4178 returns true for a node in the finders directory4179 returns false for a node outside the finders directory4180 #in_model?4181 returns true for a node in the models directory4182 returns false for a node outside the models directory4183 #in_service_class?4184 returns true for a node in the services directory4185 returns false for a node outside the services directory4186 #in_presenter?4187 returns true for a node in the presenters directory4188 returns false for a node outside the presenters directory4189 #in_serializer?4190 returns true for a node in the serializers directory4191 returns false for a node outside the serializers directory4192 #in_worker?4193 returns true for a node in the workers directory4194 returns false for a node outside the workers directory4195 #in_graphql_types?4196 returns true for a node in app/graphql/types4197 returns true for a node in ee/app/graphql/ee/types4198 returns true for a node in ee/app/graphql/types4199 returns true for a node in app/graphql/resolvers4200 returns true for a node in app/foo4201 #in_api?4202 returns true for a node in the API directory4203 returns false for a node outside the API directory4204 #in_spec?4205 returns true for a node in the spec directory4206 returns true for a node in the ee/spec directory4207 returns false for a node outside the spec directory4208 #in_app_directory?4209 returns true for a directory in the CE app/ directory4210 returns true for a directory in the EE app/ directory4211 returns false for a directory in the lib/ directory4212 #in_lib_directory?4213 returns true for a directory in the CE lib/ directory4214 returns true for a directory in the EE lib/ directory4215 returns false for a directory in the app/ directory4216 #name_of_receiver4217 returns the name of a send receiver4218 #each_class_method4219 yields every class method to the supplied block4220 #each_send_node4221 yields every send node to the supplied block4222 #disallow_send_to4223 disallows sending a message to a constant4224Gitlab::Ci::Pipeline::Seed::Stage4225 #size4226 returns a number of jobs in the stage4227 #attributes4228 returns hash attributes of a stage4229 #included?4230 when it contains builds seeds4231 is expected to be included4232 when it does not contain build seeds4233 is expected not to be included4234 #seeds4235 returns build seeds4236 returns build seeds including valid attributes4237 filters seeds using only/except policies4238 when a legacy trigger exists4239 returns build seeds including legacy trigger4240 when a ref is protected4241 returns protected builds4242 when a ref is not protected4243 returns unprotected builds4244 #seeds_names4245 returns all job names4246 returns a set4247 #seeds_errors4248 returns all errors from seeds4249 #to_resource4250 builds a valid stage object with all builds4251 can not be persisted without explicit pipeline assignment4252Git::BaseHooksService4253 push event4254 creates push event4255 create_push_event is set to false4256 does not create push event4257 project hooks and integrations4258 hooks4259 active hooks4260 executes the hooks4261 inactive hooks4262 does not execute the hooks4263 with integrations4264 with active integrations4265 executes the services4266 with inactive integrations4267 does not execute the services4268 when execute_project_hooks param is set to false4269 does not execute hooks and integrations4270 Generating CI variables from push options4271 with empty push options4272 behaves like creates pipeline with params and expected variables4273 calls the create pipeline service4274 with push options not specifying variables4275 behaves like creates pipeline with params and expected variables4276 calls the create pipeline service4277 with push options specifying variables4278 behaves like creates pipeline with params and expected variables4279 calls the create pipeline service4280 with push options not specifying variables in correct format4281 behaves like creates pipeline with params and expected variables4282 calls the create pipeline service4283ObjectStorage::Config4284 #credentials4285 is expected to eq {:aws_access_key_id=>"AWS_ACCESS_KEY_ID", :aws_secret_access_key=>"AWS_SECRET_ACCESS_KEY", :provider=>"AWS", :region=>"us-east-1"}4286 #storage_options4287 is expected to eq {:server_side_encryption=>"AES256", :server_side_encryption_kms_key_id=>"arn:aws:12345"}4288 #enabled?4289 is expected to eq true4290 #bucket4291 is expected to eq "test-bucket"4292 #use_iam_profile4293 is expected to equal false4294 #use_path_style4295 is expected to equal false4296 with unconsolidated settings4297 consolidated_settings? returns false4298 is expected to equal false4299 with consolidated settings4300 consolidated_settings? returns true4301 is expected to equal true4302 with IAM profile configured4303 value: true, expected: true4304 coerces the value to a boolean4305 value: "true", expected: true4306 coerces the value to a boolean4307 value: "yes", expected: true4308 coerces the value to a boolean4309 value: false, expected: false4310 coerces the value to a boolean4311 value: "false", expected: false4312 coerces the value to a boolean4313 value: "no", expected: false4314 coerces the value to a boolean4315 value: nil, expected: false4316 coerces the value to a boolean4317 with path style configured4318 value: true, expected: true4319 coerces the value to a boolean4320 value: "true", expected: true4321 coerces the value to a boolean4322 value: "yes", expected: true4323 coerces the value to a boolean4324 value: false, expected: false4325 coerces the value to a boolean4326 value: "false", expected: false4327 coerces the value to a boolean4328 value: "no", expected: false4329 coerces the value to a boolean4330 value: nil, expected: false4331 coerces the value to a boolean4332 with hostname style access4333 #use_path_style? returns false4334 with AWS credentials4335 is expected to eq "AWS"4336 is expected to equal true4337 is expected to equal false4338 with Google credentials4339 is expected to eq "Google"4340 is expected to equal false4341 is expected to equal true4342 is expected to eq {}4343 with SSE-KMS enabled4344 is expected to equal true4345 is expected to eq "AES256"4346 is expected to eq "arn:aws:12345"4347 is expected to contain exactly "x-amz-server-side-encryption" and "x-amz-server-side-encryption-aws-kms-key-id"4348 with only server side encryption enabled4349 is expected to equal true4350 is expected to eq "AES256"4351 is expected to be nil4352 is expected to eq {"x-amz-server-side-encryption"=>"AES256"}4353 without encryption enabled4354 is expected to equal false4355 is expected to be nil4356 is expected to be nil4357 is expected to eq {}4358 with object storage disabled4359 is expected to equal false4360mail_room.yml4361 when incoming email is disabled4362 contains no configuration4363 when both incoming email and service desk email are enabled4364 contains the intended configuration4365 when both incoming email and service desk email are enabled for Microsoft Graph4366 contains the intended configuration4367DiffFileEntity4368 when there is no merge request4369 behaves like diff file entity4370 exposes correct attributes4371 includes viewer4372 behaves like diff file base entity4373 exposes essential attributes4374 when diff file does not have a blob and content sha4375 exposes some attributes as nil4376 diff files4377 when diff_view is parallel4378 contains only the parallel diff lines4379 when diff_view is parallel4380 contains only the inline diff lines4381 when there is a merge request4382 exposes additional attributes4383 points all urls to merge request target project4384 exposes load_collapsed_diff_url if the file viewer is collapsed4385 behaves like diff file entity4386 exposes correct attributes4387 includes viewer4388 behaves like diff file base entity4389 exposes essential attributes4390 when diff file does not have a blob and content sha4391 exposes some attributes as nil4392 diff files4393 when diff_view is parallel4394 contains only the parallel diff lines4395 when diff_view is parallel4396 contains only the inline diff lines4397 when diff_view is unknown4398 hides highlighted_diff_lines and parallel_diff_lines4399 #parallel_diff_lines4400 exposes parallel diff lines correctly4401 #is_fully_expanded4402 file with a conflict4403 returns false4404 behaves like diff file with conflict_type4405 #conflict_type4406 returns nil by default4407 when there is matching conflict file4408 returns false4409DiffViewer::Base4410 .can_render?4411 when the extension is supported4412 when the binaryness matches4413 returns true4414 when the binaryness does not match4415 returns false4416 when the extension and file type are not supported4417 returns false4418 when the file was renamed and only the old blob is supported4419 returns false4420 #collapsed?4421 when the combined blob size is larger than the collapse limit4422 returns true4423 when the combined blob size is smaller than the collapse limit4424 returns false4425 #too_large?4426 when the combined blob size is larger than the size limit4427 returns true4428 when the blob size is smaller than the size limit4429 returns false4430 #render_error4431 when the combined blob size is larger than the size limit4432 returns :too_large4433 when the combined blob size is smaller than the size limit4434 returns nil4435 #render_error_message4436 returns nothing when no render_error4437 when render_error error4438 returns an error message4439 includes a "view the blob" link4440ProjectAutoDevops4441 is expected to belong to project required: false4442 is expected to define :deploy_strategy as an enum, backed by an integer4443 is expected to respond to #created_at4444 is expected to respond to #updated_at4445 behaves like having unique enum values4446 has unique values in "deploy_strategy"4447 #predefined_variables4448 when deploy_strategy is manual4449 is expected to include {:key => "AUTO_DEVOPS_EXPLICITLY_ENABLED", :value => "1"}4450 when deploy_strategy is continuous4451 is expected to include {:key => "AUTO_DEVOPS_EXPLICITLY_ENABLED", :value => "1"}4452 is expected not to include "STAGING_ENABLED" and "INCREMENTAL_ROLLOUT_ENABLED"4453 when deploy_strategy is timed_incremental4454 is expected to include {:key => "INCREMENTAL_ROLLOUT_MODE", :value => "timed"}4455 is expected to include {:key => "AUTO_DEVOPS_EXPLICITLY_ENABLED", :value => "1"}4456 is expected not to include "STAGING_ENABLED" and "INCREMENTAL_ROLLOUT_ENABLED"4457 when auto-devops is explicitly disabled4458 is expected to be empty4459 #create_gitlab_deploy_token4460 when the project is public4461 does not create a gitlab deploy token4462 when the project is internal4463 creates a gitlab deploy token4464 when the project is private4465 creates a gitlab deploy token4466 when autodevops is enabled at project level4467 creates a deploy token4468 when autodevops is enabled at instance level4469 creates a deploy token4470 when autodevops is disabled4471 does not create a deploy token4472 when the project already has an active gitlab-deploy-token4473 does not create a deploy token4474 when the project already has a revoked gitlab-deploy-token4475 does not create a deploy token4476Ci::Resource4477 .free4478 returns free resources4479 .retained4480 returns the resource if it's retained4481 returns empty if it's not retained4482 .retained_by4483 returns retained resources4484 .stale_processables4485 when the processable is running4486 returns empty4487 and doomed4488 returns empty4489 returns the stale prosessable a few minutes later4490ProjectLabel4491 relationships4492 is expected to belong to project required: false4493 validations4494 is expected to validate that :project cannot be empty/falsy4495 validates if title must not exist at group level4496 returns error if title already exists at group level4497 does not returns error if title does not exist at group level4498 does not returns error if project does not belong to group4499 does not returns error when title does not change4500 when attempting to add more than one priority to the project label4501 returns error4502 #subject4503 aliases project to subject4504 #to_reference4505 using id4506 returns a String reference to the object4507 using name4508 returns a String reference to the object4509 uses id when name contains double quote4510 using invalid format4511 raises error4512 cross project reference4513 using name4514 returns cross reference with label name4515 using id4516 returns cross reference with label id4517Ci::DagJobEntity4518 #as_json4519 contains the name4520 behaves like matches schema4521 matches schema4522 when job is stage scheduled4523 contains the name scheduling_type4524 does not expose needs4525 behaves like matches schema4526 matches schema4527 when job is dag scheduled4528 contains the name scheduling_type4529 behaves like matches schema4530 matches schema4531 when job has needs4532 exposes the array of needs4533 behaves like matches schema4534 matches schema4535 when job has empty needs4536 exposes an empty array of needs4537 behaves like matches schema4538 matches schema4539Gitlab::SidekiqDaemon::MemoryKiller4540 #run_thread4541 not invoke restart_sidekiq when rss in range4542 invoke restart_sidekiq when rss not in range4543 when structured logging is used4544 logs start message once4545 logs StandardError message twice4546 logs exception message once and raise exception and log stop message4547 logs stop message once4548 #stop_working4549 changes enable? to false4550 #rss_within_range?4551 return true when everything is within limit4552 return false when rss exceeds hard_limit_rss4553 return false when rss exceed hard_limit_rss after a while4554 return true when rss below soft_limit_rss after a while within GRACE_BALLOON_SECONDS4555 when exceeding GRACE_BALLOON_SECONDS4556 return false when rss exceed soft_limit_rss4557 #restart_sidekiq4558 send signal4559 #signal_and_wait4560 send signal and return when all jobs finished4561 send signal and wait till deadline if any job not finished4562 #signal_pgroup4563 send signal to this proces if it is not group leader4564 send signal to whole process group as group leader4565 #log_rss_out_of_range4566 invoke sidekiq logger warn4567 #out_of_range_description4568 when rss > hard_limit4569 tells reason4570 when rss <= hard_limit4571 tells reason4572 #rss_increase_by_jobs4573 adds up individual rss_increase_by_job4574 return 0 if no job4575 #rss_increase_by_job4576 return 0 if memory_growth_kb return 04577 return time factored growth value when it does not exceed max growth limit for whilited job4578 return max growth limit when time factored growth value exceed max growth limit for whilited job4579 #get_job_options4580 return default if key is not defined4581 return default if get StandardError when retrieve sidekiq_options4582 return right value if sidekiq_options has the key4583 #refresh_state4584 calls gitlab metrics gauge set methods4585Gitlab::Ci::Pipeline::Seed::Environment4586 #to_resource4587 when job has environment name attribute4588 behaves like returning a correct environment4589 returns a persisted environment object4590 when environment has already existed4591 returns the existing environment object4592 and job environment also has an auto_stop_in attribute4593 behaves like returning a correct environment4594 returns a persisted environment object4595 when environment has already existed4596 returns the existing environment object4597 when job has deployment tier attribute4598 when environment has not been created yet4599 sets the specified deployment tier4600 when deployment tier is staging4601 sets the specified deployment tier4602 when deployment tier is unknown4603 raises an error4604 when environment has already been created4605 does not overwrite the specified deployment tier4606 when job starts a review app4607 behaves like returning a correct environment4608 returns a persisted environment object4609 when environment has already existed4610 returns the existing environment object4611 when job stops a review app4612 behaves like returning a correct environment4613 returns a persisted environment object4614 when environment has already existed4615 returns the existing environment object4616ForkNamespaceEntity4617 renders json4618 includes id4619 includes name4620 includes description4621 includes markdown_description4622 includes visibility4623 includes full_name4624 includes created_at4625 includes updated_at4626 includes avatar_url4627 exposes path for forking project to the namespace4628 exposes forked_project_path when fork exists in namespace4629 exposes relative path to the namespace4630 exposes human readable permission level4631 exposes can_create_project4632 when fork_project_form feature flag is disabled4633 sets can_create_project to true when user can create projects in namespace4634 sets can_create_project to false when user is not allowed create projects in namespace4635Gitlab::Ci::Reports::Security::Report4636 is expected to eq "sast"4637 is expected to delegate #project_id to the #pipeline object4638 #add_scanner4639 stores given scanner params in the map4640 returns the added scanner4641 #add_identifier4642 stores given identifier params in the map4643 returns the added identifier4644 #add_finding4645 enriches given finding and stores it in the collection4646 #clone_as_blank4647 creates a blank report with copied type and pipeline4648 #replace_with!4649 replaces report contents with other reports contents4650 #merge!4651 invokes the merge with other report and then replaces this report contents by merge result4652 #primary_scanner4653 is expected to eq #<Gitlab::Ci::Reports::Security::Scanner:0x00007f1892369eb0 @external_id="external_id_1", @name="Find Security Bugs", @vendor="Security Scanner Vendor", @version="1.0.0">4654 #add_error4655 when the message is not given4656 adds a new error to report with the generic error message4657 when the message is given4658 adds a new error to report4659 errored?4660 when the report does not have any errors4661 is expected to be falsey4662 when the report has errors4663 is expected to be truthy4664 #primary_scanner_order_to4665 when the primary scanner of the receiver is nil4666 when the primary scanner of the other is nil4667 is expected to equal 14668 when the primary scanner of the other is not nil4669 is expected to equal 14670 when the primary scanner of the receiver is not nil4671 when the primary scanner of the other is nil4672 is expected to equal -14673 when the primary scanner of the other is not nil4674 compares two scanners4675 #has_signatures?4676 when the findings of the report does not have signatures4677 is expected to be falsey4678 when the findings of the report have signatures4679 is expected to be truthy4680Ci::TriggerPolicy4681 #rules4682 when owner is an user4683 when user is maintainer of the project4684 is expected to be allowed :manage_trigger4685 is expected to be allowed :admin_trigger4686 when owner is another user4687 when user is maintainer of the project4688 is expected to be allowed :manage_trigger4689 is expected not to be allowed :admin_trigger4690 when user is developer of the project4691 is expected not to be allowed :manage_trigger4692 is expected not to be allowed :admin_trigger4693 when user is not member of the project4694 is expected not to be allowed :manage_trigger4695 is expected not to be allowed :admin_trigger4696Integrations::MattermostSlashCommands4697 behaves like Integrations::BaseSlashCommands4698 Associations4699 is expected to respond to #token4700 is expected to have many chat_names4701 #valid_token?4702 when the token is empty4703 is false4704 when there is a token4705 accepts equal tokens4706 #trigger4707 no token is passed4708 returns nil4709 with a token passed4710 no user can be found4711 when no url can be generated4712 responds with the authorize url4713 when an auth url can be generated4714 generates the url4715 when the user is authenticated4716 triggers the command4717 when user is blocked4718 behaves like blocks command execution4719 is expected to match "you do not have access to the GitLab project"4720 when user is deactivated4721 behaves like blocks command execution4722 is expected to match "your account has been deactivated by your administrator"4723 Mattermost API4724 #configure4725 when the request succeeds4726 saves the integration4727 saves the token4728 when an error is received4729 shows error messages4730 #list_teams4731 when the request succeeds4732 returns a list of teams4733 when an error is received4734 shows error messages4735 #chat_responder4736 returns the responder to use for Mattermost4737ZoomMeeting4738 Factory4739 is expected to be valid4740 Associations4741 is expected to belong to project required: false4742 is expected to belong to issue required: false4743 scopes4744 .added_to_issue4745 gets only added meetings4746 .removed_from_issue4747 gets only removed meetings4748 Validations4749 is expected to validate that :project cannot be empty/falsy4750 is expected to validate that :issue cannot be empty/falsy4751 when importing4752 is expected not to validate that :project cannot be empty/falsy4753 is expected not to validate that :issue cannot be empty/falsy4754 url4755 is expected to validate that :url cannot be empty/falsy4756 is expected to validate that the length of :url is at most 2554757 with non-Zoom URL4758 is expected to contain exactly "must contain one valid Zoom URL"4759 with multiple Zoom-URLs4760 is expected to contain exactly "must contain one valid Zoom URL"4761 issue association4762 for the same project4763 is expected to be valid4764 for a different project4765 is expected to contain exactly "must associate the same project"4766 limit number of meetings per issue4767 without meetings4768 behaves like can add meetings4769 can add new Zoom meetings4770 when no other meeting is added4771 behaves like can add meetings4772 can add new Zoom meetings4773 when meeting is added4774 behaves like cannot add meetings4775 fails to add a new meeting4776 when meeting is added to another issue4777 behaves like can add meetings4778 can add new Zoom meetings4779 when second meeting is removed4780 behaves like can remove meetings4781 can remove Zoom meetings4782Packages::Nuget::Metadatum4783 relationships4784 is expected to belong to package required: false inverse_of => nuget_metadatum4785 validations4786 is expected to validate that :package cannot be empty/falsy4787 #license_url4788 is expected to allow :license_url to be ‹"http://sandbox.com"›4789 is expected to allow :license_url to be ‹"https://sandbox.com"›4790 is expected not to allow :license_url to be ‹"123"›4791 is expected not to allow :license_url to be ‹"sandbox.com"›4792 #ensure_at_least_one_field_supplied4793 rejects unfilled metadatum4794 #ensure_nuget_package_type4795 rejects if not linked to a nuget package4796 #project_url4797 is expected to allow :project_url to be ‹"http://sandbox.com"›4798 is expected to allow :project_url to be ‹"https://sandbox.com"›4799 is expected not to allow :project_url to be ‹"123"›4800 is expected not to allow :project_url to be ‹"sandbox.com"›4801 #ensure_at_least_one_field_supplied4802 rejects unfilled metadatum4803 #ensure_nuget_package_type4804 rejects if not linked to a nuget package4805 #icon_url4806 is expected to allow :icon_url to be ‹"http://sandbox.com"›4807 is expected to allow :icon_url to be ‹"https://sandbox.com"›4808 is expected not to allow :icon_url to be ‹"123"›4809 is expected not to allow :icon_url to be ‹"sandbox.com"›4810 #ensure_at_least_one_field_supplied4811 rejects unfilled metadatum4812 #ensure_nuget_package_type4813 rejects if not linked to a nuget package4814Gitlab::QuickActions::CommandDefinition4815 #all_names4816 when the command has aliases4817 returns an array with the name and aliases4818 when the command doesn't have aliases4819 returns an array with the name4820 #noop?4821 when the command has an action block4822 returns false4823 when the command doesn't have an action block4824 returns true4825 #available?4826 when the command has a condition block4827 when the condition block returns true4828 returns true4829 when the condition block returns false4830 returns false4831 when the command doesn't have a condition block4832 returns true4833 when the command has types4834 when the command target type is allowed4835 returns true4836 when the command target type is not allowed4837 returns true4838 when the command has no types4839 any target type is allowed4840 #execute4841 when the command is a noop4842 doesn't execute the command4843 when the command is not a noop4844 when the command is not available4845 counts the command as executed4846 when the command is available4847 when the commnd has no arguments4848 when the command is provided an argument4849 executes the command4850 when the command is not provided an argument4851 executes the command4852 when the command has 1 required argument4853 when the command is provided an argument4854 executes the command4855 when the command is not provided an argument4856 doesn't execute the command4857 when the command has 1 optional argument4858 when the command is provided an argument4859 executes the command4860 when the command is not provided an argument4861 executes the command4862 when the command defines parse_params block4863 executes the command passing the parsed param4864 #execute_message4865 when the command is a noop4866 returns nil4867 when the command is not a noop4868 when the command is not available4869 returns an error message4870 when the command is available4871 when the execution_message is a static string4872 returns this static string4873 when the explanation is dynamic4874 invokes the proc4875 #explain4876 when the command is not available4877 returns nil4878 when the explanation is a static string4879 returns this static string4880 when warning is set4881 returns this static string4882 when the explanation is dynamic4883 invokes the proc4884Files::UpdateService4885 #execute4886 when the file's last commit sha does not match the supplied last_commit_sha4887 returns a hash with the correct error message and a :error status4888 when the file's last commit sha does match the supplied last_commit_sha4889 returns a hash with the :success status4890 updates the file with the new contents4891 uses the commit email4892 when the last_commit_sha is not supplied4893 returns a hash with the :success status4894 updates the file with the new contents4895Gitlab::RepositoryCache4896 #cache_key4897 project repository4898 behaves like cache_key examples4899 includes the namespace4900 with a given namespace4901 includes the full namespace4902 personal snippet repository4903 behaves like cache_key examples4904 includes the namespace4905 with a given namespace4906 includes the full namespace4907 project snippet repository4908 behaves like cache_key examples4909 includes the namespace4910 with a given namespace4911 includes the full namespace4912 #expire4913 expires the given key from the cache4914 #fetch4915 fetches the given key from the cache4916 accepts a block4917 #write4918 writes the given key and value to the cache4919 passes additional options to the backend4920 #fetch_without_caching_false4921 requires a block4922 when the key does not exist in the cache4923 when the result of the block is truthy4924 returns the result of the block4925 caches the value4926 when the result of the block is falsey4927 returns the result of the block4928 does not cache the value4929 when the cached value is truthy4930 returns the cached value4931 does not execute the block4932 does not write to the cache4933 when the cached value is falsey4934 returns the result of the block4935 writes the truthy value to the cache4936Gitlab::Ci::Parsers::Test::Junit4937 #parse!4938 when data is JUnit style XML4939 when there are no <testcases> in <testsuite>4940 ignores the case4941 when there are no <testcases> in <testsuites>4942 ignores the case4943 when there is only one <testsuite> in <testsuites>4944 parses XML and adds a test case to a suite4945 when there is <testcase>4946 and has failure4947 behaves like <testcase> XML parser4948 parses XML and adds a test case to the suite4949 and has error4950 behaves like <testcase> XML parser4951 parses XML and adds a test case to the suite4952 and has skipped4953 behaves like <testcase> XML parser4954 parses XML and adds a test case to the suite4955 with an empty double-tag4956 behaves like <testcase> XML parser4957 parses XML and adds a test case to the suite4958 and has an unknown type4959 behaves like <testcase> XML parser4960 parses XML and adds a test case to the suite4961 and has no content4962 behaves like <testcase> XML parser4963 parses XML and adds a test case to the suite4964 PHPUnit4965 parses XML and adds a test case to a suite4966 when there are two test cases4967 parses XML and adds test cases to a suite4968 when there are two test suites4969 parses XML and adds test cases to a suite4970 when number of test cases exceeds the max_test_cases limit4971 and test cases are unique4972 behaves like rejecting too many test cases4973 attaches an error to the TestSuite object4974 and test cases are duplicates4975 behaves like rejecting too many test cases4976 attaches an error to the TestSuite object4977 when data is not JUnit style XML4978 attaches an error to the TestSuite object4979 when data is malformed JUnit XML4980 attaches an error to the TestSuite object4981 returns 0 tests cases4982 returns a failure status4983 when data is not XML4984 attaches an error to the TestSuite object4985 returns 0 tests cases4986 returns a failure status4987 when attachment is specified in failed test case4988 assigns correct attributes to the test case4989 when data contains multiple attachments tag4990 adds the first match attachment to a test case4991 when data does not match attachment tag regex4992 does not add attachment to a test case4993 when attachment is specified in test case with error4994 assigns correct attributes to the test case4995Gitlab::Utils::Override4996 #override4997 when instance is klass.new(0)4998 when STATIC_VERIFICATION is set4999 when subject is a class5000 behaves like checking as intended5001 checks ok for overriding method5002 checks ok for overriding method using negative arity5003 raises NotImplementedError when it is not overriding anything5004 raises NotImplementedError when overriding a method with different arity5005 when subject is a module, and class is prepending it5006 behaves like checking as intended5007 checks ok for overriding method5008 checks ok for overriding method using negative arity5009 raises NotImplementedError when it is not overriding anything5010 raises NotImplementedError when overriding a method with different arity5011 when subject is a module, and class is including it5012 behaves like checking as intended, nothing was overridden5013 raises NotImplementedError because it is not overriding it5014 raises NotImplementedError when it is not overriding anything5015 when ActiveSupport::Concern and class_methods are used5016 when it is defining a overriding method5017 verifies5018 when it is not defining a overriding method5019 raises NotImplementedError5020 when STATIC_VERIFICATION is not set5021 when subject is a class5022 behaves like nothing happened5023 does not complain when it is overriding something5024 does not complain when it is not overriding anything5025 when subject is a module, and class is prepending it5026 behaves like nothing happened5027 does not complain when it is overriding something5028 does not complain when it is not overriding anything5029 when subject is a module, and class is including it5030 does not complain when it is overriding something5031 does not complain when it is not overriding anything5032 when instance is klass5033 when STATIC_VERIFICATION is set5034 when subject is a module, and class is prepending it5035 behaves like checking as intended5036 checks ok for overriding method5037 checks ok for overriding method using negative arity5038 raises NotImplementedError when it is not overriding anything5039 raises NotImplementedError when overriding a method with different arity5040 when subject is a module, and class is extending it5041 behaves like checking as intended, nothing was overridden5042 raises NotImplementedError because it is not overriding it5043 raises NotImplementedError when it is not overriding anything5044SnippetStatistics5045 is expected to belong to snippet required: false5046 is expected to validate that :snippet cannot be empty/falsy5047 #update_commit_count5048 updates the count of commits5049 when the snippet does not have a repository5050 returns 05051 #update_file_count5052 updates the count of files5053 when the snippet does not have a repository5054 returns 05055 #update_repository_size5056 updates the repository_size5057 when the snippet does not have a repository5058 returns 05059 #refresh!5060 retrieves and saves statistic data from repository5061 when the database is read-only5062 does nothing5063 with a PersonalSnippet5064 when creating5065 behaves like personal snippet statistics updates5066 schedules a namespace statistics worker5067 does not try to update project stats5068 when updating5069 behaves like personal snippet statistics updates5070 schedules a namespace statistics worker5071 does not try to update project stats5072 with a ProjectSnippet5073 does not call personal snippet callbacks5074 behaves like UpdateProjectStatistics5075 is expected to be a new record5076Gitlab::Middleware::Multipart5077 #call5078 remote file mode5079 behaves like handling all upload parameters conditions5080 one root parameter5081 builds an UploadedFile5082 two root parameters5083 builds UploadedFiles5084 one nested parameter5085 builds an UploadedFile5086 two nested parameters5087 builds UploadedFiles5088 one deeply nested parameter5089 builds an UploadedFile5090 two deeply nested parameters5091 builds UploadedFiles5092 three parameters nested at different levels5093 builds UploadedFiles5094 and a path set5095 builds an UploadedFile5096 local file mode5097 behaves like handling all upload parameters conditions5098 one root parameter5099 builds an UploadedFile5100 two root parameters5101 builds UploadedFiles5102 one nested parameter5103 builds an UploadedFile5104 two nested parameters5105 builds UploadedFiles5106 one deeply nested parameter5107 builds an UploadedFile5108 two deeply nested parameters5109 builds UploadedFiles5110 three parameters nested at different levels5111 builds UploadedFiles5112 when file is5113 in allowed paths5114 builds an UploadedFile5115 not in allowed paths5116 returns an error5117 with dummy params in remote mode5118 with an invalid secret5119 is expected to raise JWT::VerificationError5120 with an invalid issuer5121 is expected to raise JWT::InvalidIssuerError5122 with invalid rewritten field key5123 [file]5124 is expected to raise RuntimeError with "invalid field: \"[file]\""5125 ;file5126 is expected to raise RuntimeError with "invalid field: \";file\""5127 file]5128 is expected to raise RuntimeError with "invalid field: \"file]\""5129 ;file]5130 is expected to raise RuntimeError with "invalid field: \";file]\""5131 file]]5132 is expected to raise RuntimeError with "invalid field: \"file]]\""5133 file;;5134 is expected to raise RuntimeError with "invalid field: \"file;;\""5135 with an invalid upload key5136 behaves like rejecting the invalid key5137 raises an error5138 behaves like rejecting the invalid key5139 raises an error5140 behaves like rejecting the invalid key5141 raises an error5142 behaves like rejecting the invalid key5143 raises an error5144 behaves like rejecting the invalid key5145 raises an error5146 behaves like rejecting the invalid key5147 raises an error5148 behaves like rejecting the invalid key5149 raises an error5150 with a modified JWT payload5151 raises an error5152 with a modified JWT sig5153 raises an error5154Gitlab::VisibilityLevel5155 .level_value5156 converts "public" to integer value5157 converts string integer to integer value5158 defaults to PRIVATE when string value is not valid5159 defaults to PRIVATE when integer value is not valid5160 .levels_for_user5161 returns INTERNAL and PUBLIC for internal users5162 returns PUBLIC for external users5163 returns PUBLIC when no user is given5164 when admin mode is enabled5165 returns all levels for an admin5166 when admin mode is disabled5167 returns INTERNAL and PUBLIC for an admin5168 .allowed_levels5169 only includes the levels that arent restricted5170 returns all levels when no visibility level was set5171 .closest_allowed_level5172 picks INTERNAL instead of PUBLIC if public is restricted5173 picks PRIVATE if nothing is available5174 .valid_level?5175 returns true when visibility is valid5176 .restricted_level?, .non_restricted_level?, and .public_level_restricted?5177 visibility_levels: nil, expected_status: false5178 returns the expected status5179 visibility_levels: [0], expected_status: false5180 returns the expected status5181 visibility_levels: [0, 10], expected_status: false5182 returns the expected status5183 visibility_levels: [20], expected_status: true5184 returns the expected status5185 visibility_levels: [20, 10], expected_status: true5186 returns the expected status5187 .options5188 keys5189 returns the allowed visibility levels5190 .level_name5191 level_value: 0, level_name: "Private"5192 returns the name of the visibility level5193 level_value: 10, level_name: "Internal"5194 returns the name of the visibility level5195 level_value: 20, level_name: "Public"5196 returns the name of the visibility level5197 level_value: 2147483647, level_name: "Unknown"5198 returns the name of the visibility level5199Gitlab::FogbugzImport::Importer5200 imports bugs5201 imports opened bugs5202 imports closed bugs5203 verify url5204 when host is localhost5205 does not allow localhost requests5206 when host is on local network5207 does not allow localhost requests5208 when host is ftp protocol5209 only accept http and https requests5210Gitlab::Email::ReplyParser5211 #execute5212 returns an empty string if the message is blank5213 returns an empty string if the message is not an email5214 returns an empty string if there is no reply content5215 properly renders plaintext-only email5216 supports a Dutch reply5217 removes an 'on date wrote' quoting line5218 handles multiple paragraphs5219 handles multiple paragraphs when parsing html5220 handles newlines5221 handles inline reply5222 properly renders email reply from gmail web client5223 properly renders email reply from iOS default mail client5224 properly renders email reply from Android 5 gmail client5225 properly renders email reply from Windows 8.1 Metro default mail client5226 properly renders email reply from MS Outlook client5227 properly renders html-only email from MS Outlook5228 does not wrap links with no href in unnecessary brackets5229 does not trim reply if trim_reply option is false5230 appends trimmed reply when when append_reply option is true5231 when allow_only_quotes is true5232 returns quoted text from email5233IssueCollection5234 #collection5235 returns the issues in the same order as the input Array5236 #updatable_by_user5237 using an admin user5238 returns all issues5239 using a user that has no access to the project5240 returns no issues when the user is not an assignee or author5241 returns the issues the user is assigned to5242 returns the issues for which the user is the author5243 using a user that has reporter access to the project5244 returns the issues of the project5245 using a user that is an owner of a project5246 returns the issues of the project5247 #visible_to5248 is an alias for updatable_by_user5249FinderWithGroupHierarchy5250 when specifying group5251 returns only the group by default5252 when specifying group_id5253 returns only the group by default5254 when including items from group ancestors5255 returns group and its ancestors5256 ignores groups which user can not read5257 returns them all when skip_authorization is true5258 when including items from group descendants5259 returns items from group and its descendants5260 ignores items from groups which user can not read5261 returns them all when skip_authorization is true5262Ci::CreatePipelineService5263 tags:5264 with valid config5265 creates a pipeline5266 with too many tags5267 creates a pipeline without builds5268 tags persistence5269 with multiple tags5270 when the tags do not exist5271 does not execute N+1 queries5272 when the feature flag is disabled5273 executes N+1s queries5274 when tags are already persisted5275 does not execute N+1 queries5276 with bridge jobs5277 is expected to be empty5278Gitlab::Checks::DiffCheck5279 #validate!5280 when commits is empty5281 does not call find_changed_paths5282 when commits is not empty5283 when deletion is true5284 does not call find_changed_paths5285 with LFS not enabled5286 does not invoke :lfs_file_locks_validation5287 with LFS enabled5288 when change is sent by a different user5289 raises an error if the user is not allowed to update the file5290 when change is sent by the author of the lock5291 doesn't raise any error5292Mutations::MergeRequests::Create5293 #resolve5294 raises an error if the resource is not accessible to the user5295 when user does not have enough permissions to create a merge request5296 raises an error if the resource is not accessible to the user5297 when the user can create a merge request5298 creates a new merge request5299 returns a new merge request5300 when optional description field is set5301 returns a new merge request with a description5302 when optional labels field is set5303 returns a new merge request with labels5304 when service cannot create a merge request5305 does not create a new merge request5306 returns errors5307SuggestionEntity5308 exposes correct attributes5309 exposes current user abilities5310 inapplicable_reason5311 when user can apply suggestion5312 returns the inapplicable reason5313 when user cannot apply suggestion5314 returns appropriate message5315Gitlab::RepositoryUrlBuilder5316 .build5317 factory: :project, path_generator: ->(project) { project.full_path }5318 when passing SSH protocol5319 returns the SSH URL to the repository5320 when passing HTTP protocol5321 returns the HTTP URL to the repo without a username5322 includes the custom HTTP clone root if set5323 when passing an unsupported protocol5324 raises an exception5325 factory: :project_snippet, path_generator: ->(snippet) { "#{snippet.project.full_path}/snippets/#{snippet.id}" }5326 when passing SSH protocol5327 returns the SSH URL to the repository5328 when passing HTTP protocol5329 returns the HTTP URL to the repo without a username5330 includes the custom HTTP clone root if set5331 when passing an unsupported protocol5332 raises an exception5333 factory: :project_wiki, path_generator: ->(wiki) { "#{wiki.container.full_path}.wiki" }5334 when passing SSH protocol5335 returns the SSH URL to the repository5336 when passing HTTP protocol5337 returns the HTTP URL to the repo without a username5338 includes the custom HTTP clone root if set5339 when passing an unsupported protocol5340 raises an exception5341 factory: :personal_snippet, path_generator: ->(snippet) { "snippets/#{snippet.id}" }5342 when passing SSH protocol5343 returns the SSH URL to the repository5344 when passing HTTP protocol5345 returns the HTTP URL to the repo without a username5346 includes the custom HTTP clone root if set5347 when passing an unsupported protocol5348 raises an exception5349JSONWebToken::HMACToken5350 .decode5351 with an invalid token5352 that is junk5353 raises exception saying 'Not enough or too many segments'5354 that has been fiddled with5355 raises exception saying 'Invalid segment encoding'5356 that was generated using a different secret5357 raises exception saying 'Signature verification raised5358 that is expired5359 raises exception saying 'Signature has expired'5360 with a valid token5361 that has expired5362 with the default leeway5363 behaves like a valid, non-expired token5364 is an Array with two elements5365 contains the following keys in the first Array element Hash - jti, iat, nbf, exp5366 contains the following keys in the second Array element Hash - typ and alg5367 with a leeway of 0 seconds5368 raises exception saying 'Signature has expired'5369 that has not expired5370 behaves like a valid, non-expired token5371 is an Array with two elements5372 contains the following keys in the first Array element Hash - jti, iat, nbf, exp5373 contains the following keys in the second Array element Hash - typ and alg5374 #encoded5375 without data5376 behaves like a valid, non-expired token5377 is an Array with two elements5378 contains the following keys in the first Array element Hash - jti, iat, nbf, exp5379 contains the following keys in the second Array element Hash - typ and alg5380 with data5381 contains the 'data' key in the first Array element Hash5382 can re-read back the data5383 behaves like a valid, non-expired token5384 is an Array with two elements5385 contains the following keys in the first Array element Hash - jti, iat, nbf, exp5386 contains the following keys in the second Array element Hash - typ and alg5387Gitlab::Metrics::BackgroundTransaction5388 #run5389 yields the supplied block5390 stores the transaction in the current thread5391 removes the transaction from the current thread upon completion5392 #labels5393 when the worker queue is accessible5394 provides labels with endpoint_id, feature_category and queue5395 when the worker name does not exist5396 provides labels with endpoint_id and feature_category5397 when the worker queue is not accessible5398 provides labels with endpoint_id and feature_category5399 behaves like transaction metrics with labels5400 .prometheus_metric5401 adds a metric5402 #method_call_for5403 returns a MethodCall5404 #add_event5405 adds a metric5406 allows tracking of custom tags5407 with sensitive tags5408 filters tags5409 #increment5410 adds a metric5411 with block5412 overrides docstring5413 overrides labels5414 filters sensitive tags5415 #set5416 adds a metric5417 with block5418 overrides docstring5419 overrides labels5420 filters sensitive tags5421 #observe5422 adds a metric5423 with block5424 overrides docstring5425 overrides labels5426 filters sensitive tags5427Gitlab::Ci::Reports::ReportsComparer5428 #initialize5429 sets getter for the report comparer5430 return base report5431 return head report5432 #status5433 returns not implemented error5434 when success? is true5435 returns status success5436 when success? is false5437 returns status failed5438 when base_report is nil5439 returns status not_found5440 when head_report is nil5441 returns status not_found5442 #success?5443 returns not implemented error5444 #existing_errors5445 returns not implemented error5446 #resolved_errors5447 returns not implemented error5448 #errors_count5449 returns not implemented error5450 #resolved_count5451 returns not implemented error5452 #total_count5453 returns not implemented error5454 #not_found?5455 when base report is nil5456 is expected to be truthy5457 when base report exists5458 is expected to be falsey5459Gitlab::Diff::Parser5460 #parse5461 is expected to eq 305462 lines5463 first line5464 is expected to eq "match"5465 is expected to eq 65466 is expected to eq 65467 is expected to eq "@@ -6,12 +6,18 @@ module Popen"5468 removal line5469 is expected to eq "old"5470 is expected to eq 145471 is expected to eq 135472 is expected to eq "- options = { chdir: path }"5473 addition line5474 is expected to eq "new"5475 is expected to eq 155476 is expected to eq 185477 is expected to eq "+ options = {"5478 unchanged line5479 is expected to eq nil5480 is expected to eq 245481 is expected to eq 315482 is expected to eq " @cmd_output << stderr.read"5483 \ No newline at end of file5484 parses nonewline in one file correctly5485 parses nonewline in two files correctly5486 when lines is empty5487 is expected to eq []5488 is expected to eq []5489 when it is a binary notice5490 is expected to eq []5491 tolerates special diff markers in a content5492 counts lines correctly5493ErrorTracking::ListProjectsService5494 #execute5495 with authorized user5496 set model attributes to new values5497 uses new api_url and token5498 masked param token5499 uses database token5500 with invalid url5501 returns error5502 when list_sentry_projects returns projects5503 returns the projects5504 with unauthorized user5505 returns error5506 with error tracking disabled5507 ignores enabled flag5508 error_tracking_setting is nil5509 builds a new error_tracking_setting5510EntityDateHelper5511 converts 0 seconds5512 converts 40 seconds5513 converts 60 seconds5514 converts 70 seconds5515 converts 3600 seconds5516 converts 3750 seconds5517 converts 86400 seconds5518 converts 86560 seconds5519 converts 86760 seconds5520 converts 986760 seconds5521 #remaining_days_in_words5522 when less than 31 days remaining5523 returns days remaining5524 when milestone due date is today5525 returns today5526 when milestone due date is tomorrow5527 returns 1 day remaining5528 returns 1 day remaining when queried mid-day5529 when less than 1 year and more than 30 days remaining5530 returns months remaining5531 when more than 1 year remaining5532 returns years remaining5533 when milestone is expired5534 returns "Past due"5535 when milestone has start_date in the future5536 returns "Upcoming"5537 when milestone has start_date in the past5538 returns days elapsed5539NotificationsHelper5540 notification_icon5541 is expected to match "data-testid=\"notifications-off-icon\""5542 is expected to match "data-testid=\"notifications-off-icon\""5543 is expected to match "data-testid=\"notifications-icon\""5544 is expected to match "data-testid=\"at-icon\""5545 is expected to match "data-testid=\"earth-icon"5546 is expected to match "data-testid=\"eye-icon\""5547 is expected to equal ""5548 notification_title5549 is expected to match "Watch"5550 is expected to match "On mention"5551 is expected to match "Global"5552 #notification_icon_level5553 is expected to eq "owner_disabled"5554 is expected to eq "watch"5555 is expected to eq "participating"5556Ci::ExpirePipelineCacheService5557 #execute5558 invalidates Etag caching for project pipelines path5559 invalidates Etag caching for merge request pipelines if pipeline runs on any commit of that source branch5560 updates the cached status for a project5561 does not do N+1 queries5562 destroyed pipeline5563 clears the cache5564 when the pipeline is triggered by another pipeline5565 updates the cache of dependent pipeline5566 when the pipeline triggered another pipeline5567 updates the cache of dependent pipeline5568Packages::CleanupPackageRegistryWorker5569 #perform5570 with package files pending destruction5571 queues the cleanup job5572 behaves like an idempotent worker5573 is labeled as idempotent5574 performs multiple times sequentially without raising an exception5575 with no package files pending destruction5576 does not queue the cleanup job5577 behaves like an idempotent worker5578 is labeled as idempotent5579 performs multiple times sequentially without raising an exception5580 counts logging5581 logs all the counts5582 with load balancing enabled5583 reads the count from the replica5584Tree5585 #readme5586 returns nil when repository does not contains a README file5587 returns nil when repository does not contains a previewable README file5588 returns README when repository contains a previewable README file5589 returns first previewable README when repository contains more than one5590 returns first plain text README when repository contains more than one5591 prioritizes previewable README file over one in plain text5592 #cursor5593 is expected to be an instance of Gitaly::PaginationCursor5594CommitPresenter5595 #web_path5596 is expected to eq "/namespace1237/project1286/-/commit/b83d6e391c22777fca1ed3012fce84f633d7fed0"5597 #status_for5598 when user can read_commit_status5599 returns commit status for ref5600 when user can not read_commit_status5601 is nil5602 #any_pipelines?5603 when user can read pipeline5604 returns if there are any pipelines for commit5605 when user can not read pipeline5606 is false5607 #signature_html5608 renders html for displaying signature5609Environments::AutoStopWorker5610 stops the environment5611 executes the stop action5612 when user does not have a permission to play the stop action5613 raises an error5614 when the environment has already been stopped5615 does not execute the stop action5616 when there are no deployments and associted stop actions5617 stops the environment5618 when there are no corresponding environment record5619 ignores the invalid record5620Gitlab::Ci::Reports::Security::Reports5621 #get_report5622 when report type is sast5623 is expected to eq "sast"5624 is expected to eq 2022-02-04 17:26:54.534129385 +00005625 initializes a new report and returns it5626 when report type is already allocated5627 does not initialize a new report5628 #findings5629 is expected to contain exactly #<Gitlab::Ci::Reports::Security::Finding:0x00007f187b8fc060 @compare_key="find_sec_bugs_type:PREDICTA...y_finding_signatures_enabled=false, @project_fingerprint="2022699924e21aad89e1df0a59c227aa6e9234fe"> and #<Gitlab::Ci::Reports::Security::Finding:0x00007f187b8cd198 @compare_key="find_sec_bugs_type:PREDICTA...y_finding_signatures_enabled=false, @project_fingerprint="2022699924e21aad89e1df0a59c227aa6e9234fe">5630 #violates_default_policy_against?5631 when the target_reports is `nil`5632 with severity levels matching the existing vulnerabilities5633 is expected to equal true5634 without any severity levels matching the existing vulnerabilities5635 is expected to equal false5636 when the target_reports is not `nil`5637 when a report has a new unsafe vulnerability5638 is expected to equal true5639 with severity levels matching the existing vulnerabilities5640 is expected to equal true5641 with vulnerabilities_allowed higher than the number of new vulnerabilities5642 is expected to equal false5643 without any severity levels matching the existing vulnerabilities5644 is expected to equal false5645 when none of the reports have a new unsafe vulnerability5646 is expected to equal false5647 with related report_types5648 is expected to equal true5649 with unrelated report_types5650 is expected to equal false5651Packages::Generic::CreatePackageFileService5652 #execute5653 creates package file5654 with a status5655 updates an existing packages status5656 behaves like assigns build to package file5657 with build info5658 assigns the pipeline to the package5659 creates a new PackageFileBuildInfo record5660 with existing package5661 is expected to change `project.package_files.count` by 15662 when duplicates are not allowed5663 does not allow duplicates5664 when the package name matches the exception regex5665 is expected to change `project.package_files.count` by 15666 with multiple files for the same package and the same pipeline5667 creates the build info only once5668Resolvers::Projects::SnippetsResolver5669 #resolve5670 calls SnippetsFinder5671 when using no filter5672 returns expected snippets5673 when using filters5674 returns the snippets by visibility5675 returns the snippets by gid5676 returns the snippets by array of gid5677 returns an error if the gid is invalid5678 when no project is provided5679 returns no snippets5680 when provided user is not current user5681 returns no snippets5682 when project snippets are disabled5683 raises an error5684Metrics::UsersStarredDashboard5685 associations5686 is expected to belong to project required: false inverse_of => metrics_users_starred_dashboards5687 is expected to belong to user required: false inverse_of => metrics_users_starred_dashboards5688 validation5689 is expected to validate that :user_id cannot be empty/falsy5690 is expected to validate that :project_id cannot be empty/falsy5691 is expected to validate that :dashboard_path cannot be empty/falsy5692 is expected to validate that the length of :dashboard_path is at most 2555693 is expected to validate that :dashboard_path is case-sensitively unique within the scope of :user_id and :project_id5694 scopes5695 #for_project5696 selects only starred dashboards belonging to project5697 #for_project_dashboard5698 selects only starred dashboards belonging to project with given dashboard path5699Gitlab::Cleanup::OrphanLfsFileReferences5700 dry run5701 prints messages and does not delete references5702 regular run5703 prints messages and deletes invalid reference5704 does nothing if the project has no LFS objects5705 LFS object is in design repository5706 is not removed5707 LFS object is in wiki repository5708 is not removed5709 LFS for project snippets5710 is disabled5711Gitlab::LegacyGithubImport::LabelFormatter5712 #attributes5713 returns formatted attributes5714 #create!5715 when label does not exist5716 creates a new label5717 when label exists5718 does not create a new label5719Gitlab::AuthorizedKeys5720 #accessible?5721 authorized_keys file exists5722 can open file5723 is expected to be truthy5724 cannot open file5725 is expected to be falsey5726 authorized_keys file does not exist5727 is expected to be falsey5728 #create5729 authorized_keys file exists5730 is expected to be truthy5731 authorized_keys file does not exist5732 creates authorized_keys file5733 cannot create file5734 is expected to be falsey5735 #add_key5736 authorized_keys file exists5737 adds a line at the end of the file and strips trailing garbage5738 authorized_keys file does not exist5739 creates the file5740 #batch_add_keys5741 authorized_keys file exists5742 adds lines at the end of the file5743 invalid key5744 doesn't add keys5745 authorized_keys file does not exist5746 creates the file5747 #remove_key5748 authorized_keys file exists5749 removes the right line5750 authorized_keys file does not exist5751 is expected to be falsey5752 #clear5753 authorized_keys file exists5754 is expected to be truthy5755 authorized_keys file does not exist5756 is expected to be truthy5757 #list_key_ids5758 authorized_keys file exists5759 is expected to eq [1, 2, 3, 9000]5760 authorized_keys file does not exist5761 is expected to be empty5762Gitlab::SlashCommands::Presenters::IssueShow5763 is expected to be a kind of Hash5764 shows the issue5765 with upvotes5766 shows the upvote count5767 with labels5768 shows the labels5769 confidential issue5770 shows an ephemeral response5771Gitlab::GithubImport::ReschedulingMethods5772 #perform5773 with a non-existing project5774 does not perform any work5775 notifies any waiters so they do not wait forever5776 with an existing project5777 notifies any waiters upon successfully importing the data5778 reschedules itself if the data could not be imported5779 #try_import5780 returns true when the import succeeds5781 returns false when the import fails due to hitting the GitHub API rate limit5782 #notify_waiter5783 notifies the waiter if a waiter key is specified5784 does not notify any waiters if no waiter key is specified5785Analytics::UsageTrends::Measurement5786 validation5787 is expected to validate that :recorded_at cannot be empty/falsy5788 is expected to validate that :identifier cannot be empty/falsy5789 is expected to validate that :count cannot be empty/falsy5790 is expected to validate that :recorded_at is case-sensitively unique within the scope of :identifier5791 identifiers enum5792 maps to the correct values5793 scopes5794 .order_by_latest5795 is expected to eq [#<Analytics::UsageTrends::Measurement id: 6, count: 1000, recorded_at: "2022-02-02 17:27:14.29208323...ent id: 5, count: 1000, recorded_at: "2022-01-25 17:27:14.286882330 +0000", identifier: "projects">]5796 .with_identifier5797 is expected to contain exactly #<Analytics::UsageTrends::Measurement id: 5, count: 1000, recorded_at: "2022-01-25 17:27:14.286882330 +0000", identifier: "projects"> and #<Analytics::UsageTrends::Measurement id: 6, count: 1000, recorded_at: "2022-02-02 17:27:14.292083230 +0000", identifier: "projects">5798 .recorded_after5799 is expected to contain exactly #<Analytics::UsageTrends::Measurement id: 6, count: 1000, recorded_at: "2022-02-02 17:27:14.292083230 +0000", identifier: "projects"> and #<Analytics::UsageTrends::Measurement id: 7, count: 1000, recorded_at: "2022-01-30 17:27:14.296455270 +0000", identifier: "groups">5800 when nil is given5801 does not apply filtering5802 .recorded_before5803 is expected to contain exactly #<Analytics::UsageTrends::Measurement id: 5, count: 1000, recorded_at: "2022-01-25 17:27:14.286882330 +0000", identifier: "projects"> and #<Analytics::UsageTrends::Measurement id: 7, count: 1000, recorded_at: "2022-01-30 17:27:14.296455270 +0000", identifier: "groups">5804 when nil is given5805 does not apply filtering5806 .identifier_query_mapping5807 is expected to be a kind of Hash5808 .identifier_min_max_queries5809 is expected to be a kind of Hash5810 .measurement_identifier_values5811 is expected to eq 115812 .find_latest_or_fallback5813 with usage statistics5814 returns the latest stored measurement5815 without usage statistics5816 returns the realtime query of the measurement5817Resolvers::ReleasesResolver5818 #resolve5819 when the user does not have access to the project5820 returns an empty array5821 when the user has full access to the project's releases5822 returns all releases associated to the project5823 sorting behavior5824 with sort: :released_at_desc5825 returns the releases ordered by released_at in descending order5826 with sort: :released_at_asc5827 returns the releases ordered by released_at in ascending order5828 with sort: :created_desc5829 returns the releases ordered by created_at in descending order5830 with sort: :created_asc5831 returns the releases ordered by created_at in ascending order5832Ci::UpdateInstanceVariablesService5833 #execute5834 without variables5835 is expected to be truthy5836 with insert only variables5837 is expected to be truthy5838 persists all the records5839 persists attributes5840 with update only variables5841 is expected to be truthy5842 does not change the count5843 updates the records in place5844 with insert and update variables5845 is expected to be truthy5846 inserts only one record5847 persists all the records5848 with insert, update, and destroy variables5849 is expected to be truthy5850 persists all the records5851 with invalid variables5852 is expected to be falsey5853 does not insert any records5854 does not update existing records5855 returns errors5856 when deleting non existing variables5857 is expected to raise ActiveRecord::RecordNotFound5858 when updating non existing variables5859 is expected to raise ActiveRecord::RecordNotFound5860DisableJoins5861 passing disable_joins as an association option5862 when the association is a bare has_one5863 disallows the disable_joins option5864 when the association is a belongs_to5865 disallows the disable_joins option5866 when the association is has_one :through5867 allows the disable_joins option5868 when the association is a bare has_many5869 disallows the disable_joins option5870 when the association is a has_many :through5871 allows the disable_joins option5872 querying has_one :through when disable_joins is set5873 when disable_joins evaluates to true5874 executes separate queries5875 when disable_joins evalutes to false5876 executes a single query5877 querying has_many :through when disable_joins is set5878 when disable_joins evaluates to true5879 executes separate queries5880 when disable_joins evalutes to false5881 executes a single query5882 querying STI relationships5883 filters correctly by the STI type across multiple queries5884 querying polymorphic relationships5885 filters correctly by the polymorphic type across multiple queries5886Packages::Debian::CreateDistributionService5887 within a projet5888 behaves like Debian Create Distribution Service5889 with only the codename param5890 behaves like Create Debian Distribution5891 returns ServiceResponse5892 with codename, components and architectures5893 behaves like Create Debian Distribution5894 returns ServiceResponse5895 with invalid suite5896 behaves like Create Debian Distribution5897 returns ServiceResponse5898 with invalid component name5899 behaves like Create Debian Distribution5900 returns ServiceResponse5901 with invalid architecture name5902 behaves like Create Debian Distribution5903 returns ServiceResponse5904 within a group5905 behaves like Debian Create Distribution Service5906 with only the codename param5907 behaves like Create Debian Distribution5908 returns ServiceResponse5909 with codename, components and architectures5910 behaves like Create Debian Distribution5911 returns ServiceResponse5912 with invalid suite5913 behaves like Create Debian Distribution5914 returns ServiceResponse5915 with invalid component name5916 behaves like Create Debian Distribution5917 returns ServiceResponse5918 with invalid architecture name5919 behaves like Create Debian Distribution5920 returns ServiceResponse5921Ci::VariablesFinder5922 for a project5923 #initialize5924 without key filter5925 raises an error5926 #execute5927 with key filter5928 returns var15929 with key and environment_scope filter5930 returns var25931 for a group5932 #initialize5933 without key filter5934 raises an error5935 #execute5936 with key filter5937 returns var15938 with key and environment_scope filter5939 returns var25940ObjectPool::DestroyWorker5941 #perform5942 when no pool is in the database5943 doesn't raise an error5944 when a pool is present5945 requests Gitaly to remove the object pool5946 destroys the pool5947projects/project_members/index5948 when user can invite members for the project5949 when modal is enabled5950 renders as expected5951 when project is not allowed to share with group5952 renders as expected5953 when modal is not enabled5954 renders as expected5955 when project can not be shared5956 renders as expected5957 when user can not invite members or group for the project5958 when project can be shared5959 renders as expected5960Gitlab::DependencyLinker5961 .link5962 links using GemfileLinker5963 links using GemspecLinker5964 links using PackageJsonLinker5965 links using ComposerJsonLinker5966 links using PodfileLinker5967 links using PodspecLinker5968 links using PodspecJsonLinker5969 links using CartfileLinker5970 links using GodepsJsonLinker5971 links using RequirementsTxtLinker5972 links using CargoTomlLinker5973 links using GoModLinker5974 links using GoSumLinker5975SystemNotes::BaseService5976 #noteable5977 is expected to eq #<Double (anonymous)>5978 returns nil if no arguments are given5979 #project5980 is expected to eq #<Double (anonymous)>5981 returns nil if no arguments are given5982 #author5983 is expected to eq #<Double (anonymous)>5984 returns nil if no arguments are given5985Atlassian::JiraConnect::AsymmetricJwt5986 #valid?5987 returns true when verified with public key from CDN5988 JWT does not contain a key ID5989 is expected not to be valid5990 JWT contains a key ID that is not a valid UUID45991 is expected not to be valid5992 public key can not be retrieved5993 is expected not to be valid5994 retrieving the public raises an error5995 is expected not to be valid5996 token decoding raises an error5997 is expected not to be valid5998 when iss could not be verified5999 is expected not to be valid6000 when qsh could not be verified6001 is expected not to be valid6002 #iss_claim6003 is expected to eq nil6004 when jwt is verified6005 is expected to eq "client_key"6006Gitlab::DependencyLinker::GemfileLinker6007 .support?6008 supports Gemfile6009 supports gems.rb6010 does not support other files6011 #link6012 links sources6013 links dependencies6014 links to external dependencies6015 links GitHub repos6016 links Git repos6017Gitlab::Ci::Config::External::File::Local6018 #matching?6019 when a local is specified6020 returns true6021 with a missing local6022 returns false6023 with a missing local key6024 returns false6025 #valid?6026 when is a valid local path6027 returns true6028 when is not a valid local path6029 returns false6030 when is not a yaml file6031 returns false6032 #content6033 with a valid file6034 returns the content of the file6035 with an invalid file6036 is nil6037 #error_message6038 returns an error message6039 #expand_context6040 inherits project, user and sha6041 #to_hash6042 properly includes another local file in the same repository6043 does expand hash to include the template6044Resolvers::DesignManagement::DesignAtVersionResolver6045 #resolve6046 returns the specified design6047 when the user cannot see designs6048 raises ResourceNotAvailable6049 the ID belongs to a design on another issue6050 raises ResourceNotAvailable6051 the current object does not constrain the issue6052 returns the object6053Ci::PipelineMessage6054 validations6055 when message content is longer than the limit6056 is truncated with ellipsis6057 when message is not present6058 returns an error6059 when message content is valid6060 is saved with default error severity6061 is persist the defined severity6062Gitlab::PhabricatorImport::ProjectCreator6063 #execute6064 creates a project correctly and schedule an import6065 when import params are missing6066 returns nil6067 when import params are invalid6068 returns an unpersisted project6069Aws::Role6070 is expected to belong to user required: false6071 is expected to validate that the length of :role_external_id is between 1 and 646072 custom validations6073 :role_arn6074 length is zero6075 is expected to be falsey6076 length is longer than 20486077 is expected to be falsey6078 ARN is valid6079 is expected to be truthy6080 ARN is nil6081 is expected to be truthy6082 callbacks6083 #ensure_role_external_id!6084 for a new record6085 calls #ensure_role_external_id!6086 for an existing record6087 does not call #ensure_role_external_id!6088 #ensure_role_external_id!6089 role_external_id is blank6090 generates an external ID and assigns it to the record6091 role_external_id is already set6092 does not change the existing external id6093RuboCop::Cop::Gitlab::RailsLogger6094 flags the use of Rails.logger.debug with a constant receiver6095 flags the use of Rails.logger.error with a constant receiver6096 flags the use of Rails.logger.fatal with a constant receiver6097 flags the use of Rails.logger.info with a constant receiver6098 flags the use of Rails.logger.warn with a constant receiver6099 does not flag the use of Rails.logger with a constant that is not Rails6100 does not flag the use of logger with a send receiver6101 does not flag the use of Rails.logger.level6102Resolvers::GroupsResolver6103 #resolve6104 when parent group is public6105 when `include_parent_descendants` is false6106 when user is not logged in6107 behaves like access to all public subgroups6108 returns all public subgroups of the parent group6109 when user is logged in6110 behaves like access to all public subgroups6111 returns all public subgroups of the parent group6112 when `include_parent_descendants` is true6113 when user is not logged in6114 behaves like access to all public descendant groups6115 returns all public descendant groups of the parent group ordered by ASC name6116 when user is logged in6117 behaves like access to all public descendant groups6118 returns all public descendant groups of the parent group ordered by ASC name6119 with owned argument set as true6120 returns only descendant groups owned by the user6121 with search argument6122 returns only descendant groups with matching name or path6123 when parent group is private6124 when `include_parent_descendants` is true6125 when user is not logged in6126 behaves like returning empty results6127 returns empty results6128 when user is logged in6129 returns all private descendant groups6130 when `include_parent_descendants` is false6131 when user is not logged in6132 behaves like returning empty results6133 returns empty results6134 when user is logged in6135 returns private subgroups6136Terraform::StatePolicy6137 rules6138 no access6139 is expected to be disallowed :read_terraform_state6140 is expected to be disallowed :admin_terraform_state6141 developer6142 is expected to be allowed :read_terraform_state6143 is expected to be disallowed :admin_terraform_state6144 maintainer6145 is expected to be allowed :read_terraform_state6146 is expected to be allowed :admin_terraform_state6147Gitlab::Ci::Build::Artifacts::Metadata6148 metadata file exists6149 #find_entries! empty string6150 matches correct paths6151 matches metadata for every path6152 return Hashes for each metadata6153 #find_entries! other_artifacts_0.1.2/6154 matches correct paths6155 #find_entries! other_artifacts_0.1.2/another-subdirectory/6156 matches correct paths6157 #find_entries! recursively for other_artifacts_0.1.2/6158 matches correct paths6159 #to_entry6160 is expected to be an instance of Gitlab::Ci::Build::Artifacts::Metadata::Entry6161 #full_version6162 is expected to eq "GitLab Build Artifacts Metadata 0.0.1"6163 #version6164 is expected to eq "0.0.1"6165 #errors6166 is expected to eq {}6167 metadata file does not exist6168 #find_entries!6169 raises error6170 metadata file is invalid6171 #find_entries!6172 raises error6173 generated metadata6174 #find_entries!6175 reads expected number of entries6176Types::BaseObject6177 scoping items6178 paginates arrays correctly6179 filters connections correctly6180 filters polymorphic connections6181 filters interface connections6182 redacts polymorphic objects6183 paginates before scoping6184 a lazy list6185 behaves like array member redaction6186 redacts the unauthorized array member6187 a list of lazy items6188 behaves like array member redaction6189 redacts the unauthorized array member6190 an array connection of items6191 behaves like array member redaction6192 redacts the unauthorized array member6193 an array connection of items, selecting edges6194 behaves like array member redaction6195 redacts the unauthorized array member6196Users::CreditCardValidation6197 is expected to belong to user required: false6198 is expected to validate that the length of :holder_name is at most 266199 is expected to validate that the length of :network is at most 326200 is expected to validate that :last_digits looks like a number less than or equal to 99996201 .similar_records6202 returns matches with the same last_digits, expiration and network, ordered by credit_card_validated_at6203Gitlab::SlashCommands::Presenters::IssueNew6204 is expected to be a kind of Hash6205 shows the issue6206QualifiedDomainArrayValidator6207 validations6208 returns error when attribute is nil6209 allows when domain is valid6210 returns error when domain contains unicode6211 returns error when entry is larger than 255 chars6212 returns error when entry contains HTML tags6213 behaves like can be blank6214 allows when attribute is blank6215 when allow_nil is set to true6216 behaves like can be nil6217 allows when attribute is nil6218 behaves like can be blank6219 allows when attribute is blank6220 when allow_blank is set to true6221 behaves like can be nil6222 allows when attribute is nil6223 behaves like can be blank6224 allows when attribute is blank6225Gitlab::Database::Migration6226 .[]6227 version: 1.06228 inherits from ActiveRecord::Migration[6.1]6229 includes migration helpers version 26230 includes LockRetriesConcern6231 unknown version6232 raises an error6233 .current_version6234 includes current ActiveRecord migration class6235 Gitlab::Database::Migration::LockRetriesConcern6236 when not explicitly called6237 does not disable lock retries by default6238 when explicitly disabled6239 does not disable lock retries by default6240Gitlab::Zentao::Query6241 #issues6242 when params are empty6243 fills default params6244 when params contain valid options6245 fills params with standard of ZenTao6246 when params contain invalid options6247 fills default params with standard of ZenTao6248 #issue6249 returns issue object by client6250Gitlab::Ci::Build::Rules::Rule6251 #matches?6252 with one matching clause6253 is expected to eq true6254 with two matching clauses6255 is expected to eq true6256 with a matching and non-matching clause6257 is expected to eq false6258 with two non-matching clauses6259 is expected to eq false6260Gitlab::Usage::Metrics::NameSuggestion6261 #for6262 for count with nil column6263 behaves like name suggestion6264 return correct name6265 for count with column :id6266 behaves like name suggestion6267 return correct name6268 for count distinct with column defined metrics6269 behaves like name suggestion6270 return correct name6271 joined relations6272 counted attribute comes from source relation6273 behaves like name suggestion6274 return correct name6275 strips off time period constraint6276 behaves like name suggestion6277 return correct name6278 for sum metrics6279 behaves like name suggestion6280 return correct name6281 for redis metrics6282 behaves like name suggestion6283 return correct name6284 for alt_usage_data metrics6285 behaves like name suggestion6286 return correct name6287Gitlab::Webpack::Manifest6288 with dev server enabled6289 .asset_paths6290 errors if we can't find the manifest6291 behaves like a valid manifest6292 returns single entry asset paths from the manifest6293 returns multiple entry asset paths from the manifest6294 errors on a missing entry point6295 webpack errors6296 does not error if errors is present but empty6297 when webpack has 'Module build failed' errors in its manifest6298 errors6299 when webpack does not have 'Module build failed' errors in its manifest6300 does not error6301 with dev server disabled6302 .asset_paths6303 errors if we can't find the manifest6304 behaves like a valid manifest6305 returns single entry asset paths from the manifest6306 returns multiple entry asset paths from the manifest6307 errors on a missing entry point6308Gitlab::Middleware::Multipart::Handler6309 #allowed_paths6310 package_features_enabled: false, object_storage_enabled: false, direct_upload_enabled: true, expected_paths: :expected_allowed_paths6311 is expected to eq ["/tmp", "/builds/gitlab-org/gitlab/tmp/tests/public/uploads", "/builds/gitlab-org/gitlab/tmp/tests/p...lab-org/gitlab/shared/dependency_proxy/tmp/uploads", "/builds/gitlab-org/gitlab/public/uploads/tmp"]6312 package_features_enabled: false, object_storage_enabled: false, direct_upload_enabled: false, expected_paths: :expected_allowed_paths6313 is expected to eq ["/tmp", "/builds/gitlab-org/gitlab/tmp/tests/public/uploads", "/builds/gitlab-org/gitlab/tmp/tests/p...lab-org/gitlab/shared/dependency_proxy/tmp/uploads", "/builds/gitlab-org/gitlab/public/uploads/tmp"]6314 package_features_enabled: false, object_storage_enabled: true, direct_upload_enabled: true, expected_paths: :expected_allowed_paths6315 is expected to eq ["/tmp", "/builds/gitlab-org/gitlab/tmp/tests/public/uploads", "/builds/gitlab-org/gitlab/tmp/tests/p...lab-org/gitlab/shared/dependency_proxy/tmp/uploads", "/builds/gitlab-org/gitlab/public/uploads/tmp"]6316 package_features_enabled: false, object_storage_enabled: true, direct_upload_enabled: false, expected_paths: :expected_allowed_paths6317 is expected to eq ["/tmp", "/builds/gitlab-org/gitlab/tmp/tests/public/uploads", "/builds/gitlab-org/gitlab/tmp/tests/p...lab-org/gitlab/shared/dependency_proxy/tmp/uploads", "/builds/gitlab-org/gitlab/public/uploads/tmp"]6318 package_features_enabled: true, object_storage_enabled: false, direct_upload_enabled: true, expected_paths: :expected_with_packages_path6319 is expected to eq ["/tmp", "/builds/gitlab-org/gitlab/tmp/tests/public/uploads", "/builds/gitlab-org/gitlab/tmp/tests/p...ilds/gitlab-org/gitlab/public/uploads/tmp", "/builds/gitlab-org/gitlab/shared/packages/tmp/uploads"]6320 package_features_enabled: true, object_storage_enabled: false, direct_upload_enabled: false, expected_paths: :expected_with_packages_path6321 is expected to eq ["/tmp", "/builds/gitlab-org/gitlab/tmp/tests/public/uploads", "/builds/gitlab-org/gitlab/tmp/tests/p...ilds/gitlab-org/gitlab/public/uploads/tmp", "/builds/gitlab-org/gitlab/shared/packages/tmp/uploads"]6322 package_features_enabled: true, object_storage_enabled: true, direct_upload_enabled: true, expected_paths: :expected_allowed_paths6323 is expected to eq ["/tmp", "/builds/gitlab-org/gitlab/tmp/tests/public/uploads", "/builds/gitlab-org/gitlab/tmp/tests/p...lab-org/gitlab/shared/dependency_proxy/tmp/uploads", "/builds/gitlab-org/gitlab/public/uploads/tmp"]6324 package_features_enabled: true, object_storage_enabled: true, direct_upload_enabled: false, expected_paths: :expected_with_packages_path6325 is expected to eq ["/tmp", "/builds/gitlab-org/gitlab/tmp/tests/public/uploads", "/builds/gitlab-org/gitlab/tmp/tests/p...ilds/gitlab-org/gitlab/public/uploads/tmp", "/builds/gitlab-org/gitlab/shared/packages/tmp/uploads"]6326SnippetInputActionCollection6327 is expected to delegate #empty? to the #actions object6328 is expected to delegate #any? to the #actions object6329 is expected to delegate #[] to the #actions object6330 #to_commit_actions6331 translates all actions to commit actions6332 #valid?6333 returns true6334 when any of the actions is invalid6335 returns false6336 when allowed_actions param is passed6337 builds SnippetInputAction with that param6338Gitlab::Lograge::CustomOptions6339 .call6340 ignores some parameters6341 formats the parameters6342 adds the current time6343 adds the user id6344 adds Cloudflare headers6345 adds the metadata6346 when metadata is missing6347 does not break6348 trusted payload6349 is expected to include {:remote_ip => "192.168.1.2", :user_id => "test", :ua => "Nyxt", :queue_duration_s => 0.2, :etag_route => "/etag", :request_urgency => :default, :target_duration_s => 1, :cf_ray => "c60dee32f2e42c43b324519239fb3ff6", :cf_request_id => "9f766e528045819d8f498b768cb4f257"}6350 payload with rejected fields6351 is expected to include {:request_urgency => :high}6352 is expected not to include {:something => "random"}6353 is expected not to include {:username => nil}6354 when correlation_id is overridden6355 sets the overridden value6356 when feature flags are present6357 and :feature_flag_log_states is enabled6358 adds feature flag events6359 and :feature_flag_log_states is disabled6360 does not track or add feature flag events6361BulkImports::FileDecompressionService6362 #execute6363 decompresses specified file6364 when validate_import_decompressed_archive_size feature flag is enabled6365 performs decompressed file size validation6366 when validate_import_decompressed_archive_size feature flag is disabled6367 does not perform decompressed file size validation6368 when dir is not in tmpdir6369 raises an error6370 when path is being traversed6371 raises an error6372 when compressed file is a symlink6373 raises an error and removes the file6374 when decompressed file is a symlink6375 raises an error and removes the file6376Security::CiConfiguration::ContainerScanningCreateService6377 #execute6378 user does not belong to project6379 returns an error status6380 does not track a snowplow event6381 user belongs to project6382 does track the snowplow event6383 raises exception if the user does not have permission to create a new branch6384 when exception is raised6385 when branch was created6386 tries to rm branch6387 when branch was not created6388 does not try to rm branch6389 with no parameters6390 returns the path to create a new merge request6391Gitlab::Config::Entry::Configurable6392 validations6393 when entry is a hash6394 correctly validates an instance6395 when entry is not a hash6396 invalidates the instance6397 configured entries6398 .nodes6399 has valid nodes6400 creates a node factory6401 returns a duplicated factory object6402 .reserved_node_names6403 returns all nodes with reserved: true6404Uniquify6405 #string6406 returns the given string if it does not exist6407 returns the given string with a counter attached if the string exists6408 increments the counter for each candidate string that also exists6409 allows to pass an initial value for the counter6410 allows passing in a base function that defines the location of the counter6411LabelSerializer6412 #represent6413 when a single object is being serialized6414 serializes the label object6415 when multiple objects are being serialized6416 serializes the array of labels6417 #represent_appearance6418 when represents only appearance6419 serializes only attributes used for appearance6420CustomerRelations::Contacts::CreateService6421 #execute6422 when user does not have permission6423 returns an error6424 when user has permission6425 creates a contact6426 returns an error when the contact is not persisted6427 returns an error when the organization_id is invalid6428 returns an error when the organization belongs to a different group6429Gitlab::Terraform::StateMigrationHelper6430 .migrate_to_remote_storage6431 migrates remote files to remote storage6432Clusters::Project6433 is expected to belong to cluster required: false6434 is expected to belong to project required: false6435 is expected to have many kubernetes_namespaces6436RemoveUnacceptedMemberInvitesWorker6437 #perform6438 unaccepted members6439 removes unaccepted members6440 invited members still within expiration threshold6441 leaves invited members6442 accepted members6443 leaves accepted members6444Gitlab::Composer::VersionIndex6445 #as_json6446 returns the packages json6447 with an unordered list of packages6448 returns the packages sorted by version6449 #sha6450 returns the json SHA6451ForkNetworkMember6452 validations6453 is expected to validate that :project cannot be empty/falsy6454 is expected to validate that :fork_network cannot be empty/falsy6455 destroying a ForkNetworkMember6456 removes the fork network if it was the last member6457 does not destroy the fork network if there are members left6458Gitlab::PipelineScopeCounts6459 has policy class6460 has expected attributes6461 with large amount of pipelines6462 sets the PIPELINES_COUNT_LIMIT constant to a value of 1_0006463 when there are more records than the limit6464 limits the found items6465BulkImports::Groups::Loaders::GroupLoader6466 #load6467 when path is missing6468 raises an error6469 when destination namespace is not a group6470 raises an error6471 when group exists6472 raises an error6473 when there are other group errors6474 raises an error with those errors6475 when user can create group6476 when there is no parent group6477 calls Group Create Service to create a new group6478 when there is parent group6479 calls Group Create Service to create a new group6480 when user cannot create group6481 when there is no parent group6482 does not create new group6483 when there is parent group6484 does not create new group6485Gitlab::BitbucketImport::WikiFormatter6486 #disk_path6487 appends .wiki to disk path6488 #full_path6489 appends .wiki to project path6490 #import_url6491 returns URL of the wiki repository6492Gitlab::Graphql::Pagination::Keyset::Conditions::NotNullCondition6493 #build6494 when there is only one ordering field6495 generates a single condition sql6496 when ordering by a column attribute6497 when :after6498 behaves like :after condition6499 generates :after sql6500 when :before6501 generates :before sql6502 when :foo6503 behaves like :after condition6504 generates :after sql6505 when ordering by LOWER6506 when :after6507 generates :after sql6508 when :before6509 generates :before sql6510Gitlab::Ci::Status::Build::Erased6511 #illustration6512 is expected to include :image, :size, and :title6513 .matches?6514 when build is erased6515 is a correct match6516 when build is not erased6517 does not match6518Types::InvitationInterface6519 exposes the expected fields6520 .resolve_type6521 for project member6522 is expected to equal Types::ProjectInvitationType6523 for group member6524 is expected to equal Types::GroupInvitationType6525 for an unknown type6526 raises an error6527TokenAuthenticatableStrategies::Base6528 .fabricate6529 when digest stragegy is specified6530 fabricates digest strategy object6531 when encrypted strategy is specified6532 fabricates encrypted strategy object6533 when no strategy is specified6534 fabricates insecure strategy object6535 when incompatible options are provided6536 raises an error6537Gitlab::SidekiqMiddleware6538 .server_configurator6539 server metrics6540 records correct Gitaly duration6541 all optional middlewares on6542 behaves like a middleware chain6543 passes through the right middlewares6544 behaves like a middleware chain for mailer6545 behaves like a middleware chain6546 passes through the right middlewares6547 all optional middlewares off6548 behaves like a middleware chain6549 passes through the right middlewares6550 behaves like a middleware chain for mailer6551 behaves like a middleware chain6552 passes through the right middlewares6553 .client_configurator6554 behaves like a middleware chain6555 passes through the right middlewares6556 behaves like a middleware chain for mailer6557 behaves like a middleware chain6558 passes through the right middlewares6559ErrorTrackingIssueLinkWorker6560 #perform6561 creates a link between an issue and a Sentry issue in Sentry6562 when issue is unavailable6563 behaves like makes no external API requests6564 takes no action6565 when project does not have error tracking configured6566 behaves like makes no external API requests6567 takes no action6568 when the issue is not linked to a Sentry issue in GitLab6569 behaves like makes no external API requests6570 takes no action6571 when Sentry disabled the GitLab integration6572 behaves like attempts to create a link via plugin6573 takes no action6574 when Sentry the GitLab integration is for another project6575 behaves like attempts to create a link via plugin6576 takes no action6577 when Sentry repos request errors6578 falls back to creating a link via plugin6579Packages::Nuget::PackagesVersionsPresenter6580 #versions6581 is expected to contain exactly "1.0.10", "1.0.11", "1.0.12", "1.0.8", and "1.0.9"6582Gitlab::UsageDataQueries6583 #add_metric6584 builds the query for given metric6585 .count6586 returns the raw SQL6587 does not mix a nil column with keyword arguments6588 .distinct_count6589 returns the raw SQL6590 does not mix a nil column with keyword arguments6591 .redis_usage_data6592 returns a class for redis_usage_data with a counter call6593 returns a stringified block for redis_usage_data with a block6594 .sum6595 returns the raw SQL6596 .add6597 returns the combined raw SQL with an inner query6598 .histogram6599 returns the histogram sql6600 min/max methods6601 returns nil6602Types::Terraform::StateType6603 is expected to eq "TerraformState"6604 is expected to require graphql authorizations :read_terraform_state6605 fields6606 is expected to have graphql fields :id, :name, :locked_by_user, :locked_at, :latest_version, :created_at, and :updated_at6607 is expected to be non null6608 is expected to be non null6609 is expected not to be non null6610 is expected not to be non null6611 is expected to be non null6612 is expected to be non null6613 is expected not to be non null6614 is expected to eq 36615Gitlab::GithubImport::PageCounter6616 #initialize6617 sets the initial page number to 1 when no value is cached6618 sets the initial page number to the cached value when one is present6619 #set6620 overwrites the page number when the given number is greater than the current number6621 does not overwrite the page number when the given number is lower than the current number6622 #expire!6623 expires the current page counter6624Gitlab::Database::SharedModel6625 using an external connection6626 overrides the connection for the duration of the block6627 does not affect connections in other threads6628 when multiple connection overrides are nested6629 allows the nesting with the same connection object6630 raises an error if the connection is changed6631 when the block raises an error6632 re-raises the error, removing the overridden connection6633 #connection_db_config6634 returns the class connection_db_config6635ExportCsvWorker6636 delegates call to IssuableExportCsvWorker6637WebpackHelper6638 #prefetch_link_tag6639DEPRECATION WARNING: The asset "foo.js" is not present in the asset pipeline.6640Falling back to an asset that may be in the public folder.6641This behavior is deprecated and will be removed.6642To bypass the asset pipeline and preserve this behavior,6643use the `skip_pipeline: true` option.6644 (called from prefetch_link_tag at /builds/gitlab-org/gitlab/app/helpers/webpack_helper.rb:5)6645 returns prefetch link tag6646 #webpack_preload_asset_tag6647 preloads the resource by default6648 prefetches the resource if explicitly asked6649Types::ProjectMemberType6650 is expected to expose permissions using Types::PermissionTypes::Project6651 is expected to eq "ProjectMember"6652 is expected to require graphql authorizations :read_project6653 has the expected fields6654Banzai::Filter::SpacedLinkFilter6655 does not process malicious input6656 converts multiple URLs6657 ignores valid links contained inside 'a' element6658 ignores valid links contained inside 'code' element6659 ignores valid links contained inside 'kbd' element6660 ignores valid links contained inside 'pre' element6661 ignores valid links contained inside 'script' element6662 ignores valid links contained inside 'style' element6663 when a link is detected6664 converts slug with spaces to a link6665 converts slug with spaces and a title to a link6666 does nothing with empty text6667 does nothing with an empty slug6668 when an image is detected6669 converts slug with spaces to an iamge6670 converts slug with spaces and a title to an image6671Gitlab::Middleware::RequestContext6672 #call6673 setting the client ip6674 with X-Forwarded-For headers6675 returns the load balancer IP6676 request6677 sets the `client_ip`6678 sets the `request_start_time`6679Gitlab::GithubImport::Representation6680 .symbolize_hash6681 returns a Hash with the keys as Symbols6682 parses timestamp fields into Time instances6683Gitlab::Ci::Status::Build::Pending6684 #illustration6685 is expected to include :image, :size, :title, and :content6686 .matches?6687 when build is pending6688 is a correct match6689 when build is not pending6690 does not match6691SystemNotes::ZoomService6692 #zoom_link_added6693 sets the zoom link added note text6694 behaves like a system note6695 has the correct attributes6696 #zoom_link_removed6697 sets the zoom link removed note text6698 behaves like a system note6699 has the correct attributes6700UploaderFinder6701 #execute6702 when successful6703 gets the file-like uploader6704 when path traversal in file name6705 returns nil6706 when unexpected failure6707 returns nil when unexpected error is raised6708API::Entities::Ci::JobRequest::Port6709 returns the port number6710 returns if the port protocol6711 returns the port name6712Gitlab::BranchPushMergeCommitAnalyzer6713 #get_merge_commit6714 returns correct merge commit SHA for each commit6715 when one parent has two children6716 returns correct merge commit SHA for each commit6717 when relevant_commit_ids is provided6718 returns correct merge commit6719Gitlab::PrivateCommitEmail6720 .regex6721 is expected to match "1-foo@users.noreply.localhost"6722 is expected not to match "1-foo@users.noreply.localhost.foo"6723 is expected not to match "1-foo@users.noreply.gitlab.com"6724 is expected not to match "foo-1@users.noreply.gitlab.com"6725 is expected not to match "foobar@gitlab.com"6726 .user_id_for_email6727 parses user id from email6728 returns nil on invalid commit email6729 .user_ids_for_email6730 returns deduplicated user IDs for each valid email6731 returns an empty array with no valid emails6732 .for_user6733 returns email in the format id-username@hostname6734Users::DismissGroupCalloutService6735 #execute6736 sets the group_id6737 behaves like dismissing user callout6738 creates a new user callout6739 returns a user callout6740 sets the dismissed_at attribute to current time6741 updates an existing callout dismissed_at time6742 does not update an invalid record with dismissed_at time6743WebIdeTerminalSerializer6744 represents WebIdeTerminalEntity entities6745 accepts WebIdeTerminal as a resource6746 when resource is a build6747 transforms it into a WebIdeTerminal resource6748RemoteMirrorNotificationWorker6749 #perform6750 calls NotificationService#remote_mirror_update_failed when the mirror exists6751 does nothing when the mirror has no errors6752 does nothing when the mirror does not exist6753 does nothing when a notification has already been sent6754Namespaces::ProjectNamespacePolicy6755 with no user6756 is expected to be disallowed :owner_access, :create_projects, :admin_namespace, :read_namespace, :read_statistics, :transfer_projects, :create_package_settings, :read_package_settings, and :create_jira_connect_subscription6757 regular user6758 is expected to be disallowed :owner_access, :create_projects, :admin_namespace, :read_namespace, :read_statistics, :transfer_projects, :create_package_settings, :read_package_settings, and :create_jira_connect_subscription6759 parent owner6760 is expected to be disallowed :owner_access, :create_projects, :admin_namespace, :read_namespace, :read_statistics, :transfer_projects, :create_package_settings, :read_package_settings, and :create_jira_connect_subscription6761 admin6762 when admin mode is enabled6763 is expected to be disallowed :owner_access, :create_projects, :admin_namespace, :read_namespace, :read_statistics, :transfer_projects, :create_package_settings, :read_package_settings, and :create_jira_connect_subscription6764 when admin mode is disabled6765 is expected to be disallowed :owner_access, :create_projects, :admin_namespace, :read_namespace, :read_statistics, :transfer_projects, :create_package_settings, :read_package_settings, and :create_jira_connect_subscription6766Import::BitbucketServerService6767 raises an exception for unknown error causes6768 when no repo is found6769 returns an error6770 when user is unauthorized6771 returns an error6772 verify url6773 when host is localhost6774 does not allow requests6775 when host is on local network6776 does not allow requests6777 when host is ftp protocol6778 does not allow requests6779Packages::Composer::Metadatum6780 relationships6781 is expected to belong to package required: false6782 validations6783 is expected to validate that :package cannot be empty/falsy6784 is expected to validate that :target_sha cannot be empty/falsy6785 is expected to validate that :composer_json cannot be empty/falsy6786 scopes6787 .for_package6788 is expected to eq [#<Packages::Composer::Metadatum package_id: 90, target_sha: "d9206df1c5822a5e6e31c9e6b107066d76d80a3e", composer_json: {"name"=>"sample-project"}, version_cache_sha: nil>]6789Gitlab::WithRequestStore6790 #with_request_store6791 starts a request store and yields control6792 only starts a request store once when nested6793Import::Github::Notes::CreateService6794 does not support quick actions6795BitbucketServer::Representation::Repo6796 #project_key6797 is expected to eq "TEST"6798 #project_name6799 is expected to eq "test"6800 #slug6801 is expected to eq "rouge"6802 #browse_url6803 is expected to eq "http://localhost:7990/projects/TEST/repos/rouge/browse"6804 #clone_url6805 is expected to eq "http://root@localhost:7990/scm/test/rouge.git"6806 #description6807 is expected to eq "Rogue Repo"6808 #full_name6809 is expected to eq "test/rouge"6810BuildQueueWorker6811 #perform6812 when build exists6813 ticks runner queue value6814 when build does not exist6815 does not raise exception6816 behaves like worker with data consistency6817 .get_data_consistency_feature_flag_enabled?6818 returns true6819 .get_data_consistency6820 returns correct data consistency6821ContextCommitsDiffEntity6822 as json6823 exposes commits_count6824 exposes showing_context_commits_diff6825 exposes diffs_path6826Gitlab::Metrics::Dashboard::Importer6827 .execute6828 valid dashboard hash6829 imports metrics to database6830 invalid dashboard hash6831 returns false6832 .execute!6833 valid dashboard hash6834 imports metrics to database6835 invalid dashboard hash6836 raises error6837Packages::Composer::CacheFile6838 relationships6839 is expected to belong to group required: false6840 is expected to belong to namespace required: false6841 validations6842 is expected to validate that :namespace cannot be empty/falsy6843 scopes6844 .with_namespace6845 is expected to eq [#<Packages::Composer::CacheFile id: 1, created_at: "2022-02-04 17:28:41.045590657 +0000", updated_at...00", delete_at: nil, namespace_id: 3989, file_store: 1, file: "123456.json", file_sha256: "123456">]6846 .with_sha6847 is expected to eq [#<Packages::Composer::CacheFile id: 1, created_at: "2022-02-04 17:28:41.045590657 +0000", updated_at...00", delete_at: nil, namespace_id: 3989, file_store: 1, file: "123456.json", file_sha256: "123456">]6848FindJhBranch6849 #run6850 when it is not a merge request6851 returns JH_DEFAULT_BRANCH6852 when it is a merge request6853 when there is a corresponding JH branch6854 returns the corresponding JH branch name6855 when there is no corresponding JH branch6856 returns the default JH branch6857 when it is targeting a default branch6858 when there is a corresponding JH stable branch6859 returns the corresponding JH stable branch6860 when there is no corresponding JH stable branch6861 raises FindJhBranch::BranchNotFound6862 when it is not targeting the default branch6863 returns the default JH branch6864API::Validations::Validators::FilePath6865 when allowlist is not set6866 behaves like file validation6867 valid file path6868 does not raise a validation error6869 invalid file path6870 raise a validation error6871 behaves like file validation6872 valid file path6873 does not raise a validation error6874 invalid file path6875 raise a validation error6876 when allowlist is set6877 when file path is included in the allowlist6878 does not raise a validation error6879 when file path is not included in the allowlist6880 raises a validation error6881Packages::Composer::PackagesFinder6882 #execute6883 is expected to contain exactly #<Packages::Package id: 93, project_id: 1337, created_at: "2022-02-04 17:28:42.437201192 +0000", upda...omposer-package-2", version: "1.0.2", package_type: "composer", creator_id: 2430, status: "default"> and #<Packages::Package id: 94, project_id: 1337, created_at: "2022-02-04 17:28:42.443493931 +0000", upda...omposer-package-3", version: "1.0.3", package_type: "composer", creator_id: 2430, status: "default">6884Ide::BaseConfigService6885 #execute6886 when insufficient permission6887 returns an error6888 for developer6889 when file is missing6890 returns an error6891 when file is present6892 content is not valid6893 returns an error6894BulkImports::TreeExportService6895 #execute6896 executes export service and archives exported data6897 when unsupported relation is passed6898 raises an error6899 when relation is self6900 executes export on portable itself6901 #exported_filename6902 returns filename of the exported file6903 when relation is self6904 returns filename of the exported file6905Repositories::BranchNamesFinder6906 #execute6907 returns all filtered branch names6908 returns a limited number of offset filtered branch names6909BulkImports::Projects::Pipelines::ExternalPullRequestsPipeline6910 #run6911 imports external pull request6912 when status is closed6913 imports closed external pull request6914 when from fork6915 does not create external pull request6916Gitlab::AssetProxy6917 when asset proxy is disabled6918 returns the original URL6919 when asset proxy is enabled6920 returns a proxied URL6921 returns original URL for invalid domains6922 whitelisted domain6923 returns original URL for single domain whitelist6924 returns original URL for wildcard subdomain whitelist6925Gitlab::QueryLimiting::Middleware6926 #call6927 runs the application with query limiting in place6928 #action_name6929 using a Rails request6930 returns the name of the controller and action6931 includes the content type if this is not text/html6932 using a Grape API request6933 returns the name of the request method and endpoint path6934 returns nil if the route can not be retrieved6935ExternalIssue6936 modules6937 is expected to includes the Referable module6938 #to_reference6939 returns a String reference to the object6940 #title6941 returns a title6942 #reference_link_text6943 if issue id has a prefix6944 returns the issue ID6945 if issue id is a number6946 returns the issue ID prefixed by #6947 #project_id6948 returns the ID of the project6949 #hash6950 returns the hash of its [class, to_s] pair6951Graphql Field feature flags6952 Feature flagged field6953 checks YAML definition for default_enabled6954 skipping YAML check6955 returns the value when feature is enabled6956 returns nil when the feature is disabled6957Ci::PipelineScheduleVariable6958 behaves like CI variable6959 is expected to includes the Ci::HasVariable module6960 strips whitespaces when assigning key6961 can convert to runner variable6962 variable type6963 defines variable types6964 defaults variable type to env_var6965 supports variable type file6966Types::IncidentManagement::EscalationStatusEnum6967 is expected to eq "IssueEscalationStatus"6968 statuses6969 status_name: "TRIGGERED", status_value: :triggered6970 exposes a status with the correct value6971 status_name: "ACKNOWLEDGED", status_value: :acknowledged6972 exposes a status with the correct value6973 status_name: "RESOLVED", status_value: :resolved6974 exposes a status with the correct value6975 status_name: "IGNORED", status_value: :ignored6976 exposes a status with the correct value6977 status_name: "INVALID", status_value: nil6978 exposes a status with the correct value6979Gitlab::SetupHelper::Workhorse6980 .make6981 when there is a gmake6982 returns gmake6983 when there is no gmake6984 returns make6985 .redis_url6986 matches the SharedState URL6987 .redis_db6988 matches the SharedState DB6989 defaults to 0 if unspecified6990Gitlab::GithubImport::ImportPullRequestReviewWorker6991 is expected to includes the Gitlab::GithubImport::ObjectImporter module6992 #representation_class6993 is expected to eq Gitlab::GithubImport::Representation::PullRequestReview6994 #importer_class6995 is expected to eq Gitlab::GithubImport::Importer::PullRequestReviewImporter6996Gitlab::UsageDataCounters::VSCodeExtensionActivityUniqueCounter6997 when tracking a vs code api request6998 behaves like a request from an extension6999 tracks when the user agent is matching7000 does not track when the user agent is not matching7001 does not track if user agent is not present7002 does not track if user is not present7003MergeRequests::Mergeability::CheckCiStatusService7004 #execute7005 when the merge request is in a mergable state7006 returns a check result with status success7007 when the merge request is not in a mergeable state7008 returns a check result with status failed7009 #skip?7010 when skip check is true7011 returns true7012 when skip check is false7013 returns false7014 #cacheable?7015 returns false7016Snowplow Schema Validation7017 snowplow events definition7018 matches the schema for CE7019 behaves like matches schema7020 conforms schema json7021 matches the schema for EE7022 behaves like matches schema7023 conforms schema json7024BlobEntity7025 as json7026 contains needed attributes7027Gitlab::UsageDataCounters7028 .usage_data_counters7029 is expected to all respond to #totals7030 is expected to all respond to #fallback_totals7031 .count7032 increases a view counter7033 when event_name is not defined7034 raises an exception7035Resolvers::CommitPipelinesResolver7036 resolves pipelines for commit and ref7037Gitlab::UsageDataCounters::BaseCounter7038 .fetch_supported_event7039 returns the matching event7040 when event is unknown7041 is expected to be nil7042 when prefix does not match the event name7043 is expected to be nil7044Resolvers::AlertManagement::AlertStatusCountsResolver7045 #resolve7046 is expected to be a kind of Gitlab::AlertManagement::AlertStatusCounts7047 is expected to eq #<Project id:1346 namespace1381/project1430>>7048Gitlab::Graphql::Pagination::Keyset::Conditions::NullCondition7049 #build7050 when ordering by a column attribute7051 when :after7052 behaves like :after condition7053 generates sql7054 when :before7055 generates :before sql7056 when :foo7057 behaves like :after condition7058 generates sql7059 when ordering by LOWER7060 when :after7061 generates sql7062 when :before7063 generates :before sql7064Types::MilestoneType7065 is expected to eq "Milestone"7066 is expected to require graphql authorizations :read_milestone7067 has the expected fields7068 stats field7069 is expected to have graphql type Types::MilestoneStatsType7070CodequalityDegradationEntity7071 #as_json7072 when codequality contains an error7073 when line is included in location7074 contains correct codequality degradation details7075 when line is included in positions7076 contains correct codequality degradation details7077 when severity is capitalized7078 lowercases severity7079Resolvers::EchoResolver7080 is expected to have non-null GraphQL type String7081 #resolve7082 echoes text and username7083 echoes text and nil as username7084Types::AccessLevelType7085 is expected to eq "AccessLevel"7086 is expected to require graphql authorizations nil7087 has expected fields7088Types::ErrorTracking::SentryErrorStackTraceType7089 is expected to eq "SentryErrorStackTrace"7090 is expected to require graphql authorizations :read_sentry_issue7091 exposes the expected fields7092Types::CiConfiguration::Sast::OptionsEntityType7093 is expected to eq "SastCiConfigurationOptionsEntity"7094 is expected to have graphql fields :label and :value7095Gitlab::Usage::Metrics::NamesSuggestions::RelationParsers::Joins7096 #accept7097 with join added via string7098 collects join parts7099 with join added via arel node7100 collects join parts7101Gitlab::Import::StuckImportJob7102 marks the stuck import project as failed and track the error on import_failures7103RuboCop::Cop::Scalability::IdempotentWorker7104 adds an offense when not defining idempotent method7105 adds an offense when not defining idempotent method7106Types::Projects::Services::BaseServiceType7107 is expected to eq "BaseService"7108 has basic expected fields7109 is expected to require graphql authorizations :admin_project7110RuboCop::Cop::Database::EstablishConnection7111 flags the use of ActiveRecord::Base.establish_connection7112 flags the use of ActiveRecord::Base.establish_connection with arguments7113 flags the use of SomeModel.establish_connection7114Gitlab::Metrics::Dashboard::Stages::MetricEndpointInserter7115 #transform!7116 generates prometheus_endpoint_path without newlines7117 includes a path for the prometheus endpoint with each metric7118 works when query/query_range is a number7119SshKeysHelper7120 #ssh_key_allowed_algorithms7121 returns string with the names of allowed algorithms that are quoted and joined by commas7122 returns only allowed algorithms7123API::Entities::DeployKey7124 #as_json7125 includes basic fields7126Gitlab::Graphql::Tracers::MetricsTracer7127 when used as tracer and query is executed7128 does not record apdex for failing queries7129 duration: 0.1, expected_success: true7130 increments apdex sli7131 duration: 1.1, expected_success: false7132 increments apdex sli7133SystemCheck::IncomingEmailCheck7134 #multi_check7135 when incoming e-mail is disabled7136Reply by email is disabled in config/gitlab.yml7137 does not run any checks7138 when incoming e-mail is enabled for IMAP7139 runs IMAP and mailroom checks7140 when incoming e-mail is enabled for Microsoft Graph7141 runs mailroom checks7142Gitlab::NetHttpAdapter7143 #connect7144 uses a Gitlab::BufferedIo instance as @socket7145Gitlab::SidekiqStatus::ClientMiddleware7146 #call7147 when the job has status_expiration set7148 tracks the job in Redis7149 when the job does not have status_expiration set7150 does not track the job in Redis7151Gitlab::GraphqlLogger7152 builds a logger once7153 logging a GraphQL query7154 logs a query from JSON7155Gitlab::Graphql::Timeout7156 inherits from7157 sends the error to our GraphQL logger7158Types::DeploymentTierEnum7159 includes a value for each supported environment tier7160RuboCop::Cop::Gitlab::FinderWithFindBy7161 when calling execute.find7162 registers an offense and corrects7163 when called within the `FinderMethods` module7164 does not register an offense7165Types::UserStatusType7166 is expected to eq "UserStatus"7167 exposes the expected fields7168groups/runners/sort_dropdown.html.haml7169 render7170 when a sort option is not selected7171 renders a default sort option7172 when a sort option is selected7173 renders the selected sort option7174Gitlab::GithubImport::ImportNoteWorker7175 #import7176 imports a note7177Mailer retries7178 sets retries for mailers to 37179RuboCop::Cop::Gitlab::Except7180 flags the use of Gitlab::SQL::Except.new7181PipelineBackgroundQueue7182 sets a default object storage queue automatically7183Gitlab::Ci::Pipeline::Metrics7184 .pipeline_creation_step_duration_histogram7185 adds the step to the step duration histogram7186Tooling::MergeRequest7187 .for7188 fetches merge request for local branch in the given GitLab project path7189Ci::Lint::JobEntity7190 #represent7191 exposes job data7192Code review events7193 the aggregated metrics contain all the code review metrics7194Gitlab::GitalyClient::DiffStitcher7195 enumeration7196 combines segregated diff messages together7197Types::Ci::JobArtifactType7198 has the correct fields7199Types::Packages::PackageSortEnum7200 exposes all package sort values7201Knapsack report was generated. Preview:7202{7203 "spec/lib/gitlab/usage_data_spec.rb": 464.78128685499996,7204 "spec/tasks/gitlab/backup_rake_spec.rb": 105.32512854400011,7205 "spec/services/git/branch_hooks_service_spec.rb": 95.01420426299956,7206 "spec/services/groups/destroy_service_spec.rb": 89.29911825799991,7207 "spec/services/users/migrate_to_ghost_user_service_spec.rb": 65.58977244400012,7208 "spec/models/todo_spec.rb": 51.98291128500023,7209 "spec/lib/gitlab/ci/yaml_processor_spec.rb": 13.303014901999632,7210 "spec/lib/banzai/filter/references/merge_request_reference_filter_spec.rb": 37.32351030300015,7211 "spec/lib/gitlab/ci/trace_spec.rb": 13.141645075999804,7212 "spec/presenters/project_presenter_spec.rb": 23.34011925699997,7213 "spec/models/resource_milestone_event_spec.rb": 30.563244965000194,7214 "spec/models/integrations/unify_circuit_spec.rb": 28.244121708999955,7215 "spec/lib/gitlab/git/commit_spec.rb": 6.031356978000076,7216 "spec/services/merge_requests/close_service_spec.rb": 30.350365803000386,7217 "spec/services/merge_requests/toggle_attention_requested_service_spec.rb": 22.12092821799979,7218 "spec/services/packages/debian/extract_metadata_service_spec.rb": 23.000625274999948,7219 "spec/models/protected_branch_spec.rb": 18.50611303900041,7220 "spec/finders/ci/runner_jobs_finder_spec.rb": 23.078706309000154,7221 "spec/models/concerns/awardable_spec.rb": 25.240301207999437,7222 "spec/lib/container_registry/tag_spec.rb": 16.953108259000146,7223 "spec/lib/gitlab/bitbucket_import/importer_spec.rb": 18.281638227999792,7224 "spec/finders/personal_access_tokens_finder_spec.rb": 13.901365482000074,7225 "spec/models/serverless/domain_cluster_spec.rb": 18.3771754899999,7226 "spec/presenters/ci/build_presenter_spec.rb": 14.496486383000047,7227 "spec/presenters/merge_request_presenter_spec.rb": 8.651347338999585,7228 "spec/tasks/gitlab/db_rake_spec.rb": 11.09586551600023,7229 "spec/models/namespace/package_setting_spec.rb": 6.475712731000385,7230 "spec/services/members/groups/creator_service_spec.rb": 8.357154044999334,7231 "spec/lib/gitlab/auth/saml/user_spec.rb": 6.675137664999966,7232 "spec/serializers/stage_entity_spec.rb": 11.504503483000008,7233 "spec/lib/backup/database_spec.rb": 16.685724949999894,7234 "spec/helpers/auto_devops_helper_spec.rb": 9.676869443999749,7235 "spec/graphql/types/global_id_type_spec.rb": 4.291893192999851,7236 "spec/lib/gitlab/repository_cache_adapter_spec.rb": 10.337797748999947,7237 "spec/lib/gitlab/metrics/dashboard/url_spec.rb": 1.7110312980003073,7238 "spec/helpers/nav/top_nav_helper_spec.rb": 1.8632952739999382,7239 "spec/presenters/blobs/unfold_presenter_spec.rb": 9.902531824999642,7240 "spec/presenters/projects/settings/deploy_keys_presenter_spec.rb": 9.026979458999449,7241 "spec/services/milestones/destroy_service_spec.rb": 8.687530887999856,7242 "spec/uploaders/terraform/state_uploader_spec.rb": 7.470945709999796,7243 "spec/lib/gitlab/checks/single_change_access_spec.rb": 7.045235347000016,7244 "spec/rubocop/code_reuse_helpers_spec.rb": 1.4759002900000269,7245 "spec/lib/gitlab/ci/pipeline/seed/stage_spec.rb": 8.883857914000146,7246 "spec/services/git/base_hooks_service_spec.rb": 8.697895175000667,7247 "spec/lib/object_storage/config_spec.rb": 1.5973806120000518,7248 "spec/config/mail_room_spec.rb": 10.207126382999377,7249 "spec/serializers/diff_file_entity_spec.rb": 5.670835091000299,7250 "spec/models/diff_viewer/base_spec.rb": 6.847200109000369,7251 "spec/models/project_auto_devops_spec.rb": 4.7209949099997175,7252 "spec/models/ci/resource_spec.rb": 8.025314597000033,7253 "spec/models/project_label_spec.rb": 6.779858203000003,7254 "spec/serializers/ci/dag_job_entity_spec.rb": 5.6448060530001385,7255 "spec/lib/gitlab/sidekiq_daemon/memory_killer_spec.rb": 1.7909596499994223,7256 "spec/lib/gitlab/ci/pipeline/seed/environment_spec.rb": 5.337784251999437,7257 "spec/serializers/fork_namespace_entity_spec.rb": 5.798779382999783,7258 "spec/lib/gitlab/ci/reports/security/report_spec.rb": 3.087793280000369,7259 "spec/policies/ci/trigger_policy_spec.rb": 6.799192710999705,7260 "spec/models/integrations/mattermost_slash_commands_spec.rb": 6.969076841999595,7261 "spec/models/zoom_meeting_spec.rb": 4.179286153000248,7262 "spec/models/packages/nuget/metadatum_spec.rb": 2.777763130000494,7263 "spec/lib/gitlab/quick_actions/command_definition_spec.rb": 1.234995044000243,7264 "spec/services/files/update_service_spec.rb": 5.333736831999886,7265 "spec/lib/gitlab/repository_cache_spec.rb": 1.9304087210002763,7266 "spec/lib/gitlab/ci/parsers/test/junit_spec.rb": 1.3522948170002564,7267 "spec/lib/gitlab/utils/override_spec.rb": 1.44186105100016,7268 "spec/models/snippet_statistics_spec.rb": 3.179495864999808,7269 "spec/lib/gitlab/middleware/multipart_spec.rb": 1.571832362999885,7270 "spec/lib/gitlab/visibility_level_spec.rb": 1.6601908679995176,7271 "spec/lib/gitlab/fogbugz_import/importer_spec.rb": 5.802838153000266,7272 "spec/lib/gitlab/email/reply_parser_spec.rb": 1.0495891660002599,7273 "spec/models/issue_collection_spec.rb": 5.336849311999686,7274 "spec/finders/concerns/finder_with_group_hierarchy_spec.rb": 4.391625829999612,7275 "spec/services/ci/create_pipeline_service/tags_spec.rb": 5.302410993999729,7276 "spec/lib/gitlab/checks/diff_check_spec.rb": 4.704507870999805,7277 "spec/graphql/mutations/merge_requests/create_spec.rb": 3.832324473999506,7278 "spec/serializers/suggestion_entity_spec.rb": 4.555067430000236,7279 "spec/lib/gitlab/repository_url_builder_spec.rb": 1.3972905539994827,7280 "spec/lib/json_web_token/hmac_token_spec.rb": 1.1332545410004968,7281 "spec/lib/gitlab/metrics/background_transaction_spec.rb": 1.551032915000178,7282 "spec/lib/gitlab/ci/reports/reports_comparer_spec.rb": 0.7795583020006234,7283 "spec/lib/gitlab/diff/parser_spec.rb": 1.162048729000162,7284 "spec/services/error_tracking/list_projects_service_spec.rb": 2.5732504020006672,7285 "spec/serializers/entity_date_helper_spec.rb": 1.0351786159999392,7286 "spec/helpers/notifications_helper_spec.rb": 2.250187581999853,7287 "spec/services/ci/expire_pipeline_cache_service_spec.rb": 5.572623127000043,7288 "spec/workers/packages/cleanup_package_registry_worker_spec.rb": 1.6513735889993768,7289 "spec/models/tree_spec.rb": 3.268116278999514,7290 "spec/presenters/commit_presenter_spec.rb": 3.636331106000398,7291 "spec/workers/environments/auto_stop_worker_spec.rb": 3.3353279350003504,7292 "spec/lib/gitlab/ci/reports/security/reports_spec.rb": 1.3281670279993705,7293 "spec/services/packages/generic/create_package_file_service_spec.rb": 2.634549637999953,7294 "spec/graphql/resolvers/projects/snippets_resolver_spec.rb": 2.166743657000552,7295 "spec/models/metrics/users_starred_dashboard_spec.rb": 1.5387902760003271,7296 "spec/lib/gitlab/cleanup/orphan_lfs_file_references_spec.rb": 4.384230319999915,7297 "spec/lib/gitlab/legacy_github_import/label_formatter_spec.rb": 1.6382341200005612,7298 "spec/lib/gitlab/authorized_keys_spec.rb": 0.670822997999494,7299 "spec/lib/gitlab/slash_commands/presenters/issue_show_spec.rb": 4.063926030999937,7300 "spec/workers/concerns/gitlab/github_import/rescheduling_methods_spec.rb": 1.5712305429997286,7301 "spec/models/analytics/usage_trends/measurement_spec.rb": 0.8369086290003906,7302 "spec/graphql/resolvers/releases_resolver_spec.rb": 2.499998567000148,7303 "spec/services/ci/update_instance_variables_service_spec.rb": 2.0731934820005335,7304 "spec/initializers/00_rails_disable_joins_spec.rb": 1.114365972000087,7305 "spec/services/packages/debian/create_distribution_service_spec.rb": 3.4281310790001953,7306 "spec/finders/ci/variables_finder_spec.rb": 2.2734313900000416,7307 "spec/workers/object_pool/destroy_worker_spec.rb": 1.3716840159995627,7308 "spec/views/projects/project_members/index.html.haml_spec.rb": 1.9121231529998113,7309 "spec/lib/gitlab/dependency_linker_spec.rb": 0.7384601849998944,7310 "spec/services/system_notes/base_service_spec.rb": 0.39592194499982725,7311 "spec/lib/atlassian/jira_connect/asymmetric_jwt_spec.rb": 1.288833020000311,7312 "spec/lib/gitlab/dependency_linker/gemfile_linker_spec.rb": 0.6438653409995823,7313 "spec/lib/gitlab/ci/config/external/file/local_spec.rb": 0.9737078009993638,7314 "spec/graphql/resolvers/design_management/design_at_version_resolver_spec.rb": 1.8631447050001952,7315 "spec/models/ci/pipeline_message_spec.rb": 2.2517504420002297,7316 "spec/lib/gitlab/phabricator_import/project_creator_spec.rb": 1.774586071000158,7317 "spec/models/aws/role_spec.rb": 0.774437031999696,7318 "spec/rubocop/cop/gitlab/rails_logger_spec.rb": 0.501378599000418,7319 "spec/graphql/resolvers/groups_resolver_spec.rb": 1.8568267059999926,7320 "spec/policies/terraform/state_policy_spec.rb": 2.088087232000362,7321 "spec/lib/gitlab/ci/build/artifacts/metadata_spec.rb": 0.4296082029995887,7322 "spec/graphql/types/base_object_spec.rb": 1.8307397580001634,7323 "spec/models/users/credit_card_validation_spec.rb": 1.1227173010001934,7324 "spec/lib/gitlab/slash_commands/presenters/issue_new_spec.rb": 1.3139700199999425,7325 "spec/validators/qualified_domain_array_validator_spec.rb": 0.41976543399960065,7326 "spec/lib/gitlab/database/migration_spec.rb": 0.3859871059994475,7327 "spec/lib/gitlab/zentao/query_spec.rb": 2.291728639000212,7328 "spec/lib/gitlab/ci/build/rules/rule_spec.rb": 2.8666888440002367,7329 "spec/lib/gitlab/usage/metrics/name_suggestion_spec.rb": 0.4375035430002754,7330 "spec/lib/gitlab/webpack/manifest_spec.rb": 0.5639363049995154,7331 "spec/lib/gitlab/middleware/multipart/handler_spec.rb": 0.33285915900069085,7332 "spec/models/snippet_input_action_collection_spec.rb": 0.42510083400065923,7333 "spec/lib/gitlab/lograge/custom_options_spec.rb": 0.729498865000096,7334 "spec/services/bulk_imports/file_decompression_service_spec.rb": 0.7186601459998201,7335 "spec/services/security/ci_configuration/container_scanning_create_service_spec.rb": 2.2363099120002516,7336 "spec/lib/gitlab/config/entry/configurable_spec.rb": 0.27996355300001596,7337 "spec/models/concerns/uniquify_spec.rb": 0.27150713299943163,7338 "spec/serializers/label_serializer_spec.rb": 2.5569868829998086,7339 "spec/services/customer_relations/contacts/create_service_spec.rb": 0.9343617920003453,7340 "spec/lib/gitlab/terraform/state_migration_helper_spec.rb": 1.299159649000103,7341 "spec/models/clusters/project_spec.rb": 0.2584669149991896,7342 "spec/workers/remove_unaccepted_member_invites_worker_spec.rb": 2.027670866000335,7343 "spec/lib/gitlab/composer/version_index_spec.rb": 0.904129214999557,7344 "spec/models/fork_network_member_spec.rb": 1.6985480760004066,7345 "spec/lib/gitlab/pipeline_scope_counts_spec.rb": 1.7282844330002263,7346 "spec/lib/bulk_imports/groups/loaders/group_loader_spec.rb": 1.1500349999996615,7347 "spec/lib/gitlab/bitbucket_import/wiki_formatter_spec.rb": 1.7590966010002376,7348 "spec/lib/gitlab/graphql/pagination/keyset/conditions/not_null_condition_spec.rb": 0.47467344100004993,7349 "spec/lib/gitlab/ci/status/build/erased_spec.rb": 1.4183084329997655,7350 "spec/graphql/types/invitation_interface_spec.rb": 0.33232941899950674,7351 "spec/models/concerns/token_authenticatable_strategies/base_spec.rb": 0.33506454000053054,7352 "spec/lib/gitlab/sidekiq_middleware_spec.rb": 0.9507415910002237,7353 "spec/workers/error_tracking_issue_link_worker_spec.rb": 0.9582350719992974,7354 "spec/presenters/packages/nuget/packages_versions_presenter_spec.rb": 1.4091206240000247,7355 "spec/lib/gitlab/usage_data_queries_spec.rb": 0.5209042579999732,7356 "spec/graphql/types/terraform/state_type_spec.rb": 0.42851296400021965,7357 "spec/lib/gitlab/github_import/page_counter_spec.rb": 0.4343309930000032,7358 "spec/lib/gitlab/database/shared_model_spec.rb": 0.2777599729997746,7359 "spec/workers/export_csv_worker_spec.rb": 0.6121939619997647,7360 "spec/helpers/webpack_helper_spec.rb": 0.15097786099977384,7361 "spec/graphql/types/project_member_type_spec.rb": 0.24798743500014098,7362 "spec/lib/banzai/filter/spaced_link_filter_spec.rb": 0.39012327599994023,7363 "spec/lib/gitlab/middleware/request_context_spec.rb": 0.21642354699997668,7364 "spec/lib/gitlab/github_import/representation_spec.rb": 0.2094299870004761,7365 "spec/lib/gitlab/ci/status/build/pending_spec.rb": 1.2946125400003439,7366 "spec/services/system_notes/zoom_service_spec.rb": 0.8789282059997277,7367 "spec/finders/uploader_finder_spec.rb": 1.5267724560007991,7368 "spec/lib/api/entities/ci/job_request/port_spec.rb": 0.2679065129996161,7369 "spec/lib/gitlab/branch_push_merge_commit_analyzer_spec.rb": 1.7395841930001552,7370 "spec/lib/gitlab/private_commit_email_spec.rb": 0.6455219999998008,7371 "spec/services/users/dismiss_group_callout_service_spec.rb": 0.6784844980002163,7372 "spec/serializers/web_ide_terminal_serializer_spec.rb": 1.1395611799998733,7373 "spec/workers/remote_mirror_notification_worker_spec.rb": 0.5980968030007716,7374 "spec/policies/namespaces/project_namespace_policy_spec.rb": 0.8713656159998209,7375 "spec/services/import/bitbucket_server_service_spec.rb": 0.708810916999937,7376 "spec/models/packages/composer/metadatum_spec.rb": 0.8440644780002913,7377 "spec/lib/gitlab/with_request_store_spec.rb": 0.22379880600055913,7378 "spec/services/import/github/notes/create_service_spec.rb": 1.2785495920006724,7379 "spec/lib/bitbucket_server/representation/repo_spec.rb": 0.44700881199969444,7380 "spec/workers/build_queue_worker_spec.rb": 0.9142522940001072,7381 "spec/serializers/context_commits_diff_entity_spec.rb": 0.8454133479999655,7382 "spec/lib/gitlab/metrics/dashboard/importer_spec.rb": 0.774916901999859,7383 "spec/models/packages/composer/cache_file_spec.rb": 0.5806165450003391,7384 "spec/scripts/setup/find_jh_branch_spec.rb": 0.35756750899963663,7385 "spec/lib/api/validations/validators/file_path_spec.rb": 0.2774123030003466,7386 "spec/finders/packages/composer/packages_finder_spec.rb": 1.1358164400007809,7387 "spec/services/ide/base_config_service_spec.rb": 0.9098580129993934,7388 "spec/services/bulk_imports/tree_export_service_spec.rb": 0.8124964110002111,7389 "spec/finders/repositories/branch_names_finder_spec.rb": 1.1899938859996837,7390 "spec/lib/bulk_imports/projects/pipelines/external_pull_requests_pipeline_spec.rb": 0.7477655539996704,7391 "spec/lib/gitlab/asset_proxy_spec.rb": 0.34527190899916604,7392 "spec/lib/gitlab/query_limiting/middleware_spec.rb": 0.37790324700017663,7393 "spec/models/external_issue_spec.rb": 0.25162839500080736,7394 "spec/graphql/features/feature_flag_spec.rb": 0.4285555930000555,7395 "spec/models/ci/pipeline_schedule_variable_spec.rb": 0.3518923679994259,7396 "spec/graphql/types/incident_management/escalation_status_enum_spec.rb": 0.5249118870005987,7397 "spec/lib/gitlab/setup_helper/workhorse_spec.rb": 0.28643762200044875,7398 "spec/workers/gitlab/github_import/import_pull_request_review_worker_spec.rb": 0.21835262700005842,7399 "spec/lib/gitlab/usage_data_counters/vscode_extension_activity_unique_counter_spec.rb": 0.39671276599983685,7400 "spec/services/merge_requests/mergeability/check_ci_status_service_spec.rb": 0.46001455199984775,7401 "spec/lib/gitlab/tracking/snowplow_schema_validation_spec.rb": 0.708409047000714,7402 "spec/serializers/blob_entity_spec.rb": 0.7130772359996627,7403 "spec/lib/gitlab/usage_data_counters_spec.rb": 0.2699607829999877,7404 "spec/graphql/resolvers/commit_pipelines_resolver_spec.rb": 0.8921431059998213,7405 "spec/lib/gitlab/usage_data_counters/base_counter_spec.rb": 0.4278821429998061,7406 "spec/graphql/resolvers/alert_management/alert_status_counts_resolver_spec.rb": 0.6610620589999598,7407 "spec/lib/gitlab/graphql/pagination/keyset/conditions/null_condition_spec.rb": 0.20999837599993043,7408 "spec/graphql/types/milestone_type_spec.rb": 0.23453101599989168,7409 "spec/serializers/codequality_degradation_entity_spec.rb": 0.31660654099960084,7410 "spec/graphql/resolvers/echo_resolver_spec.rb": 0.2584524550002243,7411 "spec/graphql/types/access_level_type_spec.rb": 0.36023852699963754,7412 "spec/graphql/types/error_tracking/sentry_error_stack_trace_type_spec.rb": 0.25901126400003704,7413 "spec/graphql/types/ci_configuration/sast/options_entity_spec.rb": 0.23344731500037597,7414 "spec/lib/gitlab/usage/metrics/names_suggestions/relation_parsers/joins_spec.rb": 0.20283216799998627,7415 "spec/workers/gitlab/import/stuck_import_job_spec.rb": 0.5585130049994405,7416 "spec/rubocop/cop/scalability/idempotent_worker_spec.rb": 0.15280138100024487,7417 "spec/graphql/types/projects/base_service_type_spec.rb": 0.20421906699993997,7418 "spec/rubocop/cop/database/establish_connection_spec.rb": 0.27069991400003346,7419 "spec/lib/gitlab/metrics/dashboard/stages/metric_endpoint_inserter_spec.rb": 0.4209510639993823,7420 "spec/helpers/ssh_keys_helper_spec.rb": 0.19236418800028332,7421 "spec/lib/api/entities/deploy_key_spec.rb": 0.3110884010002337,7422 "spec/lib/gitlab/graphql/tracers/metrics_tracer_spec.rb": 0.25610476400015614,7423 "spec/lib/system_check/incoming_email_check_spec.rb": 0.29245651200017164,7424 "spec/lib/gitlab/net_http_adapter_spec.rb": 0.17461011900013546,7425 "spec/lib/gitlab/sidekiq_status/client_middleware_spec.rb": 0.236443844999485,7426 "spec/lib/gitlab/graphql_logger_spec.rb": 0.15012673000001087,7427 "spec/lib/gitlab/graphql/timeout_spec.rb": 0.12278928300020198,7428 "spec/graphql/types/deployment_tier_enum_spec.rb": 0.1332680919995255,7429 "spec/rubocop/cop/gitlab/finder_with_find_by_spec.rb": 0.15979221100042196,7430 "spec/graphql/types/user_status_type_spec.rb": 0.14563149100013106,7431 "spec/views/groups/runners/_sort_dropdown.html.haml_spec.rb": 0.3220796799996606,7432 "spec/workers/gitlab/github_import/import_note_worker_spec.rb": 0.23544703500010655,7433 "spec/initializers/mailer_retries_spec.rb": 0.32386227999995754,7434 "spec/rubocop/cop/gitlab/except_spec.rb": 0.12513813300029142,7435 "spec/workers/concerns/pipeline_background_queue_spec.rb": 0.2144596369998908,7436 "spec/lib/gitlab/ci/pipeline/metrics_spec.rb": 0.1473395309994885,7437 "spec/tooling/merge_request_spec.rb": 0.165555268999924,7438 "spec/serializers/ci/lint/job_entity_spec.rb": 0.16971956999987015,7439 "spec/lib/gitlab/usage_data_counters/code_review_events_spec.rb": 0.16047935000005964,7440 "spec/lib/gitlab/gitaly_client/diff_stitcher_spec.rb": 0.1371490419996917,7441 "spec/graphql/types/ci/job_artifact_type_spec.rb": 0.422436273999665,7442 "spec/graphql/types/packages/package_sort_enum_spec.rb": 0.155782161000388447443}7444Knapsack global time execution for tests: 28m 23s7445Pending: (Failures listed here are expected and do not affect your suite's status)7446 1) Gitlab::Git::Commit move this test to gitaly-ruby7447 # No reason given7448 # ./spec/lib/gitlab/git/commit_spec.rb:6257449Finished in 28 minutes 27 seconds (files took 57.57 seconds to load)74503148 examples, 0 failures, 1 pending7451RSpec exited with 0.7452No examples to retry, congrats!7454Not uploading cache ruby-gems-v1-9 due to policy7455Not uploading cache gitaly-ruby-gems-v1-9 due to policy7457Uploading artifacts...7458coverage/: found 5 matching files and directories 7459crystalball/: found 2 matching files and directories 7460deprecations/: found 6 matching files and directories 7461knapsack/: found 3 matching files and directories 7462rspec/: found 8 matching files and directories 7463WARNING: tmp/capybara/: no matching files 7464tmp/memory_test/: found 2 matching files and directories 7465log/*.log: found 19 matching files and directories 7466Uploading artifacts as "archive" to coordinator... 201 Created id=2055931361 responseStatus=201 Created token=KGAo43wR7467Uploading artifacts...7468rspec/junit_rspec.xml: found 1 matching files and directories 7469Uploading artifacts as "junit" to coordinator... 201 Created id=2055931361 responseStatus=201 Created token=KGAo43wR7471Job succeeded