rspec integration pg14 4/16
Running with gitlab-runner 16.11.0~pre.21.gaa21be2d (aa21be2d)
on blue-2.shared-gitlab-org.runners-manager.gitlab.com/default NL4gfoBe, system ID: s_74c3e1316164
feature flags: FF_NETWORK_PER_BUILD:true, FF_USE_IMPROVED_URL_MASKING:true
Resolving secrets
Preparing the "docker+machine" executor
Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.1.patched-golang-1.20-rust-1.73-node-18.17-postgresql-14:rubygems-3.4-git-2.36-lfs-2.9-chrome-120-yarn-1.22-graphicsmagick-1.3.36 ...
Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-14-pgvector-0.4.1 ...
Authenticating with credentials from job payload (GitLab Registry)
Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-14-pgvector-0.4.1 ...
Using docker image sha256:82f132c22567f8ce17cc132c14b2f9aa3eaf9bb5424d91c2d966912433f0257d for registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-14-pgvector-0.4.1 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:c55e1364ee4327b244a9cfa1750f19feea14fc774eaf792b725967d146eb45f5 ...
WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 is already created. Ignoring.
WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 is already created. Ignoring.
Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 ...
Authenticating with credentials from job payload (GitLab Registry)
Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 ...
Using docker image sha256:5c5ba5b83d6c60cb0b225bd670b7a43be8c238cc72347d24af57e5027c3648f3 for registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:46aceab84c42d0e819c8e7940f2f98ce9e184785cd7b22d95872024a35f52407 ...
Starting service redis:6.2-alpine ...
Pulling docker image redis:6.2-alpine ...
Using docker image sha256:57763d55554967cf0a9b05258512282482807d361c68b10fd9599ac9732bfb04 for redis:6.2-alpine with digest redis@sha256:3fcb624d83a9c478357f16dc173c58ded325ccc5fd2a4375f3916c04cc579f70 ...
Waiting for services to be up and running (timeout 30 seconds)...
Authenticating with credentials from job payload (GitLab Registry)
Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.1.patched-golang-1.20-rust-1.73-node-18.17-postgresql-14:rubygems-3.4-git-2.36-lfs-2.9-chrome-120-yarn-1.22-graphicsmagick-1.3.36 ...
Using docker image sha256:68c28b617bffe2a886c7cc55876bd2ffe9dc0450f41e86898c5245c6247e92ee for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.1.patched-golang-1.20-rust-1.73-node-18.17-postgresql-14:rubygems-3.4-git-2.36-lfs-2.9-chrome-120-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.1.patched-golang-1.20-rust-1.73-node-18.17-postgresql-14@sha256:80a1e9bcb7ece8797ca1d1e1cad6ca2664ece80bda1d4d2575b247f5c91af96d ...
Preparing environment
Running on runner-nl4gfobe-project-278964-concurrent-0 via runner-nl4gfobe-shared-gitlab-org-1712776840-846f0424...
Getting source from Git repository
Skipping Git repository setup
Skipping Git checkout
Skipping Git submodules setup
Restoring cache
Checking cache for ruby-gems-debian-bookworm-ruby-3.1-17...
Downloading cache from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/ruby-gems-debian-bookworm-ruby-3.1-17
Successfully extracted cache
Downloading artifacts
Downloading artifacts for clone-gitlab-repo (6597627647)...
Downloading artifacts from coordinator... ok host=storage.googleapis.com id=6597627647 responseStatus=200 OK token=glcbt-65
WARNING: Part of .git directory is on the list of files to extract
WARNING: This may introduce unexpected problems
Downloading artifacts for compile-test-assets (6597627686)...
Downloading artifacts from coordinator... ok host=storage.googleapis.com id=6597627686 responseStatus=200 OK token=glcbt-65
Downloading artifacts for detect-tests (6597627712)...
Downloading artifacts from coordinator... ok host=storage.googleapis.com id=6597627712 responseStatus=200 OK token=glcbt-65
Downloading artifacts for retrieve-tests-metadata (6597627735)...
Downloading artifacts from coordinator... ok host=storage.googleapis.com id=6597627735 responseStatus=200 OK token=glcbt-65
Downloading artifacts for setup-test-env (6597627691)...
Downloading artifacts from coordinator... ok host=storage.googleapis.com id=6597627691 responseStatus=200 OK token=glcbt-65
Executing "step_script" stage of the job script
Using docker image sha256:68c28b617bffe2a886c7cc55876bd2ffe9dc0450f41e86898c5245c6247e92ee for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.1.patched-golang-1.20-rust-1.73-node-18.17-postgresql-14:rubygems-3.4-git-2.36-lfs-2.9-chrome-120-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.1.patched-golang-1.20-rust-1.73-node-18.17-postgresql-14@sha256:80a1e9bcb7ece8797ca1d1e1cad6ca2664ece80bda1d4d2575b247f5c91af96d ...
$ echo $FOSS_ONLY
$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb
$ export GOPATH=$CI_PROJECT_DIR/.go
$ mkdir -p $GOPATH
$ source scripts/utils.sh
$ source scripts/prepare_build.sh
Installing gems
Using decomposed database config (config/database.yml.decomposed-postgresql)
Geo DB won't be set up.
Embedding DB won't be set up.
Setting up DBs
$ source ./scripts/rspec_helpers.sh
$ run_timed_command "gem install knapsack --no-document"
$ gem install knapsack --no-document
Successfully installed knapsack-4.0.0
1 gem installed
==> 'gem install knapsack --no-document' succeeded in 2 seconds.
$ $ section_start "gitaly-test-spawn" "Spawning Gitaly"; scripts/gitaly-test-spawn; section_end "gitaly-test-spawn"[0;m
Spawning Gitaly
$ export RSPEC_SKIPPED_TESTS_REPORT_PATH="rspec/skipped_tests-${CI_JOB_ID}.txt"
$ export RSPEC_RETRIED_TESTS_REPORT_PATH="rspec/retried_tests-${CI_JOB_ID}.txt"
$ tooling/bin/create_job_metrics_file || true
[job-metrics] Creating the job metrics file for the CI/CD job.
$ rspec_section rspec_parallelized_job "--fail-fast=${RSPEC_FAIL_FAST_THRESHOLD} --tag ~quarantine --tag ~level:background_migration --tag ~click_house --tag ~real_ai_request"
RSpec
[20:48:31] Starting rspec_parallelized_job
RETRY_FAILED_TESTS_IN_NEW_PROCESS: true
KNAPSACK_GENERATE_REPORT: true
FLAKY_RSPEC_GENERATE_REPORT: true
KNAPSACK_TEST_FILE_PATTERN: spec/{commands,controllers,mailers,requests}{,/**/}*_spec.rb
KNAPSACK_LOG_LEVEL: debug
KNAPSACK_REPORT_PATH: knapsack/rspec_integration_pg14_4_16_278964_report.json
FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json
FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec_integration_pg14_4_16_278964_report.json
NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec_integration_pg14_4_16_278964_report.json
RSPEC_SKIPPED_TESTS_REPORT_PATH: rspec/skipped_tests-6597627973.txt
CRYSTALBALL:
RSPEC_TESTS_MAPPING_ENABLED:
RSPEC_TESTS_FILTER_FILE:
Shell set options (set -o) enabled:
braceexpand on
hashall on
interactive-comments on
pipefail on
Parsing expected rspec suite duration...
RSpec suite is expected to take 27 minutes 44.18 seconds.
Expected duration for tests:
{
"spec/requests/api/npm_instance_packages_spec.rb": 871.2907295440608,
"spec/requests/api/tags_spec.rb": 88.7479743971932,
"spec/requests/api/files_spec.rb": 71.64074678473135,
"spec/controllers/sent_notifications_controller_spec.rb": 57.57410370739536,
"spec/requests/api/graphql/ci/runner_spec.rb": 48.61777481531333,
"spec/controllers/admin/users_controller_spec.rb": 41.995047608723155,
"spec/requests/health_controller_spec.rb": 38.838597248052814,
"spec/requests/api/graphql/mutations/notes/create/diff_note_spec.rb": 32.550123841474516,
"spec/controllers/groups/group_members_controller_spec.rb": 30.77369562904289,
"spec/controllers/ldap/omniauth_callbacks_controller_spec.rb": 28.91538762833357,
"spec/controllers/projects/mirrors_controller_spec.rb": 25.96295428619775,
"spec/requests/api/go_proxy_spec.rb": 23.43739524398163,
"spec/requests/api/graphql/organizations/organization_query_spec.rb": 21.808482356822807,
"spec/requests/api/graphql/project/releases_spec.rb": 20.201951935748014,
"spec/requests/api/admin/instance_clusters_spec.rb": 17.552767813038216,
"spec/controllers/projects/refs_controller_spec.rb": 16.38581289452499,
"spec/requests/api/task_completion_status_spec.rb": 15.224288520967635,
"spec/controllers/projects/pages_controller_spec.rb": 13.279465372828255,
"spec/requests/lfs_locks_api_spec.rb": 12.684101850160713,
"spec/commands/metrics_server/metrics_server_spec.rb": 12.083385133356582,
"spec/requests/api/ci/secure_files_spec.rb": 10.902809105861616,
"spec/mailers/emails/pages_domains_spec.rb": 9.81418453299197,
"spec/controllers/concerns/product_analytics_tracking_spec.rb": 9.669872472649315,
"spec/mailers/devise_mailer_spec.rb": 8.884239436866464,
"spec/controllers/projects/todos_controller_spec.rb": 8.650383650680261,
"spec/requests/api/markdown_spec.rb": 7.815519650709787,
"spec/controllers/projects/runners_controller_spec.rb": 7.088064254516676,
"spec/requests/api/graphql/mutations/projects/sync_fork_spec.rb": 7.071776490798152,
"spec/controllers/snippets/blobs_controller_spec.rb": 6.303084724463344,
"spec/requests/api/sidekiq_metrics_spec.rb": 6.140412506479128,
"spec/requests/api/graphql/mutations/issues/set_due_date_spec.rb": 5.6959715596357015,
"spec/requests/api/graphql/ci/project_variables_spec.rb": 5.314083353534912,
"spec/requests/api/graphql/mutations/members/groups/bulk_update_spec.rb": 5.160735919972853,
"spec/requests/api/graphql/ci/group_variables_spec.rb": 5.009343515546904,
"spec/controllers/projects/ci/daily_build_group_report_results_controller_spec.rb": 4.538487064482929,
"spec/requests/api/graphql/mutations/work_items/delete_spec.rb": 4.466788796704964,
"spec/controllers/confirmations_controller_spec.rb": 4.030432373371482,
"spec/requests/projects/releases_controller_spec.rb": 3.9935126590656918,
"spec/requests/api/graphql/mutations/ci/pipeline_cancel_spec.rb": 3.7311057936454293,
"spec/requests/api/graphql/project/merge_request/pipelines_spec.rb": 3.632327579278315,
"spec/requests/groups/harbor/tags_controller_spec.rb": 3.4013882374546704,
"spec/requests/api/graphql/todo_query_spec.rb": 3.304657447708156,
"spec/requests/api/graphql/user/user_achievements_query_spec.rb": 3.1255453752676,
"spec/requests/api/graphql/project/alert_management/alert/assignees_spec.rb": 2.8846418709613006,
"spec/requests/api/graphql/mutations/branch_rules/create_spec.rb": 2.7843477518558677,
"spec/controllers/projects/security/configuration_controller_spec.rb": 2.687638069613569,
"spec/requests/web_ide/remote_ide_controller_spec.rb": 2.4476665359000824,
"spec/requests/api/graphql/mutations/ci/job_token_scope/add_project_spec.rb": 2.420283603768513,
"spec/requests/admin/impersonation_tokens_controller_spec.rb": 2.3090802940351454,
"spec/requests/api/graphql/project/error_tracking/sentry_detailed_error_request_spec.rb": 2.082376511580327,
"spec/controllers/projects/runner_projects_controller_spec.rb": 2.0708123159464202,
"spec/controllers/admin/jobs_controller_spec.rb": 1.9403676932963183,
"spec/controllers/projects/error_tracking/projects_controller_spec.rb": 1.8160052895021621,
"spec/requests/api/graphql/mutations/ci/catalog/resources/create_spec.rb": 1.763906125083106,
"spec/controllers/profiles/slacks_controller_spec.rb": 1.6061687133805373,
"spec/requests/api/graphql/mutations/dependency_proxy/image_ttl_group_policy/update_spec.rb": 1.6028307517866345,
"spec/requests/api/graphql/mutations/admin/abuse_report_labels/create_spec.rb": 1.3734702376790673,
"spec/requests/api/graphql/mutations/admin/sidekiq_queues/delete_jobs_spec.rb": 1.3343426947735355,
"spec/requests/api/graphql/user/group_member_query_spec.rb": 1.2057962396280997,
"spec/requests/admin/version_check_controller_spec.rb": 1.1824284907690612,
"spec/controllers/projects/pipelines_settings_controller_spec.rb": 0.9566313634318352,
"spec/controllers/projects/packages/packages_controller_spec.rb": 0.9013746520208906,
"spec/mailers/email_rejection_mailer_spec.rb": 0.635813166453478,
"spec/requests/jira_connect/oauth_callbacks_controller_spec.rb": 0.525230235342014,
"spec/controllers/concerns/issuable_actions_spec.rb": 0.33897233218379974
}
Running command: bundle exec rspec -Ispec -rspec_helper --color --failure-exit-code 1 --error-exit-code 2 --format documentation --format Support::Formatters::JsonFormatter --out rspec/rspec-6597627973.json --format RspecJunitFormatter --out rspec/rspec-6597627973.xml --fail-fast=20 --tag ~quarantine --tag ~level:background_migration --tag ~click_house --tag ~real_ai_request -- spec/requests/api/npm_instance_packages_spec.rb spec/requests/api/tags_spec.rb spec/requests/api/files_spec.rb spec/controllers/sent_notifications_controller_spec.rb spec/requests/api/graphql/ci/runner_spec.rb spec/controllers/admin/users_controller_spec.rb spec/requests/health_controller_spec.rb spec/requests/api/graphql/mutations/notes/create/diff_note_spec.rb spec/controllers/groups/group_members_controller_spec.rb spec/controllers/ldap/omniauth_callbacks_controller_spec.rb spec/controllers/projects/mirrors_controller_spec.rb spec/requests/api/go_proxy_spec.rb spec/requests/api/graphql/organizations/organization_query_spec.rb spec/requests/api/graphql/project/releases_spec.rb spec/requests/api/admin/instance_clusters_spec.rb spec/controllers/projects/refs_controller_spec.rb spec/requests/api/task_completion_status_spec.rb spec/controllers/projects/pages_controller_spec.rb spec/requests/lfs_locks_api_spec.rb spec/commands/metrics_server/metrics_server_spec.rb spec/requests/api/ci/secure_files_spec.rb spec/mailers/emails/pages_domains_spec.rb spec/controllers/concerns/product_analytics_tracking_spec.rb spec/mailers/devise_mailer_spec.rb spec/controllers/projects/todos_controller_spec.rb spec/requests/api/markdown_spec.rb spec/controllers/projects/runners_controller_spec.rb spec/requests/api/graphql/mutations/projects/sync_fork_spec.rb spec/controllers/snippets/blobs_controller_spec.rb spec/requests/api/sidekiq_metrics_spec.rb spec/requests/api/graphql/mutations/issues/set_due_date_spec.rb spec/requests/api/graphql/ci/project_variables_spec.rb spec/requests/api/graphql/mutations/members/groups/bulk_update_spec.rb spec/requests/api/graphql/ci/group_variables_spec.rb spec/controllers/projects/ci/daily_build_group_report_results_controller_spec.rb spec/requests/api/graphql/mutations/work_items/delete_spec.rb spec/controllers/confirmations_controller_spec.rb spec/requests/projects/releases_controller_spec.rb spec/requests/api/graphql/mutations/ci/pipeline_cancel_spec.rb spec/requests/api/graphql/project/merge_request/pipelines_spec.rb spec/requests/groups/harbor/tags_controller_spec.rb spec/requests/api/graphql/todo_query_spec.rb spec/requests/api/graphql/user/user_achievements_query_spec.rb spec/requests/api/graphql/project/alert_management/alert/assignees_spec.rb spec/requests/api/graphql/mutations/branch_rules/create_spec.rb spec/controllers/projects/security/configuration_controller_spec.rb spec/requests/web_ide/remote_ide_controller_spec.rb spec/requests/api/graphql/mutations/ci/job_token_scope/add_project_spec.rb spec/requests/admin/impersonation_tokens_controller_spec.rb spec/requests/api/graphql/project/error_tracking/sentry_detailed_error_request_spec.rb spec/controllers/projects/runner_projects_controller_spec.rb spec/controllers/admin/jobs_controller_spec.rb spec/controllers/projects/error_tracking/projects_controller_spec.rb spec/requests/api/graphql/mutations/ci/catalog/resources/create_spec.rb spec/controllers/profiles/slacks_controller_spec.rb spec/requests/api/graphql/mutations/dependency_proxy/image_ttl_group_policy/update_spec.rb spec/requests/api/graphql/mutations/admin/abuse_report_labels/create_spec.rb spec/requests/api/graphql/mutations/admin/sidekiq_queues/delete_jobs_spec.rb spec/requests/api/graphql/user/group_member_query_spec.rb spec/requests/admin/version_check_controller_spec.rb spec/controllers/projects/pipelines_settings_controller_spec.rb spec/controllers/projects/packages/packages_controller_spec.rb spec/mailers/email_rejection_mailer_spec.rb spec/requests/jira_connect/oauth_callbacks_controller_spec.rb spec/controllers/concerns/issuable_actions_spec.rbKnapsack report generator started!
Run options: exclude {:quarantine=>true, :level=>"background_migration", :click_house=>true, :real_ai_request=>true}
# [RSpecRunTime] Starting RSpec timer...
[TEST PROF INFO] EventProf enabled (sql.active_record)
unknown OID 2249: failed to recognize type of 'pg_stat_file'. It will be treated as String.
unknown OID 2249: failed to recognize type of 'pg_stat_file'. It will be treated as String.
Test environment set up in 2.746162868 seconds
# [RSpecRunTime] Starting example group spec/requests/api/npm_instance_packages_spec.rb. Expected to take 14 minutes 31.29 seconds.
API::NpmInstancePackages
GET /api/v4/packages/npm/*package_name
behaves like handling get metadata requests
with a group namespace
behaves like handling all conditions
auth: nil, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
auth: nil, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 16.08 seconds. Current RSS: ~1437M. load average: 1.08 0.93 0.97 1/282 400
auth: nil, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: nil, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :unscoped, request_forward: true, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: nil, package_name_type: :unscoped, request_forward: false, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :non_existing, request_forward: true, visibility: :public, user_role: nil, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: nil, package_name_type: :non_existing, request_forward: false, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject metadata request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject metadata request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like redirect metadata request
redirects metadata request
auth: nil, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :unscoped, request_forward: true, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like redirect metadata request
redirects metadata request
auth: nil, package_name_type: :unscoped, request_forward: false, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :non_existing, request_forward: true, visibility: :private, user_role: nil, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: nil, package_name_type: :non_existing, request_forward: false, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject metadata request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject metadata request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like redirect metadata request
redirects metadata request
auth: nil, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :unscoped, request_forward: true, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like redirect metadata request
redirects metadata request
auth: nil, package_name_type: :unscoped, request_forward: false, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :non_existing, request_forward: true, visibility: :internal, user_role: nil, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: nil, package_name_type: :non_existing, request_forward: false, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 24.12 seconds. Current RSS: ~1486M. load average: 1.07 0.93 0.97 1/282 401
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 26.05 seconds. Current RSS: ~1490M. load average: 1.07 0.93 0.97 1/282 402
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 28.27 seconds. Current RSS: ~1489M. load average: 1.07 0.93 0.97 1/282 403
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 30.31 seconds. Current RSS: ~1488M. load average: 1.06 0.94 0.97 1/282 404
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
# [RSpecRunTime] RSpec elapsed time: 32.02 seconds. Current RSS: ~1488M. load average: 1.06 0.94 0.97 1/282 405
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, request_forward: true, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :unscoped, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :unscoped, request_forward: false, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, request_forward: true, visibility: :public, user_role: :guest, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :non_existing, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :non_existing, request_forward: false, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject metadata request
behaves like returning response status
returns forbidden
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 39.71 seconds. Current RSS: ~1495M. load average: 1.05 0.94 0.97 1/282 406
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject metadata request
behaves like returning response status
returns forbidden
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 42.55 seconds. Current RSS: ~1501M. load average: 1.05 0.94 0.97 1/282 407
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, request_forward: true, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :unscoped, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :unscoped, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, request_forward: true, visibility: :private, user_role: :guest, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :non_existing, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :non_existing, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 50.19 seconds. Current RSS: ~1499M. load average: 1.12 0.96 0.98 1/282 408
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 52.42 seconds. Current RSS: ~1500M. load average: 1.12 0.96 0.98 1/282 409
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 54.56 seconds. Current RSS: ~1501M. load average: 1.11 0.96 0.98 1/282 410
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 56.93 seconds. Current RSS: ~1499M. load average: 1.11 0.96 0.98 1/282 411
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :unscoped, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :unscoped, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :non_existing, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :non_existing, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 1 minute 4.48 seconds. Current RSS: ~1503M. load average: 1.09 0.96 0.98 1/282 412
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 1 minute 6.5 seconds. Current RSS: ~1500M. load average: 1.09 0.96 0.98 1/282 413
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 1 minute 8.47 seconds. Current RSS: ~1501M. load average: 1.09 0.96 0.98 1/282 414
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 1 minute 10.66 seconds. Current RSS: ~1499M. load average: 1.08 0.96 0.98 1/282 415
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, request_forward: true, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :unscoped, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :unscoped, request_forward: false, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, request_forward: true, visibility: :public, user_role: :guest, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :non_existing, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :non_existing, request_forward: false, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject metadata request
behaves like returning response status
returns forbidden
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 1 minute 18.43 seconds. Current RSS: ~1503M. load average: 1.16 0.98 0.99 1/279 416
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject metadata request
behaves like returning response status
returns forbidden
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 1 minute 21.07 seconds. Current RSS: ~1495M. load average: 1.06 0.96 0.98 1/279 417
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, request_forward: true, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :unscoped, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :unscoped, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, request_forward: true, visibility: :private, user_role: :guest, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :non_existing, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :non_existing, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 1 minute 28.5 seconds. Current RSS: ~1501M. load average: 1.06 0.96 0.98 1/279 418
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 1 minute 30.76 seconds. Current RSS: ~1501M. load average: 1.05 0.96 0.98 1/279 419
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 1 minute 32.87 seconds. Current RSS: ~1500M. load average: 1.05 0.96 0.98 1/279 420
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 1 minute 35.03 seconds. Current RSS: ~1497M. load average: 1.13 0.98 0.99 1/279 421
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :unscoped, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :unscoped, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :non_existing, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :non_existing, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 1 minute 42.74 seconds. Current RSS: ~1493M. load average: 1.12 0.98 0.99 1/279 422
auth: :job_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 1 minute 44.85 seconds. Current RSS: ~1487M. load average: 1.03 0.97 0.99 1/279 423
auth: :job_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :job_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, request_forward: true, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :job_token, package_name_type: :unscoped, request_forward: false, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, request_forward: true, visibility: :public, user_role: :developer, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :job_token, package_name_type: :non_existing, request_forward: false, visibility: :public, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 1 minute 49.57 seconds. Current RSS: ~1492M. load average: 1.11 0.98 0.99 1/279 424
auth: :job_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 1 minute 51.71 seconds. Current RSS: ~1495M. load average: 1.11 0.98 0.99 1/279 425
auth: :job_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :job_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, request_forward: true, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :job_token, package_name_type: :unscoped, request_forward: false, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, request_forward: true, visibility: :private, user_role: :developer, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :job_token, package_name_type: :non_existing, request_forward: false, visibility: :private, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 1 minute 56.55 seconds. Current RSS: ~1491M. load average: 1.10 0.98 0.99 1/279 426
auth: :job_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 1 minute 58.78 seconds. Current RSS: ~1494M. load average: 1.10 0.98 0.99 1/279 427
auth: :job_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :job_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, request_forward: true, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :job_token, package_name_type: :unscoped, request_forward: false, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, request_forward: true, visibility: :internal, user_role: :developer, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :job_token, package_name_type: :non_existing, request_forward: false, visibility: :internal, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 2 minutes 3.02 seconds. Current RSS: ~1492M. load average: 1.17 1.00 1.00 1/280 428
auth: :deploy_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 2 minutes 4.6 seconds. Current RSS: ~1489M. load average: 1.16 1.00 1.00 1/280 429
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, request_forward: true, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :deploy_token, package_name_type: :unscoped, request_forward: false, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, request_forward: true, visibility: :public, user_role: nil, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :deploy_token, package_name_type: :non_existing, request_forward: false, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 2 minutes 7.7 seconds. Current RSS: ~1502M. load average: 1.16 1.00 1.00 1/281 430
auth: :deploy_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 2 minutes 9.29 seconds. Current RSS: ~1501M. load average: 1.16 1.00 1.00 1/281 431
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, request_forward: true, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :deploy_token, package_name_type: :unscoped, request_forward: false, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, request_forward: true, visibility: :private, user_role: nil, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :deploy_token, package_name_type: :non_existing, request_forward: false, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 2 minutes 12.86 seconds. Current RSS: ~1497M. load average: 1.14 1.00 1.00 2/281 432
auth: :deploy_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 2 minutes 14.44 seconds. Current RSS: ~1488M. load average: 1.13 1.00 1.00 1/281 433
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, request_forward: true, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :deploy_token, package_name_type: :unscoped, request_forward: false, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, request_forward: true, visibility: :internal, user_role: nil, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :deploy_token, package_name_type: :non_existing, request_forward: false, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
with a user namespace
behaves like handling all conditions
auth: nil, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 2 minutes 17.79 seconds. Current RSS: ~1490M. load average: 1.13 1.00 1.00 1/281 434
auth: nil, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 2 minutes 19.41 seconds. Current RSS: ~1486M. load average: 1.13 1.00 1.00 1/281 435
auth: nil, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: nil, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :unscoped, request_forward: true, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: nil, package_name_type: :unscoped, request_forward: false, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :non_existing, request_forward: true, visibility: :public, user_role: nil, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: nil, package_name_type: :non_existing, request_forward: false, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject metadata request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject metadata request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like redirect metadata request
redirects metadata request
auth: nil, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :unscoped, request_forward: true, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like redirect metadata request
redirects metadata request
auth: nil, package_name_type: :unscoped, request_forward: false, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :non_existing, request_forward: true, visibility: :private, user_role: nil, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: nil, package_name_type: :non_existing, request_forward: false, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject metadata request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject metadata request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like redirect metadata request
redirects metadata request
auth: nil, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :unscoped, request_forward: true, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like redirect metadata request
redirects metadata request
auth: nil, package_name_type: :unscoped, request_forward: false, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :non_existing, request_forward: true, visibility: :internal, user_role: nil, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: nil, package_name_type: :non_existing, request_forward: false, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 2 minutes 27.56 seconds. Current RSS: ~1490M. load average: 1.11 1.00 1.00 1/281 436
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 2 minutes 30.88 seconds. Current RSS: ~1482M. load average: 1.10 1.00 1.00 1/281 437
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 2 minutes 33.1 seconds. Current RSS: ~1483M. load average: 1.10 1.00 1.00 1/281 438
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 2 minutes 35.22 seconds. Current RSS: ~1481M. load average: 1.09 1.00 1.00 1/281 439
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, request_forward: true, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :unscoped, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :unscoped, request_forward: false, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, request_forward: true, visibility: :public, user_role: :guest, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :non_existing, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :non_existing, request_forward: false, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject metadata request
behaves like returning response status
returns forbidden
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 2 minutes 43.22 seconds. Current RSS: ~1499M. load average: 1.09 1.00 1.00 1/282 441
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject metadata request
behaves like returning response status
returns forbidden
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 2 minutes 45.9 seconds. Current RSS: ~1500M. load average: 1.08 1.00 1.00 1/282 442
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, request_forward: true, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :unscoped, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :unscoped, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, request_forward: true, visibility: :private, user_role: :guest, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :non_existing, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :non_existing, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 2 minutes 53.69 seconds. Current RSS: ~1492M. load average: 1.07 1.00 1.00 1/282 443
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 2 minutes 55.85 seconds. Current RSS: ~1497M. load average: 1.07 1.00 1.00 1/282 444
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 2 minutes 58.04 seconds. Current RSS: ~1498M. load average: 1.07 1.00 1.00 1/282 445
auth: :oauth, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 3 minutes 0.28 second. Current RSS: ~1498M. load average: 1.06 1.00 1.00 1/282 446
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :unscoped, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :unscoped, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :non_existing, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :oauth, package_name_type: :non_existing, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 3 minutes 8.04 seconds. Current RSS: ~1501M. load average: 1.06 1.00 1.00 1/282 447
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 3 minutes 10.23 seconds. Current RSS: ~1499M. load average: 0.97 0.98 0.99 1/282 448
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 3 minutes 12.35 seconds. Current RSS: ~1499M. load average: 0.97 0.98 0.99 1/282 449
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 3 minutes 14.62 seconds. Current RSS: ~1494M. load average: 0.97 0.98 1.00 1/282 450
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, request_forward: true, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :unscoped, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :unscoped, request_forward: false, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, request_forward: true, visibility: :public, user_role: :guest, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :non_existing, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :non_existing, request_forward: false, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject metadata request
behaves like returning response status
returns forbidden
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 3 minutes 22.35 seconds. Current RSS: ~1501M. load average: 0.98 0.98 1.00 1/282 451
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject metadata request
behaves like returning response status
returns forbidden
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 3 minutes 25.01 seconds. Current RSS: ~1499M. load average: 0.98 0.98 1.00 1/282 452
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, request_forward: true, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :unscoped, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :unscoped, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, request_forward: true, visibility: :private, user_role: :guest, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :non_existing, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :non_existing, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 3 minutes 32.64 seconds. Current RSS: ~1496M. load average: 0.98 0.99 1.00 1/283 454
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 3 minutes 34.73 seconds. Current RSS: ~1502M. load average: 0.98 0.99 1.00 1/283 455
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 3 minutes 36.84 seconds. Current RSS: ~1499M. load average: 0.98 0.99 1.00 1/283 456
auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 3 minutes 38.88 seconds. Current RSS: ~1495M. load average: 0.98 0.99 1.00 1/283 457
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :unscoped, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :unscoped, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :non_existing, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :personal_access_token, package_name_type: :non_existing, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 3 minutes 46.23 seconds. Current RSS: ~1496M. load average: 0.98 0.99 1.00 1/283 458
auth: :job_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 3 minutes 48.32 seconds. Current RSS: ~1496M. load average: 0.98 0.99 1.00 1/283 459
auth: :job_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :job_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, request_forward: true, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :job_token, package_name_type: :unscoped, request_forward: false, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, request_forward: true, visibility: :public, user_role: :developer, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :job_token, package_name_type: :non_existing, request_forward: false, visibility: :public, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 3 minutes 52.93 seconds. Current RSS: ~1491M. load average: 0.99 0.99 1.00 1/283 460
auth: :job_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 3 minutes 55.12 seconds. Current RSS: ~1489M. load average: 0.99 0.99 1.00 1/283 461
auth: :job_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :job_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, request_forward: true, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :job_token, package_name_type: :unscoped, request_forward: false, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, request_forward: true, visibility: :private, user_role: :developer, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :job_token, package_name_type: :non_existing, request_forward: false, visibility: :private, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 4 minutes 0.04 second. Current RSS: ~1480M. load average: 0.99 0.99 1.00 1/283 462
auth: :job_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 4 minutes 2.15 seconds. Current RSS: ~1486M. load average: 0.99 0.99 1.00 1/283 463
auth: :job_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :job_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, request_forward: true, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :job_token, package_name_type: :unscoped, request_forward: false, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, request_forward: true, visibility: :internal, user_role: :developer, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :job_token, package_name_type: :non_existing, request_forward: false, visibility: :internal, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 4 minutes 6.42 seconds. Current RSS: ~1489M. load average: 0.99 0.99 1.00 1/283 464
auth: :deploy_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 4 minutes 7.9 seconds. Current RSS: ~1488M. load average: 0.99 0.99 1.00 1/283 465
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, request_forward: true, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :deploy_token, package_name_type: :unscoped, request_forward: false, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, request_forward: true, visibility: :public, user_role: nil, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :deploy_token, package_name_type: :non_existing, request_forward: false, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 4 minutes 11.0 seconds. Current RSS: ~1498M. load average: 0.99 0.99 1.00 1/283 466
auth: :deploy_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 4 minutes 12.62 seconds. Current RSS: ~1498M. load average: 0.99 0.99 1.00 1/283 467
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, request_forward: true, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :deploy_token, package_name_type: :unscoped, request_forward: false, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, request_forward: true, visibility: :private, user_role: nil, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :deploy_token, package_name_type: :non_existing, request_forward: false, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 4 minutes 16.11 seconds. Current RSS: ~1493M. load average: 1.07 1.01 1.01 1/283 468
auth: :deploy_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 4 minutes 17.73 seconds. Current RSS: ~1489M. load average: 1.07 1.01 1.01 1/283 469
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, request_forward: true, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like redirect metadata request
redirects metadata request
auth: :deploy_token, package_name_type: :unscoped, request_forward: false, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, request_forward: true, visibility: :internal, user_role: nil, expected_result: :redirect, expected_status: :redirected
behaves like redirect metadata request
redirects metadata request
auth: :deploy_token, package_name_type: :non_existing, request_forward: false, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
with a developer
project path with a dot
behaves like accept metadata request
accepts the metadata request
avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 4 minutes 21.49 seconds. Current RSS: ~1489M. load average: 1.07 1.01 1.00 1/283 470
with a job token
behaves like reject metadata request
behaves like returning response status
returns unauthorized
# [RSpecRunTime] RSpec elapsed time: 4 minutes 23.11 seconds. Current RSS: ~1489M. load average: 1.07 1.01 1.00 1/283 471
behaves like rejects invalid package names
is expected to eq {"error"=>"package_name should be a valid file path"}
behaves like handling get metadata requests for packages in multiple projects
includes all matching package versions in the response
with the feature flag disabled
returns matching package versions from only one project
# [RSpecRunTime] RSpec elapsed time: 4 minutes 24.62 seconds. Current RSS: ~1487M. load average: 1.06 1.01 1.00 1/283 472
with limited access to the project with the last package version
includes matching package versions from authorized projects in the response
with limited access to the project with the first package version
includes matching package versions from authorized projects in the response
when metadata cache exists
behaves like generates metadata response "on-the-fly"
generates metadata response "on-the-fly"
GET /api/v4/packages/npm/-/package/*package_name/dist-tags
behaves like handling get dist tags requests
with a group namespace
behaves like handling all conditions
auth: nil, package_name_type: :scoped_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 4 minutes 27.03 seconds. Current RSS: ~1496M. load average: 1.06 1.01 1.00 1/283 473
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :unscoped, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :non_existing, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :scoped_naming_convention, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject package tags request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :unscoped, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :non_existing, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject package tags request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :unscoped, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :non_existing, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 4 minutes 32.07 seconds. Current RSS: ~1509M. load average: 1.06 1.00 1.00 1/283 474
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 4 minutes 35.16 seconds. Current RSS: ~1501M. load average: 1.13 1.02 1.01 1/283 475
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :public, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject package tags request
behaves like returning response status
returns forbidden
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 4 minutes 41.23 seconds. Current RSS: ~1501M. load average: 1.12 1.02 1.01 1/283 476
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :private, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 4 minutes 46.94 seconds. Current RSS: ~1508M. load average: 1.11 1.02 1.01 1/283 477
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 4 minutes 50.31 seconds. Current RSS: ~1504M. load average: 1.10 1.02 1.01 1/283 478
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :internal, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 4 minutes 55.73 seconds. Current RSS: ~1503M. load average: 1.09 1.02 1.01 1/283 479
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 4 minutes 58.75 seconds. Current RSS: ~1505M. load average: 1.09 1.02 1.01 1/283 480
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :public, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject package tags request
behaves like returning response status
returns forbidden
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 5 minutes 4.69 seconds. Current RSS: ~1502M. load average: 1.08 1.02 1.01 1/283 481
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :private, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 5 minutes 10.25 seconds. Current RSS: ~1498M. load average: 1.07 1.02 1.01 1/283 482
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 5 minutes 13.52 seconds. Current RSS: ~1501M. load average: 1.07 1.02 1.01 1/283 483
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :internal, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 5 minutes 19.08 seconds. Current RSS: ~1499M. load average: 1.07 1.02 1.01 1/283 484
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, visibility: :public, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 5 minutes 23.36 seconds. Current RSS: ~1495M. load average: 0.98 1.00 1.00 1/283 485
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, visibility: :private, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 5 minutes 27.84 seconds. Current RSS: ~1497M. load average: 1.06 1.02 1.01 1/283 486
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, visibility: :internal, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 5 minutes 31.78 seconds. Current RSS: ~1496M. load average: 1.14 1.03 1.01 1/284 487
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 5 minutes 34.56 seconds. Current RSS: ~1504M. load average: 1.13 1.03 1.01 1/284 488
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 5 minutes 37.5 seconds. Current RSS: ~1508M. load average: 1.13 1.03 1.01 1/284 489
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
with a user namespace
behaves like handling all conditions
auth: nil, package_name_type: :scoped_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 5 minutes 40.69 seconds. Current RSS: ~1500M. load average: 1.12 1.03 1.01 1/284 490
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :unscoped, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :non_existing, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :scoped_naming_convention, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject package tags request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :unscoped, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :non_existing, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject package tags request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :unscoped, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: nil, package_name_type: :non_existing, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 5 minutes 45.92 seconds. Current RSS: ~1507M. load average: 1.03 1.01 1.00 1/284 491
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 5 minutes 49.18 seconds. Current RSS: ~1503M. load average: 1.03 1.01 1.00 1/284 492
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :public, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject package tags request
behaves like returning response status
returns forbidden
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 5 minutes 55.37 seconds. Current RSS: ~1494M. load average: 1.02 1.01 1.00 1/284 493
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :private, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 6 minutes 1.15 seconds. Current RSS: ~1491M. load average: 1.02 1.01 1.00 1/284 494
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 6 minutes 4.65 seconds. Current RSS: ~1486M. load average: 1.02 1.01 1.00 1/284 495
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
# [RSpecRunTime] RSpec elapsed time: 6 minutes 6.94 seconds. Current RSS: ~1485M. load average: 1.02 1.01 1.00 1/284 496
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :internal, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 6 minutes 11.52 seconds. Current RSS: ~1497M. load average: 1.02 1.01 1.00 1/284 497
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 6 minutes 14.66 seconds. Current RSS: ~1496M. load average: 1.02 1.01 1.00 1/284 498
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :public, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject package tags request
behaves like returning response status
returns forbidden
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 6 minutes 20.58 seconds. Current RSS: ~1499M. load average: 1.01 1.01 1.00 1/284 499
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :private, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 6 minutes 26.23 seconds. Current RSS: ~1502M. load average: 1.01 1.01 1.00 1/284 500
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 6 minutes 29.39 seconds. Current RSS: ~1509M. load average: 1.01 1.01 1.00 1/284 501
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :internal, user_role: :reporter, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 6 minutes 35.15 seconds. Current RSS: ~1504M. load average: 1.01 1.01 1.00 1/284 502
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, visibility: :public, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 6 minutes 39.65 seconds. Current RSS: ~1501M. load average: 1.09 1.03 1.01 1/284 503
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, visibility: :private, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 6 minutes 44.16 seconds. Current RSS: ~1503M. load average: 1.09 1.03 1.01 1/284 504
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, visibility: :internal, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 6 minutes 47.94 seconds. Current RSS: ~1507M. load average: 1.08 1.03 1.00 1/284 505
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 6 minutes 50.77 seconds. Current RSS: ~1516M. load average: 1.08 1.02 1.00 1/284 506
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept package tags request
with valid package name
returns a valid json response
returns two package tags
behaves like returning response status
returns ok
# [RSpecRunTime] RSpec elapsed time: 6 minutes 53.76 seconds. Current RSS: ~1506M. load average: 1.08 1.02 1.00 1/284 507
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event list_tags
with invalid package name
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
PUT /api/v4/packages/npm/-/package/*package_name/dist-tags/:tag
behaves like handling create dist tag requests
with a group namespace
behaves like handling all conditions
behaves like handling different package names, visibilities and user roles for tags create or delete
auth: nil, package_name_type: :scoped_naming_convention, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :unscoped, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :non_existing, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_naming_convention, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :unscoped, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :non_existing, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :unscoped, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :non_existing, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject create package tag request
behaves like returning response status
returns forbidden
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 7 minutes 0.76 second. Current RSS: ~1508M. load average: 1.06 1.02 1.00 1/283 508
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 7 minutes 3.17 seconds. Current RSS: ~1503M. load average: 1.06 1.02 1.00 1/283 509
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :public, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject create package tag request
behaves like returning response status
returns forbidden
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 7 minutes 12.34 seconds. Current RSS: ~1495M. load average: 1.05 1.02 1.00 1/283 510
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 7 minutes 14.88 seconds. Current RSS: ~1495M. load average: 1.05 1.02 1.00 1/283 511
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :private, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject create package tag request
behaves like returning response status
returns forbidden
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 7 minutes 24.38 seconds. Current RSS: ~1488M. load average: 1.04 1.02 1.00 1/284 512
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 7 minutes 26.95 seconds. Current RSS: ~1487M. load average: 1.04 1.02 1.00 1/284 513
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :internal, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject create package tag request
behaves like returning response status
returns forbidden
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 7 minutes 36.06 seconds. Current RSS: ~1489M. load average: 1.03 1.02 1.00 1/284 514
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 7 minutes 38.42 seconds. Current RSS: ~1489M. load average: 1.03 1.02 1.00 1/284 515
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
# [RSpecRunTime] RSpec elapsed time: 7 minutes 43.23 seconds. Current RSS: ~1488M. load average: 1.03 1.02 1.00 1/284 516
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :public, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject create package tag request
behaves like returning response status
returns forbidden
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 7 minutes 48.92 seconds. Current RSS: ~1500M. load average: 1.03 1.02 1.00 1/284 517
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 7 minutes 51.33 seconds. Current RSS: ~1505M. load average: 1.03 1.02 1.00 1/284 518
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :private, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject create package tag request
behaves like returning response status
returns forbidden
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 8 minutes 0.4 second. Current RSS: ~1506M. load average: 1.10 1.03 1.00 1/284 519
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 8 minutes 2.97 seconds. Current RSS: ~1511M. load average: 1.10 1.03 1.00 1/284 520
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :internal, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 8 minutes 11.34 seconds. Current RSS: ~1507M. load average: 1.08 1.03 1.00 1/284 521
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 8 minutes 13.81 seconds. Current RSS: ~1509M. load average: 1.08 1.03 1.00 1/284 522
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, visibility: :public, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 8 minutes 21.0 seconds. Current RSS: ~1510M. load average: 1.15 1.05 1.01 1/284 523
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 8 minutes 23.32 seconds. Current RSS: ~1513M. load average: 1.15 1.05 1.01 1/284 524
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, visibility: :private, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 8 minutes 30.63 seconds. Current RSS: ~1514M. load average: 1.12 1.05 1.01 1/284 525
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 8 minutes 33.1 seconds. Current RSS: ~1512M. load average: 1.12 1.05 1.01 1/284 526
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, visibility: :internal, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 8 minutes 39.86 seconds. Current RSS: ~1515M. load average: 1.10 1.04 1.01 1/284 527
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 8 minutes 41.52 seconds. Current RSS: ~1517M. load average: 1.10 1.04 1.01 1/284 528
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 8 minutes 45.91 seconds. Current RSS: ~1509M. load average: 1.18 1.06 1.01 1/284 529
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 8 minutes 47.74 seconds. Current RSS: ~1508M. load average: 1.18 1.06 1.01 1/284 530
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 8 minutes 52.48 seconds. Current RSS: ~1508M. load average: 1.08 1.04 1.01 1/284 531
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 8 minutes 54.35 seconds. Current RSS: ~1504M. load average: 1.08 1.04 1.01 1/284 532
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
with a user namespace
behaves like handling all conditions
behaves like handling different package names, visibilities and user roles for tags create or delete
auth: nil, package_name_type: :scoped_naming_convention, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :unscoped, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :non_existing, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_naming_convention, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :unscoped, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :non_existing, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :unscoped, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :non_existing, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject create package tag request
behaves like returning response status
returns unauthorized
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject create package tag request
behaves like returning response status
returns forbidden
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 9 minutes 3.17 seconds. Current RSS: ~1510M. load average: 1.07 1.04 1.01 1/284 533
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 9 minutes 5.53 seconds. Current RSS: ~1502M. load average: 1.14 1.06 1.01 1/284 534
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :public, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject create package tag request
behaves like returning response status
returns forbidden
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 9 minutes 14.24 seconds. Current RSS: ~1493M. load average: 1.13 1.06 1.01 1/284 535
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 9 minutes 16.72 seconds. Current RSS: ~1489M. load average: 1.12 1.05 1.01 1/284 536
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
# [RSpecRunTime] RSpec elapsed time: 9 minutes 18.57 seconds. Current RSS: ~1488M. load average: 1.12 1.05 1.01 1/284 537
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :private, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject create package tag request
behaves like returning response status
returns forbidden
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 9 minutes 27.22 seconds. Current RSS: ~1501M. load average: 1.10 1.05 1.01 1/284 538
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 9 minutes 29.79 seconds. Current RSS: ~1502M. load average: 1.09 1.05 1.01 1/284 539
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :internal, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject create package tag request
behaves like returning response status
returns forbidden
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 9 minutes 38.61 seconds. Current RSS: ~1510M. load average: 1.17 1.07 1.01 1/284 540
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 9 minutes 40.92 seconds. Current RSS: ~1504M. load average: 1.15 1.07 1.01 1/284 541
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :public, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject create package tag request
behaves like returning response status
returns forbidden
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 9 minutes 49.53 seconds. Current RSS: ~1504M. load average: 1.14 1.06 1.01 1/284 542
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 9 minutes 52.31 seconds. Current RSS: ~1506M. load average: 1.13 1.06 1.01 1/284 543
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :private, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject create package tag request
behaves like returning response status
returns forbidden
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 10 minutes 1.25 seconds. Current RSS: ~1502M. load average: 1.11 1.06 1.01 1/284 544
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 10 minutes 3.59 seconds. Current RSS: ~1503M. load average: 1.11 1.06 1.01 1/284 545
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :internal, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 10 minutes 11.76 seconds. Current RSS: ~1511M. load average: 1.09 1.06 1.01 1/284 546
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 10 minutes 14.2 seconds. Current RSS: ~1509M. load average: 1.09 1.06 1.01 1/284 547
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, visibility: :public, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 10 minutes 20.87 seconds. Current RSS: ~1504M. load average: 1.08 1.06 1.01 1/284 548
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 10 minutes 23.31 seconds. Current RSS: ~1502M. load average: 1.08 1.06 1.01 1/284 549
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, visibility: :private, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 10 minutes 30.49 seconds. Current RSS: ~1498M. load average: 1.06 1.05 1.01 1/284 550
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 10 minutes 32.95 seconds. Current RSS: ~1497M. load average: 1.06 1.05 1.01 1/284 551
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, visibility: :internal, user_role: :developer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 10 minutes 39.6 seconds. Current RSS: ~1499M. load average: 1.05 1.05 1.01 1/284 552
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 10 minutes 41.27 seconds. Current RSS: ~1502M. load average: 1.05 1.05 1.01 1/284 553
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
# [RSpecRunTime] RSpec elapsed time: 10 minutes 43.38 seconds. Current RSS: ~1506M. load average: 1.05 1.05 1.01 1/284 554
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 10 minutes 46.9 seconds. Current RSS: ~1522M. load average: 1.05 1.05 1.01 1/284 555
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 10 minutes 48.68 seconds. Current RSS: ~1518M. load average: 1.05 1.05 1.01 1/284 556
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept create package tag request
with valid package name
creates the package tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 10 minutes 53.35 seconds. Current RSS: ~1517M. load average: 1.05 1.05 1.01 1/284 557
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event create_tag
with already existing tag
reuses existing tag
returns a valid response
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 10 minutes 55.04 seconds. Current RSS: ~1515M. load average: 1.04 1.05 1.01 1/284 558
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid version
version: " ", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: "", status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
version: nil, status: :bad_request, error: "\"Version\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
behaves like enqueue a worker to sync a metadata cache
enqueues a worker to create a metadata cache
DELETE /api/v4/packages/npm/-/package/*package_name/dist-tags/:tag
behaves like handling delete dist tag requests
with a group namespace
behaves like handling all conditions
behaves like handling different package names, visibilities and user roles for tags create or delete
auth: nil, package_name_type: :scoped_naming_convention, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :unscoped, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :non_existing, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_naming_convention, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :unscoped, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :non_existing, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :unscoped, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :non_existing, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject delete package tag request
behaves like returning response status
returns forbidden
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 11 minutes 4.06 seconds. Current RSS: ~1514M. load average: 1.04 1.05 1.01 1/284 559
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :public, user_role: :maintainer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject delete package tag request
behaves like returning response status
returns forbidden
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 11 minutes 12.92 seconds. Current RSS: ~1501M. load average: 1.03 1.05 1.00 1/284 560
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :private, user_role: :maintainer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject delete package tag request
behaves like returning response status
returns forbidden
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 11 minutes 22.42 seconds. Current RSS: ~1502M. load average: 1.03 1.04 1.00 1/284 561
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :internal, user_role: :maintainer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject delete package tag request
behaves like returning response status
returns forbidden
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 11 minutes 31.72 seconds. Current RSS: ~1506M. load average: 1.10 1.06 1.01 1/284 562
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :public, user_role: :maintainer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject delete package tag request
behaves like returning response status
returns forbidden
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 11 minutes 40.37 seconds. Current RSS: ~1500M. load average: 0.93 1.02 1.00 1/284 563
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :private, user_role: :maintainer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject delete package tag request
behaves like returning response status
returns forbidden
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 11 minutes 49.38 seconds. Current RSS: ~1495M. load average: 0.93 1.02 1.00 1/284 564
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :internal, user_role: :maintainer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 11 minutes 57.84 seconds. Current RSS: ~1494M. load average: 0.94 1.02 1.00 1/284 565
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
# [RSpecRunTime] RSpec elapsed time: 12 minutes 0.19 second. Current RSS: ~1491M. load average: 1.03 1.04 1.00 1/284 566
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, visibility: :public, user_role: :maintainer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 12 minutes 6.27 seconds. Current RSS: ~1499M. load average: 1.03 1.04 1.00 1/284 567
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
# [RSpecRunTime] RSpec elapsed time: 12 minutes 7.32 seconds. Current RSS: ~1504M. load average: 1.03 1.04 1.00 1/284 568
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, visibility: :private, user_role: :maintainer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 12 minutes 14.39 seconds. Current RSS: ~1500M. load average: 1.02 1.04 1.00 1/284 569
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, visibility: :internal, user_role: :maintainer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 12 minutes 21.51 seconds. Current RSS: ~1509M. load average: 1.09 1.05 1.01 1/284 570
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 12 minutes 26.18 seconds. Current RSS: ~1524M. load average: 1.09 1.05 1.01 1/284 571
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 12 minutes 31.3 seconds. Current RSS: ~1517M. load average: 1.08 1.05 1.01 1/284 572
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
with a user namespace
behaves like handling all conditions
behaves like handling different package names, visibilities and user roles for tags create or delete
auth: nil, package_name_type: :scoped_naming_convention, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :unscoped, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :non_existing, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_naming_convention, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :unscoped, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :non_existing, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :unscoped, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: nil, package_name_type: :non_existing, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject delete package tag request
behaves like returning response status
returns unauthorized
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject delete package tag request
behaves like returning response status
returns forbidden
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 12 minutes 40.48 seconds. Current RSS: ~1507M. load average: 0.99 1.03 1.00 1/284 573
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :public, user_role: :maintainer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject delete package tag request
behaves like returning response status
returns forbidden
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 12 minutes 50.12 seconds. Current RSS: ~1500M. load average: 1.00 1.03 1.00 1/284 574
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :private, user_role: :maintainer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject delete package tag request
behaves like returning response status
returns forbidden
auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 13 minutes 0.44 second. Current RSS: ~1497M. load average: 1.00 1.03 1.00 1/284 575
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :unscoped, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :oauth, package_name_type: :non_existing, visibility: :internal, user_role: :maintainer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject delete package tag request
behaves like returning response status
returns forbidden
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 13 minutes 10.25 seconds. Current RSS: ~1498M. load average: 1.07 1.04 1.00 1/284 576
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
# [RSpecRunTime] RSpec elapsed time: 13 minutes 14.14 seconds. Current RSS: ~1498M. load average: 1.07 1.04 1.00 1/284 577
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :public, user_role: :maintainer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject delete package tag request
behaves like returning response status
returns forbidden
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 13 minutes 20.9 seconds. Current RSS: ~1500M. load average: 1.06 1.04 1.00 1/284 578
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :private, user_role: :maintainer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject delete package tag request
behaves like returning response status
returns forbidden
auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 13 minutes 30.64 seconds. Current RSS: ~1508M. load average: 1.13 1.06 1.01 1/284 579
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :unscoped, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, package_name_type: :non_existing, visibility: :internal, user_role: :maintainer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 13 minutes 39.55 seconds. Current RSS: ~1511M. load average: 1.12 1.06 1.01 1/284 580
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, visibility: :public, user_role: :maintainer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 13 minutes 46.72 seconds. Current RSS: ~1509M. load average: 1.10 1.05 1.01 1/284 581
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, visibility: :private, user_role: :maintainer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 13 minutes 54.26 seconds. Current RSS: ~1502M. load average: 1.09 1.05 1.01 1/284 582
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :unscoped, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :job_token, package_name_type: :non_existing, visibility: :internal, user_role: :maintainer, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 14 minutes 1.25 seconds. Current RSS: ~1508M. load average: 1.08 1.05 1.01 1/284 583
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 14 minutes 5.98 seconds. Current RSS: ~1520M. load average: 1.07 1.05 1.01 1/284 584
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like accept delete package tag request
with valid package name
returns a valid response
destroy the package tag
behaves like returning response status
returns no_content
# [RSpecRunTime] RSpec elapsed time: 14 minutes 11.17 seconds. Current RSS: ~1514M. load average: 1.07 1.05 1.00 1/284 585
behaves like track event
behaves like a package tracking event
creates a gitlab tracking event delete_tag
with tag from other package
behaves like returning response status
returns not_found
with ActiveRecord::RecordInvalid error
behaves like returning response status with error
returns bad_request and error message
with invalid package name
package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
package_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"
behaves like returning response status with error
returns bad_request and error message
with invalid tag name
tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/
behaves like returning response status with error
returns not_found and error message
tag_name: "", status: :not_found, error: "404 Not Found"
behaves like returning response status with error
returns not_found and error message
tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"
behaves like returning response status with error
returns bad_request and error message
auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :unscoped, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, package_name_type: :non_existing, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :not_found
behaves like returning response status with error
returns not_found and error message
behaves like enqueue a worker to sync a metadata cache
enqueues a worker to create a metadata cache
POST /api/v4/packages/npm/-/npm/v1/security/advisories/bulk
behaves like handling audit request
with a group namespace
behaves like handling all conditions
auth: nil, request_forward: true, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject audit request
behaves like returning response status
returns unauthorized
auth: nil, request_forward: false, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject audit request
behaves like returning response status
returns unauthorized
auth: nil, request_forward: true, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject audit request
behaves like returning response status
returns unauthorized
auth: nil, request_forward: false, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject audit request
behaves like returning response status
returns unauthorized
auth: nil, request_forward: true, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject audit request
behaves like returning response status
returns unauthorized
auth: nil, request_forward: false, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject audit request
behaves like returning response status
returns unauthorized
auth: :oauth, request_forward: true, visibility: :public, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :oauth, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :oauth, request_forward: false, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :oauth, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :oauth, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :oauth, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :oauth, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :oauth, request_forward: true, visibility: :private, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :oauth, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :oauth, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :oauth, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :oauth, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, request_forward: true, visibility: :public, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :personal_access_token, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :personal_access_token, request_forward: false, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, request_forward: true, visibility: :private, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
# [RSpecRunTime] RSpec elapsed time: 14 minutes 25.2 seconds. Current RSS: ~1495M. load average: 0.98 1.03 1.00 1/284 586
auth: :personal_access_token, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :personal_access_token, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :personal_access_token, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :personal_access_token, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :job_token, request_forward: true, visibility: :public, user_role: :developer, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :job_token, request_forward: false, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :job_token, request_forward: true, visibility: :private, user_role: :developer, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :job_token, request_forward: false, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :job_token, request_forward: true, visibility: :internal, user_role: :developer, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :job_token, request_forward: false, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, request_forward: true, visibility: :public, user_role: nil, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :deploy_token, request_forward: false, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, request_forward: true, visibility: :private, user_role: nil, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :deploy_token, request_forward: false, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, request_forward: true, visibility: :internal, user_role: nil, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :deploy_token, request_forward: false, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
with a developer
with a job token
behaves like reject audit request
behaves like returning response status
returns unauthorized
POST /api/v4/packages/npm/-/npm/v1/security/audits/quick
behaves like handling audit request
with a group namespace
behaves like handling all conditions
auth: nil, request_forward: true, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject audit request
behaves like returning response status
returns unauthorized
auth: nil, request_forward: false, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject audit request
behaves like returning response status
returns unauthorized
auth: nil, request_forward: true, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject audit request
behaves like returning response status
returns unauthorized
auth: nil, request_forward: false, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject audit request
behaves like returning response status
returns unauthorized
auth: nil, request_forward: true, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject audit request
behaves like returning response status
returns unauthorized
auth: nil, request_forward: false, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized
behaves like reject audit request
behaves like returning response status
returns unauthorized
auth: :oauth, request_forward: true, visibility: :public, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :oauth, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :oauth, request_forward: false, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :oauth, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :oauth, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :oauth, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :oauth, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :oauth, request_forward: true, visibility: :private, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :oauth, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :oauth, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :oauth, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :oauth, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, request_forward: true, visibility: :public, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :personal_access_token, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :personal_access_token, request_forward: false, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, request_forward: true, visibility: :private, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :personal_access_token, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :personal_access_token, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :personal_access_token, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :personal_access_token, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :personal_access_token, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :job_token, request_forward: true, visibility: :public, user_role: :developer, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :job_token, request_forward: false, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :job_token, request_forward: true, visibility: :private, user_role: :developer, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :job_token, request_forward: false, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :job_token, request_forward: true, visibility: :internal, user_role: :developer, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :job_token, request_forward: false, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, request_forward: true, visibility: :public, user_role: nil, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :deploy_token, request_forward: false, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, request_forward: true, visibility: :private, user_role: nil, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :deploy_token, request_forward: false, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
auth: :deploy_token, request_forward: true, visibility: :internal, user_role: nil, expected_result: :redirect, expected_status: :temporary_redirect
behaves like redirect audit request
redirects audit request
auth: :deploy_token, request_forward: false, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok
behaves like reject audit request with error
behaves like returning response status with error
returns not_found and error message
with a developer
with a job token
behaves like reject audit request
behaves like returning response status
returns unauthorized
# [RSpecRunTime] Finishing example group spec/requests/api/npm_instance_packages_spec.rb. It took 14 minutes 43.04 seconds. Expected to take 14 minutes 31.29 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/tags_spec.rb. Expected to take 1 minute 28.75 seconds.
API::Tags
GET /projects/:id/repository/tags
sorting
sorts by descending order by default
sorts by ascending order if specified
sorts by name in descending order when requested
sorts by name in ascending order when requested
sorts by version in ascending order when requested
# [RSpecRunTime] RSpec elapsed time: 14 minutes 55.51 seconds. Current RSS: ~1529M. load average: 1.13 1.06 1.01 1/289 673
searching
only returns searched tags
# [RSpecRunTime] RSpec elapsed time: 14 minutes 56.65 seconds. Current RSS: ~1526M. load average: 1.13 1.06 1.01 1/289 684
when unauthenticated and project is public
behaves like repository tags
returns the repository tags
when repository is disabled
behaves like 403 response
returns 403
# [RSpecRunTime] RSpec elapsed time: 14 minutes 58.74 seconds. Current RSS: ~1523M. load average: 1.13 1.06 1.01 1/290 706
when repository does not exist
behaves like 404 response
returns 404
and releases are private
returns the repository tags without release information
# [RSpecRunTime] RSpec elapsed time: 15 minutes 1.12 seconds. Current RSS: ~1519M. load average: 1.12 1.06 1.01 1/290 721
when unauthenticated and project is private
behaves like 404 response
returns 404
when authenticated as a maintainer
behaves like repository tags
returns the repository tags
when repository is disabled
behaves like 403 response
returns 403
# [RSpecRunTime] RSpec elapsed time: 15 minutes 4.22 seconds. Current RSS: ~1517M. load average: 1.12 1.06 1.01 1/290 748
when repository does not exist
behaves like 404 response
returns 404
requesting with the escaped project full path
behaves like repository tags
returns the repository tags
when repository is disabled
behaves like 403 response
returns 403
# [RSpecRunTime] RSpec elapsed time: 15 minutes 8.37 seconds. Current RSS: ~1511M. load average: 1.19 1.07 1.01 1/290 769
when repository does not exist
behaves like 404 response
returns 404
when authenticated as a guest
behaves like 403 response
returns 403
# [RSpecRunTime] RSpec elapsed time: 15 minutes 10.36 seconds. Current RSS: ~1511M. load average: 1.17 1.07 1.01 1/290 776
with releases
returns an array of project tags with release info
# [RSpecRunTime] RSpec elapsed time: 15 minutes 11.69 seconds. Current RSS: ~1511M. load average: 1.17 1.07 1.01 1/290 795
with keyset pagination option
with gitaly pagination params
with high limit
returns all repository tags
# [RSpecRunTime] RSpec elapsed time: 15 minutes 12.89 seconds. Current RSS: ~1513M. load average: 1.17 1.07 1.01 1/290 806
with low limit
returns limited repository tags
# [RSpecRunTime] RSpec elapsed time: 15 minutes 14.0 seconds. Current RSS: ~1523M. load average: 1.17 1.07 1.01 1/290 816
with missing page token
behaves like 422 response
returns 422
# [RSpecRunTime] RSpec elapsed time: 15 minutes 15.07 seconds. Current RSS: ~1523M. load average: 1.24 1.09 1.02 1/290 826
cache expiry
is cached
when protected tag is changed
behaves like cache expired
isn't cached
# [RSpecRunTime] RSpec elapsed time: 15 minutes 17.67 seconds. Current RSS: ~1525M. load average: 1.24 1.09 1.02 1/290 857
when release is changed
behaves like cache expired
isn't cached
# [RSpecRunTime] RSpec elapsed time: 15 minutes 18.96 seconds. Current RSS: ~1525M. load average: 1.24 1.09 1.02 1/290 875
when project is changed
behaves like cache expired
isn't cached
# [RSpecRunTime] RSpec elapsed time: 15 minutes 20.23 seconds. Current RSS: ~1526M. load average: 1.46 1.14 1.04 1/290 889
when user is not allowed to :read_release
isn't cached
# [RSpecRunTime] RSpec elapsed time: 15 minutes 21.66 seconds. Current RSS: ~1525M. load average: 1.46 1.14 1.04 1/291 906
when gitaly is unavailable
behaves like 503 response
returns 503
# [RSpecRunTime] RSpec elapsed time: 15 minutes 22.74 seconds. Current RSS: ~1526M. load average: 1.46 1.14 1.04 1/290 913
GET /projects/:id/repository/tags/:tag_name
when unauthenticated and project is public
behaves like repository tag
returns the repository branch
when tag does not exist
behaves like 404 response
returns 404
# [RSpecRunTime] RSpec elapsed time: 15 minutes 24.75 seconds. Current RSS: ~1529M. load average: 1.34 1.12 1.03 1/290 938
when repository is disabled
behaves like 403 response
returns 403
and releases are private
returns the repository tags without release information
# [RSpecRunTime] RSpec elapsed time: 15 minutes 26.84 seconds. Current RSS: ~1530M. load average: 1.34 1.12 1.03 1/290 963
when unauthenticated and project is private
behaves like 404 response
returns 404
when authenticated as a maintainer
behaves like repository tag
returns the repository branch
when tag does not exist
behaves like 404 response
returns 404
# [RSpecRunTime] RSpec elapsed time: 15 minutes 30.01 seconds. Current RSS: ~1526M. load average: 1.32 1.12 1.03 1/290 998
when repository is disabled
behaves like 403 response
returns 403
requesting with the escaped project full path
behaves like repository tag
returns the repository branch
when tag does not exist
behaves like 404 response
returns 404
# [RSpecRunTime] RSpec elapsed time: 15 minutes 33.2 seconds. Current RSS: ~1524M. load average: 1.32 1.12 1.03 1/290 1033
when repository is disabled
behaves like 403 response
returns 403
# [RSpecRunTime] RSpec elapsed time: 15 minutes 34.25 seconds. Current RSS: ~1525M. load average: 1.32 1.12 1.03 1/290 1044
when authenticated as a guest
behaves like 403 response
returns 403
# [RSpecRunTime] RSpec elapsed time: 15 minutes 35.49 seconds. Current RSS: ~1525M. load average: 1.29 1.11 1.03 1/290 1055
with releases
returns release information
# [RSpecRunTime] RSpec elapsed time: 15 minutes 36.76 seconds. Current RSS: ~1525M. load average: 1.29 1.11 1.03 1/290 1074
POST /projects/:id/repository/tags
when unauthenticated and project is private
behaves like 404 response
returns 404
when authenticated as a guest
behaves like 403 response
returns 403
# [RSpecRunTime] RSpec elapsed time: 15 minutes 38.9 seconds. Current RSS: ~1525M. load average: 1.29 1.11 1.03 1/290 1087
when authenticated as a maintainer
returns 400 if tag name is invalid
returns 400 if tag already exists
returns 400 if ref name is invalid
when a protected branch doesn't already exist
behaves like repository new tag
creates a new tag
when repository is disabled
behaves like 403 response
returns 403
# [RSpecRunTime] RSpec elapsed time: 15 minutes 44.3 seconds. Current RSS: ~1530M. load average: 1.27 1.11 1.03 1/290 1139
when tag contains a dot
behaves like repository new tag
creates a new tag
when repository is disabled
behaves like 403 response
returns 403
# [RSpecRunTime] RSpec elapsed time: 15 minutes 47.12 seconds. Current RSS: ~1528M. load average: 1.25 1.11 1.03 1/290 1159
requesting with the escaped project full path
behaves like repository new tag
creates a new tag
when repository is disabled
behaves like 403 response
returns 403
# [RSpecRunTime] RSpec elapsed time: 15 minutes 49.68 seconds. Current RSS: ~1525M. load average: 1.23 1.11 1.03 1/290 1179
when tag contains a dot
behaves like repository new tag
creates a new tag
when repository is disabled
behaves like 403 response
returns 403
# [RSpecRunTime] RSpec elapsed time: 15 minutes 51.82 seconds. Current RSS: ~1527M. load average: 1.23 1.11 1.03 1/290 1199
annotated tag
creates a new annotated tag
# [RSpecRunTime] RSpec elapsed time: 15 minutes 52.95 seconds. Current RSS: ~1529M. load average: 1.23 1.11 1.03 1/290 1214
DELETE /projects/:id/repository/tags/:tag_name
when authenticated as a maintainer
behaves like repository delete tag
deletes a tag
behaves like 412 response
for a modified resource
returns 412 with a JSON error
# [RSpecRunTime] RSpec elapsed time: 15 minutes 55.05 seconds. Current RSS: ~1528M. load average: 1.21 1.11 1.03 1/291 1245
for an unmodified resource
returns 204 with an empty body
# [RSpecRunTime] RSpec elapsed time: 15 minutes 56.27 seconds. Current RSS: ~1528M. load average: 1.21 1.11 1.03 1/291 1262
when tag does not exist
behaves like 404 response
returns 404
# [RSpecRunTime] RSpec elapsed time: 15 minutes 57.41 seconds. Current RSS: ~1528M. load average: 1.21 1.11 1.03 1/291 1273
when repository is disabled
behaves like 403 response
returns 403
# [RSpecRunTime] RSpec elapsed time: 15 minutes 58.55 seconds. Current RSS: ~1528M. load average: 1.21 1.11 1.03 1/291 1284
requesting with the escaped project full path
behaves like repository delete tag
deletes a tag
behaves like 412 response
for a modified resource
returns 412 with a JSON error
# [RSpecRunTime] RSpec elapsed time: 16 minutes 0.77 second. Current RSS: ~1528M. load average: 1.51 1.17 1.05 1/291 1315
for an unmodified resource
returns 204 with an empty body
# [RSpecRunTime] RSpec elapsed time: 16 minutes 2.0 seconds. Current RSS: ~1528M. load average: 1.51 1.17 1.05 1/291 1332
when tag does not exist
behaves like 404 response
returns 404
when repository is disabled
behaves like 403 response
returns 403
# [RSpecRunTime] RSpec elapsed time: 16 minutes 4.06 seconds. Current RSS: ~1528M. load average: 1.51 1.17 1.05 1/291 1353
GET /projects/:id/repository/tags/:tag_name/signature
when tag does not exist
behaves like 404 response
returns 404
unsigned tag
behaves like 404 response
returns 404
x509 signed tag
returns correct JSON
# [RSpecRunTime] Finishing example group spec/requests/api/tags_spec.rb. It took 1 minute 16.42 seconds. Expected to take 1 minute 28.75 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/files_spec.rb. Expected to take 1 minute 11.64 seconds.
API::Files
http headers
converts value into string
when value is an Enumerable
raises an exception
# [RSpecRunTime] RSpec elapsed time: 16 minutes 9.81 seconds. Current RSS: ~1547M. load average: 1.43 1.16 1.05 1/291 1404
HEAD /projects/:id/repository/files/:file_path
when unauthenticated
and project is public
behaves like repository files
returns 400 when file path is invalid
returns file attributes in headers
caches sha256 of the content
returns file by commit sha
behaves like when path is absolute
returns 400 when file path is absolute
# [RSpecRunTime] RSpec elapsed time: 16 minutes 11.73 seconds. Current RSS: ~1546M. load average: 1.43 1.16 1.05 1/291 1428
when mandatory params are not given
responds with a 400 status
when file_path does not exist
responds with a 404 status
when file_path does not exist
responds with a 403 status
and project is private
responds with a 404 status
when PATs are used
behaves like repository files
returns 400 when file path is invalid
returns file attributes in headers
caches sha256 of the content
returns file by commit sha
behaves like when path is absolute
returns 400 when file path is absolute
# [RSpecRunTime] RSpec elapsed time: 16 minutes 14.84 seconds. Current RSS: ~1537M. load average: 1.40 1.16 1.05 1/291 1456
when mandatory params are not given
responds with a 400 status
when file_path does not exist
responds with a 404 status
when file_path does not exist
responds with a 403 status
when authenticated
and user is a developer
behaves like repository files
returns 400 when file path is invalid
returns file attributes in headers
caches sha256 of the content
returns file by commit sha
behaves like when path is absolute
returns 400 when file path is absolute
# [RSpecRunTime] RSpec elapsed time: 16 minutes 17.69 seconds. Current RSS: ~1536M. load average: 1.40 1.16 1.05 1/291 1484
when mandatory params are not given
responds with a 400 status
when file_path does not exist
responds with a 404 status
when file_path does not exist
responds with a 403 status
and user is a guest
behaves like 403 response
returns 403
GET /projects/:id/repository/files/:file_path
when unauthenticated
and project is public
behaves like repository files
returns 400 for invalid file path
returns json when file has txt extension
returns file by commit sha
returns raw file info
returns blame file info
sets inline content disposition by default
behaves like when path is absolute
returns 400 when file path is absolute
# [RSpecRunTime] RSpec elapsed time: 16 minutes 21.45 seconds. Current RSS: ~1533M. load average: 1.37 1.16 1.05 1/291 1517
behaves like returns non-executable file attributes as json
is expected to eq "require 'fileutils'\n"
for executable file
returns file attributes as json
with filename with pathspec characters
returns JSON wth commit SHA
when a project is moved
redirects to the new project location
when mandatory params are not given
behaves like 400 response
returns 400
when file_path does not exist
behaves like 404 response
returns 404
when repository is disabled
behaves like 403 response
returns 403
and project is private
behaves like 404 response
returns 404
when authenticated
and user is a direct project member
and project is private
and user is a developer
behaves like repository files
returns 400 for invalid file path
returns json when file has txt extension
returns file by commit sha
returns raw file info
returns blame file info
sets inline content disposition by default
behaves like when path is absolute
returns 400 when file path is absolute
# [RSpecRunTime] RSpec elapsed time: 16 minutes 27.9 seconds. Current RSS: ~1530M. load average: 1.34 1.16 1.05 1/290 1583
behaves like returns non-executable file attributes as json
is expected to eq "require 'fileutils'\n"
for executable file
returns file attributes as json
with filename with pathspec characters
returns JSON wth commit SHA
when a project is moved
redirects to the new project location
when mandatory params are not given
behaves like 400 response
returns 400
when file_path does not exist
behaves like 404 response
returns 404
when repository is disabled
behaves like 403 response
returns 403
and PATs are used
behaves like repository files
returns 400 for invalid file path
returns json when file has txt extension
returns file by commit sha
returns raw file info
returns blame file info
sets inline content disposition by default
behaves like when path is absolute
returns 400 when file path is absolute
# [RSpecRunTime] RSpec elapsed time: 16 minutes 32.93 seconds. Current RSS: ~1533M. load average: 1.31 1.15 1.05 1/290 1649
behaves like returns non-executable file attributes as json
is expected to eq "require 'fileutils'\n"
for executable file
returns file attributes as json
with filename with pathspec characters
returns JSON wth commit SHA
when a project is moved
redirects to the new project location
when mandatory params are not given
behaves like 400 response
returns 400
when file_path does not exist
behaves like 404 response
returns 404
when repository is disabled
behaves like 403 response
returns 403
and user is a guest
behaves like 403 response
returns 403
when authenticated
and user is an inherited member from the group
when project is public with private repository
and user is a guest
behaves like returns non-executable file attributes as json
is expected to eq "require 'fileutils'\n"
and user is a reporter
behaves like returns non-executable file attributes as json
is expected to eq "require 'fileutils'\n"
and user is a developer
behaves like returns non-executable file attributes as json
is expected to eq "require 'fileutils'\n"
when project is private
and user is a guest
behaves like 403 response
returns 403
and user is a reporter
behaves like returns non-executable file attributes as json
is expected to eq "require 'fileutils'\n"
and user is a developer
behaves like returns non-executable file attributes as json
is expected to eq "require 'fileutils'\n"
GET /projects/:id/repository/files/:file_path/blame
when unauthenticated
and project is public
behaves like repository blame files
returns file attributes in headers
returns 400 when file path is invalid
returns blame file attributes as json
returns blame file info for files with dots
returns file by commit sha
for executable file
returns file attributes in headers
# [RSpecRunTime] RSpec elapsed time: 16 minutes 40.75 seconds. Current RSS: ~1532M. load average: 1.26 1.15 1.04 1/291 1735
behaves like when path is absolute
returns 400 when file path is absolute
with a range parameter
returns file blame attributes as json for the range
when start > end
returns 400 error
when range is incomplete
returns 400 error
when range contains negative integers
returns 400 error
when range is missing
returns 400 error
when mandatory params are not given
behaves like 400 response
returns 400
when file_path does not exist
behaves like 404 response
returns 404
when commit does not exist
behaves like 404 response
returns 404
when repository is disabled
behaves like 403 response
returns 403
and project is private
behaves like 404 response
returns 404
when authenticated
and user is a developer
behaves like repository blame files
returns file attributes in headers
returns 400 when file path is invalid
returns blame file attributes as json
returns blame file info for files with dots
returns file by commit sha
for executable file
returns file attributes in headers
# [RSpecRunTime] RSpec elapsed time: 16 minutes 46.29 seconds. Current RSS: ~1535M. load average: 1.32 1.16 1.05 1/291 1781
behaves like when path is absolute
returns 400 when file path is absolute
with a range parameter
returns file blame attributes as json for the range
when start > end
returns 400 error
when range is incomplete
returns 400 error
when range contains negative integers
returns 400 error
when range is missing
returns 400 error
when mandatory params are not given
behaves like 400 response
returns 400
when file_path does not exist
behaves like 404 response
returns 404
when commit does not exist
behaves like 404 response
returns 404
when repository is disabled
behaves like 403 response
returns 403
and user is a guest
behaves like 403 response
returns 403
when PATs are used
returns blame file by commit sha
HEAD /projects/:id/repository/files/:file_path/raw
response headers
and user is a developer
responds with blob data
when lfs parameter is true and the project has lfs enabled
and the file has an lfs object
responds with 404
and the project has access to the lfs object
and lfs uses AWS
redirects to the lfs object file with a signed url
# [RSpecRunTime] RSpec elapsed time: 16 minutes 51.78 seconds. Current RSS: ~1533M. load average: 1.37 1.18 1.06 1/291 1821
and user is a guest
behaves like 403 response
returns 403
GET /projects/:id/repository/files/:file_path/raw
when unauthenticated
and project is public
behaves like repository raw files
returns 400 when file path is invalid
returns raw file info
returns raw file info for files with dots
returns file by commit sha
sets no-cache headers
behaves like when path is absolute
returns 400 when file path is absolute
# [RSpecRunTime] RSpec elapsed time: 16 minutes 54.24 seconds. Current RSS: ~1528M. load average: 1.37 1.18 1.06 1/290 1838
when ref is not provided
returns response :ok
when mandatory params are not given
behaves like 400 response
returns 400
when file_path does not exist
behaves like 404 response
returns 404
when repository is disabled
behaves like 403 response
returns 403
when lfs parameter is true and the project has lfs enabled
behaves like 404 response
returns 404
and the file has an lfs object
behaves like 404 response
returns 404
and the project has access to the lfs object
and lfs uses local file storage
responds with the lfs object file
and lfs uses remote object storage
redirects to the lfs object file
and project is private
behaves like 404 response
returns 404
when authenticated
and user is a developer
behaves like repository raw files
returns 400 when file path is invalid
returns raw file info
returns raw file info for files with dots
returns file by commit sha
sets no-cache headers
behaves like when path is absolute
returns 400 when file path is absolute
# [RSpecRunTime] RSpec elapsed time: 16 minutes 59.39 seconds. Current RSS: ~1529M. load average: 1.43 1.19 1.06 1/290 1882
when ref is not provided
returns response :ok
when mandatory params are not given
behaves like 400 response
returns 400
when file_path does not exist
behaves like 404 response
returns 404
when repository is disabled
behaves like 403 response
returns 403
when lfs parameter is true and the project has lfs enabled
behaves like 404 response
returns 404
and the file has an lfs object
behaves like 404 response
returns 404
# [RSpecRunTime] RSpec elapsed time: 17 minutes 2.92 seconds. Current RSS: ~1527M. load average: 1.39 1.19 1.06 1/291 1899
and the project has access to the lfs object
and lfs uses local file storage
responds with the lfs object file
and lfs uses remote object storage
redirects to the lfs object file
and user is a guest
behaves like 403 response
returns 403
when PATs are used
returns file by commit sha
POST /projects/:id/repository/files/:file_path
when authenticated as a direct project member
when project is private
and user is a developer
returns 400 when file path is invalid
creates a new executable file in project repo
behaves like when path is absolute
returns 400 when file path is absolute
# [RSpecRunTime] RSpec elapsed time: 17 minutes 5.55 seconds. Current RSS: ~1529M. load average: 1.36 1.18 1.06 1/291 1935
behaves like creates a new file in the project repo
is expected to eq false
when no mandatory params given
returns a 400 bad request
when the commit message is empty
returns a 400 bad request
when editor fails to create file
returns a 400 bad request
and PATs are used
returns 403 with `read_repository` scope
returns 201 with `api` scope
and the repo is empty
behaves like creates a new file in the project repo
is expected to eq false
when specifying an author
creates a new file with the specified author
when authenticated
and user is an inherited member from the group
when project is public with private repository
and user is a guest
behaves like 403 response
returns 403
and user is a reporter
behaves like 403 response
returns 403
and user is a developer
behaves like creates a new file in the project repo
is expected to eq false
when project is private
and user is a guest
behaves like 403 response
returns 403
and user is a reporter
behaves like 403 response
returns 403
and user is a developer
behaves like creates a new file in the project repo
is expected to eq false
PUT /projects/:id/repository/files
updates existing file in project repo
when the commit message is empty
returns a 400 bad request
when updating an existing file with stale last commit id
returns a 400 bad request
with correct last commit id
updates existing file in project repo
when file path is invalid
returns a 400 bad request
behaves like when path is absolute
returns 400 when file path is absolute
when no params given
returns a 400 bad request
when specifying an author
updates a file with the specified author
when specifying the execute_filemode
updates to executable file mode
updates to non-executable file mode
DELETE /projects/:id/repository/files
when files are deleted
deletes existing file in project repo
when specifying an author
removes a file with the specified author
when files are not deleted
returns 400 when file path is invalid
behaves like when path is absolute
returns 400 when file path is absolute
when no params given
returns a 400 bad request
when the commit message is empty
returns a 400 bad request
when fails to delete file
returns a 400 bad request
POST /projects/:id/repository/files with binary file
remains unchanged
POST /projects/:id/repository/files with text encoding
returns base64-encoded text file
# [RSpecRunTime] Finishing example group spec/requests/api/files_spec.rb. It took 1 minute 12.82 seconds. Expected to take 1 minute 11.64 seconds.
# [RSpecRunTime] Starting example group spec/controllers/sent_notifications_controller_spec.rb. Expected to take 57.57 seconds.
SentNotificationsController
GET unsubscribe
when the user is not logged in
when the force param is passed
unsubscribes the user
does not delete the issue email participant for non-service-desk issue
sets the flash message
redirects to the login page
# [RSpecRunTime] RSpec elapsed time: 17 minutes 23.79 seconds. Current RSS: ~1517M. load average: 1.35 1.19 1.06 1/291 2304
when the force param is not passed
when project is public
when unsubscribing from issue
shows issue title
does not delete the issue email participant
behaves like unsubscribing as anonymous
does not unsubscribe the user
does not set the flash message
renders unsubscribe page
shows project name or path
# [RSpecRunTime] RSpec elapsed time: 17 minutes 31.73 seconds. Current RSS: ~1499M. load average: 1.37 1.20 1.07 1/286 2305
when unsubscribing from confidential issue
does not show issue title
behaves like unsubscribing as anonymous
does not unsubscribe the user
does not set the flash message
renders unsubscribe page
shows project name or path
# [RSpecRunTime] RSpec elapsed time: 17 minutes 36.39 seconds. Current RSS: ~1566M. load average: 1.34 1.20 1.07 1/286 2306
when unsubscribing from merge request
shows merge request title
shows project name or path
behaves like unsubscribing as anonymous
does not unsubscribe the user
does not set the flash message
renders unsubscribe page
shows project name or path
# [RSpecRunTime] RSpec elapsed time: 17 minutes 42.34 seconds. Current RSS: ~1693M. load average: 1.32 1.19 1.07 1/286 2307
when project is not public
when unsubscribing from issue
does not show issue title
behaves like unsubscribing as anonymous
does not unsubscribe the user
does not set the flash message
renders unsubscribe page
does not show project name or path
# [RSpecRunTime] RSpec elapsed time: 17 minutes 47.96 seconds. Current RSS: ~1715M. load average: 1.29 1.19 1.07 3/286 2308
when unsubscribing from confidential issue
does not show issue title
behaves like unsubscribing as anonymous
does not unsubscribe the user
does not set the flash message
renders unsubscribe page
does not show project name or path
# [RSpecRunTime] RSpec elapsed time: 17 minutes 52.74 seconds. Current RSS: ~1722M. load average: 1.27 1.19 1.07 1/286 2309
when unsubscribing from merge request
dos not show merge request title
behaves like unsubscribing as anonymous
does not unsubscribe the user
does not set the flash message
renders unsubscribe page
does not show project name or path
# [RSpecRunTime] RSpec elapsed time: 17 minutes 57.42 seconds. Current RSS: ~1743M. load average: 1.25 1.18 1.07 1/286 2310
when the noteable associated to the notification has been deleted
behaves like returns 404
does not set the flash message
returns a 404
# [RSpecRunTime] RSpec elapsed time: 17 minutes 59.4 seconds. Current RSS: ~1748M. load average: 1.25 1.18 1.07 1/286 2311
when the user is logged in
when the ID passed does not exist
behaves like returns 404
does not set the flash message
returns a 404
# [RSpecRunTime] RSpec elapsed time: 18 minutes 1.2 seconds. Current RSS: ~1759M. load average: 1.23 1.18 1.07 1/286 2312
when the force param is passed
unsubscribes the user
sets the flash message
redirects to the issue page
# [RSpecRunTime] RSpec elapsed time: 18 minutes 4.29 seconds. Current RSS: ~1762M. load average: 1.23 1.18 1.07 1/286 2313
when the force param is not passed
unsubscribes the user
sets the flash message
redirects to the merge request page
when unsubscribing from design
unsubscribes the user
# [RSpecRunTime] RSpec elapsed time: 18 minutes 8.06 seconds. Current RSS: ~1758M. load average: 1.21 1.18 1.07 1/286 2314
when project is private
and user does not have access
unsubscribes user and redirects to root path
and user has access
unsubscribes user and redirects to issue path
does not delete the issue email participant for non-service-desk issue
# [RSpecRunTime] RSpec elapsed time: 18 minutes 11.28 seconds. Current RSS: ~1762M. load average: 1.19 1.17 1.06 1/286 2315
when the noteable associated to the notification has been deleted
behaves like returns 404
does not set the flash message
returns a 404
# [RSpecRunTime] RSpec elapsed time: 18 minutes 13.07 seconds. Current RSS: ~1771M. load average: 1.19 1.17 1.06 2/286 2316
when support bot is the notification recipient
deletes the external author on the issue
when sent_notification contains issue_email_participant
deletes the connected issue email participant
# [RSpecRunTime] RSpec elapsed time: 18 minutes 15.21 seconds. Current RSS: ~1775M. load average: 1.17 1.17 1.06 1/286 2317
when noteable is not an issue
does not delete the external author on the issue
# [RSpecRunTime] RSpec elapsed time: 18 minutes 16.4 seconds. Current RSS: ~1777M. load average: 1.17 1.17 1.06 1/286 2318
# [RSpecRunTime] Finishing example group spec/controllers/sent_notifications_controller_spec.rb. It took 57.48 seconds. Expected to take 57.57 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/ci/runner_spec.rb. Expected to take 48.62 seconds.
Query.runner(id)
for active runner
behaves like runner details fetch
retrieves expected fields
# [RSpecRunTime] RSpec elapsed time: 18 minutes 18.67 seconds. Current RSS: ~1772M. load average: 1.17 1.17 1.06 1/286 2319
when tagList is not requested
does not retrieve tagList
with runner managers
managers
when filtering by status
retrieves expected runner manager
fetching by runner ID and runner system ID
retrieves expected runner managers
fetching runner ID and all runner managers
retrieves expected runner managers
fetching mismatched runner ID and system ID
retrieves expected runner managers
with build running
behaves like runner details fetch
retrieves expected fields
for project runner
locked
is_locked: true
retrieves correct locked value
is_locked: false
retrieves correct locked value
jobCount
retrieves correct jobCount values
when JOB_COUNT_LIMIT is in effect
retrieves correct capped jobCount values
ownerProject
retrieves correct ownerProject.id values
jobs
with a job from a non-owned project
returns empty values for sensitive fields in non-owned jobs
# [RSpecRunTime] RSpec elapsed time: 18 minutes 24.19 seconds. Current RSS: ~1782M. load average: 1.16 1.17 1.06 1/287 2320
a query fetching all fields
does not execute more queries per runner
# [RSpecRunTime] RSpec elapsed time: 18 minutes 29.23 seconds. Current RSS: ~1769M. load average: 1.15 1.16 1.06 1/287 2321
for inactive runner
behaves like runner details fetch
retrieves expected fields
for registration type
when registered with registration token
behaves like runner details fetch
retrieves expected fields
when registered with authenticated user
behaves like runner details fetch
retrieves expected fields
for group runner request
retrieves groups field with expected value
ephemeralRegisterUrl
with an instance runner
with valid ephemeral registration
behaves like has register url
retrieves register url
when runner ephemeral registration has expired
behaves like has no register url
retrieves no register url
when runner has already been registered
behaves like has no register url
retrieves no register url
with a group runner
with valid ephemeral registration
behaves like has register url
retrieves register url
when request not from creator
behaves like has no register url
retrieves no register url
with a project runner
with valid ephemeral registration
behaves like has register url
retrieves register url
when request not from creator
behaves like has no register url
retrieves no register url
for runner with status
retrieves status fields with expected values
for multiple runners
requesting projects and counts for projects and jobs
retrieves expected fields
# [RSpecRunTime] RSpec elapsed time: 18 minutes 35.18 seconds. Current RSS: ~1782M. load average: 1.12 1.16 1.06 1/287 2327
by regular user
on instance runner
behaves like retrieval by unauthorized user
returns null runner
on group runner
behaves like retrieval by unauthorized user
returns null runner
on project runner
behaves like retrieval by unauthorized user
returns null runner
by non-admin user
behaves like retrieval with no admin url
retrieves expected fields
by unauthenticated user
behaves like retrieval by unauthorized user
returns null runner
ephemeralAuthenticationToken
with request made by creator
with runner created in UI
with runner created in last hour
with no runner manager registered yet
behaves like an ephemeral_authentication_token
returns token in ephemeral_authentication_token field
with first runner manager already registered
behaves like a protected ephemeral_authentication_token
returns nil ephemeral_authentication_token
with runner created almost too long ago
behaves like an ephemeral_authentication_token
returns token in ephemeral_authentication_token field
with runner created too long ago
behaves like a protected ephemeral_authentication_token
returns nil ephemeral_authentication_token
with runner registered from command line
with runner created in last 1 hour
behaves like a protected ephemeral_authentication_token
returns nil ephemeral_authentication_token
when request is made by non-creator of the runner
with runner created in UI
behaves like a protected ephemeral_authentication_token
returns nil ephemeral_authentication_token
Query limits
avoids N+1 queries
# [RSpecRunTime] RSpec elapsed time: 18 minutes 44.15 seconds. Current RSS: ~1791M. load average: 1.11 1.16 1.06 1/286 2328
Query limits with jobs
when requesting individual fields
field: "detailedStatus { id detailsPath group icon text }"
does not execute more queries per job
# [RSpecRunTime] RSpec elapsed time: 18 minutes 47.58 seconds. Current RSS: ~1809M. load average: 1.10 1.15 1.06 1/292 2416
field: "project { id name webUrl }"
does not execute more queries per job
field: "shortSha"
does not execute more queries per job
field: "browseArtifactsPath"
does not execute more queries per job
field: "commitPath"
does not execute more queries per job
field: "playPath"
does not execute more queries per job
field: "refPath"
does not execute more queries per job
field: "webPath"
does not execute more queries per job
field: "finishedAt"
does not execute more queries per job
field: "duration"
does not execute more queries per job
field: "queuedDuration"
does not execute more queries per job
field: "tags"
does not execute more queries per job
sorting and pagination
with project search term
set to empty string
with n = 1
returns paged result
behaves like a working graphql query
returns a successful response
# [RSpecRunTime] RSpec elapsed time: 18 minutes 57.61 seconds. Current RSS: ~1780M. load average: 1.09 1.15 1.06 1/286 2428
with n = 2
returns non-paged result
set to partial match
with n = 1
returns paged result with no additional pages
behaves like a working graphql query
returns a successful response
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/ci/runner_spec.rb. It took 42.08 seconds. Expected to take 48.62 seconds.
# [RSpecRunTime] Starting example group spec/controllers/admin/users_controller_spec.rb. Expected to take 42.0 seconds.
Admin::UsersController
GET #index
retrieves all users
filters by admins
eager loads authorized projects association
pagination
when number of users is over the pagination limit
marks the relation for pagination without counts
# [RSpecRunTime] RSpec elapsed time: 18 minutes 59.81 seconds. Current RSS: ~1790M. load average: 1.08 1.14 1.06 1/286 2429
when number of users is below the pagination limit
marks the relation for pagination with counts
GET :id
finds a user case-insensitively
impersonation_error_text
when user can be impersonated
sets impersonation_error_text to nil
when impersonation is already in progress
sets impersonation_error_text
when user is blocked
sets impersonation_error_text
when the user's password is expired
sets impersonation_error_text
when the user is internal
sets impersonation_error_text
when the user is a project bot
sets impersonation_error_text
can_impersonate
when user can be impersonated
sets can_impersonate to true
when impersonation is already in progress
sets can_impersonate to false
when user cannot log in
sets can_impersonate to false
DELETE #destroy
initiates user removal
initiates user removal and passes hard delete option
prerequisites for account deletion
solo-owned groups
if the user is the sole owner of at least one group
soft-delete
fails
# [RSpecRunTime] RSpec elapsed time: 19 minutes 10.03 seconds. Current RSS: ~1777M. load average: 0.99 1.12 1.05 1/286 2430
hard-delete
succeeds
# [RSpecRunTime] RSpec elapsed time: 19 minutes 12.79 seconds. Current RSS: ~1780M. load average: 0.99 1.12 1.05 1/287 2433
DELETE #reject
when rejecting a pending user
initiates user removal
displays the rejection message
sends the user a rejection email
# [RSpecRunTime] RSpec elapsed time: 19 minutes 13.92 seconds. Current RSS: ~1781M. load average: 0.99 1.12 1.05 1/287 2434
when user is not pending
does not reject and delete the user
displays the error
does not email the user
PUT #approve
when successful
activates the user
emails the user on approval
when unsuccessful
displays the error
does not activate the user
does not email the pending user
PUT #activate
for a deactivated user
behaves like a request that activates the user
activates the user
for an active user
behaves like a request that activates the user
activates the user
for a blocked user
does not activate the user
PUT #deactivate
for an active user
with no recent activity
behaves like a request that deactivates the user
deactivates the user
with recent activity
does not deactivate the user
for a deactivated user
behaves like a request that deactivates the user
deactivates the user
for a blocked user
does not deactivate the user
for an internal user
does not deactivate the user
PUT block/:id
blocks user
PUT unblock/:id
ldap blocked users
does not unblock user
manually blocked users
unblocks user
PUT ban/:id
bans user
when unsuccessful
does not ban user
PUT unban/:id
unbans user
PUT unlock/:id
unlocks user
PUT confirm/:id
when the confirmation period has expired
behaves like confirms the user
confirms the user
when the confirmation period has not expired
behaves like confirms the user
confirms the user
PATCH disable_two_factor
for a user that has 2FA enabled
disables 2FA for the user
redirects back
displays a notice on success
for a user that does not have 2FA enabled
redirects back
displays an alert on failure
POST create
creates the user
shows only one error message for an invalid email
admin notes
creates the user with note
when Current.organization is set
creates user with namespace set to Current.organization
POST update
when the password has changed
when admin changes their own password
when password is valid
updates the password
does not set the new password to expire immediately
does not enqueue the `admin changed your password` email
enqueues the `password changed` email
when admin changes the password of another user
when the new password is valid
redirects to the user
updates the password
sets the new password to expire immediately
enqueues the `admin changed your password` email
does not enqueue the `password changed` email
# [RSpecRunTime] RSpec elapsed time: 19 minutes 26.81 seconds. Current RSS: ~1798M. load average: 1.07 1.13 1.06 1/288 2438
when the new password is invalid
shows the edit page again
returns the error message
does not update the password
when the new password does not match the password confirmation
shows the edit page again
returns the error message
does not update the password
when the update fails
returns a 500 error
admin notes
updates the note for the user
when updating credit card validation for user account
when user has a credit card validation
with unchecked credit card validation
deletes credit_card_validation
with checked credit card validation
does not change credit_card_validated_at
behaves like no credit card validation param
does not change credit card validation
when user does not have a credit card validation
with checked credit card validation
creates new credit card validation
with unchecked credit card validation
does not blow up
behaves like no credit card validation param
does not change credit card validation
invalid parameters
behaves like no credit card validation param
does not change credit card validation
with non permitted params
behaves like no credit card validation param
does not change credit card validation
DELETE #remove_email
deletes the email
POST impersonate
when the user is blocked
shows a notice
doesn't sign us in as the user
when the user is not blocked
stores the impersonator in the session
signs us in as the user
logs the beginning of the impersonation event
redirects to root
shows a notice
clears token session keys
when the user's password is expired
shows a notice
doesn't sign us in as the user
# [RSpecRunTime] RSpec elapsed time: 19 minutes 35.0 seconds. Current RSS: ~1801M. load average: 1.06 1.13 1.06 1/287 2439
when the user is internal
shows a notice
doesn't sign us in as the user
when the user is a project bot
shows a notice
doesn't sign us in as the user
when impersonation is disabled
shows error page
when impersonating an admin and attempting to impersonate again
does not allow double impersonation
# [RSpecRunTime] Finishing example group spec/controllers/admin/users_controller_spec.rb. It took 38.3 seconds. Expected to take 42.0 seconds.
# [RSpecRunTime] Starting example group spec/requests/health_controller_spec.rb. Expected to take 38.84 seconds.
HealthController
GET /-/health
accessed from whitelisted ip
behaves like endpoint responding with health data
responds with health checks data
behaves like endpoint not querying database
does not query database
accessed from not whitelisted ip
behaves like endpoint not querying database
does not query database
behaves like endpoint not found
responds with resource not found
GET /-/readiness
behaves like Base action controller
security headers
Cross-Security-Policy
when configuring snowplow
when snowplow is enabled
adds snowplow to the csp
when snowplow is enabled but host is not configured
behaves like snowplow is not in the CSP
does not add the snowplow collector hostname to the CSP
when snowplow is disabled
behaves like snowplow is not in the CSP
does not add the snowplow collector hostname to the CSP
when configuring vite
when vite enabled during development
adds vite csp (PENDING: https://gitlab.com/gitlab-org/gitlab/-/issues/424334)
when vite disabled
doesn't add vite csp
accessed from whitelisted ip
behaves like endpoint responding with readiness data
when requesting instance-checks
when Puma runs in Clustered mode
responds with readiness checks data
responds with readiness checks data when a failure happens
# [RSpecRunTime] RSpec elapsed time: 19 minutes 41.3 seconds. Current RSS: ~1878M. load average: 1.05 1.13 1.06 1/287 2440
when Puma runs in Single mode
does not invoke MasterCheck, succeedes
when requesting all checks
when Puma runs in Clustered mode
behaves like endpoint responding with readiness data for all checks
responds with readiness checks data
responds with readiness checks data when a failure happens
checks all redis instances
when DB is not accessible and connection raises an exception
responds with 500 including the exception info
# [RSpecRunTime] RSpec elapsed time: 19 minutes 43.83 seconds. Current RSS: ~1914M. load average: 1.05 1.13 1.06 1/287 2441
when any exception happens during the probing
responds with 500 including the exception info
when Puma runs in Single mode
behaves like endpoint responding with readiness data for all checks
responds with readiness checks data
responds with readiness checks data when a failure happens
checks all redis instances
when DB is not accessible and connection raises an exception
responds with 500 including the exception info
# [RSpecRunTime] RSpec elapsed time: 19 minutes 46.84 seconds. Current RSS: ~1927M. load average: 1.05 1.12 1.06 1/287 2442
when any exception happens during the probing
responds with 500 including the exception info
when requesting all checks
behaves like endpoint querying database
does query database
accessed from not whitelisted ip
behaves like endpoint not found
responds with resource not found
accessed with valid token
token passed in request header
behaves like endpoint responding with readiness data
when requesting instance-checks
when Puma runs in Clustered mode
responds with readiness checks data
responds with readiness checks data when a failure happens
# [RSpecRunTime] RSpec elapsed time: 19 minutes 49.71 seconds. Current RSS: ~1929M. load average: 1.05 1.12 1.06 2/287 2443
when Puma runs in Single mode
does not invoke MasterCheck, succeedes
when requesting all checks
when Puma runs in Clustered mode
behaves like endpoint responding with readiness data for all checks
responds with readiness checks data
responds with readiness checks data when a failure happens
checks all redis instances
when DB is not accessible and connection raises an exception
responds with 500 including the exception info
# [RSpecRunTime] RSpec elapsed time: 19 minutes 53.04 seconds. Current RSS: ~1939M. load average: 1.05 1.12 1.06 1/287 2444
when any exception happens during the probing
responds with 500 including the exception info
when Puma runs in Single mode
behaves like endpoint responding with readiness data for all checks
responds with readiness checks data
responds with readiness checks data when a failure happens
checks all redis instances
when DB is not accessible and connection raises an exception
responds with 500 including the exception info
# [RSpecRunTime] RSpec elapsed time: 19 minutes 57.58 seconds. Current RSS: ~1945M. load average: 1.04 1.12 1.06 1/287 2445
when any exception happens during the probing
responds with 500 including the exception info
behaves like endpoint querying database
does query database
token passed as URL param
behaves like endpoint responding with readiness data
when requesting instance-checks
when Puma runs in Clustered mode
responds with readiness checks data
responds with readiness checks data when a failure happens
# [RSpecRunTime] RSpec elapsed time: 20 minutes 0.22 second. Current RSS: ~1959M. load average: 1.12 1.13 1.06 1/287 2446
when Puma runs in Single mode
does not invoke MasterCheck, succeedes
when requesting all checks
when Puma runs in Clustered mode
behaves like endpoint responding with readiness data for all checks
responds with readiness checks data
responds with readiness checks data when a failure happens
checks all redis instances
when DB is not accessible and connection raises an exception
responds with 500 including the exception info
# [RSpecRunTime] RSpec elapsed time: 20 minutes 3.38 seconds. Current RSS: ~1960M. load average: 1.12 1.13 1.06 1/287 2447
when any exception happens during the probing
responds with 500 including the exception info
when Puma runs in Single mode
behaves like endpoint responding with readiness data for all checks
responds with readiness checks data
responds with readiness checks data when a failure happens
checks all redis instances
when DB is not accessible and connection raises an exception
responds with 500 including the exception info
# [RSpecRunTime] RSpec elapsed time: 20 minutes 6.71 seconds. Current RSS: ~1966M. load average: 1.11 1.13 1.06 1/287 2448
when any exception happens during the probing
responds with 500 including the exception info
behaves like endpoint querying database
does query database
GET /-/liveness
accessed from whitelisted ip
behaves like endpoint responding with liveness data
responds with liveness checks data
accessed from not whitelisted ip
behaves like endpoint not found
responds with resource not found
accessed with valid token
token passed in request header
behaves like endpoint responding with liveness data
responds with liveness checks data
behaves like endpoint querying database
does query database
token passed as URL param
behaves like endpoint responding with liveness data
responds with liveness checks data
behaves like endpoint querying database
does query database
# [RSpecRunTime] Finishing example group spec/requests/health_controller_spec.rb. It took 34.75 seconds. Expected to take 38.84 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/notes/create/diff_note_spec.rb. Expected to take 32.55 seconds.
Adding a DiffNote
behaves like a Note mutation when the user does not have permission
behaves like a Note mutation that does not create a Note
is expected not to change `Note.count`
# [RSpecRunTime] RSpec elapsed time: 20 minutes 13.21 seconds. Current RSS: ~1959M. load average: 1.10 1.13 1.06 1/293 2489
behaves like a mutation that returns top-level errors
is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"
# [RSpecRunTime] RSpec elapsed time: 20 minutes 14.55 seconds. Current RSS: ~1953M. load average: 1.10 1.13 1.06 1/293 2529
when the user has permission
returns the note with the correct position
behaves like a Note mutation that creates a Note
is expected to change `Note.count` by 1
# [RSpecRunTime] RSpec elapsed time: 20 minutes 18.66 seconds. Current RSS: ~1930M. load average: 1.09 1.13 1.06 1/293 2634
add comment to old line
behaves like a Note mutation that creates a Note
is expected to change `Note.count` by 1
# [RSpecRunTime] RSpec elapsed time: 20 minutes 20.77 seconds. Current RSS: ~1925M. load average: 1.16 1.14 1.06 1/294 2687
add a comment with a position without lines
behaves like a Note mutation that does not create a Note
is expected not to change `Note.count`
# [RSpecRunTime] RSpec elapsed time: 20 minutes 22.23 seconds. Current RSS: ~1924M. load average: 1.16 1.14 1.06 1/294 2727
behaves like a Note mutation when there are active record validation errors
returns an empty Note
behaves like a Note mutation that does not create a Note
is expected not to change `Note.count`
# [RSpecRunTime] RSpec elapsed time: 20 minutes 25.07 seconds. Current RSS: ~1927M. load average: 1.55 1.22 1.09 1/294 2806
behaves like a mutation that returns errors in the response
is expected to contain exactly "Error 1" and "Error 2"
# [RSpecRunTime] RSpec elapsed time: 20 minutes 26.46 seconds. Current RSS: ~1935M. load average: 1.55 1.22 1.09 1/294 2846
behaves like a Note mutation when there are rate limit validation errors
with rate limiter
behaves like a Note mutation that does not create a Note
is expected not to change `Note.count`
# [RSpecRunTime] RSpec elapsed time: 20 minutes 29.6 seconds. Current RSS: ~1939M. load average: 1.55 1.22 1.09 2/293 2917
behaves like a mutation that returns top-level errors
is expected to contain exactly "This endpoint has been requested too many times. Try again later."
# [RSpecRunTime] RSpec elapsed time: 20 minutes 32.72 seconds. Current RSS: ~1946M. load average: 1.51 1.22 1.09 1/293 2989
when the user is in the allowlist
behaves like a Note mutation that creates a Note
is expected to change `Note.count` by 1
# [RSpecRunTime] RSpec elapsed time: 20 minutes 36.19 seconds. Current RSS: ~1932M. load average: 1.47 1.21 1.09 1/293 3070
behaves like a Note mutation when the given resource id is not for a Noteable
behaves like a Note mutation that does not create a Note
is expected not to change `Note.count`
# [RSpecRunTime] RSpec elapsed time: 20 minutes 37.35 seconds. Current RSS: ~1929M. load average: 1.47 1.21 1.09 1/292 3077
behaves like a mutation that returns top-level errors
is expected to include / does not represent an instance of Noteable/
# [RSpecRunTime] RSpec elapsed time: 20 minutes 38.49 seconds. Current RSS: ~1927M. load average: 1.47 1.21 1.09 1/292 3084
with /merge quick action
merges the merge request
# [RSpecRunTime] RSpec elapsed time: 20 minutes 42.48 seconds. Current RSS: ~1917M. load average: 1.43 1.21 1.09 1/293 3147
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/notes/create/diff_note_spec.rb. It took 30.97 seconds. Expected to take 32.55 seconds.
# [RSpecRunTime] Starting example group spec/controllers/groups/group_members_controller_spec.rb. Expected to take 30.77 seconds.
Groups::GroupMembersController
GET index
renders index with 200 status code
when user can manage members
assigns invited members
restricts search to one email
paginates invited list
when filtering by user type
returns only service accounts
# [RSpecRunTime] RSpec elapsed time: 20 minutes 46.13 seconds. Current RSS: ~1910M. load average: 1.39 1.21 1.09 1/292 3148
when user cannot manage members
does not assign invited members
when filtering by user type
returns only service accounts
# [RSpecRunTime] RSpec elapsed time: 20 minutes 47.26 seconds. Current RSS: ~1907M. load average: 1.39 1.21 1.09 1/292 3149
when user has owner access to subgroup
lists all group members including members from shared group by default
lists direct group members only
lists inherited and shared group members only
# [RSpecRunTime] RSpec elapsed time: 20 minutes 50.07 seconds. Current RSS: ~1895M. load average: 1.36 1.20 1.09 1/292 3150
when webui_members_inherited_users is disabled
lists inherited group members only
PUT update
access level
can change the access level to Guest
can change the access level to Reporter
can change the access level to Developer
can change the access level to Maintainer
# [RSpecRunTime] RSpec elapsed time: 20 minutes 52.87 seconds. Current RSS: ~1887M. load average: 1.36 1.20 1.09 1/287 3151
access expiry date
when set to a date in the past
does not update the member
returns error status
returns error message
# [RSpecRunTime] RSpec elapsed time: 20 minutes 54.24 seconds. Current RSS: ~1887M. load average: 1.36 1.20 1.09 1/287 3152
when set to a date in the future
updates the member
expiration date
when `expires_at` is set
returns correct json response
when `expires_at` is not set
returns empty json response
DELETE destroy
when member is not found
returns 403
when member is found
when user does not have enough rights
returns 403
when user has enough rights
[HTML] removes user from members
[HTML] removes user from members including subgroups and projects
[JS] removes user from members
# [RSpecRunTime] RSpec elapsed time: 20 minutes 58.42 seconds. Current RSS: ~1852M. load average: 1.41 1.22 1.09 1/287 3153
DELETE leave
when member is not found
returns 404
when member is found
and is not an owner
removes user from members
supports json request
# [RSpecRunTime] RSpec elapsed time: 20 minutes 59.75 seconds. Current RSS: ~1829M. load average: 1.38 1.21 1.09 1/287 3154
and is an owner
cannot remove user from the group
and there is a group project bot owner
cannot remove user from the group
with owners from a parent
when top-level group
with group sharing
does not allow removal of last direct group owner
when subgroup
allows removal of last direct group owner
and there is another owner
removes user from members
and is a requester
removes user from members
POST request_access
creates a new GroupMember that is not a team member
POST approve_access_request
when member is not found
returns 403
when member is found
when user does not have enough rights
returns 403
when user has enough rights
adds user to members
with external authorization enabled
GET #index
is successful
PUT #update
is successful
DELETE #destroy
is successful
POST #destroy
is successful
POST #approve_request_access
is successful
DELETE #leave
is successful
POST #resend_invite
is successful
# [RSpecRunTime] Finishing example group spec/controllers/groups/group_members_controller_spec.rb. It took 27.28 seconds. Expected to take 30.77 seconds.
# [RSpecRunTime] Starting example group spec/controllers/ldap/omniauth_callbacks_controller_spec.rb. Expected to take 28.92 seconds.
Ldap::OmniauthCallbacksController
allows sign in
creates an authentication event record
respects remember me checkbox
with sign in prevented
does not allow sign in
# [RSpecRunTime] RSpec elapsed time: 21 minutes 19.37 seconds. Current RSS: ~1721M. load average: 1.30 1.20 1.09 1/287 3155
with 2FA
passes remember_me to the Devise view
# [RSpecRunTime] RSpec elapsed time: 21 minutes 21.81 seconds. Current RSS: ~1711M. load average: 1.27 1.20 1.09 1/287 3156
access denied
warns the user
doesn't authenticate user
# [RSpecRunTime] RSpec elapsed time: 21 minutes 26.41 seconds. Current RSS: ~1710M. load average: 1.25 1.19 1.09 1/286 3157
sign up
is allowed
# [RSpecRunTime] RSpec elapsed time: 21 minutes 28.78 seconds. Current RSS: ~1707M. load average: 1.25 1.19 1.09 1/286 3158
enable admin mode
with a regular user
cannot be enabled
# [RSpecRunTime] RSpec elapsed time: 21 minutes 31.16 seconds. Current RSS: ~1705M. load average: 1.23 1.19 1.09 1/286 3159
with an admin user
when requested first
can be enabled
# [RSpecRunTime] RSpec elapsed time: 21 minutes 33.49 seconds. Current RSS: ~1698M. load average: 1.23 1.19 1.09 1/286 3160
when not requested first
cannot be enabled
# [RSpecRunTime] RSpec elapsed time: 21 minutes 35.8 seconds. Current RSS: ~1700M. load average: 1.21 1.19 1.09 1/286 3161
# [RSpecRunTime] Finishing example group spec/controllers/ldap/omniauth_callbacks_controller_spec.rb. It took 28.09 seconds. Expected to take 28.92 seconds.
# [RSpecRunTime] RSpec elapsed time: 21 minutes 38.04 seconds. Current RSS: ~1694M. load average: 1.21 1.19 1.09 1/286 3162
# [RSpecRunTime] Starting example group spec/controllers/projects/mirrors_controller_spec.rb. Expected to take 25.96 seconds.
Projects::MirrorsController
Access control
#update
when project mirroring is enabled
allows requests from a maintainer
allows requests from an admin user
# [RSpecRunTime] RSpec elapsed time: 21 minutes 40.34 seconds. Current RSS: ~1727M. load average: 1.19 1.18 1.09 1/286 3175
when project mirroring is disabled
disallows requests from a maintainer
when admin mode is enabled
allows requests from an admin user
# [RSpecRunTime] RSpec elapsed time: 21 minutes 42.32 seconds. Current RSS: ~1752M. load average: 1.19 1.18 1.09 1/286 3188
when admin mode is disabled
disallows requests from an admin user
#update_now
when project mirroring is enabled
allows requests from a maintainer
allows requests from an admin user
# [RSpecRunTime] RSpec elapsed time: 21 minutes 44.86 seconds. Current RSS: ~1771M. load average: 1.42 1.23 1.10 1/286 3207
when project mirroring is disabled
disallows requests from a maintainer
when admin mode is enabled
allows requests from an admin user
# [RSpecRunTime] RSpec elapsed time: 21 minutes 46.59 seconds. Current RSS: ~1787M. load average: 1.42 1.23 1.10 1/286 3220
when admin mode is disabled
disallows requests from an admin user
setting up a remote mirror
when the current project is not a mirror
allows to create a remote mirror
setting up SSH public-key authentication
processes a successful update
# [RSpecRunTime] RSpec elapsed time: 21 minutes 49.52 seconds. Current RSS: ~1820M. load average: 1.42 1.23 1.10 1/286 3233
#update
With valid URL for a push
processes a successful update
creates a RemoteMirror object
# [RSpecRunTime] RSpec elapsed time: 21 minutes 51.84 seconds. Current RSS: ~1838M. load average: 1.39 1.23 1.10 1/286 3246
With invalid URL for a push
processes an unsuccessful update
does not create a RemoteMirror object
# [RSpecRunTime] RSpec elapsed time: 21 minutes 54.1 seconds. Current RSS: ~1844M. load average: 1.39 1.23 1.10 1/286 3259
#ssh_host_keys
invalid URLs
returns an error with a 400 response for URL "INVALID"
returns an error with a 400 response for URL "git@example.com:foo/bar.git"
returns an error with a 400 response for URL "ssh://git@example.com:foo/bar.git"
returns an error with a 400 response for URL "ssh://127.0.0.1/foo/bar.git"
# [RSpecRunTime] RSpec elapsed time: 21 minutes 58.01 seconds. Current RSS: ~1840M. load average: 1.35 1.22 1.10 1/286 3260
no data in cache
requests the cache to be filled and returns a 204 response
error in the cache
returns the error with a 400 response
data in the cache
returns the data with a 200 response
# [RSpecRunTime] Finishing example group spec/controllers/projects/mirrors_controller_spec.rb. It took 22.05 seconds. Expected to take 25.96 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/go_proxy_spec.rb. Expected to take 23.44 seconds.
API::GoProxy
GET /projects/:id/packages/go/*module_name/@v/list
for the root module
behaves like a module version list resource
returns v1.0.1, v1.0.2, v1.0.3
# [RSpecRunTime] RSpec elapsed time: 22 minutes 2.51 seconds. Current RSS: ~1796M. load average: 1.41 1.24 1.11 1/291 3451
for the package
behaves like a module version list resource
returns nothing
for the submodule
behaves like a module version list resource
returns v1.0.3
for the root module v2
behaves like a module version list resource
returns v2.0.0
with a URL encoded relative path component
behaves like a missing module version list resource
behaves like an unavailable resource
returns not found
with the feature disabled
behaves like a missing module version list resource
behaves like an unavailable resource
returns not found
GET /projects/:id/packages/go/*module_name/@v/:module_version.info
with the root module v1.0.1
behaves like a module version information resource
returns information for v1.0.1
with the submodule v1.0.3
behaves like a module version information resource
returns information for v1.0.3
with the root module v2.0.0
behaves like a module version information resource
returns information for v2.0.0
with an invalid path
behaves like a missing module version information resource
behaves like an unavailable resource
returns not found
with an invalid version
behaves like a missing module version information resource
behaves like an unavailable resource
returns not found
with a pseudo-version for v1
behaves like a module pseudo-version information resource
returns information for v1.0.4-0.yyyymmddhhmmss-abcdefabcdef
with a pseudo-version for v2
behaves like a module pseudo-version information resource
returns information for v2.0.0-yyyymmddhhmmss-abcdefabcdef
with a pseudo-version with an invalid timestamp
behaves like a missing module pseudo-version information resource
behaves like an unavailable resource
returns not found
with a pseudo-version with an invalid commit sha
behaves like a missing module pseudo-version information resource
behaves like an unavailable resource
returns not found
with a pseudo-version with a short commit sha
behaves like a missing module pseudo-version information resource
behaves like an unavailable resource
returns not found
GET /projects/:id/packages/go/*module_name/@v/:module_version.mod
with the root module v1.0.1
behaves like a module file resource
returns /go.mod from the repo
with the submodule v1.0.3
behaves like a module file resource
returns /mod/go.mod from the repo
with the root module v2.0.0
behaves like a module file resource
returns /v2/go.mod from the repo
with an invalid path
behaves like a missing module file resource
behaves like an unavailable resource
returns not found
with an invalid version
behaves like a missing module file resource
behaves like an unavailable resource
returns not found
GET /projects/:id/packages/go/*module_name/@v/:module_version.zip
with the root module v1.0.1
behaves like a module archive resource
returns an archive of / @ v1.0.1 from the repo
with the root module v1.0.2
behaves like a module archive resource
returns an archive of / @ v1.0.2 from the repo
with the root module v1.0.3
behaves like a module archive resource
returns an archive of / @ v1.0.3 from the repo
with the submodule v1.0.3
behaves like a module archive resource
returns an archive of /mod @ v1.0.3 from the repo
with the root module v2.0.0
behaves like a module archive resource
returns an archive of /v2 @ v2.0.0 from the repo
with an invalid module directive
GET /projects/:id/packages/go/*module_name/@v/list
with a completely wrong directive for v1
behaves like a module version list resource
returns nothing
# [RSpecRunTime] RSpec elapsed time: 22 minutes 12.52 seconds. Current RSS: ~1857M. load average: 1.34 1.23 1.10 1/291 3719
with a directive omitting the suffix for v2
behaves like a module version list resource
returns nothing
GET /projects/:id/packages/go/*module_name/@v/:module_version.info
with a completely wrong directive for v1
behaves like a missing module version information resource
behaves like an unavailable resource
returns not found
with a directive omitting the suffix for v2
behaves like a missing module version information resource
behaves like an unavailable resource
returns not found
with a case sensitive project and versions
GET /projects/:id/packages/go/*module_name/@v/list
with a case encoded path
behaves like a module version list resource
returns v1.0.1-prerelease, v1.0.1-Prerelease
# [RSpecRunTime] RSpec elapsed time: 22 minutes 14.78 seconds. Current RSS: ~1855M. load average: 1.32 1.22 1.10 1/291 3825
without a case encoded path
behaves like a missing module version list resource
behaves like an unavailable resource
returns not found
GET /projects/:id/packages/go/*module_name/@v/:module_version.info
with a case encoded path
behaves like a module version information resource
returns information for v1.0.1-Prerelease
without a case encoded path
behaves like a module version information resource
returns information for v1.0.1-prerelease
with a private project
GET /projects/:id/packages/go/*module_name/@v/list
returns ok with an oauth token
returns ok with a job token
returns ok with a personal access token
returns ok with a personal access token and basic authentication
returns unauthorized with a failed job token
returns unauthorized with no authentication
# [RSpecRunTime] RSpec elapsed time: 22 minutes 18.06 seconds. Current RSS: ~1854M. load average: 1.32 1.22 1.10 1/291 3890
with access to package registry for everyone
behaves like a module version list resource
returns v1.0.1, v1.0.2, v1.0.3
behaves like a module version information resource
returns information for v1.0.1
behaves like a module file resource
returns /go.mod from the repo
behaves like a module archive resource
returns an archive of / @ v1.0.1 from the repo
with a public project
GET /projects/:id/packages/go/*module_name/@v/list
returns ok with no authentication
with a non-existent project
GET /projects/:id/packages/go/*module_name/@v/list
returns not found with a user
returns not found with an oauth token
returns not found with a job token
returns not found with a personal access token
returns unauthorized with no authentication
# [RSpecRunTime] RSpec elapsed time: 22 minutes 21.15 seconds. Current RSS: ~1858M. load average: 1.37 1.24 1.11 1/291 3939
# [RSpecRunTime] Finishing example group spec/requests/api/go_proxy_spec.rb. It took 21.18 seconds. Expected to take 23.44 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/organizations/organization_query_spec.rb. Expected to take 21.81 seconds.
getting organization information
when user has access to the organization
behaves like a working graphql query
returns a successful response
# [RSpecRunTime] RSpec elapsed time: 22 minutes 22.39 seconds. Current RSS: ~1855M. load average: 1.37 1.24 1.11 1/291 3940
when requesting organization user
returns correct organization user fields
avoids N+1 queries for all the fields
when requesting groups
does not return ancestors of authorized groups
with `search` argument
filters groups by name
# [RSpecRunTime] RSpec elapsed time: 22 minutes 24.55 seconds. Current RSS: ~1859M. load average: 1.37 1.24 1.11 1/291 3941
group sorting
field: "id", direction: "asc", sorted_groups: lazy { authorized_groups.sort_by(&:id) }
behaves like sorted paginated query
behaves like requires variables
shared example requires variables to be set
when sorting
sorts correctly
when paginating
paginates correctly
field: "id", direction: "desc", sorted_groups: lazy { authorized_groups.sort_by(&:id).reverse }
behaves like sorted paginated query
behaves like requires variables
shared example requires variables to be set
when sorting
sorts correctly
when paginating
paginates correctly
field: "name", direction: "asc", sorted_groups: lazy { authorized_groups.sort_by(&:name) }
behaves like sorted paginated query
behaves like requires variables
shared example requires variables to be set
when sorting
sorts correctly
when paginating
paginates correctly
field: "name", direction: "desc", sorted_groups: lazy { authorized_groups.sort_by(&:name).reverse }
behaves like sorted paginated query
behaves like requires variables
shared example requires variables to be set
when sorting
sorts correctly
when paginating
paginates correctly
field: "path", direction: "asc", sorted_groups: lazy { authorized_groups.sort_by(&:path) }
behaves like sorted paginated query
behaves like requires variables
shared example requires variables to be set
when sorting
sorts correctly
when paginating
paginates correctly
field: "path", direction: "desc", sorted_groups: lazy { authorized_groups.sort_by(&:path).reverse }
behaves like sorted paginated query
behaves like requires variables
shared example requires variables to be set
when sorting
sorts correctly
when paginating
paginates correctly
when requesting projects
returns projects
behaves like a working graphql query
returns a successful response
project searching
with `search` argument
filters projects by name
project sorting
field: "id", direction: "asc", sorted_projects: lazy { all_projects.sort_by(&:id) }
behaves like sorted paginated query
behaves like requires variables
shared example requires variables to be set
# [RSpecRunTime] RSpec elapsed time: 22 minutes 33.51 seconds. Current RSS: ~1843M. load average: 1.31 1.23 1.11 1/286 3942
when sorting
sorts correctly
when paginating
paginates correctly
# [RSpecRunTime] RSpec elapsed time: 22 minutes 34.74 seconds. Current RSS: ~1845M. load average: 1.29 1.22 1.11 1/286 3943
field: "id", direction: "desc", sorted_projects: lazy { all_projects.sort_by(&:id).reverse }
behaves like sorted paginated query
behaves like requires variables
shared example requires variables to be set
when sorting
sorts correctly
when paginating
paginates correctly
# [RSpecRunTime] RSpec elapsed time: 22 minutes 36.3 seconds. Current RSS: ~1844M. load average: 1.29 1.22 1.11 1/286 3944
field: "name", direction: "asc", sorted_projects: lazy { all_projects.sort_by(&:name) }
behaves like sorted paginated query
behaves like requires variables
shared example requires variables to be set
when sorting
sorts correctly
when paginating
paginates correctly
# [RSpecRunTime] RSpec elapsed time: 22 minutes 37.88 seconds. Current RSS: ~1848M. load average: 1.29 1.22 1.11 1/286 3945
field: "name", direction: "desc", sorted_projects: lazy { all_projects.sort_by(&:name).reverse }
behaves like sorted paginated query
behaves like requires variables
shared example requires variables to be set
when sorting
sorts correctly
when paginating
paginates correctly
# [RSpecRunTime] RSpec elapsed time: 22 minutes 39.39 seconds. Current RSS: ~1845M. load average: 1.29 1.22 1.11 1/286 3946
field: "path", direction: "asc", sorted_projects: lazy { all_projects.sort_by(&:path) }
behaves like sorted paginated query
behaves like requires variables
shared example requires variables to be set
when sorting
sorts correctly
when paginating
paginates correctly
# [RSpecRunTime] RSpec elapsed time: 22 minutes 40.97 seconds. Current RSS: ~1849M. load average: 1.26 1.22 1.10 1/287 3947
field: "path", direction: "desc", sorted_projects: lazy { all_projects.sort_by(&:path).reverse }
behaves like sorted paginated query
behaves like requires variables
shared example requires variables to be set
when sorting
sorts correctly
when paginating
paginates correctly
# [RSpecRunTime] RSpec elapsed time: 22 minutes 42.49 seconds. Current RSS: ~1849M. load average: 1.26 1.22 1.10 1/286 3948
when the user does not have access to the organization
when organization is private
returns no organization
when organization is public
only returns the public organization
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/organizations/organization_query_spec.rb. It took 21.95 seconds. Expected to take 21.81 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/project/releases_spec.rb. Expected to take 20.2 seconds.
Query.project(fullPath).releases()
ensures that the correct data is returned based on the project's visibility and the user's access level
when the project is private
when the user is not logged in
behaves like no access to any release data
returns nil
# [RSpecRunTime] RSpec elapsed time: 22 minutes 44.72 seconds. Current RSS: ~1845M. load average: 1.24 1.22 1.10 1/286 3955
when the user has Guest permissions
behaves like no access to any repository-related fields
repository-related fields
does not return data for fields that expose repository information
behaves like correct total count
returns the total count
when the user has Reporter permissions
behaves like full access to all repository-related fields
repository-related fields
returns data for fields that are protected in private projects
behaves like correct total count
returns the total count
behaves like when there are no releases
returns an empty array
behaves like no access to editUrl
does not return editUrl
when the user has Developer permissions
behaves like full access to all repository-related fields
repository-related fields
returns data for fields that are protected in private projects
behaves like correct total count
returns the total count
behaves like when there are no releases
returns an empty array
behaves like access to editUrl
returns editUrl
when the project is public
when the user is not logged in
behaves like full access to all repository-related fields
repository-related fields
returns data for fields that are protected in private projects
# [RSpecRunTime] RSpec elapsed time: 22 minutes 50.25 seconds. Current RSS: ~1855M. load average: 1.22 1.21 1.10 1/291 3980
behaves like correct total count
returns the total count
behaves like when there are no releases
returns an empty array
behaves like no access to editUrl
does not return editUrl
when the user has Guest permissions
behaves like full access to all repository-related fields
repository-related fields
returns data for fields that are protected in private projects
behaves like correct total count
returns the total count
behaves like when there are no releases
returns an empty array
behaves like no access to editUrl
does not return editUrl
when the user has Reporter permissions
behaves like full access to all repository-related fields
repository-related fields
returns data for fields that are protected in private projects
behaves like correct total count
returns the total count
behaves like when there are no releases
returns an empty array
behaves like no access to editUrl
does not return editUrl
when the user has Developer permissions
behaves like full access to all repository-related fields
repository-related fields
returns data for fields that are protected in private projects
behaves like correct total count
returns the total count
behaves like when there are no releases
returns an empty array
behaves like access to editUrl
returns editUrl
sorting and pagination
when sorting by released_at
when ascending
behaves like sorted paginated query
behaves like requires variables
shared example requires variables to be set
when sorting
sorts correctly
when paginating
paginates correctly
# [RSpecRunTime] RSpec elapsed time: 22 minutes 58.57 seconds. Current RSS: ~1849M. load average: 1.21 1.21 1.10 1/291 3995
when descending
behaves like sorted paginated query
behaves like requires variables
shared example requires variables to be set
when sorting
sorts correctly
when paginating
paginates correctly
# [RSpecRunTime] RSpec elapsed time: 22 minutes 59.88 seconds. Current RSS: ~1850M. load average: 1.19 1.20 1.10 1/291 3996
when sorting by created_at
when ascending
behaves like sorted paginated query
behaves like requires variables
shared example requires variables to be set
when sorting
sorts correctly
when paginating
paginates correctly
# [RSpecRunTime] RSpec elapsed time: 23 minutes 1.47 seconds. Current RSS: ~1850M. load average: 1.19 1.20 1.10 1/291 3997
when descending
behaves like sorted paginated query
behaves like requires variables
shared example requires variables to be set
when sorting
sorts correctly
when paginating
paginates correctly
# [RSpecRunTime] RSpec elapsed time: 23 minutes 2.73 seconds. Current RSS: ~1853M. load average: 1.19 1.20 1.10 1/290 3998
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/project/releases_spec.rb. It took 19.6 seconds. Expected to take 20.2 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/admin/instance_clusters_spec.rb. Expected to take 17.55 seconds.
API::Admin::InstanceClusters
GET /admin/clusters
behaves like GET request permissions for admin mode
behaves like when admin
behaves like makes request
returns
# [RSpecRunTime] RSpec elapsed time: 23 minutes 4.81 seconds. Current RSS: ~1851M. load average: 1.17 1.20 1.10 1/288 3999
behaves like makes request
returns
behaves like when user
returns
behaves like makes request
returns
feature flag is disabled
responds with :not_found
when authenticated as admin
includes pagination headers
only returns the instance clusters
GET /admin/clusters/:cluster_id
behaves like GET request permissions for admin mode
behaves like when admin
behaves like makes request
returns
behaves like makes request
returns
behaves like when user
returns
behaves like makes request
returns
feature flag is disabled
responds with :not_found
when authenticated as admin
when no cluster associated to the ID
returns 404
when cluster with cluster_id exists
returns the cluster with cluster_id
returns the cluster information
returns kubernetes platform information
returns user information
returns GCP provider information
when cluster has no provider
does not include GCP provider info
# [RSpecRunTime] RSpec elapsed time: 23 minutes 9.08 seconds. Current RSS: ~1865M. load average: 1.17 1.20 1.10 1/286 4000
when trying to get a project cluster via the instance cluster endpoint
returns 404
POST /admin/clusters/add
behaves like POST request permissions for admin mode
behaves like when admin
behaves like makes request
returns
behaves like makes request
returns
behaves like when user
returns
behaves like makes request
returns
feature flag is disabled
responds with :not_found
authorized user
with valid params
creates a new Clusters::Cluster
when user does not indicate authorization type
defaults to RBAC
when user sets authorization type as ABAC
creates an ABAC cluster
when namespace_per_environment is not set
defaults to true
when an instance cluster already exists
allows user to add multiple clusters
with invalid params
when missing a required parameter
responds with 400
with a malformed api url
responds with 400
returns validation errors
PUT /admin/clusters/:cluster_id
behaves like PUT request permissions for admin mode
behaves like when admin
behaves like makes request
returns
behaves like makes request
returns
behaves like when user
returns
behaves like makes request
returns
feature flag is disabled
responds with :not_found
authorized user
with valid params
updates cluster attributes
with invalid params
responds with 400
does not update cluster attributes
returns validation errors
with a GCP cluster
when user tries to change GCP specific fields
responds with 400
returns validation error
when user tries to change domain
responds with 200
with an user cluster
responds with 200
updates platform kubernetes attributes
# [RSpecRunTime] RSpec elapsed time: 23 minutes 17.24 seconds. Current RSS: ~1880M. load average: 1.15 1.19 1.10 1/286 4001
with a cluster that does not exist
returns 404
when trying to update a project cluster via the instance cluster endpoint
returns 404
DELETE /admin/clusters/:cluster_id
behaves like DELETE request permissions for admin mode
behaves like when admin
behaves like makes request
returns
behaves like makes request
returns
behaves like when user
returns
behaves like makes request
returns
feature flag is disabled
responds with :not_found
authorized user
deletes the cluster
with a cluster that does not exist
returns 404
when trying to update a project cluster via the instance cluster endpoint
returns 404
# [RSpecRunTime] Finishing example group spec/requests/api/admin/instance_clusters_spec.rb. It took 17.15 seconds. Expected to take 17.55 seconds.
# [RSpecRunTime] Starting example group spec/controllers/projects/refs_controller_spec.rb. Expected to take 16.39 seconds.
Projects::RefsController
GET #switch
with normal parameters
destination: "tree", ref_type: nil, path: nil, redirected_to: lazy { project_tree_path(project, id) }
redirects to destination
# [RSpecRunTime] RSpec elapsed time: 23 minutes 21.14 seconds. Current RSS: ~1871M. load average: 1.13 1.19 1.10 1/287 4011
destination: "tree", ref_type: "heads", path: nil, redirected_to: lazy { project_tree_path(project, id) }
redirects to destination
destination: "tree", ref_type: nil, path: "foo/bar", redirected_to: lazy { project_tree_path(project, id_and_path) }
redirects to destination
destination: "blob", ref_type: nil, path: nil, redirected_to: lazy { project_blob_path(project, id) }
redirects to destination
destination: "blob", ref_type: "heads", path: nil, redirected_to: lazy { project_blob_path(project, id) }
redirects to destination
destination: "blob", ref_type: nil, path: "foo/bar", redirected_to: lazy { project_blob_path(project, id_and_path) }
redirects to destination
destination: "graph", ref_type: nil, path: nil, redirected_to: lazy { project_network_path(project, id) }
redirects to destination
destination: "graph", ref_type: "heads", path: nil, redirected_to: lazy { project_network_path(project, id, ref_type: 'heads') }
redirects to destination
destination: "graph", ref_type: nil, path: "foo/bar", redirected_to: lazy { project_network_path(project, id_and_path) }
redirects to destination
destination: "graphs", ref_type: nil, path: nil, redirected_to: lazy { project_graph_path(project, id) }
redirects to destination
destination: "graphs", ref_type: "heads", path: nil, redirected_to: lazy { project_graph_path(project, id, ref_type: 'heads') }
redirects to destination
destination: "graphs", ref_type: nil, path: "foo/bar", redirected_to: lazy { project_graph_path(project, id_and_path) }
redirects to destination
destination: "find_file", ref_type: nil, path: nil, redirected_to: lazy { project_find_file_path(project, id) }
redirects to destination
destination: "find_file", ref_type: "heads", path: nil, redirected_to: lazy { project_find_file_path(project, id) }
redirects to destination
destination: "find_file", ref_type: nil, path: "foo/bar", redirected_to: lazy { project_find_file_path(project, id_and_path) }
redirects to destination
destination: "graphs_commits", ref_type: nil, path: nil, redirected_to: lazy { commits_project_graph_path(project, id) }
redirects to destination
destination: "graphs_commits", ref_type: "heads", path: nil, redirected_to: lazy { commits_project_graph_path(project, id) }
redirects to destination
destination: "graphs_commits", ref_type: nil, path: "foo/bar", redirected_to: lazy { commits_project_graph_path(project, id_and_path) }
redirects to destination
destination: "badges", ref_type: nil, path: nil, redirected_to: lazy { project_settings_ci_cd_path(project, ref: id) }
redirects to destination
destination: "badges", ref_type: "heads", path: nil, redirected_to: lazy { project_settings_ci_cd_path(project, ref: id) }
redirects to destination
destination: "badges", ref_type: nil, path: "foo/bar", redirected_to: lazy { project_settings_ci_cd_path(project, ref: id_and_path) }
redirects to destination
destination: "commits", ref_type: nil, path: nil, redirected_to: lazy { project_commits_path(project, id) }
redirects to destination
destination: "commits", ref_type: "heads", path: nil, redirected_to: lazy { project_commits_path(project, id, ref_type: 'heads') }
redirects to destination
destination: "commits", ref_type: nil, path: "foo/bar", redirected_to: lazy { project_commits_path(project, id_and_path) }
redirects to destination
destination: nil, ref_type: nil, path: nil, redirected_to: lazy { project_commits_path(project, id) }
redirects to destination
destination: nil, ref_type: "heads", path: nil, redirected_to: lazy { project_commits_path(project, id, ref_type: 'heads') }
redirects to destination
destination: nil, ref_type: nil, path: "foo/bar", redirected_to: lazy { project_commits_path(project, id_and_path) }
redirects to destination
with bad path parameter
returns 400 bad request
with an invalid path parameter
returns 400 bad request
GET #logs_tree
never throws MissingTemplate
renders 404 for HTML requests
when ref is incorrect
returns 404 page
# [RSpecRunTime] RSpec elapsed time: 23 minutes 33.68 seconds. Current RSS: ~1847M. load average: 1.11 1.18 1.10 1/291 4081
when offset has an invalid format
renders JSON
when json is requested
renders JSON
# [RSpecRunTime] Finishing example group spec/controllers/projects/refs_controller_spec.rb. It took 14.64 seconds. Expected to take 16.39 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/task_completion_status_spec.rb. Expected to take 15.22 seconds.
task completion status response
task list completion status for issues
behaves like taskable completion status provider
with a description of ""
is expected to respond with numeric status code ok
returns the expected results
# [RSpecRunTime] RSpec elapsed time: 23 minutes 36.16 seconds. Current RSS: ~1842M. load average: 1.02 1.16 1.09 1/291 4092
with a description of "Lorem ipsum"
is expected to respond with numeric status code ok
returns the expected results
with a description of "- [ ] task 1\n - [x] task 2 "
is expected to respond with numeric status code ok
returns the expected results
with a description of "- [ ] task 1\n - [ ] task 2 "
is expected to respond with numeric status code ok
returns the expected results
with a description of "- [x] task 1\n - [x] task 2 "
is expected to respond with numeric status code ok
returns the expected results
with a description of "- [ ] task 1"
is expected to respond with numeric status code ok
returns the expected results
with a description of "- [x] task 1"
is expected to respond with numeric status code ok
returns the expected results
# [RSpecRunTime] RSpec elapsed time: 23 minutes 41.86 seconds. Current RSS: ~1831M. load average: 1.02 1.16 1.09 1/291 4093
task list completion status for merge_requests
behaves like taskable completion status provider
with a description of ""
is expected to respond with numeric status code ok
returns the expected results
# [RSpecRunTime] RSpec elapsed time: 23 minutes 42.93 seconds. Current RSS: ~1831M. load average: 1.02 1.16 1.09 1/291 4094
with a description of "Lorem ipsum"
is expected to respond with numeric status code ok
returns the expected results
# [RSpecRunTime] RSpec elapsed time: 23 minutes 44.08 seconds. Current RSS: ~1831M. load average: 1.02 1.16 1.09 1/290 4095
with a description of "- [ ] task 1\n - [x] task 2 "
is expected to respond with numeric status code ok
returns the expected results
# [RSpecRunTime] RSpec elapsed time: 23 minutes 45.18 seconds. Current RSS: ~1831M. load average: 1.02 1.16 1.09 1/286 4096
with a description of "- [ ] task 1\n - [ ] task 2 "
is expected to respond with numeric status code ok
returns the expected results
# [RSpecRunTime] RSpec elapsed time: 23 minutes 46.3 seconds. Current RSS: ~1828M. load average: 1.02 1.16 1.09 1/286 4097
with a description of "- [x] task 1\n - [x] task 2 "
is expected to respond with numeric status code ok
returns the expected results
# [RSpecRunTime] RSpec elapsed time: 23 minutes 47.37 seconds. Current RSS: ~1824M. load average: 1.02 1.16 1.09 1/286 4098
with a description of "- [ ] task 1"
is expected to respond with numeric status code ok
returns the expected results
# [RSpecRunTime] RSpec elapsed time: 23 minutes 48.54 seconds. Current RSS: ~1823M. load average: 1.02 1.16 1.09 1/286 4099
with a description of "- [x] task 1"
is expected to respond with numeric status code ok
returns the expected results
# [RSpecRunTime] RSpec elapsed time: 23 minutes 49.65 seconds. Current RSS: ~1823M. load average: 1.02 1.16 1.09 1/286 4100
# [RSpecRunTime] Finishing example group spec/requests/api/task_completion_status_spec.rb. It took 15.13 seconds. Expected to take 15.22 seconds.
# [RSpecRunTime] Starting example group spec/controllers/projects/pages_controller_spec.rb. Expected to take 13.28 seconds.
Projects::PagesController
GET new
returns 200 status
when the project is in a subgroup
returns a 200 status code
# [RSpecRunTime] RSpec elapsed time: 23 minutes 51.69 seconds. Current RSS: ~1821M. load average: 1.02 1.16 1.09 1/286 4101
GET show
when the project does not have onboarding complete
redirects to #new
when the project does have onboarding complete
returns 200 status
when the project is in a subgroup
returns a 200 status code
# [RSpecRunTime] RSpec elapsed time: 23 minutes 54.42 seconds. Current RSS: ~1816M. load average: 1.02 1.16 1.09 1/286 4102
when the project has a deployed pages app
does not redirect to #new
when pages is disabled
renders the disabled view
DELETE destroy
returns 302 status
when user is developer
returns 404 status
# [RSpecRunTime] RSpec elapsed time: 23 minutes 58.08 seconds. Current RSS: ~1806M. load average: 1.18 1.19 1.10 1/286 4103
pages disabled
GET show
returns 404 status
DELETE destroy
returns 404 status
PATCH update
when updating pages_https_only
updates project field and redirects back to the pages settings
when it fails to update
adds an error message
# [RSpecRunTime] RSpec elapsed time: 24 minutes 1.53 seconds. Current RSS: ~1800M. load average: 1.24 1.20 1.10 1/286 4104
when updating pages_unique_domain
updates pages_https_only and pages_unique_domain and redirects back to pages settings
when it fails to update
adds an error message
# [RSpecRunTime] RSpec elapsed time: 24 minutes 3.4 seconds. Current RSS: ~1796M. load average: 1.24 1.20 1.10 1/286 4105
# [RSpecRunTime] Finishing example group spec/controllers/projects/pages_controller_spec.rb. It took 13.75 seconds. Expected to take 13.28 seconds.
# [RSpecRunTime] Starting example group spec/requests/lfs_locks_api_spec.rb. Expected to take 12.68 seconds.
Git LFS File Locking API
Create File Lock endpoint
when user does not have download permission
returns a 404 response
# [RSpecRunTime] RSpec elapsed time: 24 minutes 4.85 seconds. Current RSS: ~1791M. load average: 1.22 1.20 1.10 1/286 4106
when user does not have upload permission
returns a 403 response
with an existent lock
return an error message
returns the existen lock
# [RSpecRunTime] RSpec elapsed time: 24 minutes 7.0 seconds. Current RSS: ~1792M. load average: 1.22 1.20 1.10 1/286 4107
without an existent lock
creates the lock
Listing File Locks endpoint
returns the list of locked files
when user does not have download permission
returns a 404 response
# [RSpecRunTime] RSpec elapsed time: 24 minutes 9.24 seconds. Current RSS: ~1793M. load average: 1.22 1.20 1.10 1/286 4108
when user does not have upload permission
returns a 403 response
List File Locks for verification endpoint
returns the list of locked files grouped by owner
when user does not have download permission
returns a 404 response
# [RSpecRunTime] RSpec elapsed time: 24 minutes 11.46 seconds. Current RSS: ~1793M. load average: 1.21 1.19 1.10 1/286 4109
when user does not have upload permission
returns a 403 response
Delete File Lock endpoint
when user does not have download permission
returns a 404 response
when user does not have upload permission
returns a 403 response
with an existent lock
deletes the lock
returns the deleted lock
when a maintainer uses force
deletes the lock
# [RSpecRunTime] RSpec elapsed time: 24 minutes 15.83 seconds. Current RSS: ~1791M. load average: 1.19 1.19 1.10 1/286 4110
# [RSpecRunTime] Finishing example group spec/requests/lfs_locks_api_spec.rb. It took 12.42 seconds. Expected to take 12.68 seconds.
# [RSpecRunTime] Starting example group spec/commands/metrics_server/metrics_server_spec.rb. Expected to take 12.08 seconds.
GitLab metrics server
behaves like spawns a server
targeting puma
behaves like serves metrics endpoint
serves /metrics endpoint
# [RSpecRunTime] RSpec elapsed time: 24 minutes 20.47 seconds. Current RSS: ~1784M. load average: 1.09 1.17 1.09 1/287 4118
when using Pathname instance as target directory
behaves like serves metrics endpoint
serves /metrics endpoint
# [RSpecRunTime] RSpec elapsed time: 24 minutes 22.79 seconds. Current RSS: ~1784M. load average: 1.09 1.17 1.09 1/287 4125
behaves like spawns a server
targeting sidekiq
behaves like serves metrics endpoint
serves /metrics endpoint
# [RSpecRunTime] RSpec elapsed time: 24 minutes 25.12 seconds. Current RSS: ~1784M. load average: 1.09 1.17 1.09 1/287 4132
when using Pathname instance as target directory
behaves like serves metrics endpoint
serves /metrics endpoint
# [RSpecRunTime] RSpec elapsed time: 24 minutes 27.44 seconds. Current RSS: ~1788M. load average: 1.09 1.17 1.09 1/287 4139
# [RSpecRunTime] Finishing example group spec/commands/metrics_server/metrics_server_spec.rb. It took 11.61 seconds. Expected to take 12.08 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/ci/secure_files_spec.rb. Expected to take 10.9 seconds.
API::Ci::SecureFiles
GET /projects/:id/secure_files
ci_secure_files_read_only feature flag
when the flag is enabled
returns a 503 when attempting to upload a file
returns a 200 when downloading a file
# [RSpecRunTime] RSpec elapsed time: 24 minutes 29.06 seconds. Current RSS: ~1787M. load average: 1.09 1.17 1.09 1/287 4140
when the feature is disabled at the instance level
returns a 403 when attempting to upload a file
returns a 403 when downloading a file
when the flag is disabled
returns a 201 when uploading a file when the ci_secure_files_read_only feature flag is disabled
authenticated user with admin permissions
returns project secure files
authenticated user with read permissions
returns project secure files
authenticated user with guest permissions
does not return project secure files
authenticated user with no permissions
does not return project secure files
unconfirmed user
does not return project secure files
unauthenticated user
does not return project secure files
GET /projects/:id/secure_files/:secure_file_id
authenticated user with admin permissions
returns project secure file details
returns project secure file details with metadata when supported
responds with 404 Not Found if requesting non-existing secure file
authenticated user with read permissions
returns project secure file details
authenticated user with no permissions
does not return project secure file details
unconfirmed user
does not return project secure file details
unauthenticated user
does not return project secure file details
GET /projects/:id/secure_files/:secure_file_id/download
authenticated user with admin permissions
returns a secure file
responds with 404 Not Found if requesting non-existing secure file
authenticated user with read permissions
returns a secure file
authenticated user with no permissions
does not return project secure file details
unconfirmed user
does not return project secure file details
unauthenticated user
does not return project secure file details
POST /projects/:id/secure_files
authenticated user with admin permissions
creates a secure file
uploads and downloads a secure file
returns an error when the file checksum fails to validate
returns an error when no file is uploaded
returns an error when the file name is missing
returns an error when the file name has already been used
returns an error when an unexpected validation failure happens
returns a 413 error when the file size is too large
returns an error when and invalid file name is supplied
# [RSpecRunTime] RSpec elapsed time: 24 minutes 36.18 seconds. Current RSS: ~1831M. load average: 1.07 1.16 1.09 1/286 4141
authenticated user with read permissions
does not create a secure file
authenticated user with no permissions
does not create a secure file
unconfirmed user
does not create a secure file
unauthenticated user
does not create a secure file
DELETE /projects/:id/secure_files/:secure_file_id
authenticated user with admin permissions
deletes the secure file
responds with 404 Not Found if requesting non-existing secure_file
authenticated user with read permissions
does not delete the secure_file
authenticated user with no permissions
does not delete the secure_file
unconfirmed user
does not delete the secure_file
unauthenticated user
does not delete the secure_file
# [RSpecRunTime] Finishing example group spec/requests/api/ci/secure_files_spec.rb. It took 10.89 seconds. Expected to take 10.9 seconds.
# [RSpecRunTime] Starting example group spec/mailers/emails/pages_domains_spec.rb. Expected to take 9.81 seconds.
Emails::PagesDomains
#pages_domain_enabled_email
is expected to have body including "has been enabled"
behaves like a pages domain verification email
has the expected content
behaves like a pages domain email
has the expected content
behaves like an email sent to a user
is sent to user's global notification email address
with group notification email
is sent to user's group notification email
# [RSpecRunTime] RSpec elapsed time: 24 minutes 40.56 seconds. Current RSS: ~1829M. load average: 1.07 1.16 1.09 2/287 4148
behaves like an email sent from GitLab
has the characteristics of an email sent from GitLab
behaves like it should not have Gmail Actions links
is expected not to have body including "ViewAction"
behaves like a user cannot unsubscribe through footer link
does not have a List-Unsubscribe header or a body link
#pages_domain_disabled_email
is expected to have body including "has been disabled"
behaves like a pages domain verification email
has the expected content
behaves like a pages domain email
has the expected content
behaves like an email sent to a user
is sent to user's global notification email address
with group notification email
is sent to user's group notification email
# [RSpecRunTime] RSpec elapsed time: 24 minutes 42.55 seconds. Current RSS: ~1826M. load average: 1.07 1.16 1.09 1/286 4149
behaves like an email sent from GitLab
has the characteristics of an email sent from GitLab
behaves like it should not have Gmail Actions links
is expected not to have body including "ViewAction"
behaves like a user cannot unsubscribe through footer link
does not have a List-Unsubscribe header or a body link
behaves like notification about upcoming domain removal
when domain is not scheduled for removal
asks user to remove it
when domain is scheduled for removal
notifies user that domain will be removed automatically
#pages_domain_verification_succeeded_email
is expected to have body including "successfully verified"
behaves like a pages domain verification email
has the expected content
behaves like a pages domain email
has the expected content
behaves like an email sent to a user
is sent to user's global notification email address
with group notification email
is sent to user's group notification email
# [RSpecRunTime] RSpec elapsed time: 24 minutes 44.77 seconds. Current RSS: ~1829M. load average: 1.06 1.16 1.09 1/286 4150
behaves like an email sent from GitLab
has the characteristics of an email sent from GitLab
behaves like it should not have Gmail Actions links
is expected not to have body including "ViewAction"
behaves like a user cannot unsubscribe through footer link
does not have a List-Unsubscribe header or a body link
#pages_domain_verification_failed_email
behaves like a pages domain email
has the expected content
behaves like an email sent to a user
is sent to user's global notification email address
with group notification email
is sent to user's group notification email
behaves like an email sent from GitLab
has the characteristics of an email sent from GitLab
behaves like it should not have Gmail Actions links
is expected not to have body including "ViewAction"
behaves like a user cannot unsubscribe through footer link
does not have a List-Unsubscribe header or a body link
behaves like notification about upcoming domain removal
when domain is not scheduled for removal
asks user to remove it
when domain is scheduled for removal
notifies user that domain will be removed automatically
#pages_domain_auto_ssl_failed_email
says that we failed to obtain certificate
behaves like a pages domain email
has the expected content
behaves like an email sent to a user
is sent to user's global notification email address
with group notification email
is sent to user's group notification email
behaves like an email sent from GitLab
has the characteristics of an email sent from GitLab
behaves like it should not have Gmail Actions links
is expected not to have body including "ViewAction"
behaves like a user cannot unsubscribe through footer link
does not have a List-Unsubscribe header or a body link
# [RSpecRunTime] Finishing example group spec/mailers/emails/pages_domains_spec.rb. It took 10.36 seconds. Expected to take 9.81 seconds.
# [RSpecRunTime] Starting example group spec/controllers/concerns/product_analytics_tracking_spec.rb. Expected to take 9.67 seconds.
ProductAnalyticsTracking
.track_internal_event
when user is logged in
tracks the events if DNT is disabled
does not track the event if DNT is enabled
does not track the event if the format is not HTML
does not track the event if a custom condition returns false
# [RSpecRunTime] RSpec elapsed time: 24 minutes 51.19 seconds. Current RSS: ~1823M. load average: 1.22 1.19 1.10 1/286 4151
when user is not logged in
tracks internal event
tracks total Redis counters
does not update unique counter
# [RSpecRunTime] RSpec elapsed time: 24 minutes 52.71 seconds. Current RSS: ~1817M. load average: 1.22 1.19 1.10 1/286 4152
.track_event
when user is logged in
tracks the event
tracks the event if DNT is not enabled
does not track the event if DNT is enabled
does not track the event if the format is not HTML
does not track the event if a custom condition returns false
does not track the event for untracked actions
# [RSpecRunTime] RSpec elapsed time: 24 minutes 55.75 seconds. Current RSS: ~1800M. load average: 1.20 1.18 1.10 1/286 4153
when user is not logged in
tracks the event when there is a visitor id
when user is not logged in and there is no visitor_id
does not track the event
tracks the event when there is custom id
when there is no custom_id set
does not track the HLL event
tracks Snowplow event
# [RSpecRunTime] RSpec elapsed time: 24 minutes 58.06 seconds. Current RSS: ~1792M. load average: 1.20 1.18 1.10 1/286 4154
# [RSpecRunTime] Finishing example group spec/controllers/concerns/product_analytics_tracking_spec.rb. It took 9.38 seconds. Expected to take 9.67 seconds.
# [RSpecRunTime] Starting example group spec/mailers/devise_mailer_spec.rb. Expected to take 8.88 seconds.
DeviseMailer
#confirmation_instructions
behaves like it validates recipients
raises an error when delivering now
# [RSpecRunTime] RSpec elapsed time: 24 minutes 59.26 seconds. Current RSS: ~1790M. load average: 1.20 1.18 1.10 1/286 4161
when confirming a new account
shows the expected text
when confirming the unconfirmed_email
shows the expected text
when re-confirming the primary email after a security issue
shows the expected text
#password_change_by_admin
is sent to the user
has the correct subject
includes the correct content
includes a link to GitLab
behaves like an email sent from GitLab
has the characteristics of an email sent from GitLab
behaves like it should not have Gmail Actions links
is expected not to have body including "ViewAction"
behaves like a user cannot unsubscribe through footer link
does not have a List-Unsubscribe header or a body link
behaves like it validates recipients
raises an error when delivering now
#user_admin_approval
is sent to the user
has the correct subject
greets the user
includes the correct content
includes a link to GitLab
behaves like an email sent from GitLab
has the characteristics of an email sent from GitLab
# [RSpecRunTime] RSpec elapsed time: 25 minutes 2.77 seconds. Current RSS: ~1815M. load average: 1.18 1.18 1.10 1/286 4162
behaves like it should not have Gmail Actions links
is expected not to have body including "ViewAction"
behaves like a user cannot unsubscribe through footer link
does not have a List-Unsubscribe header or a body link
behaves like it validates recipients
raises an error when delivering now
#reset_password_instructions
is sent to the user
has the correct subject
greets the user
includes the correct content
includes a link to reset the password
has the mailgun suppression bypass header
behaves like an email sent from GitLab
has the characteristics of an email sent from GitLab
# [RSpecRunTime] RSpec elapsed time: 25 minutes 4.71 seconds. Current RSS: ~1831M. load average: 1.17 1.18 1.10 1/286 4163
behaves like it should not have Gmail Actions links
is expected not to have body including "ViewAction"
behaves like a user cannot unsubscribe through footer link
does not have a List-Unsubscribe header or a body link
behaves like it validates recipients
raises an error when delivering now
with email in opts
is sent to the specified email
#email_changed
is sent to the user
has the correct subject
greets the user
behaves like an email sent from GitLab
has the characteristics of an email sent from GitLab
behaves like it validates recipients
raises an error when delivering now
when self-managed
has the expected content of self managed instance
when saas
has the expected content of saas instance
email contains updated id
includes changed email id
# [RSpecRunTime] Finishing example group spec/mailers/devise_mailer_spec.rb. It took 8.75 seconds. Expected to take 8.88 seconds.
# [RSpecRunTime] Starting example group spec/controllers/projects/todos_controller_spec.rb. Expected to take 8.65 seconds.
Projects::TodosController
Issues
POST create
behaves like issuable todo actions
behaves like todos actions
when authorized
creates todo
returns todo path and pending count
# [RSpecRunTime] RSpec elapsed time: 25 minutes 8.55 seconds. Current RSS: ~1829M. load average: 1.17 1.18 1.10 1/286 4164
when not authorized for project/group
does not create todo for resource that user has no access to
does not create todo when user is not logged in
when not authorized for resource
doesn't create todo
Merge Requests
POST create
behaves like issuable todo actions
behaves like todos actions
when authorized
creates todo
returns todo path and pending count
# [RSpecRunTime] RSpec elapsed time: 25 minutes 10.87 seconds. Current RSS: ~1834M. load average: 1.15 1.17 1.10 1/286 4165
when not authorized for project/group
does not create todo for resource that user has no access to
does not create todo when user is not logged in
when not authorized for resource
doesn't create todo
Designs
POST create
behaves like todos actions
when authorized
creates todo
returns todo path and pending count
# [RSpecRunTime] RSpec elapsed time: 25 minutes 13.35 seconds. Current RSS: ~1828M. load average: 1.15 1.17 1.10 1/286 4168
when not authorized for project/group
does not create todo for resource that user has no access to
does not create todo when user is not logged in
# [RSpecRunTime] Finishing example group spec/controllers/projects/todos_controller_spec.rb. It took 7.15 seconds. Expected to take 8.65 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/markdown_spec.rb. Expected to take 7.82 seconds.
API::Markdown
POST /markdown
when not logged in
and authenticate_markdown_api turned on
responds with 401 Unathorized
and authenticate_markdown_api turned off
behaves like 400 Bad Request
responds with 400 Bad Request
when arguments are invalid
when text is missing
behaves like 400 Bad Request
responds with 400 Bad Request
when project is not found
behaves like 404 Project Not Found
responds with 404 Not Found
when arguments are valid
when personal access token has only read_api scope
behaves like rendered markdown text without GFM
renders markdown text
when not using gfm
without project
behaves like rendered markdown text without GFM
renders markdown text
with project
when not authorized
behaves like 404 Project Not Found
responds with 404 Not Found
when authorized
behaves like rendered markdown text without GFM
renders markdown text
when using gfm
without project
renders markdown text
with project
renders markdown text
with a public project and confidential issue
when not logged in
behaves like user without proper access
does not render the title or link
when logged in as user without access
behaves like user without proper access
does not render the title or link
when logged in as author
renders the title or link
with a public project and issues only for team members
when not logged in and authenticate_markdown_api turned off
behaves like user without proper access
does not render the title
when logged in as user without access
behaves like user without proper access
does not render the title
when logged in as author
renders the title or link
# [RSpecRunTime] Finishing example group spec/requests/api/markdown_spec.rb. It took 8.0 seconds. Expected to take 7.82 seconds.
# [RSpecRunTime] Starting example group spec/controllers/projects/runners_controller_spec.rb. Expected to take 7.09 seconds.
Projects::RunnersController
#destroy
destroys the runner
#toggle_shared_runners
toggles shared_runners_enabled when the group allows shared runners
toggles shared_runners_enabled when the group disallows shared runners but allows overrides
does not enable if the group disallows shared runners
# [RSpecRunTime] RSpec elapsed time: 25 minutes 26.34 seconds. Current RSS: ~1792M. load average: 1.13 1.16 1.09 1/286 4169
#pause
marks the runner as inactive and ticks the queue
#register
when user is maintainer
when runner can be registered after creation
renders a :register template
when runner cannot be registered after creation
returns :not_found
when user is not maintainer
when runner can be registered after creation
returns :not_found
#resume
marks the runner as active and ticks the queue
#new
when user is maintainer
renders new with 200 status code
when user is not maintainer
renders a 404
#update
updates the runner and ticks the queue
# [RSpecRunTime] Finishing example group spec/controllers/projects/runners_controller_spec.rb. It took 7.12 seconds. Expected to take 7.09 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/projects/sync_fork_spec.rb. Expected to take 7.07 seconds.
Sync project fork
when the user does not have permission
does not call the sync service
behaves like a mutation that returns a top-level access error
is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"
# [RSpecRunTime] RSpec elapsed time: 25 minutes 31.77 seconds. Current RSS: ~1829M. load average: 1.28 1.20 1.10 1/291 4205
when the user has permission
and the sync service executes successfully
calls the sync service
and the sync service fails to execute
when fork details cannot be resolved
returns an error
when the specified branch does not exist
returns an error
when the previous execution resulted in a conflict
returns an error
when the request is rate limited
returns an error
when another fork sync is in progress
returns an error
when the branch is protected
does not call the sync service
behaves like a mutation that returns a top-level access error
is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"
# [RSpecRunTime] RSpec elapsed time: 25 minutes 36.13 seconds. Current RSS: ~1834M. load average: 1.25 1.19 1.10 1/292 4296
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/projects/sync_fork_spec.rb. It took 7.06 seconds. Expected to take 7.07 seconds.
# [RSpecRunTime] Starting example group spec/controllers/snippets/blobs_controller_spec.rb. Expected to take 6.3 seconds.
Snippets::BlobsController
GET #raw
snippet_visibility_level: :public, user: :author, status: :ok
responds with correct status
snippet_visibility_level: :public, user: :other_user, status: :ok
responds with correct status
snippet_visibility_level: :public, user: nil, status: :ok
responds with correct status
snippet_visibility_level: :private, user: :author, status: :ok
responds with correct status
snippet_visibility_level: :private, user: :other_user, status: :not_found
responds with correct status
snippet_visibility_level: :private, user: nil, status: :redirect
responds with correct status
behaves like raw snippet blob
with valid params
delivers file with correct Workhorse headers
responds with status 200
Content Disposition
when the disposition is inline
returns inline in the content disposition header
when the disposition is attachment
returns attachment plus the filename in the content disposition header
with invalid file path
behaves like returning response status
returns not_found
with invalid ref
behaves like returning response status
returns not_found
behaves like content disposition headers
sets content disposition to inline
when inline param is false
sets content disposition to attachment
with a snippet without a repository
behaves like raw snippet without repository
when authorized
returns a 422
when unauthorized
behaves like returning response status
returns redirect
# [RSpecRunTime] Finishing example group spec/controllers/snippets/blobs_controller_spec.rb. It took 6.41 seconds. Expected to take 6.3 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/sidekiq_metrics_spec.rb. Expected to take 6.14 seconds.
API::SidekiqMetrics
GET sidekiq/*
behaves like GET request permissions for admin mode
behaves like when admin
behaves like makes request
returns
behaves like makes request
returns
behaves like when user
returns
behaves like makes request
returns
behaves like GET request permissions for admin mode
behaves like when admin
behaves like makes request
returns
behaves like makes request
returns
behaves like when user
returns
behaves like makes request
returns
behaves like GET request permissions for admin mode
behaves like when admin
behaves like makes request
returns
behaves like makes request
returns
behaves like when user
returns
behaves like makes request
returns
# [RSpecRunTime] RSpec elapsed time: 25 minutes 46.02 seconds. Current RSS: ~1954M. load average: 1.21 1.18 1.10 1/292 4426
behaves like GET request permissions for admin mode
behaves like when admin
behaves like makes request
returns
behaves like makes request
returns
behaves like when user
returns
behaves like makes request
returns
with multiple Sidekiq Redis
behaves like GET sidekiq metrics
defines the `queue_metrics` endpoint
defines the `process_metrics` endpoint
defines the `job_stats` endpoint
defines the `compound_metrics` endpoint
# [RSpecRunTime] RSpec elapsed time: 25 minutes 48.56 seconds. Current RSS: ~1932M. load average: 1.21 1.18 1.10 1/292 4427
behaves like GET sidekiq metrics
defines the `queue_metrics` endpoint
defines the `process_metrics` endpoint
defines the `job_stats` endpoint
defines the `compound_metrics` endpoint
# [RSpecRunTime] Finishing example group spec/requests/api/sidekiq_metrics_spec.rb. It took 6.92 seconds. Expected to take 6.14 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/issues/set_due_date_spec.rb. Expected to take 5.7 seconds.
Setting Due Date of an issue
returns an error if the user is not allowed to update the issue
when due date value is a valid date
updates the issue due date
# [RSpecRunTime] RSpec elapsed time: 25 minutes 52.1 seconds. Current RSS: ~1888M. load average: 1.20 1.18 1.10 1/291 4428
when due date value is null
updates the issue to remove the due date
# [RSpecRunTime] RSpec elapsed time: 25 minutes 53.31 seconds. Current RSS: ~1883M. load average: 1.20 1.18 1.10 1/287 4429
when due date argument is not given
returns an error
# [RSpecRunTime] RSpec elapsed time: 25 minutes 54.43 seconds. Current RSS: ~1871M. load average: 1.20 1.18 1.10 1/287 4430
when the due date value is not a valid time
returns a coercion error
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/issues/set_due_date_spec.rb. It took 5.78 seconds. Expected to take 5.7 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/ci/project_variables_spec.rb. Expected to take 5.31 seconds.
Query.project(fullPath).ciVariables
when the user can administer builds
returns the project's CI variables
sets the value to null if the variable is hidden
when feature flag `ci_hidden_variables is disabled`
returns the value even it it is hidden
# [RSpecRunTime] RSpec elapsed time: 25 minutes 57.27 seconds. Current RSS: ~1843M. load average: 1.18 1.18 1.10 1/287 4431
when the user cannot administer builds
returns nothing
sorting and pagination
behaves like sorted paginated variables
when sorted by key ascending
behaves like sorted paginated query
behaves like requires variables
shared example requires variables to be set
when sorting
sorts correctly
when paginating
paginates correctly
# [RSpecRunTime] RSpec elapsed time: 25 minutes 59.04 seconds. Current RSS: ~1851M. load average: 1.18 1.18 1.10 1/287 4432
when sorted by key descending
behaves like sorted paginated query
behaves like requires variables
shared example requires variables to be set
when sorting
sorts correctly
when paginating
paginates correctly
# [RSpecRunTime] RSpec elapsed time: 26 minutes 0.45 second. Current RSS: ~1853M. load average: 1.17 1.17 1.10 1/287 4433
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/ci/project_variables_spec.rb. It took 5.2 seconds. Expected to take 5.31 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/members/groups/bulk_update_spec.rb. Expected to take 5.16 seconds.
GroupMemberBulkUpdate
behaves like members bulk update mutation
when user is not logged-in
behaves like a mutation that returns a top-level access error
is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"
# [RSpecRunTime] RSpec elapsed time: 26 minutes 1.9 seconds. Current RSS: ~1833M. load average: 1.17 1.17 1.10 1/287 4434
when user is not an owner
behaves like a mutation that returns a top-level access error
is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"
when user is an owner
behaves like updates the user access role
is expected to all equal 10
# [RSpecRunTime] RSpec elapsed time: 26 minutes 3.59 seconds. Current RSS: ~1837M. load average: 1.17 1.17 1.10 1/287 4435
when inherited members are passed
does not update the members
when members count is more than the allowed limit
does not update the members
when the update service raises access denied error
does not update the members
when the update service returns an error message
will pass through the error
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/members/groups/bulk_update_spec.rb. It took 5.3 seconds. Expected to take 5.16 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/ci/group_variables_spec.rb. Expected to take 5.01 seconds.
Query.group(fullPath).ciVariables
when the user can administer the group
returns the group's CI variables
sets the value to null if the variable is hidden
when feature flag `ci_hidden_variables is disabled`
returns the value even if it is hidden
# [RSpecRunTime] RSpec elapsed time: 26 minutes 7.49 seconds. Current RSS: ~1840M. load average: 1.15 1.17 1.10 1/287 4436
when the user cannot administer the group
returns nothing
sorting and pagination
behaves like sorted paginated variables
when sorted by key ascending
behaves like sorted paginated query
behaves like requires variables
shared example requires variables to be set
when sorting
sorts correctly
when paginating
paginates correctly
# [RSpecRunTime] RSpec elapsed time: 26 minutes 9.46 seconds. Current RSS: ~1846M. load average: 1.15 1.17 1.10 1/287 4437
when sorted by key descending
behaves like sorted paginated query
behaves like requires variables
shared example requires variables to be set
when sorting
sorts correctly
when paginating
paginates correctly
# [RSpecRunTime] RSpec elapsed time: 26 minutes 10.88 seconds. Current RSS: ~1850M. load average: 1.14 1.17 1.10 1/287 4438
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/ci/group_variables_spec.rb. It took 5.13 seconds. Expected to take 5.01 seconds.
# [RSpecRunTime] Starting example group spec/controllers/projects/ci/daily_build_group_report_results_controller_spec.rb. Expected to take 4.54 seconds.
Projects::Ci::DailyBuildGroupReportResultsController
GET index
when format is JSON
behaves like JSON results
serves the results in JSON
when given date range spans more than 90 days
limits the result to 90 days from the given start_date
# [RSpecRunTime] RSpec elapsed time: 26 minutes 14.29 seconds. Current RSS: ~1844M. load average: 1.14 1.17 1.10 1/287 4445
behaves like validating param_type
when given param_type is invalid
responds with 422 error
behaves like ensuring policy
when user is not allowed to read build report results
responds with 404 error
when format is CSV
behaves like CSV results
serves the results in CSV
when given date range spans more than 90 days
limits the result to 90 days from the given start_date
behaves like validating param_type
when given param_type is invalid
responds with 422 error
behaves like ensuring policy
when user is not allowed to read build report results
responds with 404 error
# [RSpecRunTime] Finishing example group spec/controllers/projects/ci/daily_build_group_report_results_controller_spec.rb. It took 4.6 seconds. Expected to take 4.54 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/work_items/delete_spec.rb. Expected to take 4.47 seconds.
Delete a work item
when the user is not allowed to delete a work item
behaves like a mutation that returns a top-level access error
is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"
# [RSpecRunTime] RSpec elapsed time: 26 minutes 17.09 seconds. Current RSS: ~1835M. load average: 1.13 1.17 1.10 1/287 4446
when user has permissions to delete a work item
deletes the work item
when group owner can delete a work item even if not the author
deletes the group-level work item
# [RSpecRunTime] RSpec elapsed time: 26 minutes 19.77 seconds. Current RSS: ~1827M. load average: 1.12 1.16 1.10 1/287 4447
when an error is produced when trying to delete the work item
returns an error message
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/work_items/delete_spec.rb. It took 4.68 seconds. Expected to take 4.47 seconds.
# [RSpecRunTime] Starting example group spec/controllers/confirmations_controller_spec.rb. Expected to take 4.03 seconds.
ConfirmationsController
#show
user is already confirmed
renders `new`
displays an error message
does not display the email of the user
sets the username and caller_id in the context
# [RSpecRunTime] RSpec elapsed time: 26 minutes 21.47 seconds. Current RSS: ~1831M. load average: 1.12 1.16 1.10 1/288 4448
user accesses the link after the expiry of confirmation token has passed
renders `new`
displays an error message
does not display the email of the user
sets the username and caller_id in the context
with an invalid confirmation token
renders `new`
displays an error message
sets the the caller_id in the context
#create
when `email_confirmation_setting` is set to `soft`
when reCAPTCHA is disabled
successfully sends password reset when reCAPTCHA is not solved
when reCAPTCHA is enabled
successfully sends password reset when reCAPTCHA is solved
when the reCAPTCHA is not solved
displays an error
sets gon variables
when `email_confirmation_setting` is not set to `soft`
redirects to the users_almost_there path
# [RSpecRunTime] Finishing example group spec/controllers/confirmations_controller_spec.rb. It took 3.89 seconds. Expected to take 4.03 seconds.
# [RSpecRunTime] Starting example group spec/requests/projects/releases_controller_spec.rb. Expected to take 3.99 seconds.
Projects::ReleasesController
GET #downloads
filepath redirection
valid filepath
redirects to the asset direct link
redirects with a status of 302
# [RSpecRunTime] RSpec elapsed time: 26 minutes 26.03 seconds. Current RSS: ~1851M. load average: 1.11 1.16 1.09 1/288 4457
invalid filepath
is not found
sessionless download authentication
will allow sessionless users to download the file
invalid filepath
cannot create an invalid filepath
# [RSpecRunTime] Finishing example group spec/requests/projects/releases_controller_spec.rb. It took 3.83 seconds. Expected to take 3.99 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/ci/pipeline_cancel_spec.rb. Expected to take 3.73 seconds.
PipelineCancel
does not cancel any pipelines not owned by the current user
returns a error if the pipline cannot be be canceled
when running build
when supports canceling is true
transitions all running jobs to canceling
# [RSpecRunTime] RSpec elapsed time: 26 minutes 30.41 seconds. Current RSS: ~1837M. load average: 1.10 1.16 1.09 1/287 4458
when supports canceling is false
cancels all running jobs to canceled
# [RSpecRunTime] RSpec elapsed time: 26 minutes 31.81 seconds. Current RSS: ~1850M. load average: 1.10 1.16 1.09 1/287 4459
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/ci/pipeline_cancel_spec.rb. It took 3.92 seconds. Expected to take 3.73 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/project/merge_request/pipelines_spec.rb. Expected to take 3.63 seconds.
Query.project.mergeRequests.pipelines
.count
produces correct results
is scalable
# [RSpecRunTime] RSpec elapsed time: 26 minutes 34.19 seconds. Current RSS: ~1842M. load average: 1.10 1.16 1.09 1/293 4559
.nodes
produces correct results
is scalable
requests merge_request_diffs at most once
# [RSpecRunTime] RSpec elapsed time: 26 minutes 35.5 seconds. Current RSS: ~1835M. load average: 1.09 1.15 1.09 1/293 4567
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/project/merge_request/pipelines_spec.rb. It took 3.7 seconds. Expected to take 3.63 seconds.
# [RSpecRunTime] Starting example group spec/requests/groups/harbor/tags_controller_spec.rb. Expected to take 3.4 seconds.
Groups::Harbor::TagsController
behaves like a harbor tags controller
GET #index.json
behaves like responds with 200 status with json
renders the index template
with anonymous user
behaves like responds with 404 status
returns 404
with unauthorized user
behaves like responds with 404 status
returns 404
with valid params
with valid repository
behaves like responds with 200 status with json
renders the index template
with valid page
behaves like responds with 200 status with json
renders the index template
with valid limit
behaves like responds with 200 status with json
renders the index template
with invalid params
with invalid page
behaves like responds with 422 status with json
returns 422
with invalid limit
behaves like responds with 422 status with json
returns 422
# [RSpecRunTime] Finishing example group spec/requests/groups/harbor/tags_controller_spec.rb. It took 3.66 seconds. Expected to take 3.4 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/todo_query_spec.rb. Expected to take 3.3 seconds.
Todo Query
when requesting user is todo owner
is expected to include {"id" => "gid://gitlab/Todo/11"}
when todo target is WorkItem
works with a WorkItem target
# [RSpecRunTime] RSpec elapsed time: 26 minutes 41.67 seconds. Current RSS: ~1823M. load average: 1.08 1.15 1.09 1/294 4568
when requesting user is not todo owner
is expected to be nil
when unauthenticated
is expected to be nil
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/todo_query_spec.rb. It took 3.07 seconds. Expected to take 3.3 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/user/user_achievements_query_spec.rb. Expected to take 3.13 seconds.
UserAchievements
can lookahead to eliminate N+1 queries
returns the correct user_achievement count
returns all non_revoked user_achievements
when current user is not a member of the private group
returns no achievements
# [RSpecRunTime] RSpec elapsed time: 26 minutes 44.52 seconds. Current RSS: ~1816M. load average: 1.08 1.15 1.09 1/289 4569
when the achievements feature flag is disabled for a namespace
does not return user_achievements for that namespace
behaves like a working graphql query
returns a successful response
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/user/user_achievements_query_spec.rb. It took 3.03 seconds. Expected to take 3.13 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/project/alert_management/alert/assignees_spec.rb. Expected to take 2.88 seconds.
getting Alert Management Alert Assignees
returns the correct assignees
applies appropriate filters for non-visible users
performance
can limit results
can include all results
avoids N+1 queries
# [RSpecRunTime] RSpec elapsed time: 26 minutes 48.3 seconds. Current RSS: ~1826M. load average: 1.08 1.15 1.09 1/289 4570
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/project/alert_management/alert/assignees_spec.rb. It took 3.03 seconds. Expected to take 2.88 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/branch_rules/create_spec.rb. Expected to take 2.78 seconds.
BranchRuleCreate
when the user can create a branch rules
creates the protected branch
returns the created branch rule
when the branch rule already exist
does not create the protected branch
return an error message
# [RSpecRunTime] RSpec elapsed time: 26 minutes 50.54 seconds. Current RSS: ~1829M. load average: 1.07 1.15 1.09 1/289 4571
when the user does not have permission
does not create the board
behaves like a mutation that returns a top-level access error
is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/branch_rules/create_spec.rb. It took 2.93 seconds. Expected to take 2.78 seconds.
# [RSpecRunTime] Starting example group spec/controllers/projects/security/configuration_controller_spec.rb. Expected to take 2.69 seconds.
Projects::Security::ConfigurationController
GET show
when user has guest access
denies access
when user has developer access
grants access
responds with configuration data json
# [RSpecRunTime] RSpec elapsed time: 26 minutes 53.96 seconds. Current RSS: ~1828M. load average: 1.07 1.15 1.09 1/289 4572
# [RSpecRunTime] Finishing example group spec/controllers/projects/security/configuration_controller_spec.rb. It took 2.73 seconds. Expected to take 2.69 seconds.
# [RSpecRunTime] Starting example group spec/requests/web_ide/remote_ide_controller_spec.rb. Expected to take 2.45 seconds.
WebIde::RemoteIdeController
#index
when feature flag is on *and* user is not using legacy Web IDE
renders the correct layout
renders with minimal: true
renders root element with data
updates the content security policy with the correct connect sources
updates the content security policy with the correct frame sources
# [RSpecRunTime] RSpec elapsed time: 26 minutes 55.38 seconds. Current RSS: ~1829M. load average: 1.06 1.14 1.09 1/289 4573
when remote_host does not have port
updates the content security policy with the correct remote_host
renders remote_host in root element data
when feature flag is off
behaves like 404 response
has not_found status
when the remote host is invalid
behaves like 404 response
has not_found status
# [RSpecRunTime] Finishing example group spec/requests/web_ide/remote_ide_controller_spec.rb. It took 2.15 seconds. Expected to take 2.45 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/ci/job_token_scope/add_project_spec.rb. Expected to take 2.42 seconds.
CiJobTokenScopeAddProject
when unauthorized
when not a maintainer
has graphql errors
# [RSpecRunTime] RSpec elapsed time: 26 minutes 57.61 seconds. Current RSS: ~1824M. load average: 1.06 1.14 1.09 1/289 4574
when authorized
adds the target project to the inbound job token scope
when invalid target project is provided
has mutation errors
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/ci/job_token_scope/add_project_spec.rb. It took 2.48 seconds. Expected to take 2.42 seconds.
# [RSpecRunTime] Starting example group spec/requests/admin/impersonation_tokens_controller_spec.rb. Expected to take 2.31 seconds.
Admin::ImpersonationTokensController
when impersonation is enabled
responds ok
when impersonation is disabled
shows error page for index page
responds with 404 for create action
responds with 404 for revoke action
#create
behaves like #create access token
when POST is successful
renders JSON with a new token
when POST is unsuccessful
renders JSON with an error
# [RSpecRunTime] Finishing example group spec/requests/admin/impersonation_tokens_controller_spec.rb. It took 2.41 seconds. Expected to take 2.31 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/project/error_tracking/sentry_detailed_error_request_spec.rb. Expected to take 2.08 seconds.
getting a detailed sentry error
behaves like a working graphql query
returns a successful response
# [RSpecRunTime] RSpec elapsed time: 27 minutes 2.19 seconds. Current RSS: ~1825M. load average: 1.14 1.16 1.09 1/289 4581
when data is loading via reactive cache
is expected to return an empty error
reactive cache returns data
is expected to return a valid error
is expected to return the frequency correctly
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/project/error_tracking/sentry_detailed_error_request_spec.rb. It took 2.13 seconds. Expected to take 2.08 seconds.
# [RSpecRunTime] Starting example group spec/controllers/projects/runner_projects_controller_spec.rb. Expected to take 2.07 seconds.
Projects::RunnerProjectsController
#destroy
when unassigning runner from project
redirects to the project runners page
# [RSpecRunTime] RSpec elapsed time: 27 minutes 4.73 seconds. Current RSS: ~1819M. load average: 1.13 1.15 1.09 1/289 4582
#create
when assigning runner to another project
redirects to the project runners page
# [RSpecRunTime] Finishing example group spec/controllers/projects/runner_projects_controller_spec.rb. It took 2.3 seconds. Expected to take 2.07 seconds.
# [RSpecRunTime] Starting example group spec/controllers/admin/jobs_controller_spec.rb. Expected to take 1.94 seconds.
Admin::JobsController
GET #index
with an authenticated admin user
paginates builds without a total count
# [RSpecRunTime] RSpec elapsed time: 27 minutes 7.12 seconds. Current RSS: ~1814M. load average: 1.13 1.15 1.09 1/289 4583
without admin access
returns `not_found`
# [RSpecRunTime] Finishing example group spec/controllers/admin/jobs_controller_spec.rb. It took 1.91 seconds. Expected to take 1.94 seconds.
# [RSpecRunTime] Starting example group spec/controllers/projects/error_tracking/projects_controller_spec.rb. Expected to take 1.82 seconds.
Projects::ErrorTracking::ProjectsController
GET #index
with insufficient permissions
returns 404
with an anonymous user
redirects to sign-in page
with authorized user
when service result is successful
returns a list of projects
with service result is erroneous
without http_status
returns 400 with message
with explicit http_status
returns http_status with message
# [RSpecRunTime] Finishing example group spec/controllers/projects/error_tracking/projects_controller_spec.rb. It took 1.86 seconds. Expected to take 1.82 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/ci/catalog/resources/create_spec.rb. Expected to take 1.76 seconds.
CatalogResourcesCreate
when unauthorized
behaves like a mutation that returns a top-level access error
is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"
# [RSpecRunTime] RSpec elapsed time: 27 minutes 10.63 seconds. Current RSS: ~1796M. load average: 1.12 1.15 1.09 1/294 4674
when authorized
with a valid project
creates a catalog resource
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/ci/catalog/resources/create_spec.rb. It took 1.86 seconds. Expected to take 1.76 seconds.
# [RSpecRunTime] Starting example group spec/controllers/profiles/slacks_controller_spec.rb. Expected to take 1.61 seconds.
Profiles::SlacksController
GET edit
renders
assigns projects
assigns disabled_projects
GET slack_link
when user is not a maintainer of the project
renders 404
when user is a maintainer of the project
renders slack link
# [RSpecRunTime] Finishing example group spec/controllers/profiles/slacks_controller_spec.rb. It took 1.66 seconds. Expected to take 1.61 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/dependency_proxy/image_ttl_group_policy/update_spec.rb. Expected to take 1.6 seconds.
Updating the dependency proxy image ttl policy
post graphql mutation
without permission
returns no response
with permission
for owner
returns the updated dependency proxy image ttl policy
for maintainer
returns the updated dependency proxy image ttl policy
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/dependency_proxy/image_ttl_group_policy/update_spec.rb. It took 1.52 seconds. Expected to take 1.6 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/admin/abuse_report_labels/create_spec.rb. Expected to take 1.37 seconds.
Mutations::Admin::AbuseReportLabels::Create
when the user does not have permission to create a label
does not create the label
behaves like a mutation that returns a top-level access error
is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"
when the user has permission to create a label
creates the label
when there are errors
does not create the label
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/admin/abuse_report_labels/create_spec.rb. It took 1.34 seconds. Expected to take 1.37 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/admin/sidekiq_queues/delete_jobs_spec.rb. Expected to take 1.33 seconds.
Deleting Sidekiq jobs
when the user is not an admin
behaves like a mutation that returns top-level errors
is expected to contain exactly "You must be an admin to use this mutation"
when the user is an admin
when valid request
returns info about the deleted jobs
when no required params are provided
behaves like a mutation that returns errors in the response
is expected to contain exactly "No metadata provided"
when the queue does not exist
behaves like a mutation that returns top-level errors
is expected to contain exactly "Queue authorized_projects_2 not found"
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/admin/sidekiq_queues/delete_jobs_spec.rb. It took 1.33 seconds. Expected to take 1.33 seconds.
# [RSpecRunTime] Starting example group spec/requests/api/graphql/user/group_member_query_spec.rb. Expected to take 1.21 seconds.
GroupMember
behaves like a working graphql query
returns a successful response
behaves like a working membership object query
contains edge to expected project
contains correct access level
# [RSpecRunTime] Finishing example group spec/requests/api/graphql/user/group_member_query_spec.rb. It took 1.16 seconds. Expected to take 1.21 seconds.
# [RSpecRunTime] Starting example group spec/requests/admin/version_check_controller_spec.rb. Expected to take 1.18 seconds.
Admin::VersionCheckController
GET #version_check
when VersionCheck.response is nil
returns nil
sets no-cache headers
when VersionCheck.response is valid
returns the valid data
sets proper cache headers
# [RSpecRunTime] Finishing example group spec/requests/admin/version_check_controller_spec.rb. It took 1.16 seconds. Expected to take 1.18 seconds.
# [RSpecRunTime] Starting example group spec/controllers/projects/pipelines_settings_controller_spec.rb. Expected to take 0.96 second.
Projects::PipelinesSettingsController
GET show
redirects with 302 status code
# [RSpecRunTime] Finishing example group spec/controllers/projects/pipelines_settings_controller_spec.rb. It took 0.93 second. Expected to take 0.96 second.
# [RSpecRunTime] Starting example group spec/controllers/projects/packages/packages_controller_spec.rb. Expected to take 0.9 second.
Projects::Packages::PackagesController
GET #index
behaves like returning response status
returns ok
GET #show
behaves like returning response status
returns ok
# [RSpecRunTime] Finishing example group spec/controllers/projects/packages/packages_controller_spec.rb. It took 0.87 second. Expected to take 0.9 second.
# [RSpecRunTime] Starting example group spec/mailers/email_rejection_mailer_spec.rb. Expected to take 0.64 second.
EmailRejectionMailer
#rejection
behaves like appearance header and footer enabled
contains header and footer
behaves like appearance header and footer not enabled
does not contain header and footer
# [RSpecRunTime] Finishing example group spec/mailers/email_rejection_mailer_spec.rb. It took 0.68 second. Expected to take 0.64 second.
# [RSpecRunTime] Starting example group spec/requests/jira_connect/oauth_callbacks_controller_spec.rb. Expected to take 0.53 second.
JiraConnect::OauthCallbacksController
GET /-/jira_connect/oauth_callbacks
when logged in
renders a page prompting the user to close the window
# [RSpecRunTime] Finishing example group spec/requests/jira_connect/oauth_callbacks_controller_spec.rb. It took 0.43 second. Expected to take 0.53 second.
# [RSpecRunTime] Starting example group spec/controllers/concerns/issuable_actions_spec.rb. Expected to take 0.34 second.
IssuableActions
#discussions
instantiates and calls NotesFinder as expected
# [RSpecRunTime] Finishing example group spec/controllers/concerns/issuable_actions_spec.rb. It took 0.31 second. Expected to take 0.34 second.
auto_explain log contains 1420 entries for main, writing to /builds/gitlab-org/gitlab/auto_explain/rspec-integration-pg14-4-16.341.main.ndjson.gz
took 37.648427275
auto_explain log contains 1422 entries for ci, writing to /builds/gitlab-org/gitlab/auto_explain/rspec-integration-pg14-4-16.341.ci.ndjson.gz
took 35.683641043
[TEST PROF INFO] EventProf results for sql.active_record
Total time: 06:31.558 of 27:15.787 (23.94%)
Total events: 271281
Top 5 slowest suites (by time):
API::NpmInstancePackages (./spec/requests/api/npm_instance_packages_spec.rb:5) – 03:46.468 (152162 / 1799) of 14:43.043 (25.65%)
API::Tags (./spec/requests/api/tags_spec.rb:5) – 00:16.869 (13037 / 68) of 01:16.415 (22.08%)
SentNotificationsController (./spec/controllers/sent_notifications_controller_spec.rb:5) – 00:15.845 (11602 / 55) of 00:57.478 (27.57%)
API::Files (./spec/requests/api/files_spec.rb:5) – 00:14.202 (11254 / 184) of 01:12.824 (19.5%)
HealthController (./spec/requests/health_controller_spec.rb:5) – 00:12.000 (1232 / 58) of 00:34.745 (34.54%)
Knapsack report was generated. Preview:
{
"spec/requests/api/npm_instance_packages_spec.rb": 883.042550092,
"spec/requests/api/tags_spec.rb": 76.41549350200057,
"spec/requests/api/files_spec.rb": 72.82400001399947,
"spec/controllers/sent_notifications_controller_spec.rb": 57.47824282900001,
"spec/requests/api/graphql/ci/runner_spec.rb": 42.07980549399963,
"spec/controllers/admin/users_controller_spec.rb": 38.29815919500015,
"spec/requests/health_controller_spec.rb": 34.745205962,
"spec/requests/api/graphql/mutations/notes/create/diff_note_spec.rb": 30.965154268000333,
"spec/controllers/groups/group_members_controller_spec.rb": 27.28193341899987,
"spec/controllers/ldap/omniauth_callbacks_controller_spec.rb": 28.09048737499961,
"spec/controllers/projects/mirrors_controller_spec.rb": 22.054247198999292,
"spec/requests/api/go_proxy_spec.rb": 21.180651675000263,
"spec/requests/api/graphql/organizations/organization_query_spec.rb": 21.951548961999833,
"spec/requests/api/graphql/project/releases_spec.rb": 19.60098475400082,
"spec/requests/api/admin/instance_clusters_spec.rb": 17.14728598900001,
"spec/controllers/projects/refs_controller_spec.rb": 14.643208789999335,
"spec/requests/api/task_completion_status_spec.rb": 15.132509328999731,
"spec/controllers/projects/pages_controller_spec.rb": 13.748686531999738,
"spec/requests/lfs_locks_api_spec.rb": 12.42109050199997,
"spec/commands/metrics_server/metrics_server_spec.rb": 11.604847845999757,
"spec/requests/api/ci/secure_files_spec.rb": 10.887836148000133,
"spec/mailers/emails/pages_domains_spec.rb": 10.357259563999833,
"spec/controllers/concerns/product_analytics_tracking_spec.rb": 9.384455614000217,
"spec/mailers/devise_mailer_spec.rb": 8.748788763999983,
"spec/controllers/projects/todos_controller_spec.rb": 7.151315291999708,
"spec/requests/api/markdown_spec.rb": 7.999763025999528,
"spec/controllers/projects/runners_controller_spec.rb": 7.123349593000057,
"spec/requests/api/graphql/mutations/projects/sync_fork_spec.rb": 7.060055566000301,
"spec/controllers/snippets/blobs_controller_spec.rb": 6.406804784999622,
"spec/requests/api/sidekiq_metrics_spec.rb": 6.918436129000838,
"spec/requests/api/graphql/mutations/issues/set_due_date_spec.rb": 5.779767923999316,
"spec/requests/api/graphql/ci/project_variables_spec.rb": 5.203860272000384,
"spec/requests/api/graphql/mutations/members/groups/bulk_update_spec.rb": 5.298512958999709,
"spec/requests/api/graphql/ci/group_variables_spec.rb": 5.131876693999402,
"spec/controllers/projects/ci/daily_build_group_report_results_controller_spec.rb": 4.595678990000124,
"spec/requests/api/graphql/mutations/work_items/delete_spec.rb": 4.682314217999192,
"spec/controllers/confirmations_controller_spec.rb": 3.8943961810000474,
"spec/requests/projects/releases_controller_spec.rb": 3.829333864000546,
"spec/requests/api/graphql/mutations/ci/pipeline_cancel_spec.rb": 3.917575921000207,
"spec/requests/api/graphql/project/merge_request/pipelines_spec.rb": 3.698669456999596,
"spec/requests/groups/harbor/tags_controller_spec.rb": 3.658039108000594,
"spec/requests/api/graphql/todo_query_spec.rb": 3.0723850360000142,
"spec/requests/api/graphql/user/user_achievements_query_spec.rb": 3.0246469679996153,
"spec/requests/api/graphql/project/alert_management/alert/assignees_spec.rb": 3.0283653680007774,
"spec/requests/api/graphql/mutations/branch_rules/create_spec.rb": 2.925585060999765,
"spec/controllers/projects/security/configuration_controller_spec.rb": 2.732881627000097,
"spec/requests/web_ide/remote_ide_controller_spec.rb": 2.145213554000293,
"spec/requests/api/graphql/mutations/ci/job_token_scope/add_project_spec.rb": 2.47873715500009,
"spec/requests/admin/impersonation_tokens_controller_spec.rb": 2.413070915999924,
"spec/requests/api/graphql/project/error_tracking/sentry_detailed_error_request_spec.rb": 2.128718965999724,
"spec/controllers/projects/runner_projects_controller_spec.rb": 2.3001717990000543,
"spec/controllers/admin/jobs_controller_spec.rb": 1.910274900999866,
"spec/controllers/projects/error_tracking/projects_controller_spec.rb": 1.8604540830001497,
"spec/requests/api/graphql/mutations/ci/catalog/resources/create_spec.rb": 1.8588043130002916,
"spec/controllers/profiles/slacks_controller_spec.rb": 1.6561798290003935,
"spec/requests/api/graphql/mutations/dependency_proxy/image_ttl_group_policy/update_spec.rb": 1.5163965229994574,
"spec/requests/api/graphql/mutations/admin/abuse_report_labels/create_spec.rb": 1.3444577890004439,
"spec/requests/api/graphql/mutations/admin/sidekiq_queues/delete_jobs_spec.rb": 1.3305176099993332,
"spec/requests/api/graphql/user/group_member_query_spec.rb": 1.1626680549998127,
"spec/requests/admin/version_check_controller_spec.rb": 1.1580674139995608,
"spec/controllers/projects/pipelines_settings_controller_spec.rb": 0.9306603019995237,
"spec/controllers/projects/packages/packages_controller_spec.rb": 0.8715381929996511,
"spec/mailers/email_rejection_mailer_spec.rb": 0.6788132199999382,
"spec/requests/jira_connect/oauth_callbacks_controller_spec.rb": 0.43263164600011805,
"spec/controllers/concerns/issuable_actions_spec.rb": 0.3054343509993487
}
Knapsack global time execution for tests: 27m 15s
Pending: (Failures listed here are expected and do not affect your suite's status)
1) HealthController GET /-/readiness behaves like Base action controller security headers Cross-Security-Policy when configuring vite when vite enabled during development adds vite csp
# https://gitlab.com/gitlab-org/gitlab/-/issues/424334
# ./spec/support/shared_examples/controllers/base_action_controller_shared_examples.rb:64
Finished in 28 minutes 36 seconds (files took 1 minute 14.52 seconds to load)
3105 examples, 0 failures, 1 pending
Randomized with seed 59895
[TEST PROF INFO] Time spent in factories: 04:29.139 (15.58% of total time)
RSpec exited with 0.
No examples to retry, congrats!
Running after_script
Running after script...
$ source scripts/utils.sh
$ bundle exec gem list gitlab_quality-test_tooling
gitlab_quality-test_tooling (1.21.1)
$ $ section_start "relate-failure-issue" "Report test failures" # collapsed multi-line command[0;m
Report test failures
$ $ section_start "flaky-test-issues" "Report test flakiness" # collapsed multi-line command[0;m
Report test flakiness
$ $ section_start "slow-test-issues" "Report test slowness" # collapsed multi-line command[0;m
Report test slowness
$ $ section_start "slow-test-merge-request-report-note" "Report test slowness in MR note" # collapsed multi-line command[0;m
Report test slowness in MR note
$ $ section_start "knapsack-report-issues" "Report test files close to timing out" # collapsed multi-line command[0;m
Report test files close to timing out
$ tooling/bin/push_job_metrics || true
[job-metrics] Pushing job metrics file for the CI/CD job.
[job-metrics] Pushed 4 CI job metric entries to InfluxDB.
Saving cache for successful job
Not uploading cache ruby-gems-debian-bookworm-ruby-3.1-17 due to policy
Uploading artifacts for successful job
Uploading artifacts...
auto_explain/: found 3 matching artifact files and directories
coverage/: found 5 matching artifact files and directories
crystalball/: found 2 matching artifact files and directories
WARNING: deprecations/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab)
knapsack/: found 4 matching artifact files and directories
rspec/: found 16 matching artifact files and directories
WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab)
log/*.log: found 16 matching artifact files and directories
WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/6597627973/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com
WARNING: Retrying... context=artifacts-uploader error=request redirected
Uploading artifacts as "archive" to coordinator... 201 Created id=6597627973 responseStatus=201 Created token=glcbt-65
Uploading artifacts...
rspec/rspec-*.xml: found 1 matching artifact files and directories
WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/6597627973/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com
WARNING: Retrying... context=artifacts-uploader error=request redirected
Uploading artifacts as "junit" to coordinator... 201 Created id=6597627973 responseStatus=201 Created token=glcbt-65
Cleaning up project directory and file based variables
Job succeeded