rspec unit pg12 7/22
Passed Started
by
@splattael
Peter Leitzen
1Running with gitlab-runner 15.1.0~beta.20.g62206bb2 (62206bb2)2 on blue-2.shared-gitlab-org.runners-manager.gitlab.com/default NL4gfoBe3 feature flags: FF_USE_FASTZIP:true6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-101-yarn-1.22-graphicsmagick-1.3.36 ...7Starting service postgres:12 ...8Pulling docker image postgres:12 ...9Using docker image sha256:ac3b8cd6a8b42e839456256bc514d6230b5a2538c738b3d522e1384a2a172b96 for postgres:12 with digest postgres@sha256:e6ffad42c91a4d5a29257a27ac4e160c3ae7196696b37bf2e80410024ed95951 ...10Starting service redis:6.0-alpine ...11Pulling docker image redis:6.0-alpine ...12Using docker image sha256:09401fed2a421bf0019f96dcec70c85f82ec7b76beb1ae589547b0dc302d6b76 for redis:6.0-alpine with digest redis@sha256:217a9db40a914cc3f6206a143a4d750da0607500cc013a147a4979e08e40beff ...13Waiting for services to be up and running (timeout 30 seconds)...14Authenticating with credentials from job payload (GitLab Registry)15Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-101-yarn-1.22-graphicsmagick-1.3.36 ...16Using docker image sha256:1c23a0bd0711f9f7944305c4b25ce8e4301c16167671a7873aad77579270806d for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-101-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12@sha256:d0052322332df372b949caf19e910c0ce6859c1e7ed29ff609ebec91b1dead87 ...18Running on runner-nl4gfobe-project-278964-concurrent-0 via runner-nl4gfobe-shared-gitlab-org-1656525658-af806cdc...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: 108133, done. 25remote: Counting objects: 100% (108133/108133), done. 26remote: Compressing objects: 100% (78029/78029), done. 27remote: Total 108133 (delta 41971), reused 69318 (delta 25782), pack-reused 0 28Receiving objects: 100% (108133/108133), 107.22 MiB | 32.05 MiB/s, done.29Resolving deltas: 100% (41971/41971), done.31 * [new ref] refs/pipelines/576349587 -> refs/pipelines/57634958732Checking out ab4209a5 as refs/merge-requests/91088/merge...33Skipping Git submodules setup34$ git remote set-url origin "${CI_REPOSITORY_URL}"36Checking cache for ruby-gems-debian-bullseye-ruby-2.7-10...37cache.zip is up to date 38Successfully extracted cache39Checking cache for gitaly-ruby-gems-debian-bullseye-ruby-2.7-10...40cache.zip is up to date 41Successfully extracted cache43Downloading artifacts for compile-test-assets (2658553241)...44Downloading artifacts from coordinator... ok id=2658553241 responseStatus=200 OK token=hwqpvkfy45Downloading artifacts for detect-tests (2658553263)...46Downloading artifacts from coordinator... ok id=2658553263 responseStatus=200 OK token=hwqpvkfy47Downloading artifacts for retrieve-tests-metadata (2658553268)...48Downloading artifacts from coordinator... ok id=2658553268 responseStatus=200 OK token=hwqpvkfy49Downloading artifacts for setup-test-env (2658553255)...50Downloading artifacts from coordinator... ok id=2658553255 responseStatus=200 OK token=hwqpvkfy52Using docker image sha256:1c23a0bd0711f9f7944305c4b25ce8e4301c16167671a7873aad77579270806d for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-101-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12@sha256:d0052322332df372b949caf19e910c0ce6859c1e7ed29ff609ebec91b1dead87 ...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.sh593.2.3360Bundler version 2.2.3361Successfully installed bundler-2.3.15621 gem installed63production:development64Settings are listed in order of priority. The top value will be used.65clean66Set for your local app (/builds/gitlab-org/gitlab/.bundle/config): true67frozen68Set via BUNDLE_FROZEN: true69install_flags70Set via BUNDLE_INSTALL_FLAGS: "--jobs=$(nproc) --retry=3 --quiet"71path72Set for your local app (/builds/gitlab-org/gitlab/.bundle/config): "/builds/gitlab-org/gitlab/vendor"73without74Set via BUNDLE_WITHOUT: [:production, :development]75$ bundle install --jobs=$(nproc) --retry=3 --quiet && bundle check76Don't run Bundler as root. Bundler can ask for sudo if it is needed, and77installing your bundle as root will break this application for all non-root78users on this machine.79The Gemfile's dependencies are satisfied80==> 'bundle install --jobs=$(nproc) --retry=3 --quiet && bundle check' succeeded in 2 seconds.81$ bundle pristine pg82Installing pg 1.3.5 with native extensions83==> 'bundle pristine pg' succeeded in 11 seconds.84Using decomposed database config (config/database.yml.decomposed-postgresql)85$ setup_db_user_only86CREATE ROLE87GRANT88==> 'setup_db_user_only' succeeded in 0 seconds.89$ bundle exec rake db:drop db:create db:schema:load db:migrate90Dropped database 'gitlabhq_test'91Dropped database 'gitlabhq_test_ci'92Dropped database 'gitlabhq_geo_test'93Created database 'gitlabhq_test'94Created database 'gitlabhq_test_ci'95Created database 'gitlabhq_geo_test'96==> 'bundle exec rake db:drop db:create db:schema:load db:migrate' succeeded in 36 seconds.97$ setup_db_praefect98SELECT pg_catalog.set_config('search_path', '', false);99CREATE DATABASE praefect_test ENCODING 'UTF8';100==> 'setup_db_praefect' succeeded in 1 seconds.101$ run_timed_command "gem install knapsack --no-document"102$ gem install knapsack --no-document103Successfully installed knapsack-4.0.01041 gem installed105==> 'gem install knapsack --no-document' succeeded in 0 seconds.106$ run_timed_command "scripts/gitaly-test-spawn"107$ scripts/gitaly-test-spawn108find: ‘/builds/gitlab-org/gitlab/tmp/tests/gitaly/cmd’: No such file or directory109Don't run Bundler as root. Bundler can ask for sudo if it is needed, and110installing your bundle as root will break this application for all non-root111users on this machine.112Using abstract_type 0.0.7113Using concurrent-ruby 1.1.10114Using i18n 1.10.0115Using minitest 5.15.0116Using tzinfo 2.0.4117Using zeitwerk 2.5.4118Using activesupport 6.1.4.7119Using builder 3.2.4120Using erubi 1.10.0121Using mini_portile2 2.8.0122Using racc 1.6.0123Using nokogiri 1.13.6 (x86_64-linux)124Using rails-dom-testing 2.0.3125Using crass 1.0.6126Using loofah 2.16.0127Using rails-html-sanitizer 1.4.2128Using actionview 6.1.4.7129Using rack 2.2.3130Using rack-test 1.1.0131Using actionpack 6.1.4.7132Using ice_nine 0.11.2133Using thread_safe 0.3.6134Using memoizable 0.4.2135Using adamantium 0.2.0136Using public_suffix 4.0.6137Using addressable 2.7.0138Using ast 2.4.2139Using binding_ninja 0.2.3140Using bundler 2.3.15141Using charlock_holmes 0.7.7142Using coderay 1.1.2143Using equalizer 0.0.11144Using concord 0.1.5145Using diff-lcs 1.3146Using dotenv 2.7.6147Using escape_utils 1.2.1148Using factory_bot 5.0.2149Using multipart-post 2.1.1150Using faraday 1.0.1151Using ffi 1.15.3152Using json 2.5.1153Using gemojione 3.3.0154Using mini_mime 1.0.2155Using rugged 1.2.0156Using github-linguist 7.12.1157Using github-markup 1.7.0158Using mime-types-data 3.2020.1104159Using mime-types 3.3.1160Using gitlab-gollum-rugged_adapter 0.4.4.4.gitlab.1161Using rouge 3.27.0162Using sanitize 6.0.0163Using stringex 2.8.5164Using gitlab-gollum-lib 4.2.7.10.gitlab.2165Using google-protobuf 3.19.1 (x86_64-linux)166Using googleapis-common-protos-types 1.3.0167Using grpc 1.42.0 (x86_64-linux)168Using opentracing 0.5.0169Using thrift 0.15.0170Using jaeger-client 1.1.0171Using pg_query 2.1.1172Using redis 4.4.0173Using gitlab-labkit 0.21.2174Using rubyzip 2.3.2175Using thor 1.1.0176Using tomlrb 2.0.1177Using with_env 1.1.0178Using rexml 3.2.5179Using xml-simple 1.1.9180Using gitlab-license_finder 6.14.2.1181Using gitlab-markup 1.7.1182Using grpc-tools 1.42.0183Using sawyer 0.8.2184Using octokit 4.20.0185Using reverse_markdown 1.4.0186Using licensee 9.14.1187Using method_source 0.9.2188Using msgpack 1.3.3189Using optimist 3.0.1190Using parallel 1.19.2191Using parser 3.0.3.2192Using procto 0.0.3193Using unparser 0.4.7194Using proc_to_ast 0.1.0195Using pry 0.12.2196Using rainbow 3.0.0197Using rbtrace 0.4.14198Using rdoc 6.3.2199Using regexp_parser 1.8.1200Using rspec-support 3.8.0201Using rspec-core 3.8.0202Using rspec-expectations 3.8.3203Using rspec-mocks 3.8.0204Using rspec 3.8.0205Using rspec-parameterized 0.4.2206Using rubocop-ast 0.2.0207Using ruby-progressbar 1.10.1208Using unicode-display_width 1.7.0209Using rubocop 0.86.0210Using sentry-raven 3.0.4211Using timecop 0.9.1212Bundle complete! 22 Gemfile dependencies, 100 gems now installed.213Gems in the groups 'production' and 'development' were not installed.214Bundled gems are installed into `/builds/gitlab-org/gitlab/vendor/gitaly-ruby`215Checking gitaly-ruby Gemfile...216Checking gitaly-ruby bundle...217The Gemfile's dependencies are satisfied218Trying to connect to gitaly: ............................................ OK219Trying to connect to gitaly2: ............................................................... OK220Starting Praefect with in-memory election strategyTrying to connect to praefect: ........ OK221==> 'scripts/gitaly-test-spawn' succeeded in 13 seconds.222$ source ./scripts/rspec_helpers.sh223$ rspec_paralellized_job "--tag ~quarantine --tag ~level:migration"224SKIP_FLAKY_TESTS_AUTOMATICALLY: true225RETRY_FAILED_TESTS_IN_NEW_PROCESS: true226KNAPSACK_GENERATE_REPORT: true227FLAKY_RSPEC_GENERATE_REPORT: true228KNAPSACK_TEST_FILE_PATTERN: spec/{bin,channels,config,db,dependencies,elastic,elastic_integration,experiments,events,factories,finders,frontend,graphql,haml_lint,helpers,initializers,lib,metrics_server,models,policies,presenters,rack_servers,replicators,routing,rubocop,scripts,serializers,services,sidekiq,sidekiq_cluster,spam,support_specs,tasks,uploaders,validators,views,workers,tooling,components}{,/**/}*_spec.rb229KNAPSACK_LOG_LEVEL: debug230KNAPSACK_REPORT_PATH: knapsack/rspec_unit_pg12_7_22_report.json231FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json232FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec_unit_pg12_7_22_report.json233NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec_unit_pg12_7_22_report.json234SKIPPED_FLAKY_TESTS_REPORT_PATH: rspec/flaky/skipped_flaky_tests_rspec_unit_pg12_7_22_report.txt235RETRIED_TESTS_REPORT_PATH: rspec/flaky/retried_tests_rspec_unit_pg12_7_22_report.txt236CRYSTALBALL: 237Knapsack node specs:238spec/services/service_ping/submit_service_ping_service_spec.rb239spec/services/issues/update_service_spec.rb240spec/models/namespace/traversal_hierarchy_spec.rb241spec/services/web_hooks/log_execution_service_spec.rb242spec/services/projects/fork_service_spec.rb243spec/models/clusters/applications/runner_spec.rb244spec/models/ci/build_trace_chunk_spec.rb245spec/uploaders/file_uploader_spec.rb246spec/lib/gitlab/ci/templates/Jobs/deploy_gitlab_ci_yaml_spec.rb247spec/lib/gitlab/import_export/project/relation_tree_restorer_spec.rb248spec/models/broadcast_message_spec.rb249spec/lib/gitlab/gfm/reference_rewriter_spec.rb250spec/lib/gitlab/ci/templates/templates_spec.rb251spec/services/projects/unlink_fork_service_spec.rb252spec/helpers/submodule_helper_spec.rb253spec/models/integrations/jenkins_spec.rb254spec/lib/gitlab/import_export/references_configuration_spec.rb255spec/uploaders/avatar_uploader_spec.rb256spec/models/notification_recipient_spec.rb257spec/services/packages/maven/find_or_create_package_service_spec.rb258spec/graphql/resolvers/namespace_projects_resolver_spec.rb259spec/models/clusters/agent_spec.rb260spec/lib/gitlab/background_migration/drop_invalid_security_findings_spec.rb261spec/services/projects/import_export/export_service_spec.rb262spec/tasks/gitlab/check_rake_spec.rb263spec/views/layouts/nav/sidebar/_group.html.haml_spec.rb264spec/lib/gitlab/diff/rendered/notebook/diff_file_spec.rb265spec/lib/gitlab/ci/status/bridge/factory_spec.rb266spec/services/merge_requests/add_todo_when_build_fails_service_spec.rb267spec/services/ci/pipeline_trigger_service_spec.rb268spec/lib/gitlab/background_migration/backfill_integrations_type_new_spec.rb269spec/lib/gitlab/blob_helper_spec.rb270spec/models/active_session_spec.rb271spec/services/upload_service_spec.rb272spec/services/issue_links/list_service_spec.rb273spec/lib/gitlab/sidekiq_config/worker_matcher_spec.rb274spec/finders/branches_finder_spec.rb275spec/models/integrations/base_chat_notification_spec.rb276spec/lib/gitlab/github_import/client_spec.rb277spec/graphql/mutations/merge_requests/set_draft_spec.rb278spec/services/projects/update_pages_service_spec.rb279spec/lib/gitlab/gitaly_client_spec.rb280spec/lib/gitlab/database/query_analyzers/prevent_cross_database_modification_spec.rb281spec/models/snippet_repository_spec.rb282spec/services/projects/hashed_storage/migrate_attachments_service_spec.rb283spec/lib/gitlab/search/recent_merge_requests_spec.rb284spec/tooling/quality/test_level_spec.rb285spec/models/ci/resource_group_spec.rb286spec/lib/gitlab/cache/ci/project_pipeline_status_spec.rb287spec/models/ci/build_trace_metadata_spec.rb288spec/lib/gitlab/github_import/importer/pull_requests_importer_spec.rb289spec/views/projects/commit/branches.html.haml_spec.rb290spec/finders/projects/groups_finder_spec.rb291spec/lib/gitlab/database/load_balancing/transaction_leaking_spec.rb292spec/lib/gitlab/database_spec.rb293spec/lib/gitlab/background_migration/populate_namespace_statistics_spec.rb294spec/services/ci/create_pipeline_service/cache_spec.rb295spec/lib/gitlab/legacy_github_import/importer_spec.rb296spec/lib/gitlab/file_hook_spec.rb297spec/lib/banzai/pipeline/full_pipeline_spec.rb298spec/lib/atlassian/jira_connect/serializers/deployment_entity_spec.rb299spec/services/incident_management/timeline_events/create_service_spec.rb300spec/lib/bulk_imports/common/pipelines/milestones_pipeline_spec.rb301spec/lib/banzai/reference_redactor_spec.rb302spec/models/personal_snippet_spec.rb303spec/services/notes/post_process_service_spec.rb304spec/lib/gitlab/chat/responder/slack_spec.rb305spec/lib/gitlab/ci/status/build/failed_allowed_spec.rb306spec/lib/gitlab/error_tracking/processor/sidekiq_processor_spec.rb307spec/graphql/mutations/ci/runner/delete_spec.rb308spec/lib/sidebars/menu_spec.rb309spec/services/pages/zip_directory_service_spec.rb310spec/serializers/cluster_application_entity_spec.rb311spec/lib/uploaded_file_spec.rb312spec/models/members/member_task_spec.rb313spec/lib/gitlab/mail_room/mail_room_spec.rb314spec/uploaders/lfs_object_uploader_spec.rb315spec/config/inject_enterprise_edition_module_spec.rb316spec/models/packages/maven/metadatum_spec.rb317spec/lib/gitlab/pagination/keyset/column_order_definition_spec.rb318spec/lib/sidebars/projects/menus/analytics_menu_spec.rb319spec/models/grafana_integration_spec.rb320spec/graphql/resolvers/group_packages_resolver_spec.rb321spec/lib/gitlab/suggestions/file_suggestion_spec.rb322spec/services/projects/gitlab_projects_import_service_spec.rb323spec/finders/personal_projects_finder_spec.rb324spec/lib/gitlab/ci/pipeline/chain/config/content_spec.rb325spec/lib/gitlab/ci/status/build/play_spec.rb326spec/services/terraform/remote_state_handler_spec.rb327spec/services/packages/helm/process_file_service_spec.rb328spec/lib/gitlab/kubernetes_spec.rb329spec/models/ci/build_trace_chunks/database_spec.rb330spec/lib/gitlab/batch_pop_queueing_spec.rb331spec/models/incident_management/project_incident_management_setting_spec.rb332spec/workers/delete_diff_files_worker_spec.rb333spec/lib/gitlab/local_and_remote_storage_migration/artifact_migrater_spec.rb334spec/services/clusters/agents/delete_expired_events_service_spec.rb335spec/presenters/instance_clusterable_presenter_spec.rb336spec/services/personal_access_tokens/create_service_spec.rb337spec/lib/gitlab/hook_data/base_builder_spec.rb338spec/services/bulk_update_integration_service_spec.rb339spec/serializers/build_action_entity_spec.rb340spec/services/groups/group_links/destroy_service_spec.rb341spec/models/concerns/has_user_type_spec.rb342spec/lib/gitlab/database/load_balancing/service_discovery_spec.rb343spec/scripts/changed-feature-flags_spec.rb344spec/finders/environments/environments_finder_spec.rb345spec/lib/gitlab/template/metrics_dashboard_template_spec.rb346spec/models/user_status_spec.rb347spec/models/milestone_release_spec.rb348spec/lib/sidebars/projects/menus/packages_registries_menu_spec.rb349spec/lib/gitlab/config/loader/yaml_spec.rb350spec/lib/gitlab/import_export/lfs_saver_spec.rb351spec/helpers/ci/pipeline_editor_helper_spec.rb352spec/lib/gitlab/endpoint_attributes_spec.rb353spec/lib/gitlab/health_checks/redis/redis_check_spec.rb354spec/graphql/types/repository_type_spec.rb355spec/rubocop/cop/usage_data/large_table_spec.rb356spec/lib/gitlab/external_authorization/client_spec.rb357spec/scripts/pipeline_test_report_builder_spec.rb358spec/rubocop/cop/migration/drop_table_spec.rb359spec/lib/sidebars/groups/menus/group_information_menu_spec.rb360spec/lib/gitlab/ci/reports/security/finding_key_spec.rb361spec/presenters/ci/group_variable_presenter_spec.rb362spec/lib/gitlab/github_import/issuable_finder_spec.rb363spec/lib/gitlab/query_limiting/transaction_spec.rb364spec/lib/gitlab/kubernetes/kubectl_cmd_spec.rb365spec/graphql/mutations/security/ci_configuration/configure_secret_detection_spec.rb366spec/lib/gitlab/ci/badge/coverage/report_spec.rb367spec/models/protected_branch/push_access_level_spec.rb368spec/lib/gitlab/utils/inline_hash_spec.rb369spec/workers/deployments/link_merge_request_worker_spec.rb370spec/lib/api/helpers/related_resources_helpers_spec.rb371spec/models/loose_foreign_keys/deleted_record_spec.rb372spec/lib/gitlab/ci/status/preparing_spec.rb373spec/lib/gitlab/auth/o_auth/provider_spec.rb374spec/lib/gitlab/analytics/cycle_analytics/aggregated/records_fetcher_spec.rb375spec/workers/gitlab/github_import/stage/import_notes_worker_spec.rb376spec/initializers/validate_puma_spec.rb377spec/finders/milestones_finder_spec.rb378spec/services/clusters/integrations/create_service_spec.rb379spec/models/project_export_job_spec.rb380spec/lib/gitlab/metrics/subscribers/action_cable_spec.rb381spec/workers/hashed_storage/project_migrate_worker_spec.rb382spec/graphql/mutations/alert_management/http_integration/destroy_spec.rb383spec/services/projects/repository_languages_service_spec.rb384spec/workers/bulk_imports/export_request_worker_spec.rb385spec/lib/gitlab/prometheus/queries/matched_metric_query_spec.rb386spec/services/alert_management/http_integrations/destroy_service_spec.rb387spec/tasks/admin_mode_spec.rb388spec/helpers/graph_helper_spec.rb389spec/workers/authorized_project_update/project_recalculate_per_user_worker_spec.rb390spec/lib/gitlab/gitaly_client/conflict_files_stitcher_spec.rb391spec/lib/gitlab/project_transfer_spec.rb392spec/presenters/ci/pipeline_artifacts/code_quality_mr_diff_presenter_spec.rb393spec/lib/gitlab/cluster/rack_timeout_observer_spec.rb394spec/helpers/environments_helper_spec.rb395spec/views/events/event/_push.html.haml_spec.rb396spec/finders/users_star_projects_finder_spec.rb397spec/services/ci/create_pipeline_service/pre_post_stages_spec.rb398spec/lib/gitlab/import_formatter_spec.rb399spec/lib/gitlab/monitor/demo_projects_spec.rb400spec/lib/gitlab/view/presenter/delegated_spec.rb401spec/helpers/ci/secure_files_helper_spec.rb402spec/lib/gitlab/fips_spec.rb403spec/lib/gitlab/url_blockers/ip_allowlist_entry_spec.rb404spec/services/ci/destroy_secure_file_service_spec.rb405spec/services/clusters/kubernetes_spec.rb406spec/services/terraform/states/trigger_destroy_service_spec.rb407spec/lib/gitlab/identifier_spec.rb408spec/rubocop/cop/safe_params_spec.rb409spec/validators/branch_filter_validator_spec.rb410spec/lib/gitlab/database/migrations/observers/query_log_spec.rb411spec/models/concerns/legacy_bulk_insert_spec.rb412spec/lib/gitlab/memory/jemalloc_spec.rb413spec/graphql/types/access_level_type_spec.rb414spec/lib/gitlab/fogbugz_import/project_creator_spec.rb415spec/lib/gitlab/external_authorization_spec.rb416spec/lib/gitlab/ci/status/build/waiting_for_resource_spec.rb417spec/models/work_items/widgets/hierarchy_spec.rb418spec/services/auth/dependency_proxy_authentication_service_spec.rb419spec/lib/gitlab/import_export/json/ndjson_writer_spec.rb420spec/lib/gitlab/sql/cte_spec.rb421spec/models/concerns/integrations/enable_ssl_verification_spec.rb422spec/workers/group_destroy_worker_spec.rb423spec/helpers/branches_helper_spec.rb424spec/views/projects/pages_domains/show.html.haml_spec.rb425spec/services/metrics/users_starred_dashboards/delete_service_spec.rb426spec/lib/gitlab/git/remote_mirror_spec.rb427spec/graphql/types/issue_type_enum_spec.rb428spec/serializers/admin/user_entity_spec.rb429spec/routing/notifications_routing_spec.rb430spec/graphql/resolvers/packages_base_resolver_spec.rb431spec/workers/create_note_diff_file_worker_spec.rb432spec/rubocop/cop/graphql/json_type_spec.rb433spec/workers/jira_connect/sync_feature_flags_worker_spec.rb434spec/serializers/evidences/issue_entity_spec.rb435spec/lib/api/entities/ci/job_request/image_spec.rb436spec/helpers/ci/jobs_helper_spec.rb437spec/lib/gitlab/sql/intersect_spec.rb438spec/lib/gitlab/audit/null_author_spec.rb439spec/lib/banzai/filter/kroki_filter_spec.rb440spec/lib/gitlab/database/query_analyzers/gitlab_schemas_metrics_spec.rb441spec/services/bulk_imports/export_service_spec.rb442spec/workers/delete_user_worker_spec.rb443spec/workers/repository_check/dispatch_worker_spec.rb444spec/lib/gitlab/dependency_linker/podfile_linker_spec.rb445spec/rubocop/cop/migration/background_migration_base_class_spec.rb446spec/rubocop/cop/code_reuse/service_class_spec.rb447spec/lib/gitlab/usage/metrics/instrumentations/count_users_associating_milestones_to_releases_metric_spec.rb448spec/finders/packages/group_or_project_package_finder_spec.rb449spec/workers/detect_repository_languages_worker_spec.rb450spec/services/product_analytics/build_graph_service_spec.rb451spec/models/packages/rubygems/metadatum_spec.rb452spec/lib/learn_gitlab/onboarding_spec.rb453spec/graphql/types/grafana_integration_type_spec.rb454spec/lib/gitlab/word_diff/parser_spec.rb455spec/models/work_items/widgets/description_spec.rb456spec/rubocop/cop/graphql/resolver_type_spec.rb457spec/graphql/types/alert_management/integration_type_enum_spec.rb458spec/helpers/webpack_helper_spec.rb459spec/workers/gitlab/github_import/stage/import_pull_requests_merged_by_worker_spec.rb460spec/validators/cron_validator_spec.rb461spec/services/ci/job_artifacts/delete_project_artifacts_service_spec.rb462spec/serializers/board_serializer_spec.rb463spec/lib/gitlab/ci/yaml_processor/dag_spec.rb464spec/helpers/ci/triggers_helper_spec.rb465spec/lib/gitlab/config/entry/boolean_spec.rb466spec/workers/packages/composer/cache_cleanup_worker_spec.rb467spec/lib/gitlab/hash_digest/facade_spec.rb468spec/lib/gitlab/ci/artifacts/metrics_spec.rb469spec/lib/gitlab/prometheus/queries/validate_query_spec.rb470spec/helpers/recaptcha_helper_spec.rb471spec/models/namespaces/user_namespace_spec.rb472spec/graphql/types/merge_request_sort_enum_spec.rb473spec/models/concerns/partitioned_table_spec.rb474spec/serializers/ci/codequality_mr_diff_report_serializer_spec.rb475spec/models/ci/trigger_request_spec.rb476spec/lib/gitlab/with_request_store_spec.rb477spec/rubocop/cop/rspec/env_assignment_spec.rb478spec/graphql/types/work_items/widgets/description_input_type_spec.rb479spec/lib/api/entities/bulk_imports/entity_spec.rb480spec/lib/gitlab/phabricator_import/representation/user_spec.rb481spec/serializers/serverless/domain_entity_spec.rb482spec/lib/sidebars/concerns/container_with_html_options_spec.rb483spec/services/deploy_keys/create_service_spec.rb484spec/lib/gitlab/import_export/import_test_coverage_spec.rb485spec/serializers/integrations/project_serializer_spec.rb486spec/lib/banzai/filter/normalize_source_filter_spec.rb487spec/initializers/rails_asset_host_spec.rb488spec/workers/namespaces/onboarding_user_added_worker_spec.rb489spec/models/merge_request_context_commit_diff_file_spec.rb490spec/lib/api/entities/nuget/package_metadata_catalog_entry_spec.rb491spec/views/layouts/header/_gitlab_version.html.haml_spec.rb492spec/workers/gitlab/github_import/import_pull_request_worker_spec.rb493spec/lib/gitlab/kubernetes/tls_secret_spec.rb494spec/graphql/types/permission_types/user_spec.rb495Filter specs:496Running specs:497Running all node tests without filter498spec/services/service_ping/submit_service_ping_service_spec.rb499spec/services/issues/update_service_spec.rb500spec/models/namespace/traversal_hierarchy_spec.rb501spec/services/web_hooks/log_execution_service_spec.rb502spec/services/projects/fork_service_spec.rb503spec/models/clusters/applications/runner_spec.rb504spec/models/ci/build_trace_chunk_spec.rb505spec/uploaders/file_uploader_spec.rb506spec/lib/gitlab/ci/templates/Jobs/deploy_gitlab_ci_yaml_spec.rb507spec/lib/gitlab/import_export/project/relation_tree_restorer_spec.rb508spec/models/broadcast_message_spec.rb509spec/lib/gitlab/gfm/reference_rewriter_spec.rb510spec/lib/gitlab/ci/templates/templates_spec.rb511spec/services/projects/unlink_fork_service_spec.rb512spec/helpers/submodule_helper_spec.rb513spec/models/integrations/jenkins_spec.rb514spec/lib/gitlab/import_export/references_configuration_spec.rb515spec/uploaders/avatar_uploader_spec.rb516spec/models/notification_recipient_spec.rb517spec/services/packages/maven/find_or_create_package_service_spec.rb518spec/graphql/resolvers/namespace_projects_resolver_spec.rb519spec/models/clusters/agent_spec.rb520spec/lib/gitlab/background_migration/drop_invalid_security_findings_spec.rb521spec/services/projects/import_export/export_service_spec.rb522spec/tasks/gitlab/check_rake_spec.rb523spec/views/layouts/nav/sidebar/_group.html.haml_spec.rb524spec/lib/gitlab/diff/rendered/notebook/diff_file_spec.rb525spec/lib/gitlab/ci/status/bridge/factory_spec.rb526spec/services/merge_requests/add_todo_when_build_fails_service_spec.rb527spec/services/ci/pipeline_trigger_service_spec.rb528spec/lib/gitlab/background_migration/backfill_integrations_type_new_spec.rb529spec/lib/gitlab/blob_helper_spec.rb530spec/models/active_session_spec.rb531spec/services/upload_service_spec.rb532spec/services/issue_links/list_service_spec.rb533spec/lib/gitlab/sidekiq_config/worker_matcher_spec.rb534spec/finders/branches_finder_spec.rb535spec/models/integrations/base_chat_notification_spec.rb536spec/lib/gitlab/github_import/client_spec.rb537spec/graphql/mutations/merge_requests/set_draft_spec.rb538spec/services/projects/update_pages_service_spec.rb539spec/lib/gitlab/gitaly_client_spec.rb540spec/lib/gitlab/database/query_analyzers/prevent_cross_database_modification_spec.rb541spec/models/snippet_repository_spec.rb542spec/services/projects/hashed_storage/migrate_attachments_service_spec.rb543spec/lib/gitlab/search/recent_merge_requests_spec.rb544spec/tooling/quality/test_level_spec.rb545spec/models/ci/resource_group_spec.rb546spec/lib/gitlab/cache/ci/project_pipeline_status_spec.rb547spec/models/ci/build_trace_metadata_spec.rb548spec/lib/gitlab/github_import/importer/pull_requests_importer_spec.rb549spec/views/projects/commit/branches.html.haml_spec.rb550spec/finders/projects/groups_finder_spec.rb551spec/lib/gitlab/database/load_balancing/transaction_leaking_spec.rb552spec/lib/gitlab/database_spec.rb553spec/lib/gitlab/background_migration/populate_namespace_statistics_spec.rb554spec/services/ci/create_pipeline_service/cache_spec.rb555spec/lib/gitlab/legacy_github_import/importer_spec.rb556spec/lib/gitlab/file_hook_spec.rb557spec/lib/banzai/pipeline/full_pipeline_spec.rb558spec/lib/atlassian/jira_connect/serializers/deployment_entity_spec.rb559spec/services/incident_management/timeline_events/create_service_spec.rb560spec/lib/bulk_imports/common/pipelines/milestones_pipeline_spec.rb561spec/lib/banzai/reference_redactor_spec.rb562spec/models/personal_snippet_spec.rb563spec/services/notes/post_process_service_spec.rb564spec/lib/gitlab/chat/responder/slack_spec.rb565spec/lib/gitlab/ci/status/build/failed_allowed_spec.rb566spec/lib/gitlab/error_tracking/processor/sidekiq_processor_spec.rb567spec/graphql/mutations/ci/runner/delete_spec.rb568spec/lib/sidebars/menu_spec.rb569spec/services/pages/zip_directory_service_spec.rb570spec/serializers/cluster_application_entity_spec.rb571spec/lib/uploaded_file_spec.rb572spec/models/members/member_task_spec.rb573spec/lib/gitlab/mail_room/mail_room_spec.rb574spec/uploaders/lfs_object_uploader_spec.rb575spec/config/inject_enterprise_edition_module_spec.rb576spec/models/packages/maven/metadatum_spec.rb577spec/lib/gitlab/pagination/keyset/column_order_definition_spec.rb578spec/lib/sidebars/projects/menus/analytics_menu_spec.rb579spec/models/grafana_integration_spec.rb580spec/graphql/resolvers/group_packages_resolver_spec.rb581spec/lib/gitlab/suggestions/file_suggestion_spec.rb582spec/services/projects/gitlab_projects_import_service_spec.rb583spec/finders/personal_projects_finder_spec.rb584spec/lib/gitlab/ci/pipeline/chain/config/content_spec.rb585spec/lib/gitlab/ci/status/build/play_spec.rb586spec/services/terraform/remote_state_handler_spec.rb587spec/services/packages/helm/process_file_service_spec.rb588spec/lib/gitlab/kubernetes_spec.rb589spec/models/ci/build_trace_chunks/database_spec.rb590spec/lib/gitlab/batch_pop_queueing_spec.rb591spec/models/incident_management/project_incident_management_setting_spec.rb592spec/workers/delete_diff_files_worker_spec.rb593spec/lib/gitlab/local_and_remote_storage_migration/artifact_migrater_spec.rb594spec/services/clusters/agents/delete_expired_events_service_spec.rb595spec/presenters/instance_clusterable_presenter_spec.rb596spec/services/personal_access_tokens/create_service_spec.rb597spec/lib/gitlab/hook_data/base_builder_spec.rb598spec/services/bulk_update_integration_service_spec.rb599spec/serializers/build_action_entity_spec.rb600spec/services/groups/group_links/destroy_service_spec.rb601spec/models/concerns/has_user_type_spec.rb602spec/lib/gitlab/database/load_balancing/service_discovery_spec.rb603spec/scripts/changed-feature-flags_spec.rb604spec/finders/environments/environments_finder_spec.rb605spec/lib/gitlab/template/metrics_dashboard_template_spec.rb606spec/models/user_status_spec.rb607spec/models/milestone_release_spec.rb608spec/lib/sidebars/projects/menus/packages_registries_menu_spec.rb609spec/lib/gitlab/config/loader/yaml_spec.rb610spec/lib/gitlab/import_export/lfs_saver_spec.rb611spec/helpers/ci/pipeline_editor_helper_spec.rb612spec/lib/gitlab/endpoint_attributes_spec.rb613spec/lib/gitlab/health_checks/redis/redis_check_spec.rb614spec/graphql/types/repository_type_spec.rb615spec/rubocop/cop/usage_data/large_table_spec.rb616spec/lib/gitlab/external_authorization/client_spec.rb617spec/scripts/pipeline_test_report_builder_spec.rb618spec/rubocop/cop/migration/drop_table_spec.rb619spec/lib/sidebars/groups/menus/group_information_menu_spec.rb620spec/lib/gitlab/ci/reports/security/finding_key_spec.rb621spec/presenters/ci/group_variable_presenter_spec.rb622spec/lib/gitlab/github_import/issuable_finder_spec.rb623spec/lib/gitlab/query_limiting/transaction_spec.rb624spec/lib/gitlab/kubernetes/kubectl_cmd_spec.rb625spec/graphql/mutations/security/ci_configuration/configure_secret_detection_spec.rb626spec/lib/gitlab/ci/badge/coverage/report_spec.rb627spec/models/protected_branch/push_access_level_spec.rb628spec/lib/gitlab/utils/inline_hash_spec.rb629spec/workers/deployments/link_merge_request_worker_spec.rb630spec/lib/api/helpers/related_resources_helpers_spec.rb631spec/models/loose_foreign_keys/deleted_record_spec.rb632spec/lib/gitlab/ci/status/preparing_spec.rb633spec/lib/gitlab/auth/o_auth/provider_spec.rb634spec/lib/gitlab/analytics/cycle_analytics/aggregated/records_fetcher_spec.rb635spec/workers/gitlab/github_import/stage/import_notes_worker_spec.rb636spec/initializers/validate_puma_spec.rb637spec/finders/milestones_finder_spec.rb638spec/services/clusters/integrations/create_service_spec.rb639spec/models/project_export_job_spec.rb640spec/lib/gitlab/metrics/subscribers/action_cable_spec.rb641spec/workers/hashed_storage/project_migrate_worker_spec.rb642spec/graphql/mutations/alert_management/http_integration/destroy_spec.rb643spec/services/projects/repository_languages_service_spec.rb644spec/workers/bulk_imports/export_request_worker_spec.rb645spec/lib/gitlab/prometheus/queries/matched_metric_query_spec.rb646spec/services/alert_management/http_integrations/destroy_service_spec.rb647spec/tasks/admin_mode_spec.rb648spec/helpers/graph_helper_spec.rb649spec/workers/authorized_project_update/project_recalculate_per_user_worker_spec.rb650spec/lib/gitlab/gitaly_client/conflict_files_stitcher_spec.rb651spec/lib/gitlab/project_transfer_spec.rb652spec/presenters/ci/pipeline_artifacts/code_quality_mr_diff_presenter_spec.rb653spec/lib/gitlab/cluster/rack_timeout_observer_spec.rb654spec/helpers/environments_helper_spec.rb655spec/views/events/event/_push.html.haml_spec.rb656spec/finders/users_star_projects_finder_spec.rb657spec/services/ci/create_pipeline_service/pre_post_stages_spec.rb658spec/lib/gitlab/import_formatter_spec.rb659spec/lib/gitlab/monitor/demo_projects_spec.rb660spec/lib/gitlab/view/presenter/delegated_spec.rb661spec/helpers/ci/secure_files_helper_spec.rb662spec/lib/gitlab/fips_spec.rb663spec/lib/gitlab/url_blockers/ip_allowlist_entry_spec.rb664spec/services/ci/destroy_secure_file_service_spec.rb665spec/services/clusters/kubernetes_spec.rb666spec/services/terraform/states/trigger_destroy_service_spec.rb667spec/lib/gitlab/identifier_spec.rb668spec/rubocop/cop/safe_params_spec.rb669spec/validators/branch_filter_validator_spec.rb670spec/lib/gitlab/database/migrations/observers/query_log_spec.rb671spec/models/concerns/legacy_bulk_insert_spec.rb672spec/lib/gitlab/memory/jemalloc_spec.rb673spec/graphql/types/access_level_type_spec.rb674spec/lib/gitlab/fogbugz_import/project_creator_spec.rb675spec/lib/gitlab/external_authorization_spec.rb676spec/lib/gitlab/ci/status/build/waiting_for_resource_spec.rb677spec/models/work_items/widgets/hierarchy_spec.rb678spec/services/auth/dependency_proxy_authentication_service_spec.rb679spec/lib/gitlab/import_export/json/ndjson_writer_spec.rb680spec/lib/gitlab/sql/cte_spec.rb681spec/models/concerns/integrations/enable_ssl_verification_spec.rb682spec/workers/group_destroy_worker_spec.rb683spec/helpers/branches_helper_spec.rb684spec/views/projects/pages_domains/show.html.haml_spec.rb685spec/services/metrics/users_starred_dashboards/delete_service_spec.rb686spec/lib/gitlab/git/remote_mirror_spec.rb687spec/graphql/types/issue_type_enum_spec.rb688spec/serializers/admin/user_entity_spec.rb689spec/routing/notifications_routing_spec.rb690spec/graphql/resolvers/packages_base_resolver_spec.rb691spec/workers/create_note_diff_file_worker_spec.rb692spec/rubocop/cop/graphql/json_type_spec.rb693spec/workers/jira_connect/sync_feature_flags_worker_spec.rb694spec/serializers/evidences/issue_entity_spec.rb695spec/lib/api/entities/ci/job_request/image_spec.rb696spec/helpers/ci/jobs_helper_spec.rb697spec/lib/gitlab/sql/intersect_spec.rb698spec/lib/gitlab/audit/null_author_spec.rb699spec/lib/banzai/filter/kroki_filter_spec.rb700spec/lib/gitlab/database/query_analyzers/gitlab_schemas_metrics_spec.rb701spec/services/bulk_imports/export_service_spec.rb702spec/workers/delete_user_worker_spec.rb703spec/workers/repository_check/dispatch_worker_spec.rb704spec/lib/gitlab/dependency_linker/podfile_linker_spec.rb705spec/rubocop/cop/migration/background_migration_base_class_spec.rb706spec/rubocop/cop/code_reuse/service_class_spec.rb707spec/lib/gitlab/usage/metrics/instrumentations/count_users_associating_milestones_to_releases_metric_spec.rb708spec/finders/packages/group_or_project_package_finder_spec.rb709spec/workers/detect_repository_languages_worker_spec.rb710spec/services/product_analytics/build_graph_service_spec.rb711spec/models/packages/rubygems/metadatum_spec.rb712spec/lib/learn_gitlab/onboarding_spec.rb713spec/graphql/types/grafana_integration_type_spec.rbKnapsack report generator started!714DEPRECATION WARNING: /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/postgresql_adapter.rb:78: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call715/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/pg-1.3.5/lib/pg.rb:68: warning: The called method `connect' is defined here716 (called from new_client at /builds/gitlab-org/gitlab/config/initializers/00_connection_logger.rb:21)717Run options: exclude {:quarantine=>true, :level=>"migration"}718==> /builds/gitlab-org/gitlab/tmp/tests/gitlab-test_bare set up in 0.052426327 seconds...719Test environment set up in 0.571644191 seconds720ServicePing::SubmitService721 when usage ping is disabled722 behaves like does not run723 is expected not to receive for(*(any args)) 0 times724 when usage ping is disabled from GitLab config file725 behaves like does not run726 is expected not to receive for(*(any args)) 0 times727 when product_intelligence_enabled is false728 behaves like does not run729 is expected not to receive for(*(any args)) 0 times730 when product_intelligence_enabled is true731 generates service ping732 when usage ping is enabled733/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_MATCH734/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 here735 sends a POST request736/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 forces a refresh of usage data statistics before submitting739 and user requires usage stats consent740 behaves like does not run741 is expected not to receive for(*(any args)) 0 times742 when conv_index data is passed743 saves usage_data_id to version_usage_data_id_value744 behaves like saves DevOps report data from the response745/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 is expected to eq 31.37748 when only usage_data_id is passed in response749/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_MATCH750/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 here751 does not save DevOps report data752 saves usage_data_id to version_usage_data_id_value753 when version app usage_data_id is invalid754/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_MATCH755/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 here756 raises an exception757 when DevOps report data is passed758 behaves like saves DevOps report data from the response759/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_MATCH760/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 here761 is expected to eq 31.37762 with saving raw_usage_data763/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_MATCH764/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 here765 creates a raw_usage_data record766 saves the correct payload767 and usage ping response has unsuccessful status768/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/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_MATCH771/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 here772 raises an exception773 and usage data is empty string774 behaves like does not send a blank usage ping payload775 is expected to raise ServicePing::SubmitService::SubmissionError776 and usage data is nil777 behaves like does not send a blank usage ping payload778 is expected to raise ServicePing::SubmitService::SubmissionError779 if payload service fails780 calls Gitlab::Usage::ServicePingReport .for method781/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_MATCH782/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 here783 submits error784 calls BuildPayload first785 returns usage data786 if version app response fails787 calls Gitlab::Usage::ServicePingReport .for method788 when skip_db_write passed to service789/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_MATCH790/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 here791 does not save RawUsageData792/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_MATCH793/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 here794 does not call DevOpsReport service795 metadata reporting796 with feature flag measure_service_ping_metric_collection turned on797 submits metadata798 with feature flag measure_service_ping_metric_collection turned off799/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_MATCH800/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 here801 does NOT submit metadata802Issues::UpdateService803 execute804 valid params805 updates the issue with the given params806 updates issue milestone when passing `milestone` param807 refreshes the number of open issues when the issue is made confidential808 enqueues ConfidentialIssueWorker when an issue is made confidential809 does not enqueue ConfidentialIssueWorker when an issue is made non confidential810 updates open issue counter for assignees when issue is reassigned811 does not rebalance even if needed if the flag is disabled812 rebalances if needed if the flag is enabled for the project813 rebalances if needed on the left814 rebalances if needed on the right815 verifies the number of queries816 when sentry identifier is given817 assigns the sentry error818 user is a guest819 does not assign the sentry error820 when issue type is not incident821 behaves like not an incident issue822 has not incident as issue type823 when confidentiality is changed824 behaves like does not track incident management event825 does not track the event826 when issue type is incident827 does not add an incident label828 behaves like incident issue829 has incident as issue type830 when confidentiality is changed831 behaves like an incident management tracked event832 .track_event833 tracks the event using redis834 changing issue_type835 from issue to incident836 creates system note about issue type837 creates an escalation status838 behaves like incident issue839 has incident as issue type840 for an issue with multiple labels841 does not add an `incident` label if one already exist842 from incident to issue843 changed from an incident to an issue type844 for an incident with multiple labels845 does not remove an `incident` label if one exists on the incident846 filtering the incident label847 does not add an incident label id to remove_label_ids for it to be removed848 from issue to restricted issue types849 without sufficient permissions850 does nothing to the labels851 when changing relative position852 sorts issues as specified by parameters853 when block_issue_positioning flag is enabled854 raises error855 when moving issue between issues from different projects856 sorts issues as specified by parameters857 when current user cannot admin issues in the project858 filters out params that cannot be set without the :admin_issue permission859 with background jobs processed860 sends email to user2 about assign of new issue and email to user3 about issue unassignment861 creates system note about issue reassign862 creates a resource label event863 creates system note about title change864 creates system note about discussion lock865 after_save callback to store_mentions866 when mentionable attributes change867 saves mentions868 when mentionable attributes do not change869 does not call store_mentions870 when save fails871 does not call store_mentions872 when description changed873 creates system note about description change874 when issue turns confidential875 creates system note about confidentiality change876 executes confidential issue hooks877 does not update assignee_id with unauthorized users878 todos879 when the title change880 marks pending todos as done881 does not create any new todos882 when the description change883 marks todos as done884 creates only 1 new todo885 when is reassigned886 marks previous assignee todos as done887 creates a todo for new assignee888 when a new assignee added889 creates only 1 new todo890 creates a todo for new assignee891 issue is incident type892 behaves like an incident management tracked event893 .track_event894 tracks the event using redis895 when the milestone is removed896 sends notifications for subscribers of changed milestone897 clears milestone issue counters cache898 when the milestone is assigned899 marks todos as done900 sends notifications for subscribers of changed milestone901 deletes issue counters cache for the milestone902 when the milestone is changed903 deletes issue counters cache for both milestones904 when the labels change905 marks todos as done906 updates updated_at907 when the issue is relabeled908 sends notifications for subscribers of newly added labels909 when issue has the `label` label910 does not send notifications for existing labels911 does not send notifications for removed labels912 when issue has tasks913 is expected to eq true914 behaves like updating a single task915 usage counters916 update as expected917 when a task is marked as completed918 creates system note about task status change919 when a task is marked as incomplete920 creates system note about task status change921 when the task position has been modified922 raises an exception923 when the content changes but not task line number924 creates system note about task status change925 when tasks are marked as completed926 does not check for spam on task status change927 creates system note about task status change928 when tasks are marked as incomplete929 creates system note about task status change930 when tasks position has been modified931 does not create a system note for the task932 when a Task list with a completed item is totally replaced933 does not create a system note referencing the position the old item934 does not generate a new note at all935 updating labels936 when add_label_ids and label_ids are passed937 replaces the labels with the ones in label_ids and adds those in add_label_ids938 when remove_label_ids and label_ids are passed939 replaces the labels with the ones in label_ids and removes those in remove_label_ids940 when add_label_ids and remove_label_ids are passed941 adds the passed labels942 removes the passed labels943 when same id is passed as add_label_ids and remove_label_ids944 for a label assigned to an issue945 removes the label946 for a label not assigned to an issue947 does not add the label948 when duplicate label titles are given949 assigns the label once950 updating asssignee_id951 does not update assignee when assignee_id is invalid952 unassigns assignee when user id is 0953 does not update assignee_id when user cannot read issue954 when issuable feature is private955 does not update with unauthorized assignee when project is Internal956 does not update with unauthorized assignee when project is Public957 updating mentions958 when mentioning a different user959 in title960 emails only the newly-mentioned user961 in description962 emails only the newly-mentioned user963 when mentioning a user and a group with access to964 when group is public965 behaves like updating attribute with allowed mentions966 emails group members967 behaves like updating attribute with allowed mentions968 emails group members969 behaves like updating attribute with existing group mention970 creates todos for only newly mentioned users971 behaves like updating attribute with existing group mention972 creates todos for only newly mentioned users973 when the group is private974 behaves like updating attribute with allowed mentions975 emails group members976 behaves like updating attribute with allowed mentions977 emails group members978 behaves like updating attribute with existing group mention979 creates todos for only newly mentioned users980 behaves like updating attribute with existing group mention981 creates todos for only newly mentioned users982 when mentioning a user and a group without access to983 when the group is private984 behaves like updating attribute with not allowed mentions985 emails mentioned user986 behaves like updating attribute with not allowed mentions987 emails mentioned user988 updating severity989 on incidents990 when severity has not been set previously991 creates a new record992 behaves like updates the severity993 has correct value994 creates a system note995 triggers webhooks996 with unsupported severity value997 behaves like does not change the severity998 retains the original value999 does not trigger side-effects1000 with severity value defined but unchanged1001 behaves like does not change the severity1002 retains the original value1003 does not trigger side-effects1004 as guest1005 behaves like does not change the severity1006 retains the original value1007 does not trigger side-effects1008 and also author1009 behaves like does not change the severity1010 retains the original value1011 does not trigger side-effects1012 and also assignee1013 behaves like does not change the severity1014 retains the original value1015 does not trigger side-effects1016 when severity has been set before1017 does not create a new record1018 behaves like updates the severity1019 has correct value1020 creates a system note1021 triggers webhooks1022 with unsupported severity value1023 behaves like updates the severity1024 has correct value1025 creates a system note1026 triggers webhooks1027 with severity value defined but unchanged1028 behaves like does not change the severity1029 retains the original value1030 does not trigger side-effects1031 when issue type is not incident1032 behaves like does not change the severity1033 retains the original value1034 does not trigger side-effects1035 updating escalation status1036 when issue is an incident1037 with an escalation status record1038 behaves like updates the escalation status record1039 has correct value1040 triggers webhooks1041 with associated alert1042 syncs the update back to the alert1043 with a status change reason provided1044 behaves like updates the escalation status record1045 has correct value1046 triggers webhooks1047 with unsupported status value1048 behaves like does not change the status record1049 retains the original value1050 does not trigger side-effects1051 with status value defined but unchanged1052 behaves like does not change the status record1053 retains the original value1054 does not trigger side-effects1055 without an escalation status record1056 creates a new record1057 behaves like updates the escalation status record1058 has correct value1059 triggers webhooks1060 when issue type is not incident1061 behaves like does not change the status record1062 retains the original value1063 does not trigger side-effects1064 duplicate issue1065 invalid canonical_issue_id1066 does not call the duplicate service1067 valid canonical_issue_id1068 calls the duplicate service with both issues1069 move issue to another project1070 valid project1071 calls the move service with the proper issue and project1072 clone an issue1073 valid project1074 calls the move service with the proper issue and project1075 clone an issue with notes1076 valid project1077 calls the move service with the proper issue and project1078 when moving an issue1079 raises an error for invalid move ids1080 changing state1081 to reopened1082 executes hooks only once1083 to closed1084 executes hooks only once1085 broadcasting issue assignee updates1086 triggers the GraphQL subscription1087 when assignee is not updated1088 does not trigger the GraphQL subscription1089 labels are updated1090 behaves like keeps issuable labels sorted after update1091 when label is changed1092 keeps the labels sorted by title ASC1093 behaves like broadcasting issuable labels updates1094 when label is added1095 triggers the GraphQL subscription1096 when label is removed1097 triggers the GraphQL subscription1098 when label is unchanged1099 does not trigger the GraphQL subscription1100 behaves like issuable record that supports quick actions1101 with labels in command only1102 attaches labels to issuable1103 with labels in params and command1104 attaches all labels to issuable1105 with assignee and milestone in command only1106 assigns and sets milestone to issuable1107Namespace::TraversalHierarchy1108 .for_namespace1109 with root group1110 is expected to eq #<Group id:217 @group6>1111 with child group1112 is expected to eq #<Group id:302 @group91>1113 with group outside of hierarchy1114 is expected not to eq #<Group id:387 @group176>1115 .new1116 with root group1117 is expected to eq #<Group id:473 @group262>1118 with child group1119 is expected to raise StandardError with "Must specify a root node"1120 #incorrect_traversal_ids1121 is expected to contain exactly #<Group id:721 @group432/group496/group507/group510>, #<Group id:722 @group432/group496/group507/group511>, #<Group id:723 @group432/group496/group512>, #<Group id:724 @group432/group496/group512/group513>, #<Group id:725 @group432/group496/group512/group514>, #<Group id:726 @group432/group496/group512/group515>, #<Group id:727 @group432/group496/group512/group516>, #<Group id:643 @group432>, #<Group id:644 @group432/group433>, #<Group id:645 @group432/group433/group434>, #<Group id:646 @group432/group433/group434/group435>, #<Group id:647 @group432/group433/group434/group436>, #<Group id:648 @group432/group433/group434/group437>, #<Group id:649 @group432/group433/group434/group438>, #<Group id:650 @group432/group433/group439>, #<Group id:651 @group432/group433/group439/group440>, #<Group id:652 @group432/group433/group439/group441>, #<Group id:653 @group432/group433/group439/group442>, #<Group id:654 @group432/group433/group439/group443>, #<Group id:655 @group432/group433/group444>, #<Group id:656 @group432/group433/group444/group445>, #<Group id:657 @group432/group433/group444/group446>, #<Group id:658 @group432/group433/group444/group447>, #<Group id:659 @group432/group433/group444/group448>, #<Group id:660 @group432/group433/group449>, #<Group id:661 @group432/group433/group449/group450>, #<Group id:662 @group432/group433/group449/group451>, #<Group id:663 @group432/group433/group449/group452>, #<Group id:664 @group432/group433/group449/group453>, #<Group id:665 @group432/group454>, #<Group id:666 @group432/group454/group455>, #<Group id:667 @group432/group454/group455/group456>, #<Group id:668 @group432/group454/group455/group457>, #<Group id:669 @group432/group454/group455/group458>, #<Group id:670 @group432/group454/group455/group459>, #<Group id:671 @group432/group454/group460>, #<Group id:672 @group432/group454/group460/group461>, #<Group id:673 @group432/group454/group460/group462>, #<Group id:674 @group432/group454/group460/group463>, #<Group id:675 @group432/group454/group460/group464>, #<Group id:676 @group432/group454/group465>, #<Group id:677 @group432/group454/group465/group466>, #<Group id:678 @group432/group454/group465/group467>, #<Group id:679 @group432/group454/group465/group468>, #<Group id:680 @group432/group454/group465/group469>, #<Group id:681 @group432/group454/group470>, #<Group id:682 @group432/group454/group470/group471>, #<Group id:683 @group432/group454/group470/group472>, #<Group id:684 @group432/group454/group470/group473>, #<Group id:685 @group432/group454/group470/group474>, #<Group id:686 @group432/group475>, #<Group id:687 @group432/group475/group476>, #<Group id:688 @group432/group475/group476/group477>, #<Group id:689 @group432/group475/group476/group478>, #<Group id:690 @group432/group475/group476/group479>, #<Group id:691 @group432/group475/group476/group480>, #<Group id:692 @group432/group475/group481>, #<Group id:693 @group432/group475/group481/group482>, #<Group id:694 @group432/group475/group481/group483>, #<Group id:695 @group432/group475/group481/group484>, #<Group id:700 @group432/group475/group486/group489>, #<Group id:701 @group432/group475/group486/group490>, #<Group id:702 @group432/group475/group491>, #<Group id:703 @group432/group475/group491/group492>, #<Group id:704 @group432/group475/group491/group493>, #<Group id:705 @group432/group475/group491/group494>, #<Group id:706 @group432/group475/group491/group495>, #<Group id:707 @group432/group496>, #<Group id:708 @group432/group496/group497>, #<Group id:709 @group432/group496/group497/group498>, #<Group id:710 @group432/group496/group497/group499>, #<Group id:711 @group432/group496/group497/group500>, #<Group id:712 @group432/group496/group497/group501>, #<Group id:713 @group432/group496/group502>, #<Group id:714 @group432/group496/group502/group503>, #<Group id:715 @group432/group496/group502/group504>, #<Group id:716 @group432/group496/group502/group505>, #<Group id:717 @group432/group496/group502/group506>, #<Group id:718 @group432/group496/group507>, #<Group id:719 @group432/group496/group507/group508>, #<Group id:720 @group432/group496/group507/group509>, #<Group id:696 @group432/group475/group481/group485>, #<Group id:697 @group432/group475/group486>, #<Group id:698 @group432/group475/group486/group487>, and #<Group id:699 @group432/group475/group486/group488>1122 #sync_traversal_ids!1123 is expected to be empty1124 behaves like hierarchy with traversal_ids1125 will be valid1126 behaves like locked row1127 has locked row1128 when deadlocked1129 is expected to raise ActiveRecord::Deadlocked1130 increment db_deadlock counter1131WebHooks::LogExecutionService1132 #execute1133 logs the data1134 obtaining an exclusive lease1135 updates failure state using a lease that ensures fresh state is written1136 when a lease cannot be obtained1137 response_category: :ok, executable: true, needs_updating: false1138 raises an error if the hook needs to be updated1139 response_category: :ok, executable: false, needs_updating: true1140 raises an error if the hook needs to be updated1141 response_category: :failed, executable: true, needs_updating: true1142 raises an error if the hook needs to be updated1143 response_category: :failed, executable: false, needs_updating: false1144 raises an error if the hook needs to be updated1145 response_category: :error, executable: true, needs_updating: true1146 raises an error if the hook needs to be updated1147 response_category: :error, executable: false, needs_updating: false1148 raises an error if the hook needs to be updated1149 when response_category is :ok1150 does not increment the failure count1151 does not change the disabled_until attribute1152 when the hook had previously failed1153 resets the failure count1154 sends a message to AuthLogger if the hook as not previously enabled1155 when response_category is :failed1156 increments the failure count1157 does not change the disabled_until attribute1158 does not allow the failure count to overflow1159 sends a message to AuthLogger if the state would change1160 when the web_hooks_disable_failed FF is disabled1161 does not allow the failure count to overflow1162 when response_category is :error1163 does not increment the failure count1164 backs off1165 increases the backoff count1166 sends a message to AuthLogger if the state would change1167 when the previous cool-off was near the maximum1168 sets the disabled_until attribute1169 when we have backed-off many many times1170 sets the disabled_until attribute1171Projects::ForkService1172 when forking a new project1173 fork by user1174 fork project1175 when forker is a guest1176 is expected not to be persisted1177 is expected to eq ["is forbidden"]1178 does not create a fork network1179 behaves like forks count cache refresh1180 flushes the forks count cache of the source project1181 successfully creates project in the user namespace1182 is expected to be persisted1183 is expected to be empty1184 is expected to eq #<User id:221 @user189>1185 is expected to eq #<Namespaces::UserNamespace id: 1189, name: "Sidney Jones204", path: "user191", owner_id: 223, create...runners_enabled: true, allow_descendants_override_disabled_shared_runners: false, traversal_ids: []>1186 is expected to be zero1187 is expected to eq "wow such project"1188 is expected to be exists1189 is expected to eq nil1190 is expected to eq "classification-label"1191 after forking the from-project still has its avatar1192 creates a fork network with the new project and the root project set1193 imports the repository of the forked project1194 behaves like forks count cache refresh1195 flushes the forks count cache of the source project1196 creating a fork of a fork1197 sets the root of the network to the root project1198 sets the forked_from_project on the membership1199 when the forked project has higher visibility than the root project1200 successfully creates a fork of the fork with correct visibility1201 behaves like forks count cache refresh1202 flushes the forks count cache of the source project1203 project already exists1204 fails due to validation, not transaction failure1205 repository in legacy storage already exists1206 does not allow creation1207 when repository disk validation is explicitly skipped1208 allows fork project creation1209 CI/CD settings1210 when origin has git depth specified1211 inherits default_git_depth from the origin project1212 when origin does not define git depth1213 the fork has git depth set to 01214 when project has restricted visibility level1215 and only one visibility level is restricted1216 creates fork with lowest level1217 and all visibility levels are restricted1218 creates fork with private visibility levels1219 when forking is disabled1220 fails1221 fork to namespace1222 fork project for group1223 group owner successfully forks project into the group1224 fork project for group when user not owner1225 group developer fails to fork project into the group1226 project already exists in group1227 fails due to validation, not transaction failure1228 when the namespace has a lower visibility level than the project1229 creates the project with the lower visibility level1230 fork with optional attributes1231 sets optional attributes to specified values1232 sets visibility level to private if an unknown visibility is requested1233 sets visibility level to project visibility level if requested visibility is greater1234 sets visibility level to target namespace visibility level if requested visibility is greater1235 copies project features visibility settings to the fork1236 when a project is already forked1237 creates a new poolresository after the project is moved to a new shard1238 when forking with object pools1239 when no pool exists1240 creates a new object pool1241 when a pool already exists1242 joins the object pool1243 when linking fork to an existing project1244 if project is already forked1245 does not create fork relation1246 if project is not forked1247 creates fork relation1248 flushes the forks count cache of the source project1249 if the fork is not allowed1250 does not delete the LFS objects1251 #valid_fork_targets1252 returns whatever finder returns1253 #valid_fork_target?1254 when target is not passed1255 when current user is an admin1256 is expected to be truthy1257 when current_user is not an admin1258 when target namespace is in valid fork targets1259 is expected to be truthy1260 when target namespace is not in valid fork targets1261 is expected to be falsey1262 when target is passed1263 when current user is an admin1264 is expected to be truthy1265 when current user is not an admin1266 when target namespace is in valid fork targets1267 is expected to be truthy1268 when target namespace is not in valid fork targets1269 is expected to be falsey1270Clusters::Applications::Runner1271 is expected to belong to cluster required: false1272 is expected to validate that :cluster cannot be empty/falsy1273 is expected to belong to runner required: false1274 #can_uninstall?1275 calls allowed_to_uninstall?1276 #name1277 is .application_name1278 is recorded in Clusters::Cluster::APPLICATIONS1279 .association_name1280 is expected to eq :application_runner1281 #helm_command_module1282 helm_major_version: 2, expected_helm_command_module: Gitlab::Kubernetes::Helm::V21283 is expected to eq Gitlab::Kubernetes::Helm::V21284 helm_major_version: 3, expected_helm_command_module: Gitlab::Kubernetes::Helm::V31285 is expected to eq Gitlab::Kubernetes::Helm::V31286 #status_states1287 returns a hash of state values1288 returns an integer for installed state value1289 .available1290 is expected to contain exactly #<Clusters::Applications::Runner id: 1, cluster_id: 12, runner_id: nil, status: 3, created_at: "2022-..._at: "2022-06-29 20:20:22.959700952 +0000", version: "0.42.0", status_reason: nil, privileged: true> and #<Clusters::Applications::Runner id: 2, cluster_id: 18, runner_id: nil, status: 5, created_at: "2022-..._at: "2022-06-29 20:20:24.513881979 +0000", version: "0.42.0", status_reason: nil, privileged: true>1291 status state machine1292 #make_installing1293 is installing1294 #make_installed1295 is installed1296 does not update the helm version1297 the cluster has no helm installed1298 runs without errors1299 application is updating1300 is updated1301 does not update the helm version1302 the cluster has no helm installed1303 runs without errors1304 #make_errored1305 is errored1306 application is updating1307 is update_errored1308 application is uninstalling1309 is uninstall_errored1310 #make_externally_installed1311 is installed1312 helm record does not exist1313 does not create a helm record1314 helm record exists1315 does not update helm version1316 application is updated1317 is installed1318 application is errored1319 is installed1320 clears #status_reason1321 #make_externally_uninstalled1322 is uninstalled1323 application is updated1324 is uninstalled1325 application is errored1326 is uninstalled1327 clears #status_reason1328 #make_scheduled1329 is scheduled1330 when installed1331 is scheduled1332 when was errored1333 clears #status_reason1334 when was updated_errored1335 clears #status_reason1336 when was uninstall_errored1337 clears #status_reason1338 #make_uninstalling1339 is uninstalling1340 #available?1341 trait: :not_installable, available: false1342 is expected not to be available1343 trait: :installable, available: false1344 is expected not to be available1345 trait: :scheduled, available: false1346 is expected not to be available1347 trait: :installing, available: false1348 is expected not to be available1349 trait: :installed, available: true1350 is expected to be available1351 trait: :updating, available: false1352 is expected not to be available1353 trait: :updated, available: true1354 is expected to be available1355 trait: :errored, available: false1356 is expected not to be available1357 trait: :update_errored, available: false1358 is expected not to be available1359 trait: :uninstalling, available: false1360 is expected not to be available1361 trait: :uninstall_errored, available: false1362 is expected not to be available1363 trait: :uninstalled, available: false1364 is expected not to be available1365 trait: :timed_out, available: false1366 is expected not to be available1367 trait: :externally_installed, available: true1368 is expected to be available1369 update_available?1370 version is not the same as VERSION1371 is expected to be truthy1372 version is the same as VERSION1373 is expected to be falsey1374 #make_installed1375 sets the correct version of the application1376 application is updating1377 updates the version of the application1378 #make_externally_installed1379 sets to a special version1380 #uninstall_command1381 is expected to be an instance of Gitlab::Kubernetes::Helm::V3::DeleteCommand1382 has files1383 is rbac1384 on a non rbac enabled cluster1385 is expected not to be rbac1386 #files1387 does not include cert files1388 when cluster does not have helm installed1389 does not include cert files1390 #status1391 sets a default status1392 #can_uninstall?1393 is expected to be truthy1394 #install_command1395 is expected to be an instance of Gitlab::Kubernetes::Helm::V3::InstallCommand1396 is initialized with 4 arguments1397 on a non rbac enabled cluster1398 is expected not to be rbac1399 application failed to install previously1400 is initialized with the locked version1401 #files1402 includes runner valid values1403 with duplicated values on vendor/runner/values.yaml1404 overwrites values.yaml1405 #make_uninstalling!1406 calls prepare_uninstall1407 #post_uninstall1408 destroys its runner1409Ci::BuildTraceChunk1410 behaves like having unique enum values1411 has unique values in "data_store"1412 chunk creation1413 increments trace operation chunked metric1414 FastDestroyAll1415 Forbid #destroy and #destroy_all1416 does not delete database rows and associted external data1417 .fast_destroy_all1418 deletes database rows and associted external data1419 .use_fast_destroy1420 performs cascading delete with fast_destroy_all1421 CHUNK_SIZE1422 chunk size can not be changed without special care1423 .all_stores1424 returns a correctly ordered array1425 #data1426 data_store: :redis1427 is expected to eq "Sample data in redis"1428 data_store: :redis_trace_chunks1429 is expected to eq "Sample data in redis"1430 when data_store is database1431 is expected to eq "Sample data in database"1432 when data_store is fog1433 is expected to eq "Sample data in fog"1434 returns a new Fog store1435 #data_store1436 default value1437 is expected to eq "redis_trace_chunks"1438 #get_store_class1439 raises an error1440 data_store: :redis, expected_store: Ci::BuildTraceChunks::Redis1441 with store1442 returns an instance of the right class1443 data_store: :database, expected_store: Ci::BuildTraceChunks::Database1444 with store1445 returns an instance of the right class1446 data_store: :fog, expected_store: Ci::BuildTraceChunks::Fog1447 with store1448 returns an instance of the right class1449 data_store: :redis_trace_chunks, expected_store: Ci::BuildTraceChunks::RedisTraceChunks1450 with store1451 returns an instance of the right class1452 #append1453 data_store: :redis1454 when there are no data1455 has no data1456 does not read data when appending1457 behaves like Appending correctly1458 when offset is negative1459 is expected to raise Exception with "Offset is out of range"1460 when offset is bigger than data size1461 is expected to raise Exception with "Offset is out of range"1462 when new data overflows chunk size1463 is expected to raise Exception with "Chunk size overflow"1464 when offset is EOF1465 appends1466 when the other process is appending1467 raise an error1468 when new_data is nil1469 raises an error1470 when new_data is empty1471 does not append1472 does not execute UPDATE1473 when offset is middle of datasize1474 appends1475 behaves like Scheduling sidekiq worker to flush data to persist store1476 when new data fulfilled chunk size1477 schedules trace chunk flush worker1478 migrates data to object storage1479 when there are some data1480 has data1481 behaves like Appending correctly1482 when offset is negative1483 is expected to raise Exception with "Offset is out of range"1484 when offset is bigger than data size1485 is expected to raise Exception with "Offset is out of range"1486 when new data overflows chunk size1487 is expected to raise Exception with "Chunk size overflow"1488 when offset is EOF1489 appends1490 when the other process is appending1491 raise an error1492 when new_data is nil1493 raises an error1494 when new_data is empty1495 does not append1496 does not execute UPDATE1497 when offset is middle of datasize1498 appends1499 behaves like Scheduling sidekiq worker to flush data to persist store1500 when new data fulfilled chunk size1501 schedules trace chunk flush worker1502 migrates data to object storage1503 data_store: :redis_trace_chunks1504 when there are no data1505 has no data1506 does not read data when appending1507 behaves like Appending correctly1508 when offset is negative1509 is expected to raise Exception with "Offset is out of range"1510 when offset is bigger than data size1511 is expected to raise Exception with "Offset is out of range"1512 when new data overflows chunk size1513 is expected to raise Exception with "Chunk size overflow"1514 when offset is EOF1515 appends1516 when the other process is appending1517 raise an error1518 when new_data is nil1519 raises an error1520 when new_data is empty1521 does not append1522 does not execute UPDATE1523 when offset is middle of datasize1524 appends1525 behaves like Scheduling sidekiq worker to flush data to persist store1526 when new data fulfilled chunk size1527 schedules trace chunk flush worker1528 migrates data to object storage1529 when there are some data1530 has data1531 behaves like Appending correctly1532 when offset is negative1533 is expected to raise Exception with "Offset is out of range"1534 when offset is bigger than data size1535 is expected to raise Exception with "Offset is out of range"1536 when new data overflows chunk size1537 is expected to raise Exception with "Chunk size overflow"1538 when offset is EOF1539 appends1540 when the other process is appending1541 raise an error1542 when new_data is nil1543 raises an error1544 when new_data is empty1545 does not append1546 does not execute UPDATE1547 when offset is middle of datasize1548 appends1549 behaves like Scheduling sidekiq worker to flush data to persist store1550 when new data fulfilled chunk size1551 schedules trace chunk flush worker1552 migrates data to object storage1553 when data_store is database1554 when there are no data1555 has no data1556 behaves like Appending correctly1557 when offset is negative1558 is expected to raise Exception with "Offset is out of range"1559 when offset is bigger than data size1560 is expected to raise Exception with "Offset is out of range"1561 when new data overflows chunk size1562 is expected to raise Exception with "Chunk size overflow"1563 when offset is EOF1564 appends1565 when the other process is appending1566 raise an error1567 when new_data is nil1568 raises an error1569 when new_data is empty1570 does not append1571 does not execute UPDATE1572 when offset is middle of datasize1573 appends1574 behaves like Scheduling no sidekiq worker1575 when new data fulfilled chunk size1576 does not schedule trace chunk flush worker1577 does not migrate data to object storage1578 when there are some data1579 has data1580 behaves like Appending correctly1581 when offset is negative1582 is expected to raise Exception with "Offset is out of range"1583 when offset is bigger than data size1584 is expected to raise Exception with "Offset is out of range"1585 when new data overflows chunk size1586 is expected to raise Exception with "Chunk size overflow"1587 when offset is EOF1588 appends1589 when the other process is appending1590 raise an error1591 when new_data is nil1592 raises an error1593 when new_data is empty1594 does not append1595 does not execute UPDATE1596 when offset is middle of datasize1597 appends1598 behaves like Scheduling no sidekiq worker1599 when new data fulfilled chunk size1600 does not schedule trace chunk flush worker1601 does not migrate data to object storage1602 when data_store is fog1603 when there are no data1604 has no data1605 behaves like Appending correctly1606 when offset is negative1607 is expected to raise Exception with "Offset is out of range"1608 when offset is bigger than data size1609 is expected to raise Exception with "Offset is out of range"1610 when new data overflows chunk size1611 is expected to raise Exception with "Chunk size overflow"1612 when offset is EOF1613 appends1614 when the other process is appending1615 raise an error1616 when new_data is nil1617 raises an error1618 when new_data is empty1619 does not append1620 does not execute UPDATE1621 when offset is middle of datasize1622 appends1623 behaves like Scheduling no sidekiq worker1624 when new data fulfilled chunk size1625 does not schedule trace chunk flush worker1626 does not migrate data to object storage1627 when there are some data1628 has data1629 behaves like Appending correctly1630 when offset is negative1631 is expected to raise Exception with "Offset is out of range"1632 when offset is bigger than data size1633 is expected to raise Exception with "Offset is out of range"1634 when new data overflows chunk size1635 is expected to raise Exception with "Chunk size overflow"1636 when offset is EOF1637 appends1638 when the other process is appending1639 raise an error1640 when new_data is nil1641 raises an error1642 when new_data is empty1643 does not append1644 does not execute UPDATE1645 when offset is middle of datasize1646 appends1647 behaves like Scheduling no sidekiq worker1648 when new data fulfilled chunk size1649 does not schedule trace chunk flush worker1650 does not migrate data to object storage1651 append metrics1652 increments trace operation appended metric1653 #truncate1654 data_store: :redis1655 behaves like truncates1656 when offset is negative1657 is expected to raise Exception with "Offset is out of range"1658 when offset is bigger than data size1659 is expected to raise Exception with "Offset is out of range"1660 when offset is 101661 truncates1662 data_store: :redis_trace_chunks1663 behaves like truncates1664 when offset is negative1665 is expected to raise Exception with "Offset is out of range"1666 when offset is bigger than data size1667 is expected to raise Exception with "Offset is out of range"1668 when offset is 101669 truncates1670 when data_store is database1671 behaves like truncates1672 when offset is negative1673 is expected to raise Exception with "Offset is out of range"1674 when offset is bigger than data size1675 is expected to raise Exception with "Offset is out of range"1676 when offset is 101677 truncates1678 when data_store is fog1679 behaves like truncates1680 when offset is negative1681 is expected to raise Exception with "Offset is out of range"1682 when offset is bigger than data size1683 is expected to raise Exception with "Offset is out of range"1684 when offset is 101685 truncates1686 #size1687 data_store: :redis1688 when data exists1689 is expected to eq 201690 when data exists1691 is expected to eq 01692 data_store: :redis_trace_chunks1693 when data exists1694 is expected to eq 201695 when data exists1696 is expected to eq 01697 when data_store is database1698 when data exists1699 is expected to eq 231700 when data does not exist1701 is expected to eq 01702 when data_store is fog1703 when data exists1704 is expected to eq 181705 when data does not exist1706 is expected to eq 01707 #persist_data!1708 data_store: :redis, redis_class: Ci::BuildTraceChunks::Redis1709 when data exists1710 when data size reached CHUNK_SIZE1711 persists the data1712 calculates CRC32 checksum1713 when data size has not reached CHUNK_SIZE1714 does not persist the data and the orignal data is intact1715 when chunk is a final one1716 persists the data1717 when the chunk has been modifed by a different worker1718 reloads the chunk before migration1719 verifies the operation using optimistic locking1720 does not allow flushing unpersisted chunk1721 when the chunk is being locked by a different worker1722 increments stalled chunk trace metric1723 when data does not exist1724 does not persist1725 data_store: :redis_trace_chunks, redis_class: Ci::BuildTraceChunks::RedisTraceChunks1726 when data exists1727 when data size reached CHUNK_SIZE1728 persists the data1729 calculates CRC32 checksum1730 when data size has not reached CHUNK_SIZE1731 does not persist the data and the orignal data is intact1732 when chunk is a final one1733 persists the data1734 when the chunk has been modifed by a different worker1735 reloads the chunk before migration1736 verifies the operation using optimistic locking1737 does not allow flushing unpersisted chunk1738 when the chunk is being locked by a different worker1739 increments stalled chunk trace metric1740 when data does not exist1741 does not persist1742 when data_store is database1743 when data exists1744 when data size reached CHUNK_SIZE1745 persists the data1746 when data size has not reached CHUNK_SIZE1747 does not persist the data and the orignal data is intact1748 when chunk is a final one1749 persists the data1750 when data does not exist1751 does not persist1752 when data_store is fog1753 when data exists1754 when data size reached CHUNK_SIZE1755 does not change data store1756 when data size has not reached CHUNK_SIZE1757 does not raise error1758 final?1759 when build pending state exists1760 when chunks is not the last one1761 is not a final chunk1762 when chunks is the last one1763 is a final chunk1764 when build pending state does not exist1765 when chunks is not the last one1766 is not a final chunk1767 when chunks is the last one1768 is not a final chunk1769 deletes data in redis after a parent record destroyed1770 when traces are archived1771 behaves like deletes all build_trace_chunk and data in redis1772 deletes all build_trace_chunk and data in redis1773 when project is destroyed1774 behaves like deletes all build_trace_chunk and data in redis1775 deletes all build_trace_chunk and data in redis1776 comparable build trace chunks1777 #<=>1778 when chunks are associated with different builds1779 returns nil1780 when there are two chunks with different indexes1781 indicates the the first one is greater than then second1782 when there are two chunks with the same index within the same build1783 indicates the these are equal1784 #==1785 when chunks have the same index1786 indicates that the chunks are equal1787 when chunks have different indexes1788 indicates that the chunks are not equal1789 when chunks are associated with different builds1790 indicates that the chunks are not equal1791 #live?1792 data_store: :redis, value: true1793 is expected to eq true1794 data_store: :redis_trace_chunks, value: true1795 is expected to eq true1796 data_store: :database, value: false1797 is expected to eq false1798 data_store: :fog, value: false1799 is expected to eq false1800 #flushed?1801 data_store: :redis, value: false1802 is expected to eq false1803 data_store: :redis_trace_chunks, value: false1804 is expected to eq false1805 data_store: :database, value: true1806 is expected to eq true1807 data_store: :fog, value: true1808 is expected to eq true1809FileUploader1810 legacy storage1811 behaves like builds correct legacy storage paths1812 #store_dir1813 behaves like matches the method pattern1814 is expected to match /awesome\/project\/\h+/1815 #cache_dir1816 behaves like matches the method pattern1817 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1818 #work_dir1819 behaves like matches the method pattern1820 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1821 #upload_path1822 behaves like matches the method pattern1823 is expected to match /\h+\/<filename>/1824 #relative_path1825 is relative (PENDING: Path not set, skipping.)1826 .absolute_path1827 behaves like matches the method pattern1828 is expected to match /\/builds\/gitlab-org\/gitlab\/tmp\/tests\/public\/uploads\/awesome\/project\/55dc16aa0edd05693fd98b5051e83321\/foo.jpg/1829 .base_dir1830 behaves like matches the method pattern1831 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1832 path traversal exploits1833 throws an exception1834 uses hashed storage1835 when rolled out attachments1836 #store_dir1837 behaves like matches the method pattern1838 is expected to match /@hashed\/\h{2}\/\h{2}\/\h+/1839 #cache_dir1840 behaves like matches the method pattern1841 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1842 #work_dir1843 behaves like matches the method pattern1844 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1845 #upload_path1846 behaves like matches the method pattern1847 is expected to match /\h+\/<filename>/1848 #relative_path1849 is relative (PENDING: Path not set, skipping.)1850 .absolute_path1851 behaves like matches the method pattern1852 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1853 .base_dir1854 behaves like matches the method pattern1855 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1856 path traversal exploits1857 throws an exception1858 when only repositories are rolled out1859 behaves like builds correct legacy storage paths1860 #store_dir1861 behaves like matches the method pattern1862 is expected to match /awesome\/project\/\h+/1863 #cache_dir1864 behaves like matches the method pattern1865 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1866 #work_dir1867 behaves like matches the method pattern1868 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1869 #upload_path1870 behaves like matches the method pattern1871 is expected to match /\h+\/<filename>/1872 #relative_path1873 is relative (PENDING: Path not set, skipping.)1874 .absolute_path1875 behaves like matches the method pattern1876 is expected to match /\/builds\/gitlab-org\/gitlab\/tmp\/tests\/public\/uploads\/awesome\/project\/55dc16aa0edd05693fd98b5051e83321\/foo.jpg/1877 .base_dir1878 behaves like matches the method pattern1879 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1880 path traversal exploits1881 throws an exception1882 object store is remote1883 behaves like builds correct paths1884 #store_dir1885 behaves like matches the method pattern1886 is expected to match /@hashed\/\h{2}\/\h{2}\/\h+/1887 #cache_dir1888 behaves like matches the method pattern1889 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1890 #work_dir1891 behaves like matches the method pattern1892 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1893 #upload_path1894 behaves like matches the method pattern1895 is expected to match /@hashed\/\h{2}\/\h{2}\/\h+\/\h+\/<filename>/1896 #relative_path1897 is relative (PENDING: Path not set, skipping.)1898 .absolute_path1899 behaves like matches the method pattern1900 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1901 .base_dir1902 behaves like matches the method pattern1903 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1904 path traversal exploits1905 throws an exception1906 initialize1907 accepts a secret parameter1908 callbacks1909 #prune_store_dir after :remove1910 is called1911 prune the store directory1912 copy_to1913 files are stored locally1914 copies the file to the correct location1915 returned uploader1916 generates a new secret1917 creates new upload correctly1918 copies the file1919 files are stored remotely1920 copies the file to the correct location1921 returned uploader1922 generates a new secret1923 creates new upload correctly1924 copies the file1925 .extract_dynamic_path1926 with an absolute path without a slash in the beginning1927 behaves like a valid secret1928 with a 32-byte hexadecimal secret1929 extracts the secret1930 extracts the identifier1931 with a 10-byte hexadecimal secret1932 extracts the secret1933 extracts the identifier1934 with an invalid secret1935 returns nil1936 with an absolute path with a slash in the beginning1937 behaves like a valid secret1938 with a 32-byte hexadecimal secret1939 extracts the secret1940 extracts the identifier1941 with a 10-byte hexadecimal secret1942 extracts the secret1943 extracts the identifier1944 with an invalid secret1945 returns nil1946 with an relative path without a slash in the beginning1947 behaves like a valid secret1948 with a 32-byte hexadecimal secret1949 extracts the secret1950 extracts the identifier1951 with a 10-byte hexadecimal secret1952 extracts the secret1953 extracts the identifier1954 with an invalid secret1955 returns nil1956 with an relative path with a slash in the beginning1957 behaves like a valid secret1958 with a 32-byte hexadecimal secret1959 extracts the secret1960 extracts the identifier1961 with a 10-byte hexadecimal secret1962 extracts the secret1963 extracts the identifier1964 with an invalid secret1965 returns nil1966 #secret1967 generates a secret if none is provided1968 validation1969 32-byte hexadecimal1970 returns the secret1971 10-byte hexadecimal1972 returns the secret1973 invalid secret supplied1974 raises an exception1975 #migrate!1976 behaves like migrates1977 returns corresponding file type1978 does nothing when migrating to the current store1979 migrate to the specified store1980 removes the original file after the migration1981 can access to the original file during migration1982 when migrate! is not occupied by another process1983 executes migrate!1984 executes use_file1985 when migrate! is occupied by another process1986 does not execute migrate!1987 does not execute use_file1988 migration is unsuccessful1989 when the store is not supported1990 does not update the object_store1991 does not delete the original file1992 upon a fog failure1993 does not update the object_store1994 does not delete the original file1995 upon a database failure1996 does not update the object_store1997 does not delete the original file1998 behaves like migrates1999 returns corresponding file type2000 does nothing when migrating to the current store2001 migrate to the specified store2002 removes the original file after the migration2003 can access to the original file during migration2004 when migrate! is not occupied by another process2005 executes migrate!2006 executes use_file2007 when migrate! is occupied by another process2008 does not execute migrate!2009 does not execute use_file2010 migration is unsuccessful2011 when the store is not supported2012 does not update the object_store2013 does not delete the original file2014 upon a fog failure2015 does not update the object_store2016 does not delete the original file2017 upon a database failure2018 does not update the object_store2019 does not delete the original file2020 #upload=2021 handles nil2022 extract the uploader context from it2023 #replace_file_without_saving!2024 replaces an existing file without changing its metadata2025 when remote file is used2026 #cache!2027 file is stored remotely in permament location with sanitized name2028 #to_h2029 generates URL using original file name instead of filename returned by object storage2030Jobs/Deploy.gitlab-ci.yml2031 the created pipeline2032 with no cluster or agent2033 does not create any kubernetes deployment jobs2034 with only a disabled cluster2035 does not create any kubernetes deployment jobs2036 with an agent2037 behaves like pipeline with deployment jobs2038 on master2039 by default2040 when CI_DEPLOY_FREEZE is present2041 when CANARY_ENABLED2042 when STAGING_ENABLED2043 when INCREMENTAL_ROLLOUT_MODE == timed2044 when INCREMENTAL_ROLLOUT_ENABLED2045 when INCREMENTAL_ROLLOUT_MODE == manual2046 on branch2047 behaves like review app deployment2048 creates the review and stop_review jobs but no production jobs2049 does not include review when REVIEW_DISABLED2050 when INCREMENTAL_ROLLOUT_ENABLED2051 behaves like review app deployment2052 creates the review and stop_review jobs but no production jobs2053 does not include review when REVIEW_DISABLED2054 when INCREMENTAL_ROLLOUT_MODE == "timed"2055 behaves like review app deployment2056 creates the review and stop_review jobs but no production jobs2057 does not include review when REVIEW_DISABLED2058 when INCREMENTAL_ROLLOUT_MODE == "manual"2059 behaves like review app deployment2060 creates the review and stop_review jobs but no production jobs2061 does not include review when REVIEW_DISABLED2062 on tag2063 behaves like review app deployment2064 creates the review and stop_review jobs but no production jobs2065 does not include review when REVIEW_DISABLED2066 on merge request2067 has no jobs2068 with a cluster2069 behaves like pipeline with deployment jobs2070 on master2071 by default2072 when CI_DEPLOY_FREEZE is present2073 when CANARY_ENABLED2074 when STAGING_ENABLED2075 when INCREMENTAL_ROLLOUT_MODE == timed2076 when INCREMENTAL_ROLLOUT_ENABLED2077 when INCREMENTAL_ROLLOUT_MODE == manual2078 on branch2079 behaves like review app deployment2080 creates the review and stop_review jobs but no production jobs2081 does not include review when REVIEW_DISABLED2082 when INCREMENTAL_ROLLOUT_ENABLED2083 behaves like review app deployment2084 creates the review and stop_review jobs but no production jobs2085 does not include review when REVIEW_DISABLED2086 when INCREMENTAL_ROLLOUT_MODE == "timed"2087 behaves like review app deployment2088 creates the review and stop_review jobs but no production jobs2089 does not include review when REVIEW_DISABLED2090 when INCREMENTAL_ROLLOUT_MODE == "manual"2091 behaves like review app deployment2092 creates the review and stop_review jobs but no production jobs2093 does not include review when REVIEW_DISABLED2094 on tag2095 behaves like review app deployment2096 creates the review and stop_review jobs but no production jobs2097 does not include review when REVIEW_DISABLED2098 on merge request2099 has no jobs2100Gitlab::ImportExport::Project::RelationTreeRestorer2101 with legacy reader2102 behaves like import project successfully2103 imported project2104 has the project attributes and relations2105 with logging of relations creation2106 logs top-level relation creation2107 with ndjson reader2108 behaves like import project successfully2109 imported project2110 has the project attributes and relations2111 when inside a group2112 behaves like import project successfully2113 imported project2114 has the project attributes and relations2115 with invalid relations2116 logs the invalid relation and its errors2117BroadcastMessage2118 is expected to be valid2119 validations2120 is expected to allow :color to be ‹nil›2121 is expected to allow :color to be ‹"#000"›2122 is expected to allow :color to be ‹"#AABBCC"›2123 is expected not to allow :color to be ‹"000"›2124 is expected to allow :font to be ‹nil›2125 is expected to allow :font to be ‹"#000"›2126 is expected to allow :font to be ‹"#AABBCC"›2127 is expected not to allow :font to be ‹"000"›2128 is expected to allow :broadcast_type to be ‹1›2129 is expected not to allow :broadcast_type to be ‹nil›2130 is expected not to allow :target_access_levels to be ‹nil›2131 is expected to validate that :target_access_levels is either ‹10›, ‹20›, ‹30›, ‹40›, or ‹50›2132 .current2133 returns both types2134 behaves like time constrainted2135 returns message if time match2136 returns multiple messages if time match2137 returns empty list if time not come2138 returns empty list if time has passed2139 behaves like message cache2140 caches the output of the query for two weeks2141 expires the value if a broadcast message has ended2142 does not create new records2143 includes messages that need to be displayed in the future2144 does not clear the cache if only a future message should be displayed2145 behaves like matches with current path2146 returns message if it matches the target path2147 returns message if part of the target path matches2148 returns message if provided a path without a preceding slash2149 returns the message for empty target path2150 returns the message if target path is nil2151 does not return message if target path does not match2152 does not return message if target path does not match when using wildcard2153 does not return message if target path has no wild card at the end2154 does not return message if target path has wild card at the end2155 does return message if target path has wild card at the beginning and the end2156 does not return message if the target path is set but no current path is provided2157 behaves like matches with user access level2158 when feature flag is disabled2159 when message is role-targeted2160 does not return the message2161 when message is not role-targeted2162 returns the message2163 when target_access_levels is empty2164 returns the message if user access level is not nil2165 returns the message if user access level is nil2166 when target_access_levels is not empty2167 does not return the message if user access level is nil2168 returns the message if user access level is in target_access_levels2169 does not return the message if user access level is not in target_access_levels2170 behaves like handles stale cache data gracefully2171 when cache returns stale data (e.g. nil target_access_levels)2172 does not raise error (e.g. NoMethodError from nil.empty?)2173 when feature flag is disabled2174 does not raise error (e.g. NoMethodError from nil.empty?)2175 when message is from cache2176 behaves like matches with current path2177 returns message if it matches the target path2178 returns message if part of the target path matches2179 returns message if provided a path without a preceding slash2180 returns the message for empty target path2181 returns the message if target path is nil2182 does not return message if target path does not match2183 does not return message if target path does not match when using wildcard2184 does not return message if target path has no wild card at the end2185 does not return message if target path has wild card at the end2186 does return message if target path has wild card at the beginning and the end2187 does not return message if the target path is set but no current path is provided2188 behaves like matches with user access level2189 when feature flag is disabled2190 when message is role-targeted2191 does not return the message2192 when message is not role-targeted2193 returns the message2194 when target_access_levels is empty2195 returns the message if user access level is not nil2196 returns the message if user access level is nil2197 when target_access_levels is not empty2198 does not return the message if user access level is nil2199 returns the message if user access level is in target_access_levels2200 does not return the message if user access level is not in target_access_levels2201 behaves like matches with current path2202 returns message if it matches the target path2203 returns message if part of the target path matches2204 returns message if provided a path without a preceding slash2205 returns the message for empty target path2206 returns the message if target path is nil2207 does not return message if target path does not match2208 does not return message if target path does not match when using wildcard2209 does not return message if target path has no wild card at the end2210 does not return message if target path has wild card at the end2211 does return message if target path has wild card at the beginning and the end2212 does not return message if the target path is set but no current path is provided2213 behaves like matches with user access level2214 when feature flag is disabled2215 when message is role-targeted2216 does not return the message2217 when message is not role-targeted2218 returns the message2219 when target_access_levels is empty2220 returns the message if user access level is not nil2221 returns the message if user access level is nil2222 when target_access_levels is not empty2223 does not return the message if user access level is nil2224 returns the message if user access level is in target_access_levels2225 does not return the message if user access level is not in target_access_levels2226 .current_banner_messages2227 only returns banners2228 behaves like time constrainted2229 returns message if time match2230 returns multiple messages if time match2231 returns empty list if time not come2232 returns empty list if time has passed2233 behaves like message cache2234 caches the output of the query for two weeks2235 expires the value if a broadcast message has ended2236 does not create new records2237 includes messages that need to be displayed in the future2238 does not clear the cache if only a future message should be displayed2239 behaves like matches with current path2240 returns message if it matches the target path2241 returns message if part of the target path matches2242 returns message if provided a path without a preceding slash2243 returns the message for empty target path2244 returns the message if target path is nil2245 does not return message if target path does not match2246 does not return message if target path does not match when using wildcard2247 does not return message if target path has no wild card at the end2248 does not return message if target path has wild card at the end2249 does return message if target path has wild card at the beginning and the end2250 does not return message if the target path is set but no current path is provided2251 behaves like matches with user access level2252 when feature flag is disabled2253 when message is role-targeted2254 does not return the message2255 when message is not role-targeted2256 returns the message2257 when target_access_levels is empty2258 returns the message if user access level is not nil2259 returns the message if user access level is nil2260 when target_access_levels is not empty2261 does not return the message if user access level is nil2262 returns the message if user access level is in target_access_levels2263 does not return the message if user access level is not in target_access_levels2264 behaves like handles stale cache data gracefully2265 when cache returns stale data (e.g. nil target_access_levels)2266 does not raise error (e.g. NoMethodError from nil.empty?)2267 when feature flag is disabled2268 does not raise error (e.g. NoMethodError from nil.empty?)2269 when message is from cache2270 behaves like matches with current path2271 returns message if it matches the target path2272 returns message if part of the target path matches2273 returns message if provided a path without a preceding slash2274 returns the message for empty target path2275 returns the message if target path is nil2276 does not return message if target path does not match2277 does not return message if target path does not match when using wildcard2278 does not return message if target path has no wild card at the end2279 does not return message if target path has wild card at the end2280 does return message if target path has wild card at the beginning and the end2281 does not return message if the target path is set but no current path is provided2282 behaves like matches with user access level2283 when feature flag is disabled2284 when message is role-targeted2285 does not return the message2286 when message is not role-targeted2287 returns the message2288 when target_access_levels is empty2289 returns the message if user access level is not nil2290 returns the message if user access level is nil2291 when target_access_levels is not empty2292 does not return the message if user access level is nil2293 returns the message if user access level is in target_access_levels2294 does not return the message if user access level is not in target_access_levels2295 .current_notification_messages2296 only returns notifications2297 behaves like time constrainted2298 returns message if time match2299 returns multiple messages if time match2300 returns empty list if time not come2301 returns empty list if time has passed2302 behaves like message cache2303 caches the output of the query for two weeks2304 expires the value if a broadcast message has ended2305 does not create new records2306 includes messages that need to be displayed in the future2307 does not clear the cache if only a future message should be displayed2308 behaves like matches with current path2309 returns message if it matches the target path2310 returns message if part of the target path matches2311 returns message if provided a path without a preceding slash2312 returns the message for empty target path2313 returns the message if target path is nil2314 does not return message if target path does not match2315 does not return message if target path does not match when using wildcard2316 does not return message if target path has no wild card at the end2317 does not return message if target path has wild card at the end2318 does return message if target path has wild card at the beginning and the end2319 does not return message if the target path is set but no current path is provided2320 behaves like matches with user access level2321 when feature flag is disabled2322 when message is role-targeted2323 does not return the message2324 when message is not role-targeted2325 returns the message2326 when target_access_levels is empty2327 returns the message if user access level is not nil2328 returns the message if user access level is nil2329 when target_access_levels is not empty2330 does not return the message if user access level is nil2331 returns the message if user access level is in target_access_levels2332 does not return the message if user access level is not in target_access_levels2333 behaves like handles stale cache data gracefully2334 when cache returns stale data (e.g. nil target_access_levels)2335 does not raise error (e.g. NoMethodError from nil.empty?)2336 when feature flag is disabled2337 does not raise error (e.g. NoMethodError from nil.empty?)2338 when message is from cache2339 behaves like matches with current path2340 returns message if it matches the target path2341 returns message if part of the target path matches2342 returns message if provided a path without a preceding slash2343 returns the message for empty target path2344 returns the message if target path is nil2345 does not return message if target path does not match2346 does not return message if target path does not match when using wildcard2347 does not return message if target path has no wild card at the end2348 does not return message if target path has wild card at the end2349 does return message if target path has wild card at the beginning and the end2350 does not return message if the target path is set but no current path is provided2351 behaves like matches with user access level2352 when feature flag is disabled2353 when message is role-targeted2354 does not return the message2355 when message is not role-targeted2356 returns the message2357 when target_access_levels is empty2358 returns the message if user access level is not nil2359 returns the message if user access level is nil2360 when target_access_levels is not empty2361 does not return the message if user access level is nil2362 returns the message if user access level is in target_access_levels2363 does not return the message if user access level is not in target_access_levels2364 #attributes2365 includes message_html field2366 #active?2367 is truthy when started and not ended2368 is falsey when ended2369 is falsey when not started2370 #started?2371 is truthy when starts_at has passed2372 is falsey when starts_at is in the future2373 #ended?2374 is truthy when ends_at has passed2375 is falsey when ends_at is in the future2376 #flush_redis_cache2377 flushes the Redis cache2378Gitlab::Gfm::ReferenceRewriter2379 #rewrite2380 multiple issues and merge requests referenced2381 plain text description2382 is expected to include "old-project#1"2383 is expected to include "old-project#2"2384 is expected to include "old-project!1"2385 description with ignored elements2386 is expected to include "old-project#1"2387 is expected not to include "old-project#2"2388 is expected not to include "old-project!1"2389 rewrite ambigous references2390 url2391 is expected to include "http://gitlab.com/#1"2392 code2393 is expected to eq "old-project#1, but not `[#1]`"2394 code reverse2395 is expected to eq "not `#1`, but old-project#1"2396 code in random order2397 is expected to eq "old-project#1, `#1`, old-project#1, `#1`"2398 description with project labels2399 label referenced by id2400 is expected to eq "old-project#1 and old-project~123"2401 label referenced by text2402 is expected to eq "old-project#1 and old-project~123"2403 description with group labels2404 label referenced by id2405 is expected to eq "group980/old-project#1 and group980/old-project~321"2406 label referenced by text2407 is expected to eq "group981/old-project#1 and group981/old-project~321"2408 when description contains a local reference2409 is expected to eq "See old-project#1"2410 when description contains a cross reference2411 is expected to eq "See namespace112/project111!1"2412 with a commit2413 reference to an absolute URL to a commit2414 is expected to eq "http://localhost/group979/old-project/-/commit/b83d6e391c22777fca1ed3012fce84f633d7fed0"2415 reference to a commit2416 is expected to eq "old-project@b83d6e391c22777fca1ed3012fce84f633d7fed0"2417 reference contains project milestone2418 is expected to eq "milestone: old-project%\"9.0\""2419 when referring to group milestone2420 is expected to eq "milestone %\"10.0\""2421 when referring to a group2422 is expected to eq "group @group979"2423 when referring to a user2424 is expected to eq "user @user705"2425 when referable has a nil reference2426 raises an error that should be fixed2427CI YML Templates2428 that support autodevops2429 when including available templates in a CI YAML configuration2430 template_name: "5-Minute-Production-App.gitlab-ci.yml"2431 is expected to be valid2432 require default stages to be included2433 template_name: "Android.gitlab-ci.yml"2434 is expected to be valid2435 require default stages to be included2436 template_name: "Android-Fastlane.gitlab-ci.yml"2437 is expected to be valid2438 require default stages to be included2439 template_name: "Auto-DevOps.gitlab-ci.yml"2440 is expected to be valid2441 require default stages to be included2442 template_name: "Bash.gitlab-ci.yml"2443 is expected to be valid2444 require default stages to be included2445 template_name: "C++.gitlab-ci.yml"2446 is expected to be valid2447 require default stages to be included2448 template_name: "Chef.gitlab-ci.yml"2449 is expected to be valid2450 require default stages to be included2451 template_name: "Clojure.gitlab-ci.yml"2452 is expected to be valid2453 require default stages to be included2454 template_name: "Code-Quality.gitlab-ci.yml"2455 is expected to be valid2456 require default stages to be included2457 template_name: "Composer.gitlab-ci.yml"2458 is expected to be valid2459 require default stages to be included2460 template_name: "Crystal.gitlab-ci.yml"2461 is expected to be valid2462 require default stages to be included2463 template_name: "Dart.gitlab-ci.yml"2464 is expected to be valid2465 require default stages to be included2466 template_name: "Deploy-ECS.gitlab-ci.yml"2467 is expected to be valid2468 require default stages to be included2469 template_name: "Django.gitlab-ci.yml"2470 is expected to be valid2471 require default stages to be included2472 template_name: "Docker.gitlab-ci.yml"2473 is expected to be valid2474 require default stages to be included2475 template_name: "Elixir.gitlab-ci.yml"2476 is expected to be valid2477 require default stages to be included2478 template_name: "Flutter.gitlab-ci.yml"2479 is expected to be valid2480 require default stages to be included2481 template_name: "Getting-Started.gitlab-ci.yml"2482 is expected to be valid2483 require default stages to be included2484 template_name: "Go.gitlab-ci.yml"2485 is expected to be valid2486 require default stages to be included2487 template_name: "Gradle.gitlab-ci.yml"2488 is expected to be valid2489 require default stages to be included2490 template_name: "Grails.gitlab-ci.yml"2491 is expected to be valid2492 require default stages to be included2493 template_name: "Indeni.Cloudrail.gitlab-ci.yml"2494 is expected to be valid2495 require default stages to be included2496 template_name: "Julia.gitlab-ci.yml"2497 is expected to be valid2498 require default stages to be included2499 template_name: "Kaniko.gitlab-ci.yml"2500 is expected to be valid2501 require default stages to be included2502 template_name: "LaTeX.gitlab-ci.yml"2503 is expected to be valid2504 require default stages to be included2505 template_name: "Laravel.gitlab-ci.yml"2506 is expected to be valid2507 require default stages to be included2508 template_name: "MATLAB.gitlab-ci.yml"2509 is expected to be valid2510 require default stages to be included2511 template_name: "Maven.gitlab-ci.yml"2512 is expected to be valid2513 require default stages to be included2514 template_name: "Mono.gitlab-ci.yml"2515 is expected to be valid2516 require default stages to be included2517 template_name: "Nodejs.gitlab-ci.yml"2518 is expected to be valid2519 require default stages to be included2520 template_name: "OpenShift.gitlab-ci.yml"2521 is expected to be valid2522 require default stages to be included2523 template_name: "PHP.gitlab-ci.yml"2524 is expected to be valid2525 require default stages to be included2526 template_name: "Packer.gitlab-ci.yml"2527 is expected to be valid2528 require default stages to be included2529 template_name: "Python.gitlab-ci.yml"2530 is expected to be valid2531 require default stages to be included2532 template_name: "Qualys-IaC-Security.gitlab-ci.yml"2533 is expected to be valid2534 require default stages to be included2535 template_name: "Ruby.gitlab-ci.yml"2536 is expected to be valid2537 require default stages to be included2538 template_name: "Rust.gitlab-ci.yml"2539 is expected to be valid2540 require default stages to be included2541 template_name: "Scala.gitlab-ci.yml"2542 is expected to be valid2543 require default stages to be included2544 template_name: "Swift.gitlab-ci.yml"2545 is expected to be valid2546 require default stages to be included2547 template_name: "Terraform.gitlab-ci.yml"2548 is expected to be valid2549 require default stages to be included2550 template_name: "dotNET.gitlab-ci.yml"2551 is expected to be valid2552 require default stages to be included2553 template_name: "dotNET-Core.gitlab-ci.yml"2554 is expected to be valid2555 require default stages to be included2556 template_name: "iOS-Fastlane.gitlab-ci.yml"2557 is expected to be valid2558 require default stages to be included2559 template_name: "liquibase.gitlab-ci.yml"2560 is expected to be valid2561 require default stages to be included2562 template_name: "npm.gitlab-ci.yml"2563 is expected to be valid2564 require default stages to be included2565 template_name: "Pages/Brunch.gitlab-ci.yml"2566 is expected to be valid2567 require default stages to be included2568 template_name: "Pages/Doxygen.gitlab-ci.yml"2569 is expected to be valid2570 require default stages to be included2571 template_name: "Pages/Gatsby.gitlab-ci.yml"2572 is expected to be valid2573 require default stages to be included2574 template_name: "Pages/HTML.gitlab-ci.yml"2575 is expected to be valid2576 require default stages to be included2577 template_name: "Pages/Harp.gitlab-ci.yml"2578 is expected to be valid2579 require default stages to be included2580 template_name: "Pages/Hexo.gitlab-ci.yml"2581 is expected to be valid2582 require default stages to be included2583 template_name: "Pages/Hugo.gitlab-ci.yml"2584 is expected to be valid2585 require default stages to be included2586 template_name: "Pages/Hyde.gitlab-ci.yml"2587 is expected to be valid2588 require default stages to be included2589 template_name: "Pages/JBake.gitlab-ci.yml"2590 is expected to be valid2591 require default stages to be included2592 template_name: "Pages/Jekyll.gitlab-ci.yml"2593 is expected to be valid2594 require default stages to be included2595 template_name: "Pages/Jigsaw.gitlab-ci.yml"2596 is expected to be valid2597 require default stages to be included2598 template_name: "Pages/Lektor.gitlab-ci.yml"2599 is expected to be valid2600 require default stages to be included2601 template_name: "Pages/Metalsmith.gitlab-ci.yml"2602 is expected to be valid2603 require default stages to be included2604 template_name: "Pages/Middleman.gitlab-ci.yml"2605 is expected to be valid2606 require default stages to be included2607 template_name: "Pages/Nanoc.gitlab-ci.yml"2608 is expected to be valid2609 require default stages to be included2610 template_name: "Pages/Octopress.gitlab-ci.yml"2611 is expected to be valid2612 require default stages to be included2613 template_name: "Pages/Pelican.gitlab-ci.yml"2614 is expected to be valid2615 require default stages to be included2616 template_name: "Pages/SwaggerUI.gitlab-ci.yml"2617 is expected to be valid2618 require default stages to be included2619 template_name: "Verify/Accessibility.gitlab-ci.yml"2620 is expected to be valid2621 require default stages to be included2622 template_name: "Verify/Browser-Performance.gitlab-ci.yml"2623 is expected to be valid2624 require default stages to be included2625 template_name: "Verify/FailFast.gitlab-ci.yml"2626 is expected to be valid2627 require default stages to be included2628 template_name: "Verify/Load-Performance-Testing.gitlab-ci.yml"2629 is expected to be valid2630 require default stages to be included2631 template_name: "Security/Container-Scanning.gitlab-ci.yml"2632 is expected to be valid2633 require default stages to be included2634 template_name: "Security/Coverage-Fuzzing.gitlab-ci.yml"2635 is expected to be valid2636 require default stages to be included2637 template_name: "Security/DAST-On-Demand-API-Scan.gitlab-ci.yml"2638 is expected to be valid2639 require default stages to be included2640 template_name: "Security/DAST-On-Demand-Scan.gitlab-ci.yml"2641 is expected to be valid2642 require default stages to be included2643 template_name: "Security/DAST-Runner-Validation.gitlab-ci.yml"2644 is expected to be valid2645 require default stages to be included2646 template_name: "Security/Dependency-Scanning.gitlab-ci.yml"2647 is expected to be valid2648 require default stages to be included2649 template_name: "Security/License-Scanning.gitlab-ci.yml"2650 is expected to be valid2651 require default stages to be included2652 template_name: "Security/SAST.gitlab-ci.yml"2653 is expected to be valid2654 require default stages to be included2655 template_name: "Security/SAST-IaC.gitlab-ci.yml"2656 is expected to be valid2657 require default stages to be included2658 template_name: "Security/Secret-Detection.gitlab-ci.yml"2659 is expected to be valid2660 require default stages to be included2661 template_name: "Security/Secure-Binaries.gitlab-ci.yml"2662 is expected to be valid2663 require default stages to be included2664 that do not support autodevops2665 when DAST API template2666 with default stages2667 is expected not to be valid2668 with defined stages2669 is expected to be valid2670 require default stages to be included2671 when API Fuzzing template2672 with default stages2673 is expected not to be valid2674 with defined stages2675 is expected to be valid2676 require default stages to be included2677Projects::UnlinkForkService2678 removes the link to the fork network2679 refreshes the forks count cache of the source project2680 with opened merge request on the source project2681 close all pending merge requests2682 does not close merge requests for the project being unlinked2683 when the original project was deleted2684 does not fail when the original project is deleted2685 when given project is a source of forks2686 removes its link to the fork network and updates direct network members2687 refreshes the forks count cache of the given project2688 with opened merge requests from fork back to root project2689 closes all pending merge requests2690 does not close merge requests that do not come from the project being unlinked2691 and is node with a parent2692 refreshes the forks count cache of the parent and the given project2693 removes its link to the fork network and updates direct network members2694 with opened merge requests from and to given project2695 close all pending merge requests2696 does not close merge requests which do not come from the project being unlinked2697 a project with pool repository2698 when unlinked leaves pool repository2699 when given project is not part of a fork network2700 does not raise errors2701SubmoduleHelper2702 as view helpers in view context2703 behaves like submodule_links2704 submodule on self2705 detects ssh on standard port2706 detects ssh on standard port without a username2707 detects ssh on non-standard port2708 detects ssh on non-standard port without a username2709 detects http on standard port2710 detects http on non-standard port2711 works with relative_url_root2712 works with subgroups2713 submodule on gist.github.com2714 detects ssh2715 detects http2716 detects https2717 handles urls with no .git on the end2718 returns original with non-standard url2719 submodule on github.com2720 detects ssh2721 detects http2722 detects https2723 handles urls with no .git on the end2724 returns original with non-standard url2725 in-repository submodule2726 in-repository2727 submodule on gitlab.com2728 detects ssh2729 detects http2730 detects https2731 handles urls with no .git on the end2732 handles urls with trailing whitespace2733 returns original with non-standard url2734 submodule on unsupported2735 sanitizes unsupported protocols2736 sanitizes unsupported protocols disguised as a repository URL2737 sanitizes invalid URL with extended ASCII2738 returns original2739 submodules with relative links2740 handles project under same group2741 handles trailing whitespace2742 handles project under another top group2743 repo path resolves to be located at root (namespace absent)2744 returns nil2745 repo path resolves to be located underneath current project path2746 returns nil because it is not possible to have repo nested under another repo2747 subgroup2748 handles referencing descendent group's project2749 handles referencing another top group's project2750 project in sub group2751 handles referencing ancestor group's project2752 personal project2753 handles referencing another personal project2754 unknown submodule2755 returns no links2756 as stand-alone module2757 behaves like submodule_links2758 submodule on self2759 detects ssh on standard port2760 detects ssh on standard port without a username2761 detects ssh on non-standard port2762 detects ssh on non-standard port without a username2763 detects http on standard port2764 detects http on non-standard port2765 works with relative_url_root2766 works with subgroups2767 submodule on gist.github.com2768 detects ssh2769 detects http2770 detects https2771 handles urls with no .git on the end2772 returns original with non-standard url2773 submodule on github.com2774 detects ssh2775 detects http2776 detects https2777 handles urls with no .git on the end2778 returns original with non-standard url2779 in-repository submodule2780 in-repository2781 submodule on gitlab.com2782 detects ssh2783 detects http2784 detects https2785 handles urls with no .git on the end2786 handles urls with trailing whitespace2787 returns original with non-standard url2788 submodule on unsupported2789 sanitizes unsupported protocols2790 sanitizes unsupported protocols disguised as a repository URL2791 sanitizes invalid URL with extended ASCII2792 returns original2793 submodules with relative links2794 handles project under same group2795 handles trailing whitespace2796 handles project under another top group2797 repo path resolves to be located at root (namespace absent)2798 returns nil2799 repo path resolves to be located underneath current project path2800 returns nil because it is not possible to have repo nested under another repo2801 subgroup2802 handles referencing descendent group's project2803 handles referencing another top group's project2804 project in sub group2805 handles referencing ancestor group's project2806 personal project2807 handles referencing another personal project2808 unknown submodule2809 returns no links2810Integrations::Jenkins2811 sets the default values2812 accessors2813 is expected to respond to #enable_ssl_verification2814 is expected to respond to #enable_ssl_verification?2815 #initialize_properties2816 enables the setting by default2817 does not enable the setting if the record is already persisted2818 does not enable the setting if a custom value was set2819 #fields2820 inserts the checkbox field after the first URL field, or at the end2821 does not insert the field repeatedly2822 behaves like Integrations::HasWebHook2823 callbacks2824 calls #update_web_hook! when enabled2825 does not call #update_web_hook! when disabled2826 does not call #update_web_hook! when validation fails2827 #hook_url2828 returns a string2829 #hook_ssl_verification2830 returns a boolean2831 delegates to #enable_ssl_verification if the concern is included2832 #update_web_hook!2833 creates or updates a service hook2834 raises an error if the service hook could not be saved2835 does not attempt to save the service hook if there are no changes2836 #execute_web_hook!2837 creates the webhook if necessary and executes it2838 raises an error if the service hook could not be saved2839 username validation2840 when the integration is active2841 when password was not touched2842 is expected not to validate that :username cannot be empty/falsy2843 when password was touched2844 is expected to validate that :username cannot be empty/falsy2845 when password is blank2846 does not validate the username2847 when the integration is inactive2848 is expected not to validate that :username cannot be empty/falsy2849 #hook_url2850 when the jenkins_url has no relative path2851 is expected to eq "http://jenkins.example.com/project/my_project"2852 when the jenkins_url has relative path2853 is expected to eq "http://organization.example.com/jenkins/project/my_project"2854 userinfo is missing and username and password are set2855 is expected to eq "http://u%24ername:pas%24%20word@organization.example.com/jenkins/project/my_project"2856 userinfo is provided and username and password are set2857 is expected to eq "http://username:password@organization.example.com/jenkins/project/my_project"2858 userinfo is provided username and password are not set2859 is expected to eq "http://u:p@organization.example.com/jenkins/project/my_project"2860 #test2861 returns the right status2862 #execute2863 invokes the Jenkins API2864 adds default web hook headers to the request2865 request url contains properly serialized username and password2866 Stored password invalidation2867 when a password was previously set2868 resets password if url changed2869 resets password if username is blank2870 does not reset password if username changed2871 does not reset password if new url is set together with password, even if it's the same password2872 resets password if url changed, even if setter called multiple times2873 when no password was previously set2874 saves password if new url is set together with password2875Import/Export Project configuration2876 relation_path: "project", relation_name: :project2877 where relation project2878 does not have prohibited keys2879 relation_path: "project.labels", relation_name: :labels2880 where relation project.labels2881 does not have prohibited keys2882 relation_path: "project.labels.priorities", relation_name: :priorities2883 where relation project.labels.priorities2884 does not have prohibited keys2885 relation_path: "project.milestones", relation_name: :milestones2886 where relation project.milestones2887 does not have prohibited keys2888 relation_path: "project.milestones.events", relation_name: :events2889 where relation project.milestones.events2890 does not have prohibited keys2891 relation_path: "project.milestones.events.push_event_payload", relation_name: :push_event_payload2892 where relation project.milestones.events.push_event_payload2893 does not have prohibited keys2894 relation_path: "project.issues", relation_name: :issues2895 where relation project.issues2896 does not have prohibited keys2897 relation_path: "project.issues.events", relation_name: :events2898 where relation project.issues.events2899 does not have prohibited keys2900 relation_path: "project.issues.events.push_event_payload", relation_name: :push_event_payload2901 where relation project.issues.events.push_event_payload2902 does not have prohibited keys2903 relation_path: "project.issues.timelogs", relation_name: :timelogs2904 where relation project.issues.timelogs2905 does not have prohibited keys2906 relation_path: "project.issues.notes", relation_name: :notes2907 where relation project.issues.notes2908 does not have prohibited keys2909 relation_path: "project.issues.notes.award_emoji", relation_name: :award_emoji2910 where relation project.issues.notes.award_emoji2911 does not have prohibited keys2912 relation_path: "project.issues.notes.system_note_metadata", relation_name: :system_note_metadata2913 where relation project.issues.notes.system_note_metadata2914 does not have prohibited keys2915 relation_path: "project.issues.notes.events", relation_name: :events2916 where relation project.issues.notes.events2917 does not have prohibited keys2918 relation_path: "project.issues.notes.events.push_event_payload", relation_name: :push_event_payload2919 where relation project.issues.notes.events.push_event_payload2920 does not have prohibited keys2921 relation_path: "project.issues.label_links", relation_name: :label_links2922 where relation project.issues.label_links2923 does not have prohibited keys2924 relation_path: "project.issues.label_links.label", relation_name: :label2925 where relation project.issues.label_links.label2926 does not have prohibited keys2927 relation_path: "project.issues.label_links.label.priorities", relation_name: :priorities2928 where relation project.issues.label_links.label.priorities2929 does not have prohibited keys2930 relation_path: "project.issues.milestone", relation_name: :milestone2931 where relation project.issues.milestone2932 does not have prohibited keys2933 relation_path: "project.issues.milestone.events", relation_name: :events2934 where relation project.issues.milestone.events2935 does not have prohibited keys2936 relation_path: "project.issues.milestone.events.push_event_payload", relation_name: :push_event_payload2937 where relation project.issues.milestone.events.push_event_payload2938 does not have prohibited keys2939 relation_path: "project.issues.resource_label_events", relation_name: :resource_label_events2940 where relation project.issues.resource_label_events2941 does not have prohibited keys2942 relation_path: "project.issues.resource_label_events.label", relation_name: :label2943 where relation project.issues.resource_label_events.label2944 does not have prohibited keys2945 relation_path: "project.issues.resource_label_events.label.priorities", relation_name: :priorities2946 where relation project.issues.resource_label_events.label.priorities2947 does not have prohibited keys2948 relation_path: "project.issues.designs", relation_name: :designs2949 where relation project.issues.designs2950 does not have prohibited keys2951 relation_path: "project.issues.designs.notes", relation_name: :notes2952 where relation project.issues.designs.notes2953 does not have prohibited keys2954 relation_path: "project.issues.designs.notes.events", relation_name: :events2955 where relation project.issues.designs.notes.events2956 does not have prohibited keys2957 relation_path: "project.issues.designs.notes.events.push_event_payload", relation_name: :push_event_payload2958 where relation project.issues.designs.notes.events.push_event_payload2959 does not have prohibited keys2960 relation_path: "project.issues.design_versions", relation_name: :design_versions2961 where relation project.issues.design_versions2962 does not have prohibited keys2963 relation_path: "project.issues.design_versions.actions", relation_name: :actions2964 where relation project.issues.design_versions.actions2965 does not have prohibited keys2966 relation_path: "project.issues.design_versions.actions.design", relation_name: :design2967 where relation project.issues.design_versions.actions.design2968 does not have prohibited keys2969 relation_path: "project.issues.issue_assignees", relation_name: :issue_assignees2970 where relation project.issues.issue_assignees2971 does not have prohibited keys2972 relation_path: "project.issues.zoom_meetings", relation_name: :zoom_meetings2973 where relation project.issues.zoom_meetings2974 does not have prohibited keys2975 relation_path: "project.issues.sentry_issue", relation_name: :sentry_issue2976 where relation project.issues.sentry_issue2977 does not have prohibited keys2978 relation_path: "project.issues.award_emoji", relation_name: :award_emoji2979 where relation project.issues.award_emoji2980 does not have prohibited keys2981 relation_path: "project.issues.epic_issue", relation_name: :epic_issue2982 where relation project.issues.epic_issue2983 does not have prohibited keys2984 relation_path: "project.issues.epic_issue.epic", relation_name: :epic2985 where relation project.issues.epic_issue.epic2986 does not have prohibited keys2987 relation_path: "project.issues.issuable_sla", relation_name: :issuable_sla2988 where relation project.issues.issuable_sla2989 does not have prohibited keys2990 relation_path: "project.snippets", relation_name: :snippets2991 where relation project.snippets2992 does not have prohibited keys2993 relation_path: "project.snippets.award_emoji", relation_name: :award_emoji2994 where relation project.snippets.award_emoji2995 does not have prohibited keys2996 relation_path: "project.snippets.notes", relation_name: :notes2997 where relation project.snippets.notes2998 does not have prohibited keys2999 relation_path: "project.snippets.notes.award_emoji", relation_name: :award_emoji3000 where relation project.snippets.notes.award_emoji3001 does not have prohibited keys3002 relation_path: "project.releases", relation_name: :releases3003 where relation project.releases3004 does not have prohibited keys3005 relation_path: "project.releases.links", relation_name: :links3006 where relation project.releases.links3007 does not have prohibited keys3008 relation_path: "project.releases.milestone_releases", relation_name: :milestone_releases3009 where relation project.releases.milestone_releases3010 does not have prohibited keys3011 relation_path: "project.releases.milestone_releases.milestone", relation_name: :milestone3012 where relation project.releases.milestone_releases.milestone3013 does not have prohibited keys3014 relation_path: "project.project_members", relation_name: :project_members3015 where relation project.project_members3016 does not have prohibited keys3017 relation_path: "project.project_members.user", relation_name: :user3018 where relation project.project_members.user3019 does not have prohibited keys3020 relation_path: "project.merge_requests", relation_name: :merge_requests3021 where relation project.merge_requests3022 does not have prohibited keys3023 relation_path: "project.merge_requests.metrics", relation_name: :metrics3024 where relation project.merge_requests.metrics3025 does not have prohibited keys3026 relation_path: "project.merge_requests.award_emoji", relation_name: :award_emoji3027 where relation project.merge_requests.award_emoji3028 does not have prohibited keys3029 relation_path: "project.merge_requests.notes", relation_name: :notes3030 where relation project.merge_requests.notes3031 does not have prohibited keys3032 relation_path: "project.merge_requests.notes.award_emoji", relation_name: :award_emoji3033 where relation project.merge_requests.notes.award_emoji3034 does not have prohibited keys3035 relation_path: "project.merge_requests.notes.system_note_metadata", relation_name: :system_note_metadata3036 where relation project.merge_requests.notes.system_note_metadata3037 does not have prohibited keys3038 relation_path: "project.merge_requests.notes.events", relation_name: :events3039 where relation project.merge_requests.notes.events3040 does not have prohibited keys3041 relation_path: "project.merge_requests.notes.events.push_event_payload", relation_name: :push_event_payload3042 where relation project.merge_requests.notes.events.push_event_payload3043 does not have prohibited keys3044 relation_path: "project.merge_requests.notes.suggestions", relation_name: :suggestions3045 where relation project.merge_requests.notes.suggestions3046 does not have prohibited keys3047 relation_path: "project.merge_requests.merge_request_diff", relation_name: :merge_request_diff3048 where relation project.merge_requests.merge_request_diff3049 does not have prohibited keys3050 relation_path: "project.merge_requests.merge_request_diff.merge_request_diff_commits", relation_name: :merge_request_diff_commits3051 where relation project.merge_requests.merge_request_diff.merge_request_diff_commits3052 does not have prohibited keys3053 relation_path: "project.merge_requests.merge_request_diff.merge_request_diff_commits.commit_author", relation_name: :commit_author3054 where relation project.merge_requests.merge_request_diff.merge_request_diff_commits.commit_author3055 does not have prohibited keys3056 relation_path: "project.merge_requests.merge_request_diff.merge_request_diff_commits.committer", relation_name: :committer3057 where relation project.merge_requests.merge_request_diff.merge_request_diff_commits.committer3058 does not have prohibited keys3059 relation_path: "project.merge_requests.merge_request_diff.merge_request_diff_files", relation_name: :merge_request_diff_files3060 where relation project.merge_requests.merge_request_diff.merge_request_diff_files3061 does not have prohibited keys3062 relation_path: "project.merge_requests.events", relation_name: :events3063 where relation project.merge_requests.events3064 does not have prohibited keys3065 relation_path: "project.merge_requests.events.push_event_payload", relation_name: :push_event_payload3066 where relation project.merge_requests.events.push_event_payload3067 does not have prohibited keys3068 relation_path: "project.merge_requests.timelogs", relation_name: :timelogs3069 where relation project.merge_requests.timelogs3070 does not have prohibited keys3071 relation_path: "project.merge_requests.label_links", relation_name: :label_links3072 where relation project.merge_requests.label_links3073 does not have prohibited keys3074 relation_path: "project.merge_requests.label_links.label", relation_name: :label3075 where relation project.merge_requests.label_links.label3076 does not have prohibited keys3077 relation_path: "project.merge_requests.label_links.label.priorities", relation_name: :priorities3078 where relation project.merge_requests.label_links.label.priorities3079 does not have prohibited keys3080 relation_path: "project.merge_requests.milestone", relation_name: :milestone3081 where relation project.merge_requests.milestone3082 does not have prohibited keys3083 relation_path: "project.merge_requests.milestone.events", relation_name: :events3084 where relation project.merge_requests.milestone.events3085 does not have prohibited keys3086 relation_path: "project.merge_requests.milestone.events.push_event_payload", relation_name: :push_event_payload3087 where relation project.merge_requests.milestone.events.push_event_payload3088 does not have prohibited keys3089 relation_path: "project.merge_requests.resource_label_events", relation_name: :resource_label_events3090 where relation project.merge_requests.resource_label_events3091 does not have prohibited keys3092 relation_path: "project.merge_requests.resource_label_events.label", relation_name: :label3093 where relation project.merge_requests.resource_label_events.label3094 does not have prohibited keys3095 relation_path: "project.merge_requests.resource_label_events.label.priorities", relation_name: :priorities3096 where relation project.merge_requests.resource_label_events.label.priorities3097 does not have prohibited keys3098 relation_path: "project.external_pull_requests", relation_name: :external_pull_requests3099 where relation project.external_pull_requests3100 does not have prohibited keys3101 relation_path: "project.ci_pipelines", relation_name: :ci_pipelines3102 where relation project.ci_pipelines3103 does not have prohibited keys3104 relation_path: "project.ci_pipelines.notes", relation_name: :notes3105 where relation project.ci_pipelines.notes3106 does not have prohibited keys3107 relation_path: "project.ci_pipelines.notes.events", relation_name: :events3108 where relation project.ci_pipelines.notes.events3109 does not have prohibited keys3110 relation_path: "project.ci_pipelines.notes.events.push_event_payload", relation_name: :push_event_payload3111 where relation project.ci_pipelines.notes.events.push_event_payload3112 does not have prohibited keys3113 relation_path: "project.ci_pipelines.stages", relation_name: :stages3114 where relation project.ci_pipelines.stages3115 does not have prohibited keys3116 relation_path: "project.ci_pipelines.stages.statuses", relation_name: :statuses3117 where relation project.ci_pipelines.stages.statuses3118 does not have prohibited keys3119 relation_path: "project.ci_pipelines.external_pull_request", relation_name: :external_pull_request3120 where relation project.ci_pipelines.external_pull_request3121 does not have prohibited keys3122 relation_path: "project.ci_pipelines.merge_request", relation_name: :merge_request3123 where relation project.ci_pipelines.merge_request3124 does not have prohibited keys3125 relation_path: "project.auto_devops", relation_name: :auto_devops3126 where relation project.auto_devops3127 does not have prohibited keys3128 relation_path: "project.pipeline_schedules", relation_name: :pipeline_schedules3129 where relation project.pipeline_schedules3130 does not have prohibited keys3131 relation_path: "project.container_expiration_policy", relation_name: :container_expiration_policy3132 where relation project.container_expiration_policy3133 does not have prohibited keys3134 relation_path: "project.protected_branches", relation_name: :protected_branches3135 where relation project.protected_branches3136 does not have prohibited keys3137 relation_path: "project.protected_branches.merge_access_levels", relation_name: :merge_access_levels3138 where relation project.protected_branches.merge_access_levels3139 does not have prohibited keys3140 relation_path: "project.protected_branches.push_access_levels", relation_name: :push_access_levels3141 where relation project.protected_branches.push_access_levels3142 does not have prohibited keys3143 relation_path: "project.protected_branches.unprotect_access_levels", relation_name: :unprotect_access_levels3144 where relation project.protected_branches.unprotect_access_levels3145 does not have prohibited keys3146 relation_path: "project.protected_tags", relation_name: :protected_tags3147 where relation project.protected_tags3148 does not have prohibited keys3149 relation_path: "project.protected_tags.create_access_levels", relation_name: :create_access_levels3150 where relation project.protected_tags.create_access_levels3151 does not have prohibited keys3152 relation_path: "project.project_feature", relation_name: :project_feature3153 where relation project.project_feature3154 does not have prohibited keys3155 relation_path: "project.custom_attributes", relation_name: :custom_attributes3156 where relation project.custom_attributes3157 does not have prohibited keys3158 relation_path: "project.prometheus_metrics", relation_name: :prometheus_metrics3159 where relation project.prometheus_metrics3160 does not have prohibited keys3161 relation_path: "project.project_badges", relation_name: :project_badges3162 where relation project.project_badges3163 does not have prohibited keys3164 relation_path: "project.ci_cd_settings", relation_name: :ci_cd_settings3165 where relation project.ci_cd_settings3166 does not have prohibited keys3167 relation_path: "project.error_tracking_setting", relation_name: :error_tracking_setting3168 where relation project.error_tracking_setting3169 does not have prohibited keys3170 relation_path: "project.metrics_setting", relation_name: :metrics_setting3171 where relation project.metrics_setting3172 does not have prohibited keys3173 relation_path: "project.boards", relation_name: :boards3174 where relation project.boards3175 does not have prohibited keys3176 relation_path: "project.boards.lists", relation_name: :lists3177 where relation project.boards.lists3178 does not have prohibited keys3179 relation_path: "project.boards.lists.label", relation_name: :label3180 where relation project.boards.lists.label3181 does not have prohibited keys3182 relation_path: "project.boards.lists.label.priorities", relation_name: :priorities3183 where relation project.boards.lists.label.priorities3184 does not have prohibited keys3185 relation_path: "project.boards.lists.milestone", relation_name: :milestone3186 where relation project.boards.lists.milestone3187 does not have prohibited keys3188 relation_path: "project.boards.milestone", relation_name: :milestone3189 where relation project.boards.milestone3190 does not have prohibited keys3191 relation_path: "project.service_desk_setting", relation_name: :service_desk_setting3192 where relation project.service_desk_setting3193 does not have prohibited keys3194 relation_path: "project.protected_environments", relation_name: :protected_environments3195 where relation project.protected_environments3196 does not have prohibited keys3197 relation_path: "project.protected_environments.deploy_access_levels", relation_name: :deploy_access_levels3198 where relation project.protected_environments.deploy_access_levels3199 does not have prohibited keys3200 relation_path: "project.security_setting", relation_name: :security_setting3201 where relation project.security_setting3202 does not have prohibited keys3203 relation_path: "project.push_rule", relation_name: :push_rule3204 where relation project.push_rule3205 does not have prohibited keys3206AvatarUploader3207 behaves like builds correct paths3208 #store_dir3209 behaves like matches the method pattern3210 is expected to match /uploads\/-\/system\/user\/avatar\//3211 #cache_dir3212 behaves like matches the method pattern3213 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)3214 #work_dir3215 behaves like matches the method pattern3216 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)3217 #upload_path3218 behaves like matches the method pattern3219 is expected to match /uploads\/-\/system\/user\/avatar\//3220 #relative_path3221 is relative (PENDING: Path not set, skipping.)3222 .absolute_path3223 behaves like matches the method pattern3224 is expected to match /\/builds\/gitlab-org\/gitlab\/tmp\/tests\/public\/uploads\/-\/system\/user\/avatar\//3225 .base_dir3226 behaves like matches the method pattern3227 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)3228 path traversal exploits3229 throws an exception3230 object_store is REMOTE3231 behaves like builds correct paths3232 #store_dir3233 behaves like matches the method pattern3234 is expected to match /user\/avatar\//3235 #cache_dir3236 behaves like matches the method pattern3237 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)3238 #work_dir3239 behaves like matches the method pattern3240 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)3241 #upload_path3242 behaves like matches the method pattern3243 is expected to match /user\/avatar\//3244 #relative_path3245 is relative (PENDING: Path not set, skipping.)3246 .absolute_path3247 behaves like matches the method pattern3248 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)3249 .base_dir3250 behaves like matches the method pattern3251 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)3252 path traversal exploits3253 throws an exception3254 with a file3255 sets the right absolute path3256 behaves like migrates3257 returns corresponding file type3258 does nothing when migrating to the current store3259 migrate to the specified store3260 removes the original file after the migration3261 can access to the original file during migration3262 when migrate! is not occupied by another process3263 executes migrate!3264 executes use_file3265 when migrate! is occupied by another process3266 does not execute migrate!3267 does not execute use_file3268 migration is unsuccessful3269 when the store is not supported3270 does not update the object_store3271 does not delete the original file3272 upon a fog failure3273 does not update the object_store3274 does not delete the original file3275 upon a database failure3276 does not update the object_store3277 does not delete the original file3278 behaves like migrates3279 returns corresponding file type3280 does nothing when migrating to the current store3281 migrate to the specified store3282 removes the original file after the migration3283 can access to the original file during migration3284 when migrate! is not occupied by another process3285 executes migrate!3286 executes use_file3287 when migrate! is occupied by another process3288 does not execute migrate!3289 does not execute use_file3290 migration is unsuccessful3291 when the store is not supported3292 does not update the object_store3293 does not delete the original file3294 upon a fog failure3295 does not update the object_store3296 does not delete the original file3297 upon a database failure3298 does not update the object_store3299 does not delete the original file3300 accept whitelist file content type3301 mime_type: "image/png"3302 behaves like accepted carrierwave upload3303 will accept upload3304 will cache uploaded file3305 mime_type: "image/jpeg"3306 behaves like accepted carrierwave upload3307 will accept upload3308 will cache uploaded file3309 mime_type: "image/gif"3310 behaves like accepted carrierwave upload3311 will accept upload3312 will cache uploaded file3313 mime_type: "image/bmp"3314 behaves like accepted carrierwave upload3315 will accept upload3316 will cache uploaded file3317 mime_type: "image/tiff"3318 behaves like accepted carrierwave upload3319 will accept upload3320 will cache uploaded file3321 mime_type: "image/vnd.microsoft.icon"3322 behaves like accepted carrierwave upload3323 will accept upload3324 will cache uploaded file3325 upload non-whitelisted file content type3326 behaves like denied carrierwave upload3327 will deny upload3328 upload misnamed non-whitelisted file content type3329 behaves like denied carrierwave upload3330 will deny upload3331NotificationRecipient3332 #notifiable?3333 when emails are disabled3334 returns false if group disabled3335 returns false if project disabled3336 when emails are enabled3337 returns true if group enabled3338 returns true if project enabled3339 #has_access?3340 user cannot read cross project3341 returns false3342 user cannot read build3343 returns false3344 user cannot read commit3345 returns false3346 target has no policy3347 returns true3348 #notification_setting3349 for child groups3350 when notification setting is global3351 considers notification setting from the first parent without global setting3352 when notification setting is not global3353 considers notification setting from lowest group member in hierarchy3354 #suitable_notification_level?3355 when notification level is mention3356 when type is mention3357 returns true3358 when type is not mention3359 returns false3360 when notification level is participating3361 when type is participating3362 returns true3363 when type is mention3364 returns true3365 with custom action3366 when action is failed_pipeline3367 returns true3368 when action is fixed_pipeline3369 returns true3370 when action is not fixed_pipeline or failed_pipeline3371 returns false3372 when notification level is custom3373 when type is participating3374 with custom event enabled3375 returns true3376 without custom event enabled3377 returns true3378 when type is mention3379 with custom event enabled3380 returns true3381 without custom event enabled3382 returns true3383 when type is watch3384 with custom event enabled3385 returns true3386 without custom event enabled3387 returns false3388 when custom_action is fixed_pipeline and success_pipeline event is enabled3389 returns true3390 with merge_when_pipeline_succeeds3391 custom event enabled3392 returns true3393 custom event disabled3394 returns false3395 when notification level is watch3396 when type is watch3397 without excluded watcher events3398 returns true3399 with excluded watcher events3400 returns false3401 when type is not watch3402 without excluded watcher events3403 returns true3404 with excluded watcher events3405 returns true3406Packages::Maven::FindOrCreatePackageService3407 #execute3408 path with version3409 package_exist: true, file_type: :jar, snapshot_version: false, shared_example_name: "reuse existing package"3410 behaves like reuse existing package3411 is expected not to change `Packages::Package.count`3412 returns the existing package3413 package_exist: false, file_type: :jar, snapshot_version: false, shared_example_name: "create package"3414 behaves like create package3415 is expected to change `Packages::Package.count` by 13416 sets the proper name and version3417 with optional attributes3418 behaves like assigns build to package3419 with build info3420 assigns the pipeline to the package3421 behaves like assigns status to package3422 with status param3423 assigns the status to the package3424 package_exist: true, file_type: :jar, snapshot_version: true, shared_example_name: "reuse existing package"3425 behaves like reuse existing package3426 is expected not to change `Packages::Package.count`3427 returns the existing package3428 package_exist: false, file_type: :jar, snapshot_version: true, shared_example_name: "create package"3429 behaves like create package3430 is expected to change `Packages::Package.count` by 13431 sets the proper name and version3432 with optional attributes3433 behaves like assigns build to package3434 with build info3435 assigns the pipeline to the package3436 behaves like assigns status to package3437 with status param3438 assigns the status to the package3439 package_exist: true, file_type: :maven_xml, snapshot_version: true, shared_example_name: "reuse existing package"3440 behaves like reuse existing package3441 is expected not to change `Packages::Package.count`3442 returns the existing package3443 package_exist: false, file_type: :maven_xml, snapshot_version: true, shared_example_name: "create package"3444 behaves like create package3445 is expected to change `Packages::Package.count` by 13446 sets the proper name and version3447 with optional attributes3448 behaves like assigns build to package3449 with build info3450 assigns the pipeline to the package3451 behaves like assigns status to package3452 with status param3453 assigns the status to the package3454 path without version3455 maven-metadata.xml file3456 with existing package3457 behaves like reuse existing package3458 is expected not to change `Packages::Package.count`3459 returns the existing package3460 marked as pending_destruction3461 behaves like create package3462 is expected to change `Packages::Package.count` by 13463 sets the proper name and version3464 with optional attributes3465 behaves like assigns build to package3466 with build info3467 assigns the pipeline to the package3468 behaves like assigns status to package3469 with status param3470 assigns the status to the package3471 without existing package3472 behaves like create package3473 is expected to change `Packages::Package.count` by 13474 sets the proper name and version3475 with optional attributes3476 behaves like assigns build to package3477 with build info3478 assigns the pipeline to the package3479 behaves like assigns status to package3480 with status param3481 assigns the status to the package3482 with a build3483 creates a build_info3484 with multiple files for the same package and the same pipeline3485 creates a single build info3486 when package duplicates are not allowed3487 is expected not to change `project.package_files.count`3488 returns an error3489 when uploading to the versionless package which contains metadata about all versions3490 behaves like reuse existing package3491 is expected not to change `Packages::Package.count`3492 returns the existing package3493 when uploading different non-duplicate files to the same package3494 behaves like reuse existing package3495 is expected not to change `Packages::Package.count`3496 returns the existing package3497 when the package name matches the exception regex3498 behaves like reuse existing package3499 is expected not to change `Packages::Package.count`3500 returns the existing package3501 when the package version matches the exception regex3502 behaves like reuse existing package3503 is expected not to change `Packages::Package.count`3504 returns the existing package3505Resolvers::NamespaceProjectsResolver3506 has an high complexity regardless of arguments3507 with a group3508 #resolve3509 finds all projects3510 finds all projects including the subgroups3511 with an user namespace3512 finds all projects3513 finds all projects including the subgroups3514 search and similarity sorting3515 returns projects ordered by similarity to the search input3516 filters out result that do not match the search input3517 when `search` parameter is not given3518 returns projects not ordered by similarity3519 when only search term is given3520 filters out result that do not match the search input, but does not sort them3521 ids filtering3522 when ids is provided3523 returns matching project3524 when ids is nil3525 returns all projects3526 when passing a non existent, batch loaded namespace3527 returns nil without breaking3528Clusters::Agent3529 is expected to belong to created_by_user class_name => User optional: true3530 is expected to belong to project class_name => ::Project required: false3531 is expected to have many agent_tokens class_name => Clusters::AgentToken order => #<Arel::Nodes::NullsLast:0x00007fd3d9d43f50>3532 is expected to have many group_authorizations class_name => Clusters::Agents::GroupAuthorization3533 is expected to have many authorized_groups through group_authorizations3534 is expected to have many project_authorizations class_name => Clusters::Agents::ProjectAuthorization3535 is expected to have many authorized_projects class_name => ::Project through project_authorizations3536 is expected to validate that :name cannot be empty/falsy3537 is expected to validate that the length of :name is at most 633538 is expected to validate that :name is case-sensitively unique within the scope of :project_id3539 scopes3540 .ordered_by_name3541 is expected to eq ["agent-a", "agent-b", "agent-c", "agent-d"]3542 .with_name3543 is expected to contain exactly #<Clusters::Agent id: 33, created_at: "2022-06-29 20:29:41.099581656 +0000", updated_at: "2022-06-29 ...0000", project_id: 519, name: "matching-name", created_by_user_id: 1179, has_vulnerabilities: false>3544 .has_vulnerabilities3545 when value is not provided3546 returns agents which have vulnerabilities3547 when value is provided3548 as true3549 returns agents which have vulnerabilities3550 as false3551 returns agents which do not have vulnerabilities3552 validation3553 name validation3554 rejects names that do not conform to RFC 11233555 accepts valid names3556 #has_access_to?3557 has access to own project3558 does not have access to other projects3559 #connected?3560 agent has never connected3561 is expected to be falsey3562 agent has connected, but not recently3563 is expected to be falsey3564 agent has connected recently3565 is expected to be truthy3566 agent token has been revoked3567 is expected to be falsey3568 agent has multiple tokens3569 is expected to be truthy3570 #activity_event_deletion_cutoff3571 is expected to within one second of 2022-06-29 18:29:46 UTC3572Projects::ImportExport::ExportService3573 #execute3574 saves the version3575 saves the avatar3576 saves the models3577 saves the uploads3578 saves the repo (PENDING: No reason given)3579 saves the wiki repo3580 saves the design repo3581 saves the lfs objects3582 saves the snippets3583 when all saver services succeed3584 saves the project in the file system3585 calls the after export strategy3586 when the upload fails3587 notifies the user of an error3588 when after export strategy fails3589 removes the remaining exported data3590 notifies the user3591 notifies logger3592 when saving services fail3593 removes the remaining exported data3594 notifies the user3595 notifies logger3596 does not call the export strategy3597 when one of the savers fail unexpectedly3598 removes the remaining exported data3599 when user does not have admin_project permission3600 fails3601 behaves like measurable service3602 when measurement is enabled3603 measure service execution with Gitlab::Utils::Measuring3604 when measurement is disabled3605 does not measure service execution3606check.rake3607 gitlab:check rake task3608 behaves like system check rake task3609 runs the check3610 gitlab:gitlab_shell:check rake task3611 behaves like system check rake task3612 runs the check3613 gitlab:gitaly:check rake task3614 behaves like system check rake task3615 runs the check3616 gitlab:sidekiq:check rake task3617 behaves like system check rake task3618 runs the check3619 gitlab:incoming_email:check rake task3620 behaves like system check rake task3621 runs the check3622 gitlab:ldap:check rake task3623 behaves like system check rake task3624 runs the check3625 when LDAP is not enabled3626 does not attempt to bind or search for users3627 when LDAP is enabled3628 attempts to bind using credentials3629 searches for 100 LDAP users3630 sanitizes output3631layouts/nav/sidebar/_group3632 behaves like has nav sidebar3633 has collapsed nav sidebar on mobile3634 behaves like sidebar includes snowplow attributes3635 is expected to have visible css ".nav-sidebar[data-track-action=\"render\"][data-track-label=\"groups_side_navigation\"][data-track-property=\"groups_side_navigation\"]"3636 Group context menu3637 has a link to the group path3638 Group information3639 has a link to the group activity path3640 has a link to the group labels path3641 has a link to the members page3642 Issues3643 has a default link to the issue list path3644 has a link to the issue list page3645 has a link to the boards page3646 has a link to the milestones page3647 Merge Requests3648 has a link to the merge request list path3649 shows pill with the number of merge requests3650 CI/CD3651 has a default link to the runners list path3652 has a link to the runners list page3653 Kubernetes menu3654 has a link to the group cluster list path3655 Packages & Registries3656 has a link to the package registry page3657 has a link to the container registry page3658 has a link to the dependency proxy page3659 Settings3660 default link points to edit group page3661 has a link to the General settings page3662 has a link to the Integrations settings page3663 has a link to the group Projects settings page3664 has a link to the Repository settings page3665 has a link to the CI/CD settings page3666 has a link to the Applications settings page3667 has a link to the Package & Registries settings page3668Gitlab::Diff::Rendered::Notebook::DiffFile3669 #old_blob and #new_blob3670 when file is changed3671 transforms the old blob3672 transforms the new blob3673 when file is added3674 old_blob is empty3675 new_blob is transformed3676 when file is removed3677 old_blob is transformed3678 new_blob is empty3679 #diff3680 for valid notebooks3681 returns the transformed diff3682 for invalid notebooks3683 returns nil3684 timeout3685 utilizes timeout for web3686 falls back to nil on timeout3687 utilizes longer timeout for sidekiq3688 #has_renderable?3689 notebook diff is empty3690 is false3691 notebook is valid3692 is true3693 when old blob file is truncated3694 is false3695 when new blob file is truncated3696 is false3697 #highlighted_diff_lines?3698 when line transformed line is not part of the diff3699 line is not discussable3700 when line transformed line part of the diff3701 line is not discussable3702 assigns the correct position3703 computes the first line where the remove would appear3704 has image3705 replaces rich text with img to the embedded image3706 adds image to src3707 when embedded image has injected html3708 prevents injected html to be rendered as html3709 keeps the injected html as part of the string3710Gitlab::Ci::Status::Bridge::Factory3711 when bridge is created3712 matches correct core status3713 fabricates status with correct details3714 when bridge is failed3715 matches correct core status3716 matches correct extended statuses3717 fabricates a failed bridge status3718 fabricates status with correct details3719 failed with downstream_pipeline_creation_failed3720 fabricates correct status_tooltip3721 when bridge is a manual action3722 matches correct core status3723 matches correct extended statuses3724 fabricates action detailed status3725 fabricates status with correct details3726 when user has ability to play action3727 fabricates status that has action3728 when user does not have ability to play action3729 fabricates status that has no action3730 when bridge is waiting for resource3731 matches correct core status3732 fabricates status with correct details3733MergeRequests::AddTodoWhenBuildFailsService3734 #execute3735 commit status with ref3736 notifies the todo service3737 commit status with non-HEAD ref3738 does not notify the todo service3739 commit status without ref3740 does not notify the todo service3741 when commit status is a build allowed to fail3742 does not create todo3743 when build belongs to a merge request pipeline3744 notifies the todo service3745 #close3746 commit status with ref3747 notifies the todo service3748 commit status with non-HEAD ref3749 does not notify the todo service3750 commit status without ref3751 does not notify the todo service3752 when build belongs to a merge request pipeline3753 notifies the todo service3754 #close_all3755 when using pipeline that belongs to merge request3756 resolves todos about failed builds for pipeline3757 when pipeline is not related to merge request3758 does not resolve any todos about failed builds3759Ci::PipelineTriggerService3760 #execute3761 with a trigger token3762 when trigger belongs to a different project3763 does nothing3764 when trigger owner does not have a permission to read a project3765 does nothing3766 when params have an existing trigger token3767 when params have an existing ref3768 triggers a pipeline3769 stores the payload as a variable3770 when commit message has [ci skip]3771 ignores [ci skip] and create as general3772 when params have a variable3773 has variables3774 when params have duplicate variables3775 creates a failed pipeline without variables3776 behaves like detecting an unprocessable pipeline trigger3777 when the pipeline was not created successfully3778 has the correct status code3779 when params have a non-existant ref3780 does not trigger a pipeline3781 when params have a non-existant trigger token3782 does not trigger a pipeline3783 with a pipeline job token3784 when job user does not have a permission to read a project3785 does nothing3786 when job is not running3787 does nothing3788 when job does not have a project3789 does nothing3790 when params have an existsed job token3791 when params have an existsed ref3792 triggers a pipeline3793 behaves like logs downstream pipeline creation3794 logs details3795 when commit message has [ci skip]3796 ignores [ci skip] and create as general3797 when params have a variable3798 has variables3799 when params have duplicate variables3800 creates a failed pipeline without variables3801 behaves like detecting an unprocessable pipeline trigger3802 when the pipeline was not created successfully3803 has the correct status code3804 when params have a non-existant ref3805 does not trigger a job in the pipeline3806 when params have a non-existsed trigger token3807 does not trigger a pipeline3808Gitlab::BlobHelper3809 #extname3810 returns the extension3811 #known_extension?3812 returns true3813 #viewable3814 returns true3815 returns false3816 #large?3817 returns false3818 returns true3819 #binary?3820 returns true3821 returns false3822 #text?3823 returns true3824 returns false3825 #image?3826 with a .txt file3827 returns false3828 with a .webp file3829 returns true3830 #mime_type3831 returns text/plain3832 returns application/pdf3833 #binary_mime_type?3834 returns false3835 #lines3836 returns the payload in an Array3837 #content_type3838 returns text/plain3839 returns text/plain3840 #encoded_newlines_re3841 returns a regular expression3842 #ruby_encoding3843 returns UTF-83844 #encoding3845 returns UTF-83846 #empty?3847 returns false3848ActiveSession3849 #current?3850 returns true if the active session matches the current session3851 returns false if the active session does not match the current session3852 returns false if the session id is nil3853 .list3854 returns all sessions by user3855 returns an empty array if the user does not have any active session3856 when the current session is in the old format3857 behaves like ignoring obsolete entries3858 does not return obsolete entries and cleans them up3859 when the current session is in the new format3860 behaves like ignoring obsolete entries3861 does not return obsolete entries and cleans them up3862 .list_sessions3863 uses the ActiveSession lookup to return original sessions3864 .session_ids_for_user3865 uses the user lookup table to return session ids3866 .sessions_from_ids3867 uses the ActiveSession lookup to return original sessions3868 avoids a redis lookup for an empty array3869 uses redis lookup in batches3870 .set3871 sets a new redis entry for the user session and a lookup entry3872 adds timestamps and information from the request3873 is possible to log in only using the old session key3874 keeps the created_at from the login on consecutive requests3875 .destroy_session3876 destroy called with Rack::Session::SessionId#private_id3877 calls .destroy_sessions3878 ActiveSession with session_private_id3879 when using old session key serialization3880 removes the devise session3881 removes the lookup entry3882 removes the ActiveSession3883 when using new session key serialization3884 removes the devise session3885 removes the lookup entry3886 removes the ActiveSession3887 .destroy_all_but_current3888 gracefully handles a nil session ID3889 with legacy sessions3890 behaves like with user sessions3891 removes the entry associated with the all user sessions but current3892 removes the lookup entry of deleted sessions3893 does not remove impersonated sessions3894 with new sessions3895 behaves like with user sessions3896 removes the entry associated with the all user sessions but current3897 removes the lookup entry of deleted sessions3898 does not remove impersonated sessions3899 .cleanup3900 with legacy sessions3901 behaves like cleaning up3902 does not bail if there are no lookup entries3903 when removing obsolete sessions3904 removes obsolete lookup entries3905 cleaning up old sessions3906 removes obsolete active sessions entries3907 removes obsolete lookup entries3908 removes obsolete lookup entries even without active session3909 when the number of active sessions is lower than the limit3910 does not remove active session entries, but removes lookup entries3911 cleaning up old sessions stored by Rack::Session::SessionId#private_id3912 removes obsolete active sessions entries3913 with new sessions3914 behaves like cleaning up3915 does not bail if there are no lookup entries3916 when removing obsolete sessions3917 removes obsolete lookup entries3918 cleaning up old sessions3919 removes obsolete active sessions entries3920 removes obsolete lookup entries3921 removes obsolete lookup entries even without active session3922 when the number of active sessions is lower than the limit3923 does not remove active session entries, but removes lookup entries3924 cleaning up old sessions stored by Rack::Session::SessionId#private_id3925 removes obsolete active sessions entries3926 .cleaned_up_lookup_entries3927 with legacy sessions3928 behaves like cleaning up lookup entries3929 removes obsolete lookup entries3930 reports the removed entries3931 with new sessions3932 behaves like cleaning up lookup entries3933 removes obsolete lookup entries3934 reports the removed entries3935UploadService3936 File service3937 for valid gif file3938 is expected to have key :alt3939 is expected to have key :url3940 is expected to have value "banana_sample"3941 is expected to match "banana_sample.gif"3942 for valid png file3943 is expected to have key :alt3944 is expected to have key :url3945 is expected to have value "dk"3946 is expected to match "dk.png"3947 for valid jpg file3948 is expected to have key :alt3949 is expected to have key :url3950 is expected to have value "rails_sample"3951 is expected to match "rails_sample.jpg"3952 for txt file3953 is expected to have key :alt3954 is expected to have key :url3955 is expected to have value "doc_sample.txt"3956 is expected to match "doc_sample.txt"3957 for too large a file3958 is expected to eq {}3959 #override_max_attachment_size3960 allows the upload3961 disallows the upload3962IssueLinks::ListService3963 #execute3964 user can see all issues3965 ensures no N+1 queries are made3966 returns related issues JSON3967 referencing a public project issue3968 presents issue3969 referencing issue with removed relationships3970 when referenced a deleted issue3971 ignores issue3972 when referenced an issue with deleted project3973 ignores issue3974 when referenced an issue with deleted namespace3975 ignores issue3976 user cannot see relations3977 when user cannot see the referenced issue3978 returns an empty list3979 when user cannot see the issue that referenced3980 returns an empty list3981 remove relations3982 user can admin related issues just on target project3983 returns no destroy relation path3984 user can admin related issues just on source project3985 returns no destroy relation path3986 when user can admin related issues on both projects3987 returns related issue destroy relation path3988Gitlab::SidekiqConfig::WorkerMatcher3989 #match?3990 with valid input3991 query: "worker_name=WorkerA", expected_metadatas: ["WorkerA"]3992 is expected to contain exactly "WorkerA"3993 query: "worker_name=WorkerA2", expected_metadatas: ["WorkerA2"]3994 is expected to contain exactly "WorkerA2"3995 query: "worker_name=WorkerB|worker_name=WorkerD", expected_metadatas: ["WorkerB"]3996 is expected to contain exactly "WorkerB"3997 query: "worker_name!=WorkerA", expected_metadatas: ["WorkerA2", "WorkerB", "WorkerC"]3998 is expected to contain exactly "WorkerA2", "WorkerB", and "WorkerC"3999 query: "feature_category=category_a", expected_metadatas: ["WorkerA", "WorkerA2"]4000 is expected to contain exactly "WorkerA" and "WorkerA2"4001 query: "feature_category=category_a,category_c", expected_metadatas: ["WorkerA", "WorkerA2", "WorkerC"]4002 is expected to contain exactly "WorkerA", "WorkerA2", and "WorkerC"4003 query: "feature_category=category_a|feature_category=category_c", expected_metadatas: ["WorkerA", "WorkerA2", "WorkerC"]4004 is expected to contain exactly "WorkerA", "WorkerA2", and "WorkerC"4005 query: "feature_category!=category_a", expected_metadatas: ["WorkerB", "WorkerC"]4006 is expected to contain exactly "WorkerB" and "WorkerC"4007 query: "has_external_dependencies=true", expected_metadatas: ["WorkerB"]4008 is expected to contain exactly "WorkerB"4009 query: "has_external_dependencies=false", expected_metadatas: ["WorkerA", "WorkerA2", "WorkerC"]4010 is expected to contain exactly "WorkerA", "WorkerA2", and "WorkerC"4011 query: "has_external_dependencies=true,false", expected_metadatas: ["WorkerA", "WorkerA2", "WorkerB", "WorkerC"]4012 is expected to contain exactly "WorkerA", "WorkerA2", "WorkerB", and "WorkerC"4013 query: "has_external_dependencies=true|has_external_dependencies=false", expected_metadatas: ["WorkerA", "WorkerA2", "WorkerB", "WorkerC"]4014 is expected to contain exactly "WorkerA", "WorkerA2", "WorkerB", and "WorkerC"4015 query: "has_external_dependencies!=true", expected_metadatas: ["WorkerA", "WorkerA2", "WorkerC"]4016 is expected to contain exactly "WorkerA", "WorkerA2", and "WorkerC"4017 query: "urgency=high", expected_metadatas: ["WorkerA2", "WorkerB"]4018 is expected to contain exactly "WorkerA2" and "WorkerB"4019 query: "urgency=low", expected_metadatas: ["WorkerA"]4020 is expected to contain exactly "WorkerA"4021 query: "urgency=high,low,throttled", expected_metadatas: ["WorkerA", "WorkerA2", "WorkerB", "WorkerC"]4022 is expected to contain exactly "WorkerA", "WorkerA2", "WorkerB", and "WorkerC"4023 query: "urgency=low|urgency=throttled", expected_metadatas: ["WorkerA", "WorkerC"]4024 is expected to contain exactly "WorkerA" and "WorkerC"4025 query: "urgency!=high", expected_metadatas: ["WorkerA", "WorkerC"]4026 is expected to contain exactly "WorkerA" and "WorkerC"4027 query: "name=a", expected_metadatas: ["WorkerA"]4028 is expected to contain exactly "WorkerA"4029 query: "name=a,b", expected_metadatas: ["WorkerA", "WorkerB"]4030 is expected to contain exactly "WorkerA" and "WorkerB"4031 query: "name=a,a:2|name=b", expected_metadatas: ["WorkerA", "WorkerA2", "WorkerB"]4032 is expected to contain exactly "WorkerA", "WorkerA2", and "WorkerB"4033 query: "name!=a,a:2", expected_metadatas: ["WorkerB", "WorkerC"]4034 is expected to contain exactly "WorkerB" and "WorkerC"4035 query: "resource_boundary=memory", expected_metadatas: ["WorkerB", "WorkerC"]4036 is expected to contain exactly "WorkerB" and "WorkerC"4037 query: "resource_boundary=memory,cpu", expected_metadatas: ["WorkerA", "WorkerB", "WorkerC"]4038 is expected to contain exactly "WorkerA", "WorkerB", and "WorkerC"4039 query: "resource_boundary=memory|resource_boundary=cpu", expected_metadatas: ["WorkerA", "WorkerB", "WorkerC"]4040 is expected to contain exactly "WorkerA", "WorkerB", and "WorkerC"4041 query: "resource_boundary!=memory,cpu", expected_metadatas: ["WorkerA2"]4042 is expected to contain exactly "WorkerA2"4043 query: "tags=no_disk_io", expected_metadatas: ["WorkerA", "WorkerB"]4044 is expected to contain exactly "WorkerA" and "WorkerB"4045 query: "tags=no_disk_io,git_access", expected_metadatas: ["WorkerA", "WorkerA2", "WorkerB"]4046 is expected to contain exactly "WorkerA", "WorkerA2", and "WorkerB"4047 query: "tags=no_disk_io|tags=git_access", expected_metadatas: ["WorkerA", "WorkerA2", "WorkerB"]4048 is expected to contain exactly "WorkerA", "WorkerA2", and "WorkerB"4049 query: "tags=no_disk_io&tags=git_access", expected_metadatas: ["WorkerA"]4050 is expected to contain exactly "WorkerA"4051 query: "tags!=no_disk_io", expected_metadatas: ["WorkerA2", "WorkerC"]4052 is expected to contain exactly "WorkerA2" and "WorkerC"4053 query: "tags!=no_disk_io,git_access", expected_metadatas: ["WorkerC"]4054 is expected to contain exactly "WorkerC"4055 query: "tags=unknown_tag", expected_metadatas: []4056 is expected to contain exactly4057 query: "tags!=no_disk_io", expected_metadatas: ["WorkerA2", "WorkerC"]4058 is expected to contain exactly "WorkerA2" and "WorkerC"4059 query: "tags!=no_disk_io,git_access", expected_metadatas: ["WorkerC"]4060 is expected to contain exactly "WorkerC"4061 query: "tags!=unknown_tag", expected_metadatas: ["WorkerA", "WorkerA2", "WorkerB", "WorkerC"]4062 is expected to contain exactly "WorkerA", "WorkerA2", "WorkerB", and "WorkerC"4063 query: "feature_category=category_a&urgency=high", expected_metadatas: ["WorkerA2"]4064 is expected to contain exactly "WorkerA2"4065 query: "feature_category=category_a&urgency=high|feature_category=category_c", expected_metadatas: ["WorkerA2", "WorkerC"]4066 is expected to contain exactly "WorkerA2" and "WorkerC"4067 query: "*", expected_metadatas: ["WorkerA", "WorkerA2", "WorkerB", "WorkerC"]4068 is expected to contain exactly "WorkerA", "WorkerA2", "WorkerB", and "WorkerC"4069 with invalid input4070 query: "feature_category=\"category_a\"", error: Gitlab::SidekiqConfig::WorkerMatcher::InvalidTerm4071 is expected to raise Gitlab::SidekiqConfig::WorkerMatcher::InvalidTerm4072 query: "feature_category=", error: Gitlab::SidekiqConfig::WorkerMatcher::InvalidTerm4073 is expected to raise Gitlab::SidekiqConfig::WorkerMatcher::InvalidTerm4074 query: "feature_category~category_a", error: Gitlab::SidekiqConfig::WorkerMatcher::InvalidTerm4075 is expected to raise Gitlab::SidekiqConfig::WorkerMatcher::InvalidTerm4076 query: "invalid_term=a", error: Gitlab::SidekiqConfig::WorkerMatcher::UnknownPredicate4077 is expected to raise Gitlab::SidekiqConfig::WorkerMatcher::UnknownPredicate4078BranchesFinder4079 #execute4080 sort only4081 by name4082 sorts4083 by recently_updated4084 sorts4085 by last_updated4086 sorts4087 filter only4088 by name4089 filters branches4090 by name ignoring letter case4091 filters branches4092 with an unknown name4093 does not find any branch4094 by provided names4095 filters branches4096 by name that begins with4097 filters branches4098 by name that ends with4099 filters branches4100 by nonexistent name that begins with4101 filters branches4102 by nonexistent name that ends with4103 filters branches4104 filter and sort4105 by name and sorts by recently_updated4106 filters branches4107 by name and sorts by recently_updated, with exact matches first4108 filters branches4109 by name and sorts by last_updated4110 filters branches4111 with gitaly pagination4112 by page_token and per_page4113 filters branches4114 by next page_token and per_page4115 filters branches4116 by per_page only4117 filters branches4118 by page_token only4119 raises an error4120 pagination and sort4121 by per_page4122 filters branches4123 by page_token and per_page4124 filters branches4125 pagination and names4126 falls back to default execute and ignore paginations4127 pagination and search4128 falls back to default execute and ignore paginations4129 #total4130 is expected to be a kind of Integer4131 is expected to eq 734132Integrations::BaseChatNotification4133 validations4134 is expected to validate that :webhook cannot be empty/falsy4135 is expected to validate that :labels_to_be_notified_behavior is either ‹"match_any"› or ‹"match_all"›4136 #execute4137 with a repository4138 returns true4139 with an empty repository4140 returns true4141 with a project with name containing spaces4142 does not remove spaces4143 when the data object has a label4144 behaves like notifies the chat integration4145 is expected to receive notify(*(any args)) 1 time4146 with label filter4147 behaves like notifies the chat integration4148 is expected to receive notify(*(any args)) 1 time4149 MergeRequest events4150 behaves like notifies the chat integration4151 is expected to receive notify(*(any args)) 1 time4152 Issue events4153 behaves like notifies the chat integration4154 is expected to receive notify(*(any args)) 1 time4155 when labels_to_be_notified_behavior is not defined4156 no matching labels4157 behaves like does not notify the chat integration4158 is expected not to receive notify(*(any args)) 0 times4159 only one label matches4160 behaves like notifies the chat integration4161 is expected to receive notify(*(any args)) 1 time4162 when labels_to_be_notified_behavior is blank4163 no matching labels4164 behaves like does not notify the chat integration4165 is expected not to receive notify(*(any args)) 0 times4166 only one label matches4167 behaves like notifies the chat integration4168 is expected to receive notify(*(any args)) 1 time4169 when labels_to_be_notified_behavior is match_any4170 no label filter4171 behaves like notifies the chat integration4172 is expected to receive notify(*(any args)) 1 time4173 no matching labels4174 behaves like does not notify the chat integration4175 is expected not to receive notify(*(any args)) 0 times4176 only one label matches4177 behaves like notifies the chat integration4178 is expected to receive notify(*(any args)) 1 time4179 when labels_to_be_notified_behavior is match_all4180 no label filter4181 behaves like notifies the chat integration4182 is expected to receive notify(*(any args)) 1 time4183 no matching labels4184 behaves like does not notify the chat integration4185 is expected not to receive notify(*(any args)) 0 times4186 only one label matches4187 behaves like does not notify the chat integration4188 is expected not to receive notify(*(any args)) 0 times4189 labels matches exactly4190 behaves like notifies the chat integration4191 is expected to receive notify(*(any args)) 1 time4192 labels matches but object has more4193 behaves like notifies the chat integration4194 is expected to receive notify(*(any args)) 1 time4195 labels are distributed on multiple objects4196 behaves like does not notify the chat integration4197 is expected not to receive notify(*(any args)) 0 times4198 with "channel" property4199 empty string4200 does not include the channel4201 empty spaces4202 does not include the channel4203 with single channel specified4204 behaves like with channel specified4205 notifies all channels4206 with multiple channel names specified4207 behaves like with channel specified4208 notifies all channels4209 with multiple channel names with spaces specified4210 behaves like with channel specified4211 notifies all channels4212 #default_channel_placeholder4213 raises an error4214 #webhook_placeholder4215 raises an error4216 #event_channel_name4217 returns the channel field name for the given event4218 #event_channel_value4219 returns the channel field value for the given event4220 raises an error for unsupported events4221Gitlab::GithubImport::Client4222 #parallel?4223 returns true when the client is running in parallel mode4224 returns false when the client is running in sequential mode4225 #user4226 returns the details for the given username4227 #pull_request_reviews4228 returns the pull request reviews4229 #repository4230 returns the details of a repository4231 #pull_request4232 returns the details of a pull_request4233 #labels4234 returns the labels4235 #milestones4236 returns the milestones4237 #releases4238 returns the releases4239 #each_page4240 without a block4241 returns an Enumerator4242 the returned Enumerator returns Page objects4243 with a block4244 yields every retrieved page to the supplied block4245 starts at the given page4246 #with_rate_limit4247 yields the supplied block when enough requests remain4248 waits before yielding if not enough requests remain4249 waits and retries the operation if all requests were consumed in the supplied block4250 increments the request count counter4251 ignores rate limiting when disabled4252 when Faraday error received from octokit4253 when rate_limiting_enabled is true4254 retries on error and succeeds4255 retries and does not succeed4256 when rate_limiting_enabled is false4257 retries on error and succeeds4258 retries and does not succeed4259 #requests_remaining?4260 when default requests limit is set4261 returns true if enough requests remain4262 returns false if not enough requests remain4263 when search requests limit is set4264 returns true if enough requests remain4265 returns false if not enough requests remain4266 #raise_or_wait_for_rate_limit4267 raises RateLimitError when running in parallel mode4268 sleeps when running in sequential mode4269 increments the rate limit counter4270 #remaining_requests4271 returns the number of remaining requests4272 #requests_limit4273 returns requests limit4274 #rate_limit_resets_in4275 returns the number of seconds after which the rate limit is reset4276 #api_endpoint4277 without a custom endpoint configured in Omniauth4278 returns the default API endpoint4279 with a custom endpoint configured in Omniauth4280 returns the custom endpoint4281 #web_endpoint4282 without a custom endpoint configured in Omniauth4283 returns the default web endpoint4284 with a custom endpoint configured in Omniauth4285 returns the custom endpoint4286 #custom_api_endpoint4287 without a custom endpoint4288 returns nil4289 with a custom endpoint4290 returns the API endpoint4291 #default_api_endpoint4292 returns the default API endpoint4293 #verify_ssl4294 without a custom configuration4295 returns true4296 with a custom configuration4297 returns the configured value4298 #github_omniauth_provider4299 without a configured provider4300 returns an empty Hash4301 with a configured provider4302 returns the provider details as a Hash4303 #rate_limiting_enabled?4304 returns true when using GitHub.com4305 returns false for GitHub enterprise installations4306 search4307 #search_repos_by_name4308 searches for repositories based on name4309 when Faraday error received from octokit4310 retries on error and succeeds4311 retries and does not succeed4312 #search_query4313 returns base search query4314 when include_collaborations is true4315 returns search query including users4316 when include_orgs is true4317 returns search query including users4318Mutations::MergeRequests::SetDraft4319 is expected to require graphql authorizations :update_merge_request4320 #resolve4321 behaves like permission level for merge request mutation is correctly verified4322 when the user is not a project member4323 behaves like when the user does not have access to the resource4324 raises an error4325 even if assigned to the merge request4326 does not modify merge request4327 even if reviewer of the merge request4328 raises an error4329 even if author of the merge request4330 raises an error4331 when the user is a project member4332 with guest role4333 behaves like when the user does not have access to the resource4334 raises an error4335 even if assigned to the merge request4336 does not modify merge request4337 even if reviewer of the merge request4338 raises an error4339 even if author of the merge request4340 raises an error4341 with reporter role4342 behaves like when the user does not have access to the resource4343 raises an error4344 even if assigned to the merge request4345 does not modify merge request4346 even if reviewer of the merge request4347 raises an error4348 even if author of the merge request4349 raises an error4350 when the user can update the merge request4351 returns the merge request as a draft4352 returns errors if/when merge request could not be updated4353 when passing draft as false4354 removes `Draft` from the title4355 does not do anything if the title did not start with draft4356Projects::UpdatePagesService4357 fails if no artifacts4358 fails for invalid archive4359 for new artifacts4360 for a valid job4361 doesn't delete artifacts after deploying4362 succeeds4363 publishes a PageDeployedEvent event with project id and namespace id4364 creates pages_deployment and saves it in the metadata4365 does not fail if pages_metadata is absent4366 limits pages size4367 limits pages file count4368 when there is an old pages deployment4369 schedules a destruction of older deployments4370 removes older deployments4371 when archive does not have pages directory4372 returns an error4373 when timeout happens by DNS error4374 raises an error4375 when missing artifacts metadata4376 does not raise an error as failed job4377 with background jobs running4378 succeeds4379 when sha on branch was updated before deployment was uploaded4380 succeeds4381 when old deployment present4382 succeeds4383 when newer deployment present4384 fails4385 when uploaded deployment size is wrong4386 raises an error4387 when artifacts archive does not have sha2564388 fails with exception raised4389 maximum pages artifacts size4390 when maximum pages size is set to zero4391 behaves like pages size limit is4392 when size is below the limit4393 updates pages correctly4394 when size is above the limit4395 limits the maximum size of gitlab pages4396 when size is limited on the instance level4397 behaves like pages size limit is4398 when size is below the limit4399 updates pages correctly4400 when size is above the limit4401 limits the maximum size of gitlab pages4402 when retrying the job4403 marks older pages:deploy jobs retried4404Gitlab::GitalyClient4405 .query_time4406 increments query times4407 .long_timeout4408 default case4409 is expected to eq 6 hours4410 running in Puma4411 is expected to eq 554412 .filesystem_id_from_disk4413 catches errors4414 .filesystem_id4415 returns an empty string when the relevant storage status is not found in the response4416 when the relevant storage status is not found4417 .filesystem_disk_available4418 returns nil when the relevant storage status is not found in the response4419 .filesystem_disk_used4420 returns nil when the relevant storage status is not found in the response4421 when the relevant storage status is found4422 .filesystem_disk_available4423 returns disk available when the relevant storage status is found in the response4424 .filesystem_disk_used4425 returns disk used when the relevant storage status is found in the response4426 .stub_class4427 returns the gRPC health check stub4428 returns a Gitaly stub4429 .stub_address4430 returns the same result after being called multiple times4431 .stub_creds4432 returns :this_channel_is_insecure if unix4433 returns :this_channel_is_insecure if tcp4434 returns Credentials object if tls4435 .stub4436 when passed a UNIX socket address4437 passes the address as-is to GRPC4438 when passed a TLS address4439 strips tls:// prefix before passing it to GRPC::Core::Channel initializer4440 when passed a TCP address4441 strips tcp:// prefix before passing it to GRPC::Core::Channel initializer4442 .can_use_disk?4443 properly caches a false result4444 .connection_data4445 returns connection data4446 allow_n_plus_1_calls4447 when RequestStore is enabled4448 returns the result of the allow_n_plus_1_calls block4449 when RequestStore is not active4450 returns the result of the allow_n_plus_1_calls block4451 .request_kwargs4452 sets the gitaly-session-id in the metadata4453 when RequestStore is not enabled4454 sets a different gitaly-session-id per request4455 when RequestStore is enabled4456 sets the same gitaly-session-id on every outgoing request metadata4457 gitlab_git_env4458 when RequestStore is disabled4459 does not force-route to primary4460 when RequestStore is enabled without git_env4461 does not force-orute to primary4462 when RequestStore is enabled with empty git_env4463 disables force-routing to primary4464 when RequestStore is enabled with populated git_env4465 enables force-routing to primary4466 deadlines4467 includes the deadline information4468 limits the deadline do the request deadline if that is closer4469 does not limit calls in sidekiq4470 does not limit calls in sidekiq when allowed unlimited4471 includes only the deadline specified by the timeout when there was no deadline4472 enforce_gitaly_request_limits?4473 when RequestStore is enabled and the maximum number of calls is not enforced by a feature flag4474 allows up the maximum number of allowed calls4475 allows the maximum number of calls to be exceeded if GITALY_DISABLE_REQUEST_LIMITS is set4476 allows the maximum number of calls to be exceeded within an allow_n_plus_1_calls block4477 when the maximum number of calls has been reached4478 fails on the next call4479 when the maximum number of calls has been reached within an allow_n_plus_1_calls block4480 allows up to the maximum number of calls outside of an allow_n_plus_1_calls block4481 does not allow the maximum number of calls to be exceeded outside of an allow_n_plus_1_calls block4482 in production and when RequestStore is enabled4483 when the maximum number of calls is enforced by a feature flag4484 does not allow the maximum number of calls to be exceeded4485 when the maximum number of calls is not enforced by a feature flag4486 allows the maximum number of calls to be exceeded4487 when RequestStore is not active4488 does not raise errors when the maximum number of allowed calls is exceeded4489 does not fail when the maximum number of calls is exceeded within an allow_n_plus_1_calls block4490 get_request_count4491 when RequestStore is enabled4492 when enforce_gitaly_request_limits is called outside of allow_n_plus_1_calls blocks4493 counts gitaly calls4494 when enforce_gitaly_request_limits is called inside and outside of allow_n_plus_1_calls blocks4495 counts gitaly calls4496 when reset_counts is called4497 resets counts4498 when RequestStore is not active4499 returns zero4500 timeouts4501 with default values4502 returns expected values4503 Peek Performance bar details4504 when the request store is active4505 records call details if a RPC is called4506 when no request store is active4507 records nothing4508Gitlab::Database::QueryAnalyzers::PreventCrossDatabaseModification4509 context and suppress key names4510 .context_key4511 contains class name4512 .suppress_key4513 contains class name4514 when CI and other tables are read in a transaction4515 outside transaction4516 is expected not to raise Exception4517 within Project transaction4518 is expected not to raise Exception4519 within nested Project transaction4520 is expected not to raise Exception4521 outside transaction4522 is expected not to raise Exception4523 within Ci::Pipeline transaction4524 is expected not to raise Exception4525 within nested Ci::Pipeline transaction4526 is expected not to raise Exception4527 when only CI data is modified4528 outside transaction4529 is expected not to raise Exception4530 within Ci::Pipeline transaction4531 is expected not to raise Exception4532 within nested Ci::Pipeline transaction4533 is expected not to raise Exception4534 within Project transaction4535 raises error4536 when other data is modified4537 outside transaction4538 is expected not to raise Exception4539 within Project transaction4540 is expected not to raise Exception4541 within nested Project transaction4542 is expected not to raise Exception4543 within Ci::Pipeline transaction4544 raises error4545 when both CI and other data is modified4546 outside transaction4547 is expected not to raise Exception4548 when data modification happens in a transaction4549 raises error4550 when data modification happens in nested transactions4551 raises error4552 when comments are added to the front of query strings4553 raises error4554 when executing a SELECT FOR UPDATE query4555 outside transaction4556 is expected not to raise Exception4557 when data modification happens in a transaction4558 raises error4559 when the modification is inside a factory save! call4560 does not raise an error4561 when CI association is modified through project4562 outside transaction4563 is expected not to raise Exception4564 within Ci::Pipeline transaction4565 is expected not to raise Exception4566 within nested Ci::Pipeline transaction4567 is expected not to raise Exception4568 within Project transaction4569 raises error4570 .allow_cross_database_modification_within_transaction4571 skips raising error4572 skips raising error on factory creation4573 when some table with a defined schema and another table with undefined gitlab_schema is modified4574 raises an error including including message about undefined schema4575 when execution is rescued with StandardError4576 raises cross-database data modification exception4577 when uniquiness validation is tested4578 does not raise exceptions4579 when doing rollback in a suppressed block4580 does not raise misaligned transactions exception4581SnippetRepository4582 associations4583 is expected to belong to shard required: false4584 is expected to belong to snippet required: false4585 behaves like shardable scopes4586 .for_repository_storage4587 returns the objects for a given repository storage4588 .excluding_repository_storage4589 returns the objects excluding the given repository storage4590 .for_shard4591 returns the objects for a given shard4592 .find_snippet4593 finds snippet by disk path4594 returns nil when it does not find the snippet4595 #multi_files_action4596 returns nil when files argument is empty4597 returns nil when files argument is nil4598 performs the operation accordingly to the files data4599 tries to obtain an exclusive lease4600 cancels the lease when the method has finished4601 raises an error if the lease cannot be obtained4602 with commit actions4603 infers the commit action based on the parameters if not present4604 when commit actions are present4605 behaves like uses the expected action4606 is expected to receive multi_action(#<User id:1534 @user1099>, hash_including(:actions=>"array_including(hash_including(:action=>:foobar))")) 1 time4607 when action is a string4608 behaves like uses the expected action4609 is expected to receive multi_action(#<User id:1534 @user1099>, hash_including(:actions=>"array_including(hash_including(:action=>:foobar))")) 1 time4610 when move action does not include content4611 when action is not set4612 behaves like renames file and does not update content4613 is expected to eq "v6.8.0\n\nv6.7.0\n - Add support for Gemnasium as a Project Service (Olivier Gonzalez)\n - Add edi... redesign\n - stability\n - security fixes\n - increased test coverage\n - email notification\n"4614 when action is set4615 behaves like renames file and does not update content4616 is expected to eq "v6.8.0\n\nv6.7.0\n - Add support for Gemnasium as a Project Service (Olivier Gonzalez)\n - Add edi... redesign\n - stability\n - security fixes\n - increased test coverage\n - email notification\n"4617 when update action does not include content4618 when action is not set4619 behaves like does not commit anything4620 is expected to eq "b83d6e391c22777fca1ed3012fce84f633d7fed0"4621 when action is set4622 behaves like does not commit anything4623 is expected to eq "b83d6e391c22777fca1ed3012fce84f633d7fed0"4624 when existing file has a default name4625 reuses the existing file name4626 when file name consists of one or several whitespaces4627 assigns a new name to the file4628 when some files are not named4629 behaves like snippet repository with file names4630 sets a name for unnamed files4631 repository already has 10 unnamed snippets4632 behaves like snippet repository with file names4633 sets a name for unnamed files4634 with git errors4635 behaves like snippet repository with git errors4636 raises a path specific error4637 behaves like snippet repository with git errors4638 raises a path specific error4639 behaves like snippet repository with git errors4640 raises a path specific error4641 behaves like snippet repository with git errors4642 raises a path specific error4643 when user name is invalid4644 behaves like snippet repository with git errors4645 raises a path specific error4646 when user email is empty4647 behaves like snippet repository with git errors4648 raises a path specific error4649Projects::HashedStorage::MigrateAttachmentsService4650 #execute4651 works even when project validation fails4652 when succeeds4653 moves attachments to hashed storage layout4654 returns true4655 sets skipped to false4656 when original folder does not exist anymore4657 skips moving folders and go to next4658 returns true4659 sets skipped to true4660 when target folder already exists4661 succeed when target is empty4662 succeed when target include only discardable items4663 raises AttachmentCannotMoveError when there are non discardable items on target path4664 #old_disk_path4665 returns old disk_path for project4666 #new_disk_path4667 returns new disk_path for project4668 #target_path_discardable?4669 returns true when it include only items on the discardable list4670Gitlab::Search::RecentMergeRequests4671 behaves like search recent items4672 #log_view4673 adds the item to the recent items4674 removes an item when it exceeds the size items_limit4675 expires the items after expires_after4676 does not include results logged for another user4677 #search4678 matches partial text in the item title4679 returns results sorted by recently viewed4680 does not leak items you no longer have access to4681 limits results to 5 items4682Quality::TestLevel4683 TEST_LEVEL_FOLDERS constant4684 all directories it refers to exists4685 #pattern4686 when level is all4687 returns a pattern4688 when level is frontend_fixture4689 returns a pattern4690 when level is unit4691 returns a pattern4692 when level is migration4693 returns a pattern4694 when level is background_migration4695 returns a pattern4696 when level is integration4697 returns a pattern4698 when level is system4699 returns a pattern4700 with a prefix4701 returns a pattern4702 with several prefixes4703 returns a pattern4704 performance4705 memoizes the pattern for a given level4706 freezes the pattern for a given level4707 #regexp4708 when level is all4709 returns a regexp4710 when level is frontend_fixture4711 returns a regexp4712 when level is unit4713 returns a regexp4714 when level is migration4715 returns a regexp4716 when level is background_migration4717 returns a regexp4718 when level is integration4719 returns a regexp4720 when level is system4721 returns a regexp4722 with a prefix4723 returns a regexp4724 with several prefixes4725 returns a regexp4726 performance4727 memoizes the regexp for a given level4728 freezes the regexp for a given level4729 #level_for4730 returns the correct level for a unit test4731 returns the correct level for a frontend fixture test4732 returns the correct level for a tooling test4733 returns the correct level for a migration test4734 returns the correct level for a background migration test4735 returns the correct level for an EE file without passing a prefix4736 returns the correct level for a geo migration test4737 returns the correct level for a EE-namespaced background migration test4738 returns the correct level for an integration test4739 returns the correct level for an integration test in a subfolder4740 returns the correct level for a system test4741 raises an error for an unknown level4742 #background_migration?4743 returns false for a unit test4744 returns true for a migration test4745 returns true for a background migration test4746 returns true for a geo migration test4747 returns true for a EE-namespaced background migration test4748Ci::ResourceGroup4749 behaves like cleanup by a loose foreign key4750 cleans up (delete or nullify) the model4751 validation4752 valids when key includes allowed character4753 invalids when key includes invalid character4754 #ensure_resource4755 creates one resource when resource group is created4756 #assign_resource_to4757 retains resource for the processable4758 when there are no free resources4759 fails to retain resource4760 when the build has already retained a resource4761 fails to retain resource4762 #release_resource_from4763 when the build has already retained a resource4764 releases resource from the build4765 when the build has already released a resource4766 fails to release resource4767 #upcoming_processables4768 when process mode is unordered4769 returns correct jobs in an indeterministic order4770 when process mode is oldest_first4771 returns correct jobs in a specific order4772 when process mode is newest_first4773 returns correct jobs in a specific order4774 when process mode is unknown4775 returns empty4776Gitlab::Cache::Ci::ProjectPipelineStatus4777 .load_for_project4778 loads the status4779 loading in batches4780 .load_in_batch_for_projects4781 loads pipeline_status on projects4782 loads 10 projects without hitting Gitaly call limit4783 .update_for_pipeline4784 refreshes the cache if nescessary4785 #has_status?4786 is false when the status wasn't loaded yet4787 is true when all status information was loaded4788 #load_status4789 loads the status from the cache when there is one4790 loads the status from the project commit when there is no cache4791 stores the status in the cache when it loading it from the project4792 sets the state to loaded4793 only loads the status once4794 handles Gitaly unavailable exceptions gracefully4795 handles Gitaly timeout exceptions gracefully4796 gitaly call counts4797 not cached4798 makes a Gitaly call4799 cached4800 makes no Gitaly calls4801 #load_from_project4802 reads the status from the pipeline for the commit4803 doesn't fail for an empty project4804 #store_in_cache4805 sets the object in caching4806 #store_in_cache_if_needed4807 stores the state in the cache when the sha is the HEAD of the project4808 doesn't store the status in redis_cache when the sha is not the head of the project4809 deletes the cache if the repository doesn't have a head commit4810 with a status in caching4811 #load_from_cache4812 reads the status from redis_cache4813 when status is empty string4814 reads the status as nil4815 #has_cache?4816 knows the status is cached4817 #delete_from_cache4818 deletes values from redis_cache4819Ci::BuildTraceMetadata4820 is expected to belong to build required: false4821 is expected to belong to trace_artifact required: false4822 is expected to validate that :build cannot be empty/falsy4823 is expected to validate that :archival_attempts cannot be empty/falsy4824 #can_attempt_archival_now?4825 when archival_attempts is over the limit4826 is expected to be falsey4827 when last_archival_attempt_at is not set4828 is expected to be truthy4829 when last_archival_attempt_at is set4830 is expected to be truthy4831 when last_archival_attempt_at is too close4832 is expected to be falsey4833 #archival_attempts_available?4834 when archival_attempts is over the limit4835 is expected to be falsey4836 when archival_attempts is at the limit4837 is expected to be truthy4838 #increment_archival_attempts!4839 increments the attempts4840 updates the last_archival_attempt_at timestamp4841 #track_archival!4842 stores the artifact id and timestamp4843 .find_or_upsert_for!4844 creates a new record4845 with existing records4846 returns the existing record4847 #remote_checksum_valid?4848 checksum: nil, remote_checksum: nil, result: false4849 is expected to eq false4850 checksum: nil, remote_checksum: "a", result: false4851 is expected to eq false4852 checksum: "a", remote_checksum: nil, result: false4853 is expected to eq false4854 checksum: "a", remote_checksum: "b", result: false4855 is expected to eq false4856 checksum: "b", remote_checksum: "a", result: false4857 is expected to eq false4858 checksum: "a", remote_checksum: "a", result: true4859 is expected to eq true4860Gitlab::GithubImport::Importer::PullRequestsImporter4861 #parallel?4862 returns true when running in parallel mode4863 returns false when running in sequential mode4864 #execute4865 when running in parallel mode4866 imports pull requests in parallel4867 when running in sequential mode4868 imports pull requests in sequence4869 #sequential_import4870 imports each pull request in sequence4871 #parallel_import4872 imports each note in parallel4873 #each_object_to_import4874 yields every pull request to the supplied block4875 updates the repository if a pull request was updated after the last clone4876 #update_repository4877 updates the repository4878 #update_repository?4879 when the pull request was updated after the last update4880 returns true when the head SHA is not present4881 returns true when the base SHA is not present4882 returns false if both the head and base SHAs are present4883 when the pull request was updated before the last update4884 returns false4885 #commit_exists?4886 returns true when a commit exists4887 returns false when a commit does not exist4888 #id_for_already_imported_cache4889 returns the PR number of the given PR4890projects/commit/branches.html.haml4891 when branches and tags are available4892 shows default branch4893 shows js expand link4894 shows branch and tag links4895 when branches are available but no tags4896 shows branches4897 shows js expand link4898 shows limit exceeded message for tags4899 when tags are available but no branches (just default)4900 shows default branch4901 shows js expand link4902 shows tags4903 shows limit exceeded for branches4904 when branches and tags are not available4905 shows default branch4906 shows js expand link4907 shows too many to search4908Projects::GroupsFinder4909 #execute4910 Public project4911 behaves like finding related groups4912 returns ancestor groups for this project4913 when the project does not belong to any group4914 is expected to eq []4915 when shared groups option is on4916 returns ancestor and all shared groups4917 when shared_min_access_level is developer4918 returns ancestor and shared groups with at least developer access4919 when shared_visible_only is on4920 returns ancestor and public shared groups4921 when user has access to the private shared group4922 returns ancestor and shared groups user has access to4923 when skip group option is on4924 excludes provided groups4925 when user is not authorized4926 returns ancestor groups for this project4927 when visible shared groups are requested4928 returns ancestor groups and public shared groups for this project4929 Private project4930 behaves like finding related groups4931 returns ancestor groups for this project4932 when the project does not belong to any group4933 is expected to eq []4934 when shared groups option is on4935 returns ancestor and all shared groups4936 when shared_min_access_level is developer4937 returns ancestor and shared groups with at least developer access4938 when shared_visible_only is on4939 returns ancestor and public shared groups4940 when user has access to the private shared group4941 returns ancestor and shared groups user has access to4942 when skip group option is on4943 excludes provided groups4944 when user is not authorized4945 is expected to eq []4946 Missing project4947 is expected to eq []4948Load balancer behavior with errors inside a transaction4949WARNING: there is no transaction in progress4950 logs a warning when violating transaction semantics with writes4951 does not log a warning when no transaction is open to be leaked4952Gitlab::Database4953 EXTRA_SCHEMAS4954 contains only schemas starting with gitlab_ prefix4955 .default_pool_size4956 returns the max thread size plus a fixed headroom of 104957 returns the max thread size plus a DB_POOL_HEADROOM if this env var is present4958 .has_config?4959 two tier database config4960 returns false for primary4961 returns false for ci4962 three tier database config4963 returns true for primary4964 returns true for ci4965 returns false for non-existent4966 .check_for_non_superuser4967 prints user details if not superuser4968 raises an exception if superuser4969 catches exception if find_by fails4970 .check_postgres_version_and_print_warning4971 prints a warning if not compliant with minimum postgres version4972 doesnt print a warning if compliant with minimum postgres version4973 doesnt print a warning in Rails runner environment4974 ignores ActiveRecord errors4975 ignores Postgres errors4976 .db_config_for_connection4977 when the regular connection is used4978 returns db_config4979 when the connection is LoadBalancing::ConnectionProxy4980 returns primary db config even if ambiguous queries default to replica4981 when the pool is a NullPool4982 returns nil4983 .db_config_name4984 returns the db_config name for the connection4985 when replicas are configured4986 returns the name for a replica4987 .db_config_names4988 includes only main by default4989 excludes geo when that is included4990 .gitlab_schemas_for_connection4991 does return a valid schema depending on a base model used4992 does return gitlab_ci when a ActiveRecord::Base is using CI connection4993 does return empty for non-adopted connections4994 when there's CI connection4995 when CI uses database_tasks: false does indicate that ci: is subset of main:4996 does return gitlab_ci when accessing via main: connection4997 does not return gitlab_main when accessing via ci: connection4998 when CI uses database_tasks: true does indicate that ci: has own database4999 does not return gitlab_ci when accessing via main: connection5000 does not return gitlab_main when accessing via ci: connection5001 #true_value5002 returns correct value5003 #false_value5004 returns correct value5005 #sanitize_timestamp5006 with a timestamp smaller than MAX_TIMESTAMP_VALUE5007 returns the given timestamp5008 with a timestamp larger than MAX_TIMESTAMP_VALUE5009 returns MAX_TIMESTAMP_VALUE5010 .all_uncached5011 wraps the given block in uncached calls for each primary connection5012 .read_only?5013 returns false5014 .read_write5015 returns true5016 ActiveRecordBaseTransactionMetrics5017 without a transaction block5018 does not publish a transaction event5019 within a transaction block5020 publishes a transaction event5021 within an empty transaction block5022 publishes a transaction event5023 within a nested transaction block5024 publishes multiple transaction events5025 within a cancelled transaction block5026 publishes multiple transaction events5027Ci::CreatePipelineService5028 cache5029 with cache:key5030 uses the provided key5031 with cache:key:files5032 when file.lock exists5033 builds a cache key5034 when file.lock does not exist5035 uses default cache key5036 with cache:key:files and prefix5037 when file.lock exists5038 builds a cache key5039 when file.lock does not exist5040 uses default cache key5041 with too many files5042 has errors5043Gitlab::LegacyGithubImport::Importer5044 when importing a Gitea project5045 behaves like Gitlab::LegacyGithubImport::Importer#execute5046 calls import methods5047 behaves like Gitlab::LegacyGithubImport::Importer#execute an error occurs5048 returns true5049 does not raise an error5050 stores error messages5051 behaves like Gitlab::LegacyGithubImport unit-testing5052 #clean_up_restored_branches5053 when pull request stills open5054 does not remove branches5055 when pull request is closed5056 does remove branches5057 #client5058 instantiates a Client5059Gitlab::FileHook5060 with file_hooks present5061 .any?5062 returns true5063 .files?5064 returns a list of file_hooks5065 without any file_hooks5066 .any?5067 returns false5068 .files5069 returns an empty list5070 .execute5071 successful execution5072 is expected to equal true5073 is expected to be empty5074 ensures file_hook received data via stdin5075 non-executable5076 is expected to equal false5077 is expected to include "Permission denied"5078 non-zero exit5079 is expected to equal false5080 is expected to be empty5081Banzai::Pipeline::FullPipeline5082 References5083 handles markdown inside a reference5084 sanitizes reference HTML5085 escapes the data-original attribute on a reference5086 footnotes5087 properly adds the necessary ids and classes5088 links are detected as malicious5089 has tooltips for malicious links5090 has no tooltips for safe links5091 table of contents5092 with [[_TOC_]] as tag5093 behaves like table of contents tag5094 inserts a table of contents5095 does not insert a table of contents5096 with [toc] as tag5097 behaves like table of contents tag5098 inserts a table of contents5099 does not insert a table of contents5100 behaves like table of contents tag5101 inserts a table of contents5102 does not insert a table of contents5103 backslash escapes5104 does not convert an escaped reference5105 converts user reference with escaped underscore because of italics5106Atlassian::JiraConnect::Serializers::DeploymentEntity5107 when the deployment does not belong to any Jira issue5108 #issue_keys5109 is empty5110 #to_json5111 can encode the object5112 is invalid, since it has no issue keys5113 this is an external deployment5114 does not raise errors when serializing5115 returns an empty list of issue keys5116 environment type5117 tier: "other", env_type: "unmapped"5118 has the same type as the environment tier5119 when the deployment can be linked to a Jira issue5120 because it belongs to an MR with a jira_branch5121 #issue_keys5122 is not empty5123 #to_json5124 is valid according to the deployment info schema5125 because it belongs to an MR with a jira_title5126 #issue_keys5127 is not empty5128 #to_json5129 is valid according to the deployment info schema5130IncidentManagement::TimelineEvents::CreateService5131 #execute5132 successfully creates a database record5133 when current user is blank5134 behaves like error response5135 has an informative message5136 behaves like does not track incident management event5137 does not track the event5138 when user does not have permissions to create timeline events5139 behaves like error response5140 has an informative message5141 behaves like does not track incident management event5142 does not track the event5143 when error occurs during creation5144 behaves like error response5145 has an informative message5146 behaves like does not track incident management event5147 does not track the event5148 with default action5149 matches the default action5150 behaves like success response5151 has timeline event5152 behaves like an incident management tracked event5153 .track_event5154 tracks the event using redis5155 with non_default action5156 matches the action from arguments5157 behaves like success response5158 has timeline event5159 behaves like an incident management tracked event5160 .track_event5161 tracks the event using redis5162 with editable param5163 when editable is true5164 behaves like success response5165 has timeline event5166 behaves like an incident management tracked event5167 .track_event5168 tracks the event using redis5169 when editable is false5170 behaves like success response5171 has timeline event5172 behaves like an incident management tracked event5173 .track_event5174 tracks the event using redis5175 when incident_timeline feature flag is enabled5176 creates a system note5177 when incident_timeline feature flag is disabled5178 does not create a system note5179BulkImports::Common::Pipelines::MilestonesPipeline5180 group milestone5181 behaves like bulk_imports milestones pipeline5182 #run5183 imports milestones into destination5184 #load5185 when milestone is not persisted5186 saves the milestone5187 when milestone is missing5188 returns5189 project milestone5190 behaves like bulk_imports milestones pipeline5191DEPRECATION WARNING: `.reorder(nil)` with `.first` / `.first!` no longer takes non-deterministic result in Rails 6.2. To continue taking non-deterministic result, use `.take` / `.take!` instead. (called from block (4 levels) in <top (required)> at /builds/gitlab-org/gitlab/spec/lib/bulk_imports/common/pipelines/milestones_pipeline_spec.rb:134)5192 imports events5193 #run5194 imports milestones into destination5195 #load5196 when milestone is not persisted5197 saves the milestone5198 when milestone is missing5199 returns5200Banzai::ReferenceRedactor5201 #redact5202 when reference not visible to user5203 redacts an array of documents5204 replaces redacted reference with inner HTML5205 when data-original attribute provided5206 replaces redacted reference with original content5207 does not replace redacted reference with original content if href is given5208 uses the original content as the link content if given5209 when project is in pending delete5210 redacts an issue attached5211 redacts an external issue5212 when reference visible to user5213 does not redact an array of documents5214 when the user cannot read cross project5215 skips links to issues within the same project5216 removes info from a cross project reference5217 #redact_nodes5218 redacts an Array of nodes5219 #nodes_visible_to_user5220 returns a Set containing the visible nodes5221 handles invalid references gracefully5222PersonalSnippet5223 #embeddable?5224 returns true when snippet is public5225 returns true when snippet is public5226 returns true when snippet is public5227 behaves like model with repository5228 container class includes HasRepository5229 #commits_by5230 retrieves several commits from the repository by oid5231 #web_url5232 when given the only_path option5233 when only_path is false5234 returns the full web URL for this repo5235 when only_path is true5236 returns the relative web URL for this repo5237 when only_path is nil5238 returns the full web URL for this repo5239 when not given the only_path option5240 returns the full web URL for this repo5241 #url_to_repo5242 returns the SSH URL to the repository5243 #ssh_url_to_repo5244 returns the SSH URL to the repository5245 #http_url_to_repo5246 returns the HTTP URL to the repository5247 #repository5248 returns valid repo5249 uses the same container5250 #storage5251 returns valid storage5252 #full_path5253 returns valid full_path5254 #lfs_enabled?5255 returns the expected value5256 #empty_repo?5257 when the repo does not exist5258 returns true5259 when the repo exists5260 returns the empty state of the repository5261 #valid_repo?5262 is expected to equal false5263 is expected to equal true5264 #repository_exists?5265 is expected to equal false5266 is expected to equal true5267 #repo_exists?5268 is expected to equal false5269 is expected to equal true5270 #root_ref5271 is expected to equal true5272 is expected to equal false5273 is expected to equal false5274 Respond to5275 is expected to respond to #base_dir5276 is expected to respond to #disk_path5277 is expected to respond to #gitlab_shell5278 #change_head5279 delegates #change_head to repository5280 #after_repository_change_head5281 calls #reload_default_branch5282 #parent_user5283 returns the snippet author5284Notes::PostProcessService5285 #execute5286 is expected to receive execute_integrations(*(any args)) 1 time5287 with a confidential issue5288 doesn't call note hooks/integrations5289 calls confidential-note hooks/integrations5290 when the noteable is a design5291 when the note is the start of a new discussion5292 creates a new system note5293 when the note is a reply within a discussion5294 does not create a new system note5295Gitlab::Chat::Responder::Slack5296 #send_response5297 sends a response back to Slack5298 #success5299 returns the output for a successful build5300 limits the output to a fixed size5301 does not send a response if the output is empty5302 #failure5303 returns the output for a failed build5304 #scheduled_output5305 returns the output for a scheduled build5306Gitlab::Ci::Status::Build::FailedAllowed5307 #text5308 does not override status text5309 #icon5310 returns a warning icon5311 #label5312 returns information about failed but allowed to fail status5313 #group5314 returns status failed with warnings status group5315 action details5316 #has_action?5317 does not decorate action details5318 #action_path5319 does not decorate action path5320 #action_icon5321 does not decorate action icon5322 #action_title5323 does not decorate action title5324 #badge_tooltip5325 does override badge_tooltip5326 #status_tooltip5327 does override status_tooltip5328 .matches?5329 when build is failed5330 when build is allowed to fail5331 is a correct match5332 when build is not allowed to fail5333 is not a correct match5334 when build did not fail5335 when build is allowed to fail5336 is not a correct match5337 when build is not allowed to fail5338 is not a correct match5339Gitlab::ErrorTracking::Processor::SidekiqProcessor5340 .filter_arguments5341 returns a lazy enumerator5342 arguments filtering5343 klass: "UnknownWorker", expected: [1, "[FILTERED]", "[FILTERED]", "[FILTERED]"]5344 is expected to eq [1, "[FILTERED]", "[FILTERED]", "[FILTERED]"]5345 klass: "NoPermittedArguments", expected: [1, "[FILTERED]", "[FILTERED]", "[FILTERED]"]5346 is expected to eq [1, "[FILTERED]", "[FILTERED]", "[FILTERED]"]5347 klass: "OnePermittedArgument", expected: [1, "string", "[FILTERED]", "[FILTERED]"]5348 is expected to eq [1, "string", "[FILTERED]", "[FILTERED]"]5349 klass: "AllPermittedArguments", expected: [1, "string", [1, 2], {:a=>1}]5350 is expected to eq [1, "string", [1, 2], {:a=>1}]5351 .permitted_arguments_for_worker5352 returns the loggable_arguments for a worker class as a set5353 returns an empty set when the worker class does not exist5354 returns an empty set when the worker class does not respond to loggable_arguments5355 returns an empty set when loggable_arguments cannot be converted to a set5356 memoizes the results5357 .loggable_arguments5358 filters and limits the arguments, then converts to strings5359 .call5360 when there is Sidekiq data5361 when processing via the default error handler5362 with Raven events5363 for an unknown worker5364 only allows numeric arguments for an unknown worker5365 for a permitted worker5366 allows all argument types for a permitted worker5367 with Sentry events5368 for an unknown worker5369 only allows numeric arguments for an unknown worker5370 for a permitted worker5371 allows all argument types for a permitted worker5372 when processing via Gitlab::ErrorTracking5373 with Raven events5374 for an unknown worker5375 only allows numeric arguments for an unknown worker5376 for a permitted worker5377 allows all argument types for a permitted worker5378 with Sentry events5379 for an unknown worker5380 only allows numeric arguments for an unknown worker5381 for a permitted worker5382 allows all argument types for a permitted worker5383 with Raven events5384 behaves like handles jobstr fields5385 when a jobstr field is present5386 removes the jobstr5387 when no jobstr value is present5388 does nothing5389 with Sentry events5390 behaves like handles jobstr fields5391 when a jobstr field is present5392 removes the jobstr5393 when no jobstr value is present5394 does nothing5395 when there is no Sidekiq data5396 with Raven events5397 behaves like does nothing5398 does nothing5399 with Sentry events5400 behaves like does nothing5401 does nothing5402 when there is Sidekiq data but no job5403 with Raven events5404 behaves like does nothing5405 does nothing5406 with Sentry events5407 behaves like does nothing5408 does nothing5409Mutations::Ci::Runner::Delete5410 is expected to require graphql authorizations :delete_runner5411 #resolve5412 when the user cannot admin the runner5413 generates an error5414 with more than one associated project5415 raises an error5416 when required arguments are missing5417 raises an error5418 when user can delete owned runner5419 with one associated project5420 deletes runner5421 with more than one associated project5422 with user as admin5423 deletes runner5424 with user as project maintainer5425 raises error5426 when admin can delete runner5427 deletes runner5428Sidebars::Menu5429 #all_active_routes5430 gathers all active routes of items and the current menu5431 #render?5432 when the menus has no items5433 returns false5434 when menu has a partial5435 returns true5436 when the menu has items5437 returns true5438 when menu items are NilMenuItem5439 returns false5440 #has_items?5441 returns true when there are regular menu items5442 returns true when there are nil menu items5443 #has_renderable_items?5444 returns true when there are regular menu items5445 returns false when there are nil menu items5446 returns true when there are both regular and nil menu items5447 #renderable_items5448 returns only regular menu items5449 #insert_element_before5450 adds element before the specific element class5451 does not add nil elements5452 when reference element does not exist5453 adds the element to the top of the list5454 #insert_element_after5455 adds element after the specific element class5456 does not add nil elements5457 when reference element does not exist5458 adds the element to the end of the list5459 #remove_element5460 removes specific element5461 does not remove nil elements5462 #container_html_options5463 when menu can be rendered5464 when menu has renderable items5465 contains the special class5466 when menu already has other classes5467 appends special class5468 when menu does not have renderable items5469 does not contain the special class5470 when menu cannot be rendered5471 does not contain special class5472 #link5473 returns first visible menu item link5474 returns nil if there are no visible menu items5475Pages::ZipDirectoryService5476 returns true if ZIP64 is enabled5477 when work directory doesn't exist5478 returns success5479 when public directory is absent5480 returns success5481 when public directory is a symlink5482 returns success5483 when there is a public directory5484 creates the file next the public directory5485 includes public directory5486 returns number of entries5487 removes the old file if it exists5488 ignores other top level files and directories5489 includes index.html file5490 includes hidden file5491 includes nested directories and files5492 adds a valid symlink5493 includes raw symlink if it's target is a valid directory5494 when symlink points outside of public directory5495 raises error5496 when errors are ignored5497 does not create entry5498 when target of the symlink is absent5499 raises error5500 when errors are ignored5501 does not create entry5502 when targets itself5503 raises error5504 when errors are ignored5505 does not create entry5506 when symlink is absolute and points to outside of directory5507 raises error5508 when errors are ignored5509 does not create entry5510 when entry has unknown ftype5511 raises error5512 when errors are ignored5513 does not create entry5514 validating fixtures pages archives5515 fixture_path: "spec/fixtures/pages.zip"5516 a created archives contains exactly the same entries5517 fixture_path: "spec/fixtures/pages_non_writeable.zip"5518 a created archives contains exactly the same entries5519ClusterApplicationEntity5520 #as_json5521 has name5522 has status5523 has version5524 has no status_reason5525 has can_uninstall5526 non-helm application5527 has update_available5528 when application is errored5529 has corresponded data5530 for ingress application5531 includes external_ip5532 for knative application5533 includes available domains5534 includes pages_domain5535UploadedFile5536 from_params functions5537 .from_params5538 when valid file is specified5539 only local path is specified5540 is expected not to be nil5541 generates filename from path5542 all parameters are specified5543 with a filepath5544 behaves like using the file path5545 is expected not to be nil5546 sets properly the attributes5547 handles a blank path5548 with a remote id5549 behaves like using the remote id5550 is expected not to be nil5551 sets properly the attributes5552 with a path and a remote id5553 behaves like using the remote id5554 is expected not to be nil5555 sets properly the attributes5556 when no params are specified5557 does not return an object5558 when verifying allowed paths5559 when file is stored in system temporary folder5560 is expected not to be nil5561 when file is stored in user provided upload path5562 is expected not to be nil5563 when file is stored outside of user provided upload path5564 raises an error5565 .initialize5566 when no size is provided5567 determine size from local path5568 raises an exception if is a remote file5569 when size is a number5570 is overridden by the size of the local file5571 is respected if is a remote file5572 when size is a string5573 is converted to a number5574 raises an exception if does not represent a number5575 when upload_duration is not provided5576 sets upload_duration to zero5577 when upload_duration is provided5578 and upload_duration is a number5579 sets the upload_duration5580 and upload_duration is a string5581 and represents a number5582 converts upload_duration to a number5583 and does not represent a number5584 sets upload_duration to zero5585 #sanitize_filename5586 is expected to eq "spaced_name"5587 is expected to eq "_____"5588 is expected to eq "_.."5589 is expected to eq "unnamed"5590MemberTask5591 Associations5592 is expected to belong to member required: false5593 is expected to belong to project required: false5594 Validations5595 is expected to validate that :member cannot be empty/falsy5596 is expected to validate that :project cannot be empty/falsy5597 is expected to validate that :tasks is either ‹0›, ‹1›, or ‹2›5598 unique tasks validation5599 expects the task values to be unique5600 project validations5601 when the member source is a group5602 expects the project to be part of the member's group projects5603 when the project is part of the member's group projects5604 is expected to be valid5605 when the member source is a project5606 expects the project to be the member's project5607 when the project is the member's project5608 is expected to be valid5609 .for_members5610 returns the member_tasks for multiple members5611 #tasks_to_be_done5612 returns an array of symbols for the corresponding integers5613 #tasks_to_be_done=5614 when passing valid values5615 when passing tasks as strings5616 sets an array of integers for the corresponding tasks5617 when passing a single task5618 sets an array of integers for the corresponding tasks5619 when passing a task twice5620 is set only once5621Gitlab::MailRoom5622 #enabled_configs5623 when both email and address is set5624 returns email configs5625 when the yml file cannot be found5626 returns an empty list5627 when email is disabled5628 returns an empty list5629 when email is enabled but address is not set5630 returns an empty list5631 when a config value is missing from the yml file5632 overwrites missing values with the default5633 when only incoming_email config is present5634 returns only encoming_email5635 setting up redis settings5636 sets delivery method to Sidekiq by default5637 sets redis config5638 setting up the log path5639 if the log path is a relative path5640 expands the log path to an absolute value5641 if the log path is absolute path5642 leaves the path as-is5643 #enabled_mailbox_types5644 when all mailbox types are enabled5645 returns the mailbox types5646 when an mailbox_types is disabled5647 returns the mailbox types5648 when email is disabled5649 returns an empty array5650 #worker_for5651 matched mailbox types5652 returns the constantized worker class5653 non-existing mailbox_type5654 returns nil5655 config/mail_room.yml5656 when delivery_method is implicit5657 behaves like renders mail-specific config file correctly5658 renders mail room config file correctly5659 behaves like renders arbitration options correctly5660 renders arbitration options correctly5661 behaves like renders the sidekiq delivery method and options correctly5662 renders the sidekiq delivery method and options correctly5663 when delivery_method is explicitly sidekiq5664 behaves like renders mail-specific config file correctly5665 renders mail room config file correctly5666 behaves like renders arbitration options correctly5667 renders arbitration options correctly5668 behaves like renders the sidekiq delivery method and options correctly5669 renders the sidekiq delivery method and options correctly5670 when delivery_method is webhook (internally postback in mail_room)5671 renders the webhook (postback) delivery method and options correctly5672 behaves like renders mail-specific config file correctly5673 renders mail room config file correctly5674 behaves like renders arbitration options correctly5675 renders arbitration options correctly5676LfsObjectUploader5677 behaves like builds correct paths5678 #store_dir5679 behaves like matches the method pattern5680 is expected to match /\h{2}\/\h{2}/5681 #cache_dir5682 behaves like matches the method pattern5683 is expected to match /\/lfs-objects\/tmp\/cache/5684 #work_dir5685 behaves like matches the method pattern5686 is expected to match /\/lfs-objects\/tmp\/work/5687 #upload_path5688 behaves like matches the method pattern5689 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)5690 #relative_path5691 is relative (PENDING: Path not set, skipping.)5692 .absolute_path5693 behaves like matches the method pattern5694 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)5695 .base_dir5696 behaves like matches the method pattern5697 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)5698 path traversal exploits5699 throws an exception5700 object store is REMOTE5701 behaves like builds correct paths5702 #store_dir5703 behaves like matches the method pattern5704 is expected to match /\h{2}\/\h{2}/5705 #cache_dir5706 behaves like matches the method pattern5707 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)5708 #work_dir5709 behaves like matches the method pattern5710 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)5711 #upload_path5712 behaves like matches the method pattern5713 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)5714 #relative_path5715 is relative (PENDING: Path not set, skipping.)5716 .absolute_path5717 behaves like matches the method pattern5718 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)5719 .base_dir5720 behaves like matches the method pattern5721 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)5722 path traversal exploits5723 throws an exception5724 migration to object storage5725 with object storage disabled5726 is skipped5727 with object storage enabled5728 is scheduled to run after creation5729 remote file5730 with object storage enabled5731 can store file remotely5732InjectEnterpriseEditionModule5733 #prepend_mod_with5734 behaves like expand the extension with5735 when extension namespace is set at top-level5736 calls prepend with the extension module5737 when extension namespace is set at another namespace5738 calls prepend with the extension module from the additional namespace5739 when extension namespace exists but not the extension5740 does not call prepend5741 when extension namespace does not exist5742 does not call prepend5743 #extend_mod_with5744 behaves like expand the extension with5745 when extension namespace is set at top-level5746 calls extend with the extension module5747 when extension namespace is set at another namespace5748 calls extend with the extension module from the additional namespace5749 when extension namespace exists but not the extension5750 does not call extend5751 when extension namespace does not exist5752 does not call extend5753 #include_mod_with5754 behaves like expand the extension with5755 when extension namespace is set at top-level5756 calls include with the extension module5757 when extension namespace is set at another namespace5758 calls include with the extension module from the additional namespace5759 when extension namespace exists but not the extension5760 does not call include5761 when extension namespace does not exist5762 does not call include5763 #prepend_mod5764 behaves like expand the assumed extension with5765 when extension namespace is set at top-level5766 calls prepend with the extension module5767 when extension namespace exists but not the extension5768 does not call prepend5769 when extension namespace does not exist5770 does not call prepend5771 #extend_mod5772 behaves like expand the assumed extension with5773 when extension namespace is set at top-level5774 calls extend with the extension module5775 when extension namespace exists but not the extension5776 does not call extend5777 when extension namespace does not exist5778 does not call extend5779 #include_mod5780 behaves like expand the assumed extension with5781 when extension namespace is set at top-level5782 calls include with the extension module5783 when extension namespace exists but not the extension5784 does not call include5785 when extension namespace does not exist5786 does not call include5787Packages::Maven::Metadatum5788 relationships5789 is expected to belong to package required: false5790 validations5791 is expected to validate that :package cannot be empty/falsy5792 #app_name5793 is expected to allow :app_name to be ‹"my-app"›5794 is expected not to allow :app_name to be ‹"my/app"›5795 is expected not to allow :app_name to be ‹"my(app)"›5796 #app_group5797 is expected to allow :app_group to be ‹"my.domain.com"›5798 is expected not to allow :app_group to be ‹"my/domain/com"›5799 is expected not to allow :app_group to be ‹"my(domain)"›5800 #path5801 is expected to allow :path to be ‹"my/domain/com/my-app"›5802 is expected to allow :path to be ‹"my/domain/com/my-app/1.0-SNAPSHOT"›5803 is expected not to allow :path to be ‹"my(domain)com.my-app"›5804 #maven_package_type5805 will not allow a package with a different package_type5806 with a package5807 .for_package_ids5808 is expected to contain exactly #<Packages::Maven::Metadatum id: 45, package_id: 67, created_at: "2022-06-29 20:36:29.602006537 +0000...y.app", app_name: "my-app", app_version: "1.0-SNAPSHOT", path: "my/company/app/my-app/1.0-SNAPSHOT">, #<Packages::Maven::Metadatum id: 46, package_id: 67, created_at: "2022-06-29 20:36:29.607649667 +0000...y.app", app_name: "my-app", app_version: "1.0-SNAPSHOT", path: "my/company/app/my-app/1.0-SNAPSHOT">, and #<Packages::Maven::Metadatum id: 47, package_id: 67, created_at: "2022-06-29 20:36:29.611404486 +0000...y.app", app_name: "my-app", app_version: "1.0-SNAPSHOT", path: "my/company/app/my-app/1.0-SNAPSHOT">5809 .order_created5810 is expected to eq [#<Packages::Maven::Metadatum id: 48, package_id: 67, created_at: "2022-06-29 20:36:29.652299945 +000....app", app_name: "my-app", app_version: "1.0-SNAPSHOT", path: "my/company/app/my-app/1.0-SNAPSHOT">]5811 .pluck_app_name5812 is expected to contain exactly "one", "two", and "three"5813 .with_path5814 is expected to contain exactly #<Packages::Maven::Metadatum id: 56, package_id: 67, created_at: "2022-06-29 20:36:29.776591509 +0000...9 +0000", app_group: "my.company.app", app_name: "my-app", app_version: "1.0-SNAPSHOT", path: "two">5815Gitlab::Pagination::Keyset::ColumnOrderDefinition5816 #order_direction5817 inferring order_direction from order_expression5818 is expected to be ascending order5819 is expected not to be descending order5820 is expected to be descending order5821 is expected not to be ascending order5822 is expected to be ascending order5823 is expected not to be descending order5824 raises error when order direction cannot be infered5825 does not raise error when order direction is explicitly given5826 #column_expression5827 inferring column_expression from order_expression5828 infers the correct column expression5829 raises error when raw string is given as order expression5830 #reversed_order_expression5831 raises error when order cannot be reversed automatically5832 #reverse5833 is expected to eq #<Arel::Nodes::Descending:0x00007fd3f7e4f048 @expr=#<struct Arel::Attributes::Attribute relation=#<Ar..._message: string, project_namespace_id: integer, hidden: boolean)>, @table_alias=nil>, name="name">>5834 is expected to be descending order5835 is expected to eq #<Arel::Nodes::Descending:0x00007fd3f72c29f0 @expr=#<Arel::Nodes::NamedFunction:0x00007fd3edeab640 @e...lias=nil>, name="description">, "'No Description'"], @alias=nil, @distinct=false, @name="COALESCE">>5836 is expected to be descending order5837 when reversed_order_expression is given5838 uses the given expression5839 #nullable5840 when the column is nullable5841 requires the position of the null values in the result5842 reverses nullable correctly5843 raises error when invalid nullable value is given5844 raises error when the column is nullable and distinct5845 #order_direction_as_sql_string5846 is expected to eq "ASC"5847 is expected to eq "DESC"5848 is expected to eq "DESC"5849 is expected to eq "ASC"5850 is expected to eq "DESC NULLS LAST"5851 is expected to eq "ASC NULLS FIRST"5852Sidebars::Projects::Menus::AnalyticsMenu5853 #render?5854 whe user cannot read analytics5855 returns false5856 whe user can read analytics5857 returns true5858 when menu does not have any menu items5859 returns false5860 when menu has menu items5861 returns true5862 #link5863 returns link to the value stream page5864 when Value Stream is not visible5865 returns link to the the first visible menu item5866 Menu items5867 CI/CD5868 is expected not to be nil5869 when the project repository is empty5870 is expected to be nil5871 when builds access level is DISABLED5872 is expected to be nil5873 when the user does not have access5874 is expected to be nil5875 Repository5876 is expected not to be nil5877 when the project repository is empty5878 is expected to be nil5879 when a user does not have access to repository graphs5880 is expected to be nil5881 when the user does not have access5882 is expected to be nil5883 Value Stream5884 is expected not to be nil5885 when the user does not have access5886 is expected to be nil5887GrafanaIntegration5888 associations5889 is expected to belong to project required: false5890 validations5891 is expected to validate that :project cannot be empty/falsy5892 is expected to validate that :encrypted_token cannot be empty/falsy5893 disallows invalid urls for grafana_url5894 allows valid urls for grafana_url5895 disallows non-booleans in enabled column5896 allows booleans in enabled column5897 .client5898 with grafana integration disabled5899 returns a grafana client5900 with grafana integration enabled5901 returns nil5902 attribute encryption5903 token5904 encrypts original value into encrypted_token attribute5905 locks access to raw value in private method5906 prevents overriding token value with its encrypted or masked version5907Resolvers::GroupPackagesResolver5908 #resolve5909 behaves like group and projects packages resolver5910 without sort5911 returns the proper packages (FAILED - 1)59131st Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:7:5914expected collection contained: [#<Packages::Package id: 68, project_id: 915, created_at: "2022-06-29 20:36:36.959108971 +0000", upda.../app/my-app", version: "1.24-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">]5915actual collection contained: []5916the missing elements were: [#<Packages::Package id: 68, project_id: 915, created_at: "2022-06-29 20:36:36.959108971 +0000", upda.../app/my-app", version: "1.24-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">]5918RSpec::Retry: 2nd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:759202nd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:7:5921expected collection contained: [#<Packages::Package id: 68, project_id: 915, created_at: "2022-06-29 20:36:36.959108971 +0000", upda.../app/my-app", version: "1.24-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">]5922actual collection contained: []5923the missing elements were: [#<Packages::Package id: 68, project_id: 915, created_at: "2022-06-29 20:36:36.959108971 +0000", upda.../app/my-app", version: "1.24-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">]5924 RSpec::Retry: 3rd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:759263rd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:7:5927expected collection contained: [#<Packages::Package id: 68, project_id: 915, created_at: "2022-06-29 20:36:36.959108971 +0000", upda.../app/my-app", version: "1.24-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">]5928actual collection contained: []5929the missing elements were: [#<Packages::Package id: 68, project_id: 915, created_at: "2022-06-29 20:36:36.959108971 +0000", upda.../app/my-app", version: "1.24-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">]5930 RSpec::Retry: 4th try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:75931 with sorting and filtering5932 CREATED_DESC5933 is expected to eq [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">] (FAILED - 2)59351st Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:31:5936expected: [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]5937 got: []5938(compared using ==)5939Diff:5940@@ -1,3 +1,2 @@5941-[#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">,5942- #<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]5943+[]5945RSpec::Retry: 2nd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:3159472nd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:31:5948expected: [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]5949 got: []5950(compared using ==)5951Diff:5952@@ -1,3 +1,2 @@5953-[#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">,5954- #<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]5955+[]5956 RSpec::Retry: 3rd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:3159583rd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:31:5959expected: [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]5960 got: []5961(compared using ==)5962Diff:5963@@ -1,3 +1,2 @@5964-[#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">,5965- #<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]5966+[]5967 RSpec::Retry: 4th try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:315968 NAME_DESC5969 is expected to eq [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">] (FAILED - 3)59711st Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:31:5972expected: [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]5973 got: []5974(compared using ==)5975Diff:5976@@ -1,3 +1,2 @@5977-[#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">,5978- #<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]5979+[]5981RSpec::Retry: 2nd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:3159832nd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:31:5984expected: [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]5985 got: []5986(compared using ==)5987Diff:5988@@ -1,3 +1,2 @@5989-[#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">,5990- #<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]5991+[]5992 RSpec::Retry: 3rd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:3159943rd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:31:5995expected: [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]5996 got: []5997(compared using ==)5998Diff:5999@@ -1,3 +1,2 @@6000-[#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">,6001- #<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6002+[]6003 RSpec::Retry: 4th try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:316004 VERSION_DESC6005 is expected to eq [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">] (FAILED - 4)60071st Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:31:6008expected: [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6009 got: []6010(compared using ==)6011Diff:6012@@ -1,3 +1,2 @@6013-[#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">,6014- #<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6015+[]6017RSpec::Retry: 2nd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:3160192nd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:31:6020expected: [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6021 got: []6022(compared using ==)6023Diff:6024@@ -1,3 +1,2 @@6025-[#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">,6026- #<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6027+[]6028 RSpec::Retry: 3rd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:3160303rd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:31:6031expected: [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6032 got: []6033(compared using ==)6034Diff:6035@@ -1,3 +1,2 @@6036-[#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">,6037- #<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6038+[]6039 RSpec::Retry: 4th try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:316040 TYPE_ASC6041 is expected to eq [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">] (FAILED - 5)60431st Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:31:6044expected: [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6045 got: []6046(compared using ==)6047Diff:6048@@ -1,3 +1,2 @@6049-[#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">,6050- #<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6051+[]6053RSpec::Retry: 2nd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:3160552nd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:31:6056expected: [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6057 got: []6058(compared using ==)6059Diff:6060@@ -1,3 +1,2 @@6061-[#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">,6062- #<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6063+[]6064 RSpec::Retry: 3rd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:3160663rd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:31:6067expected: [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6068 got: []6069(compared using ==)6070Diff:6071@@ -1,3 +1,2 @@6072-[#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">,6073- #<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6074+[]6075 RSpec::Retry: 4th try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:316076 CREATED_ASC6077 is expected to eq [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">] (FAILED - 6)60791st Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:39:6080expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6081 got: []6082(compared using ==)6083Diff:6084@@ -1,3 +1,2 @@6085-[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">,6086- #<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6087+[]6089RSpec::Retry: 2nd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:3960912nd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:39:6092expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6093 got: []6094(compared using ==)6095Diff:6096@@ -1,3 +1,2 @@6097-[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">,6098- #<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6099+[]6100 RSpec::Retry: 3rd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:3961023rd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:39:6103expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6104 got: []6105(compared using ==)6106Diff:6107@@ -1,3 +1,2 @@6108-[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">,6109- #<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6110+[]6111 RSpec::Retry: 4th try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:396112 NAME_ASC6113 is expected to eq [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">] (FAILED - 7)61151st Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:39:6116expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6117 got: []6118(compared using ==)6119Diff:6120@@ -1,3 +1,2 @@6121-[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">,6122- #<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6123+[]6125RSpec::Retry: 2nd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:3961272nd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:39:6128expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6129 got: []6130(compared using ==)6131Diff:6132@@ -1,3 +1,2 @@6133-[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">,6134- #<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6135+[]6136 RSpec::Retry: 3rd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:3961383rd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:39:6139expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6140 got: []6141(compared using ==)6142Diff:6143@@ -1,3 +1,2 @@6144-[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">,6145- #<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6146+[]6147 RSpec::Retry: 4th try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:396148 VERSION_ASC6149 is expected to eq [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">] (FAILED - 8)61511st Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:39:6152expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6153 got: []6154(compared using ==)6155Diff:6156@@ -1,3 +1,2 @@6157-[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">,6158- #<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6159+[]6161RSpec::Retry: 2nd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:3961632nd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:39:6164expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6165 got: []6166(compared using ==)6167Diff:6168@@ -1,3 +1,2 @@6169-[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">,6170- #<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6171+[]6172 RSpec::Retry: 3rd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:3961743rd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:39:6175expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6176 got: []6177(compared using ==)6178Diff:6179@@ -1,3 +1,2 @@6180-[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">,6181- #<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6182+[]6183 RSpec::Retry: 4th try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:396184 TYPE_DESC6185 is expected to eq [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">] (FAILED - 9)61871st Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:39:6188expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6189 got: []6190(compared using ==)6191Diff:6192@@ -1,3 +1,2 @@6193-[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">,6194- #<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6195+[]6197RSpec::Retry: 2nd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:3961992nd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:39:6200expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6201 got: []6202(compared using ==)6203Diff:6204@@ -1,3 +1,2 @@6205-[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">,6206- #<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6207+[]6208 RSpec::Retry: 3rd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:3962103rd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:39:6211expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6212 got: []6213(compared using ==)6214Diff:6215@@ -1,3 +1,2 @@6216-[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">,6217- #<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6218+[]6219 RSpec::Retry: 4th try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:396220 filter by package_name6221 is expected to eq [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">] (FAILED - 10)62231st Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:46:6224expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6225 got: []6226(compared using ==)6227Diff:6228@@ -1 +1 @@6229-[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6230+[]6232RSpec::Retry: 2nd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:4662342nd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:46:6235expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6236 got: []6237(compared using ==)6238Diff:6239@@ -1 +1 @@6240-[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6241+[]6242 RSpec::Retry: 3rd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:4662443rd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:46:6245expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6246 got: []6247(compared using ==)6248Diff:6249@@ -1 +1 @@6250-[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6251+[]6252 RSpec::Retry: 4th try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:466253 filter by package_type6254 is expected to eq [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">] (FAILED - 11)62561st Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:52:6257expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6258 got: []6259(compared using ==)6260Diff:6261@@ -1 +1 @@6262-[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6263+[]6265RSpec::Retry: 2nd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:5262672nd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:52:6268expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6269 got: []6270(compared using ==)6271Diff:6272@@ -1 +1 @@6273-[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6274+[]6275 RSpec::Retry: 3rd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:5262773rd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:52:6278expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6279 got: []6280(compared using ==)6281Diff:6282@@ -1 +1 @@6283-[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]6284+[]6285 RSpec::Retry: 4th try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:526286 filter by status6287 is expected to eq [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">] (FAILED - 12)62891st Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:58:6290expected: [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6291 got: []6292(compared using ==)6293Diff:6294@@ -1 +1 @@6295-[#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6296+[]6298RSpec::Retry: 2nd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:5863002nd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:58:6301expected: [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6302 got: []6303(compared using ==)6304Diff:6305@@ -1 +1 @@6306-[#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6307+[]6308 RSpec::Retry: 3rd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:5863103rd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:58:6311expected: [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6312 got: []6313(compared using ==)6314Diff:6315@@ -1 +1 @@6316-[#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]6317+[]6318 RSpec::Retry: 4th try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:586319 include_versionless6320 is expected to include #<Packages::Package id: 74, project_id: 915, created_at: "2022-06-29 20:35:38.538926160 +0000", updat...66449 +0000", name: "baz", version: nil, package_type: "maven", creator_id: 1802, status: "default"> (FAILED - 13)63221st Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:64:6323expected [] to include #<Packages::Package id: 74, project_id: 915, created_at: "2022-06-29 20:35:38.538926160 +0000", updat...66449 +0000", name: "baz", version: nil, package_type: "maven", creator_id: 1802, status: "default">6324Diff:6325@@ -1 +1 @@6326-[#<Packages::Package id: 74, project_id: 915, created_at: "2022-06-29 20:35:38.538926160 +0000", updated_at: "2022-06-29 20:36:38.951266449 +0000", name: "baz", version: nil, package_type: "maven", creator_id: 1802, status: "default">]6327+[]6329RSpec::Retry: 2nd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:6463312nd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:64:6332expected [] to include #<Packages::Package id: 74, project_id: 915, created_at: "2022-06-29 20:35:38.538926160 +0000", updat...66449 +0000", name: "baz", version: nil, package_type: "maven", creator_id: 1802, status: "default">6333Diff:6334@@ -1 +1 @@6335-[#<Packages::Package id: 74, project_id: 915, created_at: "2022-06-29 20:35:38.538926160 +0000", updated_at: "2022-06-29 20:36:38.951266449 +0000", name: "baz", version: nil, package_type: "maven", creator_id: 1802, status: "default">]6336+[]6337 RSpec::Retry: 3rd try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:6463393rd Try error in ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:64:6340expected [] to include #<Packages::Package id: 74, project_id: 915, created_at: "2022-06-29 20:35:38.538926160 +0000", updat...66449 +0000", name: "baz", version: nil, package_type: "maven", creator_id: 1802, status: "default">6341Diff:6342@@ -1 +1 @@6343-[#<Packages::Package id: 74, project_id: 915, created_at: "2022-06-29 20:35:38.538926160 +0000", updated_at: "2022-06-29 20:36:38.951266449 +0000", name: "baz", version: nil, package_type: "maven", creator_id: 1802, status: "default">]6344+[]6345 RSpec::Retry: 4th try ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:646346 project_path sorting6347 filter by package_name6348 is expected to eq [#<Packages::Package id: 78, project_id: 919, created_at: "2022-06-29 20:36:42.937286935 +0000", upda.../app/my-app", version: "1.27-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">] (FAILED - 14)63501st Try error in ./spec/graphql/resolvers/group_packages_resolver_spec.rb:32:6351expected: [#<Packages::Package id: 78, project_id: 919, created_at: "2022-06-29 20:36:42.937286935 +0000", upda.../app/my-app", version: "1.27-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">]6352 got: []6353(compared using ==)6354Diff:6355@@ -1,5 +1,2 @@6356-[#<Packages::Package id: 78, project_id: 919, created_at: "2022-06-29 20:36:42.937286935 +0000", updated_at: "2022-06-29 20:36:42.937286935 +0000", name: "my/company/app/my-app", version: "1.30-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">,6357- #<Packages::Package id: 76, project_id: 919, created_at: "2022-06-29 20:36:42.913949076 +0000", updated_at: "2022-06-29 20:36:42.913949076 +0000", name: "my/company/app/my-app", version: "1.28-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">,6358- #<Packages::Package id: 77, project_id: 915, created_at: "2022-06-29 20:36:42.926201985 +0000", updated_at: "2022-06-29 20:36:42.926201985 +0000", name: "my/company/app/my-app", version: "1.29-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">,6359- #<Packages::Package id: 75, project_id: 915, created_at: "2022-06-29 20:36:42.901997486 +0000", updated_at: "2022-06-29 20:36:42.901997486 +0000", name: "my/company/app/my-app", version: "1.27-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">]6360+[]6362RSpec::Retry: 2nd try ./spec/graphql/resolvers/group_packages_resolver_spec.rb:3263642nd Try error in ./spec/graphql/resolvers/group_packages_resolver_spec.rb:32:6365expected: [#<Packages::Package id: 78, project_id: 919, created_at: "2022-06-29 20:36:42.937286935 +0000", upda.../app/my-app", version: "1.27-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">]6366 got: []6367(compared using ==)6368Diff:6369@@ -1,5 +1,2 @@6370-[#<Packages::Package id: 78, project_id: 919, created_at: "2022-06-29 20:36:42.937286935 +0000", updated_at: "2022-06-29 20:36:42.937286935 +0000", name: "my/company/app/my-app", version: "1.30-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">,6371- #<Packages::Package id: 76, project_id: 919, created_at: "2022-06-29 20:36:42.913949076 +0000", updated_at: "2022-06-29 20:36:42.913949076 +0000", name: "my/company/app/my-app", version: "1.28-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">,6372- #<Packages::Package id: 77, project_id: 915, created_at: "2022-06-29 20:36:42.926201985 +0000", updated_at: "2022-06-29 20:36:42.926201985 +0000", name: "my/company/app/my-app", version: "1.29-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">,6373- #<Packages::Package id: 75, project_id: 915, created_at: "2022-06-29 20:36:42.901997486 +0000", updated_at: "2022-06-29 20:36:42.901997486 +0000", name: "my/company/app/my-app", version: "1.27-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">]6374+[]6375 RSpec::Retry: 3rd try ./spec/graphql/resolvers/group_packages_resolver_spec.rb:3263773rd Try error in ./spec/graphql/resolvers/group_packages_resolver_spec.rb:32:6378expected: [#<Packages::Package id: 78, project_id: 919, created_at: "2022-06-29 20:36:42.937286935 +0000", upda.../app/my-app", version: "1.27-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">]6379 got: []6380(compared using ==)6381Diff:6382@@ -1,5 +1,2 @@6383-[#<Packages::Package id: 78, project_id: 919, created_at: "2022-06-29 20:36:42.937286935 +0000", updated_at: "2022-06-29 20:36:42.937286935 +0000", name: "my/company/app/my-app", version: "1.30-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">,6384- #<Packages::Package id: 76, project_id: 919, created_at: "2022-06-29 20:36:42.913949076 +0000", updated_at: "2022-06-29 20:36:42.913949076 +0000", name: "my/company/app/my-app", version: "1.28-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">,6385- #<Packages::Package id: 77, project_id: 915, created_at: "2022-06-29 20:36:42.926201985 +0000", updated_at: "2022-06-29 20:36:42.926201985 +0000", name: "my/company/app/my-app", version: "1.29-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">,6386- #<Packages::Package id: 75, project_id: 915, created_at: "2022-06-29 20:36:42.901997486 +0000", updated_at: "2022-06-29 20:36:42.901997486 +0000", name: "my/company/app/my-app", version: "1.27-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">]6387+[]6388 RSpec::Retry: 4th try ./spec/graphql/resolvers/group_packages_resolver_spec.rb:326389 filter by package_type6390 is expected to eq [#<Packages::Package id: 75, project_id: 915, created_at: "2022-06-29 20:36:42.901997486 +0000", upda.../app/my-app", version: "1.30-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">] (FAILED - 15)63921st Try error in ./spec/graphql/resolvers/group_packages_resolver_spec.rb:38:6393expected: [#<Packages::Package id: 75, project_id: 915, created_at: "2022-06-29 20:36:42.901997486 +0000", upda.../app/my-app", version: "1.30-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">]6394 got: []6395(compared using ==)6396Diff:6397@@ -1,5 +1,2 @@6398-[#<Packages::Package id: 75, project_id: 915, created_at: "2022-06-29 20:36:42.901997486 +0000", updated_at: "2022-06-29 20:36:42.901997486 +0000", name: "my/company/app/my-app", version: "1.27-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">,6399- #<Packages::Package id: 77, project_id: 915, created_at: "2022-06-29 20:36:42.926201985 +0000", updated_at: "2022-06-29 20:36:42.926201985 +0000", name: "my/company/app/my-app", version: "1.29-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">,6400- #<Packages::Package id: 76, project_id: 919, created_at: "2022-06-29 20:36:42.913949076 +0000", updated_at: "2022-06-29 20:36:42.913949076 +0000", name: "my/company/app/my-app", version: "1.28-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">,6401- #<Packages::Package id: 78, project_id: 919, created_at: "2022-06-29 20:36:42.937286935 +0000", updated_at: "2022-06-29 20:36:42.937286935 +0000", name: "my/company/app/my-app", version: "1.30-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">]6402+[]6404RSpec::Retry: 2nd try ./spec/graphql/resolvers/group_packages_resolver_spec.rb:3864062nd Try error in ./spec/graphql/resolvers/group_packages_resolver_spec.rb:38:6407expected: [#<Packages::Package id: 75, project_id: 915, created_at: "2022-06-29 20:36:42.901997486 +0000", upda.../app/my-app", version: "1.30-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">]6408 got: []6409(compared using ==)6410Diff:6411@@ -1,5 +1,2 @@6412-[#<Packages::Package id: 75, project_id: 915, created_at: "2022-06-29 20:36:42.901997486 +0000", updated_at: "2022-06-29 20:36:42.901997486 +0000", name: "my/company/app/my-app", version: "1.27-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">,6413- #<Packages::Package id: 77, project_id: 915, created_at: "2022-06-29 20:36:42.926201985 +0000", updated_at: "2022-06-29 20:36:42.926201985 +0000", name: "my/company/app/my-app", version: "1.29-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">,6414- #<Packages::Package id: 76, project_id: 919, created_at: "2022-06-29 20:36:42.913949076 +0000", updated_at: "2022-06-29 20:36:42.913949076 +0000", name: "my/company/app/my-app", version: "1.28-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">,6415- #<Packages::Package id: 78, project_id: 919, created_at: "2022-06-29 20:36:42.937286935 +0000", updated_at: "2022-06-29 20:36:42.937286935 +0000", name: "my/company/app/my-app", version: "1.30-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">]6416+[]6417 RSpec::Retry: 3rd try ./spec/graphql/resolvers/group_packages_resolver_spec.rb:3864193rd Try error in ./spec/graphql/resolvers/group_packages_resolver_spec.rb:38:6420expected: [#<Packages::Package id: 75, project_id: 915, created_at: "2022-06-29 20:36:42.901997486 +0000", upda.../app/my-app", version: "1.30-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">]6421 got: []6422(compared using ==)6423Diff:6424@@ -1,5 +1,2 @@6425-[#<Packages::Package id: 75, project_id: 915, created_at: "2022-06-29 20:36:42.901997486 +0000", updated_at: "2022-06-29 20:36:42.901997486 +0000", name: "my/company/app/my-app", version: "1.27-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">,6426- #<Packages::Package id: 77, project_id: 915, created_at: "2022-06-29 20:36:42.926201985 +0000", updated_at: "2022-06-29 20:36:42.926201985 +0000", name: "my/company/app/my-app", version: "1.29-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">,6427- #<Packages::Package id: 76, project_id: 919, created_at: "2022-06-29 20:36:42.913949076 +0000", updated_at: "2022-06-29 20:36:42.913949076 +0000", name: "my/company/app/my-app", version: "1.28-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">,6428- #<Packages::Package id: 78, project_id: 919, created_at: "2022-06-29 20:36:42.937286935 +0000", updated_at: "2022-06-29 20:36:42.937286935 +0000", name: "my/company/app/my-app", version: "1.30-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">]6429+[]6430 RSpec::Retry: 4th try ./spec/graphql/resolvers/group_packages_resolver_spec.rb:386431Gitlab::Suggestions::FileSuggestion6432 #line_conflict6433 when line ranges do not overlap6434 return false6435 when line ranges are identical6436 returns true6437 when one range starts, and the other ends, on the same line6438 returns true6439 when one line range contains the other6440 returns true6441 when line ranges overlap6442 returns true6443 when no suggestions have been added6444 returns false6445 #new_content6446 with two suggestions6447 returns a blob with the suggestions applied to it6448 when no suggestions have been added6449 returns an empty string6450 with multiline suggestions6451 when the previous suggestion increases the line count6452 returns a blob with the suggestions applied to it6453 when the previous suggestion decreases and increases the line count6454 returns a blob with the suggestions applied to it6455 when the previous suggestion replaces with the same number of lines6456 returns a blob with the suggestions applied to it6457 when the previous suggestion replaces multiple lines and the suggestions were applied out of order6458 returns a blob with the suggestions applied to it6459Projects::GitlabProjectsImportService6460 #execute6461 behaves like gitlab projects import validations6462 with an invalid path6463 returns an invalid project6464 with a valid path6465 creates a project6466 override params6467 stores them as import data when passed6468 when there is a project with the same path6469 does not create the project6470 when overwrite param is set6471 creates a project in a temporary full_path6472PersonalProjectsFinder6473 without a current user6474 is expected to eq [#<Project id:926 user1240/pblc>>]6475 with a current user6476 normal user6477 is expected to contain exactly #<Project id:930 user1240/pblc>>, #<Project id:932 user1240/C>>, and #<Project id:931 user1240/mepmep>>6478 external6479 is expected to contain exactly #<Project id:934 user1240/pblc>> and #<Project id:935 user1240/mepmep>>6480 and searching with an admin user6481 is expected to contain exactly #<Project id:938 user1240/pblc>>, #<Project id:940 user1240/C>>, #<Project id:941 user1240/D>>, and #<Project id:939 user1240/mepmep>>6482Gitlab::Ci::Pipeline::Chain::Config::Content6483 #perform!6484 when bridge job is passed in as parameter6485 returns the content already available in command6486 when config is defined in a custom path in the repository6487 builds root config including the local custom file6488 when config is defined remotely6489 builds root config including the remote config6490 when config is defined in a separate repository6491 builds root config including the path to another repository6492 when path specifies a refname6493 builds root config including the path and refname to another repository6494 when config is defined in the default .gitlab-ci.yml6495 builds root config including the canonical CI config file6496 when config is the Auto-Devops template6497 builds root config including the auto-devops template6498 when config is passed as a parameter6499 uses the parameter content6500 when config is not defined anywhere6501 builds root config including the auto-devops template6502Gitlab::Ci::Status::Build::Play6503 #label6504 has a label that says it is a manual action6505 #status_tooltip6506 does not override status status_tooltip6507 #badge_tooltip6508 does not override status badge_tooltip6509 #has_action?6510 when user is allowed to update build6511 when user is allowed to trigger protected action6512 is expected to have action6513 when user can not push to the branch6514 is expected not to have action6515 when user is not allowed to update build6516 is expected not to have action6517 #action_path6518 is expected to include "424/play"6519 #action_icon6520 is expected to eq "play"6521 #action_title6522 is expected to eq "Play"6523 #action_button_title6524 is expected to eq "Trigger this manual action"6525 .matches?6526 when build is playable6527 when build stops an environment6528 does not match6529 when build does not stop an environment6530 is a correct match6531 when build is not playable6532 does not match6533Terraform::RemoteStateHandler6534 #find_with_lock6535 without a state name6536 raises an exception6537 with a state name6538 with no matching state6539 raises an exception6540 with a matching state6541 returns the state6542 with a state scheduled for deletion6543 raises an exception6544 when state locking is not being used6545 #handle_with_lock6546 allows to modify a state using database locking6547 returns nil6548 #lock!6549 raises an error6550 when using locking6551 #handle_with_lock6552 handles a locked state using exclusive read lock6553 raises exception if lock has not been acquired before6554 raises an exception if the state is scheduled for deletion6555 user does not have permission to modify state6556 raises an exception6557 #lock!6558 allows to lock state if it does not exist yet6559 allows to lock state if it exists and is not locked6560 raises an exception when trying to unlocked state locked by someone else6561 raises an exception when the state exists and is scheduled for deletion6562 #unlock!6563 unlocks the state6564 with no lock ID (force-unlock)6565 unlocks the state6566 with different lock ID6567 raises an exception6568 with a state scheduled for deletion6569 raises an exception6570Packages::Helm::ProcessFileService6571 #execute6572 without a file6573 returns error6574 with existing package6575 reuses existing package6576 marked as pending_destruction6577 reuses the processing package6578 with a valid file6579 processes file6580 without Chart.yaml6581 is expected to raise Packages::Helm::ExtractFileMetadataService::ExtractionError with "Chart.yaml not found within a directory"6582 with Chart.yaml at root6583 is expected to raise Packages::Helm::ExtractFileMetadataService::ExtractionError with "Chart.yaml not found within a directory"6584 with an invalid YAML6585 is expected to raise Packages::Helm::ExtractFileMetadataService::ExtractionError with "Error while parsing Chart.yaml: (<unknown>): did not find expected node content while parsing a flow node at line 2 column 1"6586Gitlab::Kubernetes6587 #container_exec_url6588 is expected to eq "wss"6589 is expected to eq "example.com"6590 is expected to eq "/api/v1/namespaces/default/pods/pod1/exec"6591 is expected to eq "container=container1&stderr=true&stdin=true&stdout=true&tty=true&command=sh&command=-c&command=bash+%7C%7C+sh"6592 with a HTTP API URL6593 is expected to eq "ws"6594 with a path prefix in the API URL6595 is expected to eq "/prefix/api/v1/namespaces/default/pods/pod1/exec"6596 with arguments that need urlencoding6597 is expected to eq "/api/v1/namespaces/default%20namespace/pods/pod%201/exec"6598 is expected to match /\Acontainer=container\+1&/6599 #filter_by_label6600 returns matching labels6601 #filter_by_annotation6602 returns matching labels6603 #filter_by_project_environment6604 returns matching env label6605 #filter_by_legacy_label6606 returns matching labels6607 #to_kubeconfig6608 is expected to eq {"apiVersion"=>"v1", "clusters"=>[{"cluster"=>{"certificate-authority-data"=>"UEVN", "server"=>"https..."gitlab-deploy", "kind"=>"Config", "users"=>[{"name"=>"gitlab-deploy", "user"=>{"token"=>"TOKEN"}}]}6609 when CA PEM is not provided6610 is expected to eq {"apiVersion"=>"v1", "clusters"=>[{"cluster"=>{"server"=>"https://kube.domain.com"}, "name"=>"gitlab-..."gitlab-deploy", "kind"=>"Config", "users"=>[{"name"=>"gitlab-deploy", "user"=>{"token"=>"TOKEN"}}]}6611 when token is not provided6612 is expected to be nil6613 #add_terminal_auth6614 adds authentication parameters to a hash6615Ci::BuildTraceChunks::Database6616 #data6617 when data exists6618 returns the data6619 when data does not exist6620 returns nil6621 #set_data6622 when data exists6623 overwrites data6624 when data does not exist6625 sets new data6626 #delete_data6627 when data exists6628 deletes data6629 when data does not exist6630 does nothing6631 #size6632 when data exists6633 returns data bytesize correctly6634 when data does not exist6635 returns zero6636 #keys6637 returns empty array6638Gitlab::BatchPopQueueing6639 #initialize6640 namespace: "feature", queue_id: "1", expect_error: false, error_type: nil6641 is expected not to raise Exception6642 namespace: :feature, queue_id: "1", expect_error: false, error_type: nil6643 is expected not to raise Exception6644 namespace: nil, queue_id: "1", expect_error: true, error_type: NoMethodError6645 is expected to raise NoMethodError6646 namespace: "feature", queue_id: nil, expect_error: true, error_type: NoMethodError6647 is expected to raise NoMethodError6648 namespace: "", queue_id: "1", expect_error: true, error_type: ArgumentError6649 is expected to raise ArgumentError6650 namespace: "feature", queue_id: "", expect_error: true, error_type: ArgumentError6651 is expected to raise ArgumentError6652 namespace: "feature", queue_id: 1, expect_error: true, error_type: NoMethodError6653 is expected to raise NoMethodError6654 #safe_execute6655 enqueues new items always6656 yields the new items with exclusive lease6657 returns the result and no items in the queue6658 when new items are enqueued during the process6659 returns the result with newly added items6660 when interger items are enqueued6661 yields as String values6662 when the queue key does not exist in Redis6663 yields empty array6664 when the other process has already been working on the queue6665 does not yield the block6666 returns the result6667 when a duplicate item is enqueued6668 returns the poped items to the queue and raise an error6669 when there are two queues6670 enqueues items to each queue6671IncidentManagement::ProjectIncidentManagementSetting6672 Associations6673 is expected to belong to project required: false6674 Validations6675 validate issue_template_exists6676 with create_issue enabled6677 with valid issue_template_key6678 is expected to be valid6679 with empty issue_template_key6680 is expected to be valid6681 with nil issue_template_key6682 is expected to be valid6683 with invalid issue_template_key6684 is expected to be invalid6685 returns error6686 with create_issue disabled6687 with unknown issue_template_key6688 is expected to be valid6689 #issue_template_content6690 with valid issue_template_key6691 returns issue content6692 with unknown issue_template_key6693 behaves like no content6694 returns no content6695 without issue_template_key6696 behaves like no content6697 returns no content6698 #pagerduty_token6699 when token already set6700 reads the token6701 when not set6702 when PagerDuty webhook is active6703 generates a token before validation6704 when PagerDuty webhook is not active6705 does not generate a token before validation6706DeleteDiffFilesWorker6707 #perform6708 deletes all merge request diff files6709 updates state to without_files6710 resets the files_count of the diff6711 does nothing if diff was already marked as "without_files"6712 rollsback if something goes wrong6713Gitlab::LocalAndRemoteStorageMigration::ArtifactMigrater6714 behaves like local and remote storage migration6715 start_store: 1, end_store: 2, method: :migrate_to_remote_storage6716 successfully migrates6717 start_store: 2, end_store: 2, method: :migrate_to_remote_storage6718 successfully migrates6719 start_store: 2, end_store: 1, method: :migrate_to_local_storage6720 successfully migrates6721 start_store: 1, end_store: 1, method: :migrate_to_local_storage6722 successfully migrates6723 when migration fails6724 prints error6725Clusters::Agents::DeleteExpiredEventsService6726 #execute6727 does not delete events if the limit has not been reached6728 there are more events than the limit6729 removes events to remain at the limit, keeping the most recent6730InstanceClusterablePresenter6731 #connect_path6732 is expected to eq "/admin/clusters/connect"6733 #clear_cluster_cache_path6734 is expected to eq "/admin/clusters/357/clear_cache"6735 #metrics_dashboard_path6736 is expected to eq "/admin/clusters/360/metrics_dashboard"6737 #learn_more_link6738 is expected to include "user/instance/clusters/index"6739PersonalAccessTokens::CreateService6740 #execute6741 when current_user is an administrator6742 when admin mode is enabled6743 behaves like a successfully created token6744 creates personal access token record6745 logs the event6746 notifies the user6747 when admin mode is disabled6748 behaves like an unsuccessfully created token6749 is expected to equal false6750 is expected to eq "Not permitted to create"6751 is expected to be nil6752 when current_user is not an administrator6753 target_user is not the same as current_user6754 behaves like an unsuccessfully created token6755 is expected to equal false6756 is expected to eq "Not permitted to create"6757 is expected to be nil6758 target_user is same as current_user6759 behaves like a successfully created token6760 creates personal access token record6761 logs the event6762 notifies the user6763Gitlab::HookData::BaseBuilder6764 #absolute_image_urls6765 with an upload prefix specified6766 relative image URL6767 is expected to eq ""6768 absolute upload URL6769 is expected to eq ""6770 absolute non-upload URL6771 is expected to eq ""6772 without an upload prefix specified6773 relative image URL6774 is expected to eq ""6775 absolute upload URL6776 is expected to eq ""6777 absolute non-upload URL6778 is expected to eq ""6779 HTTP URL6780 is expected to eq ""6781 HTTPS URL6782 is expected to eq ""6783 protocol-relative URL6784 is expected to eq ""6785 URL reference by title6786 is expected to eq "![foo]\n\n[foo]: foo.png"6787 URL reference by label6788 is expected to eq "![][foo]\n\n[foo]: foo.png"6789 in Markdown inline code block6790 is expected to eq "``"6791 in HTML tag on the same line6792 is expected to eq "<p></p>"6793 in Markdown multi-line code block6794 is expected to eq "```\n\n```"6795 in HTML tag on different lines6796 is expected to eq "<p>\n\n</p>"6797BulkUpdateIntegrationService6798 works with batch as an ActiveRecord::Relation6799 works with batch as an array of ActiveRecord objects6800 with inherited integration6801 updates the integration6802 does not change the created_at timestamp6803 sets the updated_at timestamp to the current time6804 with integration with data fields6805 updates the data fields from the integration6806 does not change the created_at timestamp6807 sets the updated_at timestamp to the current time6808 with different foreign key of data_fields6809 works with batch as an array of ActiveRecord objects6810BuildActionEntity6811 #as_json6812 contains original job name6813 contains path to the action play6814 contains whether it is playable6815 when job is scheduled6816 returns scheduled6817 returns scheduled_at6818 returns unschedule path6819Groups::GroupLinks::DestroyService#execute6820 when authorizing by user6821 single link6822 destroys the link6823 with skip_group_share_unlink_auth_refresh feature flag disabled6824 revokes project authorization6825 with skip_group_share_unlink_auth_refresh feature flag enabled6826 maintains project authorization6827 multiple links6828 with skip_group_share_unlink_auth_refresh feature flag disabled6829 updates project authorization once per group6830 with skip_group_share_unlink_auth_refresh feature flag enabled6831 does not update project authorization once per group6832 when skipping authorization6833 with provided group and owner6834 destroys the link6835 without providing group or owner6836 destroys the link6837User6838 types consistency checks6839 scopes & predicates6840 .humans6841 includes humans only6842 .bots6843 includes all bots6844 .without_bots6845 includes everyone except bots6846 .bots_without_project_bot6847 includes all bots except project_bot6848 .non_internal6849 includes all non_internal users6850 .without_ghosts6851 includes everyone except ghosts6852 .without_project_bot6853 includes everyone except project_bot6854 #bot?6855 is true for all bot user types and false for others6856 #human?6857 is true for humans only6858 #internal?6859 is true for all internal user types and false for others6860Gitlab::Database::LoadBalancing::ServiceDiscovery6861 #initialize6862 :record_type6863 with a supported type6864 is expected to eq 336865 with an unsupported type6866 raises an argument error6867 #start6868 starts service discovery in a new thread6869 #perform_service_discovery6870 without any failures6871 runs once6872 with failures6873 retries service discovery when under the retry limit6874 does not retry service discovery after exceeding the limit6875 reports exceptions to Sentry6876 #refresh_if_necessary6877 when a refresh is necessary6878 refreshes the load balancer hosts6879 when a refresh is not necessary6880 does not refresh the load balancer hosts6881 #replace_hosts6882 replaces the hosts of the load balancer6883 disconnects the old connections6884 #addresses_from_dns6885 with an A record6886 returns a TTL and ordered list of IP addresses6887 with an SRV record6888 returns a TTL and ordered list of hosts6889 when the resolver returns an empty response6890 raises EmptyDnsResponse6891 #new_wait_time_for6892 returns the DNS TTL if greater than the default interval6893 returns the default interval if greater than the DNS TTL6894 returns the default interval if no resources are given6895 #addresses_from_load_balancer6896 returns the ordered host names of the load balancer6897scripts/changed-feature-flags6898 GetFeatureFlagsFromFiles6899 .extracted_flags6900 with definition files in the development directory6901 behaves like extract feature flags6902 returns feature flags on their own6903 returns feature flags and their state as enabled6904 returns feature flags and their state as disabled6905 does not return feature flags when there are mixed deleted and non-deleted definition files6906 with definition files in the ops directory6907 behaves like extract feature flags6908 returns feature flags on their own6909 returns feature flags and their state as enabled6910 returns feature flags and their state as disabled6911 does not return feature flags when there are mixed deleted and non-deleted definition files6912 with definition files in the experiment directory6913 ignores the files6914 with only deleted definition files6915 returns feature flags and their state as deleted6916 does not return feature flags when the desired state is enabled6917 does not return feature flags when the desired state is disabled6918Environments::EnvironmentsFinder6919 #execute6920 with states parameter6921 returns environments with the requested state6922 returns environments with any of the requested states6923 raises exception when requested state is invalid6924 works with symbols6925 returns environments with the requested state6926 returns environments with any of the requested states6927 with search and states6928 searches environments by name and state6929 with id6930 searches environments by name and state6931Gitlab::Template::MetricsDashboardTemplate6932 .all6933 combines the globals and rest6934 #content6935 loads the full file6936 behaves like file template shared examples6937 .all6938 strips the .metrics-dashboard.yml suffix6939 ensures that the template name is used exactly once6940 .by_category6941 returns sorted results6942 .find6943 returns nil if the file does not exist6944 returns the corresponding object of a valid file6945 #<=>6946 sorts lexicographically6947UserStatus6948 is expected to validate that :user cannot be empty/falsy6949 is expected to allow :emoji to be ‹"smirk"›6950 is expected not to allow :emoji to be ‹"hello world"›6951 is expected not to allow :emoji to be ‹""›6952 is expected to validate that the length of :message is at most 1006953 is expected to allow :message to be ‹""›6954 is expected to be deleted when the user is deleted6955 #clear_status_after=6956 sets clear_status_at6957 unsets clear_status_at6958 when unknown clear status is given6959 unsets clear_status_at6960MilestoneRelease6961 associations6962 is expected to belong to release required: false6963 is expected to belong to milestone required: false6964 when trying to create the same record in milestone_releases twice6965 is not committing on the second time6966 validations6967 when milestone and release do not have the same project6968 is not valid6969 when milestone and release have the same project6970 is expected to be valid6971Sidebars::Projects::Menus::PackagesRegistriesMenu6972 #render?6973 when menu does not have any menu item to show6974 returns false6975 when menu has menu items to show6976 returns true6977 #link6978 when Packages Registry is visible6979 menu link points to Packages Registry page6980 when Packages Registry is not visible6981 menu link points to Container Registry page6982 when Container Registry is not visible6983 does not display menu link6984 Menu items6985 Packages Registry6986 when user can read packages6987 when config package setting is disabled6988 the menu item is not added to list of menu items6989 when config package setting is enabled6990 the menu item is added to list of menu items6991 when user cannot read packages6992 the menu item is not added to list of menu items6993 Container Registry6994 when user can read container images6995 when config registry setting is disabled6996 the menu item is not added to list of menu items6997 when config registry setting is enabled6998 the menu item is added to list of menu items6999 when user cannot read container images7000 the menu item is not added to list of menu items7001 Infrastructure Registry7002 the menu item is added to list of menu items7003 when config package setting is disabled7004 does not add the menu item to the list7005 when user cannot read packages7006 does not add the menu item to the list7007 Harbor Registry7008 when config harbor registry setting is disabled7009 does not add the menu item to the list7010 when config harbor registry setting is enabled7011 the menu item is added to list of menu items7012Gitlab::Config::Loader::Yaml7013 when max yaml size and depth are set in ApplicationSetting7014 uses ApplicationSetting values rather than the defaults7015 when yaml syntax is correct7016 #valid?7017 returns true7018 #load!7019 returns a valid hash7020 when yaml syntax is incorrect7021 #valid?7022 returns false7023 #load!7024 raises error7025 when there is an unknown alias7026 #initialize7027 raises FormatError7028 when yaml config is empty7029 #valid?7030 returns false7031 #load_raw!7032 raises error7033 when yaml size is too large7034 #valid?7035 returns false7036 returns true if "ci_yaml_limit_size" feature flag is disabled7037 #load!7038 raises FormatError7039 when yaml has cyclic data structure7040 #valid?7041 returns false7042 #load!7043 raises FormatError7044 #load_raw!7045 loads keys as strings7046 #load!7047 symbolizes keys7048Gitlab::ImportExport::LfsSaver7049 #save7050 when the project has LFS objects locally stored7051 does not cause errors7052 copies the file in the correct location when there is an lfs object7053 when lfs object has file on disk missing7054 does not attempt to copy non-existent file7055 saving a json file7056 saves a json file correctly7057 when the LFS objects are stored in object storage7058 downloads the file to include in an archive7059Ci::PipelineEditorHelper7060 can_view_pipeline_editor?7061 user can view editor if they can collaborate7062 user can not view editor if they cannot collaborate7063 #js_pipeline_editor_data7064 with a project with commits7065 returns pipeline editor data7066 with an empty project7067 returns pipeline editor data7068 with a project with no repository7069 returns pipeline editor data7070 with a non-default branch name7071 returns correct values7072Gitlab::EndpointAttributes7073 is nil when nothing was defined7074 returns the expected category7075 falls back to default when urgency was not defined7076 returns the expected urgency7077 returns feature category for an implied action if not specify actions7078 returns expected duration for an implied action if not specify actions7079 returns the expected category for categories defined in subclasses7080 falls back to superclass's feature category7081 returns the expected urgency for categories defined in subclasses7082 falls back to superclass's expected duration7083 raises an error when defining for the controller and for individual actions7084 raises an error when multiple calls define the same action7085 raises an error when multiple calls define the same action7086 does not raise an error when multiple calls define the same action and configs7087 raises an error if the expected duration is not supported7088Gitlab::HealthChecks::Redis::RedisCheck7089 #metrics7090 Check is passing7091 is expected to include (have attributes {:name => "redis_ping_success", :value => 1})7092 is expected to include (have attributes {:name => "redis_ping_timeout", :value => 0})7093 is expected to include (have attributes {:name => "redis_ping_latency_seconds", :value => (be >= 0)})7094 Check is misbehaving7095 is expected to include (have attributes {:name => "redis_ping_success", :value => 0})7096 is expected to include (have attributes {:name => "redis_ping_timeout", :value => 0})7097 is expected to include (have attributes {:name => "redis_ping_latency_seconds", :value => (be >= 0)})7098 Check is timeouting7099 is expected to include (have attributes {:name => "redis_ping_success", :value => 0})7100 is expected to include (have attributes {:name => "redis_ping_timeout", :value => 1})7101 is expected to include (have attributes {:name => "redis_ping_latency_seconds", :value => (be >= 0)})7102 #readiness7103 Check returns ok7104 is expected to have attributes {:success => true}7105 Check is misbehaving7106 is expected to have attributes {:message => "unexpected Redis check result: error!", :success => false}7107 Check is timeouting7108 is expected to have attributes {:message => "Redis check timed out", :success => false}7109 Check is raising an unhandled exception7110 is expected to have attributes {:message => "unexpected Redis check result: unexpected error", :success => false}7111Types::RepositoryType7112 is expected to eq "Repository"7113 is expected to require graphql authorizations :download_code7114 is expected to have graphql field :root_ref7115 is expected to have graphql field :tree7116 is expected to have graphql field :paginated_tree and {:calls_gitaly?=>true, :max_page_size=>100}7117 is expected to have graphql field :exists and {:calls_gitaly?=>true, :complexity=>2}7118 is expected to have graphql field :blobs7119 is expected to have graphql field :branch_names and {:calls_gitaly?=>true, :complexity=>170}7120 is expected to have graphql field :disk_path7121RuboCop::Cop::UsageData::LargeTable7122 when in usage_data files7123 with large tables7124 when calling Issue.count7125 registers an offense7126 when calling Issue.active.count7127 registers an offense7128 when calling count(Issue)7129 does not register an offense7130 when calling count(Ci::Build.active)7131 does not register an offense7132 when calling Ci::Build.active.count7133 registers an offense7134 when using allowed methods7135 does not register an offense7136 with non related class7137 does not register an offense7138Gitlab::ExternalAuthorization::Client7139 #request_access7140 performs requests to the configured endpoint7141 adds the correct params for the user to the body of the request7142 respects the the timeout7143 adds the mutual tls params when they are present7144 returns an expected response7145 wraps exceptions if the request fails7146 passes local request setting to Gitlab::HTTP7147 for ldap users7148 includes the ldap dn and identities for ldap users7149 for non-ldap users with identities7150 includes all the identities7151PipelineTestReportBuilder7152 #previous_pipeline7153 pipeline in a fork project7154 returns fork pipeline7155 pipeline in target project7156 returns failed pipeline7157 #test_report_for_latest_pipeline7158Discovered last failed pipeline () for MR!99971591 failed builds in test stage found...7160 fetches builds from pipeline related to MR7161 canonical pipeline7162 no previous pipeline7163 returns empty hash7164 first pipeline scenario7165 returns empty hash7166 no previous failed pipeline7167 returns empty hash7168 no failed test builds7169Discovered last failed pipeline () for MR!99971700 failed builds in test stage found...7171 returns empty hash7172 failed pipeline and failed test builds7173Discovered last failed pipeline () for MR!99971741 failed builds in test stage found...7175 returns populated test list for suites7176RuboCop::Cop::Migration::DropTable7177 when in deployment migration7178 with drop_table DSL method7179 when in down method7180 does not register an offense7181 when in up method7182 registers an offense7183 when in change method7184 registers an offense7185 with DROP TABLE SQL literal7186 does not register an offense7187 when in up method7188 registers an offense7189 when in change method7190 registers an offense7191 when in post-deployment migration7192 registers no offense7193 when outside of migration7194 registers no offense7195Sidebars::Groups::Menus::GroupInformationMenu7196 #title7197 when group is a root group7198 is expected to eq "Group information"7199 when group is a child group7200 is expected to eq "Subgroup information"7201 #sprite_icon7202 when group is a root group7203 is expected to eq "group"7204 when group is a child group7205 is expected to eq "subgroup"7206 Menu Items7207 Activity7208 is expected not to be nil7209 behaves like menu access rights7210 is expected not to be nil7211 when the user does not have access7212 is expected to be nil7213 Labels7214 behaves like menu access rights7215 is expected not to be nil7216 when the user does not have access7217 is expected to be nil7218 Members7219 behaves like menu access rights7220 is expected not to be nil7221 when the user does not have access7222 is expected to be nil7223Gitlab::Ci::Reports::Security::FindingKey7224 #==7225 when the comparison is done between FindingKey instances7226 location_fp_1: nil, location_fp_2: "different location fp", identifier_fp_1: "identifier fp", identifier_fp_2: "different identifier fp", equals?: false7227 is expected to equal false7228 location_fp_1: "location fp", location_fp_2: nil, identifier_fp_1: "identifier fp", identifier_fp_2: "different identifier fp", equals?: false7229 is expected to equal false7230 location_fp_1: "location fp", location_fp_2: "different location fp", identifier_fp_1: nil, identifier_fp_2: "different identifier fp", equals?: false7231 is expected to equal false7232 location_fp_1: "location fp", location_fp_2: "different location fp", identifier_fp_1: "identifier fp", identifier_fp_2: nil, equals?: false7233 is expected to equal false7234 location_fp_1: nil, location_fp_2: nil, identifier_fp_1: "identifier fp", identifier_fp_2: "identifier fp", equals?: false7235 is expected to equal false7236 location_fp_1: "location fp", location_fp_2: "location fp", identifier_fp_1: nil, identifier_fp_2: nil, equals?: false7237 is expected to equal false7238 location_fp_1: nil, location_fp_2: nil, identifier_fp_1: nil, identifier_fp_2: nil, equals?: false7239 is expected to equal false7240 location_fp_1: "location fp", location_fp_2: "different location fp", identifier_fp_1: "identifier fp", identifier_fp_2: "different identifier fp", equals?: false7241 is expected to equal false7242 location_fp_1: "location fp", location_fp_2: "different location fp", identifier_fp_1: "identifier fp", identifier_fp_2: "identifier fp", equals?: false7243 is expected to equal false7244 location_fp_1: "location fp", location_fp_2: "location fp", identifier_fp_1: "identifier fp", identifier_fp_2: "different identifier fp", equals?: false7245 is expected to equal false7246 location_fp_1: "location fp", location_fp_2: "location fp", identifier_fp_1: "identifier fp", identifier_fp_2: "identifier fp", equals?: true7247 is expected to equal true7248 when the comparison is not done between FindingKey instances7249 is expected to be falsey7250Ci::GroupVariablePresenter7251 inherits from Gitlab::View::Presenter::Delegated7252 #initialize7253 takes a variable and optional params7254 exposes variable7255 forwards missing methods to variable7256 #placeholder7257 is expected to eq "GROUP_VARIABLE"7258 #form_path7259 is expected to eq "/groups/group1081/-/settings/ci_cd"7260 #edit_path7261 is expected to eq "/groups/group1082/-/variables"7262 #delete_path7263 is expected to eq "/groups/group1083/-/variables"7264Gitlab::GithubImport::IssuableFinder7265 #database_id7266 returns nil when no cache is in place7267 returns the ID of an issuable when the cache is in place7268 raises TypeError when the object is not supported7269 when group is present7270 when github_importer_single_endpoint_notes_import feature flag is enabled7271 reads cache value with longer timeout7272 when github_importer_single_endpoint_notes_import feature flag is disabled7273 reads cache value with default timeout7274 #cache_database_id7275 caches the ID of a database row7276 when group is present7277 when github_importer_single_endpoint_notes_import feature flag is enabled7278 caches value with longer timeout7279 when github_importer_single_endpoint_notes_import feature flag is disabled7280 caches value with default timeout7281Gitlab::QueryLimiting::Transaction7282 .current7283 returns nil when there is no transaction7284 returns the transaction when present7285 .run7286 runs a transaction and returns it and its return value7287 removes the transaction from the current thread upon completion7288 #act_upon_results7289 when the query threshold is not exceeded7290 does nothing7291 when the query threshold is exceeded7292 raises an error when this is enabled7293 #increment7294 increments the number of executed queries7295 does not increment the number of executed queries when query limiting is disabled7296 does not increment the number of executed queries when the query is known to be ignorable7297 #raise_error?7298 returns true in a test environment7299 returns false in a production environment7300 #threshold_exceeded?7301 returns false when the threshold is not exceeded7302 returns true when the threshold is exceeded7303 #error_message7304 returns the error message to display when the threshold is exceeded7305 includes a list of executed queries7306 indicates if the log is truncated7307 includes the action name in the error message when present7308Gitlab::Kubernetes::KubectlCmd7309 .delete7310 constructs string properly7311 .apply_file7312 without optional args7313 requires filename to be present7314 constructs string properly7315 with optional args7316 constructs command properly with many args7317 constructs command properly with single arg7318 .api_resources7319 constructs string properly7320 .delete_crds_from_group7321 constructs string properly7322Mutations::Security::CiConfiguration::ConfigureSecretDetection7323 is expected to require graphql authorizations :push_code7324 #resolve7325 generates an error if the resource is not accessible to the user7326 when user does not have enough permissions7327 generates an error7328 when user is a maintainer of a different project7329 generates an error7330 when the user does not have permission to create a new branch7331 returns an array of errors7332 when the user can create a merge request7333 when service successfully generates a path to create a new merge request7334 returns a success path7335 when service can not generate any path to create a new merge request7336 returns an array of errors7337Gitlab::Ci::Badge::Coverage::Report7338 #entity7339 describes a coverage7340 #metadata7341 returns correct metadata7342 #template7343 returns correct template7344 #status7345 with no job specified7346 returns the most recent successful pipeline coverage value7347 and no successful pipelines7348 returns nil7349 with a blank job name7350 returns the latest successful pipeline coverage value7351 with an unmatching job name specified7352 returns nil7353 with a matching job name specified7354 returns the pipeline coverage value7355 with a more recent running pipeline7356 returns the running pipeline coverage value7357 with a more recent failed pipeline7358 returns the failed pipeline coverage value7359ProtectedBranch::PushAccessLevel7360 is expected to validate that :access_level is either ‹40›, ‹30›, or ‹0›7361 associations7362 is expected to belong to deploy_key required: false7363 validations7364 is not valid when a record exists with the same access level7365 is not valid when a record exists with the same access level7366 checks that a deploy key is enabled for the same project as the protected branch's7367 #check_access7368 when this push_access_level is tied to a deploy key7369 when the deploy key is among the active keys for this project7370 is expected to be truthy7371 when the deploy key is not among the active keys of this project7372 is false7373 #type7374 returns :deploy_key when a deploy key is tied to the protected branch7375 returns :role by default7376Gitlab::Utils::InlineHash7377 .merge_keys7378 transforms a nested hash into a one-level hash7379 retains key insertion order7380 with a custom connector7381 uses the connector to merge keys7382 with a starter prefix7383 prefixes all the keys7384Deployments::LinkMergeRequestWorker7385 #perform7386 links merge requests to the deployment7387 does not link merge requests when the deployment is not found7388 idempotent7389 is labeled as idempotent7390 performs multiple times sequentially without raising an exception7391 links merge requests to deployment7392API::Helpers::RelatedResourcesHelpers7393 #expose_path7394 empty relative URL root7395 returns the existing path7396 slash relative URL root7397 returns the existing path7398 with relative URL root7399 returns the existing path7400 #expose_url7401 respects the protocol if it is HTTP7402 respects the protocol if it is HTTPS7403 accepts the host if it contains an underscore7404 accepts port to be nil7405 includes port if provided7406 includes the relative_url before the path if it is set7407 includes the path after the host7408LooseForeignKeys::DeletedRecord7409 class methods7410 .load_batch_for_table7411 loads records and orders them by creation date7412 supports configurable batch size7413 .mark_records_processed7414 updates all records7415 .reschedule7416 reschedules all records7417 .increment_attempts7418 increaments the cleanup_attempts column7419 sliding_list partitioning7420 next_partition_if callback7421 when the partition is empty7422 is expected to eq false7423 when the partition has records7424 is expected to eq false7425 when the first record of the partition is older than PARTITION_DURATION7426 is expected to eq true7427 when the lfk_automatic_partition_creation FF is off7428 is expected to eq false7429 detach_partition_if callback7430 when the partition contains unprocessed records7431 is expected to eq false7432 when the partition contains only processed records7433 is expected to eq true7434 when the lfk_automatic_partition_dropping FF is off7435 is expected to eq false7436 the behavior of the strategy7437 moves records to new partitions as time passes7438Gitlab::Ci::Status::Preparing7439 #text7440 is expected to eq "preparing"7441 #label7442 is expected to eq "preparing"7443 #icon7444 is expected to eq "status_preparing"7445 #favicon7446 is expected to eq "favicon_status_preparing"7447 #group7448 is expected to eq "preparing"7449 #details_path7450 is expected to be nil7451Gitlab::Auth::OAuth::Provider7452 .enabled?7453 when OmniAuth is disabled7454 allows database auth7455 allows LDAP auth7456 does not allow other OmniAuth providers7457 when OmniAuth is enabled7458 allows database auth7459 allows LDAP auth7460 allows other OmniAuth providers7461 .config_for7462 for an LDAP provider7463 when the provider exists7464 returns the config7465 when the provider does not exist7466 returns nil7467 for an OmniAuth provider7468 when the provider exists7469 returns the config7470 merges defaults with the given configuration7471 when the provider does not exist7472 returns nil7473 .label_for7474 when configuration specifies a custom label7475 returns the custom label name7476 when configuration does not specify a custom label7477 when the name does not correspond to a label mapping7478 returns the titleized name7479 when the name corresponds to a label mapping7480 returns the mapped name7481Gitlab::Analytics::CycleAnalytics::Aggregated::RecordsFetcher7482 #serialized_records7483 sorting7484 when sorting by end event DESC7485 behaves like match returned records7486 returns issues in the correct order7487 passes a hash with all expected attributes to the serializer7488 when intervalstyle setting is configured to "postgres"7489 avoids nil durations7490 when sorting by end event ASC7491 behaves like match returned records7492 returns issues in the correct order7493 passes a hash with all expected attributes to the serializer7494 when sorting by duration DESC7495 behaves like match returned records7496 returns issues in the correct order7497 passes a hash with all expected attributes to the serializer7498 when sorting by duration ASC7499 behaves like match returned records7500 returns issues in the correct order7501 passes a hash with all expected attributes to the serializer7502 pagination7503 behaves like match returned records7504 returns issues in the correct order7505 passes a hash with all expected attributes to the serializer7506 when passing a block to serialized_records method7507 yields the underlying stage event scope7508 when the issue record no longer exists7509 skips non-existing issue records7510Gitlab::GithubImport::Stage::ImportNotesWorker7511 #import7512 imports all the notes7513 #importers7514 when project group is present7515 when feature flag github_importer_single_endpoint_notes_import is enabled7516 includes single endpoint mr and issue notes importers7517 when feature flag github_importer_single_endpoint_notes_import is disabled7518 includes default notes importer7519 when project group is missing7520 includes default diff notes importer7521validate puma7522 for .com7523 when worker count is 07524 is expected to raise String7525 when worker count is > 07526 is expected not to raise Exception7527 for other environments7528 when worker count is 07529 is expected not to raise Exception7530 warns about running Puma in a Single mode7531 when worker count is > 07532 is expected not to raise Exception7533 does not issue a warning7534MilestonesFinder7535 without filters7536 returns milestones for projects7537 returns milestones for groups7538 milestones for groups and project7539 returns milestones for groups and projects7540 orders milestones by due date7541 when grouping and sorting by expired_last7542 current milestones are returned first, then milestones without due date followed by expired milestones, sorted by due date in ascending order7543 #find_by7544 finds a single milestone7545 with filters7546 filters by id7547 filters by active state7548 filters by closed state7549 filters by title7550 filters by search_title7551 by timeframe7552 returns milestones with start_date and due_date between timeframe7553 returns milestones which starts before the timeframe7554 returns milestones which ends after the timeframe7555Clusters::Integrations::CreateService#execute7556 behaves like a cluster integration7557 when enabled param is true7558 creates a new enabled integration7559 when enabled param is false7560 creates a new disabled integration7561 when integration already exists7562 updates the integration7563 behaves like a cluster integration7564 when enabled param is true7565 creates a new enabled integration7566 when enabled param is false7567 creates a new disabled integration7568 when integration already exists7569 updates the integration7570 when application_type is invalid7571 errors7572 when user is unauthorized7573 returns error and does not create a new integration record7574ProjectExportJob7575 associations7576 is expected to belong to project required: false7577 validations7578 is expected to validate that :project cannot be empty/falsy7579 is expected to validate that :jid cannot be empty/falsy7580 is expected to validate that :status cannot be empty/falsy7581Gitlab::Metrics::Subscribers::ActionCable7582 #transmit7583 tracks the transmit event7584 tracks size of payload as JSON7585 #broadcast7586 tracks the broadcast event7587 #transmit_subscription_confirmation7588 tracks the subscription confirmation event7589 #transmit_subscription_rejection7590 tracks the subscription rejection event7591HashedStorage::ProjectMigrateWorker7592 #perform7593 skips when project no longer exists7594 skips when project is pending delete7595 skips when project is already migrated7596 with exclusive lease available7597 delegates migration to service class7598 delegates migration to service class with correct path in a partially migrated project7599 with exclusive lease taken7600 skips when it cant acquire the exclusive lease7601Mutations::AlertManagement::HttpIntegration::Destroy7602 is expected to require graphql authorizations :admin_operations7603 #resolve7604 user has access to project7605 when HttpIntegrations::DestroyService responds with success7606 returns the integration with no errors7607 when HttpIntegrations::DestroyService responds with an error7608 returns errors7609 when resource is not accessible to the user7610 raises an error if the resource is not accessible to the user7611Projects::RepositoryLanguagesService7612 when detected_repository_languages flag is set7613 when a project is without detected programming languages7614 schedules a worker and returns the empty result7615 when a project is with detected programming languages7616 does not schedule a worker and returns the detected languages7617 sets detected_repository_languages flag7618 when detected_repository_languages flag is not set7619 returns repository languages7620BulkImports::ExportRequestWorker7621 #perform7622 when entity is group7623 is labeled as idempotent7624 performs multiple times sequentially without raising an exception7625 requests relations export7626 when network error is raised7627 logs export failure and marks entity as failed7628 when entity is project7629 is labeled as idempotent7630 performs multiple times sequentially without raising an exception7631 requests relations export7632 when network error is raised7633 logs export failure and marks entity as failed7634Gitlab::Prometheus::Queries::MatchedMetricQuery7635 with one group where two metrics is found7636 both metrics in the group pass requirements7637 responds with both metrics as actve7638 none of the metrics pass requirements7639 responds with both metrics missing requirements7640 no series information found about the metrics7641 responds with both metrics missing requirements7642 one of the series info was not found7643 responds with one active and one missing metric7644 with one group where only one metric is found7645 both metrics in the group pass requirements7646 responds with one metrics as active and no missing requiremens7647 no metrics in group pass requirements7648 responds with one metrics as active and no missing requiremens7649 with two groups where metrics are found in each group7650 all metrics in both groups pass requirements7651 responds with one metrics as active and no missing requiremens7652 no metrics in groups pass requirements7653 responds with one metrics as active and no missing requiremens7654AlertManagement::HttpIntegrations::DestroyService7655 #execute7656 successfully returns the integration7657 when the current_user is anonymous7658 behaves like error response7659 has an informative message7660 when current_user does not have permission to create integrations7661 behaves like error response7662 has an informative message7663 when an error occurs during removal7664 behaves like error response7665 has an informative message7666admin mode on tasks7667 with a regular user7668 matches the expected admin mode7669 with an admin7670 matches the expected admin mode7671GraphHelper7672 #get_refs7673 filters our refs used by GitLab7674 #should_render_dora_charts7675 always returns false7676 #should_render_quality_summary7677 always returns false7678AuthorizedProjectUpdate::ProjectRecalculatePerUserWorker7679 is labeled as idempotent7680 performs multiple times sequentially without raising an exception7681 does not change authorizations when run twice7682 #perform7683 does not fail if the project does not exist7684 does not fail if the user does not exist7685 calls AuthorizedProjectUpdate::ProjectRecalculatePerUserService7686 exclusive lease7687 when exclusive lease has not been taken7688 obtains a new exclusive lease7689 when exclusive lease has already been taken7690 raises an error7691Gitlab::GitalyClient::ConflictFilesStitcher7692 enumeration7693 combines segregated ConflictFile messages together7694Gitlab::ProjectTransfer7695 #move_project7696 moves project upload to another namespace7697 #move_namespace7698 when moving namespace from root into another namespace7699 moves namespace projects' upload7700 when moving namespace from one parent to another7701 moves namespace projects' upload7702 when moving namespace from having a parent to root7703 moves namespace projects' upload7704 #rename_project7705 renames project7706 #rename_namespace7707 renames namespace7708Ci::PipelineArtifacts::CodeQualityMrDiffPresenter7709 #for_files7710 when code quality has data7711 when filenames is empty7712 returns hash without quality7713 when filenames do not match code quality data7714 returns hash without quality7715 when filenames matches code quality data7716 when asking for one filename7717 returns quality for the given filename7718 when asking for multiple filenames7719 returns quality for the given filenames7720Gitlab::Cluster::RackTimeoutObserver7721 #callback7722 when request times out7723 increments counter7724 when request expires7725 increments counter7726 when request is being processed7727 does not increment counter7728EnvironmentsHelper7729 #metrics_data7730 returns data7731 without admin_operations permission7732 is expected to include {"can_access_operations_settings" => "false"}7733 with metrics_setting7734 adds external_dashboard_url7735 when the environment is not available7736 is expected to include {"environment_state" => "stopped"}7737 when request is from project scoped metrics path7738 /:namespace/:project/-/metrics7739 uses correct path for metrics_dashboard_base_path7740 /:namespace/:project/-/metrics/some_custom_dashboard.yml7741 uses correct path for metrics_dashboard_base_path7742 #custom_metrics_available?7743 returns true7744 #environment_logs_data7745 returns logs data7746 #environment_data7747 returns the environment as JSON7748events/event/_push.html.haml7749 with a branch7750 links to the branch7751 that has been deleted7752 does not link to the branch7753 ref_count is more than 17754 includes the count in the text7755 with a tag7756 links to the tag7757 that has been deleted7758 does not link to the tag7759 ref_count is more than 17760 includes the count in the text7761UsersStarProjectsFinder7762 #execute7763 as same user7764 is expected to contain exactly #<UsersStarProject id: 2, project_id: 1062, user_id: 2038, created_at: "2022-06-29 20:38:58.812450000 +0000", updated_at: "2022-06-29 20:38:58.812450000 +0000"> and #<UsersStarProject id: 1, project_id: 1062, user_id: 2036, created_at: "2022-06-29 20:38:58.552026000 +0000", updated_at: "2022-06-29 20:38:58.552026000 +0000">7765 as other user7766 is expected to contain exactly #<UsersStarProject id: 3, project_id: 1063, user_id: 2039, created_at: "2022-06-29 20:38:59.545492000 +0000", updated_at: "2022-06-29 20:38:59.545492000 +0000">7767 as no user7768 is expected to contain exactly #<UsersStarProject id: 5, project_id: 1064, user_id: 2043, created_at: "2022-06-29 20:39:00.549266000 +0000", updated_at: "2022-06-29 20:39:00.549266000 +0000">7769Ci::CreatePipelineService7770 .pre/.post stages7771 when pipeline contains a build except .pre/.post7772 creates a pipeline7773 when pipeline does not contain any other build except .pre/.post7774 does not create a pipeline7775Gitlab::ImportFormatter7776 #comment7777 creates the correct string7778 #author_line7779 returns the correct string with provided author name7780 returns the correct string with Anonymous name if author not provided7781 #assignee_line7782 returns the correct string with provided author name7783 returns the correct string with Anonymous name if author not provided7784Gitlab::Monitor::DemoProjects7785 #primary_keys7786 fetches primary_keys when on gitlab.com7787 fetches primary_keys when on staging7788 fetches all keys when in the dev or test env7789 falls back on empty array7790Gitlab::View::Presenter::Delegated7791 includes Gitlab::View::Presenter::Base7792 #initialize7793 takes arbitrary key/values and exposes them7794 raise an error if the presentee already respond to method7795 delegation7796 forwards missing methods to subject7797Ci::SecureFilesHelper7798 #show_secure_files_setting7799 when the :ci_secure_files feature flag is enabled7800 authenticated user with admin permissions7801 is expected to equal true7802 authenticated user with read permissions7803 is expected to equal true7804 authenticated user with guest permissions7805 is expected to equal false7806 authenticated user with no permissions7807 is expected to equal false7808 unconfirmed user7809 is expected to equal false7810 unauthenticated user7811 is expected to equal false7812 when the :ci_secure_files feature flag is disabled7813 authenticated user with admin permissions7814 is expected to equal false7815Gitlab::FIPS7816 .enabled?7817 OpenSSL auto-detection7818 OpenSSL is in FIPS mode7819 is expected to be truthy7820 OpenSSL is not in FIPS mode7821 is expected to be falsey7822 manual configuration via env var7823 env var is not set7824 is expected to be falsey7825 env var is set to true7826 is expected to be truthy7827 env var is set to false7828 is expected to be falsey7829Gitlab::UrlBlockers::IpAllowlistEntry7830 #initialize7831 initializes without port7832 initializes with port7833 #match?7834 matches with equivalent IP and port7835 matches any port when port is nil7836 does not match when port is present but requested_port is nil7837 matches when port and requested_port are nil7838 works with ipv67839 matches ipv4 within IPv4 range7840 matches IPv6 within IPv6 range7841Ci::DestroySecureFileService7842 user is a maintainer7843 destroys the secure file7844 user is a developer7845 raises an exception7846Clusters::Kubernetes7847 is expected to be const defined :GITLAB_SERVICE_ACCOUNT_NAME7848 is expected to be const defined :GITLAB_SERVICE_ACCOUNT_NAMESPACE7849 is expected to be const defined :GITLAB_ADMIN_TOKEN_NAME7850 is expected to be const defined :GITLAB_CLUSTER_ROLE_BINDING_NAME7851 is expected to be const defined :GITLAB_CLUSTER_ROLE_NAME7852 is expected to be const defined :PROJECT_CLUSTER_ROLE_NAME7853 is expected to be const defined :GITLAB_KNATIVE_SERVING_ROLE_NAME7854 is expected to be const defined :GITLAB_KNATIVE_SERVING_ROLE_BINDING_NAME7855 is expected to be const defined :GITLAB_CROSSPLANE_DATABASE_ROLE_NAME7856 is expected to be const defined :GITLAB_CROSSPLANE_DATABASE_ROLE_BINDING_NAME7857Terraform::States::TriggerDestroyService7858 #execute7859 marks the state as deleted and schedules a cleanup worker7860 within a database transaction7861 does not raise an EnqueueFromTransactionError7862 user does not have permission7863 does not modify the state7864 state is locked7865 does not modify the state7866Gitlab::Identifier7867 #identify7868 without an identifier7869 returns nil7870 with a user identifier7871 identifies the user using a user ID7872 with an SSH key identifier7873 identifies the user using an SSH key ID7874 #identify_using_user7875 returns the User for an existing ID in the identifier7876 returns nil for a non existing user ID7877 caches the found users per ID7878 #identify_using_ssh_key7879 returns the User for an existing SSH key7880 returns nil for an invalid SSH key7881 caches the found users per key7882RuboCop::Cop::SafeParams7883 flags the params as an argument of url_for7884 flags the merged params as an argument of url_for7885 flags the merged params arg as an argument of url_for7886 does not flag other argument of url_for7887BranchFilterValidator7888 #validates_each7889 allows valid branch names7890 disallows bad branch names7891 allows wildcards7892 gets rid of whitespace7893 limits length to 4000 chars7894Gitlab::Database::Migrations::Observers::QueryLog7895 writes a file with the query log7896 does not change the default logger7897LegacyBulkInsert7898 #bulk_insert7899 does nothing with empty rows7900 uses the ordering from the first row7901 quotes column names7902 quotes values7903 does not quote values of a column in the disable_quote option7904 does not quote values of columns in the disable_quote option7905 handles non-UTF-8 data7906 when using PostgreSQL7907 allows the returning of the IDs of the inserted rows7908 allows setting the upsert to do nothing7909Gitlab::Memory::Jemalloc7910 when jemalloc is loaded7911 with JSON format7912 .stats7913 returns stats JSON7914 .dump_stats7915 writes stats JSON file7916 with text format7917 .stats7918 returns a text report7919 .dump_stats7920 writes stats text file7921 with unsupported format7922 .stats7923 raises an error7924 .dump_stats7925 raises an error7926 when jemalloc is not loaded7927 .stats7928 returns nil7929 .dump_stats7930 does nothing7931Types::AccessLevelType7932 is expected to eq "AccessLevel"7933 is expected to require graphql authorizations nil7934 has expected fields7935Gitlab::FogbugzImport::ProjectCreator7936 creates project with private visibility level7937 creates project with provided name and path7938Gitlab::ExternalAuthorization7939 #access_allowed?7940 is always true when the feature is disabled7941 #rejection_reason7942 is always nil when the feature is disabled7943 #access_for_user_to_label7944 only loads the access once per request7945 logs the access request once per request7946Gitlab::Ci::Status::Build::WaitingForResource7947 is expected to be < Gitlab::Ci::Status::Processable::WaitingForResource7948WorkItems::Widgets::Hierarchy7949 .type7950 is expected to eq :hierarchy7951 #type7952 is expected to eq :hierarchy7953 #parent7954 is expected to eq #<WorkItem id:342 namespace833/project946#2>7955 when work_items_hierarchy flag is disabled7956 is expected to be nil7957 #children7958 is expected to contain exactly #<WorkItem id:343 namespace832/project945#2> and #<WorkItem id:344 namespace832/project945#3>7959 when work_items_hierarchy flag is disabled7960 is expected to be empty7961Auth::DependencyProxyAuthenticationService7962 #execute7963 dependency proxy is not enabled7964 behaves like returning7965 returns dependency proxy not enabled7966 without a user7967 behaves like returning7968 returns access forbidden7969 with a deploy token as user7970 behaves like returning a token7971 returns a token7972 with a user7973 behaves like returning a token7974 returns a token7975Gitlab::ImportExport::Json::NdjsonWriter7976 #write_attributes7977 writes correct json to root7978 #write_relation7979 when single relation is serialized7980 appends json in correct file7981 when single relation is already serialized7982 raise exception7983 #write_relation_array7984 writes json in correct files7985Gitlab::SQL::CTE7986 #to_arel7987 when relation is an ActiveRecord::Relation7988 generates an Arel relation for the CTE body7989 when relation is a String7990 generates an Arel relation for the CTE body7991 #alias_to7992 returns an alias for the CTE7993 #apply_to7994 applies a CTE to an ActiveRecord::Relation7995 behaves like CTE with MATERIALIZED keyword examples7996 adding MATERIALIZE to the CTE7997 when PG version is <127998 does not add MATERIALIZE keyword7999 when PG version is >=128000 adds MATERIALIZE keyword8001 when version is higher than 128002 adds MATERIALIZE keyword8003 when materialized is disabled8004 does not add MATERIALIZE keyword8005Integrations::EnableSslVerification8006 accessors8007 is expected to respond to #enable_ssl_verification8008 is expected to respond to #enable_ssl_verification?8009 #initialize_properties8010 enables the setting by default8011 does not enable the setting if the record is already persisted8012 does not enable the setting if a custom value was set8013 #fields8014 inserts the checkbox field after the first URL field, or at the end8015 does not insert the field repeatedly8016GroupDestroyWorker8017 #perform8018 deletes the project8019BranchesHelper8020 #access_levels_data8021 when access_levels is nil8022 is expected to be empty8023 when access levels are provided8024 returns the correct array8025 when an access level tied to a deploy key is provided8026 returns the correct array8027projects/pages_domains/show8028 when auto_ssl is enabled8029 when domain is disabled8030 shows verification warning8031 when certificate is absent8032 shows alert about time of obtaining certificate8033Metrics::UsersStarredDashboards::DeleteService8034 #execute8035 without dashboard_path8036 does not scope user starred dashboards by dashboard path8037 with dashboard_path8038 does scope user starred dashboards by dashboard path8039Gitlab::Git::RemoteMirror8040 #update8041 delegates to the Gitaly client8042 wraps gitaly errors8043Types::IssueTypeEnum8044 is expected to eq "IssueType"8045 exposes all the existing issue type values8046Admin::UserEntity8047 #as_json8048 exposes correct attributes8049notifications routing8050 routes to #show8051 routes to #update8052 routes to group #update8053Resolvers::PackagesBaseResolver8054 #resolve8055 throws an error8056CreateNoteDiffFileWorker8057 #perform8058 creates diff file8059 when the supplied diff_note_id doesn't belong to an existing DiffNote8060 returns nil without raising an error8061 when called with a missing diff_note id8062 returns nil without creating diff file8063RuboCop::Cop::Graphql::JSONType8064 does not add an offense for uses outside of field or argument8065 fields8066 adds an offense when GraphQL::Types::JSON is used8067 adds an offense when GraphQL::Types::JSON is used with other keywords8068 does not add an offense for other types8069 arguments8070 adds an offense when GraphQL::Types::JSON is used8071 adds an offense when GraphQL::Types::JSON is used with other keywords8072 does not add an offense for other types8073JiraConnect::SyncFeatureFlagsWorker8074 behaves like worker with data consistency8075 .get_data_consistency_feature_flag_enabled?8076 returns true8077 .get_data_consistency8078 returns correct data consistency8079 #perform8080 when object exists8081 calls the Jira sync service8082 when object does not exist8083 does not call the sync service8084Evidences::IssueEntity8085 exposes the expected fields8086API::Entities::Ci::JobRequest::Image8087 returns the image name8088 returns the entrypoint8089 returns the ports8090 returns the pull policy8091 when the ports param is nil8092 does not return the ports8093 when the FF ci_docker_image_pull_policy is disabled8094 does not return the pull policy8095Ci::JobsHelper8096 jobs data8097 returns bridge data8098Gitlab::SQL::Intersect8099 behaves like SQL set operator8100 .operator_keyword8101 is expected to eq "INTERSECT"8102 #to_sql8103 returns a String joining relations together using a INTERSECT8104 skips Model.none segments8105 uses INTERSECT ALL when removing duplicates is disabled8106 returns `NULL` if all relations are empty8107 when uneven select values are used8108 raises error8109 remove_order parameter8110 when remove_order: true8111 removes the ORDER BY from the query8112 when remove_order: false8113 does not remove the ORDER BY from the query8114Gitlab::Audit::NullAuthor8115 .for8116 returns an DeletedAuthor8117 returns an UnauthenticatedAuthor when id equals -18118 returns a CiRunnerTokenAuthor when details contain runner registration token8119 returns a CiRunnerTokenAuthor when details contain runner authentication token8120 returns DeployTokenAuthor when id equals -28121 #current_sign_in_ip8122 is expected to be nil8123Banzai::Filter::KrokiFilter8124 replaces nomnoml pre tag with img tag if kroki is enabled8125 replaces nomnoml pre tag with img tag if both kroki and plantuml are enabled8126 does not replace nomnoml pre tag with img tag if kroki is disabled8127 does not replace plantuml pre tag with img tag if both kroki and plantuml are enabled8128 adds hidden attribute when content size is large8129Gitlab::Database::QueryAnalyzers::GitlabSchemasMetrics8130 does not increment metrics if feature flag is disabled8131 properly observes all queries8132 for simple query observes schema correctly8133 is expected to receive increment({:db_config_name=>"main", :gitlab_schemas=>"gitlab_main"}) 1 time8134 for query accessing gitlab_ci and gitlab_main8135 is expected to receive increment({:db_config_name=>"main", :gitlab_schemas=>"gitlab_ci,gitlab_main"}) 1 time8136 for query accessing gitlab_ci and gitlab_main the gitlab_schemas is always ordered8137 is expected to receive increment({:db_config_name=>"main", :gitlab_schemas=>"gitlab_ci,gitlab_main"}) 1 time8138 for query accessing CI database8139 is expected to receive increment({:db_config_name=>"ci", :gitlab_schemas=>"gitlab_ci"}) 1 time8140BulkImports::ExportService8141 #execute8142 schedules RelationExportWorker for each top level relation8143 when exception occurs8144 does not schedule RelationExportWorker8145DeleteUserWorker8146 calls the DeleteUserWorker with the params it was given8147 uses symbolized keys8148RepositoryCheck::DispatchWorker8149 does nothing when repository checks are disabled8150 does nothing if the exclusive lease is taken8151 dispatches work to RepositoryCheck::BatchWorker8152 with unhealthy shard8153 only triggers RepositoryCheck::BatchWorker for healthy shards8154 logs unhealthy shards8155Gitlab::DependencyLinker::PodfileLinker8156 .support?8157 supports Podfile8158 does not support other files8159 #link8160 links sources8161 links packages8162 links external packages8163 links Git repos8164RuboCop::Cop::Migration::BackgroundMigrationBaseClass8165 when the migration class inherits from BatchedMigrationJob8166 does not register any offenses8167 when the migration class inherits from the namespaced BatchedMigrationJob8168 does not register any offenses8169 when the migration class inherits from the top-level namespaced BatchedMigrationJob8170 does not register any offenses8171 when a nested class is used inside the job class8172 does not register any offenses8173 when the migration class inherits from another class8174 registers an offense8175 when the migration class does not inherit from anything8176 registers an offense8177RuboCop::Cop::CodeReuse::ServiceClass8178 flags the use of a Service class in a Finder8179 flags the use of a Service class in a Presenter8180 flags the use of a Service class in a Serializer8181 flags the use of a Service class in a model8182 does not flag the use of a Service class in a regular class8183Gitlab::Usage::Metrics::Instrumentations::CountUsersAssociatingMilestonesToReleasesMetric8184 behaves like a correct instrumented metric value8185 has correct value8186Packages::GroupOrProjectPackageFinder8187 execute8188 is expected to raise NotImplementedError8189 execute!8190 is expected to raise NotImplementedError8191DetectRepositoryLanguagesWorker8192 #perform8193 calls de DetectRepositoryLanguages service8194 when invalid ids are used8195 does not raise when the project could not be found8196ProductAnalytics::BuildGraphService8197 returns a valid graph hash8198Packages::Rubygems::Metadatum8199 relationships8200 is expected to belong to package required: false8201 validations8202 is expected to validate that :package cannot be empty/falsy8203 #rubygems_package_type8204 will not allow a package with a different package_type8205LearnGitlab::Onboarding8206 #completed_percentage8207 when no onboarding_progress exists8208 is expected to eq 08209 when no action has been completed8210 is expected to eq 08211 when one action has been completed8212 is expected to eq 118213 when all tracked actions have been completed8214 is expected to eq 1008215Types::GrafanaIntegrationType8216 is expected to eq "GrafanaIntegration"8217 is expected to require graphql authorizations :admin_operations8218 is expected to have graphql fields :id, :grafana_url, :enabled, :created_at, and :updated_at8219Gitlab::WordDiff::Parser8220 #parse8221 returns a collection of lines8222 restarts object index after several calls to Enumerator8223 when diff is empty8224 is expected to eq []8225WorkItems::Widgets::Description8226 .type8227 is expected to eq :description8228 #type8229 is expected to eq :description8230 #description8231 is expected to eq "# Title"8232RuboCop::Cop::Graphql::ResolverType8233 adds an offense when there is no type annotation8234 does not add an offense for resolvers that have a type call8235 ignores type calls on other objects8236 does not add an offense unless the class is named using the Resolver convention8237Types::AlertManagement::IntegrationTypeEnum8238 is expected to eq "AlertManagementIntegrationType"8239 statuses8240 name: "PROMETHEUS", value: :prometheus8241 exposes a type with the correct value8242 name: "HTTP", value: :http8243 exposes a type with the correct value8244WebpackHelper8245 #prefetch_link_tag8246DEPRECATION WARNING: The asset "foo.js" is not present in the asset pipeline.8247Falling back to an asset that may be in the public folder.8248This behavior is deprecated and will be removed.8249To bypass the asset pipeline and preserve this behavior,8250use the `skip_pipeline: true` option.8251 (called from prefetch_link_tag at /builds/gitlab-org/gitlab/app/helpers/webpack_helper.rb:5)8252 returns prefetch link tag8253 #webpack_preload_asset_tag8254 preloads the resource by default8255 prefetches the resource if explicitly asked8256Gitlab::GithubImport::Stage::ImportPullRequestsMergedByWorker8257 #import8258 imports all the pull requests8259CronValidator8260 validates valid crontab8261 validates invalid crontab8262 cron field is not whitelisted8263 raises an error8264Ci::JobArtifacts::DeleteProjectArtifactsService8265 #execute8266 enqueues a Ci::ExpireProjectBuildArtifactsWorker8267BoardSerializer8268 serialization8269 matches issue_sidebar json schema8270Gitlab::Ci::YamlProcessor::Dag8271 when it is a regular pipeline8272 returns ordered jobs8273 when there is a circular dependency8274 raises TSort::Cyclic8275 when there are some missing jobs8276 ignores the missing ones and returns in a valid order8277Ci::TriggersHelper8278 .builds_trigger_url8279 with no ref8280 is expected to eq "http://localhost/api/v4/projects/1/trigger/pipeline"8281 with ref8282 is expected to eq "http://localhost/api/v4/projects/1/ref/master/trigger/pipeline"8283 .service_trigger_url8284 is expected to eq "http://localhost/api/v4/projects/1/services/param/trigger"8285Gitlab::Config::Entry::Boolean8286 validations8287 when entry config value is valid8288 #value8289 returns key value8290 #valid?8291 is valid8292 when entry value is not valid8293 #errors8294 saves errors8295Packages::Composer::CacheCleanupWorker8296 #perform8297 does nothing8298Gitlab::HashDigest::Facade8299 .hexdigest8300 uses SHA2568301 when feature flags is not available8302 uses MD58303 when active_support_hash_digest_sha256 FF is disabled8304 uses MD58305Gitlab::Ci::Artifacts::Metrics8306 #increment_destroyed_artifacts8307 when incrementing by more than one8308 increments a single counter8309Gitlab::Prometheus::Queries::ValidateQuery8310 valid query8311 passess query to prometheus8312 invalid query8313 returns invalid8314 when exceptions occur8315 Gitlab::HTTP::BlockedUrlError8316 catches exception and returns invalid8317RecaptchaHelper8318 .show_recaptcha_sign_up?8319 when reCAPTCHA is disabled8320 returns false8321 when reCAPTCHA is enabled8322 returns true8323Namespaces::UserNamespace8324 validations8325 is expected to validate that :owner cannot be empty/falsy8326 #owners8327 is expected to contain exactly #<User id: @user1395>8328Types::MergeRequestSortEnum8329 is expected to eq "MergeRequestSort"8330 exposes all the existing issue sort values8331 behaves like common sort values8332 exposes all the existing common sort values8333PartitionedTable8334 .partitioned_by8335 assigns the MonthlyStrategy as the partitioning strategy8336 passes the partitioning key to the strategy instance8337 with keyword arguments passed to the strategy8338 passes the keyword arguments to the strategy8339Ci::CodequalityMrDiffReportSerializer8340 #to_json8341 when quality report has degradations8342 matches the schema8343 when quality report has no degradations8344 matches the schema8345Ci::TriggerRequest8346 validation8347 be invalid if saving a variable8348 be valid if not saving a variable8349Gitlab::WithRequestStore8350 #with_request_store8351 starts a request store and yields control8352 only starts a request store once when nested8353RuboCop::Cop::RSpec::EnvAssignment8354 with a key using single quotes8355 behaves like an offensive and correction ENV#[]= call8356 registers an offense for `ENV['FOO'] = 'bar'` and corrects8357 with a key using double quotes8358 behaves like an offensive and correction ENV#[]= call8359 registers an offense for `ENV["FOO"] = 'bar'` and corrects8360Types::WorkItems::Widgets::DescriptionInputType8361 is expected to eq "WorkItemWidgetDescriptionInput"8362 is expected to contain exactly "description"8363API::Entities::BulkImports::Entity8364 has the correct attributes8365Gitlab::PhabricatorImport::Representation::User8366 #phabricator_id8367 returns the phabricator id8368 #username8369 returns the username8370Serverless::DomainEntity8371 #as_json8372 has an id8373 has a domain8374Sidebars::Concerns::ContainerWithHtmlOptions8375 #container_html_options8376 includes by default aria-label attribute8377 #collapsed_container_html_options8378 includes by default aria-label attribute8379DeployKeys::CreateService8380 creates a deploy key8381Test coverage of the Project Import8382 ensures that all imported/exported relations are present in test JSONs8383Integrations::ProjectSerializer8384 represents Integrations::ProjectEntity entities8385Banzai::Filter::NormalizeSourceFilter8386 removes the UTF8 BOM from the beginning of the text8387 does not remove those characters from anywhere else in the text8388Rails asset host initializer8389 uses no asset host by default8390 with cdn_host defined in gitlab.yml8391 returns https://gitlab.example.com8392Namespaces::OnboardingUserAddedWorker#perform8393 behaves like records an onboarding progress action8394 is expected to receive execute({:action=>:user_added}) 1 time8395MergeRequestContextCommitDiffFile8396 associations8397 is expected to belong to merge_request_context_commit required: false8398API::Entities::Nuget::PackageMetadataCatalogEntry8399 is expected to eq {:@id=>"http://sandbox.com/json/package", :authors=>"Authors", :dependencyGroups=>[], :iconUrl=>"http...tUrl=>"http://sandbox.com/project", :summary=>"Summary", :tags=>"tag1 tag2 tag3", :version=>"1.2.3"}8400layouts/header/_gitlab_version8401 when show_version_check? is true8402 renders the version check badge8403Gitlab::GithubImport::ImportPullRequestWorker8404 #import8405 imports a pull request8406Gitlab::Kubernetes::TlsSecret8407 #generate8408 is expected to eq #<Kubeclient::Resource type="kubernetes.io/tls", metadata={:name=>"example-name", :namespace=>"example-namespace"}, data={:"tls.crt"=>"ZXhhbXBsZS1jZXJ0", :"tls.key"=>"ZXhhbXBsZS1rZXk="}>8409Types::PermissionTypes::User8410 returns user permissions8411Knapsack report was generated. Preview:8412{8413 "spec/services/service_ping/submit_service_ping_service_spec.rb": 515.1664876450004,8414 "spec/services/issues/update_service_spec.rb": 180.20718285099974,8415 "spec/models/namespace/traversal_hierarchy_spec.rb": 150.98125622099997,8416 "spec/services/web_hooks/log_execution_service_spec.rb": 100.68343536599969,8417 "spec/services/projects/fork_service_spec.rb": 87.59974942599911,8418 "spec/models/clusters/applications/runner_spec.rb": 68.04037435400096,8419 "spec/models/ci/build_trace_chunk_spec.rb": 36.34933167800045,8420 "spec/uploaders/file_uploader_spec.rb": 48.616824143000485,8421 "spec/lib/gitlab/ci/templates/Jobs/deploy_gitlab_ci_yaml_spec.rb": 69.35463569300009,8422 "spec/lib/gitlab/import_export/project/relation_tree_restorer_spec.rb": 60.011186059000465,8423 "spec/models/broadcast_message_spec.rb": 15.930946484000742,8424 "spec/lib/gitlab/gfm/reference_rewriter_spec.rb": 50.30227804400056,8425 "spec/lib/gitlab/ci/templates/templates_spec.rb": 14.300001699999484,8426 "spec/services/projects/unlink_fork_service_spec.rb": 39.903156271000626,8427 "spec/helpers/submodule_helper_spec.rb": 17.105877198999224,8428 "spec/models/integrations/jenkins_spec.rb": 24.138813039000524,8429 "spec/lib/gitlab/import_export/references_configuration_spec.rb": 9.872779968000032,8430 "spec/uploaders/avatar_uploader_spec.rb": 22.321047624998755,8431 "spec/models/notification_recipient_spec.rb": 21.48701439300021,8432 "spec/services/packages/maven/find_or_create_package_service_spec.rb": 23.016879562001122,8433 "spec/graphql/resolvers/namespace_projects_resolver_spec.rb": 30.295631300999958,8434 "spec/models/clusters/agent_spec.rb": 17.5503997779997,8435 "spec/services/projects/import_export/export_service_spec.rb": 18.910771193999608,8436 "spec/tasks/gitlab/check_rake_spec.rb": 20.070399291000285,8437 "spec/views/layouts/nav/sidebar/_group.html.haml_spec.rb": 12.846724128999995,8438 "spec/lib/gitlab/diff/rendered/notebook/diff_file_spec.rb": 17.854855403998954,8439 "spec/lib/gitlab/ci/status/bridge/factory_spec.rb": 20.963492077999035,8440 "spec/services/merge_requests/add_todo_when_build_fails_service_spec.rb": 20.904120930999852,8441 "spec/services/ci/pipeline_trigger_service_spec.rb": 12.674636646999716,8442 "spec/lib/gitlab/blob_helper_spec.rb": 12.339638181998453,8443 "spec/models/active_session_spec.rb": 7.921808028999294,8444 "spec/services/upload_service_spec.rb": 8.91074625299916,8445 "spec/services/issue_links/list_service_spec.rb": 14.560468829000456,8446 "spec/lib/gitlab/sidekiq_config/worker_matcher_spec.rb": 1.4162097630014614,8447 "spec/finders/branches_finder_spec.rb": 13.803084402999957,8448 "spec/models/integrations/base_chat_notification_spec.rb": 8.881757903998732,8449 "spec/lib/gitlab/github_import/client_spec.rb": 2.18115423800009,8450 "spec/graphql/mutations/merge_requests/set_draft_spec.rb": 9.146545031999267,8451 "spec/services/projects/update_pages_service_spec.rb": 12.360516481001468,8452 "spec/lib/gitlab/gitaly_client_spec.rb": 2.6689937349983666,8453 "spec/lib/gitlab/database/query_analyzers/prevent_cross_database_modification_spec.rb": 3.383458370999506,8454 "spec/models/snippet_repository_spec.rb": 5.233675404000678,8455 "spec/services/projects/hashed_storage/migrate_attachments_service_spec.rb": 7.6908972399996856,8456 "spec/lib/gitlab/search/recent_merge_requests_spec.rb": 9.38391878100083,8457 "spec/tooling/quality/test_level_spec.rb": 1.1728336550004315,8458 "spec/models/ci/resource_group_spec.rb": 12.609752869000658,8459 "spec/lib/gitlab/cache/ci/project_pipeline_status_spec.rb": 8.079824372000076,8460 "spec/models/ci/build_trace_metadata_spec.rb": 6.689944056999593,8461 "spec/lib/gitlab/github_import/importer/pull_requests_importer_spec.rb": 9.382328739999139,8462 "spec/views/projects/commit/branches.html.haml_spec.rb": 7.855636632999449,8463 "spec/finders/projects/groups_finder_spec.rb": 4.955009138000605,8464 "spec/lib/gitlab/database/load_balancing/transaction_leaking_spec.rb": 9.079145874999085,8465 "spec/lib/gitlab/database_spec.rb": 1.6004832449998503,8466 "spec/services/ci/create_pipeline_service/cache_spec.rb": 6.31125729499945,8467 "spec/lib/gitlab/legacy_github_import/importer_spec.rb": 7.882923941000627,8468 "spec/lib/gitlab/file_hook_spec.rb": 3.976166882999678,8469 "spec/lib/banzai/pipeline/full_pipeline_spec.rb": 6.835150869999779,8470 "spec/lib/atlassian/jira_connect/serializers/deployment_entity_spec.rb": 6.088112805000492,8471 "spec/services/incident_management/timeline_events/create_service_spec.rb": 3.1840233509992686,8472 "spec/lib/bulk_imports/common/pipelines/milestones_pipeline_spec.rb": 7.300613048000741,8473 "spec/lib/banzai/reference_redactor_spec.rb": 5.379163908000919,8474 "spec/models/personal_snippet_spec.rb": 2.1712675290000334,8475 "spec/services/notes/post_process_service_spec.rb": 5.837860636000187,8476 "spec/lib/gitlab/chat/responder/slack_spec.rb": 9.448728318000576,8477 "spec/lib/gitlab/ci/status/build/failed_allowed_spec.rb": 5.026153013999647,8478 "spec/lib/gitlab/error_tracking/processor/sidekiq_processor_spec.rb": 1.648553143000754,8479 "spec/graphql/mutations/ci/runner/delete_spec.rb": 6.014825047999693,8480 "spec/lib/sidebars/menu_spec.rb": 1.447409192998748,8481 "spec/services/pages/zip_directory_service_spec.rb": 1.8135849659993255,8482 "spec/serializers/cluster_application_entity_spec.rb": 5.434542004999457,8483 "spec/lib/uploaded_file_spec.rb": 0.971935024999766,8484 "spec/models/members/member_task_spec.rb": 4.015072381000209,8485 "spec/lib/gitlab/mail_room/mail_room_spec.rb": 0.9003979570006777,8486 "spec/uploaders/lfs_object_uploader_spec.rb": 1.8131552960003319,8487 "spec/config/inject_enterprise_edition_module_spec.rb": 1.2296064729998761,8488 "spec/models/packages/maven/metadatum_spec.rb": 1.3604084660000808,8489 "spec/lib/gitlab/pagination/keyset/column_order_definition_spec.rb": 0.8990508280003269,8490 "spec/lib/sidebars/projects/menus/analytics_menu_spec.rb": 1.7564896580006462,8491 "spec/models/grafana_integration_spec.rb": 3.734035767000023,8492 "spec/graphql/resolvers/group_packages_resolver_spec.rb": 7.418927088998316,8493 "spec/lib/gitlab/suggestions/file_suggestion_spec.rb": 2.9080078909992153,8494 "spec/services/projects/gitlab_projects_import_service_spec.rb": 3.3125898800008144,8495 "spec/finders/personal_projects_finder_spec.rb": 5.282829888999913,8496 "spec/lib/gitlab/ci/pipeline/chain/config/content_spec.rb": 5.026957153000694,8497 "spec/lib/gitlab/ci/status/build/play_spec.rb": 3.4001254260001588,8498 "spec/services/terraform/remote_state_handler_spec.rb": 1.8084810669988656,8499 "spec/services/packages/helm/process_file_service_spec.rb": 3.891352239999833,8500 "spec/lib/gitlab/kubernetes_spec.rb": 0.9824165399986668,8501 "spec/models/ci/build_trace_chunks/database_spec.rb": 5.667319799000325,8502 "spec/lib/gitlab/batch_pop_queueing_spec.rb": 1.1400155310002447,8503 "spec/models/incident_management/project_incident_management_setting_spec.rb": 1.197818388000087,8504 "spec/workers/delete_diff_files_worker_spec.rb": 4.474604850000105,8505 "spec/lib/gitlab/local_and_remote_storage_migration/artifact_migrater_spec.rb": 2.901978071000485,8506 "spec/services/clusters/agents/delete_expired_events_service_spec.rb": 3.196756554998501,8507 "spec/presenters/instance_clusterable_presenter_spec.rb": 3.4017427250000765,8508 "spec/services/personal_access_tokens/create_service_spec.rb": 3.1184952900002827,8509 "spec/lib/gitlab/hook_data/base_builder_spec.rb": 1.10272734299906,8510 "spec/services/bulk_update_integration_service_spec.rb": 2.402243257000009,8511 "spec/serializers/build_action_entity_spec.rb": 4.557437345998551,8512 "spec/services/groups/group_links/destroy_service_spec.rb": 3.631664794000244,8513 "spec/models/concerns/has_user_type_spec.rb": 1.0570526550000068,8514 "spec/lib/gitlab/database/load_balancing/service_discovery_spec.rb": 0.6050759289992129,8515 "spec/scripts/changed-feature-flags_spec.rb": 0.5086147439997148,8516 "spec/finders/environments/environments_finder_spec.rb": 1.4281843569988268,8517 "spec/lib/gitlab/template/metrics_dashboard_template_spec.rb": 0.46548905599956925,8518 "spec/models/user_status_spec.rb": 0.9576074010001321,8519 "spec/models/milestone_release_spec.rb": 3.9026212790013233,8520 "spec/lib/sidebars/projects/menus/packages_registries_menu_spec.rb": 1.0361836859992763,8521 "spec/lib/gitlab/config/loader/yaml_spec.rb": 0.7325778630001878,8522 "spec/lib/gitlab/import_export/lfs_saver_spec.rb": 2.8415443349986163,8523 "spec/helpers/ci/pipeline_editor_helper_spec.rb": 2.9752437780007313,8524 "spec/lib/gitlab/endpoint_attributes_spec.rb": 0.8332471170015197,8525 "spec/lib/gitlab/health_checks/redis/redis_check_spec.rb": 0.7646272710007906,8526 "spec/graphql/types/repository_type_spec.rb": 0.4894254249993537,8527 "spec/rubocop/cop/usage_data/large_table_spec.rb": 0.4196870579999086,8528 "spec/lib/gitlab/external_authorization/client_spec.rb": 1.1491489709987945,8529 "spec/scripts/pipeline_test_report_builder_spec.rb": 0.47838367499934975,8530 "spec/rubocop/cop/migration/drop_table_spec.rb": 0.29304927499833866,8531 "spec/lib/sidebars/groups/menus/group_information_menu_spec.rb": 1.5290553319991886,8532 "spec/lib/gitlab/ci/reports/security/finding_key_spec.rb": 0.6386193369999091,8533 "spec/presenters/ci/group_variable_presenter_spec.rb": 1.599684297998465,8534 "spec/lib/gitlab/github_import/issuable_finder_spec.rb": 2.000682596999468,8535 "spec/lib/gitlab/query_limiting/transaction_spec.rb": 0.5332397620004485,8536 "spec/lib/gitlab/kubernetes/kubectl_cmd_spec.rb": 0.3649386709985265,8537 "spec/graphql/mutations/security/ci_configuration/configure_secret_detection_spec.rb": 2.3505632689993945,8538 "spec/lib/gitlab/ci/badge/coverage/report_spec.rb": 1.2915606240003399,8539 "spec/models/protected_branch/push_access_level_spec.rb": 3.2944402409993927,8540 "spec/lib/gitlab/utils/inline_hash_spec.rb": 0.2848002949995134,8541 "spec/workers/deployments/link_merge_request_worker_spec.rb": 2.991636895998454,8542 "spec/lib/api/helpers/related_resources_helpers_spec.rb": 0.3249137830007385,8543 "spec/models/loose_foreign_keys/deleted_record_spec.rb": 1.0846555440002703,8544 "spec/lib/gitlab/ci/status/preparing_spec.rb": 0.22473854800045956,8545 "spec/lib/gitlab/auth/o_auth/provider_spec.rb": 0.41772704899995006,8546 "spec/lib/gitlab/analytics/cycle_analytics/aggregated/records_fetcher_spec.rb": 1.6817476039996109,8547 "spec/workers/gitlab/github_import/stage/import_notes_worker_spec.rb": 2.373696528000437,8548 "spec/initializers/validate_puma_spec.rb": 0.5120278529993811,8549 "spec/finders/milestones_finder_spec.rb": 1.54019512099876,8550 "spec/services/clusters/integrations/create_service_spec.rb": 1.4608161750002182,8551 "spec/models/project_export_job_spec.rb": 1.9949151580003672,8552 "spec/lib/gitlab/metrics/subscribers/action_cable_spec.rb": 0.18860805000076653,8553 "spec/workers/hashed_storage/project_migrate_worker_spec.rb": 2.6895999719999963,8554 "spec/graphql/mutations/alert_management/http_integration/destroy_spec.rb": 0.8330581869995513,8555 "spec/services/projects/repository_languages_service_spec.rb": 2.07788043400069,8556 "spec/workers/bulk_imports/export_request_worker_spec.rb": 0.7430242509999516,8557 "spec/lib/gitlab/prometheus/queries/matched_metric_query_spec.rb": 0.2492026279996935,8558 "spec/services/alert_management/http_integrations/destroy_service_spec.rb": 0.7532909509991441,8559 "spec/tasks/admin_mode_spec.rb": 2.451026284001273,8560 "spec/helpers/graph_helper_spec.rb": 1.7999369080007455,8561 "spec/workers/authorized_project_update/project_recalculate_per_user_worker_spec.rb": 1.080276453998522,8562 "spec/lib/gitlab/gitaly_client/conflict_files_stitcher_spec.rb": 0.46451954599979217,8563 "spec/lib/gitlab/project_transfer_spec.rb": 0.3456083819983178,8564 "spec/presenters/ci/pipeline_artifacts/code_quality_mr_diff_presenter_spec.rb": 2.6311809649996576,8565 "spec/lib/gitlab/cluster/rack_timeout_observer_spec.rb": 0.2810773649998737,8566 "spec/helpers/environments_helper_spec.rb": 2.0345471860000544,8567 "spec/views/events/event/_push.html.haml_spec.rb": 2.310118181998405,8568 "spec/finders/users_star_projects_finder_spec.rb": 3.2389494740000373,8569 "spec/services/ci/create_pipeline_service/pre_post_stages_spec.rb": 1.2790322540004126,8570 "spec/lib/gitlab/import_formatter_spec.rb": 0.17016196099939407,8571 "spec/lib/gitlab/monitor/demo_projects_spec.rb": 0.568101040998954,8572 "spec/lib/gitlab/view/presenter/delegated_spec.rb": 0.16100326200103154,8573 "spec/helpers/ci/secure_files_helper_spec.rb": 1.6828177330007748,8574 "spec/lib/gitlab/fips_spec.rb": 0.30803602400010277,8575 "spec/lib/gitlab/url_blockers/ip_allowlist_entry_spec.rb": 0.5520159820007393,8576 "spec/services/ci/destroy_secure_file_service_spec.rb": 1.8927801629997703,8577 "spec/services/clusters/kubernetes_spec.rb": 0.5847357900001953,8578 "spec/services/terraform/states/trigger_destroy_service_spec.rb": 1.5303581320004014,8579 "spec/lib/gitlab/identifier_spec.rb": 1.2104765880012565,8580 "spec/rubocop/cop/safe_params_spec.rb": 0.2736460359992634,8581 "spec/validators/branch_filter_validator_spec.rb": 0.4580227759997797,8582 "spec/lib/gitlab/database/migrations/observers/query_log_spec.rb": 0.23101324799972645,8583 "spec/models/concerns/legacy_bulk_insert_spec.rb": 0.5441912309997861,8584 "spec/lib/gitlab/memory/jemalloc_spec.rb": 0.4655021870003111,8585 "spec/graphql/types/access_level_type_spec.rb": 0.21563361900007294,8586 "spec/lib/gitlab/fogbugz_import/project_creator_spec.rb": 1.8676797640000586,8587 "spec/lib/gitlab/external_authorization_spec.rb": 0.41867548799928045,8588 "spec/lib/gitlab/ci/status/build/waiting_for_resource_spec.rb": 0.0962377550004021,8589 "spec/models/work_items/widgets/hierarchy_spec.rb": 1.6086245870010316,8590 "spec/services/auth/dependency_proxy_authentication_service_spec.rb": 0.4395996170005674,8591 "spec/lib/gitlab/import_export/json/ndjson_writer_spec.rb": 0.36996091100081685,8592 "spec/lib/gitlab/sql/cte_spec.rb": 0.6841073449995747,8593 "spec/models/concerns/integrations/enable_ssl_verification_spec.rb": 0.7166302830009954,8594 "spec/workers/group_destroy_worker_spec.rb": 1.7297697710000648,8595 "spec/helpers/branches_helper_spec.rb": 1.4892076239993912,8596 "spec/views/projects/pages_domains/show.html.haml_spec.rb": 1.437510065999959,8597 "spec/services/metrics/users_starred_dashboards/delete_service_spec.rb": 1.4540518149988202,8598 "spec/lib/gitlab/git/remote_mirror_spec.rb": 1.2312560970003688,8599 "spec/graphql/types/issue_type_enum_spec.rb": 0.14794659199833404,8600 "spec/serializers/admin/user_entity_spec.rb": 0.22082891799982463,8601 "spec/routing/notifications_routing_spec.rb": 0.16729749099977198,8602 "spec/graphql/resolvers/packages_base_resolver_spec.rb": 0.07166628699997091,8603 "spec/workers/create_note_diff_file_worker_spec.rb": 1.1004041530013637,8604 "spec/rubocop/cop/graphql/json_type_spec.rb": 0.28289796599892725,8605 "spec/workers/jira_connect/sync_feature_flags_worker_spec.rb": 0.6320416770013253,8606 "spec/serializers/evidences/issue_entity_spec.rb": 0.1279270440008986,8607 "spec/lib/api/entities/ci/job_request/image_spec.rb": 0.35130656199908117,8608 "spec/helpers/ci/jobs_helper_spec.rb": 0.9674308300000121,8609 "spec/lib/gitlab/sql/intersect_spec.rb": 0.33143349300007685,8610 "spec/lib/gitlab/audit/null_author_spec.rb": 0.2181826389987691,8611 "spec/lib/banzai/filter/kroki_filter_spec.rb": 0.3149627529983263,8612 "spec/lib/gitlab/database/query_analyzers/gitlab_schemas_metrics_spec.rb": 0.23008015899904422,8613 "spec/services/bulk_imports/export_service_spec.rb": 0.7876988089992665,8614 "spec/workers/delete_user_worker_spec.rb": 0.8321370880003087,8615 "spec/workers/repository_check/dispatch_worker_spec.rb": 0.4989585339990299,8616 "spec/lib/gitlab/dependency_linker/podfile_linker_spec.rb": 0.4730728350004938,8617 "spec/rubocop/cop/migration/background_migration_base_class_spec.rb": 0.3920077200000378,8618 "spec/rubocop/cop/code_reuse/service_class_spec.rb": 0.39574965000065276,8619 "spec/lib/gitlab/usage/metrics/instrumentations/count_users_associating_milestones_to_releases_metric_spec.rb": 1.0667591350011207,8620 "spec/finders/packages/group_or_project_package_finder_spec.rb": 0.4293938979990344,8621 "spec/workers/detect_repository_languages_worker_spec.rb": 0.36564093100059836,8622 "spec/services/product_analytics/build_graph_service_spec.rb": 0.6237465579997661,8623 "spec/models/packages/rubygems/metadatum_spec.rb": 0.2461332479997509,8624 "spec/lib/learn_gitlab/onboarding_spec.rb": 0.4204063879988098,8625 "spec/graphql/types/grafana_integration_type_spec.rb": 0.13113629399958882,8626 "spec/lib/gitlab/word_diff/parser_spec.rb": 0.23715914799868187,8627 "spec/models/work_items/widgets/description_spec.rb": 0.6561219459999847,8628 "spec/rubocop/cop/graphql/resolver_type_spec.rb": 0.21802877899972373,8629 "spec/graphql/types/alert_management/integration_type_enum_spec.rb": 0.15122207199965487,8630 "spec/helpers/webpack_helper_spec.rb": 0.3170216230009828,8631 "spec/workers/gitlab/github_import/stage/import_pull_requests_merged_by_worker_spec.rb": 0.4378674969993881,8632 "spec/validators/cron_validator_spec.rb": 0.14808324199839262,8633 "spec/services/ci/job_artifacts/delete_project_artifacts_service_spec.rb": 0.43734487799883937,8634 "spec/serializers/board_serializer_spec.rb": 0.7299946429993724,8635 "spec/lib/gitlab/ci/yaml_processor/dag_spec.rb": 0.12049487400145154,8636 "spec/helpers/ci/triggers_helper_spec.rb": 0.12303961399993568,8637 "spec/lib/gitlab/config/entry/boolean_spec.rb": 0.15442830199935997,8638 "spec/workers/packages/composer/cache_cleanup_worker_spec.rb": 0.24985448700135748,8639 "spec/lib/gitlab/hash_digest/facade_spec.rb": 0.1386220330005017,8640 "spec/lib/gitlab/ci/artifacts/metrics_spec.rb": 0.3762871700000687,8641 "spec/lib/gitlab/prometheus/queries/validate_query_spec.rb": 0.312716704000195,8642 "spec/helpers/recaptcha_helper_spec.rb": 0.11079191399949195,8643 "spec/models/namespaces/user_namespace_spec.rb": 0.11405972399916209,8644 "spec/graphql/types/merge_request_sort_enum_spec.rb": 0.12551700299991353,8645 "spec/models/concerns/partitioned_table_spec.rb": 0.13049584400141612,8646 "spec/serializers/ci/codequality_mr_diff_report_serializer_spec.rb": 0.139394693000213,8647 "spec/models/ci/trigger_request_spec.rb": 0.1343777140009479,8648 "spec/lib/gitlab/with_request_store_spec.rb": 0.15470766100042965,8649 "spec/rubocop/cop/rspec/env_assignment_spec.rb": 0.15168762299981609,8650 "spec/graphql/types/work_items/widgets/description_input_type_spec.rb": 0.12146543400012888,8651 "spec/lib/api/entities/bulk_imports/entity_spec.rb": 0.21744116799891344,8652 "spec/lib/gitlab/phabricator_import/representation/user_spec.rb": 0.16347483200115676,8653 "spec/serializers/serverless/domain_entity_spec.rb": 0.21161793899955228,8654 "spec/lib/sidebars/concerns/container_with_html_options_spec.rb": 0.147342562000631,8655 "spec/services/deploy_keys/create_service_spec.rb": 0.2773427560005075,8656 "spec/lib/gitlab/import_export/import_test_coverage_spec.rb": 0.0948408450003626,8657 "spec/serializers/integrations/project_serializer_spec.rb": 0.07784730599996692,8658 "spec/lib/banzai/filter/normalize_source_filter_spec.rb": 0.15275600199856854,8659 "spec/initializers/rails_asset_host_spec.rb": 0.09869362399876991,8660 "spec/workers/namespaces/onboarding_user_added_worker_spec.rb": 0.17734978099906584,8661 "spec/models/merge_request_context_commit_diff_file_spec.rb": 0.14046473300004436,8662 "spec/lib/api/entities/nuget/package_metadata_catalog_entry_spec.rb": 0.11593382400133123,8663 "spec/views/layouts/header/_gitlab_version.html.haml_spec.rb": 0.2160306789992319,8664 "spec/workers/gitlab/github_import/import_pull_request_worker_spec.rb": 0.13558345300043584,8665 "spec/lib/gitlab/kubernetes/tls_secret_spec.rb": 0.12808349300030386,8666 "spec/graphql/types/permission_types/user_spec.rb": 0.154553312000643938667}8668Knapsack global time execution for tests: 36m 41s8669Pending: (Failures listed here are expected and do not affect your suite's status)8670 1) FileUploader legacy storage behaves like builds correct legacy storage paths #cache_dir behaves like matches the method pattern 8671 # No pattern provided, skipping.8672 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88673 2) FileUploader legacy storage behaves like builds correct legacy storage paths #work_dir behaves like matches the method pattern 8674 # No pattern provided, skipping.8675 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88676 3) FileUploader legacy storage behaves like builds correct legacy storage paths #relative_path is relative8677 # Path not set, skipping.8678 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:408679 4) FileUploader legacy storage behaves like builds correct legacy storage paths .base_dir behaves like matches the method pattern 8680 # No pattern provided, skipping.8681 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88682 5) FileUploader legacy storage uses hashed storage when rolled out attachments #cache_dir behaves like matches the method pattern 8683 # No pattern provided, skipping.8684 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88685 6) FileUploader legacy storage uses hashed storage when rolled out attachments #work_dir behaves like matches the method pattern 8686 # No pattern provided, skipping.8687 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88688 7) FileUploader legacy storage uses hashed storage when rolled out attachments #relative_path is relative8689 # Path not set, skipping.8690 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:408691 8) FileUploader legacy storage uses hashed storage when rolled out attachments .absolute_path behaves like matches the method pattern 8692 # No pattern provided, skipping.8693 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88694 9) FileUploader legacy storage uses hashed storage when rolled out attachments .base_dir behaves like matches the method pattern 8695 # No pattern provided, skipping.8696 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88697 10) FileUploader legacy storage uses hashed storage when only repositories are rolled out behaves like builds correct legacy storage paths #cache_dir behaves like matches the method pattern 8698 # No pattern provided, skipping.8699 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88700 11) FileUploader legacy storage uses hashed storage when only repositories are rolled out behaves like builds correct legacy storage paths #work_dir behaves like matches the method pattern 8701 # No pattern provided, skipping.8702 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88703 12) FileUploader legacy storage uses hashed storage when only repositories are rolled out behaves like builds correct legacy storage paths #relative_path is relative8704 # Path not set, skipping.8705 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:408706 13) FileUploader legacy storage uses hashed storage when only repositories are rolled out behaves like builds correct legacy storage paths .base_dir behaves like matches the method pattern 8707 # No pattern provided, skipping.8708 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88709 14) FileUploader object store is remote behaves like builds correct paths #cache_dir behaves like matches the method pattern 8710 # No pattern provided, skipping.8711 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88712 15) FileUploader object store is remote behaves like builds correct paths #work_dir behaves like matches the method pattern 8713 # No pattern provided, skipping.8714 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88715 16) FileUploader object store is remote behaves like builds correct paths #relative_path is relative8716 # Path not set, skipping.8717 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:408718 17) FileUploader object store is remote behaves like builds correct paths .absolute_path behaves like matches the method pattern 8719 # No pattern provided, skipping.8720 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88721 18) FileUploader object store is remote behaves like builds correct paths .base_dir behaves like matches the method pattern 8722 # No pattern provided, skipping.8723 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88724 19) AvatarUploader behaves like builds correct paths #cache_dir behaves like matches the method pattern 8725 # No pattern provided, skipping.8726 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88727 20) AvatarUploader behaves like builds correct paths #work_dir behaves like matches the method pattern 8728 # No pattern provided, skipping.8729 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88730 21) AvatarUploader behaves like builds correct paths #relative_path is relative8731 # Path not set, skipping.8732 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:408733 22) AvatarUploader behaves like builds correct paths .base_dir behaves like matches the method pattern 8734 # No pattern provided, skipping.8735 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88736 23) AvatarUploader object_store is REMOTE behaves like builds correct paths #cache_dir behaves like matches the method pattern 8737 # No pattern provided, skipping.8738 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88739 24) AvatarUploader object_store is REMOTE behaves like builds correct paths #work_dir behaves like matches the method pattern 8740 # No pattern provided, skipping.8741 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88742 25) AvatarUploader object_store is REMOTE behaves like builds correct paths #relative_path is relative8743 # Path not set, skipping.8744 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:408745 26) AvatarUploader object_store is REMOTE behaves like builds correct paths .absolute_path behaves like matches the method pattern 8746 # No pattern provided, skipping.8747 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88748 27) AvatarUploader object_store is REMOTE behaves like builds correct paths .base_dir behaves like matches the method pattern 8749 # No pattern provided, skipping.8750 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88751 28) Projects::ImportExport::ExportService#execute saves the repo8752 # No reason given8753 # ./spec/services/projects/import_export/export_service_spec.rb:508754 29) LfsObjectUploader behaves like builds correct paths #upload_path behaves like matches the method pattern 8755 # No pattern provided, skipping.8756 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88757 30) LfsObjectUploader behaves like builds correct paths #relative_path is relative8758 # Path not set, skipping.8759 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:408760 31) LfsObjectUploader behaves like builds correct paths .absolute_path behaves like matches the method pattern 8761 # No pattern provided, skipping.8762 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88763 32) LfsObjectUploader behaves like builds correct paths .base_dir behaves like matches the method pattern 8764 # No pattern provided, skipping.8765 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88766 33) LfsObjectUploader object store is REMOTE behaves like builds correct paths #cache_dir behaves like matches the method pattern 8767 # No pattern provided, skipping.8768 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88769 34) LfsObjectUploader object store is REMOTE behaves like builds correct paths #work_dir behaves like matches the method pattern 8770 # No pattern provided, skipping.8771 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88772 35) LfsObjectUploader object store is REMOTE behaves like builds correct paths #upload_path behaves like matches the method pattern 8773 # No pattern provided, skipping.8774 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88775 36) LfsObjectUploader object store is REMOTE behaves like builds correct paths #relative_path is relative8776 # Path not set, skipping.8777 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:408778 37) LfsObjectUploader object store is REMOTE behaves like builds correct paths .absolute_path behaves like matches the method pattern 8779 # No pattern provided, skipping.8780 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88781 38) LfsObjectUploader object store is REMOTE behaves like builds correct paths .base_dir behaves like matches the method pattern 8782 # No pattern provided, skipping.8783 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88784Failures:8785 1) Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver without sort returns the proper packages8786 Failure/Error: expect(subject).to contain_exactly(npm_package)8787 expected collection contained: [#<Packages::Package id: 68, project_id: 915, created_at: "2022-06-29 20:36:36.959108971 +0000", upda.../app/my-app", version: "1.24-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">]8788 actual collection contained: []8789 the missing elements were: [#<Packages::Package id: 68, project_id: 915, created_at: "2022-06-29 20:36:36.959108971 +0000", upda.../app/my-app", version: "1.24-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">]8790 Shared Example Group: "group and projects packages resolver" called from ./spec/graphql/resolvers/group_packages_resolver_spec.rb:208791 # ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:10:in `block (3 levels) in <top (required)>'8792 # ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'8793 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8794 # ./spec/spec_helper.rb:396:in `block (2 levels) in <top (required)>'8795 # ./spec/spec_helper.rb:392:in `block (3 levels) in <top (required)>'8796 # ./lib/gitlab/application_context.rb:52:in `with_raw_context'8797 # ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'8798 # ./spec/spec_helper.rb:261:in `block (2 levels) in <top (required)>'8799 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8800 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8801 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8802 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8803 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8804 2) Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering CREATED_DESC is expected to eq [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]8805 Failure/Error: it { is_expected.to eq([maven_package, conan_package]) }8806 expected: [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]8807 got: []8808 (compared using ==)8809 Diff:8810 @@ -1,3 +1,2 @@8811 -[#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">,8812 - #<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]8813 +[]8814 Shared Example Group: "group and projects packages resolver" called from ./spec/graphql/resolvers/group_packages_resolver_spec.rb:208815 # ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:31:in `block (5 levels) in <top (required)>'8816 # ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'8817 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8818 # ./spec/spec_helper.rb:396:in `block (2 levels) in <top (required)>'8819 # ./spec/spec_helper.rb:392:in `block (3 levels) in <top (required)>'8820 # ./lib/gitlab/application_context.rb:52:in `with_raw_context'8821 # ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'8822 # ./spec/spec_helper.rb:261:in `block (2 levels) in <top (required)>'8823 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8824 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8825 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8826 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8827 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8828 3) Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering NAME_DESC is expected to eq [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]8829 Failure/Error: it { is_expected.to eq([maven_package, conan_package]) }8830 expected: [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]8831 got: []8832 (compared using ==)8833 Diff:8834 @@ -1,3 +1,2 @@8835 -[#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">,8836 - #<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]8837 +[]8838 Shared Example Group: "group and projects packages resolver" called from ./spec/graphql/resolvers/group_packages_resolver_spec.rb:208839 # ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:31:in `block (5 levels) in <top (required)>'8840 # ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'8841 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8842 # ./spec/spec_helper.rb:396:in `block (2 levels) in <top (required)>'8843 # ./spec/spec_helper.rb:392:in `block (3 levels) in <top (required)>'8844 # ./lib/gitlab/application_context.rb:52:in `with_raw_context'8845 # ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'8846 # ./spec/spec_helper.rb:261:in `block (2 levels) in <top (required)>'8847 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8848 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8849 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8850 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8851 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8852 4) Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering VERSION_DESC is expected to eq [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]8853 Failure/Error: it { is_expected.to eq([maven_package, conan_package]) }8854 expected: [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]8855 got: []8856 (compared using ==)8857 Diff:8858 @@ -1,3 +1,2 @@8859 -[#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">,8860 - #<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]8861 +[]8862 Shared Example Group: "group and projects packages resolver" called from ./spec/graphql/resolvers/group_packages_resolver_spec.rb:208863 # ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:31:in `block (5 levels) in <top (required)>'8864 # ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'8865 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8866 # ./spec/spec_helper.rb:396:in `block (2 levels) in <top (required)>'8867 # ./spec/spec_helper.rb:392:in `block (3 levels) in <top (required)>'8868 # ./lib/gitlab/application_context.rb:52:in `with_raw_context'8869 # ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'8870 # ./spec/spec_helper.rb:261:in `block (2 levels) in <top (required)>'8871 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8872 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8873 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8874 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8875 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8876 5) Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering TYPE_ASC is expected to eq [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]8877 Failure/Error: it { is_expected.to eq([maven_package, conan_package]) }8878 expected: [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]8879 got: []8880 (compared using ==)8881 Diff:8882 @@ -1,3 +1,2 @@8883 -[#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">,8884 - #<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]8885 +[]8886 Shared Example Group: "group and projects packages resolver" called from ./spec/graphql/resolvers/group_packages_resolver_spec.rb:208887 # ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:31:in `block (5 levels) in <top (required)>'8888 # ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'8889 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8890 # ./spec/spec_helper.rb:396:in `block (2 levels) in <top (required)>'8891 # ./spec/spec_helper.rb:392:in `block (3 levels) in <top (required)>'8892 # ./lib/gitlab/application_context.rb:52:in `with_raw_context'8893 # ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'8894 # ./spec/spec_helper.rb:261:in `block (2 levels) in <top (required)>'8895 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8896 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8897 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8898 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8899 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8900 6) Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering CREATED_ASC is expected to eq [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]8901 Failure/Error: it { is_expected.to eq([conan_package, maven_package]) }8902 expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]8903 got: []8904 (compared using ==)8905 Diff:8906 @@ -1,3 +1,2 @@8907 -[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">,8908 - #<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]8909 +[]8910 Shared Example Group: "group and projects packages resolver" called from ./spec/graphql/resolvers/group_packages_resolver_spec.rb:208911 # ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:39:in `block (5 levels) in <top (required)>'8912 # ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'8913 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8914 # ./spec/spec_helper.rb:396:in `block (2 levels) in <top (required)>'8915 # ./spec/spec_helper.rb:392:in `block (3 levels) in <top (required)>'8916 # ./lib/gitlab/application_context.rb:52:in `with_raw_context'8917 # ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'8918 # ./spec/spec_helper.rb:261:in `block (2 levels) in <top (required)>'8919 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8920 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8921 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8922 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8923 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8924 7) Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering NAME_ASC is expected to eq [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]8925 Failure/Error: it { is_expected.to eq([conan_package, maven_package]) }8926 expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]8927 got: []8928 (compared using ==)8929 Diff:8930 @@ -1,3 +1,2 @@8931 -[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">,8932 - #<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]8933 +[]8934 Shared Example Group: "group and projects packages resolver" called from ./spec/graphql/resolvers/group_packages_resolver_spec.rb:208935 # ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:39:in `block (5 levels) in <top (required)>'8936 # ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'8937 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8938 # ./spec/spec_helper.rb:396:in `block (2 levels) in <top (required)>'8939 # ./spec/spec_helper.rb:392:in `block (3 levels) in <top (required)>'8940 # ./lib/gitlab/application_context.rb:52:in `with_raw_context'8941 # ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'8942 # ./spec/spec_helper.rb:261:in `block (2 levels) in <top (required)>'8943 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8944 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8945 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8946 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8947 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8948 8) Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering VERSION_ASC is expected to eq [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]8949 Failure/Error: it { is_expected.to eq([conan_package, maven_package]) }8950 expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]8951 got: []8952 (compared using ==)8953 Diff:8954 @@ -1,3 +1,2 @@8955 -[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">,8956 - #<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]8957 +[]8958 Shared Example Group: "group and projects packages resolver" called from ./spec/graphql/resolvers/group_packages_resolver_spec.rb:208959 # ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:39:in `block (5 levels) in <top (required)>'8960 # ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'8961 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8962 # ./spec/spec_helper.rb:396:in `block (2 levels) in <top (required)>'8963 # ./spec/spec_helper.rb:392:in `block (3 levels) in <top (required)>'8964 # ./lib/gitlab/application_context.rb:52:in `with_raw_context'8965 # ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'8966 # ./spec/spec_helper.rb:261:in `block (2 levels) in <top (required)>'8967 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8968 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8969 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8970 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8971 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8972 9) Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering TYPE_DESC is expected to eq [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]8973 Failure/Error: it { is_expected.to eq([conan_package, maven_package]) }8974 expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]8975 got: []8976 (compared using ==)8977 Diff:8978 @@ -1,3 +1,2 @@8979 -[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">,8980 - #<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]8981 +[]8982 Shared Example Group: "group and projects packages resolver" called from ./spec/graphql/resolvers/group_packages_resolver_spec.rb:208983 # ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:39:in `block (5 levels) in <top (required)>'8984 # ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'8985 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8986 # ./spec/spec_helper.rb:396:in `block (2 levels) in <top (required)>'8987 # ./spec/spec_helper.rb:392:in `block (3 levels) in <top (required)>'8988 # ./lib/gitlab/application_context.rb:52:in `with_raw_context'8989 # ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'8990 # ./spec/spec_helper.rb:261:in `block (2 levels) in <top (required)>'8991 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8992 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8993 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8994 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8995 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8996 10) Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering filter by package_name is expected to eq [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]8997 Failure/Error: it { is_expected.to eq([conan_package]) }8998 expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]8999 got: []9000 (compared using ==)9001 Diff:9002 @@ -1 +1 @@9003 -[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]9004 +[]9005 Shared Example Group: "group and projects packages resolver" called from ./spec/graphql/resolvers/group_packages_resolver_spec.rb:209006 # ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:46:in `block (4 levels) in <top (required)>'9007 # ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'9008 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'9009 # ./spec/spec_helper.rb:396:in `block (2 levels) in <top (required)>'9010 # ./spec/spec_helper.rb:392:in `block (3 levels) in <top (required)>'9011 # ./lib/gitlab/application_context.rb:52:in `with_raw_context'9012 # ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'9013 # ./spec/spec_helper.rb:261:in `block (2 levels) in <top (required)>'9014 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'9015 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'9016 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'9017 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'9018 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'9019 11) Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering filter by package_type is expected to eq [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]9020 Failure/Error: it { is_expected.to eq([conan_package]) }9021 expected: [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]9022 got: []9023 (compared using ==)9024 Diff:9025 @@ -1 +1 @@9026 -[#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", updated_at: "2022-06-29 20:36:37.895230353 +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]9027 +[]9028 Shared Example Group: "group and projects packages resolver" called from ./spec/graphql/resolvers/group_packages_resolver_spec.rb:209029 # ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:52:in `block (4 levels) in <top (required)>'9030 # ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'9031 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'9032 # ./spec/spec_helper.rb:396:in `block (2 levels) in <top (required)>'9033 # ./spec/spec_helper.rb:392:in `block (3 levels) in <top (required)>'9034 # ./lib/gitlab/application_context.rb:52:in `with_raw_context'9035 # ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'9036 # ./spec/spec_helper.rb:261:in `block (2 levels) in <top (required)>'9037 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'9038 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'9039 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'9040 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'9041 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'9042 12) Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering filter by status is expected to eq [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]9043 Failure/Error: it { is_expected.to eq([maven_package]) }9044 expected: [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]9045 got: []9046 (compared using ==)9047 Diff:9048 @@ -1 +1 @@9049 -[#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", updated_at: "2022-06-29 20:36:38.470755164 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]9050 +[]9051 Shared Example Group: "group and projects packages resolver" called from ./spec/graphql/resolvers/group_packages_resolver_spec.rb:209052 # ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:58:in `block (4 levels) in <top (required)>'9053 # ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'9054 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'9055 # ./spec/spec_helper.rb:396:in `block (2 levels) in <top (required)>'9056 # ./spec/spec_helper.rb:392:in `block (3 levels) in <top (required)>'9057 # ./lib/gitlab/application_context.rb:52:in `with_raw_context'9058 # ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'9059 # ./spec/spec_helper.rb:261:in `block (2 levels) in <top (required)>'9060 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'9061 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'9062 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'9063 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'9064 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'9065 13) Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering include_versionless is expected to include #<Packages::Package id: 74, project_id: 915, created_at: "2022-06-29 20:35:38.538926160 +0000", updat...66449 +0000", name: "baz", version: nil, package_type: "maven", creator_id: 1802, status: "default">9066 Failure/Error: it { is_expected.to include(repository3) }9067 expected [] to include #<Packages::Package id: 74, project_id: 915, created_at: "2022-06-29 20:35:38.538926160 +0000", updat...66449 +0000", name: "baz", version: nil, package_type: "maven", creator_id: 1802, status: "default">9068 Diff:9069 @@ -1 +1 @@9070 -[#<Packages::Package id: 74, project_id: 915, created_at: "2022-06-29 20:35:38.538926160 +0000", updated_at: "2022-06-29 20:36:38.951266449 +0000", name: "baz", version: nil, package_type: "maven", creator_id: 1802, status: "default">]9071 +[]9072 Shared Example Group: "group and projects packages resolver" called from ./spec/graphql/resolvers/group_packages_resolver_spec.rb:209073 # ./spec/support/shared_examples/graphql/resolvers/packages_resolvers_shared_examples.rb:64:in `block (4 levels) in <top (required)>'9074 # ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'9075 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'9076 # ./spec/spec_helper.rb:396:in `block (2 levels) in <top (required)>'9077 # ./spec/spec_helper.rb:392:in `block (3 levels) in <top (required)>'9078 # ./lib/gitlab/application_context.rb:52:in `with_raw_context'9079 # ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'9080 # ./spec/spec_helper.rb:261:in `block (2 levels) in <top (required)>'9081 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'9082 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'9083 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'9084 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'9085 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'9086 14) Resolvers::GroupPackagesResolver #resolve project_path sorting filter by package_name is expected to eq [#<Packages::Package id: 78, project_id: 919, created_at: "2022-06-29 20:36:42.937286935 +0000", upda.../app/my-app", version: "1.27-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">]9087 Failure/Error: it { is_expected.to eq([package4, package2, package3, package]) }9088 expected: [#<Packages::Package id: 78, project_id: 919, created_at: "2022-06-29 20:36:42.937286935 +0000", upda.../app/my-app", version: "1.27-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">]9089 got: []9090 (compared using ==)9091 Diff:9092 @@ -1,5 +1,2 @@9093 -[#<Packages::Package id: 78, project_id: 919, created_at: "2022-06-29 20:36:42.937286935 +0000", updated_at: "2022-06-29 20:36:42.937286935 +0000", name: "my/company/app/my-app", version: "1.30-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">,9094 - #<Packages::Package id: 76, project_id: 919, created_at: "2022-06-29 20:36:42.913949076 +0000", updated_at: "2022-06-29 20:36:42.913949076 +0000", name: "my/company/app/my-app", version: "1.28-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">,9095 - #<Packages::Package id: 77, project_id: 915, created_at: "2022-06-29 20:36:42.926201985 +0000", updated_at: "2022-06-29 20:36:42.926201985 +0000", name: "my/company/app/my-app", version: "1.29-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">,9096 - #<Packages::Package id: 75, project_id: 915, created_at: "2022-06-29 20:36:42.901997486 +0000", updated_at: "2022-06-29 20:36:42.901997486 +0000", name: "my/company/app/my-app", version: "1.27-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">]9097 +[]9098 # ./spec/graphql/resolvers/group_packages_resolver_spec.rb:32:in `block (5 levels) in <top (required)>'9099 # ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'9100 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'9101 # ./spec/spec_helper.rb:396:in `block (2 levels) in <top (required)>'9102 # ./spec/spec_helper.rb:392:in `block (3 levels) in <top (required)>'9103 # ./lib/gitlab/application_context.rb:52:in `with_raw_context'9104 # ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'9105 # ./spec/spec_helper.rb:261:in `block (2 levels) in <top (required)>'9106 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'9107 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'9108 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'9109 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'9110 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'9111 15) Resolvers::GroupPackagesResolver #resolve project_path sorting filter by package_type is expected to eq [#<Packages::Package id: 75, project_id: 915, created_at: "2022-06-29 20:36:42.901997486 +0000", upda.../app/my-app", version: "1.30-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">]9112 Failure/Error: it { is_expected.to eq([package, package3, package2, package4]) }9113 expected: [#<Packages::Package id: 75, project_id: 915, created_at: "2022-06-29 20:36:42.901997486 +0000", upda.../app/my-app", version: "1.30-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">]9114 got: []9115 (compared using ==)9116 Diff:9117 @@ -1,5 +1,2 @@9118 -[#<Packages::Package id: 75, project_id: 915, created_at: "2022-06-29 20:36:42.901997486 +0000", updated_at: "2022-06-29 20:36:42.901997486 +0000", name: "my/company/app/my-app", version: "1.27-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">,9119 - #<Packages::Package id: 77, project_id: 915, created_at: "2022-06-29 20:36:42.926201985 +0000", updated_at: "2022-06-29 20:36:42.926201985 +0000", name: "my/company/app/my-app", version: "1.29-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">,9120 - #<Packages::Package id: 76, project_id: 919, created_at: "2022-06-29 20:36:42.913949076 +0000", updated_at: "2022-06-29 20:36:42.913949076 +0000", name: "my/company/app/my-app", version: "1.28-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">,9121 - #<Packages::Package id: 78, project_id: 919, created_at: "2022-06-29 20:36:42.937286935 +0000", updated_at: "2022-06-29 20:36:42.937286935 +0000", name: "my/company/app/my-app", version: "1.30-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">]9122 +[]9123 # ./spec/graphql/resolvers/group_packages_resolver_spec.rb:38:in `block (5 levels) in <top (required)>'9124 # ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'9125 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'9126 # ./spec/spec_helper.rb:396:in `block (2 levels) in <top (required)>'9127 # ./spec/spec_helper.rb:392:in `block (3 levels) in <top (required)>'9128 # ./lib/gitlab/application_context.rb:52:in `with_raw_context'9129 # ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'9130 # ./spec/spec_helper.rb:261:in `block (2 levels) in <top (required)>'9131 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'9132 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'9133 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'9134 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'9135 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'9136Finished in 36 minutes 45 seconds (files took 1 minute 11.81 seconds to load)91373579 examples, 15 failures, 38 pending9138Failed examples:9139rspec './spec/graphql/resolvers/group_packages_resolver_spec.rb[1:1:1:1:1]' # Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver without sort returns the proper packages9140rspec './spec/graphql/resolvers/group_packages_resolver_spec.rb[1:1:1:2:1:1]' # Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering CREATED_DESC is expected to eq [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]9141rspec './spec/graphql/resolvers/group_packages_resolver_spec.rb[1:1:1:2:2:1]' # Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering NAME_DESC is expected to eq [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]9142rspec './spec/graphql/resolvers/group_packages_resolver_spec.rb[1:1:1:2:3:1]' # Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering VERSION_DESC is expected to eq [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]9143rspec './spec/graphql/resolvers/group_packages_resolver_spec.rb[1:1:1:2:4:1]' # Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering TYPE_ASC is expected to eq [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]9144rspec './spec/graphql/resolvers/group_packages_resolver_spec.rb[1:1:1:2:5:1]' # Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering CREATED_ASC is expected to eq [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]9145rspec './spec/graphql/resolvers/group_packages_resolver_spec.rb[1:1:1:2:6:1]' # Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering NAME_ASC is expected to eq [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]9146rspec './spec/graphql/resolvers/group_packages_resolver_spec.rb[1:1:1:2:7:1]' # Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering VERSION_ASC is expected to eq [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]9147rspec './spec/graphql/resolvers/group_packages_resolver_spec.rb[1:1:1:2:8:1]' # Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering TYPE_DESC is expected to eq [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]9148rspec './spec/graphql/resolvers/group_packages_resolver_spec.rb[1:1:1:2:9:1]' # Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering filter by package_name is expected to eq [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]9149rspec './spec/graphql/resolvers/group_packages_resolver_spec.rb[1:1:1:2:10:1]' # Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering filter by package_type is expected to eq [#<Packages::Package id: 70, project_id: 915, created_at: "2022-06-28 20:36:37.413811478 +0000", upda... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 1802, status: "default">]9150rspec './spec/graphql/resolvers/group_packages_resolver_spec.rb[1:1:1:2:11:1]' # Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering filter by status is expected to eq [#<Packages::Package id: 72, project_id: 915, created_at: "2022-06-29 19:36:38.085957663 +0000", upda...64 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 1802, status: "error">]9151rspec './spec/graphql/resolvers/group_packages_resolver_spec.rb[1:1:1:2:12:1]' # Resolvers::GroupPackagesResolver #resolve behaves like group and projects packages resolver with sorting and filtering include_versionless is expected to include #<Packages::Package id: 74, project_id: 915, created_at: "2022-06-29 20:35:38.538926160 +0000", updat...66449 +0000", name: "baz", version: nil, package_type: "maven", creator_id: 1802, status: "default">9152rspec ./spec/graphql/resolvers/group_packages_resolver_spec.rb:32 # Resolvers::GroupPackagesResolver #resolve project_path sorting filter by package_name is expected to eq [#<Packages::Package id: 78, project_id: 919, created_at: "2022-06-29 20:36:42.937286935 +0000", upda.../app/my-app", version: "1.27-SNAPSHOT", package_type: "maven", creator_id: 1802, status: "default">]9153rspec ./spec/graphql/resolvers/group_packages_resolver_spec.rb:38 # Resolvers::GroupPackagesResolver #resolve project_path sorting filter by package_type is expected to eq [#<Packages::Package id: 75, project_id: 915, created_at: "2022-06-29 20:36:42.901997486 +0000", upda.../app/my-app", version: "1.30-SNAPSHOT", package_type: "maven", creator_id: 1807, status: "default">]9154Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected9155RSpec exited with 1.9156Retrying the failing examples in a new RSpec process...9157$ gem install junit_merge --no-document --version 0.1.29158Successfully installed nokogiri-1.13.6-x86_64-linux9159Successfully installed junit_merge-0.1.291602 gems installed9161==> 'gem install junit_merge --no-document --version 0.1.2' succeeded in 1 seconds.9162Running RSpec command: bin/rspec -Ispec -rspec_helper --color --format documentation --format RspecJunitFormatter --out rspec/junit_rspec-retry.xml --only-failures --pattern "spec/{bin,channels,config,db,dependencies,elastic,elastic_integration,experiments,events,factories,finders,frontend,graphql,haml_lint,helpers,initializers,lib,metrics_server,models,policies,presenters,rack_servers,replicators,routing,rubocop,scripts,serializers,services,sidekiq,sidekiq_cluster,spam,support_specs,tasks,uploaders,validators,views,workers,tooling,components}{,/**/}*_spec.rb"9163DEPRECATION WARNING: /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/postgresql_adapter.rb:78: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call9164/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/pg-1.3.5/lib/pg.rb:68: warning: The called method `connect' is defined here9165 (called from new_client at /builds/gitlab-org/gitlab/config/initializers/00_connection_logger.rb:21)9166Run options: include {:last_run_status=>"failed"}9167Test environment set up in 0.709435113 seconds9168Resolvers::GroupPackagesResolver9169 #resolve9170 behaves like group and projects packages resolver9171 without sort9172 returns the proper packages9173 with sorting and filtering9174 CREATED_DESC9175 is expected to eq [#<Packages::Package id: 91, project_id: 1098, created_at: "2022-06-29 19:40:50.298164963 +0000", upd... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 2113, status: "default">]9176 NAME_DESC9177 is expected to eq [#<Packages::Package id: 91, project_id: 1098, created_at: "2022-06-29 19:40:50.298164963 +0000", upd... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 2113, status: "default">]9178 VERSION_DESC9179 is expected to eq [#<Packages::Package id: 91, project_id: 1098, created_at: "2022-06-29 19:40:50.298164963 +0000", upd... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 2113, status: "default">]9180 TYPE_ASC9181 is expected to eq [#<Packages::Package id: 91, project_id: 1098, created_at: "2022-06-29 19:40:50.298164963 +0000", upd... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 2113, status: "default">]9182 CREATED_ASC9183 is expected to eq [#<Packages::Package id: 89, project_id: 1098, created_at: "2022-06-28 20:40:49.731837933 +0000", upd...85 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 2113, status: "error">]9184 NAME_ASC9185 is expected to eq [#<Packages::Package id: 89, project_id: 1098, created_at: "2022-06-28 20:40:49.731837933 +0000", upd...85 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 2113, status: "error">]9186 VERSION_ASC9187 is expected to eq [#<Packages::Package id: 89, project_id: 1098, created_at: "2022-06-28 20:40:49.731837933 +0000", upd...85 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 2113, status: "error">]9188 TYPE_DESC9189 is expected to eq [#<Packages::Package id: 89, project_id: 1098, created_at: "2022-06-28 20:40:49.731837933 +0000", upd...85 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 2113, status: "error">]9190 filter by package_name9191 is expected to eq [#<Packages::Package id: 89, project_id: 1098, created_at: "2022-06-28 20:40:49.731837933 +0000", upd... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 2113, status: "default">]9192 filter by package_type9193 is expected to eq [#<Packages::Package id: 89, project_id: 1098, created_at: "2022-06-28 20:40:49.731837933 +0000", upd... +0000", name: "bar", version: "1.0.0", package_type: "conan", creator_id: 2113, status: "default">]9194 filter by status9195 is expected to eq [#<Packages::Package id: 91, project_id: 1098, created_at: "2022-06-29 19:40:50.298164963 +0000", upd...85 +0000", name: "foo", version: "2.0.0", package_type: "maven", creator_id: 2113, status: "error">]9196 include_versionless9197 is expected to include #<Packages::Package id: 93, project_id: 1098, created_at: "2022-06-29 20:39:50.708093512 +0000", upda...40296 +0000", name: "baz", version: nil, package_type: "maven", creator_id: 2113, status: "default">9198 project_path sorting9199 filter by package_name9200 is expected to eq [#<Packages::Package id: 97, project_id: 1102, created_at: "2022-06-29 20:40:52.446118013 +0000", upd...y/app/my-app", version: "1.4-SNAPSHOT", package_type: "maven", creator_id: 2113, status: "default">]9201 filter by package_type9202 is expected to eq [#<Packages::Package id: 94, project_id: 1098, created_at: "2022-06-29 20:40:52.420778755 +0000", upd...y/app/my-app", version: "1.7-SNAPSHOT", package_type: "maven", creator_id: 2118, status: "default">]9203Finished in 12.89 seconds (files took 46.53 seconds to load)920415 examples, 0 failures9206Not uploading cache ruby-gems-debian-bullseye-ruby-2.7-10 due to policy9207Not uploading cache gitaly-ruby-gems-debian-bullseye-ruby-2.7-10 due to policy9209Uploading artifacts...9210coverage/: found 4 matching files and directories 9211crystalball/: found 2 matching files and directories 9212deprecations/: found 8 matching files and directories 9213knapsack/: found 3 matching files and directories 9214rspec/: found 10 matching files and directories 9215WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory 9216log/*.log: found 19 matching files and directories 9217WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/2658553349/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com9218WARNING: Retrying... context=artifacts-uploader error=request redirected9219Uploading artifacts as "archive" to coordinator... 201 Created id=2658553349 responseStatus=201 Created token=hwqpvkfy9220Uploading artifacts...9221rspec/junit_rspec.xml: found 1 matching files and directories 9222WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/2658553349/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com9223WARNING: Retrying... context=artifacts-uploader error=request redirected9224Uploading artifacts as "junit" to coordinator... 201 Created id=2658553349 responseStatus=201 Created token=hwqpvkfy9226Job succeeded