There was an error fetching the job.
rspec-ee integration pg13 single-db-ci-connection 3/6
Passed Started
by
@gitlab-bot

🤖 GitLab Bot 🤖
1Running with gitlab-runner 15.9.0~beta.115.g598a7c91 (598a7c91)2 on green-2.shared-gitlab-org.runners-manager.gitlab.com/default 8zCxmpPt, system ID: s_130a96ce9e653 feature flags: FF_NETWORK_PER_BUILD:true, FF_USE_FASTZIP:true, FF_USE_IMPROVED_URL_MASKING:true6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.18-rust-1.65-node-16.14-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-109-yarn-1.22-graphicsmagick-1.3.36 ...7Starting service postgres:13 ...8Pulling docker image postgres:13 ...9Using docker image sha256:dd421ca1f7f13d81c5c145d77d97d8d84cd0e6f1e045936ee506ce0f50ee397a for postgres:13 with digest postgres@sha256:00f455399f30cc3f2fe4185476601438b7a4959c74653665582d7c313a783d51 ...10Starting service redis:6.2-alpine ...11Pulling docker image redis:6.2-alpine ...12Using docker image sha256:3616f0c0705d2a35d30dde109daf3cbe58ae7284121aafa6f5cfa987db98d1a8 for redis:6.2-alpine with digest redis@sha256:edddbcad5a41d58df2f142d68439922f1860ea902903d016257337c3342f30fc ...13Starting service elasticsearch:7.17.6 ...14Pulling docker image elasticsearch:7.17.6 ...15Using docker image sha256:5fad10241ffd65d817ed0ddfaf6e87eee1f7dc2a7db33db1047835560ea71fda for elasticsearch:7.17.6 with digest elasticsearch@sha256:6c128de5d01c0c130a806022d6bd99b3e4c27a9af5bfc33b6b81861ae117d028 ...16Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 ...17Authenticating with credentials from job payload (GitLab Registry)18Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 ...19Using docker image sha256:4777ec1fa89def7d692d4979d05cb05234df25da1c6a3f67a564a433ec5ba1c8 for registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:80c0cee4566aefe4f1f287e1091263e08b0ebc41ed3dc4e76930df3634ccb9aa ...20Waiting for services to be up and running (timeout 30 seconds)...21Authenticating with credentials from job payload (GitLab Registry)22Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.18-rust-1.65-node-16.14-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-109-yarn-1.22-graphicsmagick-1.3.36 ...23Using docker image sha256:7a1b51158a1ee23b080b514ce6ebbf52ac51585877198fb52709e5cd01805a77 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.18-rust-1.65-node-16.14-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-109-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.18-rust-1.65-node-16.14-postgresql-13@sha256:412d55913d43377094427ced549cb422ed2f2c7223e6a605d0d3e0151cb892b0 ...25Running on runner-8zcxmppt-project-278964-concurrent-0 via runner-8zcxmppt-shared-gitlab-org-1680167023-2f264eab...27$ eval "$CI_PRE_CLONE_SCRIPT"28Fetching changes with git depth set to 20...29Initialized empty Git repository in /builds/gitlab-org/gitlab/.git/30Created fresh repository.31remote: Enumerating objects: 135903, done. 32remote: Counting objects: 100% (135903/135903), done. 33remote: Compressing objects: 100% (88560/88560), done. 34remote: Total 135903 (delta 58315), reused 94618 (delta 42152), pack-reused 0 35Receiving objects: 100% (135903/135903), 121.35 MiB | 31.99 MiB/s, done.36Resolving deltas: 100% (58315/58315), done.38 * [new ref] refs/pipelines/822866544 -> refs/pipelines/82286654439Checking out 523abdde as detached HEAD (ref is refs/merge-requests/116270/merge)...40Skipping Git submodules setup41$ git remote set-url origin "${CI_REPOSITORY_URL}"43Checking cache for ruby-gems-debian-bullseye-ruby-3.0-16...44cache.zip is up to date 45Successfully extracted cache46Checking cache for gitaly-ruby-gems-debian-bullseye-ruby-3.0-16...47cache.zip is up to date 48Successfully extracted cache50Downloading artifacts for compile-test-assets (4031138198)...51Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4031138198 responseStatus=200 OK token=64_hjqvj52Downloading artifacts for detect-tests (4031138213)...53Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4031138213 responseStatus=200 OK token=64_hjqvj54Downloading artifacts for retrieve-tests-metadata (4031138217)...55Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4031138217 responseStatus=200 OK token=64_hjqvj56Downloading artifacts for setup-test-env (4031138204)...57Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4031138204 responseStatus=200 OK token=64_hjqvj59Using docker image sha256:7a1b51158a1ee23b080b514ce6ebbf52ac51585877198fb52709e5cd01805a77 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.18-rust-1.65-node-16.14-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-109-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.18-rust-1.65-node-16.14-postgresql-13@sha256:412d55913d43377094427ced549cb422ed2f2c7223e6a605d0d3e0151cb892b0 ...60$ echo $FOSS_ONLY61$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb62$ export GOPATH=$CI_PROJECT_DIR/.go63$ mkdir -p $GOPATH64$ source scripts/utils.sh65$ source scripts/prepare_build.sh716Using decomposed database config (config/database.yml.postgresql)717Enabling ci connection (database_tasks: false) in config/database.yml718Geo DB will be set up.719$ setup_db_user_only720CREATE ROLE721GRANT722==> 'setup_db_user_only' succeeded in 0 seconds.723$ bundle exec rake db:drop db:create db:schema:load db:migrate gitlab:db:lock_writes724Dropped database 'gitlabhq_test'725Dropped database 'gitlabhq_geo_test'726Created database 'gitlabhq_test'727Created database 'gitlabhq_geo_test'728==> 'bundle exec rake db:drop db:create db:schema:load db:migrate gitlab:db:lock_writes' succeeded in 38 seconds.729$ setup_db_praefect730SELECT pg_catalog.set_config('search_path', '', false);731CREATE DATABASE praefect_test ENCODING 'UTF8';732==> 'setup_db_praefect' succeeded in 0 seconds.733$ source ./scripts/rspec_helpers.sh734$ run_timed_command "gem install knapsack --no-document"735$ gem install knapsack --no-document736Successfully installed knapsack-4.0.07371 gem installed738$ echo -e "\e[0Ksection_start:`date +%s`:gitaly-test-spawn[collapsed=true]\r\e[0KStarting Gitaly"739==> 'gem install knapsack --no-document' succeeded in 0 seconds.843$ rspec_paralellized_job "--tag ~quarantine --tag ~level:background_migration"844SKIP_FLAKY_TESTS_AUTOMATICALLY: false845RETRY_FAILED_TESTS_IN_NEW_PROCESS: true846KNAPSACK_GENERATE_REPORT: true847FLAKY_RSPEC_GENERATE_REPORT: true848KNAPSACK_TEST_FILE_PATTERN: {ee/}spec/{commands,controllers,mailers,requests}{,/**/}*_spec.rb849KNAPSACK_LOG_LEVEL: debug850KNAPSACK_REPORT_PATH: knapsack/rspec-ee_integration_pg13_single-db-ci-connection_3_6_report.json851FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json852FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec-ee_integration_pg13_single-db-ci-connection_3_6_report.json853NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec-ee_integration_pg13_single-db-ci-connection_3_6_report.json854SKIPPED_FLAKY_TESTS_REPORT_PATH: rspec/flaky/skipped_flaky_tests_rspec-ee_integration_pg13_single-db-ci-connection_3_6_report.txt855CRYSTALBALL: 856Knapsack node specs:857ee/spec/requests/api/visual_review_discussions_spec.rb858ee/spec/requests/api/graphql/geo/registries_spec.rb859ee/spec/requests/git_http_geo_spec.rb860ee/spec/requests/api/merge_request_approval_rules_spec.rb861ee/spec/requests/api/wikis_spec.rb862ee/spec/controllers/projects/licenses_controller_spec.rb863ee/spec/requests/projects/merge_requests_controller_spec.rb864ee/spec/requests/api/merge_request_approvals_spec.rb865ee/spec/requests/api/related_epic_links_spec.rb866ee/spec/requests/groups_controller_spec.rb867ee/spec/requests/api/graphql/project/requirements_management/requirements_spec.rb868ee/spec/requests/api/group_push_rule_spec.rb869ee/spec/requests/api/graphql/project/sbom/dependencies_spec.rb870ee/spec/controllers/projects/settings/operations_controller_spec.rb871ee/spec/controllers/groups/audit_events_controller_spec.rb872ee/spec/controllers/trials_controller_spec.rb873ee/spec/requests/api/internal/kubernetes_spec.rb874ee/spec/controllers/projects/audit_events_controller_spec.rb875ee/spec/requests/api/epic_issues_spec.rb876ee/spec/requests/api/graphql/ci/runner_spec.rb877ee/spec/controllers/projects/integrations/jira/issues_controller_spec.rb878ee/spec/requests/api/group_repository_storage_moves_spec.rb879ee/spec/requests/api/graphql/vulnerabilities/sort_spec.rb880ee/spec/requests/api/project_aliases_spec.rb881ee/spec/requests/smartcard_controller_spec.rb882ee/spec/requests/projects/settings/access_tokens_controller_spec.rb883ee/spec/controllers/groups/analytics/productivity_analytics_controller_spec.rb884ee/spec/requests/repositories/git_http_controller_spec.rb885ee/spec/requests/api/dependencies_spec.rb886ee/spec/controllers/projects/security/sast_configuration_controller_spec.rb887ee/spec/controllers/groups/security/policies_controller_spec.rb888ee/spec/requests/api/dependency_list_exports_spec.rb889ee/spec/requests/api/graphql/mutations/iterations/update_spec.rb890ee/spec/requests/api/group_variables_spec.rb891ee/spec/controllers/projects/security/api_fuzzing_configuration_controller_spec.rb892ee/spec/requests/api/graphql/project/branch_protections/merge_access_levels_spec.rb893ee/spec/requests/api/protected_tags_spec.rb894ee/spec/requests/api/graphql/mutations/dast_on_demand_scans/create_spec.rb895ee/spec/mailers/ee/emails/admin_notification_spec.rb896ee/spec/requests/api/audit_events_spec.rb897ee/spec/controllers/projects/quality/test_cases_controller_spec.rb898ee/spec/requests/api/graphql/project/alert_management/http_integrations_spec.rb899ee/spec/controllers/projects/insights_controller_spec.rb900ee/spec/mailers/emails/requirements_spec.rb901ee/spec/controllers/projects/environments_controller_spec.rb902ee/spec/requests/api/graphql/mutations/alert_management/http_integration/create_spec.rb903ee/spec/requests/api/graphql/mutations/dast_site_validations/revoke_spec.rb904ee/spec/requests/api/graphql/project/pipelines/dast_profile_spec.rb905ee/spec/requests/api/graphql/mutations/security_policy/assign_security_policy_project_spec.rb906ee/spec/requests/api/remote_mirrors_spec.rb907ee/spec/requests/api/files_spec.rb908ee/spec/requests/api/graphql/mutations/epics/create_spec.rb909ee/spec/requests/api/graphql/mutations/boards/epics/create_spec.rb910ee/spec/controllers/projects/analytics/merge_request_analytics_controller_spec.rb911ee/spec/requests/api/analytics/product_analytics_spec.rb912ee/spec/requests/api/graphql/audit_events/streaming/headers/destroy_spec.rb913ee/spec/controllers/admin/licenses_controller_spec.rb914ee/spec/requests/groups/clusters_controller_spec.rb915ee/spec/requests/api/graphql/mutations/merge_requests/set_assignees_spec.rb916ee/spec/requests/api/graphql/project/alert_management/integrations_spec.rb917ee/spec/requests/groups/issues_controller_spec.rb918ee/spec/requests/api/graphql/mutations/issues/promote_to_epic_spec.rb919ee/spec/requests/api/internal/upcoming_reconciliations_spec.rb920ee/spec/requests/api/graphql/milestone_spec.rb921ee/spec/requests/api/graphql/audit_events/streaming/event_type_filters/delete_spec.rb922ee/spec/requests/api/graphql/project/branch_rules/external_status_checks_spec.rb923ee/spec/requests/groups/compliance_frameworks_spec.rb924ee/spec/requests/api/graphql/project/push_rules_spec.rb925ee/spec/mailers/credentials_inventory_mailer_spec.rb926ee/spec/controllers/ee/omniauth_callbacks_controller_spec.rb927ee/spec/requests/api/graphql/mutations/epics/set_subscription_spec.rb928ee/spec/requests/api/graphql/project/alert_management/payload_fields_spec.rb929ee/spec/controllers/projects/security/scanned_resources_controller_spec.rb930ee/spec/requests/api/graphql/mutations/analytics/devops_adoption/enabled_namespaces/bulk_enable_spec.rb931ee/spec/requests/api/conan_project_packages_spec.rb932ee/spec/requests/api/integrations/slack/events_spec.rb933ee/spec/requests/api/graphql/project/incident_management/oncall_participants_spec.rb934ee/spec/requests/api/graphql/ci/runners_spec.rb935ee/spec/requests/api/graphql/current_user/todos_query_spec.rb936ee/spec/requests/ee/application_controller_spec.rb937ee/spec/requests/api/graphql/mutations/boards/epic_boards/destroy_spec.rb938ee/spec/controllers/admin/elasticsearch_controller_spec.rb939ee/spec/requests/admin/geo/nodes_controller_spec.rb940ee/spec/requests/customers_dot/proxy_controller_spec.rb941ee/spec/requests/api/ci/pipelines_spec.rb942ee/spec/requests/api/ci/runner/jobs_trace_spec.rb943ee/spec/requests/api/graphql/vulnerabilities/primary_identifier_spec.rb944ee/spec/requests/api/graphql/mutations/work_items/convert_spec.rb945ee/spec/requests/ee/projects/repositories_controller_spec.rb946ee/spec/requests/api/graphql/project/security_orchestration/scan_result_policy_spec.rb947ee/spec/requests/api/npm_project_packages_spec.rb948ee/spec/requests/api/graphql/project/path_locks_spec.rb949ee/spec/controllers/ee/sent_notifications_controller_spec.rb950ee/spec/requests/api/graphql/mutations/boards/epic_boards/update_spec.rb951ee/spec/mailers/emails/namespace_storage_usage_mailer_spec.rb952ee/spec/requests/api/features_spec.rb953ee/spec/controllers/countries_controller_spec.rb954ee/spec/controllers/concerns/gitlab_subscriptions/seat_count_alert_spec.rb955ee/spec/controllers/profiles/billings_controller_spec.rb956ee/spec/controllers/admin/groups_controller_spec.rb957ee/spec/requests/api/graphql/mutations/incident_management/oncall_schedule/destroy_spec.rb958ee/spec/mailers/devise_mailer_spec.rb959ee/spec/controllers/sitemap_controller_spec.rb960ee/spec/mailers/emails/epics_spec.rb961Filter specs:962Running specs:963Running all node tests without filter964ee/spec/requests/api/visual_review_discussions_spec.rb965ee/spec/requests/api/graphql/geo/registries_spec.rb966ee/spec/requests/git_http_geo_spec.rb967ee/spec/requests/api/merge_request_approval_rules_spec.rb968ee/spec/requests/api/wikis_spec.rb969ee/spec/controllers/projects/licenses_controller_spec.rb970ee/spec/requests/projects/merge_requests_controller_spec.rb971ee/spec/requests/api/merge_request_approvals_spec.rb972ee/spec/requests/api/related_epic_links_spec.rb973ee/spec/requests/groups_controller_spec.rb974ee/spec/requests/api/graphql/project/requirements_management/requirements_spec.rb975ee/spec/requests/api/group_push_rule_spec.rb976ee/spec/requests/api/graphql/project/sbom/dependencies_spec.rb977ee/spec/controllers/projects/settings/operations_controller_spec.rb978ee/spec/controllers/groups/audit_events_controller_spec.rb979ee/spec/controllers/trials_controller_spec.rb980ee/spec/requests/api/internal/kubernetes_spec.rb981ee/spec/controllers/projects/audit_events_controller_spec.rb982ee/spec/requests/api/epic_issues_spec.rb983ee/spec/requests/api/graphql/ci/runner_spec.rb984ee/spec/controllers/projects/integrations/jira/issues_controller_spec.rb985ee/spec/requests/api/group_repository_storage_moves_spec.rb986ee/spec/requests/api/graphql/vulnerabilities/sort_spec.rb987ee/spec/requests/api/project_aliases_spec.rb988ee/spec/requests/smartcard_controller_spec.rb989ee/spec/requests/projects/settings/access_tokens_controller_spec.rb990ee/spec/controllers/groups/analytics/productivity_analytics_controller_spec.rb991ee/spec/requests/repositories/git_http_controller_spec.rb992ee/spec/requests/api/dependencies_spec.rb993ee/spec/controllers/projects/security/sast_configuration_controller_spec.rb994ee/spec/controllers/groups/security/policies_controller_spec.rb995ee/spec/requests/api/dependency_list_exports_spec.rb996ee/spec/requests/api/graphql/mutations/iterations/update_spec.rb997ee/spec/requests/api/group_variables_spec.rb998ee/spec/controllers/projects/security/api_fuzzing_configuration_controller_spec.rb999ee/spec/requests/api/graphql/project/branch_protections/merge_access_levels_spec.rb1000ee/spec/requests/api/protected_tags_spec.rb1001ee/spec/requests/api/graphql/mutations/dast_on_demand_scans/create_spec.rb1002ee/spec/mailers/ee/emails/admin_notification_spec.rb1003ee/spec/requests/api/audit_events_spec.rb1004ee/spec/controllers/projects/quality/test_cases_controller_spec.rb1005ee/spec/requests/api/graphql/project/alert_management/http_integrations_spec.rb1006ee/spec/controllers/projects/insights_controller_spec.rb1007ee/spec/mailers/emails/requirements_spec.rb1008ee/spec/controllers/projects/environments_controller_spec.rb1009ee/spec/requests/api/graphql/mutations/alert_management/http_integration/create_spec.rb1010ee/spec/requests/api/graphql/mutations/dast_site_validations/revoke_spec.rb1011ee/spec/requests/api/graphql/project/pipelines/dast_profile_spec.rb1012ee/spec/requests/api/graphql/mutations/security_policy/assign_security_policy_project_spec.rb1013ee/spec/requests/api/remote_mirrors_spec.rb1014ee/spec/requests/api/files_spec.rb1015ee/spec/requests/api/graphql/mutations/epics/create_spec.rb1016ee/spec/requests/api/graphql/mutations/boards/epics/create_spec.rb1017ee/spec/controllers/projects/analytics/merge_request_analytics_controller_spec.rb1018ee/spec/requests/api/analytics/product_analytics_spec.rb1019ee/spec/requests/api/graphql/audit_events/streaming/headers/destroy_spec.rb1020ee/spec/controllers/admin/licenses_controller_spec.rb1021ee/spec/requests/groups/clusters_controller_spec.rb1022ee/spec/requests/api/graphql/mutations/merge_requests/set_assignees_spec.rb1023ee/spec/requests/api/graphql/project/alert_management/integrations_spec.rb1024ee/spec/requests/groups/issues_controller_spec.rb1025ee/spec/requests/api/graphql/mutations/issues/promote_to_epic_spec.rb1026ee/spec/requests/api/internal/upcoming_reconciliations_spec.rb1027ee/spec/requests/api/graphql/milestone_spec.rb1028ee/spec/requests/api/graphql/audit_events/streaming/event_type_filters/delete_spec.rb1029ee/spec/requests/api/graphql/project/branch_rules/external_status_checks_spec.rb1030ee/spec/requests/groups/compliance_frameworks_spec.rb1031ee/spec/requests/api/graphql/project/push_rules_spec.rb1032ee/spec/mailers/credentials_inventory_mailer_spec.rb1033ee/spec/controllers/ee/omniauth_callbacks_controller_spec.rb1034ee/spec/requests/api/graphql/mutations/epics/set_subscription_spec.rb1035ee/spec/requests/api/graphql/project/alert_management/payload_fields_spec.rb1036ee/spec/controllers/projects/security/scanned_resources_controller_spec.rb1037ee/spec/requests/api/graphql/mutations/analytics/devops_adoption/enabled_namespaces/bulk_enable_spec.rb1038ee/spec/requests/api/conan_project_packages_spec.rb1039ee/spec/requests/api/integrations/slack/events_spec.rb1040ee/spec/requests/api/graphql/project/incident_management/oncall_participants_spec.rb1041ee/spec/requests/api/graphql/ci/runners_spec.rb1042ee/spec/requests/api/graphql/current_user/todos_query_spec.rb1043ee/spec/requests/ee/application_controller_spec.rb1044ee/spec/requests/api/graphql/mutations/boards/epic_boards/destroy_spec.rb1045ee/spec/controllers/admin/elasticsearch_controller_spec.rb1046ee/spec/requests/admin/geo/nodes_controller_spec.rb1047ee/spec/requests/customers_dot/proxy_controller_spec.rb1048ee/spec/requests/api/ci/pipelines_spec.rb1049ee/spec/requests/api/ci/runner/jobs_trace_spec.rb1050ee/spec/requests/api/graphql/vulnerabilities/primary_identifier_spec.rb1051ee/spec/requests/api/graphql/mutations/work_items/convert_spec.rb1052ee/spec/requests/ee/projects/repositories_controller_spec.rb1053ee/spec/requests/api/graphql/project/security_orchestration/scan_result_policy_spec.rb1054ee/spec/requests/api/npm_project_packages_spec.rb1055ee/spec/requests/api/graphql/project/path_locks_spec.rb1056ee/spec/controllers/ee/sent_notifications_controller_spec.rb1057ee/spec/requests/api/graphql/mutations/boards/epic_boards/update_spec.rb1058ee/spec/mailers/emails/namespace_storage_usage_mailer_spec.rb1059ee/spec/requests/api/features_spec.rb1060ee/spec/controllers/countries_controller_spec.rb1061ee/spec/controllers/concerns/gitlab_subscriptions/seat_count_alert_spec.rb1062ee/spec/controllers/profiles/billings_controller_spec.rb1063ee/spec/controllers/admin/groups_controller_spec.rb1064ee/spec/requests/api/graphql/mutations/incident_management/oncall_schedule/destroy_spec.rb1065ee/spec/mailers/devise_mailer_spec.rb1066ee/spec/controllers/sitemap_controller_spec.rb1067ee/spec/mailers/emails/epics_spec.rb1068Running all node tests without filter1069Running all node tests without filter1070Running command: bundle exec rspec -Ispec -rspec_helper --color --failure-exit-code 1 --error-exit-code 2 --format documentation --format RspecJunitFormatter --out rspec/junit_rspec.xml --tag ~quarantine --tag ~level:background_migration --default-path {ee -- ee/spec/requests/api/visual_review_discussions_spec.rb ee/spec/requests/api/graphql/geo/registries_spec.rb ee/spec/requests/git_http_geo_spec.rb ee/spec/requests/api/merge_request_approval_rules_spec.rb ee/spec/requests/api/wikis_spec.rb ee/spec/controllers/projects/licenses_controller_spec.rb ee/spec/requests/projects/merge_requests_controller_spec.rb ee/spec/requests/api/merge_request_approvals_spec.rb ee/spec/requests/api/related_epic_links_spec.rb ee/spec/requests/groups_controller_spec.rb ee/spec/requests/api/graphql/project/requirements_management/requirements_spec.rb ee/spec/requests/api/group_push_rule_spec.rb ee/spec/requests/api/graphql/project/sbom/dependencies_spec.rb ee/spec/controllers/projects/settings/operations_controller_spec.rb ee/spec/controllers/groups/audit_events_controller_spec.rb ee/spec/controllers/trials_controller_spec.rb ee/spec/requests/api/internal/kubernetes_spec.rb ee/spec/controllers/projects/audit_events_controller_spec.rb ee/spec/requests/api/epic_issues_spec.rb ee/spec/requests/api/graphql/ci/runner_spec.rb ee/spec/controllers/projects/integrations/jira/issues_controller_spec.rb ee/spec/requests/api/group_repository_storage_moves_spec.rb ee/spec/requests/api/graphql/vulnerabilities/sort_spec.rb ee/spec/requests/api/project_aliases_spec.rb ee/spec/requests/smartcard_controller_spec.rb ee/spec/requests/projects/settings/access_tokens_controller_spec.rb ee/spec/controllers/groups/analytics/productivity_analytics_controller_spec.rb ee/spec/requests/repositories/git_http_controller_spec.rb ee/spec/requests/api/dependencies_spec.rb ee/spec/controllers/projects/security/sast_configuration_controller_spec.rb ee/spec/controllers/groups/security/policies_controller_spec.rb ee/spec/requests/api/dependency_list_exports_spec.rb ee/spec/requests/api/graphql/mutations/iterations/update_spec.rb ee/spec/requests/api/group_variables_spec.rb ee/spec/controllers/projects/security/api_fuzzing_configuration_controller_spec.rb ee/spec/requests/api/graphql/project/branch_protections/merge_access_levels_spec.rb ee/spec/requests/api/protected_tags_spec.rb ee/spec/requests/api/graphql/mutations/dast_on_demand_scans/create_spec.rb ee/spec/mailers/ee/emails/admin_notification_spec.rb ee/spec/requests/api/audit_events_spec.rb ee/spec/controllers/projects/quality/test_cases_controller_spec.rb ee/spec/requests/api/graphql/project/alert_management/http_integrations_spec.rb ee/spec/controllers/projects/insights_controller_spec.rb ee/spec/mailers/emails/requirements_spec.rb ee/spec/controllers/projects/environments_controller_spec.rb ee/spec/requests/api/graphql/mutations/alert_management/http_integration/create_spec.rb ee/spec/requests/api/graphql/mutations/dast_site_validations/revoke_spec.rb ee/spec/requests/api/graphql/project/pipelines/dast_profile_spec.rb ee/spec/requests/api/graphql/mutations/security_policy/assign_security_policy_project_spec.rb ee/spec/requests/api/remote_mirrors_spec.rb ee/spec/requests/api/files_spec.rb ee/spec/requests/api/graphql/mutations/epics/create_spec.rb ee/spec/requests/api/graphql/mutations/boards/epics/create_spec.rb ee/spec/controllers/projects/analytics/merge_request_analytics_controller_spec.rb ee/spec/requests/api/analytics/product_analytics_spec.rb ee/spec/requests/api/graphql/audit_events/streaming/headers/destroy_spec.rb ee/spec/controllers/admin/licenses_controller_spec.rb ee/spec/requests/groups/clusters_controller_spec.rb ee/spec/requests/api/graphql/mutations/merge_requests/set_assignees_spec.rb ee/spec/requests/api/graphql/project/alert_management/integrations_spec.rb ee/spec/requests/groups/issues_controller_spec.rb ee/spec/requests/api/graphql/mutations/issues/promote_to_epic_spec.rb ee/spec/requests/api/internal/upcoming_reconciliations_spec.rb ee/spec/requests/api/graphql/milestone_spec.rb ee/spec/requests/api/graphql/audit_events/streaming/event_type_filters/delete_spec.rb ee/spec/requests/api/graphql/project/branch_rules/external_status_checks_spec.rb ee/spec/requests/groups/compliance_frameworks_spec.rb ee/spec/requests/api/graphql/project/push_rules_spec.rb ee/spec/mailers/credentials_inventory_mailer_spec.rb ee/spec/controllers/ee/omniauth_callbacks_controller_spec.rb ee/spec/requests/api/graphql/mutations/epics/set_subscription_spec.rb ee/spec/requests/api/graphql/project/alert_management/payload_fields_spec.rb ee/spec/controllers/projects/security/scanned_resources_controller_spec.rb ee/spec/requests/api/graphql/mutations/analytics/devops_adoption/enabled_namespaces/bulk_enable_spec.rb ee/spec/requests/api/conan_project_packages_spec.rb ee/spec/requests/api/integrations/slack/events_spec.rb ee/spec/requests/api/graphql/project/incident_management/oncall_participants_spec.rb ee/spec/requests/api/graphql/ci/runners_spec.rb ee/spec/requests/api/graphql/current_user/todos_query_spec.rb ee/spec/requests/ee/application_controller_spec.rb ee/spec/requests/api/graphql/mutations/boards/epic_boards/destroy_spec.rb ee/spec/controllers/admin/elasticsearch_controller_spec.rb ee/spec/requests/admin/geo/nodes_controller_spec.rb ee/spec/requests/customers_dot/proxy_controller_spec.rb ee/spec/requests/api/ci/pipelines_spec.rb ee/spec/requests/api/ci/runner/jobs_trace_spec.rb ee/spec/requests/api/graphql/vulnerabilities/primary_identifier_spec.rb ee/spec/requests/api/graphql/mutations/work_items/convert_spec.rb ee/spec/requests/ee/projects/repositories_controller_spec.rb ee/spec/requests/api/graphql/project/security_orchestration/scan_result_policy_spec.rb ee/spec/requests/api/npm_project_packages_spec.rb ee/spec/requests/api/graphql/project/path_locks_spec.rb ee/spec/controllers/ee/sent_notifications_controller_spec.rb ee/spec/requests/api/graphql/mutations/boards/epic_boards/update_spec.rb ee/spec/mailers/emails/namespace_storage_usage_mailer_spec.rb ee/spec/requests/api/features_spec.rb ee/spec/controllers/countries_controller_spec.rb ee/spec/controllers/concerns/gitlab_subscriptions/seat_count_alert_spec.rb ee/spec/controllers/profiles/billings_controller_spec.rb ee/spec/controllers/admin/groups_controller_spec.rb ee/spec/requests/api/graphql/mutations/incident_management/oncall_schedule/destroy_spec.rb ee/spec/mailers/devise_mailer_spec.rb ee/spec/controllers/sitemap_controller_spec.rb ee/spec/mailers/emails/epics_spec.rbKnapsack report generator started!1071WARNING: Shared example group agent token tracking was defined without a block and will have no effect. Please define a block or remove the definition.. Called from /builds/gitlab-org/gitlab/ee/spec/requests/api/internal/kubernetes_spec.rb:270:in `block (2 levels) in <top (required)>'.1072Run options: exclude {:quarantine=>true, :level=>"background_migration"}1073Test environment set up in 1.114742558 seconds1074API::VisualReviewDiscussions1075 when project is public1076 behaves like accepting request without authentication1077 behaves like handling merge request feedback1078 creates a new note1079 tracks a visual review feedback event1080 the API response1081 responds with a status 201 Created1082 returns the persisted note body1083 returns the name of the Visual Review Bot assigned as the author1084 returns the id of the merge request as the parent noteable_id1085 returns a current time stamp instead of the provided one1086 with no message body1087 returns a 400 bad request error if body not given1088 with an invalid project ID1089 does not create a new note1090 the API response1091 responds with a status 4041092 with an invalid merge request IID1093 does not create a new note1094 the API response1095 responds with a status 4041096 when anonymous_visual_review_feedback feature flag is disabled1097 does not create a new note1098 the API response1099 responds 4031100 returns error messaging specifying that the feature is disabled1101 behaves like accepting request with authentication1102 behaves like handling merge request feedback1103 creates a new note1104 tracks a visual review feedback event1105 the API response1106 responds with a status 201 Created1107 returns the persisted note body including user details1108 returns the name of the Visual Review Bot assigned as the author1109 returns the id of the merge request as the parent noteable_id1110 returns a current time stamp instead of the provided one1111 with no message body1112 returns a 400 bad request error if body not given1113 with an invalid project ID1114 does not create a new note1115 the API response1116 responds with a status 4041117 with an invalid merge request IID1118 does not create a new note1119 the API response1120 responds with a status 4041121 when anonymous_visual_review_feedback feature flag is disabled1122 does not create a new note1123 the API response1124 responds 4031125 returns error messaging specifying that the feature is disabled1126 when merge request discussion is locked and project is public1127 without authentication1128 rejects note creation1129 with visual review bot authentication1130 rejects note creation1131 when project is archived1132 without authentication1133 rejects note creation1134 with visual review bot authentication1135 rejects note creation1136 when project is private1137 behaves like accepting request with authentication1138 behaves like handling merge request feedback1139 creates a new note1140 tracks a visual review feedback event1141 the API response1142 responds with a status 201 Created1143 returns the persisted note body including user details1144 returns the name of the Visual Review Bot assigned as the author1145 returns the id of the merge request as the parent noteable_id1146 returns a current time stamp instead of the provided one1147 with no message body1148 returns a 400 bad request error if body not given1149 with an invalid project ID1150 does not create a new note1151 the API response1152 responds with a status 4041153 with an invalid merge request IID1154 does not create a new note1155 the API response1156 responds with a status 4041157 when anonymous_visual_review_feedback feature flag is disabled1158 does not create a new note1159 the API response1160 responds 4031161 returns error messaging specifying that the feature is disabled1162 behaves like rejecting request without authentication1163 returns a 404 project not found1164 and authenticated user has no project access1165 returns a 404 project not found1166 when project is internal1167 behaves like accepting request with authentication1168 behaves like handling merge request feedback1169 creates a new note1170 tracks a visual review feedback event1171 the API response1172 responds with a status 201 Created1173 returns the persisted note body including user details1174 returns the name of the Visual Review Bot assigned as the author1175 returns the id of the merge request as the parent noteable_id1176 returns a current time stamp instead of the provided one1177 with no message body1178 returns a 400 bad request error if body not given1179 with an invalid project ID1180 does not create a new note1181 the API response1182 responds with a status 4041183 with an invalid merge request IID1184 does not create a new note1185 the API response1186 responds with a status 4041187 when anonymous_visual_review_feedback feature flag is disabled1188 does not create a new note1189 the API response1190 responds 4031191 returns error messaging specifying that the feature is disabled1192 behaves like rejecting request without authentication1193 returns a 404 project not found1194 and authenticated user has no project access1195 behaves like handling merge request feedback1196 creates a new note1197 tracks a visual review feedback event1198 the API response1199 responds with a status 201 Created1200 returns the persisted note body including user details1201 returns the name of the Visual Review Bot assigned as the author1202 returns the id of the merge request as the parent noteable_id1203 returns a current time stamp instead of the provided one1204 with no message body1205 returns a 400 bad request error if body not given1206 with an invalid project ID1207 does not create a new note1208 the API response1209 responds with a status 4041210 with an invalid merge request IID1211 does not create a new note1212 the API response1213 responds with a status 4041214 when anonymous_visual_review_feedback feature flag is disabled1215 does not create a new note1216 the API response1217 responds 4031218 returns error messaging specifying that the feature is disabled1219Gets registries1220 behaves like gets registries for1221 returns registries1222 behaves like a working graphql query1223 returns a successful response1224 when paginating1225 supports cursor-based pagination1226 returns the correct page of registries1227 behaves like gets registries for1228 returns registries1229 behaves like a working graphql query1230 returns a successful response1231 when paginating1232 supports cursor-based pagination1233 returns the correct page of registries1234 behaves like gets registries for1235 returns registries1236 behaves like a working graphql query1237 returns a successful response1238 when paginating1239 supports cursor-based pagination1240 returns the correct page of registries1241 behaves like gets registries for1242 returns registries1243 behaves like a working graphql query1244 returns a successful response1245 when paginating1246 supports cursor-based pagination1247 returns the correct page of registries1248 behaves like gets registries for1249 returns registries1250 behaves like a working graphql query1251 returns a successful response1252 when paginating1253 supports cursor-based pagination1254 returns the correct page of registries1255 behaves like gets registries for1256 returns registries1257 behaves like a working graphql query1258 returns a successful response1259 when paginating1260 supports cursor-based pagination1261 returns the correct page of registries1262 behaves like gets registries for1263 returns registries1264 behaves like a working graphql query1265 returns a successful response1266 when paginating1267 supports cursor-based pagination1268 returns the correct page of registries1269 behaves like gets registries for1270 returns registries1271 behaves like a working graphql query1272 returns a successful response1273 when paginating1274 supports cursor-based pagination1275 returns the correct page of registries1276 behaves like gets registries for1277 returns registries1278 behaves like a working graphql query1279 returns a successful response1280 when paginating1281 supports cursor-based pagination1282 returns the correct page of registries1283 behaves like gets registries for1284 returns registries1285 behaves like a working graphql query1286 returns a successful response1287 when paginating1288 supports cursor-based pagination1289 returns the correct page of registries1290 behaves like gets registries for1291 returns registries1292 behaves like a working graphql query1293 returns a successful response1294 when paginating1295 supports cursor-based pagination1296 returns the correct page of registries1297 behaves like gets registries for1298 returns registries1299 behaves like a working graphql query1300 returns a successful response1301 when paginating1302 supports cursor-based pagination1303 returns the correct page of registries1304Git HTTP requests (Geo)1305 when current node is a secondary1306 GET info_refs1307 git pull1308 when the repository exists1309 but has not successfully synced1310 behaves like a Geo 302 redirect to Primary1311 valid Geo JWT token1312 returns a redirect response1313 when terms are enforced1314 behaves like a Geo 302 redirect to Primary1315 valid Geo JWT token1316 returns a redirect response1317 and has successfully synced1318 behaves like a Geo git request1319 post-dated Geo JWT token1320 is expected to respond with numeric status code unauthorized1321 expired Geo JWT token1322 is expected to respond with numeric status code unauthorized1323 invalid Geo JWT token1324 is expected to respond with numeric status code unauthorized1325 no Geo JWT token1326 is expected to respond with numeric status code unauthorized1327 Geo is unlicensed1328 is expected to respond with numeric status code forbidden1329 behaves like a Geo 200 git request1330 valid Geo JWT token1331 returns an OK response with JSON data1332 when terms are enforced1333 behaves like a Geo git request1334 post-dated Geo JWT token1335 is expected to respond with numeric status code unauthorized1336 expired Geo JWT token1337 is expected to respond with numeric status code unauthorized1338 invalid Geo JWT token1339 is expected to respond with numeric status code unauthorized1340 no Geo JWT token1341 is expected to respond with numeric status code unauthorized1342 Geo is unlicensed1343 is expected to respond with numeric status code forbidden1344 behaves like a Geo 200 git request1345 valid Geo JWT token1346 returns an OK response with JSON data1347 when the repository does not exist1348 behaves like a Geo 302 redirect to Primary1349 valid Geo JWT token1350 returns a redirect response1351 when terms are enforced1352 behaves like a Geo 302 redirect to Primary1353 valid Geo JWT token1354 returns a redirect response1355 when the project does not exist1356 behaves like a Geo 302 redirect to Primary1357 valid Geo JWT token1358 returns a redirect response1359 when terms are enforced1360 behaves like a Geo 302 redirect to Primary1361 valid Geo JWT token1362 returns a redirect response1363 git push1364 behaves like a Geo 302 redirect to Primary1365 valid Geo JWT token1366 returns a redirect response1367 POST git_upload_pack1368 when the repository exists1369 behaves like a Geo git request1370 post-dated Geo JWT token1371 is expected to respond with numeric status code unauthorized1372 expired Geo JWT token1373 is expected to respond with numeric status code unauthorized1374 invalid Geo JWT token1375 is expected to respond with numeric status code unauthorized1376 no Geo JWT token1377 is expected to respond with numeric status code unauthorized1378 Geo is unlicensed1379 is expected to respond with numeric status code forbidden1380 behaves like a Geo 200 git request1381 valid Geo JWT token1382 returns an OK response with JSON data1383 when terms are enforced1384 behaves like a Geo git request1385 post-dated Geo JWT token1386 is expected to respond with numeric status code unauthorized1387 expired Geo JWT token1388 is expected to respond with numeric status code unauthorized1389 invalid Geo JWT token1390 is expected to respond with numeric status code unauthorized1391 no Geo JWT token1392 is expected to respond with numeric status code unauthorized1393 Geo is unlicensed1394 is expected to respond with numeric status code forbidden1395 behaves like a Geo 200 git request1396 valid Geo JWT token1397 returns an OK response with JSON data1398 when the repository does not exist1399 behaves like a Geo 302 redirect to Primary1400 valid Geo JWT token1401 returns a redirect response1402 when terms are enforced1403 behaves like a Geo 302 redirect to Primary1404 valid Geo JWT token1405 returns a redirect response1406 git-lfs1407 Batch API1408 POST /namespace/repo.git/info/lfs/objects/batch1409 operation upload1410 with a valid git-lfs version1411 behaves like a Geo 302 redirect to Primary1412 valid Geo JWT token1413 returns a redirect response1414 with an invalid git-lfs version1415 description: "outdated", version: "git-lfs/2.4.1"1416 that is description: "outdated", version: "git-lfs/2.4.1"1417 is forbidden1418 description: "unknown", version: "git-lfs"1419 that is description: "unknown", version: "git-lfs"1420 is forbidden1421 operation download1422 when the repository exists1423 is handled by the secondary1424 when the repository does not exist1425 behaves like a Geo 302 redirect to Primary1426 valid Geo JWT token1427 returns a redirect response1428 description: "outdated", version: "git-lfs/2.4.1"1429 with an description: "outdated", version: "git-lfs/2.4.1" git-lfs version1430 is handled by the secondary1431 description: "unknown", version: "git-lfs"1432 with an description: "unknown", version: "git-lfs" git-lfs version1433 is handled by the secondary1434 Transfer API1435 GET /namespace/repo.git/gitlab-lfs/objects/<oid>1436 when the repository exists1437 behaves like a Geo 200 git-lfs request1438 valid Geo JWT token1439 returns an OK response with binary data1440 when the repository has been updated1441 is handled by the secondary1442 Locks API1443 description: "create", path: "info/lfs/locks", args: {}1444 POST description: "create", path: "info/lfs/locks", args: {}1445 behaves like a Geo 302 redirect to Primary1446 valid Geo JWT token1447 returns a redirect response1448 description: "verify", path: "info/lfs/locks/verify", args: {}1449 POST description: "verify", path: "info/lfs/locks/verify", args: {}1450 behaves like a Geo 302 redirect to Primary1451 valid Geo JWT token1452 returns a redirect response1453 description: "unlock", path: "info/lfs/locks/1/unlock", args: {:id=>1}1454 POST description: "unlock", path: "info/lfs/locks/1/unlock", args: {:id=>1}1455 behaves like a Geo 302 redirect to Primary1456 valid Geo JWT token1457 returns a redirect response1458 when current node is the primary1459 POST git_receive_pack1460 when HTTP redirected from a secondary node1461 stores the secondary node ID so the internal API post_receive request can generate the replication lag message1462 when proxying an SSH request from a secondary node1463 when gl_id is provided in JWT token1464 but is invalid1465 geo_gl_id: "key-999"1466 returns a 4031467 geo_gl_id: "key-1"1468 returns a 4031469 geo_gl_id: "key-999"1470 returns a 4031471 geo_gl_id: "junk"1472 returns a 4031473 geo_gl_id: "junk-1"1474 returns a 4031475 geo_gl_id: "kkey-1"1476 returns a 4031477 and is valid1478 but the user has no access1479 returns a 4041480 but the user does not have push access1481 returns a 4031482 and the user has push access1483 returns a 2001484 repository does not exist1485 is expected to respond with numeric status code not_found1486 invalid scope1487 invalid scope of Geo JWT token1488 is expected to respond with numeric status code unauthorized1489 returns correct error1490 Geo JWT token scopes for wiki and repository are not interchangeable1491 for a repository but using a wiki scope1492 is expected to respond with numeric status code unauthorized1493 returns correct error1494 for a wiki but using a repository scope1495 is expected to respond with numeric status code unauthorized1496 returns correct error1497 IP allowed settings1498 returns unauthorized error1499 returns success response1500API::MergeRequestApprovalRules1501 GET /projects/:id/merge_requests/:merge_request_iid/approval_rules/:approval_rule_id1502 behaves like getting approval rule/s1503 user cannot read merge request1504 responds with 4031505 user can read merge request1506 matches the response schema1507 groups contain private groups1508 current_user cannot see private group1509 hides private group1510 current_user can see private group1511 shows private group1512 has existing merge request rule that overrides a project-level rule1513 includes source_rule1514 GET /projects/:id/merge_requests/:merge_request_iid/approval_rules1515 behaves like getting approval rule/s1516 user cannot read merge request1517 responds with 4031518 user can read merge request1519 matches the response schema1520 groups contain private groups1521 current_user cannot see private group1522 hides private group1523 current_user can see private group1524 shows private group1525 has existing merge request rule that overrides a project-level rule1526 includes source_rule1527 user can read merge request1528 returns the correct amount of rules1529 POST /projects/:id/merge_requests/:merge_request_iid/approval_rules1530 behaves like a protected API endpoint for merge request approval rule action1531 disable_overriding_approvers_per_merge_request is set to true1532 responds with 4031533 disable_overriding_approvers_per_merge_request is set to false1534 user cannot update merge request1535 responds with 4031536 when user can update merge request and approval rules can be overridden1537 matches the response schema1538 users are passed1539 includes users1540 groups are passed1541 includes groups1542 usernames are passed1543 includes users1544 usernames and user_ids are passed1545 includes users1546 approval_project_rule_id is passed1547 with blank approver params1548 copies the attributes from the project rule except approvers1549 with omitted approver params1550 copies the attributes from the project rule except approvals_required1551 PUT /projects/:id/merge_requests/:merge_request_iid/approval_rules/:approval_rule_id1552 behaves like a protected API endpoint for merge request approval rule action1553 disable_overriding_approvers_per_merge_request is set to true1554 responds with 4031555 disable_overriding_approvers_per_merge_request is set to false1556 user cannot update merge request1557 responds with 4031558 when user can update merge request and approval rules can be overridden1559 matches the response schema1560 behaves like a protected API endpoint that only allows action on regular merge request approval rule1561 approval rule is not a regular type1562 responds with 4031563 users are passed1564 changes users1565 groups are passed1566 changes groups1567 remove_hidden_groups is passed1568 when set to true1569 removes the existing private group1570 when set to false1571 does not remove the existing private group1572 usernames are passed1573 includes users1574 DELETE /projects/:id/merge_requests/:merge_request_iid/approval_rules/:approval_rule_id1575 behaves like a protected API endpoint for merge request approval rule action1576 disable_overriding_approvers_per_merge_request is set to true1577 responds with 4031578 disable_overriding_approvers_per_merge_request is set to false1579 user cannot update merge request1580 responds with 4031581 when user can update merge request and approval rules can be overridden1582 responds with 2041583 behaves like a protected API endpoint that only allows action on regular merge request approval rule1584 approval rule is not a regular type1585 responds with 4031586API::Wikis1587 GET /groups/:id/wikis1588 when group wiki is disabled1589 when user is guest1590 returns 404 Group Not Found1591 when user is developer1592 returns 403 Forbidden1593 when user is maintainer1594 returns 403 Forbidden1595 when wiki is available only for team members1596 when user is guest1597 returns 404 Group Not Found (PENDING: Temporarily skipped with xcontext)1598 when user is developer1599 return the empty list of wiki pages (PENDING: Temporarily skipped with xcontext)1600 when wiki has pages1601 returns the list of wiki pages without content (PENDING: Temporarily skipped with xcontext)1602 returns the list of wiki pages with content (PENDING: Temporarily skipped with xcontext)1603 when user is maintainer1604 return the empty list of wiki pages (PENDING: Temporarily skipped with xcontext)1605 when wiki has pages1606 returns the list of wiki pages without content (PENDING: Temporarily skipped with xcontext)1607 returns the list of wiki pages with content (PENDING: Temporarily skipped with xcontext)1608 when wiki is available for everyone with access1609 when user is guest1610 returns 404 Group Not Found1611 when user is developer1612 return the empty list of wiki pages1613 when wiki has pages1614 returns the list of wiki pages without content1615 returns the list of wiki pages with content1616 when user is maintainer1617 return the empty list of wiki pages1618 when wiki has pages1619 returns the list of wiki pages without content1620 returns the list of wiki pages with content1621 GET /groups/:id/wikis/:slug1622 when wiki is disabled1623 when user is guest1624 returns 404 Group Not Found1625 when user is developer1626 returns 403 Forbidden1627 when user is maintainer1628 returns 403 Forbidden1629 when wiki is available only for team members1630 when user is guest1631 returns 404 Group Not Found (PENDING: Temporarily skipped with xcontext)1632 when user is developer1633 behaves like returns wiki page1634 example at ./spec/support/shared_examples/lib/wikis_api_examples.rb:54 (PENDING: Temporarily skipped with xcontext)1635 when render param is false1636 behaves like returns wiki page1637 example at ./spec/support/shared_examples/lib/wikis_api_examples.rb:54 (PENDING: Temporarily skipped with xcontext)1638 when render param is true1639 behaves like returns wiki page1640 example at ./spec/support/shared_examples/lib/wikis_api_examples.rb:54 (PENDING: Temporarily skipped with xcontext)1641 when wiki page has versions1642 when version param is not present1643 retrieves the last version (PENDING: Temporarily skipped with xcontext)1644 when version param is set1645 retrieves the specific page version (PENDING: Temporarily skipped with xcontext)1646 when version param is not valid or inexistent1647 behaves like wiki API 404 Wiki Page Not Found1648 returns 404 Wiki Page Not Found (PENDING: Temporarily skipped with xcontext)1649 when page does not exist1650 returns 404 Wiki Page Not Found (PENDING: Temporarily skipped with xcontext)1651 when user is maintainer1652 behaves like returns wiki page1653 example at ./spec/support/shared_examples/lib/wikis_api_examples.rb:54 (PENDING: Temporarily skipped with xcontext)1654 when render param is false1655 behaves like returns wiki page1656 example at ./spec/support/shared_examples/lib/wikis_api_examples.rb:54 (PENDING: Temporarily skipped with xcontext)1657 when render param is true1658 behaves like returns wiki page1659 example at ./spec/support/shared_examples/lib/wikis_api_examples.rb:54 (PENDING: Temporarily skipped with xcontext)1660 when wiki page has versions1661 when version param is not present1662 retrieves the last version (PENDING: Temporarily skipped with xcontext)1663 when version param is set1664 retrieves the specific page version (PENDING: Temporarily skipped with xcontext)1665 when version param is not valid or inexistent1666 behaves like wiki API 404 Wiki Page Not Found1667 returns 404 Wiki Page Not Found (PENDING: Temporarily skipped with xcontext)1668 when page does not exist1669 returns 404 Wiki Page Not Found (PENDING: Temporarily skipped with xcontext)1670 when wiki is available for everyone with access1671 when user is guest1672 returns 404 Group Not Found1673 when user is developer1674 behaves like returns wiki page1675 is expected to eq "Page 5"1676 when render param is false1677 behaves like returns wiki page1678 is expected to eq "Page 6"1679 when render param is true1680 behaves like returns wiki page1681 is expected to eq "Page 7"1682 when wiki page has versions1683 when version param is not present1684 retrieves the last version1685 when version param is set1686 retrieves the specific page version1687 when version param is not valid or inexistent1688 behaves like wiki API 404 Wiki Page Not Found1689 returns 404 Wiki Page Not Found1690 when page does not exist1691 returns 404 Wiki Page Not Found1692 when user is maintainer1693 behaves like returns wiki page1694 is expected to eq "Page 11"1695 when render param is false1696 behaves like returns wiki page1697 is expected to eq "Page 12"1698 when render param is true1699 behaves like returns wiki page1700 is expected to eq "Page 13"1701 when wiki page has versions1702 when version param is not present1703 retrieves the last version1704 when version param is set1705 retrieves the specific page version1706 when version param is not valid or inexistent1707 behaves like wiki API 404 Wiki Page Not Found1708 returns 404 Wiki Page Not Found1709 when page does not exist1710 returns 404 Wiki Page Not Found1711 POST /groups/:id/wikis1712 when wiki is disabled1713 when user is guest1714 returns 404 Group Not Found1715 when user is developer1716 returns 403 Forbidden1717 when user is maintainer1718 returns 403 Forbidden1719 when wiki is available only for team members1720 when user is guest1721 returns 404 Group Not Found (PENDING: Temporarily skipped with xcontext)1722 when user is developer1723 creates the wiki page (PENDING: Temporarily skipped with xcontext)1724 responds with validation error on empty title (PENDING: Temporarily skipped with xcontext)1725 responds with validation error on empty content (PENDING: Temporarily skipped with xcontext)1726 when user is maintainer1727 creates the wiki page (PENDING: Temporarily skipped with xcontext)1728 responds with validation error on empty title (PENDING: Temporarily skipped with xcontext)1729 responds with validation error on empty content (PENDING: Temporarily skipped with xcontext)1730 when wiki is available for everyone with access1731 when user is guest1732 returns 404 Group Not Found1733 when user is developer1734 creates the wiki page1735 responds with validation error on empty title1736 responds with validation error on empty content1737 when user is maintainer1738 creates the wiki page1739 responds with validation error on empty title1740 responds with validation error on empty content1741 PUT /group/:id/wikis/:slug1742 when wiki is disabled1743 when user is guest1744 returns 404 Group Not Found1745 when user is developer1746 returns 403 Forbidden1747 when user is maintainer1748 returns 403 Forbidden1749 when wiki is available only for team members1750 when user is guest1751 returns 404 Group Not Found (PENDING: Temporarily skipped with xcontext)1752 when user is developer1753 updates the wiki page (PENDING: Temporarily skipped with xcontext)1754 updates with wiki with missing title (PENDING: Temporarily skipped with xcontext)1755 updates with wiki with missing content (PENDING: Temporarily skipped with xcontext)1756 updates with wiki with missing format (PENDING: Temporarily skipped with xcontext)1757 when page does not exist1758 returns 404 Wiki Page Not Found (PENDING: Temporarily skipped with xcontext)1759 when user is maintainer1760 updates the wiki page (PENDING: Temporarily skipped with xcontext)1761 updates with wiki with missing title (PENDING: Temporarily skipped with xcontext)1762 updates with wiki with missing content (PENDING: Temporarily skipped with xcontext)1763 updates with wiki with missing format (PENDING: Temporarily skipped with xcontext)1764 when page is not existing1765 returns 404 Wiki Page Not Found (PENDING: Temporarily skipped with xcontext)1766 when wiki is available for everyone with access1767 when user is guest1768 returns 404 Group Not Found1769 when user is developer1770 updates the wiki page1771 updates with wiki with missing title1772 updates with wiki with missing content1773 updates with wiki with missing format1774 when page does not exist1775 returns 404 Wiki Page Not Found1776 when user is maintainer1777 updates the wiki page1778 updates with wiki with missing title1779 updates with wiki with missing content1780 updates with wiki with missing format1781 when page does not exist1782 returns 404 Wiki Page Not Found1783 when user is owner of parent group1784 updates the wiki page1785 updates with wiki with missing title1786 updates with wiki with missing content1787 updates with wiki with missing format1788 DELETE /groups/:id/wikis/:slug1789 when wiki is disabled1790 when user is guest1791 returns 404 Group Not Found1792 when user is developer1793 returns 403 Forbidden1794 when user is maintainer1795 returns 403 Forbidden1796 when wiki is available only for team members1797 when user is guest1798 returns 404 Group Not Found (PENDING: Temporarily skipped with xcontext)1799 when user is developer1800 returns 403 Forbidden (PENDING: Temporarily skipped with xcontext)1801 when user is maintainer1802 returns 204 No Content (PENDING: Temporarily skipped with xcontext)1803 when wiki is available for everyone with access1804 when user is guest1805 returns 404 Group Not Found1806 when user is developer1807 returns 403 Forbidden1808 when user is maintainer1809 returns 204 No Content1810 when page does not exist1811 returns 404 Wiki Page Not Found1812 when user is owner of parent group1813 returns 204 No Content1814 POST /groups/:id/wikis/attachments1815 when wiki is disabled1816 when user is guest1817 returns 404 Group Not Found1818 when user is developer1819 returns 403 Forbidden1820 when user is maintainer1821 returns 403 Forbidden1822 when wiki is available only for team members1823 when user is guest1824 returns 404 Group Not Found (PENDING: Temporarily skipped with xcontext)1825 when user is developer1826 pushes attachment to the wiki repository (PENDING: Temporarily skipped with xcontext)1827 responds with validation error on empty file (PENDING: Temporarily skipped with xcontext)1828 responds with validation error on invalid temp file (PENDING: Temporarily skipped with xcontext)1829 is backward compatible with regular multipart uploads (PENDING: Temporarily skipped with xcontext)1830 when user is maintainer1831 pushes attachment to the wiki repository (PENDING: Temporarily skipped with xcontext)1832 responds with validation error on empty file (PENDING: Temporarily skipped with xcontext)1833 responds with validation error on invalid temp file (PENDING: Temporarily skipped with xcontext)1834 is backward compatible with regular multipart uploads (PENDING: Temporarily skipped with xcontext)1835 when wiki is available for everyone with access1836 when user is guest1837 returns 404 Group Not Found1838 when user is developer1839 pushes attachment to the wiki repository1840 responds with validation error on empty file1841 responds with validation error on invalid temp file1842 is backward compatible with regular multipart uploads1843 when user is maintainer1844 pushes attachment to the wiki repository1845 responds with validation error on empty file1846 responds with validation error on invalid temp file1847 is backward compatible with regular multipart uploads1848Projects::LicensesController1849 GET #index1850 when the "Security and Compliance" feature is disabled1851 is expected to respond with numeric status code not_found1852 with authorized user1853 when feature is available1854 with reporter1855 counts usage of the feature1856 when requesting HTML1857 returns the necessary licenses app data1858 with existing report1859 when the license_scanning_sbom_scanner feature flag is disabled1860 returns success code1861 returns a hash with licenses sorted by name1862 returns status ok1863 includes the pagination headers1864 with pagination params1865 return only 1 license1866 when the license_scanning_sbom_scanner feature flag is enabled1867 returns success code1868 returns a hash with licenses sorted by name1869 returns status ok1870 includes the pagination headers1871 with pagination params1872 return only 1 license1873 when software policies are applied to some of the most recently detected licenses1874 when the license_scanning_sbom_scanner feature flag is disabled1875 when loading all policies1876 is expected to respond with numeric status code ok1877 is expected to equal 41878 sorts by name by default1879 includes a policy for an unclassified and known license that was detected in the scan report1880 includes a policy for a denied license found in the scan report1881 includes a policy for an allowed license NOT found in the latest scan report1882 includes an entry for an unclassified and unknown license found in the scan report1883 when loading software policies that match licenses detected in the most recent license scan report1884 is expected to respond with numeric status code ok1885 only includes policies for licenses detected in the most recent scan report1886 includes an unclassified policy for a known license detected in the scan report1887 includes a classified license for a known license detected in the scan report1888 includes an unclassified and unknown license discovered in the scan report1889 when loading `allowed` software policies only1890 is expected to respond with numeric status code ok1891 is expected to equal 11892 includes only `allowed` policies1893 when loading `allowed` and `denied` software policies1894 is expected to respond with numeric status code ok1895 is expected to equal 21896 includes `denied` policies1897 includes `allowed` policies1898 when loading policies ordered by `classification` in `ascending` order1899 is expected to respond with numeric status code ok1900 is expected to eq ["allowed", "unclassified", "unclassified", "denied"]1901 when the license_scanning_sbom_scanner feature flag is enabled1902 when loading all policies1903 is expected to respond with numeric status code ok1904 is expected to equal 41905 sorts by name by default1906 includes a policy for an unclassified and known license that was detected in the scan report1907 includes a policy for a denied license found in the scan report1908 includes a policy for an allowed license NOT found in the latest scan report1909 includes an entry for an unclassified and unknown license found in the scan report1910 when loading software policies that match licenses detected in the most recent license scan report1911 is expected to respond with numeric status code ok1912 only includes policies for licenses detected in the most recent scan report1913 includes an unclassified policy for a known license detected in the scan report1914 includes a classified license for a known license detected in the scan report1915 includes an unclassified and unknown license discovered in the scan report1916 when loading `allowed` software policies only1917 is expected to respond with numeric status code ok1918 is expected to equal 11919 includes only `allowed` policies1920 when loading `allowed` and `denied` software policies1921 is expected to respond with numeric status code ok1922 is expected to equal 21923 includes `denied` policies1924 includes `allowed` policies1925 when loading policies ordered by `classification` in `ascending` order1926 is expected to respond with numeric status code ok1927 is expected to eq ["allowed", "unclassified", "unclassified", "denied"]1928 without existing license scanning report1929 returns status job_not_set_up1930 with maintainer1931 responds to an HTML request1932 when feature is not available1933 returns 4041934 with unauthorized user1935 returns 4041936Projects::MergeRequestsController1937 GET #show1938 when the user has developer access1939 publishes the security_reports_mr_widget_prompt experiment1940 when the user does not have developer access1941 does not publish the security_reports_mr_widget_prompt experiment1942 when the project is not licensed for sast1943 does not publish the security_reports_mr_widget_prompt experiment1944 when the project has disabled the security and compliance features1945 does not publish the security_reports_mr_widget_prompt experiment1946 when the the user is a guest1947 does not publish the security_reports_mr_widget_prompt experiment1948 GET #edit1949 when the project requires code owner approval1950 does not cause an extra queries when code owner rules are present1951 does not cause extra queries when multiple code owner rules are present1952 GET #index1953 avoids N+11954 security_reports1955 when the user can not read project security resources1956 responds with 4041957 when the user can read project security resources1958 when the pipeline is pending1959 returns 204 HTTP status along with the `Poll-Interval` header1960 when the pipeline is not pending1961 when the given type is invalid1962 responds with 4001963 when the given type is valid1964 when comparison is being processed1965 returns 204 HTTP status along with the `Poll-Interval` header1966 when comparison is done1967 when the comparison is errored1968 responds with 4001969 when the comparision is succeeded1970 responds with 200 along with the report payload1971API::MergeRequestApprovals1972 GET :id/merge_requests/:merge_request_iid/approvals1973 retrieves the approval status1974 lists unapproved rule names1975 when private group approver1976 hides private group1977 when admin1978 shows all approver groups1979 when approvers are set to zero1980 returns a 2001981 when merge_status is cannot_be_merged_rechecking1982 returns `checking`1983 GET :id/merge_requests/:merge_request_iid/approval_settings1984 retrieves the approval rules details1985 behaves like an API endpoint for getting merge request approval state1986 when source rule is present1987 returns source rule details1988 when rule has groups1989 when user can view a group1990 includes group1991 when user cannot view a group included in groups1992 excludes private groups1993 when rule has a section1994 exposes the value of section when set1995 when target_branch is specified1996 filters the rules returned by target branch1997 GET :id/merge_requests/:merge_request_iid/approval_state1998 retrieves the approval state details1999 behaves like an API endpoint for getting merge request approval state2000 when source rule is present2001 returns source rule details2002 when rule has groups2003 when user can view a group2004 includes group2005 when user cannot view a group included in groups2006 excludes private groups2007 POST :id/merge_requests/:merge_request_iid/approvals2008 as a project admin2009 behaves like user allowed to override approvals_before_merge2010 when disable_overriding_approvers_per_merge_request is false on the project2011 allows you to set approvals required2012 when disable_overriding_approvers_per_merge_request is true on the project2013 does not allow you to set approvals_before_merge2014 as a global admin2015 behaves like user allowed to override approvals_before_merge2016 when disable_overriding_approvers_per_merge_request is false on the project2017 allows you to set approvals required2018 when disable_overriding_approvers_per_merge_request is true on the project2019 does not allow you to set approvals_before_merge2020 as a random user2021 does not allow you to override approvals required2022 POST :id/merge_requests/:merge_request_iid/approve2023 as the author of the merge request2024 returns a 4012025 as a valid approver2026 only shows group approvers visible to the user2027 when the sha param is not set2028 approves the merge request2029 when the sha param is correct2030 approves the merge request2031 when the sha param is incorrect2032 returns a 4092033 does not approve the merge request2034 when project requires force auth for approval2035 does not approve the merge request with no password2036 does not approve the merge request with incorrect password2037 approves the merge request with correct password2038 POST :id/merge_requests/:merge_request_iid/unapprove2039 as a user who has approved the merge request2040 unapproves the merge request2041 only shows group approvers visible to the user2042API::RelatedEpicLinks2043 GET /groups/:id/related_epic_links2044 when user has no access to the group2045 returns 4042046 when user has access to the group2047 returns only related epics links the user has access to2048 behaves like endpoint with features check2049 when epics feature is not available2050 is expected to eq 4032051 when related_epics feature is not available2052 is expected to eq 4032053 when filtered by updated_before2054 returns related epic links updated before the given parameter2055 returns no related epic links2056 when filtered by updated_after2057 returns related epic links updated before the given parameter2058 returns no related epic links2059 when filtered by created_after2060 returns related epic links created after the given parameter2061 returns no related epic links2062 when filtered by created_before2063 returns related epic links created before the given parameter2064 returns no related epic links2065 when epics links are in a sub-group2066 returns linked epic from sub-group2067 when user has access to both groups2068 returns related epic links2069 returns multiple links without N + 12070 with pagination2071 returns first page of related epics2072 returns the last page of related epics2073 GET /groups/:id/epics/:epic_id/related_epics2074 when user cannot read epics2075 returns 4042076 when user can read epics2077 returns related epics2078 returns multiple links without N + 12079 behaves like endpoint with features check2080 when epics feature is not available2081 is expected to eq 4032082 when related_epics feature is not available2083 is expected to eq 4032084 POST /groups/:id/epics/:epic_id/related_epics2085 behaves like unauthenticated resource2086 returns 4012087 behaves like insufficient permissions2088 when user can not access source epic2089 behaves like not found resource2090 returns 4042091 when user can only read source epic2092 behaves like forbidden resource2093 returns 4032094 when user can only manage source epic2095 behaves like not found resource2096 returns 4042097 when user is guest in target group2098 behaves like successful response2099 returns created2100 when target epic is confidential2101 behaves like forbidden resource2102 returns 4032103 when user can relate epics2104 returns 201 when sending full path of target group2105 behaves like endpoint with features check2106 when epics feature is not available2107 is expected to eq 4032108 when related_epics feature is not available2109 is expected to eq 4032110 behaves like successful response2111 returns created2112 when target epic is not found2113 behaves like not found resource2114 returns 4042115 DELETE /groups/:id/epics/:epic_id/related_epics2116 behaves like unauthenticated resource2117 returns 4012118 behaves like insufficient permissions2119 when user can not access source epic2120 behaves like not found resource2121 returns 4042122 when user can only read source epic2123 behaves like forbidden resource2124 returns 4032125 when user can manage source epic2126 behaves like not found resource2127 returns 4042128 when user is guest in target group2129 behaves like successful response2130 returns ok2131 when related_epic_link_id belongs to a different epic2132 behaves like not found resource2133 returns 4042134 when user can relate epics2135 behaves like endpoint with features check2136 when epics feature is not available2137 is expected to eq 4032138 when related_epics feature is not available2139 is expected to eq 4032140 behaves like successful response2141 returns ok2142GroupsController2143 PUT update2144 setting ip_restriction2145 top-level group2146 when ip_restriction does not exist2147 valid param2148 single IP subnet2149 behaves like creates ip restrictions2150 creates ip restrictions2151 multiple IP subnets2152 behaves like creates ip restrictions2153 creates ip restrictions2154 invalid param2155 adds error message2156 when ip_restriction already exists2157 ip restriction param set2158 valid param2159 single subnet2160 behaves like updates ip restrictions2161 updates ip restrictions2162 multiple subnets2163 a new subnet along with the existing one2164 behaves like updates ip restrictions2165 updates ip restrictions2166 completely new range of subnets2167 behaves like updates ip restrictions2168 updates ip restrictions2169 invalid param2170 not a valid subnet2171 behaves like does not update existing ip restrictions2172 does not change ip restriction records2173 adds error message2174 multiple IP subnets2175 any one of them being not a valid2176 behaves like does not update existing ip restrictions2177 does not change ip restriction records2178 adds error message2179 empty ip restriction param2180 deletes ip restriction2181 subgroup2182 does not create ip restriction2183 with empty ip restriction param2184 updates group setting2185 does not create ip restriction2186 feature is disabled2187 does not create ip restriction2188 setting email domain restrictions2189 top-level group2190 when email domain restriction does not exist2191 valid param2192 single domain2193 behaves like creates email domain restrictions2194 creates email domain restrictions2195 multiple domains2196 behaves like creates email domain restrictions2197 creates email domain restrictions2198 invalid param2199 adds error message2200 when email domain restrictions already exists2201 allowed email domain param set2202 valid param2203 single domain2204 behaves like updates allowed email domain restrictions2205 updates allowed email domain restrictions2206 multiple domains2207 a new domain along with the existing one2208 behaves like updates allowed email domain restrictions2209 updates allowed email domain restrictions2210 completely new set of domains2211 behaves like updates allowed email domain restrictions2212 updates allowed email domain restrictions2213 invalid param2214 not a valid domain2215 behaves like does not update existing email domain restrictions2216 does not change allowed_email_domains records2217 adds error message2218 multiple domains2219 any one of them being not a valid2220 behaves like does not update existing email domain restrictions2221 does not change allowed_email_domains records2222 adds error message2223 empty param2224 deletes all email domain restrictions2225 subgroup2226 does not create email domain restriction2227 feature is disabled2228 does not create email domain restrictions2229 PUT #transfer2230 does not transfer a group with a gitlab saas subscription2231 transfers a subgroup with a parent group with a gitlab saas subscription2232 DELETE #destroy2233 does not delete a group with a gitlab.com subscription2234 deletes a subgroup with a parent group with a gitlab.com subscription2235 delayed deletion feature is enabled2236 deletes a group with trial plan2237 delayed deletion feature is disabled2238 immediately schedules a group destroy2239getting a requirement list for a project2240 when user has access to the project2241 returns requirements successfully2242 returns cached rendered html fields from requirement issue2243 behaves like a working graphql query2244 returns a successful response2245 when querying delegated fields2246 does not execute n+1 queries2247 when limiting the number of results2248 behaves like a working graphql query2249 returns a successful response2250 query performance with test reports2251 avoids N+1 queries2252 filtering2253 behaves like a working graphql query2254 returns a successful response2255 when given single author param2256 returns filtered requirements2257 when given multiple author param2258 returns filtered requirements2259 when given search param2260 returns filtered requirements2261 when given author and search params2262 returns filtered requirements2263 when given lastTestReportState2264 returns filtered requirements2265 for MISSING status2266 returns filtered requirements2267 sorting and pagination2268 when sorting by created_at2269 when ascending2270 behaves like sorted paginated query2271 behaves like requires variables2272 shared example requires variables to be set2274 when sorting2275 sorts correctly2276 when paginating2277 paginates correctly2278 when descending2279 behaves like sorted paginated query2280 behaves like requires variables2281 shared example requires variables to be set2283 when sorting2284 sorts correctly2285 when paginating2286 paginates correctly2287 when the user does not have access to the requirement2288 returns nil2289 when requirements feature is not available2290 returns nil2291API::GroupPushRule GroupPushRule2292 GET /groups/:id/push_rule2293 when unlicensed2294 behaves like not found when feature is unavailable2295 is expected to respond with numeric status code not_found2296 authorized user2297 when licensed2298 returns attributes as expected2299 matches response schema2300 when reject_unsigned_commits is unavailable2301 is expected not to have key "reject_unsigned_commits"2302 when commit_committer_check is unavailable2303 is expected not to have key "commit_committer_check"2304 permissions2305 behaves like allow access to api based on role2306 is expected to be allowed for :admin2307 is expected to be allowed for :owner2308 is expected to be denied for :developer2309 is expected to be denied for :reporter2310 is expected to be denied for :guest2311 is expected to be denied for :anonymous2312 when push rule does not exist2313 returns not found2314 POST /groups/:id/push_rule2315 when unlicensed2316 behaves like not found when feature is unavailable2317 is expected to respond with numeric status code not_found2318 authorized user2319 when licensed2320 is expected to respond with numeric status code created2321 is expected to change `PushRule.count` by 12322 creates record with appropriate attributes2323 when push rule exists2324 is expected to eq "Group push rule exists, try updating"2325 permissions2326 behaves like allow access to api based on role2327 is expected to be allowed for :admin2328 is expected to be allowed for :owner2329 is expected to be denied for :developer2330 is expected to be denied for :reporter2331 is expected to be denied for :guest2332 is expected to be denied for :anonymous2333 when no rule is specified2334 is expected to include "at least one parameter must be provided"2335 when reject_unsigned_commits is unavailable2336 returns forbidden2337 and reject_unsigned_commits is not set2338 returns created2339 when commit_committer_check is unavailable2340 is expected to respond with numeric status code forbidden2341 and commit_committer_check is not set2342 returns created2343 PUT /groups/:id/push_rule2344 when unlicensed2345 behaves like not found when feature is unavailable2346 is expected to respond with numeric status code not_found2347 authorized user2348 when licensed2349 is expected to respond with numeric status code ok2350 updates attributes as expected2351 when push rule does not exist for group2352 returns not found2353 permissions2354 behaves like allow access to api based on role2355 is expected to be allowed for :admin2356 is expected to be allowed for :owner2357 is expected to be denied for :developer2358 is expected to be denied for :reporter2359 is expected to be denied for :guest2360 is expected to be denied for :anonymous2361 when no rule is specified2362 is expected to include "at least one parameter must be provided"2363 when reject_unsigned_commits is unavailable2364 returns forbidden2365 and reject_unsigned_commits is not set2366 returns status ok2367 when commit_committer_check is unavailable2368 is expected to respond with numeric status code forbidden2369 and commit_committer_check is not set2370 returns status ok2371 DELETE /groups/:id/push_rule2372 authorized user2373 when licensed2374 with group push rule2375 is expected to equal nil2376 when push rule does not exist2377 returns not found2378 when unlicensed2379 behaves like not found when feature is unavailable2380 is expected to respond with numeric status code not_found2381 permissions2382 behaves like allow access to api based on role2383 is expected to be allowed for :admin2384 is expected to be allowed for :owner2385 is expected to be denied for :developer2386 is expected to be denied for :reporter2387 is expected to be denied for :guest2388 is expected to be denied for :anonymous2389Query.project(fullPath).dependencies2390 # order random2391 returns the expected dependency data when performing a well-formed query with an authorized user2392 does not make N+1 queries2393 behaves like sorted paginated query2394 behaves like requires variables2395 shared example requires variables to be set2397 when sorting2398 sorts correctly2399 when paginating2400 paginates correctly2401 with an unauthorized user2402 does not return dependency data2403 when dependencies have no source data2404 returns nil for data which originates from a source2405 when dependencies have no version data2406 returns a nil version2407Projects::Settings::OperationsController2408 GET show2409 with a license2410 with maintainer role2411 behaves like user with read access2412 renders ok2413 behaves like user with read access2414 renders ok2415 behaves like user with read access2416 renders ok2417 without maintainer role2418 behaves like user without read access2419 returns 4042420 behaves like user without read access2421 returns 4042422 behaves like user without read access2423 returns 4042424 behaves like user without read access2425 returns 4042426 behaves like user without read access2427 returns 4042428 behaves like user without read access2429 returns 4042430 behaves like user without read access2431 returns 4042432 behaves like user without read access2433 returns 4042434 behaves like user without read access2435 returns 4042436 when user not logged in2437 behaves like user without read access2438 returns 4042439 behaves like user needs to login2440 redirects for private project2441 behaves like user needs to login2442 redirects for private project2443 without license2444 behaves like user with read access2445 renders ok2446 behaves like user with read access2447 renders ok2448 behaves like user with read access2449 renders ok2450 PATCH update2451 with a license2452 with non maintainer roles2453 with guest role2454 behaves like user without write access2455 does not create status_page_setting2456 behaves like user without write access2457 does not create status_page_setting2458 behaves like user without write access2459 does not create status_page_setting2460 with reporter role2461 behaves like user without write access2462 does not create status_page_setting2463 behaves like user without write access2464 does not create status_page_setting2465 behaves like user without write access2466 does not create status_page_setting2467 with developer role2468 behaves like user without write access2469 does not create status_page_setting2470 behaves like user without write access2471 does not create status_page_setting2472 behaves like user without write access2473 does not create status_page_setting2474 with anonymous user2475 behaves like user without write access2476 does not create status_page_setting2477 behaves like user without write access2478 does not create status_page_setting2479 behaves like user without write access2480 does not create status_page_setting2481 without existing status page setting2482 is expected to be a kind of StatusPage::ProjectSetting(project_id: integer, created_at: datetime_with_timezone, updated_at: datet...ws_secret_key: string, encrypted_aws_secret_key_iv: string, status_page_url: text, aws_secret_key: )2483 with existing status page setting2484 updates the fields2485 respects the model validations2486 deletes the setting if keys removed2487 indident management settings2488 without existing incident management setting2489 is expected to be a kind of IncidentManagement::ProjectIncidentManagementSetting(project_id: integer, create_issue: boolean, send...ry, auto_close_incident: boolean, sla_timer: boolean, sla_timer_minutes: integer, pagerduty_token: )2490 behaves like can set the sla timer settings2491 updates the sla settings2492 with existing incident management setting2493 is expected to be a kind of IncidentManagement::ProjectIncidentManagementSetting(project_id: integer, create_issue: boolean, send...ry, auto_close_incident: boolean, sla_timer: boolean, sla_timer_minutes: integer, pagerduty_token: )2494 behaves like can set the sla timer settings2495 updates the sla settings2496 without a license2497 cannot update sla timer settings2498 behaves like user without write access2499 does not create status_page_setting2500 behaves like user without write access2501 does not create status_page_setting2502 behaves like user without write access2503 does not create status_page_setting2504Groups::AuditEventsController2505 GET #index2506 when authorized owner2508 behaves like when audit_events feature is available2509 renders index with 200 status code2510 tracks search event2511 invokes AuditEventFinder with correct arguments2512 behaves like AuditEventFinder params2513 has the correct params2514 author2515 when no author entity type is specified2516 behaves like AuditEventFinder params2517 has the correct params2518 when the author entity type is specified2519 behaves like AuditEventFinder params2520 has the correct params2521 ordering2522 when no sort order is specified2523 behaves like orders by id descending2524 orders by id descending2525 when sorting by latest events first2526 behaves like orders by id descending2527 orders by id descending2528 when sorting by oldest events first2529 orders by id ascending2530 when sorting by an unsupported sort order2531 behaves like orders by id descending2532 orders by id descending2533 pagination2534 sets instance variables2535 paginates audit events, without casting a count query2536 behaves like Snowplow event tracking with RedisHLL context2537 behaves like Snowplow event tracking2538 is emitted2539 when invalid date2540 created_before: "invalid-date", created_after: nil2541 returns an error2542 created_before: nil, created_after: true2543 returns an error2544 created_before: "2021-13-10", created_after: nil2545 returns an error2546 created_before: nil, created_after: "2021-02-31"2547 returns an error2548 created_before: "2021-03-31", created_after: "2021-02-31"2549 returns an error2550 when date range is greater than limit2551 behaves like a date range error is returned2552 created_after: "2021-01-01", created_before: "2021-02-02"2553 returns an error2554 created_after: "2022-01-31", created_before: nil2555 returns an error2556 behaves like tracking unique visits2557 tracks unique visit if the format is HTML2558 tracks unique visit if DNT is not enabled2559 does not track unique visit if DNT is enabled2560 does not track unique visit if the format is JSON2561 when authorized auditor2563 behaves like when audit_events feature is available2564 renders index with 200 status code2565 tracks search event2566 invokes AuditEventFinder with correct arguments2567 behaves like AuditEventFinder params2568 has the correct params2569 author2570 when no author entity type is specified2571 behaves like AuditEventFinder params2572 has the correct params2573 when the author entity type is specified2574 behaves like AuditEventFinder params2575 has the correct params2576 ordering2577 when no sort order is specified2578 behaves like orders by id descending2579 orders by id descending2580 when sorting by latest events first2581 behaves like orders by id descending2582 orders by id descending2583 when sorting by oldest events first2584 orders by id ascending2585 when sorting by an unsupported sort order2586 behaves like orders by id descending2587 orders by id descending2588 pagination2589 sets instance variables2590 paginates audit events, without casting a count query2591 behaves like Snowplow event tracking with RedisHLL context2592 behaves like Snowplow event tracking2593 is emitted2594 when invalid date2595 created_before: "invalid-date", created_after: nil2596 returns an error2597 created_before: nil, created_after: true2598 returns an error2599 created_before: "2021-13-10", created_after: nil2600 returns an error2601 created_before: nil, created_after: "2021-02-31"2602 returns an error2603 created_before: "2021-03-31", created_after: "2021-02-31"2604 returns an error2605 when date range is greater than limit2606 behaves like a date range error is returned2607 created_after: "2021-01-01", created_before: "2021-02-02"2608 returns an error2609 created_after: "2022-01-31", created_before: nil2610 returns an error2611 behaves like tracking unique visits2612 tracks unique visit if the format is HTML2613 tracks unique visit if DNT is not enabled2614 does not track unique visit if DNT is enabled2615 does not track unique visit if the format is JSON2616 unauthorized2617 renders 4042618TrialsController2619 # order random2620 #select2621 behaves like an authenticated endpoint2622 when not authenticated2623 is expected to redirect to "http://test.host/-/trial_registrations/new"2624 when authenticated2625 is expected to respond with numeric status code ok2626 behaves like a dot-com only feature2627 when not on gitlab.com2628 is expected to respond with numeric status code not_found2629 when on gitlab.com2630 is expected to respond with numeric status code ok2631 #new2632 calls record_experiment_user for the experiments2633 behaves like an authenticated endpoint2634 when not authenticated2635 is expected to redirect to "http://test.host/-/trial_registrations/new"2636 when authenticated2637 is expected to respond with numeric status code ok2638 behaves like a dot-com only feature2639 when not on gitlab.com2640 is expected to respond with numeric status code not_found2641 when on gitlab.com2642 is expected to respond with numeric status code ok2643 #create_lead2644 when not authenticated2645 is expected to redirect to "http://test.host/-/trial_registrations/new?glm_content=_glm_content_&glm_source=_glm_source_"2646 when not on gitlab.com2647 is expected to respond with numeric status code not_found2648 with success2649 is expected to redirect to "/-/trials/select?glm_content=_glm_content_&glm_source=_glm_source_"2650 when user has 1 trial eligible namespace2651 when the ApplyTrialService is successful2652 applies a trial to the namespace2653 tracks for the trial creation2654 is expected to redirect to "http://test.host/namespace-test?trial=true"2655 when the user is `setup_for_company: true`2656 is expected to redirect to "http://test.host/namespace-test?trial=true"2657 when there is a stored_location_for(:user) set2658 is expected to redirect to "/namespace361/project395/-/learn_gitlab/onboarding"2659 when the ApplyTrialService is unsuccessful2660 is expected to render template select2661 with failure2662 is expected to render template new2663 with request params to Lead Service2664 sends appropriate request params2665 confirm email warning2666 with an unconfirmed email address present2667 is expected not to set confirm warning for "unconfirmed@gitlab.com"2668 without an unconfirmed email address present2669 is expected not to set confirm warning for "user906@example.org"2670 #apply2671 calls the ApplyTrialService with correct parameters2672 behaves like an authenticated endpoint2673 when not authenticated2674 is expected to redirect to "http://test.host/-/trial_registrations/new"2675 when authenticated2676 is expected to respond with numeric status code ok2677 behaves like a dot-com only feature2678 when not on gitlab.com2679 is expected to respond with numeric status code not_found2680 when on gitlab.com2681 is expected to respond with numeric status code ok2682 with success2683 is expected to redirect to "/namespace-test?trial=true"2684 tracks the trial creation event2685 with redirect trial user to feature2686 glm_content: "discover-group-security", redirect: :group_security_dashboard_url2687 is expected to redirect to "http://test.host/groups/namespace-test/-/security/dashboard?trial=true"2688 glm_content: "discover-project-security", redirect: :group_security_dashboard_url2689 is expected to redirect to "http://test.host/groups/namespace-test/-/security/dashboard?trial=true"2690 with a new Group2691 creates the Group2692 with failure2693 is expected to render template select2694 does not call the record conversion method for the experiments2695 with a new Group2696 is expected to render template select2697 does not create the Group2698API::Internal::Kubernetes2699 PUT /internal/kubernetes/modules/starboard_vulnerability2700 returns 401 if Authorization header not sent2701 returns 401 if Authorization is for non-existent agent2702 not authenticated2703 returns 4012704 kubernetes_agent_internal_api feature flag disabled2705 returns 4042706 is authenticated for an agent2707 returns ok when a vulnerability is created2708 accepts the same payload twice2709 responds with the created vulnerability's UUID2710 when payload is invalid2711 returns bad request2712 when required parameters are missing2713 missing_param: :vulnerability2714 returns bad request2715 missing_param: :scanner2716 returns bad request2717 when feature is not available2718 returns forbidden for non licensed project2719 POST /internal/kubernetes/modules/starboard_vulnerability/scan_result2720 returns 401 if Authorization header not sent2721 returns 401 if Authorization is for non-existent agent2722 not authenticated2723 returns 4012724 kubernetes_agent_internal_api feature flag disabled2725 returns 4042726 is authenticated for an agent2727 returns ok2728 resolves undetected vulnerabilities2729 marks undetected vulnerabilities as resolved on default branch2730 does not resolve vulnerabilities with other report types2731 does not resolve other projects' vulnerabilities2732 when payload is invalid2733 returns bad request2734 when feature is not available2735 returns forbidden for non licensed project2736 GET /internal/kubernetes/modules/starboard_vulnerability/policies_configuration2737 returns 401 if Authorization header not sent2738 returns 401 if Authorization is for non-existent agent2739 not authenticated2740 returns 4012741 kubernetes_agent_internal_api feature flag disabled2742 returns 4042743 when security_orchestration_policies is not licensed2744 returns 4022745 when security_orchestration_policies is licensed2746 when policies are present2747 returns expected data2748 when policies are empty2749 returns empty array2750Projects::AuditEventsController2751 GET #index2752 when authorized as auditor2753 tracks search event2754 behaves like when audit_events feature is available2755 renders index with 200 status code2756 invokes AuditEventFinder with correct arguments2757 behaves like AuditEventFinder params2758 has the correct params2759 author2760 when no author entity type is specified2761 behaves like AuditEventFinder params2762 has the correct params2763 when the author entity type is specified2764 behaves like AuditEventFinder params2765 has the correct params2766 ordering2767 when no sort order is specified2768 behaves like orders by id descending2769 orders by id descending2770 when sorting by latest events first2771 behaves like orders by id descending2772 orders by id descending2773 when sorting by oldest events first2774 orders by id ascending2775 when sorting by an unsupported sort order2776 behaves like orders by id descending2777 orders by id descending2778 when invalid date2779 created_before: "invalid-date", created_after: nil2780 returns an error2781 created_before: nil, created_after: true2782 returns an error2783 created_before: "2021-13-10", created_after: nil2784 returns an error2785 created_before: nil, created_after: "2021-02-31"2786 returns an error2787 created_before: "2021-03-31", created_after: "2021-02-31"2788 returns an error2789 when date range is greater than limit2790 behaves like a date range error is returned2791 created_after: "2021-01-01", created_before: "2021-02-02"2792 returns an error2793 created_after: "2022-01-31", created_before: nil2794 returns an error2795 behaves like pagination2796 sets instance variables2797 paginates audit events, without casting a count query2798 behaves like when audit_events feature is not available2799 renders 4042800 when authorized as maintainer2801 tracks search event2802 behaves like when audit_events feature is available2803 renders index with 200 status code2804 invokes AuditEventFinder with correct arguments2805 behaves like AuditEventFinder params2806 has the correct params2807 author2808 when no author entity type is specified2809 behaves like AuditEventFinder params2810 has the correct params2811 when the author entity type is specified2812 behaves like AuditEventFinder params2813 has the correct params2814 ordering2815 when no sort order is specified2816 behaves like orders by id descending2817 orders by id descending2818 when sorting by latest events first2819 behaves like orders by id descending2820 orders by id descending2821 when sorting by oldest events first2822 orders by id ascending2823 when sorting by an unsupported sort order2824 behaves like orders by id descending2825 orders by id descending2826 when invalid date2827 created_before: "invalid-date", created_after: nil2828 returns an error2829 created_before: nil, created_after: true2830 returns an error2831 created_before: "2021-13-10", created_after: nil2832 returns an error2833 created_before: nil, created_after: "2021-02-31"2834 returns an error2835 created_before: "2021-03-31", created_after: "2021-02-31"2836 returns an error2837 when date range is greater than limit2838 behaves like a date range error is returned2839 created_after: "2021-01-01", created_before: "2021-02-02"2840 returns an error2841 created_after: "2022-01-31", created_before: nil2842 returns an error2843 behaves like pagination2844 sets instance variables2845 paginates audit events, without casting a count query2846 behaves like when audit_events feature is not available2847 renders 4042848 unauthorized2849 renders 4042850API::EpicIssues2851 GET /groups/:id/epics/:epic_iid/issues2852 when epics feature is disabled2853 returns 403 forbidden error2854 when epics feature is enabled2855 when an error occurs2856 returns 401 unauthorized error for non authenticated user2857 returns 404 not found error for a user without permissions to see the group2858 when the request is correct2859 responds 200 and matches the response schema2860 accepts pagination params2861 returns multiple issues without performing N + 12862 returns multiple issues without performing N + 12863 POST /groups/:id/epics/:epic_iid/issues2864 when epics feature is disabled2865 returns 403 forbidden error2866 when epics feature is enabled2867 when an error occurs2868 returns 401 unauthorized error for non authenticated user2869 returns 404 not found error for a user without permissions to see the group2870 behaves like user with insufficient permissions2871 when user does not have admin_issue_relation permissions for issue2872 returns 403 forbidden error2873 without permissions to read the epic2874 returns 403 forbidden error2875 when issue project is not under the epic group2876 returns an error2877 when the request is correct2878 returns 201 status2879 matches the response schema2880 assigns the issue to the epic2881 DELETE /groups/:id/epics/:epic_iid/issues/:epic_issue_id"2882 when epics feature is disabled2883 returns 403 forbidden error2884 when epics feature is enabled2885 when an error occurs2886 returns 401 unauthorized error for non authenticated user2887 returns 404 not found error for a user without permissions to see the group2888 behaves like user with insufficient permissions2889 when user does not have admin_issue_relation permissions for issue2890 returns 403 forbidden error2891 without permissions to read the epic2892 returns 403 forbidden error2893 when epic_issue association does not include the epic in the url2894 returns 404 not found error2895 when the request is correct2896 returns 200 status2897 matches the response schema2898 removes the association2899 PUT /groups/:id/epics/:epic_iid/issues/:epic_issue_id2900 when epics feature is disabled2901 returns 403 forbidden error2902 when epics feature is enabled2903 when an error occurs2904 returns 401 unauthorized error for non authenticated user2905 returns 404 not found error for a user without permissions to see the group2906 returns 404 not found error for the link of another epic2907 with insufficient permissions2908 returns 403 forbidden error for a user who can not move the issue2909 when the request is correct2910 returns 200 status2911 updates the positions values2912 matches the response schema2913Query.runner(id)2914 upgradeStatus2915 requested by non-paid user2916 with RunnerUpgradeCheck returning :available2917 behaves like runner details fetch operation returning expected upgradeStatus2918 retrieves expected fields2919 when fetching runner releases is disabled2920 retrieves runner data with nil upgrade status2921 requested on an instance with runner_upgrade_management2922 with RunnerUpgradeCheck returning :error2923 behaves like runner details fetch operation returning expected upgradeStatus2924 retrieves expected fields2925 when fetching runner releases is disabled2926 retrieves runner data with nil upgrade status2927 with RunnerUpgradeCheck returning :unavailable2928 behaves like runner details fetch operation returning expected upgradeStatus2929 retrieves expected fields2930 when fetching runner releases is disabled2931 retrieves runner data with nil upgrade status2932 with RunnerUpgradeCheck returning :available2933 behaves like runner details fetch operation returning expected upgradeStatus2934 retrieves expected fields2935 when fetching runner releases is disabled2936 retrieves runner data with nil upgrade status2937 with RunnerUpgradeCheck returning :recommended2938 behaves like runner details fetch operation returning expected upgradeStatus2939 retrieves expected fields2940 when fetching runner releases is disabled2941 retrieves runner data with nil upgrade status2942 with RunnerUpgradeCheck returning :invalid_version2943 behaves like runner details fetch operation returning expected upgradeStatus2944 retrieves expected fields2945 when fetching runner releases is disabled2946 retrieves runner data with nil upgrade status2947 requested by paid user2948 with RunnerUpgradeCheck returning :unavailable2949 behaves like runner details fetch operation returning expected upgradeStatus2950 retrieves expected fields2951 when fetching runner releases is disabled2952 retrieves runner data with nil upgrade status2953 with RunnerUpgradeCheck returning :available2954 behaves like runner details fetch operation returning expected upgradeStatus2955 retrieves expected fields2956 when fetching runner releases is disabled2957 retrieves runner data with nil upgrade status2958 with RunnerUpgradeCheck returning :recommended2959 behaves like runner details fetch operation returning expected upgradeStatus2960 retrieves expected fields2961 when fetching runner releases is disabled2962 retrieves runner data with nil upgrade status2963 integration test with Gitlab::Ci::RunnerUpgradeCheck2964 retrieves expected fields2965 jobsStatistics2966 requested by an administrator2967 when licensed2968 with builds2969 retrieves expected fields2970 with no builds2971 retrieves expected fields with nil values2972 when unlicensed2973 with builds2974 is expected to be nil2975Projects::Integrations::Jira::IssuesController2976 GET #index2977 renders the "index" template2978 tracks usage2979 when jira_issues_integration licensed feature is not available2980 behaves like an action that returns a 4042981 returns 4042982 when jira integration is disabled2983 behaves like an action that returns a 4042984 returns 4042985 when jira integration does not exist2986 behaves like an action that returns a 4042987 returns 4042988 behaves like unauthorized when external service denies access2989 allows access when the authorization service allows it2990 allows access when the authorization service denies it2991 behaves like Snowplow event tracking with RedisHLL context2992 behaves like Snowplow event tracking2993 is emitted2994 when project has moved2995 redirects to the new issue tracker from the old one2996 json request2997 returns a list of serialized jira issues2998 renders bad request for IntegrationError2999 renders bad request for RequestError3000 sets pagination headers3001 when parameters are passed3002 when there are no params3003 behaves like proper parameter values3004 properly set the values3005 when pagination params3006 behaves like proper parameter values3007 properly set the values3008 when state is closed3009 behaves like proper parameter values3010 properly set the values3011 when status param3012 behaves like proper parameter values3013 properly set the values3014 when labels param3015 behaves like proper parameter values3016 properly set the values3017 when author_username param3018 behaves like proper parameter values3019 properly set the values3020 when assignee_username param3021 behaves like proper parameter values3022 properly set the values3023 when invalid params3024 behaves like proper parameter values3025 properly set the values3026 GET #show3027 when jira_issues_integration licensed feature is not available3028 returns 404 status3029 when jira_issues_integration licensed feature is available3030 renders `show` template3031 returns JSON response3032 when the description needs redaction3033 redacts confidential information from the issue JSON response3034 when the JSON fetched from Jira contains HTML3035 escapes the HTML in issue titles and references3036 when issue was not found3037 returns 404 status3038 returns 404 JSON response3039API::GroupRepositoryStorageMoves3040 behaves like repository_storage_moves API3041 GET /groups/:id/repository_storage_moves3042 behaves like get container repository storage move list3043 returns container repository storage moves3044 avoids N+1 queries3045 returns the most recently created first3046 permissions3047 is expected to be allowed for :admin3048 is expected to be denied for :user3049 non-existent container3050 returns not found3051 GET /groups/:id/repository_storage_moves/:repository_storage_move_id3052 behaves like get single container repository storage move3053 returns a container repository storage move3054 non-existent container repository storage move3055 returns not found3056 permissions3057 is expected to be allowed for :admin3058 is expected to be denied for :user3059 non-existent container3060 returns not found3061 GET /group_repository_storage_moves3062 behaves like get container repository storage move list3063 returns container repository storage moves3064 avoids N+1 queries3065 returns the most recently created first3066 permissions3067 is expected to be allowed for :admin3068 is expected to be denied for :user3069 GET /group_repository_storage_moves/:repository_storage_move_id3070 behaves like get single container repository storage move3071 returns a container repository storage move3072 non-existent container repository storage move3073 returns not found3074 permissions3075 is expected to be allowed for :admin3076 is expected to be denied for :user3077 POST /groups/:id/repository_storage_moves3078 schedules a container repository storage move3079 permissions3080 is expected to be allowed for :admin3081 is expected to be denied for :user3082 destination_storage_name is missing3083 schedules a container repository storage move3084 when container does not exist3085 returns not found3086 POST /group_repository_storage_moves3087 schedules the worker3088 source_storage_name is invalid3089 gives an error3090 destination_storage_name is missing3091 schedules the worker3092 destination_storage_name is invalid3093 gives an error3094 normal user3095 is expected to be denied for :user3096Query.vulnerabilities.sort3097 sort by severity3098 sort by SEVERITY_ASC3099 behaves like sorted paginated query3100 behaves like requires variables3101 shared example requires variables to be set3103 when sorting3104 sorts correctly3105 when paginating3106 paginates correctly3107 sort by SEVERITY_DESC3108 behaves like sorted paginated query3109 behaves like requires variables3110 shared example requires variables to be set3112 when sorting3113 sorts correctly3114 when paginating3115 paginates correctly3116 sort by severity3117 sort by SEVERITY_ASC3118 behaves like sorted paginated query3119 behaves like requires variables3120 shared example requires variables to be set3122 when sorting3123 sorts correctly3124 when paginating3125 paginates correctly3126 sort by SEVERITY_DESC3127 behaves like sorted paginated query3128 behaves like requires variables3129 shared example requires variables to be set3131 when sorting3132 sorts correctly3133 when paginating3134 paginates correctly3135API::ProjectAliases3136 without premium license3137 GET /project_aliases3138 returns 4033139 GET /project_aliases/:name3140 returns 4033141 POST /project_aliases3142 returns 4033143 DELETE /project_aliases/:name3144 returns 4033145 with premium license3146 GET /project_aliases3147 behaves like GitLab administrator only API endpoint3148 anonymous user3149 returns 4013150 regular user3151 returns 4033152 admin3153 returns the project aliases list3154 GET /project_aliases/:name3155 behaves like GitLab administrator only API endpoint3156 anonymous user3157 returns 4013158 regular user3159 returns 4033160 admin3161 existing project alias3162 returns the project alias3163 non-existent project alias3164 returns 4043165 POST /project_aliases3166 behaves like GitLab administrator only API endpoint3167 anonymous user3168 returns 4013169 regular user3170 returns 4033171 admin3172 existing project alias3173 returns 4003174 non-existent project alias3175 returns 2003176 DELETE /project_aliases/:name3177 behaves like GitLab administrator only API endpoint3178 anonymous user3179 returns 4013180 regular user3181 returns 4033182 admin3183 existing project alias3184 returns 2043185 non-existent project alias3186 returns 4043187SmartcardController3188 #auth3189 with smartcard_auth enabled3190 redirects to extract certificate3191 with provider param3192 forwards the provider param3193 with smartcard_auth disabled3194 renders 4043195 #extract_certificate3196 with smartcard_auth enabled3197 redirects to verify certificate3198 with provider param3199 forwards the provider param3200 missing NGINX client certificate header3201 renders unauthorized3202 request from different host / port3203 renders 4043204 with smartcard_auth disabled3205 renders 4043206 #verify_certificate3207 Smartcard::Certificate3208 behaves like a client certificate authentication3209 with smartcard_auth enabled3210 allows sign in3211 redirects to root3212 logs audit event3213 stores active session3214 user does not exist3215 signup allowed3216 creates user3217 signup disabled3218 renders 4013219 missing client certificate param3220 renders unauthorized3221 with smartcard_auth disabled3222 renders 4043223 user already exists3224 finds existing user3225 certificate header formats from NGINX3226 escaped format3227 behaves like valid certificate header3228 authenticates user3229 deprecated format3230 behaves like valid certificate header3231 authenticates user3232 Smartcard::LdapCertificate3233 sets correct parameters for LDAP search3234 behaves like a client certificate authentication3235 with smartcard_auth enabled3236 allows sign in3237 redirects to root3238 logs audit event3239 stores active session3240 user does not exist3241 signup allowed3242 creates user3243 signup disabled3244 renders 4013245 missing client certificate param3246 renders unauthorized3247 with smartcard_auth disabled3248 renders 4043249 user already exists3250 finds existing user3251 user has a different identity3252 doesn't login a user3253 doesn't create a new user entry either3254Projects::Settings::AccessTokensController3255 POST /:namespace/:project/-/settings/access_tokens3256 behaves like feature unavailable3257 with a free plan3258 is expected to respond with numeric status code not_found3259 when user is not a maintainer with a paid group plan3260 is expected to respond with numeric status code not_found3261 behaves like POST resource access tokens available3262 renders JSON with a token3263 creates resource access token3264 creates project bot user3265 is expected to change `User.count` by 13266 is expected to change `PersonalAccessToken.count` by 13267 when unsuccessful3268 does not create the token3269 does not add the project bot as a member3270 does not create the project bot user3271 renders JSON with an error3272 PUT /:namespace/:project/-/settings/access_tokens/:id3273 behaves like feature unavailable3274 with a free plan3275 is expected to respond with numeric status code not_found3276 when user is not a maintainer with a paid group plan3277 is expected to respond with numeric status code not_found3278 behaves like PUT resource access tokens available3279 calls delete user worker3280 removes membership of bot user3281 creates GhostUserMigration records to handle migration in a worker3282 when unsuccessful3283 shows a failure alert3284Groups::Analytics::ProductivityAnalyticsController3285 usage counter3286 increments usage counter3287 doesn't increment the usage counter when JSON request is sent3288 GET show3289 when user is not authorized to view productivity analytics3290 renders 403, forbidden error3291 when feature is not licensed3292 renders forbidden error3293 when the feature is licensed3294 behaves like tracking unique visits3295 tracks unique visit if the format is HTML3296 tracks unique visit if DNT is not enabled3297 does not track unique visit if DNT is enabled3298 does not track unique visit if the format is JSON3299 behaves like Snowplow event tracking with RedisHLL context3300 behaves like Snowplow event tracking3301 is emitted3302 when user is an auditor3303 allows access3304 GET show.json3305 when feature is not licensed3306 renders forbidden error3307 when invalid params are given3308 returns 422, unprocessable_entity3309 without group_id specified3310 renders 403, forbidden3311 with non-existing group_id3312 renders 404, not_found3313 with non-existing project_id3314 renders 404, not_found3315 with group specified3316 for list of MRs3317 serializes whatever analytics returns with ProductivityAnalyticsMergeRequestEntity3318 sets pagination headers3319 when project from a sub-group is requested3320 succeeds3321 for scatterplot charts3322 renders whatever analytics returns for scatterplot3323 for histogram charts3324 renders whatever analytics returns for histogram3325Repositories::GitHttpController3326 POST #git_upload_pack3327 geo pulls a personal snippet3328 allows access3329 does not allow access if scope is wrong3330 GET #info_refs3331 smartcard session required3332 user with a smartcard session3333 allows access3334 user without a smartcard session3335 does not allow access3336 with the setting off3337 allows access3338 POST #git_receive_pack3339 when node is a primary Geo one3340 with projects3341 behaves like triggers Geo3342 executes ::Gitlab::Geo::GitPushHttp3343 returns 2003344 with a project wiki3345 behaves like triggers Geo3346 executes ::Gitlab::Geo::GitPushHttp3347 returns 2003348 with a group wiki3349 behaves like triggers Geo3350 executes ::Gitlab::Geo::GitPushHttp3351 returns 2003352 with a personal snippet3353 behaves like triggers Geo3354 executes ::Gitlab::Geo::GitPushHttp3355 returns 2003356 with a project snippet3357 behaves like triggers Geo3358 executes ::Gitlab::Geo::GitPushHttp3359 returns 2003360API::Dependencies3361 GET /projects/:id/dependencies3362 behaves like a gitlab tracking event3363 creates a gitlab tracking event view_dependencies3364 with an authorized user with proper permissions3365 returns paginated dependencies3366 returns vulnerabilities info3367 when the license_scanning_sbom_scanner feature flag is false3368 include license information to response3369 when the license_scanning_sbom_scanner feature flag is true3370 include license information to response3371 with nil package_manager3372 returns no dependencies3373 with filter options3374 returns yarn dependencies3375 with wrong key3376 returns error message3377 with pagination params3378 returns paginated dependencies3379 without permissions to see vulnerabilities3380 returns empty vulnerabilities3381 without permissions to see licenses3382 returns empty licenses3383 with authorized user without read permissions3384 responds with 403 Forbidden3385 with no project access3386 responds with 404 Not Found3387Projects::Security::SastConfigurationController3388 GET #show3389 when the "Security and Compliance" feature is disabled3390 is expected to respond with numeric status code not_found3391 behaves like SecurityDashboardsPermissions3392 access for all actions3393 when security dashboard feature is disabled3394 returns 4043395 when security dashboard feature is enabled3396 when user has guest access3397 denies access3398 when user has developer access3399 grants access3400 with authorized user3401 renders the show template3402 renders the side navigation with the correct submenu set as active3403 with unauthorized user3404 returns a 4033405Groups::Security::PoliciesController3406 GET #edit3407 with authorized user3408 when feature is licensed3409 renders the edit page3410 does not contain any approver data3411 with scan result policy type3412 renders the edit page with approvers data3413 when type is missing3414 redirects to #index3415 when type is invalid3416 redirects to #index3417 when id does not exist3418 returns 4043419 when there is no policy configuration3420 returns 4043421 when policy yaml file does not exist3422 redirects to project page3423 when policy yaml is invalid3424 redirects to policy file3425 when feature is not licensed3426 returns 4043427 with unauthorized user3428 returns 4043429 with anonymous user3430 returns 4043431 GET #index3432 user_role: :reporter, license: true, status: :not_found3433 is expected to respond with numeric status code not_found3434 user_role: :developer, license: true, status: :ok3435 is expected to respond with numeric status code ok3436 user_role: :developer, license: false, status: :not_found3437 is expected to respond with numeric status code not_found3438 GET #schema3439 returns JSON schema3440API::DependencyListExports3441 # order random3442 POST /projects/:id/dependency_list_exports3443 with user without permission3444 returns 4033445 with user with enough permission3446 with license feature disabled3447 returns 4033448 with license feature enabled3449 creates and returns a dependency_list_export3450 GET /projects/:id/dependency_list_exports/:export_id3451 with user without permission3452 returns 4033453 with user with enough permission3454 with license feature disabled3455 returns 4033456 with license feature enabled3457 fetches and returns a dependency_list_export3458 with dependency list export not finished3459 sets polling and returns accepted3460 GET /projects/:id/dependency_list_exports/:export_id/download3461 with user without permission3462 returns 4033463 with user with enough permission3464 with license feature disabled3465 returns 4033466 with license feature enabled3467 returns file content3468 with dependency list export not finished3469 returns 4043470Updating an Iteration3471 when the user does not have permission3472 does not update iteration3473 behaves like a mutation that returns a top-level access error3474 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"3475 when the user has permission3476 when iterations are disabled3477 behaves like a mutation that returns top-level errors3478 is expected to include "The resource that you are attempting to access does not exist or you don't have permission to perform this action"3479 when iterations are enabled3480 updates the iteration3481 when updating attributes on an automatic cadence3482 when updating deprecated attributes3483 argument: :title, argument_value: "updated title"3484 behaves like a mutation that returns top-level errors3485 is expected to contain exactly "Manual iteration updates are deprecated, only `description` updates will be allowed in the future"3486 argument: :start_date, argument_value: "2023-03-23"3487 behaves like a mutation that returns top-level errors3488 is expected to contain exactly "Manual iteration updates are deprecated, only `description` updates will be allowed in the future"3489 argument: :due_date, argument_value: "2023-04-06"3490 behaves like a mutation that returns top-level errors3491 is expected to contain exactly "Manual iteration updates are deprecated, only `description` updates will be allowed in the future"3492 when updating description3493 allows updating the description of an iteration3494 when updating title3495 title_before: nil, title_after: "abc", expected_title: "abc"3496 updates an iteration3497 title_before: "abc", title_after: "def", expected_title: "def"3498 updates an iteration3499 when updating dates3500 updates the iteration with date in the past3501 when another iteration with given dates overlap3502 behaves like a mutation that returns errors in the response3503 is expected to contain exactly "Dates cannot overlap with other existing Iterations within this iterations cadence"3504 when given a raw model id (backward compatibility)3505 updates the iteration3506 when the list of attributes is empty3507 does not update the iteration3508 behaves like a mutation that returns top-level errors3509 is expected to contain exactly "The list of iteration attributes is empty"3510API::GroupVariables3511 GET /groups/:id/variables/:key3512 when there are two variables with the same key on different environments3513 when filter[environment_scope] is not passed3514 returns 4093515 when filter[environment_scope] is passed3516 returns the variable3517 when wrong filter[environment_scope] is passed3518 returns not_found3519 when there is only one variable with provided key3520 returns not_found3521 POST /groups/:id/variables3522 scoped variables3523 :group_scoped_ci_variables licensed feature is available3524 creates a variable with the provided environment scope3525 a variable with the same key and scope exists already3526 does not create a variable3527 :group_scoped_ci_variables licensed feature is not available3528 creates a variable, but does not use the provided environment scope3529 a variable with the same key and scope exists already3530 does not create a variable3531 PUT /groups/:id/variables/:key3532 scoped variables3533 :group_scoped_ci_variables licensed feature is available3534 updates the variable3535 a variable with the same key and scope exists already3536 does not update the variable3537 :group_scoped_ci_variables licensed feature is not available3538 does not update the variable3539Projects::Security::ApiFuzzingConfigurationController3540 when the "Security and Compliance" feature is disabled3541 is expected to respond with numeric status code not_found3542 GET #show3543 behaves like SecurityDashboardsPermissions3544 access for all actions3545 when security dashboard feature is disabled3546 returns 4043547 when security dashboard feature is enabled3548 when user has guest access3549 denies access3550 when user has developer access3551 grants access3552 with authorized user3553 renders the show template3554 renders the side navigation with the correct submenu set as active3555 with unauthorized user3556 returns a 4033557getting merge access levels for a branch protection3558 # order random3559 behaves like a GraphQL query for access levels3560 when request AccessLevel type objects as a guest user3561 is expected not to be present3562 behaves like a working graphql query3563 returns a successful response3564 when request AccessLevel type objects as a maintainer3565 query3566 avoids N+1 queries3567 response3568 returns all the access level attributes3569 behaves like a working graphql query3570 returns a successful response3571 when request AccessLevel type objects as a maintainer3572 query3573 avoids N+1 queries3574 response3575 returns all the access level attributes3576 behaves like a working graphql query3577 returns a successful response3578API::ProtectedTags3579 GET /projects/:id/protected_tags3580 returns user and group ids for the access levels3581 GET /projects/:id/protected_tags/:tag3582 returns user and group ids for the access levels3583 POST /projects/:id/protected_tags3584 with granular access3585 can protect a tag while allowing an individual user to create tags3586 can protect a tag while allowing a group to create tags3587 avoids creating default access levels unless necessary3588 when protected_refs_for_users feature is not available3589 cannot protect a tag for a user or group only3590Running a DAST Scan3591 behaves like an on-demand scan mutation when user cannot run an on-demand scan3592 when a user does not have access to the project3593 behaves like a mutation that returns a top-level access error3594 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"3595 when a user does not have access to run a dast scan on the project3596 behaves like a mutation that returns a top-level access error3597 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"3598 behaves like an on-demand scan mutation when user can run an on-demand scan3599 returns an empty errors array3600 returns a pipeline_url containing the correct path3601 when on demand scan licensed feature is not available3602 behaves like a mutation that returns a top-level access error3603 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"3604 when dast_scanner_profile_id is provided3605 returns an empty errors array3606 when wrong type of global id is passed3607 behaves like a mutation that returns top-level errors3608 is expected to eq ["Variable $dastOnDemandScanCreateInput of type DastOnDemandScanCreateInput! was provided invalid val...rofileId (\"gid://gitlab/DastSiteProfile/1\" does not represent an instance of DastScannerProfile)"]3609 when pipeline creation fails3610 behaves like a mutation that returns errors in the response3611 is expected to contain exactly "full error messages"3612Emails::AdminNotification3613 user_auto_banned_email3614 is sent to the alerted user3615 has the correct subject3616 includes the reason3617 includes the scope of the ban3618 includes a link to unban the user3619 includes a link to change the settings3620 includes the email reason3621 behaves like an email sent from GitLab3622 has the characteristics of an email sent from GitLab3623 behaves like it should not have Gmail Actions links3624 is expected not to have body including "ViewAction"3625 behaves like a user cannot unsubscribe through footer link3626 does not have a List-Unsubscribe header or a body link3627 behaves like appearance header and footer enabled3628 contains header and footer3629 behaves like appearance header and footer not enabled3630 does not contain header and footer3631 when threshold is 1 and interval is 1 minute3632 uses singular form3633 when interval is less than a minute3634 uses the correct unit3635 when auto-ban is disabled3636 does not include the scope of the ban3637 does not include a link to unban the user3638 when scoped to a group3639 includes the scope of the ban3640 includes a link to unban the user3641 includes a link to change the settings3642 when alerted user does not exist anymore3643 behaves like no email is sent3644 does not send an email3645API::AuditEvents3646 Unique usage tracking3647 after calling all audit_events APIs as a single licensed user3648 tracks 3 separate events3649 reports one unique event3650 GET /audit_events3651 when authenticated, as a user3652 behaves like 403 response3653 returns 4033654 when authenticated, as an admin3655 audit events feature is not available3656 behaves like 403 response3657 returns 4033658 audit events feature is available3659 returns 200 response3660 includes the correct pagination headers3661 parameters3662 keyset pagination3663 paginates the records correctly3664 on making requests with unsupported ordering structure3665 returns error3666 entity_type parameter3667 returns audit events of the provided entity type3668 entity_id parameter3669 returns audit_events of the provided entity id3670 requires entity_type parameter to be present3671 behaves like 400 response3672 returns 4003673 created_before parameter3674 returns audit events created before the given parameter3675 created_after parameter3676 returns audit events created after the given parameter3677 attributes3678 exposes the right attributes3679 GET /audit_events/:id3680 when authenticated, as a user3681 behaves like 403 response3682 returns 4033683 when authenticated, as an admin3684 audit events feature is not available3685 behaves like 403 response3686 returns 4033687 audit events feature is available3688 audit event exists3689 returns 200 response3690 attributes3691 exposes the right attributes3692 audit event does not exist3693 behaves like 404 response3694 returns 4043695Projects::Quality::TestCasesController3696 GET3697 #index3698 behaves like test case action3699 with authorized user3700 when feature is available3701 renders the template3702 when feature is not available3703 returns 4043704 with unauthorized user3705 when feature is available3706 returns 4043707 with anonymous user3708 returns 3023709 #new3710 behaves like test case action3711 with authorized user3712 when feature is available3713 renders the template3714 when feature is not available3715 returns 4043716 with unauthorized user3717 when feature is available3718 returns 4043719 with anonymous user3720 returns 3023721 #show3722 behaves like test case action3723 with authorized user3724 when feature is available3725 renders the template3726 when feature is not available3727 returns 4043728 with unauthorized user3729 when feature is available3730 returns 4043731 with anonymous user3732 returns 3023733 when feature is enabled and user has access3734 assigns test case related variables3735 when test case is not found3736 returns 4043737getting Alert Management HTTP Integrations3738 with integrations3739 without project permissions3740 is expected to be nil3741 behaves like a working graphql query3742 returns a successful response3743 with developer permissions3744 is expected to eq []3745 behaves like a working graphql query3746 returns a successful response3747 with maintainer permissions3748 when no extra params given3749 is expected to eq 23750 returns the correct properties of the integrations3751 behaves like a working graphql query3752 returns a successful response3753 when HTTP Integration ID is given3754 returns the correct properties of the integration3755 behaves like a working graphql query3756 returns a successful response3757 behaves like GraphQL query with several integrations requested3758 when several HTTP integrations requested3759 returns the correct properties of the integrations3760 batches queries3761Projects::InsightsController3762 when insights configuration project cannot be read by current user3763 GET #show.html3764 behaves like 404 status3765 returns 404 status3766 GET #show.json3767 behaves like 404 status3768 returns 404 status3769 POST #query3770 behaves like 404 status3771 returns 404 status3772 when insights configuration project can be read by current user3773 GET #show.html3774 behaves like 200 status3775 returns 200 status3776 GET #show.json3777 behaves like 200 status3778 returns 200 status3779 POST #query.json3780 behaves like 200 status3781 returns 200 status3782 when using the legacy format3783 behaves like 200 status3784 returns 200 status3785 GET #show3786 behaves like tracking unique visits3787 tracks unique visit if the format is HTML3788 tracks unique visit if DNT is not enabled3789 does not track unique visit if DNT is enabled3790 does not track unique visit if the format is JSON3791 behaves like Snowplow event tracking with RedisHLL context3792 behaves like Snowplow event tracking3793 is emitted3794Emails::Requirements3795 #import_requirements_csv_email3796 shows number of successful requirements imported3797 shows error when file is invalid3798 shows line numbers with errors3799 with header and footer3800 behaves like appearance header and footer enabled3801 contains header and footer3802 behaves like appearance header and footer not enabled3803 does not contain header and footer3804 #requirements_csv_email3805 is expected to eq "project507 | Exported requirements"3806 is expected to contain exactly "user1224@example.org"3807 is expected to have text "Your CSV export of 10 requirements from project"3808 is expected to have text "Your CSV export of 10 requirements from project"3809 when truncated3810 is expected to have text "This attachment has been truncated to avoid exceeding the maximum allowed attachment size of 15 MB."3811Projects::EnvironmentsController3812 GET #show3813 deployment approvals3814 preloads approvals their authors3815 #GET terminal3816 when environment is protected3817 when user does not have access to it3818 responds with access denied3819 when user has access to it3820 is successful3821 when environment is not protected3822 is successful3823 POST #cancel_auto_stop3824 when environment is set as auto-stop3825 behaves like successful response for #cancel_auto_stop3826 when request is html3827 redirects to show page3828 expires etag caching3829 when request is js3830 responds as ok3831 expires etag caching3832 when the environment is protected3833 shows not found3834Creating a new HTTP Integration3835 stores the custom mapping params3836 behaves like creating a new HTTP integration3837 creates a new integration3838 without required argument project_path3839 behaves like an invalid argument to the mutation3840 behaves like a mutation that returns top-level errors3841 is expected to contain exactly (include "invalid value for projectPath")3842 without required argument active3843 behaves like an invalid argument to the mutation3844 behaves like a mutation that returns top-level errors3845 is expected to contain exactly (include "invalid value for active")3846 without required argument name3847 behaves like an invalid argument to the mutation3848 behaves like a mutation that returns top-level errors3849 is expected to contain exactly (include "invalid value for name")3850 with the custom mappings feature unavailable3851 behaves like ignoring the custom mapping3852 creates integration without the custom mapping params3853 behaves like validating the payload_example3854 validates the payload_example size3855 with invalid payloadExample attribute3856 responds with errors3857 behaves like validating the payload_attribute_mappings3858 with invalid payloadAttributeMapping attribute does not contain fieldName3859 responds with errors3860 with invalid payloadAttributeMapping attribute does not contain path3861 responds with errors3862 with invalid payloadAttributeMapping attribute does not contain type3863 responds with errors3864Creating a DAST Site Token3865 behaves like an on-demand scan mutation when user cannot run an on-demand scan3866 when a user does not have access to the project3867 behaves like a mutation that returns a top-level access error3868 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"3869 when a user does not have access to run a dast scan on the project3870 behaves like a mutation that returns a top-level access error3871 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"3872 behaves like an on-demand scan mutation when user can run an on-demand scan3873 returns an empty errors array3874 deletes dast_site_validations where state=passed3875 when on demand scan licensed feature is not available3876 behaves like a mutation that returns a top-level access error3877 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"3878Query.project(fullPath).pipelines.dastProfile3879 when feature is not licensed3880 does not return dast profile data3881 when feature is licensed3882 when user is not member of the project3883 does not return dast profile data3884 when user is member of the project3885 returns the dast profile data3886 avoids N+1 queries (FAILED - 1)3887Assigns scan execution policy project to a project/namespace3888 for project3889 behaves like assigns security policy project3890 when licensed feature is available3891 when user is an owner of the container3892 assigns the security policy project3893 when user is not an owner3894 behaves like a mutation that returns top-level errors3895 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"3896 when policy_project_id is invalid3897 behaves like a mutation that returns top-level errors3898 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"3899 when feature is not licensed3900 behaves like a mutation that returns top-level errors3901 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"3902 for namespace3903 behaves like assigns security policy project3904 when licensed feature is available3905 when user is an owner of the container3906 assigns the security policy project3907 when user is not an owner3908 behaves like a mutation that returns top-level errors3909 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"3910 when policy_project_id is invalid3911 behaves like a mutation that returns top-level errors3912 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"3913 when feature is not licensed3914 behaves like a mutation that returns top-level errors3915 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"3916API::RemoteMirrors3917 # order random3918 POST /projects/:id/remote_mirrors3919 when creating a remote mirror3920 with only_protected_branches and mirror_branch_regex3921 returns 400 error3922 with mirror_branch_regex3923 succeeds3924 when feature flag is disabled3925 succeeds3926 PUT /projects/:id/remote_mirrors/:mirror_id3927 when enabling only_protected_branches3928 removes mirror_branch_regex3929 when disabling only_protected_branches3930 with only_protected_branches enabled3931 disables protected branches mirroring3932 with only_protected_branches disabled3933 does not remove mirror_branch_regex3934 when setting mirror_branch_regex3935 disables protected branches mirroring3936 when removing mirror_branch_regex3937 succeeds3938 when feature flag is disabled3939 removes mirror_branch_regex3940API::Files3941 POST /projects/:id/repository/files/:file_path3942 with an exceeded namespace storage limit3943 rejects the request3944 PUT /projects/:id/repository/files/:file_path3945 with an exceeded namespace storage limit3946 rejects the request3947 DELETE /projects/:id/repository/files/:file_path3948 with an exceeded namespace storage limit3949 rejects the request3950Creating an Epic3951 when the user does not have permission3952 does not create epic3953 behaves like a mutation that returns a top-level access error3954 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"3955 when the user has permission3956 when epics are disabled3957 behaves like a mutation that returns top-level errors3958 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"3959 when epics are enabled3960 creates the epic3961 when using a named color3962 sets the color correctly3963 the color is invalid3964 reports a coercion error3965 when there are ActiveRecord validation errors3966 does not create the epic3967 behaves like a mutation that returns errors in the response3968 is expected to contain exactly "Title can't be blank"3969 when the list of attributes is empty3970 does not create the epic3971 behaves like a mutation that returns top-level errors3972 is expected to contain exactly "The list of epic attributes is empty"3973Mutations::Boards::Epics::Create3974 when the user does not have permission3975 behaves like a mutation that returns a top-level access error3976 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"3977 behaves like does not create an epic3978 is expected not to change `Board.count`3979 when the user has permission3980 when all arguments are given3981 when everything is ok3982 creates the epic3983 returns the created epic3984 when arguments are nil resulting in a top level error3985 behaves like does not create an epic3986 is expected not to change `Board.count`3987 behaves like a mutation that returns top-level errors3988 is expected to include /boardId \(Expected value to not be null\)/3989 when argument is blank resulting in an ActiveRecord error3990 returns an error3991 behaves like does not create an epic3992 is expected not to change `Board.count`3993 when arguments are missing3994 behaves like a mutation that returns top-level errors3995 is expected to include /boardId \(Expected value to not be null\)/3996 behaves like does not create an epic3997 is expected not to change `Board.count`3998Projects::Analytics::MergeRequestAnalyticsController3999 GET #show4000 is expected to be successful4001 behaves like tracking unique visits4002 tracks unique visit if the format is HTML4003 tracks unique visit if DNT is not enabled4004 does not track unique visit if DNT is enabled4005 does not track unique visit if the format is JSON4006 behaves like Snowplow event tracking with RedisHLL context4007 behaves like Snowplow event tracking4008 is emitted4009 when license is missing4010 is expected to respond with numeric status code not_found4011 when the user has no access to the group4012 is expected to respond with numeric status code not_found4013 when requesting HTML4014 renders the side navigation with the correct submenu set as active4015API::Analytics::ProductAnalytics4016 # order random4017 GET projects/:id/product_analytics/request/dry-run4018 behaves like well behaved cube query4019 when current user has guest project access4020 returns an unauthorized error4021 when current user is a project developer4022 returns a 2004023 GET projects/:id/product_analytics/meta4024 behaves like well behaved cube query4025 when current user has guest project access4026 returns an unauthorized error4027 when current user is a project developer4028 returns a 2004029 GET projects/:id/product_analytics/funnels4030 behaves like well behaved cube query4031 when current user has guest project access4032 returns an unauthorized error4033 when current user is a project developer4034 returns a 2004035 GET projects/:id/product_analytics/request/load4036 behaves like well behaved cube query4037 when current user has guest project access4038 returns an unauthorized error4039 when current user is a project developer4040 returns a 2004041Destroy an external audit event destination header4042 when feature is licensed4043 when current user is a group owner4044 destroys the header4045 when header ID belongs to a different destination4046 behaves like a mutation that does not destroy a header4047 does not destroy the destination4048 when current user is a group maintainer4049 behaves like a mutation that does not destroy a header4050 does not destroy the destination4051 when current user is a group developer4052 behaves like a mutation that does not destroy a header4053 does not destroy the destination4054 when current user is a group guest4055 behaves like a mutation that does not destroy a header4056 does not destroy the destination4057 when feature is unlicensed4058 does not destroy the header4059 behaves like a mutation on an unauthorized resource4060 behaves like a mutation that returns top-level errors4061 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"4062Admin::LicensesController4063 Upload license4064 redirects back when no license is entered/uploaded4065 renders new with an alert when an invalid license is entered/uploaded4066 redirects to the subscription page when a valid license is entered/uploaded4067 when the license is for a cloud license4068 with offline cloud license4069 redirects to the subscription page when a valid license is entered/uploaded4070 with online cloud license4071 redirects back4072 Trials4073 redirects to the subscription page when a valid trial license is entered/uploaded4074 POST sync_seat_link4075 with a cloud license4076 returns a success response4077 without a cloud license4078 returns a failure response4079 DELETE destroy4080 with a cloud license4081 behaves like license removal4082 removes the license4083 with a legacy license4084 behaves like license removal4085 removes the license4086Groups::ClustersController4087 GET #environments4088 avoids N+1 database queries4089Setting assignees of a merge request4090 adds the assignees to the merge request4091 with assignees already assigned4092 removes assignees not in the list4093 when passing append as true4094 does not remove users not in the list4095 performance4096 is scalable4097getting Alert Management Integrations4098 with integrations4099 without project permissions4100 is expected to be nil4101 behaves like a working graphql query4102 returns a successful response4103 with project permissions4104 is expected to eq 34105 returns the correct properties of the integrations4106 behaves like a working graphql query4107 returns a successful response4108Groups::IssuesController4109 # order random4110 POST #bulk_update4111 when group bulk edit feature is not available4112 returns a 404 status4113 when group bulk edit feature is enabled4114 updates attributes for selected issues4115 when setting arguments to null or none4116 does not unset arguments4117 when assignee_ids contains only null elements4118 does not unset assignees4119Setting the epic of an issue4120 returns an error if the user is not allowed to update the issue4121 returns an error if issue can not be updated4122 promotes the issue to epic4123 when epic has to be in a different group4124 when user cannot create epic in new group4125 does not promote the issue to epic4126 when user can create epic in new group4127 promotes the issue to epic4128API::Internal::UpcomingReconciliations4129 PUT /internal/upcoming_reconciliations4130 when unauthenticated4131 returns authentication error4132 when authenticated as user4133 returns authentication error4134 when authenticated as admin4135 returns success4136 when namespace_id is empty4137 returns error4138 when update service failed4139 returns error4140 when not gitlab.com4141 returns 403 error4142 DELETE /internal/upcoming_reconciliations4143 when the request is not authenticated4144 returns authentication error4145 when authenticated as user4146 returns authentication error4147 when authenticated as an admin4148 when the request is not for .com4149 returns an error4150 when the namespace_id is missing4151 returns a 400 error4152 when there is an upcoming reconciliation for the namespace4153 destroys the reconciliation and returns success4154 when the namespace_id does not have an upcoming reconciliation4155 returns a not found error4156Querying a Milestone4157 burnupTimeSeries4158 with insufficient license4159 returns nil4160 when missing dates4161 explains why the report cannot be generated4162 when there are too many events4163 explains why the report cannot be generated4164 with correct license4165 returns burnup chart data4166 group milestones4167 behaves like milestones queried by timeframe4168 query for milestones by timeframe4169 without start4170 returns error4171 without end date4172 returns error4173 with start and end date4174 does not have errors4175 project milestones4176 behaves like milestones queried by timeframe4177 query for milestones by timeframe4178 without start4179 returns error4180 without end date4181 returns error4182 with start and end date4183 does not have errors4184Delete an audit event type filter4185 # order random4186 when licensed4187 when current user is a group maintainer4188 behaves like a mutation that returns top-level errors4189 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"4190 when current user is a group developer4191 behaves like a mutation that returns top-level errors4192 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"4193 when current user is a group guest4194 behaves like a mutation that returns top-level errors4195 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"4196 when current user is a group owner4197 returns success response4198 when event type filters in input is empty4199 returns graphql error4200 when unlicensed4201 behaves like a mutation on an unauthorized resource4202 behaves like a mutation that returns top-level errors4203 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"4204getting external status checks for a branch rule4205 # order random4206 is expected to eq 14207 when the user does have read_external_status_check permission4208 behaves like a working graphql query4209 returns a successful response4210 returns external_status_checks_data4211 when the user does not have read_external_status_check permission4212 behaves like a working graphql query4213 returns a successful response4214 hides external_status_checks_data4215group compliance frameworks4216 when compliance frameworks feature is unlicensed4217 GET /groups/:group/-/compliance_frameworks/new4218 returns 404 not found4219 GET /groups/:group/-/compliance_frameworks/:id/edit4220 returns 404 not found4221 when compliance frameworks feature is licensed4222 GET /groups/:group/-/compliance_frameworks/new4223 renders template4224 with unauthorized user4225 returns 404 not found4226 GET /groups/:group/-/compliance_frameworks/:id/edit4227 renders template4228 with unauthorized user4229 returns 404 not found4230Query.project(fullPath).pushRules4231 returns nil when push_rules license is false4232 pushRules.rejectUnsignedCommits4233 field_value: true, license_value: true, expected: true4234 returns4235 field_value: true, license_value: false, expected: false4236 returns4237 field_value: false, license_value: true, expected: false4238 returns4239 field_value: false, license_value: false, expected: false4240 returns4241CredentialsInventoryMailer4242 #personal_access_token_revoked_email4243 is expected to have subject of "Your Personal Access Token was revoked"4244 is expected to have body including "The following Personal Access Token was revoked by an administrator, Revoker"4245 is expected to have body including "PAT 741"4246 is expected to have body including "Created on Mar 30, 2023"4247 is expected to have body including "Scopes: api, sudo"4248 is expected to be delivered to ["user1368@example.org"]4249 is expected to have body including "Last used 21 days ago"4250 #ssh_key_deleted_email4251 is expected to have subject of "Your SSH key was deleted"4252 is expected to have body including "The following SSH key was deleted by an administrator, Revoker"4253 is expected to be delivered to ["user1369@example.org"]4254 is expected to have body including "My title 487"4255 is expected to have body including "Created on Mar 30, 2023"4256 is expected to have body including "Last used 21 days ago"4257OmniauthCallbacksController4258 when sign in fails4259 audits provider failed login when licensed4260 does not audit provider failed login when unlicensed4261 #openid_connect4262 when auth hash is missing required groups4263 when licensed feature is available4264 prevents sign in4265 when licensed feature is not available4266 allows sign in4267 identity verification4268 on sign up4269 behaves like identity verification required4270 handles sticking, sets the session and redirects to identity verification4271 when auto blocking users after creation4272 behaves like identity verification not required4273 does not redirect to identity verification4274 on sign in4275 behaves like identity verification not required4276 does not redirect to identity verification4277 when identity is not yet verified4278 behaves like identity verification required4279 handles sticking, sets the session and redirects to identity verification4280Set an Epic Subscription4281 when epics feature is disabled4282 does not subscribe user to the epic4283 behaves like a mutation that returns a top-level access error4284 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"4285 when epics feature is enabled4286 when a user wants to subscribe to an epic4287 subscribes the user to the epic4288 when a user wants to unsubscribe from an epic4289 unsubscribes the user from the epic4290parse alert payload fields4291 is expected to eq [{"label"=>"title", "path"=>["title"], "type"=>"STRING"}, {"label"=>"started_at", "path"=>["started_a...", "path"=>["arr", 1], "type"=>"STRING"}, {"label"=>"arr[0]", "path"=>["arr", 0], "type"=>"STRING"}]4292 behaves like a working graphql query4293 returns a successful response4294 without user permission4295 behaves like query with error4296 returns an error4297 without license4298 behaves like query with error4299 returns an error4300 with invalid payload JSON4301 behaves like query with error4302 returns an error4303 with non-Hash JSON4304 behaves like query with error4305 returns an error4306Projects::Security::ScannedResourcesController4307 GET index4308 when the "Security and Compliance" feature is disabled4309 is expected to respond with numeric status code not_found4310 when DAST security scan is found4311 returns the CSV data4312 when pipeline_id is from a dangling pipeline4313 returns the CSV data4314 when the pipeline id is missing4315 raises an error when pipeline_id param is missing4316Mutations::Analytics::DevopsAdoption::EnabledNamespaces::BulkEnable4317 creates the enabled_namespace for each passed namespace or returns existing enabled_namespace4318 when the user cannot manage enabled_namespaces at least for one namespace4319 behaves like a mutation that returns a top-level access error4320 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"4321 when the feature is not available4322 behaves like a mutation that returns a top-level access error4323 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"4324API::ConanProjectPackages4325 # order random4326 GET /api/v4/projects/:id/packages/conan/v1/files/:package_name/package_version/:package_username/:package_channel/:recipe_revision/package/:conan_package_reference/:package_revision/:file_name4327 behaves like applying ip restriction for group4328 in group without restriction4329 behaves like returning response status4330 returns ok4331 in group with restriction4332 with address within the range4333 behaves like returning response status4334 returns ok4335 with address outside the range4336 behaves like returning response status4337 returns not_found4338API::Integrations::Slack::Events4339 # order random4340 POST /integrations/slack/events4341 behaves like Slack request verification4342 unauthorized request4343 when the slack_app_signing_secret setting is not set4344 behaves like an unauthorized request4345 is expected to respond with numeric status code unauthorized4346 when the timestamp header has expired4347 behaves like an unauthorized request4348 is expected to respond with numeric status code unauthorized4349 when the timestamp header is missing4350 behaves like an unauthorized request4351 is expected to respond with numeric status code unauthorized4352 when the signature header is missing4353 behaves like an unauthorized request4354 is expected to respond with numeric status code unauthorized4355 when the signature is not verified4356 behaves like an unauthorized request4357 is expected to respond with numeric status code unauthorized4358 when type param is missing4359 behaves like a successful request that generates a tracked error4360 is expected to be empty4361 when type param is unknown4362 generates a tracked error4363 when type param is url_verification4364 responds in-request with the challenge4365 when event.type param is app_home_opened4366 calls the Slack API (integration-style test)4367getting Incident Management on-call shifts4368 # order random4369 returns the correct properties of the on-call shifts4370 behaves like a working graphql query4371 returns a successful response4372 performance4373 for additional participant4374 behaves like avoids N+1 queries4375 is expected not to exceed query limit #<ActiveRecord::QueryRecorder:0x00007f382a406f28 @data={"/app/models/concerns/token_authenticatable_s...@skip_cached=true, @skip_schema_queries=true, @query_recorder_debug=false, @log_file=nil, @count=18>4376 for additional rotation with participants4377 behaves like avoids N+1 queries4378 is expected not to exceed query limit #<ActiveRecord::QueryRecorder:0x00007f382d423df0 @data={"/app/models/concerns/token_authenticatable_s...@skip_cached=true, @skip_schema_queries=true, @query_recorder_debug=false, @log_file=nil, @count=18>4379Query.runners4380 Query.runners4381 with upgradeStatus argument4382 with deprecated CiRunnerUpgradeStatusType enum type4383 returns nil upgradeStatus for all runners4384 with new CiRunnerUpgradeStatus enum type4385 returns nil upgradeStatus for all runners4386 with membership argument4387 with deprecated RunnerMembershipFilter enum type4388 returns ids of expected runners4389 with new CiRunnerMembershipFilter enum type4390 returns ids of expected runners4391getting project information4392 returns Todos for all target types4393 behaves like a working graphql query4394 returns a successful response4395ApplicationController4396 # order random4397 with redirection due to onboarding4398 redirects to the onboarding step4399 when onboarding is disabled4400 does not redirect to the onboarding step4401 when feature flag is disabled4402 does not redirect to the onboarding step4403 when request path equals redirect path4404 does not redirect to the onboarding step4405 when post request4406 does not redirect to the onboarding step4407Mutations::Boards::EpicBoards::Destroy4408 when the user does not have permission4409 does not destroy the board4410 behaves like a mutation that returns a top-level access error4411 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"4412 when the user has permission4413 when everything is ok4414 destroys the board4415 returns an empty board4416 when there is only 1 board for the parent4417 does destroy the board4418Admin::ElasticsearchController4419 POST #enqueue_index4420 starts indexing4421 without an index4422 does nothing and returns 4044423 POST #trigger_reindexing4424 creates a reindexing task4425 does not create a reindexing task if there is another one4426 does not create a reindexing task if a required param is nil4427 POST #cancel_index_deletion4428 sets delete_original_index_at to nil4429 POST #retry_migration4430 deletes the migration record and drops the halted cache4431Admin::Geo::NodesController4432 GET /geo/sites4433 with a valid license4434 renders the Geo Sites View4435 without a valid license4436 does show license alert4437 does not redirects to the 403 page4438CustomersDot::ProxyController4439 POST graphql4440 with user signed in4441 behaves like customersdot proxy4442 forwards request body to customers dot4443 responds with customers dot status4444 responds with customers dot response body4445 with no user signed in4446 behaves like customersdot proxy4447 forwards request body to customers dot4448 responds with customers dot status4449 responds with customers dot response body4450API::Ci::Pipelines4451 DELETE /projects/:id/pipelines/:pipeline_id4452 authorized user4453 when audit events is enabled4454 does not log an audit event4455API::Ci::Runner4456 PATCH /api/v4/jobs/:id/trace4457 tracks CI minutes usage of running job4458 when CI minutes usage is exceeded4459 drops the job4460 when CI minutes usage is not exceeded4461 does not drop the job4462Query.vulnerabilities.primaryIdentifier4463 returns a vulnerability identifiers4464Converts a work item to a new type4465 # order random4466 when the work item type is not part of the license4467 does not convert the work item4468 when user has permissions to convert the work item type4469 converts the work item4470Projects::RepositoriesController4471 # order random4472 GET /archive4473 when user is banned from the project's top-level group4474 prevents the archive download4475 when user is not banned from the project's top-level group4476 proceeds with the archive download4477Query.project(fullPath).scanResultPolicies4478 returns both user and group approvers4479API::NpmProjectPackages4480 # order random4481 GET /api/v4/projects/:id/packages/npm/*package_name/-/*file_name4482 behaves like applying ip restriction for group4483 in group without restriction4484 behaves like returning response status4485 returns ok4486 in group with restriction4487 with address within the range4488 behaves like returning response status4489 returns ok4490 with address outside the range4491 behaves like returning response status4492 returns not_found4493Query.project(fullPath).pathLocks4494 unlicensed feature4495 is expected to be empty4496 licensed feature4497 returns path locks4498SentNotificationsController4499 Unsubscribing from an epic4500 unsubscribes the user4501 sets the flash message4502 redirects to the merge request page4503Mutations::Boards::EpicBoards::Update4504 when the user does not have permission4505 behaves like a mutation that returns a top-level access error4506 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"4507 when the user has permission4508 returns the updated board4509 when update fails4510 returns an error4511Emails::NamespaceStorageUsageMailer4512 #notify_out_of_storage4513 creates an email message for a namespace4514 #notify_limit_warning4515 creates an email message for a namespace4516API::Features4517 POST /feature4518 when running on a Geo primary node4519 creates Geo cache invalidation event4520 when licensed feature name is given4521 returns bad request4522 when force=1 is set4523 allows to change state4524 DELETE /feature/:name4525 when running on a Geo primary node4526 creates Geo cache invalidation event4527CountriesController4528 GET #index4529 returns list of countries as json4530 does not include list of denied countries4531 overrides Ukraine name and adds information about restricted regions4532 updates `Taiwan, Province of China` to `Taiwan`4533GitlabSubscriptions::SeatCountAlert4534 #generate_seat_count_alert_data4535 when the user is not authenticated4536 does not set the seat count data4537 when the user is authenticated4538 when the namespace is nil4539 does not set the seat count data4540 when supplied a project4541 sets the data based on the root ancestor4542 when supplied a top level group4543 sets the data based on that group4544 when supplied a subgroup4545 sets the data based on the root ancestor4546Profiles::BillingsController4547 GET #index4548 renders index with 200 status code4549 fetch subscription plans data from customers.gitlab.com4550 when CustomersDot is unavailable4551 renders a different partial4552Admin::GroupsController4553 POST #reset_runner_minutes4554 when the reset is successful4555 redirects to group path4556 PUT #update4557 converts the user entered MB value into bytes4558Removing an on-call schedule4559 # order random4560 removes the on-call schedule4561DeviseMailer4562 #confirmation_instructions4563 includes the additonal custom text4564SitemapController4565 #show4566 when not Gitlab.com?4567 returns :not_found4568 when Gitlab.com?4569 with an authenticated user4570 when the sitemap generation raises an error4571 returns an xml error4572 when the sitemap was created suscessfully4573 returns sitemap4574Emails::Epics4575 adds email methods to Notify4576Knapsack report was generated. Preview:4577{4578 "ee/spec/requests/api/visual_review_discussions_spec.rb": 134.26893320899944,4579 "ee/spec/requests/api/graphql/geo/registries_spec.rb": 74.71769162199962,4580 "ee/spec/requests/git_http_geo_spec.rb": 70.45252014000107,4581 "ee/spec/requests/api/merge_request_approval_rules_spec.rb": 59.58811523999975,4582 "ee/spec/requests/api/wikis_spec.rb": 39.95143120299872,4583 "ee/spec/controllers/projects/licenses_controller_spec.rb": 37.62444038800095,4584 "ee/spec/requests/projects/merge_requests_controller_spec.rb": 37.04990403300144,4585 "ee/spec/requests/api/merge_request_approvals_spec.rb": 26.320143786999324,4586 "ee/spec/requests/api/related_epic_links_spec.rb": 20.88463807500011,4587 "ee/spec/requests/groups_controller_spec.rb": 26.152644034000332,4588 "ee/spec/requests/api/graphql/project/requirements_management/requirements_spec.rb": 23.52440060400113,4589 "ee/spec/requests/api/group_push_rule_spec.rb": 22.970022452000194,4590 "ee/spec/requests/api/graphql/project/sbom/dependencies_spec.rb": 19.457167276999826,4591 "ee/spec/controllers/projects/settings/operations_controller_spec.rb": 17.19970041600027,4592 "ee/spec/controllers/groups/audit_events_controller_spec.rb": 13.558664090000093,4593 "ee/spec/controllers/trials_controller_spec.rb": 9.61031061599897,4594 "ee/spec/requests/api/internal/kubernetes_spec.rb": 13.849836060999223,4595 "ee/spec/controllers/projects/audit_events_controller_spec.rb": 12.241132937999282,4596 "ee/spec/requests/api/epic_issues_spec.rb": 14.033895517999554,4597 "ee/spec/requests/api/graphql/ci/runner_spec.rb": 8.417248055999153,4598 "ee/spec/controllers/projects/integrations/jira/issues_controller_spec.rb": 8.907452401001137,4599 "ee/spec/requests/api/group_repository_storage_moves_spec.rb": 7.03698969999823,4600 "ee/spec/requests/api/graphql/vulnerabilities/sort_spec.rb": 11.1691384809983,4601 "ee/spec/requests/api/project_aliases_spec.rb": 10.244498877000296,4602 "ee/spec/requests/smartcard_controller_spec.rb": 7.583085891999872,4603 "ee/spec/requests/projects/settings/access_tokens_controller_spec.rb": 8.439745409999887,4604 "ee/spec/controllers/groups/analytics/productivity_analytics_controller_spec.rb": 8.504086405000635,4605 "ee/spec/requests/repositories/git_http_controller_spec.rb": 6.783089829001256,4606 "ee/spec/requests/api/dependencies_spec.rb": 6.4132790559997375,4607 "ee/spec/controllers/projects/security/sast_configuration_controller_spec.rb": 6.538678266000716,4608 "ee/spec/controllers/groups/security/policies_controller_spec.rb": 7.159047760998874,4609 "ee/spec/requests/api/dependency_list_exports_spec.rb": 6.827237649000381,4610 "ee/spec/requests/api/graphql/mutations/iterations/update_spec.rb": 6.1073001280001336,4611 "ee/spec/requests/api/group_variables_spec.rb": 6.2833181060013885,4612 "ee/spec/controllers/projects/security/api_fuzzing_configuration_controller_spec.rb": 6.213803111999368,4613 "ee/spec/requests/api/graphql/project/branch_protections/merge_access_levels_spec.rb": 4.814204180998786,4614 "ee/spec/requests/api/protected_tags_spec.rb": 4.914367608000248,4615 "ee/spec/requests/api/graphql/mutations/dast_on_demand_scans/create_spec.rb": 4.7240428529985365,4616 "ee/spec/mailers/ee/emails/admin_notification_spec.rb": 3.6121907329998066,4617 "ee/spec/requests/api/audit_events_spec.rb": 5.551765048001471,4618 "ee/spec/controllers/projects/quality/test_cases_controller_spec.rb": 3.116984768999828,4619 "ee/spec/requests/api/graphql/project/alert_management/http_integrations_spec.rb": 4.227731467999547,4620 "ee/spec/controllers/projects/insights_controller_spec.rb": 3.6135827220005012,4621 "ee/spec/mailers/emails/requirements_spec.rb": 4.990992439001275,4622 "ee/spec/controllers/projects/environments_controller_spec.rb": 4.015671987999667,4623 "ee/spec/requests/api/graphql/mutations/alert_management/http_integration/create_spec.rb": 3.527908402000321,4624 "ee/spec/requests/api/graphql/mutations/dast_site_validations/revoke_spec.rb": 2.235451075999663,4625 "ee/spec/requests/api/graphql/project/pipelines/dast_profile_spec.rb": 3.815047965999838,4626 "ee/spec/requests/api/graphql/mutations/security_policy/assign_security_policy_project_spec.rb": 3.0735085289998096,4627 "ee/spec/requests/api/remote_mirrors_spec.rb": 4.65733687699867,4628 "ee/spec/requests/api/files_spec.rb": 5.601134027001535,4629 "ee/spec/requests/api/graphql/mutations/epics/create_spec.rb": 4.506373583999448,4630 "ee/spec/requests/api/graphql/mutations/boards/epics/create_spec.rb": 4.46559900200009,4631 "ee/spec/controllers/projects/analytics/merge_request_analytics_controller_spec.rb": 4.85899771000004,4632 "ee/spec/requests/api/analytics/product_analytics_spec.rb": 3.6074377130007633,4633 "ee/spec/requests/api/graphql/audit_events/streaming/headers/destroy_spec.rb": 2.769236729000113,4634 "ee/spec/controllers/admin/licenses_controller_spec.rb": 3.028101098001571,4635 "ee/spec/requests/groups/clusters_controller_spec.rb": 4.458799150001141,4636 "ee/spec/requests/api/graphql/mutations/merge_requests/set_assignees_spec.rb": 4.369136233000972,4637 "ee/spec/requests/api/graphql/project/alert_management/integrations_spec.rb": 2.723619790000157,4638 "ee/spec/requests/groups/issues_controller_spec.rb": 4.147287826999673,4639 "ee/spec/requests/api/graphql/mutations/issues/promote_to_epic_spec.rb": 3.914317992001088,4640 "ee/spec/requests/api/internal/upcoming_reconciliations_spec.rb": 2.0941521690001537,4641 "ee/spec/requests/api/graphql/milestone_spec.rb": 2.8505375609984185,4642 "ee/spec/requests/api/graphql/audit_events/streaming/event_type_filters/delete_spec.rb": 2.2302045970009203,4643 "ee/spec/requests/api/graphql/project/branch_rules/external_status_checks_spec.rb": 2.0208952159991895,4644 "ee/spec/requests/groups/compliance_frameworks_spec.rb": 2.3309893130008277,4645 "ee/spec/requests/api/graphql/project/push_rules_spec.rb": 1.5086025370001153,4646 "ee/spec/mailers/credentials_inventory_mailer_spec.rb": 1.5893948280008772,4647 "ee/spec/controllers/ee/omniauth_callbacks_controller_spec.rb": 2.2848449039993284,4648 "ee/spec/requests/api/graphql/mutations/epics/set_subscription_spec.rb": 2.5783888360001583,4649 "ee/spec/requests/api/graphql/project/alert_management/payload_fields_spec.rb": 2.101095918000283,4650 "ee/spec/controllers/projects/security/scanned_resources_controller_spec.rb": 2.477643997999621,4651 "ee/spec/requests/api/graphql/mutations/analytics/devops_adoption/enabled_namespaces/bulk_enable_spec.rb": 2.1961652350000804,4652 "ee/spec/requests/api/conan_project_packages_spec.rb": 1.8022111669997685,4653 "ee/spec/requests/api/integrations/slack/events_spec.rb": 1.4675240259985003,4654 "ee/spec/requests/api/graphql/project/incident_management/oncall_participants_spec.rb": 2.5004075930010004,4655 "ee/spec/requests/api/graphql/ci/runners_spec.rb": 2.1024044969999522,4656 "ee/spec/requests/api/graphql/current_user/todos_query_spec.rb": 2.40212814699953,4657 "ee/spec/requests/ee/application_controller_spec.rb": 2.130534730000363,4658 "ee/spec/requests/api/graphql/mutations/boards/epic_boards/destroy_spec.rb": 1.9253318880000734,4659 "ee/spec/controllers/admin/elasticsearch_controller_spec.rb": 1.7359036729994841,4660 "ee/spec/requests/admin/geo/nodes_controller_spec.rb": 1.4059611299999233,4661 "ee/spec/requests/customers_dot/proxy_controller_spec.rb": 1.2880387980003434,4662 "ee/spec/requests/api/ci/pipelines_spec.rb": 1.7551010679999308,4663 "ee/spec/requests/api/ci/runner/jobs_trace_spec.rb": 1.7549409580005886,4664 "ee/spec/requests/api/graphql/vulnerabilities/primary_identifier_spec.rb": 2.0523455689999537,4665 "ee/spec/requests/api/graphql/mutations/work_items/convert_spec.rb": 1.91649174000122,4666 "ee/spec/requests/ee/projects/repositories_controller_spec.rb": 1.5161616839995986,4667 "ee/spec/requests/api/graphql/project/security_orchestration/scan_result_policy_spec.rb": 1.7016907910001464,4668 "ee/spec/requests/api/npm_project_packages_spec.rb": 1.7139842380001937,4669 "ee/spec/requests/api/graphql/project/path_locks_spec.rb": 1.3820259450003505,4670 "ee/spec/controllers/ee/sent_notifications_controller_spec.rb": 1.37602632800008,4671 "ee/spec/requests/api/graphql/mutations/boards/epic_boards/update_spec.rb": 1.3808479460003582,4672 "ee/spec/mailers/emails/namespace_storage_usage_mailer_spec.rb": 0.5998383390015078,4673 "ee/spec/requests/api/features_spec.rb": 1.4828345120004087,4674 "ee/spec/controllers/countries_controller_spec.rb": 0.6528574160001881,4675 "ee/spec/controllers/concerns/gitlab_subscriptions/seat_count_alert_spec.rb": 0.7329168689993821,4676 "ee/spec/controllers/profiles/billings_controller_spec.rb": 0.7325344079999923,4677 "ee/spec/controllers/admin/groups_controller_spec.rb": 1.1184004669994465,4678 "ee/spec/requests/api/graphql/mutations/incident_management/oncall_schedule/destroy_spec.rb": 1.2080754170001455,4679 "ee/spec/mailers/devise_mailer_spec.rb": 0.6048854580003535,4680 "ee/spec/controllers/sitemap_controller_spec.rb": 0.43518837800002075,4681 "ee/spec/mailers/emails/epics_spec.rb": 0.397804195999924564682}4683Knapsack global time execution for tests: 16m 14s4684Pending: (Failures listed here are expected and do not affect your suite's status)4685 1) API::Wikis GET /groups/:id/wikis when wiki is available only for team members when user is guest returns 404 Group Not Found4686 # Temporarily skipped with xcontext4687 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1834688 2) API::Wikis GET /groups/:id/wikis when wiki is available only for team members when user is developer return the empty list of wiki pages4689 # Temporarily skipped with xcontext4690 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:384691 3) API::Wikis GET /groups/:id/wikis when wiki is available only for team members when user is developer when wiki has pages returns the list of wiki pages without content4692 # Temporarily skipped with xcontext4693 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:104694 4) API::Wikis GET /groups/:id/wikis when wiki is available only for team members when user is developer when wiki has pages returns the list of wiki pages with content4695 # Temporarily skipped with xcontext4696 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:234697 5) API::Wikis GET /groups/:id/wikis when wiki is available only for team members when user is maintainer return the empty list of wiki pages4698 # Temporarily skipped with xcontext4699 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:384700 6) API::Wikis GET /groups/:id/wikis when wiki is available only for team members when user is maintainer when wiki has pages returns the list of wiki pages without content4701 # Temporarily skipped with xcontext4702 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:104703 7) API::Wikis GET /groups/:id/wikis when wiki is available only for team members when user is maintainer when wiki has pages returns the list of wiki pages with content4704 # Temporarily skipped with xcontext4705 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:234706 8) API::Wikis GET /groups/:id/wikis/:slug when wiki is available only for team members when user is guest returns 404 Group Not Found4707 # Temporarily skipped with xcontext4708 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1834709 9) API::Wikis GET /groups/:id/wikis/:slug when wiki is available only for team members when user is developer behaves like returns wiki page 4710 # Temporarily skipped with xcontext4711 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:544712 10) API::Wikis GET /groups/:id/wikis/:slug when wiki is available only for team members when user is developer when render param is false behaves like returns wiki page 4713 # Temporarily skipped with xcontext4714 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:544715 11) API::Wikis GET /groups/:id/wikis/:slug when wiki is available only for team members when user is developer when render param is true behaves like returns wiki page 4716 # Temporarily skipped with xcontext4717 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:544718 12) API::Wikis GET /groups/:id/wikis/:slug when wiki is available only for team members when user is developer when wiki page has versions when version param is not present retrieves the last version4719 # Temporarily skipped with xcontext4720 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:954721 13) API::Wikis GET /groups/:id/wikis/:slug when wiki is available only for team members when user is developer when wiki page has versions when version param is set retrieves the specific page version4722 # Temporarily skipped with xcontext4723 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1034724 14) API::Wikis GET /groups/:id/wikis/:slug when wiki is available only for team members when user is developer when wiki page has versions when version param is set when version param is not valid or inexistent behaves like wiki API 404 Wiki Page Not Found returns 404 Wiki Page Not Found4725 # Temporarily skipped with xcontext4726 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1754727 15) API::Wikis GET /groups/:id/wikis/:slug when wiki is available only for team members when user is developer when page does not exist returns 404 Wiki Page Not Found4728 # Temporarily skipped with xcontext4729 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1754730 16) API::Wikis GET /groups/:id/wikis/:slug when wiki is available only for team members when user is maintainer behaves like returns wiki page 4731 # Temporarily skipped with xcontext4732 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:544733 17) API::Wikis GET /groups/:id/wikis/:slug when wiki is available only for team members when user is maintainer when render param is false behaves like returns wiki page 4734 # Temporarily skipped with xcontext4735 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:544736 18) API::Wikis GET /groups/:id/wikis/:slug when wiki is available only for team members when user is maintainer when render param is true behaves like returns wiki page 4737 # Temporarily skipped with xcontext4738 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:544739 19) API::Wikis GET /groups/:id/wikis/:slug when wiki is available only for team members when user is maintainer when wiki page has versions when version param is not present retrieves the last version4740 # Temporarily skipped with xcontext4741 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:954742 20) API::Wikis GET /groups/:id/wikis/:slug when wiki is available only for team members when user is maintainer when wiki page has versions when version param is set retrieves the specific page version4743 # Temporarily skipped with xcontext4744 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1034745 21) API::Wikis GET /groups/:id/wikis/:slug when wiki is available only for team members when user is maintainer when wiki page has versions when version param is set when version param is not valid or inexistent behaves like wiki API 404 Wiki Page Not Found returns 404 Wiki Page Not Found4746 # Temporarily skipped with xcontext4747 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1754748 22) API::Wikis GET /groups/:id/wikis/:slug when wiki is available only for team members when user is maintainer when page does not exist returns 404 Wiki Page Not Found4749 # Temporarily skipped with xcontext4750 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1754751 23) API::Wikis POST /groups/:id/wikis when wiki is available only for team members when user is guest returns 404 Group Not Found4752 # Temporarily skipped with xcontext4753 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1834754 24) API::Wikis POST /groups/:id/wikis when wiki is available only for team members when user is developer creates the wiki page4755 # Temporarily skipped with xcontext4756 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1174757 25) API::Wikis POST /groups/:id/wikis when wiki is available only for team members when user is developer responds with validation error on empty title4758 # Temporarily skipped with xcontext4759 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1314760 26) API::Wikis POST /groups/:id/wikis when wiki is available only for team members when user is developer responds with validation error on empty content4761 # Temporarily skipped with xcontext4762 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1314763 27) API::Wikis POST /groups/:id/wikis when wiki is available only for team members when user is maintainer creates the wiki page4764 # Temporarily skipped with xcontext4765 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1174766 28) API::Wikis POST /groups/:id/wikis when wiki is available only for team members when user is maintainer responds with validation error on empty title4767 # Temporarily skipped with xcontext4768 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1314769 29) API::Wikis POST /groups/:id/wikis when wiki is available only for team members when user is maintainer responds with validation error on empty content4770 # Temporarily skipped with xcontext4771 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1314772 30) API::Wikis PUT /group/:id/wikis/:slug when wiki is available only for team members when user is guest returns 404 Group Not Found4773 # Temporarily skipped with xcontext4774 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1834775 31) API::Wikis PUT /group/:id/wikis/:slug when wiki is available only for team members when user is developer updates the wiki page4776 # Temporarily skipped with xcontext4777 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1444778 32) API::Wikis PUT /group/:id/wikis/:slug when wiki is available only for team members when user is developer updates with wiki with missing title4779 # Temporarily skipped with xcontext4780 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1564781 33) API::Wikis PUT /group/:id/wikis/:slug when wiki is available only for team members when user is developer updates with wiki with missing content4782 # Temporarily skipped with xcontext4783 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1564784 34) API::Wikis PUT /group/:id/wikis/:slug when wiki is available only for team members when user is developer updates with wiki with missing format4785 # Temporarily skipped with xcontext4786 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1564787 35) API::Wikis PUT /group/:id/wikis/:slug when wiki is available only for team members when user is developer when page does not exist returns 404 Wiki Page Not Found4788 # Temporarily skipped with xcontext4789 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1754790 36) API::Wikis PUT /group/:id/wikis/:slug when wiki is available only for team members when user is maintainer updates the wiki page4791 # Temporarily skipped with xcontext4792 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1444793 37) API::Wikis PUT /group/:id/wikis/:slug when wiki is available only for team members when user is maintainer updates with wiki with missing title4794 # Temporarily skipped with xcontext4795 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1564796 38) API::Wikis PUT /group/:id/wikis/:slug when wiki is available only for team members when user is maintainer updates with wiki with missing content4797 # Temporarily skipped with xcontext4798 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1564799 39) API::Wikis PUT /group/:id/wikis/:slug when wiki is available only for team members when user is maintainer updates with wiki with missing format4800 # Temporarily skipped with xcontext4801 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1564802 40) API::Wikis PUT /group/:id/wikis/:slug when wiki is available only for team members when user is maintainer when page is not existing returns 404 Wiki Page Not Found4803 # Temporarily skipped with xcontext4804 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1754805 41) API::Wikis DELETE /groups/:id/wikis/:slug when wiki is available only for team members when user is guest returns 404 Group Not Found4806 # Temporarily skipped with xcontext4807 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1834808 42) API::Wikis DELETE /groups/:id/wikis/:slug when wiki is available only for team members when user is developer returns 403 Forbidden4809 # Temporarily skipped with xcontext4810 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1674811 43) API::Wikis DELETE /groups/:id/wikis/:slug when wiki is available only for team members when user is maintainer returns 204 No Content4812 # Temporarily skipped with xcontext4813 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1914814 44) API::Wikis POST /groups/:id/wikis/attachments when wiki is available only for team members when user is guest returns 404 Group Not Found4815 # Temporarily skipped with xcontext4816 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1834817 45) API::Wikis POST /groups/:id/wikis/attachments when wiki is available only for team members when user is developer pushes attachment to the wiki repository4818 # Temporarily skipped with xcontext4819 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1974820 46) API::Wikis POST /groups/:id/wikis/attachments when wiki is available only for team members when user is developer responds with validation error on empty file4821 # Temporarily skipped with xcontext4822 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:2064823 47) API::Wikis POST /groups/:id/wikis/attachments when wiki is available only for team members when user is developer responds with validation error on invalid temp file4824 # Temporarily skipped with xcontext4825 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:2164826 48) API::Wikis POST /groups/:id/wikis/attachments when wiki is available only for team members when user is developer is backward compatible with regular multipart uploads4827 # Temporarily skipped with xcontext4828 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:2264829 49) API::Wikis POST /groups/:id/wikis/attachments when wiki is available only for team members when user is maintainer pushes attachment to the wiki repository4830 # Temporarily skipped with xcontext4831 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:1974832 50) API::Wikis POST /groups/:id/wikis/attachments when wiki is available only for team members when user is maintainer responds with validation error on empty file4833 # Temporarily skipped with xcontext4834 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:2064835 51) API::Wikis POST /groups/:id/wikis/attachments when wiki is available only for team members when user is maintainer responds with validation error on invalid temp file4836 # Temporarily skipped with xcontext4837 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:2164838 52) API::Wikis POST /groups/:id/wikis/attachments when wiki is available only for team members when user is maintainer is backward compatible with regular multipart uploads4839 # Temporarily skipped with xcontext4840 # ./spec/support/shared_examples/lib/wikis_api_examples.rb:2264841Failures:4842 1) Query.project(fullPath).pipelines.dastProfile when feature is licensed when user is member of the project avoids N+1 queries4843 Failure/Error: expect { subject }.not_to exceed_query_limit(control)4844 Expected a maximum of 37 queries, got 39:4845 Query Diff:4846 -----------4847 SELECT "personal_access_tokens".* FROM "personal_access_tokens"...4848 -- (expected: 1, got: 0)4849 WHERE "personal_access_tokens"."token_digest" = '0Qjwt2cmbdtOEz65HccYnfDzmTX9vajlY2fK7WfzypQ=' LIMIT 14850 -- (expected: 1, got: 0)4851 WHERE "personal_access_tokens"."token_digest" = 'Jqif7oBphnG270lazN2RAyfPO3RvZoKsx6gxviEfIpI=' LIMIT 14852 -- (expected: 0, got: 1)4853 WHERE "personal_access_tokens"."token_digest" = 'fn+1hbGOFAXf0AqbwZ7dN3J/R3iULflQQDGZ2v7go+Y=' LIMIT 14854 -- (expected: 0, got: 1)4855 WHERE "personal_access_tokens"."token_digest" = 'iF46jOxeQgGXK30PRgHUIlY4Vr81FldxA6PnrhpOER8=' LIMIT 14856 SAVEPOINT active_record_3...4857 -- (expected: 2, got: 1)4859 RELEASE SAVEPOINT active_record_3...4860 -- (expected: 2, got: 1)4862 SELECT "user_details".* FROM "user_details"...4863 -- (expected: 1, got: 0)4864 WHERE "user_details"."user_id" = 1257 LIMIT 14865 SELECT "user_synced_attributes_metadata".* FROM "user_synced_attributes_metadata"...4866 -- (expected: 1, got: 0)4867 WHERE "user_synced_attributes_metadata"."user_id" = 1257 LIMIT 14868 SELECT "namespaces".* FROM "namespaces"...4869 -- (expected: 1, got: 0)4870 WHERE "namespaces"."owner_id" = 1257 AND "namespaces"."type" = 'User' LIMIT 14871 UPDATE "users"...4872 -- (expected: 1, got: 0)4873 SET "sign_in_count" = 1, "current_sign_in_at" = '2023-03-30 11:55:20.421595', "last_sign_in_at" = '2023-03-30 11:55:20.421595', "current_sign_in_ip" = '127.0.0.1', "last_sign_in_ip" = '127.0.0.1', "updated_at" = '2023-03-30 11:55:20.436589' WHERE "users"."id" = 12574874 INSERT INTO "user_details" ("user_id")...4875 -- (expected: 1, got: 0)4876 VALUES (1257) RETURNING "user_id"4877 SELECT "emails"."email" FROM "emails"...4878 -- (expected: 1, got: 0)4879 WHERE "emails"."user_id" = 1257 AND "emails"."confirmed_at" IS NOT NULL4880 SELECT "dast_pre_scan_verifications".* FROM "dast_pre_scan_verifications"...4881 -- (expected: 0, got: 1)4882 WHERE "dast_pre_scan_verifications"."dast_profile_id" = 6 LIMIT 14883 -- (expected: 0, got: 1)4884 WHERE "dast_pre_scan_verifications"."dast_profile_id" = 5 LIMIT 14885 -- (expected: 0, got: 1)4886 WHERE "dast_pre_scan_verifications"."dast_profile_id" = 4 LIMIT 14887 -- (expected: 0, got: 1)4888 WHERE "dast_pre_scan_verifications"."dast_profile_id" = 3 LIMIT 14889 -- (expected: 0, got: 1)4890 WHERE "dast_pre_scan_verifications"."dast_profile_id" = 2 LIMIT 14891 SELECT "dast_profiles_tags"."tag_id" FROM "dast_profiles_tags"...4892 -- (expected: 0, got: 1)4893 WHERE "dast_profiles_tags"."dast_profile_id" = 64894 -- (expected: 0, got: 1)4895 WHERE "dast_profiles_tags"."dast_profile_id" = 54896 -- (expected: 0, got: 1)4897 WHERE "dast_profiles_tags"."dast_profile_id" = 44898 -- (expected: 0, got: 1)4899 WHERE "dast_profiles_tags"."dast_profile_id" = 34900 -- (expected: 0, got: 1)4901 WHERE "dast_profiles_tags"."dast_profile_id" = 24902 # ./ee/spec/requests/api/graphql/project/pipelines/dast_profile_spec.rb:79:in `block (4 levels) in <top (required)>'4903 # ./spec/spec_helper.rb:438:in `block (3 levels) in <top (required)>'4904 # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'4905 # ./spec/spec_helper.rb:430:in `block (2 levels) in <top (required)>'4906 # ./spec/spec_helper.rb:426:in `block (3 levels) in <top (required)>'4907 # ./lib/gitlab/application_context.rb:61:in `with_raw_context'4908 # ./spec/spec_helper.rb:426:in `block (2 levels) in <top (required)>'4909 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'4910 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'4911 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <top (required)>'4912 # ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'4913 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <top (required)>'4914Finished in 16 minutes 19 seconds (files took 1 minute 11.38 seconds to load)49151523 examples, 1 failure, 52 pending4916Failed examples:4917rspec ./ee/spec/requests/api/graphql/project/pipelines/dast_profile_spec.rb:69 # Query.project(fullPath).pipelines.dastProfile when feature is licensed when user is member of the project avoids N+1 queries4918Randomized with seed 31664919[TEST PROF INFO] Time spent in factories: 07:47.598 (46.42% of total time)4920Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected4921RSpec exited with 1.4922RETRIED_TESTS_REPORT_PATH: rspec/flaky/retried_tests_rspec-ee_integration_pg13_single-db-ci-connection_3_6_report.txt4923Retrying the failing examples in a new RSpec process...4924$ gem install junit_merge --no-document --version 0.1.24925Successfully installed nokogiri-1.14.2-x86_64-linux4926Successfully installed junit_merge-0.1.249272 gems installed4928==> 'gem install junit_merge --no-document --version 0.1.2' succeeded in 1 seconds.4929Running RSpec command: bin/rspec -Ispec -rspec_helper --color --failure-exit-code 1 --error-exit-code 2 --format documentation --format RspecJunitFormatter --out rspec/junit_rspec-retry.xml --only-failures --pattern "{ee/}spec/{commands,controllers,mailers,requests}{,/**/}*_spec.rb"4930Run options: include {:last_run_status=>"failed"}4931Test environment set up in 0.457642333 seconds4932Query.project(fullPath).pipelines.dastProfile4933 when feature is licensed4934 when user is member of the project4935 avoids N+1 queries4936Finished in 6.71 seconds (files took 41.23 seconds to load)49371 example, 0 failures4938[TEST PROF INFO] Time spent in factories: 00:02.831 (31.48% of total time)4939A test was flaky and succeeded after being retried. Checking to see if flaky test is part of this MR...4940Flaky test was not part of this MR.4942Not uploading cache ruby-gems-debian-bullseye-ruby-3.0-16 due to policy4943Not uploading cache gitaly-ruby-gems-debian-bullseye-ruby-3.0-16 due to policy4945Uploading artifacts...4946coverage/: found 4 matching artifact files and directories 4947crystalball/: found 2 matching artifact files and directories 4948WARNING: deprecations/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 4949knapsack/: found 3 matching artifact files and directories 4950WARNING: query_recorder/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 4951rspec/: found 16 matching artifact files and directories 4952WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 4953log/*.log: found 18 matching artifact files and directories 4954WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4031139352/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com4955WARNING: Retrying... context=artifacts-uploader error=request redirected4956Uploading artifacts as "archive" to coordinator... 201 Created id=4031139352 responseStatus=201 Created token=64_hjqvj4957Uploading artifacts...4958rspec/junit_rspec.xml: found 1 matching artifact files and directories 4959WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4031139352/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com4960WARNING: Retrying... context=artifacts-uploader error=request redirected4961Uploading artifacts as "junit" to coordinator... 201 Created id=4031139352 responseStatus=201 Created token=64_hjqvj4963Job succeeded