rspec integration pg14 single-db-ci-connection 6/20
Passed Started
3 months ago
by
@stomlinson 1 21:22:19 Running with gitlab-runner 17.4.0~pre.110.g27400594 (27400594) 2 21:22:19 on blue-5.private.runners-manager.gitlab.com/gitlab.com/gitlab-org PYwgZLQB, system ID: s_4bff81aff7f7 3 21:22:19 feature flags: FF_NETWORK_PER_BUILD:true, FF_TIMESTAMPS:true 4 21:22:19 Resolving secrets 6 21:22:20 Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.2.5-golang-1.23-rust-1.73-node-20.12-postgresql-14:rubygems-3.5-git-2.45-lfs-2.9-chrome-123-yarn-1.22-graphicsmagick-1.3.36 ... 7 21:22:24 Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-14-pgvector-0.4.1... 8 21:22:24 Authenticating with credentials from job payload (GitLab Registry) 9 21:22:24 Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-14-pgvector-0.4.1 ... 10 21:22:31 Using docker image sha256:82f132c22567f8ce17cc132c14b2f9aa3eaf9bb5424d91c2d966912433f0257d for registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-14-pgvector-0.4.1 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:c55e1364ee4327b244a9cfa1750f19feea14fc774eaf792b725967d146eb45f5 ... 11 21:22:35 WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 is already created. Ignoring. 12 21:22:35 WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 is already created. Ignoring. 13 21:22:35 Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12... 14 21:22:35 Authenticating with credentials from job payload (GitLab Registry) 15 21:22:35 Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 ... 16 21:22:39 Using docker image sha256:5c5ba5b83d6c60cb0b225bd670b7a43be8c238cc72347d24af57e5027c3648f3 for registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:46aceab84c42d0e819c8e7940f2f98ce9e184785cd7b22d95872024a35f52407 ... 17 21:22:40 Starting service redis:6.2-alpine... 18 21:22:40 Pulling docker image redis:6.2-alpine ... 19 21:22:44 Using docker image sha256:4100b5bd17430263e85ad9d8ab851959b234acaaf378e093f1f98400f4998815 for redis:6.2-alpine with digest redis@sha256:eaba718fecd1196d88533de7ba49bf903ad33664a92debb24660a922ecd9cac8 ... 20 21:22:45 Waiting for services to be up and running (timeout 30 seconds)... 21 21:22:46 Authenticating with credentials from job payload (GitLab Registry) 22 21:22:46 Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.2.5-golang-1.23-rust-1.73-node-20.12-postgresql-14:rubygems-3.5-git-2.45-lfs-2.9-chrome-123-yarn-1.22-graphicsmagick-1.3.36 ... 23 21:23:50 Using docker image sha256:e83f017c5ffd177beb4bc3b4bfabde989d741e04fef90cd764896cf9b670552f for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.2.5-golang-1.23-rust-1.73-node-20.12-postgresql-14:rubygems-3.5-git-2.45-lfs-2.9-chrome-123-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.2.5-golang-1.23-rust-1.73-node-20.12-postgresql-14@sha256:770feb0a974e36f8b83d22a3cb18310d0cfeae11e02f6195b1577c73ce26b398 ... 25 21:23:51 Running on runner-pywgzlqb-project-278964-concurrent-0 via runner-pywgzlqb-private-1731619297-6af434ea... 27 21:23:51 Skipping Git repository setup 28 21:23:51 Skipping Git checkout 29 21:23:51 Skipping Git submodules setup 31 21:23:52 Checking cache for ruby-gems-debian-bookworm-ruby-3.2.5-gemfile-Gemfile-20... 33 21:24:02 Successfully extracted cache 35 21:24:08 Downloading artifacts for clone-gitlab-repo (8368443091)... 36 21:24:12 Downloading artifacts from coordinator... ok host =storage.googleapis.com id =8368443091 responseStatus =200 OK token =glcbt-66 37 21:24:12 WARNING: Part of .git directory is on the list of files to extract 38 21:24:12 WARNING: This may introduce unexpected problems 39 21:24:25 Downloading artifacts for compile-test-assets (8368443337)... 40 21:24:30 Downloading artifacts from coordinator... ok host =storage.googleapis.com id =8368443337 responseStatus =200 OK token =glcbt-66 41 21:24:36 Downloading artifacts for detect-tests (8368443460)... 42 21:24:36 Downloading artifacts from coordinator... ok host =storage.googleapis.com id =8368443460 responseStatus =200 OK token =glcbt-66 43 21:24:36 Downloading artifacts for retrieve-tests-metadata (8368443480)... 44 21:24:37 Downloading artifacts from coordinator... ok host =storage.googleapis.com id =8368443480 responseStatus =200 OK token =glcbt-66 45 21:24:37 Downloading artifacts for setup-test-env (8368443411)... 46 21:24:44 Downloading artifacts from coordinator... ok host =storage.googleapis.com id =8368443411 responseStatus =200 OK token =glcbt-66 48 21:24:55 Using docker image sha256:e83f017c5ffd177beb4bc3b4bfabde989d741e04fef90cd764896cf9b670552f for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.2.5-golang-1.23-rust-1.73-node-20.12-postgresql-14:rubygems-3.5-git-2.45-lfs-2.9-chrome-123-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.2.5-golang-1.23-rust-1.73-node-20.12-postgresql-14@sha256:770feb0a974e36f8b83d22a3cb18310d0cfeae11e02f6195b1577c73ce26b398 ... 49 21:24:57 $ echo $FOSS_ONLY 50 21:24:57 $ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb 51 21:24:57 $ export GOPATH=$CI_PROJECT_DIR/.go 52 21:24:57 $ mkdir -p $GOPATH 53 21:24:57 $ source scripts/utils.sh 54 21:24:57 $ log_disk_usage "true" 55 21:24:57 ******************************************************* 56 21:24:57 This runner currently has 80G free disk space. 57 21:24:57 ******************************************************* 60 21:24:57 Filesystem Size Used Avail Use% Mounted on 61 21:24:57 overlay 95G 15G 80G 16% / 62 21:24:57 tmpfs 64M 0 64M 0% /dev 63 21:24:57 shm 64M 0 64M 0% /dev/shm 64 21:24:57 /dev/sda1 95G 15G 80G 16% /cache 65 21:24:57 tmpfs 3.9G 0 3.9G 0% /sys/devices/virtual/dmi/id 67 21:24:57 7.4M ./workhorse 74 21:24:57 560K ./storybook 78 21:24:57 3.2M ./.rubocop_todo 86 21:24:58 1.3M ./knapsack 88 21:24:58 4.3M ./changelogs 89 21:24:58 20K ./haml_lint 90 21:24:58 28K ./metrics_server 93 21:24:58 44K ./generator_templates 97 21:24:58 20K ./file_hooks 98 21:24:58 32K ./crystalball 99 21:24:58 16K ./sidekiq_cluster 101 21:24:58 1.2M ./fixtures 102 21:24:58 964K ./rubocop 109 21:24:58 20K ./.lefthook 111 21:24:58 $ source scripts/prepare_build.sh 143 21:25:19 Using two connections, single database config (config/database.yml.postgresql) 144 21:25:19 Geo DB won't be set up. 145 21:25:19 Embedding DB won't be set up. 159 21:26:36 $ source ./scripts/rspec_helpers.sh 160 21:26:36 $ run_timed_command "gem install knapsack --no-document" 161 21:26:35 $ gem install knapsack --no-document 162 21:26:37 Successfully installed knapsack-4.0.0 163 21:26:37 1 gem installed 164 21:26:36 ==> 'gem install knapsack --no-document' succeeded in 1 seconds. 165 21:26:37 $ section_start "gitaly-test-spawn" "Spawning Gitaly"; scripts/gitaly-test-spawn; section_end "gitaly-test-spawn" 170 21:26:44 $ export RSPEC_SKIPPED_TESTS_REPORT_PATH="rspec/skipped_tests-${CI_JOB_ID}.txt" 171 21:26:44 $ export RSPEC_RETRIED_TESTS_REPORT_PATH="rspec/retried_tests-${CI_JOB_ID}.txt" 172 21:26:44 $ tooling/bin/create_job_metrics_file || true 173 21:26:47 [job-metrics] Creating the job metrics file for the CI/CD job. 174 21:26:47 $ rspec_section rspec_parallelized_job "--fail-fast=${RSPEC_FAIL_FAST_THRESHOLD} --tag ~quarantine --tag ~level:background_migration --tag ~click_house" 176 21:26:47 [21:26:47] Starting rspec_parallelized_job 177 21:26:37 RETRY_FAILED_TESTS_IN_NEW_PROCESS: true 178 21:26:47 KNAPSACK_GENERATE_REPORT: true 179 21:26:47 FLAKY_RSPEC_GENERATE_REPORT: true 180 21:26:47 KNAPSACK_TEST_FILE_PATTERN: spec/{commands,controllers,mailers,requests}{,/**/}*_spec.rb 181 21:26:47 KNAPSACK_LOG_LEVEL: debug 182 21:26:47 KNAPSACK_REPORT_PATH: knapsack/rspec_integration_pg14_single-db-ci-connection_6_20_278964_report.json 183 21:26:47 FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json 184 21:26:47 FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec_integration_pg14_single-db-ci-connection_6_20_278964_report.json 185 21:26:47 NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec_integration_pg14_single-db-ci-connection_6_20_278964_report.json 186 21:26:47 RSPEC_SKIPPED_TESTS_REPORT_PATH: rspec/skipped_tests-8368447063.txt 188 21:26:47 RSPEC_TESTS_MAPPING_ENABLED: 189 21:26:47 RSPEC_TESTS_FILTER_FILE: 190 21:26:47 Shell set options (set -o) enabled: 191 21:26:47 braceexpand on 193 21:26:47 interactive-comments on 195 21:26:52 Knapsack report generator started! 196 21:26:47 /builds/gitlab-org/gitlab/vendor/ruby/3.2.0/gems/io-event-1.6.5/lib/io/event/support.rb:27: warning: IO::Buffer is experimental and both the Ruby and C interface may change in the future! 197 21:27:59 DEPRECATION WARNING: Support for Rails versions < 7.1 is deprecated and will be removed from ViewComponent 4.0.0 (ViewComponent v4 will remove support for Rails versions < 7.1 no earlier than April 1, 2025) (called from <top (required)> at /builds/gitlab-org/gitlab/config/environment.rb:7) 198 21:28:11 warning: parser/current is loading parser/ruby32, which recognizes 3.2.6-compliant syntax, but you are running 3.2.5. 200 21:28:19 Run options: exclude {:quarantine=>true, :level=>"background_migration", :click_house=>true} 201 21:28:19 # [RSpecRunTime] Starting RSpec timer... 202 21:28:19 [TEST PROF INFO] EventProf enabled (sql.active_record) 203 21:28:19 unknown OID 2249: failed to recognize type of 'pg_stat_file'. It will be treated as String. 204 21:28:27 Test environment set up in 3.822140471 seconds 205 21:28:27 # [RSpecRunTime] Starting example group spec/requests/api/projects_spec.rb. Expected to take 8 minutes 22.63 seconds. 207 21:28:32 GET /projects 208 21:28:32 when unauthenticated 209 21:28:32 behaves like projects response 210 21:28:38 returns an array of projects 211 21:28:38 returns the proper security headers 212 21:28:38 behaves like projects response without N + 1 queries 213 21:28:39 avoids N + 1 queries 214 21:28:39 when authenticated as regular user 215 21:28:39 is expected to eq false 216 21:28:40 includes various project feature fields 217 21:28:41 includes correct value of container_registry_enabled 218 21:28:41 includes project topics 219 21:28:42 includes open_issues_count 220 21:28:42 does not include projects marked for deletion 221 21:28:43 does not include open_issues_count if issues are disabled 222 21:28:43 does not include statistics by default 223 21:28:44 includes statistics if requested 224 21:28:44 does not include license by default 225 21:28:45 does not include license if requested 226 21:28:45 behaves like projects response 227 21:28:45 returns an array of projects 228 21:28:46 returns the proper security headers 229 21:28:46 # [RSpecRunTime] RSpec elapsed time: 26.72 seconds. Current RSS: ~1311M. Threads: 4. load average: 1.11 1.15 0.64 1/280 475 231 21:28:46 behaves like projects response without N + 1 queries 232 21:28:48 avoids N + 1 queries 233 21:28:48 # [RSpecRunTime] RSpec elapsed time: 29.0 seconds. Current RSS: ~1308M. Threads: 4. load average: 1.11 1.15 0.64 1/279 476 235 21:28:48 when some projects are in a group 236 21:28:48 behaves like projects response without N + 1 queries 237 21:28:51 avoids N + 1 queries 238 21:28:51 # [RSpecRunTime] RSpec elapsed time: 31.49 seconds. Current RSS: ~1305M. Threads: 4. load average: 1.10 1.15 0.65 1/278 477 240 21:28:51 when user requests pending_delete projects 241 21:28:51 does not return projects marked for deletion 242 21:28:51 when user is an admin 243 21:28:52 returns projects marked for deletion 244 21:28:52 # [RSpecRunTime] RSpec elapsed time: 32.93 seconds. Current RSS: ~1303M. Threads: 4. load average: 1.10 1.15 0.65 1/277 478 246 21:28:52 filter by topic (column topic_list) 247 21:28:53 returns no projects 248 21:28:53 returns matching project for a single topic 249 21:28:53 returns matching project for multiple topics 250 21:28:54 returns no projects if project match only some topic 251 21:28:54 ignores topic if it is empty 252 21:28:54 # [RSpecRunTime] RSpec elapsed time: 35.17 seconds. Current RSS: ~1303M. Threads: 4. load average: 1.10 1.15 0.65 1/277 479 254 21:28:54 filter by topic_id 255 21:28:54 with id of assigned topic 256 21:28:54 behaves like projects response 257 21:28:55 returns an array of projects 258 21:28:55 returns the proper security headers 259 21:28:55 with id of unassigned topic 260 21:28:55 behaves like projects response 261 21:28:55 returns an array of projects 262 21:28:56 returns the proper security headers 263 21:28:56 with non-existing topic id 264 21:28:56 behaves like projects response 265 21:28:56 returns an array of projects 266 21:28:56 returns the proper security headers 267 21:28:56 with empty topic id 268 21:28:56 behaves like projects response 269 21:28:57 returns an array of projects 270 21:28:57 returns the proper security headers 271 21:28:57 # [RSpecRunTime] RSpec elapsed time: 37.88 seconds. Current RSS: ~1301M. Threads: 4. load average: 1.09 1.15 0.65 1/278 480 273 21:28:57 and with_issues_enabled=true 274 21:28:58 only returns projects with issues enabled 275 21:28:58 when external issue tracker is enabled 276 21:28:58 includes open_issues_count 277 21:28:59 does not include open_issues_count if issues are disabled 278 21:28:59 # [RSpecRunTime] RSpec elapsed time: 39.91 seconds. Current RSS: ~1312M. Threads: 5. load average: 1.09 1.15 0.65 1/279 482 280 21:28:59 and with simple=true 281 21:29:00 returns a simplified version of all the projects 282 21:29:00 and using archived 283 21:29:00 returns archived projects 284 21:29:01 returns non-archived projects 285 21:29:02 returns every project 286 21:29:02 # [RSpecRunTime] RSpec elapsed time: 43.01 seconds. Current RSS: ~1311M. Threads: 5. load average: 1.16 1.16 0.65 1/279 483 288 21:29:02 filter by updated_at 289 21:29:03 returns projects sorted by updated_at 290 21:29:03 behaves like projects response 291 21:29:03 returns an array of projects 292 21:29:04 returns the proper security headers 293 21:29:04 # [RSpecRunTime] RSpec elapsed time: 44.36 seconds. Current RSS: ~1313M. Threads: 5. load average: 1.16 1.16 0.65 1/279 484 295 21:29:04 when filtering by updated_at and sorting by a different column 296 21:29:04 returns an error 297 21:29:04 and using search 298 21:29:04 behaves like projects response 299 21:29:04 returns an array of projects 300 21:29:05 returns the proper security headers 301 21:29:05 and using search and search_namespaces is true 302 21:29:05 behaves like projects response 303 21:29:06 returns an array of projects 304 21:29:07 returns the proper security headers 305 21:29:07 # [RSpecRunTime] RSpec elapsed time: 47.74 seconds. Current RSS: ~1313M. Threads: 5. load average: 1.15 1.16 0.66 1/279 485 307 21:29:07 and using id_after 308 21:29:07 behaves like projects response 309 21:29:08 returns an array of projects 310 21:29:08 returns the proper security headers 311 21:29:08 regression: empty string is ignored 312 21:29:08 behaves like projects response 313 21:29:09 returns an array of projects 314 21:29:09 returns the proper security headers 315 21:29:09 # [RSpecRunTime] RSpec elapsed time: 49.86 seconds. Current RSS: ~1314M. Threads: 5. load average: 1.15 1.16 0.66 1/279 486 317 21:29:09 and using id_before 318 21:29:09 behaves like projects response 319 21:29:10 returns an array of projects 320 21:29:10 returns the proper security headers 321 21:29:10 regression: empty string is ignored 322 21:29:10 behaves like projects response 323 21:29:10 returns an array of projects 324 21:29:11 returns the proper security headers 325 21:29:11 # [RSpecRunTime] RSpec elapsed time: 51.83 seconds. Current RSS: ~1308M. Threads: 5. load average: 1.14 1.16 0.66 1/279 487 327 21:29:11 and using both id_after and id_before 328 21:29:11 behaves like projects response 329 21:29:11 returns an array of projects 330 21:29:11 returns the proper security headers 331 21:29:11 and membership=true 332 21:29:11 behaves like projects response 333 21:29:12 returns an array of projects 334 21:29:12 returns the proper security headers 335 21:29:12 and using the visibility filter 336 21:29:13 filters based on private visibility param 337 21:29:13 filters based on internal visibility param 338 21:29:14 filters based on public visibility param 339 21:29:14 # [RSpecRunTime] RSpec elapsed time: 54.47 seconds. Current RSS: ~1309M. Threads: 5. load average: 1.14 1.16 0.66 1/279 488 341 21:29:14 and using the programming language filter 342 21:29:14 filters case-insensitively by programming language 343 21:29:14 and using sorting 344 21:29:15 returns the correct order when sorted by id 345 21:29:15 and with owned=true 346 21:29:15 returns an array of projects the user owns 347 21:29:15 when admin creates a project 348 21:29:16 does not list as owned project for admin 349 21:29:16 and with starred=true 350 21:29:17 returns the starred projects viewable by the user 351 21:29:17 # [RSpecRunTime] RSpec elapsed time: 57.65 seconds. Current RSS: ~1310M. Threads: 5. load average: 1.13 1.15 0.66 1/279 489 353 21:29:17 and with all query parameters 354 21:29:17 including owned filter 355 21:29:20 returns only projects that satisfy all query parameters 356 21:29:20 # [RSpecRunTime] RSpec elapsed time: 1 minute 0.47 second. Current RSS: ~1305M. Threads: 5. load average: 1.13 1.15 0.66 1/279 490 358 21:29:20 including membership filter 359 21:29:23 returns only projects that satisfy all query parameters 360 21:29:23 # [RSpecRunTime] RSpec elapsed time: 1 minute 3.96 seconds. Current RSS: ~1298M. Threads: 5. load average: 1.20 1.17 0.67 1/279 491 362 21:29:23 and with min_access_level 363 21:29:24 returns an array of projects the user has at least developer access 364 21:29:24 # [RSpecRunTime] RSpec elapsed time: 1 minute 5.13 seconds. Current RSS: ~1298M. Threads: 5. load average: 1.20 1.17 0.67 1/279 492 366 21:29:24 and imported=true 367 21:29:26 returns only imported projects owned by current user 368 21:29:28 does not expose import credentials 369 21:29:28 # [RSpecRunTime] RSpec elapsed time: 1 minute 9.14 seconds. Current RSS: ~1317M. Threads: 5. load average: 1.18 1.17 0.67 1/279 493 371 21:29:28 when authenticated as a different user 372 21:29:28 behaves like projects response 373 21:29:29 returns an array of projects 374 21:29:29 returns the proper security headers 375 21:29:29 and with_issues_enabled=true 376 21:29:30 does not return private issue projects 377 21:29:30 when authenticated as admin 378 21:29:30 returns a project with user namespace that has a missing owner 379 21:29:30 behaves like projects response 380 21:29:31 returns an array of projects 381 21:29:31 returns the proper security headers 382 21:29:31 # [RSpecRunTime] RSpec elapsed time: 1 minute 11.96 seconds. Current RSS: ~1322M. Threads: 5. load average: 1.17 1.16 0.67 1/279 494 384 21:29:31 with default created_at desc order 385 21:29:33 orders by id desc instead 386 21:29:33 # [RSpecRunTime] RSpec elapsed time: 1 minute 13.99 seconds. Current RSS: ~1318M. Threads: 5. load average: 1.17 1.16 0.67 1/279 495 389 21:29:33 by star_count 390 21:29:35 with order_by=star_count, returns list of projects sorted by star_count descending 391 21:29:35 # [RSpecRunTime] RSpec elapsed time: 1 minute 15.44 seconds. Current RSS: ~1315M. Threads: 5. load average: 1.17 1.16 0.67 1/279 496 393 21:29:35 by project statistics 394 21:29:35 sorting by repository_size 396 21:29:35 when sorting by repository_size ascendingly 397 21:29:35 returns a properly sorted list of projects 398 21:29:35 when sorting by repository_size descendingly 399 21:29:36 returns a properly sorted list of projects 400 21:29:36 non-admin user 401 21:29:37 returns projects ordered normally 402 21:29:37 sorting by storage_size 404 21:29:37 when sorting by storage_size ascendingly 405 21:29:37 returns a properly sorted list of projects 406 21:29:37 when sorting by storage_size descendingly 407 21:29:38 returns a properly sorted list of projects 408 21:29:38 non-admin user 409 21:29:39 returns projects ordered normally 410 21:29:39 sorting by wiki_size 412 21:29:39 when sorting by wiki_size ascendingly 413 21:29:39 returns a properly sorted list of projects 414 21:29:39 when sorting by wiki_size descendingly 415 21:29:40 returns a properly sorted list of projects 416 21:29:40 non-admin user 417 21:29:41 returns projects ordered normally 418 21:29:41 sorting by packages_size 420 21:29:41 when sorting by packages_size ascendingly 421 21:29:41 returns a properly sorted list of projects 422 21:29:41 when sorting by packages_size descendingly 423 21:29:42 returns a properly sorted list of projects 424 21:29:42 non-admin user 425 21:29:42 returns projects ordered normally 426 21:29:42 by similarity 427 21:29:45 returns non-public items based ordered by similarity 428 21:29:45 when `search` parameter is not given 429 21:29:47 returns items ordered by created_at descending 430 21:29:47 # [RSpecRunTime] RSpec elapsed time: 1 minute 27.31 seconds. Current RSS: ~1315M. Threads: 5. load average: 1.06 1.14 0.67 1/281 497 432 21:29:47 when called anonymously 433 21:29:47 returns items ordered by created_at descending 434 21:29:47 filtering by repository_storage 436 21:29:47 behaves like projects response 437 21:29:47 returns an array of projects 438 21:29:48 returns the proper security headers 439 21:29:48 non-admin user 440 21:29:48 behaves like projects response 441 21:29:48 returns an array of projects 442 21:29:49 returns the proper security headers 443 21:29:49 # [RSpecRunTime] RSpec elapsed time: 1 minute 29.54 seconds. Current RSS: ~1313M. Threads: 5. load average: 1.06 1.14 0.67 1/281 498 445 21:29:49 with keyset pagination 446 21:29:49 headers and records 447 21:29:49 includes a pagination header with link to the next page 448 21:29:50 contains only the first project with per_page = 1 449 21:29:50 still includes a link if the end has reached and there is no more data after this page 450 21:29:50 does not include a next link when the page does not have any records 451 21:29:50 returns an empty array when the page does not have any records 452 21:29:50 responds with 501 if order_by is different from id 453 21:29:50 # [RSpecRunTime] RSpec elapsed time: 1 minute 31.02 seconds. Current RSS: ~1313M. Threads: 5. load average: 1.05 1.14 0.67 1/281 499 455 21:29:50 with descending sorting 456 21:29:51 includes a pagination header with link to the next page 457 21:29:51 contains only the last project with per_page = 1 458 21:29:51 retrieving the full relation 459 21:29:52 returns all projects 460 21:29:52 with forked projects 461 21:29:54 avoids N+1 queries 462 21:29:55 # [RSpecRunTime] RSpec elapsed time: 1 minute 35.24 seconds. Current RSS: ~1311M. Threads: 5. load average: 1.05 1.14 0.67 1/281 500 464 21:29:55 when service desk is enabled 465 21:29:56 avoids N+1 queries 466 21:29:56 # [RSpecRunTime] RSpec elapsed time: 1 minute 36.92 seconds. Current RSS: ~1305M. Threads: 5. load average: 1.05 1.13 0.68 1/281 501 468 21:29:56 rate limiting 469 21:29:56 when the user is signed in 470 21:29:56 behaves like rate limited endpoint 471 21:29:56 when rate limiter enabled 472 21:29:57 logs request and declines it when endpoint called more than the threshold 473 21:29:57 when rate limiter is disabled 474 21:29:57 does not log request and does not block the request 475 21:29:57 when rate_limit_groups_and_projects_api feature flag is disabled 476 21:29:57 behaves like unthrottled endpoint 477 21:29:57 when rate limiter enabled 478 21:29:58 does not log request and accepts it when endpoint called more than the threshold 479 21:29:58 when the user is not signed in 480 21:29:58 behaves like rate limited endpoint 481 21:29:58 when rate limiter enabled 482 21:29:58 logs request and declines it when endpoint called more than the threshold 483 21:29:58 when rate limiter is disabled 484 21:29:58 does not log request and does not block the request 485 21:29:58 POST /projects 486 21:29:59 creates new project without path but with name and returns 201 487 21:30:00 creates new project without name but with path and returns 201 488 21:30:01 creates new project with name and path and returns 201 489 21:30:02 creates last project before reaching project limit 490 21:30:02 does not create new project without name or path and returns 400 491 21:30:03 assigns attributes to project 492 21:30:04 assigns container_registry_enabled to project 493 21:30:05 assigns container_registry_enabled to project 494 21:30:06 creates a project using a template 495 21:30:06 returns 400 for an invalid template 496 21:30:07 disallows creating a project with an import_url and template 497 21:30:07 disallows creating a project with an import_url when git import source is disabled 498 21:30:08 allows creating a project without an import_url when git import source is disabled 499 21:30:08 disallows creating a project with an import_url that is not reachable 500 21:30:09 creates a project with an import_url that is valid 501 21:30:10 sets a project as public 502 21:30:11 sets a project as internal 503 21:30:12 sets a project as private 504 21:30:13 creates a new project initialized with a README.md 505 21:30:15 sets tag list to a project (deprecated) 506 21:30:16 sets topics to a project 507 21:30:17 uploads avatar for project a project 508 21:30:18 sets a project as not allowing outdated diff discussions to automatically resolve 509 21:30:19 sets a project as allowing outdated diff discussions to automatically resolve 510 21:30:20 sets a project as not removing source branches 511 21:30:21 sets a project as removing source branches 512 21:30:22 sets a project as allowing merge even if build fails 513 21:30:23 sets a project as allowing merge only if merge_when_pipeline_succeeds 514 21:30:24 sets a project as not allowing merge when pipeline is skipped 515 21:30:25 sets a project as allowing merge when pipeline is skipped 516 21:30:26 sets a project as allowing merge even if discussions are unresolved 517 21:30:27 sets a project as allowing merge if only_allow_merge_if_all_discussions_are_resolved is nil 518 21:30:28 sets a project as allowing merge only if all discussions are resolved 519 21:30:29 sets a project as enabling auto close referenced issues 520 21:30:30 sets a project as disabling auto close referenced issues 521 21:30:31 sets the merge method of a project to rebase merge 522 21:30:31 rejects invalid values for merge_method 523 21:30:32 ignores import_url when it is nil 524 21:30:32 maximum number of projects reached 525 21:30:32 does not create new project and respond with 403 526 21:30:32 # [RSpecRunTime] RSpec elapsed time: 2 minutes 13.17 seconds. Current RSS: ~1293M. Threads: 5. load average: 1.14 1.15 0.70 2/281 1074 528 21:30:32 behaves like create project with default branch parameter 529 21:30:34 creates project with provided default branch name 530 21:30:34 when branch name is empty 531 21:30:35 creates project with a default project branch name 532 21:30:35 # [RSpecRunTime] RSpec elapsed time: 2 minutes 15.78 seconds. Current RSS: ~1293M. Threads: 5. load average: 1.14 1.15 0.70 1/285 1175 534 21:30:35 when initialize with readme is not set 535 21:30:36 creates project with a default project branch name 536 21:30:36 # [RSpecRunTime] RSpec elapsed time: 2 minutes 16.91 seconds. Current RSS: ~1293M. Threads: 5. load average: 1.21 1.16 0.71 1/285 1196 538 21:30:36 with repository_object_format 540 21:30:37 creates a project with SHA1 repository 541 21:30:37 # [RSpecRunTime] RSpec elapsed time: 2 minutes 18.02 seconds. Current RSS: ~1293M. Threads: 5. load average: 1.21 1.16 0.71 2/285 1215 544 21:30:38 creates a project with SHA256 repository 545 21:30:38 when "support_sha256_repositories" FF is disabled 546 21:30:39 creates a project with SHA1 repository 547 21:30:39 # [RSpecRunTime] RSpec elapsed time: 2 minutes 20.16 seconds. Current RSS: ~1293M. Threads: 5. load average: 1.21 1.16 0.71 1/285 1252 549 21:30:39 when unknown format 550 21:30:40 rejects a project creation 551 21:30:40 when a visibility level is restricted 552 21:30:40 does not allow a non-admin to use a restricted visibility level 553 21:30:41 allows an admin to override restricted visibility settings 554 21:30:41 # [RSpecRunTime] RSpec elapsed time: 2 minutes 21.49 seconds. Current RSS: ~1290M. Threads: 5. load average: 1.20 1.16 0.71 1/285 1271 556 21:30:41 GET /users/:user_id/projects/ 557 21:30:41 returns error when user not found 558 21:30:41 returns projects filtered by user id 559 21:30:42 includes container_registry_access_level 560 21:30:42 returns projects filtered by username 561 21:30:44 returns projects filtered by minimal access level 562 21:30:44 behaves like rate limited endpoint 563 21:30:44 when rate limiter enabled 564 21:30:44 logs request and declines it when endpoint called more than the threshold 565 21:30:44 # [RSpecRunTime] RSpec elapsed time: 2 minutes 24.66 seconds. Current RSS: ~1298M. Threads: 5. load average: 1.20 1.16 0.71 1/285 1272 567 21:30:44 when rate limiter is disabled 568 21:30:44 does not log request and does not block the request 569 21:30:44 when rate_limit_groups_and_projects_api feature flag is disabled 570 21:30:44 behaves like unthrottled endpoint 571 21:30:44 when rate limiter enabled 572 21:30:44 does not log request and accepts it when endpoint called more than the threshold 573 21:30:44 filter by updated_at 574 21:30:45 returns only projects updated on the given timeframe 575 21:30:45 and using id_after 576 21:30:46 only returns projects with id_after filter given 577 21:30:46 returns both projects without a id_after filter 578 21:30:46 # [RSpecRunTime] RSpec elapsed time: 2 minutes 26.96 seconds. Current RSS: ~1302M. Threads: 5. load average: 1.18 1.16 0.71 1/282 1282 580 21:30:46 and using id_before 581 21:30:47 only returns projects with id_before filter given 582 21:30:47 returns both projects without a id_before filter 583 21:30:47 # [RSpecRunTime] RSpec elapsed time: 2 minutes 28.08 seconds. Current RSS: ~1303M. Threads: 5. load average: 1.18 1.16 0.71 1/282 1283 585 21:30:47 and using both id_before and id_after 586 21:30:49 only returns projects with id matching the range 587 21:30:49 # [RSpecRunTime] RSpec elapsed time: 2 minutes 30.03 seconds. Current RSS: ~1302M. Threads: 5. load average: 1.18 1.16 0.71 1/282 1284 589 21:30:49 and using an admin to search 590 21:30:50 returns users projects when authenticated as admin 591 21:30:50 and using the programming language filter 592 21:30:51 filters case-insensitively by programming language 593 21:30:51 GET /users/:user_id/starred_projects/ 594 21:30:51 returns error when user not found 595 21:30:51 behaves like rate limited endpoint 596 21:30:51 when rate limiter enabled 597 21:30:51 logs request and declines it when endpoint called more than the threshold 598 21:30:51 when rate limiter is disabled 599 21:30:51 does not log request and does not block the request 600 21:30:51 when rate_limit_groups_and_projects_api feature flag is disabled 601 21:30:51 behaves like unthrottled endpoint 602 21:30:51 when rate limiter enabled 603 21:30:51 does not log request and accepts it when endpoint called more than the threshold 604 21:30:51 with a public profile 605 21:30:52 returns projects filtered by user 606 21:30:52 filter by updated_at 607 21:30:53 returns only projects updated on the given timeframe 608 21:30:53 # [RSpecRunTime] RSpec elapsed time: 2 minutes 33.51 seconds. Current RSS: ~1304M. Threads: 5. load average: 1.17 1.15 0.71 1/283 1302 610 21:30:53 with a private profile 611 21:30:53 user does not have access to view the private profile 612 21:30:53 returns no projects 613 21:30:53 user has access to view the private profile 614 21:30:54 returns projects filtered by user 615 21:30:54 GET /users/:user_id/contributed_projects/ 616 21:30:57 returns error when user not found 617 21:30:57 behaves like rate limited endpoint 618 21:30:57 when rate limiter enabled 619 21:30:57 logs request and declines it when endpoint called more than the threshold 620 21:30:57 # [RSpecRunTime] RSpec elapsed time: 2 minutes 37.9 seconds. Current RSS: ~1300M. Threads: 5. load average: 1.15 1.15 0.72 1/283 1303 622 21:30:57 when rate limiter is disabled 623 21:30:58 does not log request and does not block the request 624 21:30:58 when rate_limit_groups_and_projects_api feature flag is disabled 625 21:30:58 behaves like unthrottled endpoint 626 21:30:58 when rate limiter enabled 627 21:30:58 does not log request and accepts it when endpoint called more than the threshold 628 21:30:58 with a public profile 629 21:30:59 returns projects filtered by user 630 21:30:59 with a private profile 631 21:30:59 user has access to view the private profile as an admin 632 21:31:00 returns projects filtered by user 633 21:31:00 POST /projects/user/:id 634 21:31:01 creates new project without path but with name and return 201 635 21:31:02 creates new project with name and path and returns 201 636 21:31:02 responds with 400 on failure and not project 637 21:31:03 sets container_registry_enabled 638 21:31:04 assigns attributes to project 639 21:31:05 sets a project as public 640 21:31:06 sets a project as internal 641 21:31:07 sets a project as private 642 21:31:08 sets a project as not allowing outdated diff discussions to automatically resolve 643 21:31:09 sets a project as allowing outdated diff discussions to automatically resolve 644 21:31:10 sets a project as not removing source branches 645 21:31:11 sets a project as removing source branches 646 21:31:12 sets a project as allowing merge even if build fails 647 21:31:13 sets a project as allowing merge only if pipeline succeeds 648 21:31:14 sets a project as not allowing merge when pipeline is skipped 649 21:31:15 sets a project as allowing merge when pipeline is skipped 650 21:31:16 sets a project as allowing merge even if discussions are unresolved 651 21:31:17 sets a project as allowing merge only if all discussions are resolved 652 21:31:17 behaves like POST request permissions for admin mode 653 21:31:17 behaves like when admin 654 21:31:17 behaves like makes request 656 21:31:19 # [RSpecRunTime] RSpec elapsed time: 2 minutes 59.28 seconds. Current RSS: ~1292M. Threads: 5. load average: 1.11 1.14 0.72 1/281 1620 658 21:31:19 behaves like makes request 660 21:31:19 behaves like when user 662 21:31:19 behaves like makes request 664 21:31:19 behaves like create project with default branch parameter 665 21:31:20 creates project with provided default branch name 666 21:31:20 when branch name is empty 667 21:31:22 creates project with a default project branch name 668 21:31:22 # [RSpecRunTime] RSpec elapsed time: 3 minutes 2.49 seconds. Current RSS: ~1292M. Threads: 5. load average: 1.10 1.14 0.72 1/285 1721 670 21:31:22 when initialize with readme is not set 671 21:31:23 creates project with a default project branch name 672 21:31:23 # [RSpecRunTime] RSpec elapsed time: 3 minutes 3.68 seconds. Current RSS: ~1289M. Threads: 5. load average: 1.10 1.14 0.72 1/285 1742 674 21:31:23 container_registry_enabled 675 21:31:23 container_registry_enabled: true, container_registry_access_level: 20 676 21:31:24 setting container_registry_enabled also sets container_registry_access_level 677 21:31:24 # [RSpecRunTime] RSpec elapsed time: 3 minutes 4.82 seconds. Current RSS: ~1291M. Threads: 5. load average: 1.10 1.14 0.72 1/285 1761 679 21:31:24 container_registry_enabled: false, container_registry_access_level: 0 680 21:31:25 setting container_registry_enabled also sets container_registry_access_level 681 21:31:25 # [RSpecRunTime] RSpec elapsed time: 3 minutes 5.92 seconds. Current RSS: ~1291M. Threads: 5. load average: 1.10 1.14 0.72 1/285 1780 683 21:31:25 container_registry_access_level 684 21:31:25 container_registry_access_level: "enabled", container_registry_enabled: true 685 21:31:26 setting container_registry_access_level also sets container_registry_enabled 686 21:31:26 # [RSpecRunTime] RSpec elapsed time: 3 minutes 7.04 seconds. Current RSS: ~1292M. Threads: 5. load average: 1.09 1.14 0.73 1/285 1799 688 21:31:26 container_registry_access_level: "private", container_registry_enabled: true 689 21:31:27 setting container_registry_access_level also sets container_registry_enabled 690 21:31:27 # [RSpecRunTime] RSpec elapsed time: 3 minutes 8.23 seconds. Current RSS: ~1291M. Threads: 5. load average: 1.09 1.14 0.73 1/285 1818 692 21:31:28 container_registry_access_level: "disabled", container_registry_enabled: false 693 21:31:29 setting container_registry_access_level also sets container_registry_enabled 694 21:31:29 # [RSpecRunTime] RSpec elapsed time: 3 minutes 9.38 seconds. Current RSS: ~1293M. Threads: 5. load average: 1.09 1.14 0.73 1/285 1837 696 21:31:29 GET /projects/:id/groups 697 21:31:30 behaves like GET request permissions for admin mode 698 21:31:30 behaves like when admin 699 21:31:30 behaves like makes request 701 21:31:30 # [RSpecRunTime] RSpec elapsed time: 3 minutes 10.84 seconds. Current RSS: ~1292M. Threads: 5. load average: 1.09 1.14 0.73 1/285 1838 703 21:31:30 behaves like makes request 705 21:31:30 behaves like when user 707 21:31:31 behaves like makes request 709 21:31:31 when unauthenticated 710 21:31:31 does not return groups for private projects 711 21:31:31 for public projects 712 21:31:31 behaves like successful groups response 713 21:31:31 returns an array of groups 714 21:31:31 when authenticated as user 715 21:31:31 when user does not have access to the project 716 21:31:31 does not return groups 717 21:31:31 when user has access to the project 718 21:31:31 behaves like successful groups response 719 21:31:32 returns an array of groups 720 21:31:32 when search by root group name 721 21:31:32 behaves like successful groups response 722 21:31:32 returns an array of groups 723 21:31:32 with_shared option is on 724 21:31:32 behaves like successful groups response 725 21:31:32 returns an array of groups 726 21:31:32 when shared_min_access_level is set 727 21:31:32 behaves like successful groups response 728 21:31:33 returns an array of groups 729 21:31:33 when shared_visible_only is on 730 21:31:33 behaves like successful groups response 731 21:31:33 returns an array of groups 732 21:31:33 when search by shared group name 733 21:31:33 behaves like successful groups response 734 21:31:34 returns an array of groups 735 21:31:34 when skip_groups is set 736 21:31:34 behaves like successful groups response 737 21:31:34 returns an array of groups 738 21:31:34 when authenticated as admin 739 21:31:34 behaves like successful groups response 740 21:31:34 returns an array of groups 741 21:31:34 GET /project/:id/share_locations 742 21:31:35 behaves like GET request permissions for admin mode 743 21:31:35 behaves like when admin 744 21:31:35 behaves like makes request 746 21:31:35 behaves like makes request 748 21:31:35 behaves like when user 750 21:31:36 behaves like makes request 752 21:31:36 when unauthenticated 753 21:31:36 does not return the groups for the given project 754 21:31:36 when authenticated 755 21:31:36 when user is not the owner of the project 756 21:31:36 does not return the groups 757 21:31:36 when user is the owner of the project 758 21:31:36 with default search 759 21:31:36 behaves like successful groups response 760 21:31:37 returns an array of groups 761 21:31:37 when searching by group name 762 21:31:37 searching by group name 763 21:31:37 behaves like successful groups response 764 21:31:38 returns an array of groups 765 21:31:38 searching by full group path 766 21:31:38 behaves like successful groups response 767 21:31:39 returns an array of groups 768 21:31:39 when authenticated as admin 769 21:31:39 without share_with_group_lock 770 21:31:39 behaves like successful groups response 771 21:31:39 returns an array of groups 772 21:31:39 with share_with_group_lock 773 21:31:39 behaves like successful groups response 774 21:31:39 returns an array of groups 775 21:31:39 GET /projects/:id 776 21:31:39 exposes service desk attributes 777 21:31:39 behaves like GET request permissions for admin mode 778 21:31:39 behaves like when admin 779 21:31:40 behaves like makes request 781 21:31:40 behaves like makes request 783 21:31:40 behaves like when user 785 21:31:40 behaves like makes request 787 21:31:40 behaves like rate limited endpoint 788 21:31:40 when rate limiter enabled 789 21:31:41 logs request and declines it when endpoint called more than the threshold 790 21:31:41 when rate limiter is disabled 791 21:31:41 does not log request and does not block the request 792 21:31:41 when rate_limit_groups_and_projects_api feature flag is disabled 793 21:31:41 behaves like unthrottled endpoint 794 21:31:41 when rate limiter enabled 795 21:31:41 does not log request and accepts it when endpoint called more than the threshold 796 21:31:41 when unauthenticated 797 21:31:41 does not return private projects 798 21:31:43 returns public projects 799 21:31:43 the project is a public fork 800 21:31:45 shows details of a public fork parent 801 21:31:47 hides details of a private fork parent 802 21:31:47 # [RSpecRunTime] RSpec elapsed time: 3 minutes 27.92 seconds. Current RSS: ~1327M. Threads: 5. load average: 1.06 1.13 0.73 1/284 1920 804 21:31:47 and the project has a private repository 805 21:31:49 hides protected attributes of private repositories if user is not a member 806 21:31:50 exposes protected attributes of private repositories if user is a member 807 21:31:50 # [RSpecRunTime] RSpec elapsed time: 3 minutes 31.0 seconds. Current RSS: ~1325M. Threads: 5. load average: 1.06 1.12 0.73 1/285 1975 809 21:31:50 when authenticated as an admin 810 21:31:52 returns a project by id 811 21:31:53 exposes all necessary attributes 812 21:31:53 # [RSpecRunTime] RSpec elapsed time: 3 minutes 33.38 seconds. Current RSS: ~1319M. Threads: 5. load average: 1.06 1.12 0.73 1/286 1985 814 21:31:53 when authenticated as a regular user 815 21:31:53 returns a project by id 816 21:31:54 returns a group link with expiration date 817 21:31:54 returns a 404 error if not found 818 21:31:54 returns a 404 error if user is not a member 819 21:31:55 handles users with dots 820 21:31:56 exposes namespace fields 821 21:31:56 does not include license fields by default 822 21:31:56 includes license fields when requested 823 21:31:57 does not include statistics by default 824 21:31:57 includes statistics if requested 825 21:31:57 includes import_error if user can admin project 826 21:31:57 does not include import_error if user cannot admin project 827 21:31:58 returns 404 when project is marked for deletion 828 21:31:58 when path name is specified 829 21:31:58 returns a project 830 21:31:58 returns a project using case-insensitive search 831 21:31:58 # [RSpecRunTime] RSpec elapsed time: 3 minutes 38.97 seconds. Current RSS: ~1314M. Threads: 5. load average: 1.05 1.12 0.74 1/284 1992 833 21:31:58 when a project is moved 834 21:31:58 redirects to the new project location 835 21:31:58 when a user do not have access 836 21:31:59 returns a 404 error 837 21:31:59 and the project has a private repository 838 21:32:00 does not include statistics if user is not a member 839 21:32:02 includes statistics if user is a member 840 21:32:03 includes statistics also when repository is disabled 841 21:32:03 # [RSpecRunTime] RSpec elapsed time: 3 minutes 43.87 seconds. Current RSS: ~1332M. Threads: 5. load average: 1.05 1.12 0.74 1/286 2075 843 21:32:03 links exposure 844 21:32:04 exposes related resources full URIs 845 21:32:04 filters related URIs when their feature is not enabled 846 21:32:04 # [RSpecRunTime] RSpec elapsed time: 3 minutes 45.05 seconds. Current RSS: ~1332M. Threads: 5. load average: 1.05 1.12 0.74 1/286 2076 848 21:32:04 the project is a fork 849 21:32:06 shows details of a visible fork parent 850 21:32:07 hides details of a hidden fork parent 851 21:32:07 # [RSpecRunTime] RSpec elapsed time: 3 minutes 48.02 seconds. Current RSS: ~1331M. Threads: 5. load average: 1.05 1.12 0.74 1/285 2077 855 21:32:08 contains permission information 856 21:32:08 personal project 857 21:32:09 sets project access and returns 200 858 21:32:09 group project 859 21:32:10 sets the owner and return 200 860 21:32:10 # [RSpecRunTime] RSpec elapsed time: 3 minutes 50.62 seconds. Current RSS: ~1319M. Threads: 5. load average: 1.05 1.12 0.74 1/287 2087 862 21:32:10 nested group project 863 21:32:11 sets group access and return 200 864 21:32:11 with various access levels across nested groups 865 21:32:12 sets the maximum group access and return 200 866 21:32:12 # [RSpecRunTime] RSpec elapsed time: 3 minutes 53.22 seconds. Current RSS: ~1312M. Threads: 5. load average: 1.04 1.11 0.74 1/285 2088 868 21:32:12 when project belongs to a group namespace 869 21:32:14 returns group web_url and avatar_url 870 21:32:14 # [RSpecRunTime] RSpec elapsed time: 3 minutes 55.04 seconds. Current RSS: ~1310M. Threads: 5. load average: 1.04 1.11 0.74 1/282 2089 872 21:32:14 when project belongs to a user namespace 873 21:32:15 returns user web_url and avatar_url 874 21:32:15 when authenticated as a developer 875 21:32:16 hides sensitive admin attributes 876 21:32:16 behaves like storing arguments in the application context for the API 877 21:32:16 places the expected params in the application context 878 21:32:16 repository_storage attribute 879 21:32:16 when authenticated as an admin 880 21:32:17 returns repository_storage attribute 881 21:32:17 when authenticated as a regular user 882 21:32:17 does not return repository_storage attribute 883 21:32:17 when project is shared to multiple groups 884 21:32:19 avoids N+1 queries 885 21:32:19 # [RSpecRunTime] RSpec elapsed time: 3 minutes 59.36 seconds. Current RSS: ~1306M. Threads: 5. load average: 0.96 1.10 0.74 2/281 2090 887 21:32:19 GET /projects/:id/users 888 21:32:19 behaves like GET request permissions for admin mode 889 21:32:19 behaves like when admin 890 21:32:19 behaves like makes request 892 21:32:19 behaves like makes request 894 21:32:19 behaves like when user 896 21:32:19 behaves like makes request 898 21:32:20 when unauthenticated 899 21:32:20 behaves like project users response 900 21:32:21 returns the project users 901 21:32:21 # [RSpecRunTime] RSpec elapsed time: 4 minutes 1.71 seconds. Current RSS: ~1307M. Threads: 5. load average: 0.96 1.09 0.74 1/281 2091 903 21:32:21 when authenticated 904 21:32:21 returns a 404 error if not found 905 21:32:21 returns a 404 error if user is not a member 906 21:32:22 filters out users listed in skip_users 907 21:32:22 valid request 908 21:32:22 behaves like project users response 909 21:32:23 returns the project users 910 21:32:23 # [RSpecRunTime] RSpec elapsed time: 4 minutes 3.57 seconds. Current RSS: ~1306M. Threads: 5. load average: 0.96 1.09 0.74 1/281 2092 912 21:32:23 fork management 913 21:32:24 POST /projects/:id/fork/:forked_from_id 914 21:32:24 refreshes the forks count cache 915 21:32:24 behaves like POST request permissions for admin mode 916 21:32:24 behaves like when admin 917 21:32:24 behaves like makes request 919 21:32:25 # [RSpecRunTime] RSpec elapsed time: 4 minutes 5.56 seconds. Current RSS: ~1304M. Threads: 5. load average: 0.96 1.09 0.74 1/281 2093 921 21:32:25 behaves like makes request 923 21:32:25 behaves like when user 925 21:32:25 behaves like makes request 927 21:32:26 user is a developer 928 21:32:27 denies project to be forked from an existing project 929 21:32:27 # [RSpecRunTime] RSpec elapsed time: 4 minutes 7.66 seconds. Current RSS: ~1303M. Threads: 5. load average: 0.96 1.09 0.74 1/281 2094 931 21:32:27 user is maintainer 932 21:32:27 denies project to be forked from an existing project 933 21:32:27 user is owner 934 21:32:28 fails without permission from forked_from project 935 21:32:28 denies project to be forked from a private project 936 21:32:28 and user is a reporter of target group 937 21:32:29 fails as target namespace is unauthorized 938 21:32:29 # [RSpecRunTime] RSpec elapsed time: 4 minutes 10.22 seconds. Current RSS: ~1309M. Threads: 5. load average: 0.96 1.09 0.74 1/281 2095 940 21:32:29 and user is a developer of target group 941 21:32:31 allows project to be forked from an existing project 942 21:32:31 # [RSpecRunTime] RSpec elapsed time: 4 minutes 11.79 seconds. Current RSS: ~1308M. Threads: 5. load average: 1.05 1.11 0.75 1/281 2096 944 21:32:31 user is admin 945 21:32:32 allows project to be forked from an existing project 946 21:32:32 allows project to be forked from a private project 947 21:32:33 refreshes the forks count cachce 948 21:32:33 fails if forked_from project which does not exist 949 21:32:34 fails with 409 if already forked 950 21:32:34 when forking process fails 951 21:32:34 fails with 400 error 952 21:32:34 # [RSpecRunTime] RSpec elapsed time: 4 minutes 14.57 seconds. Current RSS: ~1309M. Threads: 5. load average: 1.05 1.11 0.75 1/281 2097 954 21:32:34 when fork target and source are the same 955 21:32:34 returns an error 956 21:32:34 DELETE /projects/:id/fork 957 21:32:34 is not visible to users outside group 958 21:32:34 when users belong to project group 959 21:32:35 is forbidden to non-owner users 960 21:32:37 is idempotent if not forked 961 21:32:37 for a forked project 962 21:32:38 Job arguments to ProjectCacheWorker must be native JSON types, but :repository_size is a Symbol. 964 21:32:38 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 965 21:32:38 makes forked project unforked 966 21:32:38 behaves like DELETE request permissions for admin mode 967 21:32:38 behaves like when admin 968 21:32:39 behaves like makes request 969 21:32:40 Job arguments to ProjectCacheWorker must be native JSON types, but :repository_size is a Symbol. 971 21:32:40 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 973 21:32:40 # [RSpecRunTime] RSpec elapsed time: 4 minutes 21.03 seconds. Current RSS: ~1309M. Threads: 5. load average: 1.04 1.10 0.75 1/281 2098 975 21:32:40 behaves like makes request 977 21:32:42 # [RSpecRunTime] RSpec elapsed time: 4 minutes 22.91 seconds. Current RSS: ~1309M. Threads: 5. load average: 1.04 1.10 0.75 1/281 2099 979 21:32:42 behaves like when user 981 21:32:44 behaves like makes request 983 21:32:46 # [RSpecRunTime] RSpec elapsed time: 4 minutes 26.72 seconds. Current RSS: ~1304M. Threads: 5. load average: 1.04 1.10 0.75 1/281 2100 985 21:32:46 behaves like 412 response 986 21:32:46 for a modified resource 987 21:32:48 returns 412 with a JSON error 988 21:32:48 # [RSpecRunTime] RSpec elapsed time: 4 minutes 28.47 seconds. Current RSS: ~1305M. Threads: 5. load average: 1.04 1.10 0.75 1/281 2101 990 21:32:48 for an unmodified resource 991 21:32:50 Job arguments to ProjectCacheWorker must be native JSON types, but :repository_size is a Symbol. 993 21:32:50 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 994 21:32:50 returns 204 with an empty body 995 21:32:50 # [RSpecRunTime] RSpec elapsed time: 4 minutes 30.32 seconds. Current RSS: ~1303M. Threads: 5. load average: 1.04 1.10 0.75 1/281 2102 997 21:32:50 GET /projects/:id/forks 998 21:32:50 for a forked project 999 21:32:50 for a user that can access the forks 1000 21:32:52 returns the forks 1001 21:32:52 filter by updated_at 1002 21:32:53 returns only forks updated on the given timeframe 1003 21:32:53 # [RSpecRunTime] RSpec elapsed time: 4 minutes 33.47 seconds. Current RSS: ~1300M. Threads: 5. load average: 1.11 1.12 0.76 1/281 2119 1005 21:32:53 for a user that cannot access the forks 1006 21:32:53 returns an empty array 1007 21:32:53 for a non-forked project 1008 21:32:54 returns an empty array 1009 21:32:54 POST /projects/:id/share 1010 21:32:55 shares project with group 1011 21:32:56 updates project authorization 1012 21:32:56 returns a 400 error when group id is not given 1013 21:32:56 returns a 400 error when access level is not given 1014 21:32:57 returns a 400 error when sharing is disabled 1015 21:32:58 returns a 404 error when user cannot read group 1016 21:32:58 returns a 404 error when group does not exist 1017 21:32:59 returns a 400 error when wrong params passed 1018 21:33:00 returns a 403 when a maintainer tries to create a link with OWNER access 1019 21:33:00 returns a 409 error when link is not saved 1020 21:33:00 when project is forked 1021 21:33:02 returns a 404 error when group does not exist 1022 21:33:02 # [RSpecRunTime] RSpec elapsed time: 4 minutes 43.14 seconds. Current RSS: ~1316M. Threads: 5. load average: 1.10 1.11 0.76 1/281 2122 1024 21:33:02 GET /projects/:id/invited_groups 1025 21:33:04 behaves like rate limited endpoint 1026 21:33:04 when rate limiter enabled 1027 21:33:04 logs request and declines it when endpoint called more than the threshold 1028 21:33:04 # [RSpecRunTime] RSpec elapsed time: 4 minutes 44.82 seconds. Current RSS: ~1314M. Threads: 5. load average: 1.10 1.11 0.76 1/281 2123 1030 21:33:04 when rate limiter is disabled 1031 21:33:04 does not log request and does not block the request 1032 21:33:04 when authenticated as user 1033 21:33:05 returns the invited groups in the project 1034 21:33:05 when authenticated and user does not have the access 1035 21:33:05 does not return the invited groups in the project 1036 21:33:05 when unauthenticated as user 1037 21:33:07 only returns the invited public groups in the project 1038 21:33:07 # [RSpecRunTime] RSpec elapsed time: 4 minutes 47.61 seconds. Current RSS: ~1317M. Threads: 5. load average: 1.09 1.11 0.76 1/281 2124 1040 21:33:07 when search is present in request 1041 21:33:08 filters the invited groups in the group based on search params 1042 21:33:08 # [RSpecRunTime] RSpec elapsed time: 4 minutes 49.04 seconds. Current RSS: ~1317M. Threads: 5. load average: 1.09 1.11 0.76 1/281 2125 1044 21:33:08 when using min_access_level in the request 1045 21:33:09 with min_access_level parameter 1046 21:33:10 returns an array of groups the user has at least owner access 1047 21:33:10 # [RSpecRunTime] RSpec elapsed time: 4 minutes 50.51 seconds. Current RSS: ~1309M. Threads: 5. load average: 1.09 1.11 0.76 1/281 2126 1049 21:33:10 when include_relation is present in request 1050 21:33:11 filters the invited groups in the project based on direct relation params 1051 21:33:12 filters the invited groups in the project based on inherited relation params 1052 21:33:12 returns error message when include relation is invalid 1053 21:33:12 # [RSpecRunTime] RSpec elapsed time: 4 minutes 52.73 seconds. Current RSS: ~1303M. Threads: 5. load average: 1.00 1.09 0.76 1/281 2127 1055 21:33:12 DELETE /projects/:id/share/:group_id 1056 21:33:12 returns a 400 when group id is not an integer 1057 21:33:12 returns a 404 error when group link does not exist 1058 21:33:12 returns a 404 error when project does not exist 1059 21:33:12 for a valid group 1060 21:33:13 returns 204 when deleting a group share 1061 21:33:14 updates project authorization 1062 21:33:14 returns an error when link is not destroyed 1063 21:33:14 behaves like 412 response 1064 21:33:14 for a modified resource 1065 21:33:15 returns 412 with a JSON error 1066 21:33:15 # [RSpecRunTime] RSpec elapsed time: 4 minutes 55.57 seconds. Current RSS: ~1311M. Threads: 5. load average: 1.00 1.09 0.76 1/281 2128 1068 21:33:15 for an unmodified resource 1069 21:33:15 returns 204 with an empty body 1070 21:33:15 when a MAINTAINER tries to destroy a link with OWNER access 1072 21:33:16 POST /projects/:id/import_project_members/:project_id 1073 21:33:22 records the query 1074 21:33:22 returns 200 when it successfully imports members from another project 1075 21:33:23 returns 404 if the source project does not exist 1076 21:33:24 returns 404 if the target project members cannot be administered by the requester 1077 21:33:24 returns 404 if the source project members cannot be viewed by the requester 1078 21:33:25 returns 403 if the source project members cannot be administered by the requester 1079 21:33:25 returns 422 if the import failed for valid projects 1080 21:33:25 when importing of members did not work for some or all members 1081 21:33:26 fails to import some members 1082 21:33:26 # [RSpecRunTime] RSpec elapsed time: 5 minutes 6.82 seconds. Current RSS: ~1312M. Threads: 5. load average: 1.08 1.10 0.77 1/281 2129 1084 21:33:26 PUT /projects/:id 1085 21:33:27 sets container_registry_access_level 1086 21:33:27 sets container_registry_enabled 1087 21:33:28 sets security_and_compliance_access_level 1088 21:33:28 sets analytics_access_level 1089 21:33:29 sets releases_access_level 1090 21:33:29 sets environments_access_level 1091 21:33:29 sets feature_flags_access_level 1092 21:33:30 sets infrastructure_access_level 1093 21:33:30 sets monitor_access_level 1094 21:33:31 sets model_experiments_access_level 1095 21:33:31 sets model_registry_access_level 1096 21:33:31 returns 400 when nothing sent 1097 21:33:31 behaves like PUT request permissions for admin mode 1098 21:33:31 behaves like when admin 1099 21:33:32 behaves like makes request 1101 21:33:32 # [RSpecRunTime] RSpec elapsed time: 5 minutes 12.77 seconds. Current RSS: ~1313M. Threads: 5. load average: 0.99 1.08 0.76 1/282 2139 1103 21:33:32 behaves like makes request 1105 21:33:32 behaves like when user 1107 21:33:32 behaves like makes request 1109 21:33:33 updating ci_push_repository_for_job_token_allowed attribute 1110 21:33:33 is disabled by default 1111 21:33:33 enables push to repository using job token 1112 21:33:33 updating packages_enabled attribute 1113 21:33:33 is enabled by default 1114 21:33:35 disables project packages feature 1115 21:33:35 # [RSpecRunTime] RSpec elapsed time: 5 minutes 15.58 seconds. Current RSS: ~1315M. Threads: 5. load average: 0.99 1.08 0.76 1/282 2140 1117 21:33:35 when unauthenticated 1118 21:33:35 returns authentication error 1119 21:33:35 when authenticated as project owner 1120 21:33:36 updates visibility_level 1121 21:33:36 updates visibility_level from public to private 1122 21:33:36 does not update visibility_level if it is restricted 1123 21:33:37 does not update name to existing name 1124 21:33:37 updates request_access_enabled 1125 21:33:38 updates path & name to existing path & name in different namespace 1126 21:33:38 Job arguments to ProjectCacheWorker must be native JSON types, but :commit_count is a Symbol. 1128 21:33:38 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 1129 21:33:39 updates default_branch 1130 21:33:39 updates jobs_enabled 1131 21:33:40 updates builds_access_level 1132 21:33:40 updates pages_access_level 1133 21:33:40 updates emails_disabled 1134 21:33:41 updates emails_enabled? 1135 21:33:41 updates build_git_strategy 1136 21:33:41 rejects to update build_git_strategy when build_git_strategy is invalid 1137 21:33:42 updates merge_method 1138 21:33:42 rejects to update merge_method when merge_method is invalid 1139 21:33:42 updates restrict_user_defined_variables 1140 21:33:43 updates ci_pipeline_variables_minimum_override_role 1141 21:33:43 rejects updating ci_pipeline_variables_minimum_override_role when an invalid role is provided 1142 21:33:43 rejects updating ci_pipeline_variables_minimum_override_role when an existing but not allowed role is provided 1143 21:33:43 updates public_builds (deprecated) 1144 21:33:44 updates public_jobs 1145 21:33:44 updates auto_devops_deploy_strategy 1146 21:33:45 updates auto_devops_enabled 1147 21:33:45 updates topics using tag_list (deprecated) 1148 21:33:46 updates topics 1149 21:33:46 updates enforce_auth_checks_on_uploads 1150 21:33:47 updates squash_option 1151 21:33:47 does not update an invalid squash_option 1152 21:33:47 when ci_pipeline_variables_minimum_override_role is owner 1153 21:33:47 and current user is maintainer 1154 21:33:47 rejects to change restrict_user_defined_variables 1155 21:33:48 rejects to change ci_pipeline_variables_minimum_override_role 1156 21:33:48 # [RSpecRunTime] RSpec elapsed time: 5 minutes 28.65 seconds. Current RSS: ~1304M. Threads: 5. load average: 1.00 1.08 0.77 1/285 2197 1158 21:33:48 and current user is owner 1159 21:33:49 successfully changes restrict_user_defined_variables 1160 21:33:49 successfully changes ci_pipeline_variables_minimum_override_role 1161 21:33:49 # [RSpecRunTime] RSpec elapsed time: 5 minutes 30.02 seconds. Current RSS: ~1308M. Threads: 5. load average: 1.00 1.08 0.77 1/282 2198 1163 21:33:49 when ci_pipeline_variables_minimum_override_role is set to maintainer 1164 21:33:49 and current user is maintainer 1165 21:33:50 successfully changes restrict_user_defined_variables 1166 21:33:51 successfully changes ci_pipeline_variables_minimum_override_role 1167 21:33:51 rejects to ci_pipeline_variables_minimum_override_role to owner 1168 21:33:51 # [RSpecRunTime] RSpec elapsed time: 5 minutes 31.85 seconds. Current RSS: ~1310M. Threads: 5. load average: 0.91 1.06 0.76 1/282 2199 1170 21:33:51 and current user is developer 1171 21:33:52 fails to change restrict_user_defined_variables 1172 21:33:52 fails to change ci_pipeline_variables_minimum_override_role 1173 21:33:52 # [RSpecRunTime] RSpec elapsed time: 5 minutes 33.04 seconds. Current RSS: ~1312M. Threads: 5. load average: 0.91 1.06 0.76 1/282 2200 1175 21:33:52 with changes to the avatar 1176 21:33:54 uploads avatar to project without an avatar 1177 21:33:54 uploads and changes avatar to project with an avatar 1178 21:33:55 uploads and changes avatar to project among other changes 1179 21:33:55 removes avatar from project with an avatar 1180 21:33:55 # [RSpecRunTime] RSpec elapsed time: 5 minutes 35.88 seconds. Current RSS: ~1320M. Threads: 5. load average: 0.91 1.06 0.76 1/283 2231 1182 21:33:55 when authenticated as project maintainer 1183 21:33:56 updates path 1184 21:33:56 updates other attributes 1185 21:33:57 does not update path to existing path 1186 21:33:57 updates name 1187 21:33:57 does not update visibility_level 1188 21:33:58 updates container_expiration_policy 1189 21:33:58 doesn't update container_expiration_policy with invalid regex 1190 21:33:58 doesn't update container_expiration_policy with invalid keep_n 1191 21:33:58 # [RSpecRunTime] RSpec elapsed time: 5 minutes 38.87 seconds. Current RSS: ~1321M. Threads: 5. load average: 0.92 1.06 0.76 1/284 2249 1193 21:33:58 with repository_object_format 1194 21:33:59 ignores repository object format field 1195 21:33:59 with initialize_with_readme 1196 21:33:59 ignores initialize_with_readme field 1197 21:33:59 when authenticated as project developer 1198 21:33:59 does not update other attributes 1199 21:33:59 when authenticated as the admin 1200 21:34:00 ignores visibility level restrictions 1201 21:34:00 when updating repository storage 1203 21:34:01 returns 200 but does not change repository_storage 1204 21:34:01 # [RSpecRunTime] RSpec elapsed time: 5 minutes 41.88 seconds. Current RSS: ~1317M. Threads: 5. load average: 1.01 1.08 0.77 1/285 2277 1207 21:34:02 returns 400 when repository storage is unknown 1208 21:34:04 returns 200 when repository storage has changed 1209 21:34:04 # [RSpecRunTime] RSpec elapsed time: 5 minutes 44.76 seconds. Current RSS: ~1333M. Threads: 5. load average: 1.01 1.08 0.77 1/286 2323 1211 21:34:04 when updating service desk 1213 21:34:05 enables the service_desk 1214 21:34:05 when updating keep latest artifact 1216 21:34:06 enables keep_latest_artifact 1217 21:34:06 attribute mr_default_target_self 1218 21:34:07 is by default set to false 1219 21:34:07 for a non-forked project 1220 21:34:07 is not exposed 1221 21:34:08 is not possible to update 1222 21:34:08 # [RSpecRunTime] RSpec elapsed time: 5 minutes 48.39 seconds. Current RSS: ~1326M. Threads: 5. load average: 1.01 1.07 0.77 1/284 2324 1224 21:34:08 for a forked project 1225 21:34:09 updates to true 1226 21:34:09 # [RSpecRunTime] RSpec elapsed time: 5 minutes 49.59 seconds. Current RSS: ~1322M. Threads: 5. load average: 1.01 1.07 0.77 1/284 2325 1228 21:34:09 POST /projects/:id/archive 1229 21:34:09 on an unarchived project 1230 21:34:09 archives the project 1231 21:34:09 on an archived project 1232 21:34:10 remains archived 1233 21:34:10 user without archiving rights to the project 1234 21:34:10 rejects the action 1235 21:34:10 when a project is moved 1236 21:34:10 returns 405 error 1237 21:34:10 when user do not have access to the project 1238 21:34:11 returns 404 error 1239 21:34:11 POST /projects/:id/unarchive 1240 21:34:11 on an unarchived project 1241 21:34:11 remains unarchived 1242 21:34:11 on an archived project 1243 21:34:11 unarchives the project 1244 21:34:11 user without archiving rights to the project 1245 21:34:12 rejects the action 1246 21:34:12 POST /projects/:id/star 1247 21:34:12 on an unstarred project 1248 21:34:12 stars the project 1249 21:34:12 on a starred project 1250 21:34:12 does not modify the star count 1251 21:34:12 POST /projects/:id/unstar 1252 21:34:12 on a starred project 1253 21:34:13 unstars the project 1254 21:34:13 on an unstarred project 1255 21:34:13 does not modify the star count 1256 21:34:13 GET /projects/:id/starrers 1257 21:34:14 returns not_found(404) for not existing project 1258 21:34:14 public project without user 1259 21:34:14 returns only starrers with a public profile 1260 21:34:14 behaves like project starrers response 1261 21:34:15 returns an array of starrers 1262 21:34:16 returns the proper security headers 1263 21:34:16 # [RSpecRunTime] RSpec elapsed time: 5 minutes 56.94 seconds. Current RSS: ~1305M. Threads: 5. load average: 1.01 1.07 0.78 1/282 2326 1265 21:34:16 public project with user with private profile 1266 21:34:17 returns current user with a private profile 1267 21:34:17 behaves like project starrers response 1268 21:34:18 returns an array of starrers 1269 21:34:19 returns the proper security headers 1270 21:34:19 # [RSpecRunTime] RSpec elapsed time: 5 minutes 59.79 seconds. Current RSS: ~1304M. Threads: 5. load average: 1.01 1.07 0.78 1/282 2327 1272 21:34:19 private project 1273 21:34:19 with unauthorized user 1274 21:34:20 returns not_found for existing but unauthorized project 1275 21:34:20 # [RSpecRunTime] RSpec elapsed time: 6 minutes 0.88 second. Current RSS: ~1303M. Threads: 5. load average: 1.01 1.07 0.78 1/282 2328 1277 21:34:20 without user 1278 21:34:21 returns not_found for existing but unauthorized project 1279 21:34:21 GET /projects/:id/languages 1280 21:34:21 with an authorized user 1281 21:34:21 returns not_found(404) for not existing project 1282 21:34:21 behaves like languages and percentages JSON response 1283 21:34:21 when the languages haven't been detected yet 1284 21:34:22 returns expected language values 1285 21:34:22 when the languages were detected before 1286 21:34:22 returns the detection from the database 1287 21:34:22 with not authorized user 1288 21:34:22 returns not_found for existing but unauthorized project 1289 21:34:22 without user 1290 21:34:22 returns not_found for existing but unauthorized project 1291 21:34:22 behaves like languages and percentages JSON response 1292 21:34:22 when the languages haven't been detected yet 1293 21:34:24 returns expected language values 1294 21:34:24 # [RSpecRunTime] RSpec elapsed time: 6 minutes 4.5 seconds. Current RSS: ~1315M. Threads: 5. load average: 1.00 1.07 0.78 1/284 2367 1296 21:34:24 when the languages were detected before 1297 21:34:25 returns the detection from the database 1298 21:34:25 # [RSpecRunTime] RSpec elapsed time: 6 minutes 5.89 seconds. Current RSS: ~1322M. Threads: 5. load average: 1.00 1.07 0.78 1/284 2386 1300 21:34:25 DELETE /projects/:id 1301 21:34:25 behaves like DELETE request permissions for admin mode 1302 21:34:25 behaves like when admin 1303 21:34:25 behaves like makes request 1305 21:34:26 behaves like makes request 1307 21:34:26 behaves like when user 1309 21:34:26 behaves like makes request 1311 21:34:26 when authenticated as user 1312 21:34:26 removes project 1313 21:34:27 does not remove a project if not an owner 1314 21:34:27 does not remove a non existing project 1315 21:34:27 does not remove a project not attached to user 1316 21:34:27 behaves like 412 response 1317 21:34:27 for a modified resource 1318 21:34:27 returns 412 with a JSON error 1319 21:34:27 # [RSpecRunTime] RSpec elapsed time: 6 minutes 8.03 seconds. Current RSS: ~1324M. Threads: 5. load average: 1.00 1.07 0.78 1/284 2387 1321 21:34:27 for an unmodified resource 1322 21:34:28 returns 204 with an empty body 1323 21:34:28 when authenticated as admin 1324 21:34:28 removes any existing project 1325 21:34:28 does not remove a non existing project 1326 21:34:28 behaves like 412 response 1327 21:34:28 for a modified resource 1328 21:34:28 returns 412 with a JSON error 1329 21:34:28 for an unmodified resource 1330 21:34:28 returns 204 with an empty body 1331 21:34:28 POST /projects/:id/fork 1332 21:34:28 behaves like POST request permissions for admin mode 1333 21:34:28 behaves like when admin 1334 21:34:28 behaves like makes request 1336 21:34:32 # [RSpecRunTime] RSpec elapsed time: 6 minutes 13.15 seconds. Current RSS: ~1333M. Threads: 5. load average: 1.08 1.08 0.79 1/284 2441 1338 21:34:32 behaves like makes request 1340 21:34:36 # [RSpecRunTime] RSpec elapsed time: 6 minutes 16.28 seconds. Current RSS: ~1333M. Threads: 5. load average: 1.08 1.08 0.79 1/283 2478 1342 21:34:36 behaves like when user 1344 21:34:39 behaves like makes request 1346 21:34:42 # [RSpecRunTime] RSpec elapsed time: 6 minutes 22.84 seconds. Current RSS: ~1343M. Threads: 5. load average: 1.07 1.08 0.79 1/283 2551 1348 21:34:42 when authenticated 1349 21:34:46 forks if user has sufficient access to project 1350 21:34:50 forks if user is admin 1351 21:34:54 fails on missing project access for the project to fork 1352 21:34:58 fails if forked project exists in the user namespace 1353 21:35:01 fails if project to fork from does not exist 1354 21:35:05 forks with explicit own user namespace id 1355 21:35:09 forks with explicit own user name as namespace 1356 21:35:13 forks to another user when admin 1357 21:35:16 fails if trying to fork to another user when not admin 1358 21:35:19 fails if trying to fork to non-existent namespace 1359 21:35:24 forks to owned group 1360 21:35:28 forks to owned subgroup 1361 21:35:31 fails to fork to not owned group 1362 21:35:35 forks to not owned group when admin 1363 21:35:39 accepts a path for the target project 1364 21:35:44 fails to fork if path is already taken 1365 21:35:48 accepts custom parameters for the target project 1366 21:35:52 fails to fork if name is already taken 1367 21:35:56 forks to the same namespace with alternative path and name 1368 21:35:59 fails to fork to the same namespace without alternative path and name 1369 21:36:02 fails to fork with an unknown visibility level 1370 21:36:02 when namespace_id is specified 1371 21:36:02 and namespace_id is specified alone 1372 21:36:02 behaves like forking to specified namespace_id 1373 21:36:06 forks to specified namespace_id 1374 21:36:06 # [RSpecRunTime] RSpec elapsed time: 7 minutes 47.03 seconds. Current RSS: ~1345M. Threads: 5. load average: 1.19 1.12 0.83 1/284 3582 1376 21:36:06 and namespace_id and namespace are both specified 1377 21:36:06 behaves like forking to specified namespace_id 1378 21:36:11 forks to specified namespace_id 1379 21:36:11 # [RSpecRunTime] RSpec elapsed time: 7 minutes 51.31 seconds. Current RSS: ~1346M. Threads: 5. load average: 1.17 1.12 0.83 1/284 3636 1381 21:36:11 and namespace_id and namespace_path are both specified 1382 21:36:11 behaves like forking to specified namespace_id 1383 21:36:15 forks to specified namespace_id 1384 21:36:15 # [RSpecRunTime] RSpec elapsed time: 7 minutes 55.42 seconds. Current RSS: ~1336M. Threads: 5. load average: 1.17 1.12 0.83 1/285 3690 1386 21:36:15 when namespace_path is specified 1387 21:36:15 and namespace_path is specified alone 1388 21:36:15 behaves like forking to specified namespace_path 1389 21:36:19 forks to specified namespace_path 1390 21:36:19 # [RSpecRunTime] RSpec elapsed time: 7 minutes 59.57 seconds. Current RSS: ~1338M. Threads: 5. load average: 1.16 1.11 0.83 1/285 3744 1392 21:36:19 and namespace_path and namespace are both specified 1393 21:36:19 behaves like forking to specified namespace_path 1394 21:36:23 forks to specified namespace_path 1395 21:36:23 # [RSpecRunTime] RSpec elapsed time: 8 minutes 3.77 seconds. Current RSS: ~1334M. Threads: 5. load average: 1.63 1.21 0.87 1/285 3798 1397 21:36:23 when unauthenticated 1398 21:36:26 returns authentication error 1399 21:36:26 # [RSpecRunTime] RSpec elapsed time: 8 minutes 6.86 seconds. Current RSS: ~1332M. Threads: 5. load average: 1.58 1.21 0.87 1/284 3835 1401 21:36:26 forking disabled 1402 21:36:29 denies project to be forked 1403 21:36:29 # [RSpecRunTime] RSpec elapsed time: 8 minutes 9.9 seconds. Current RSS: ~1340M. Threads: 5. load average: 1.58 1.21 0.87 1/284 3872 1405 21:36:29 POST /projects/:id/housekeeping 1406 21:36:29 when authenticated as owner 1407 21:36:29 starts the housekeeping process 1408 21:36:30 logs an audit event 1409 21:36:30 when requesting prune 1410 21:36:30 triggers a prune 1411 21:36:30 when requesting an unsupported task 1412 21:36:30 responds with bad_request 1413 21:36:30 when housekeeping lease is taken 1414 21:36:30 returns conflict 1415 21:36:30 when authenticated as developer 1416 21:36:30 returns forbidden error 1417 21:36:30 when unauthenticated 1418 21:36:30 returns authentication error 1419 21:36:30 POST /projects/:id/repository_size 1420 21:36:30 when authenticated as owner 1421 21:36:30 starts the housekeeping process 1422 21:36:30 when authenticated as developer 1423 21:36:31 returns forbidden error 1424 21:36:31 when unauthenticated 1425 21:36:31 returns authentication error 1426 21:36:31 PUT /projects/:id/transfer 1427 21:36:31 when authenticated as owner 1428 21:36:32 Job arguments to Ci::PendingBuilds::UpdateProjectWorker must be native JSON types, but :namespace_traversal_ids is a Symbol. 1430 21:36:32 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 1431 21:36:32 Job arguments to Search::Elastic::DeleteWorker must be native JSON types, but :task is a Symbol. 1433 21:36:32 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 1434 21:36:32 transfers the project to the new namespace 1435 21:36:32 fails when transferring to a non owned namespace 1436 21:36:32 fails when transferring to an unknown namespace 1437 21:36:32 fails on missing namespace 1438 21:36:32 # [RSpecRunTime] RSpec elapsed time: 8 minutes 13.19 seconds. Current RSS: ~1341M. Threads: 5. load average: 1.53 1.20 0.87 2/284 3882 1440 21:36:32 when authenticated as developer 1441 21:36:32 target namespace allows developers to create projects 1442 21:36:33 fails transferring the project to the target namespace 1443 21:36:33 GET /projects/:id/transfer_locations 1444 21:36:34 when the user has rights to transfer the project 1446 21:36:37 includes groups where the user has permissions to transfer a project to 1447 21:36:38 does not include groups where the user doesn not have permissions to transfer a project 1448 21:36:39 does not include the group id of the current project 1450 21:36:39 includes groups where the user has permissions to transfer a project to 1451 21:36:39 # [RSpecRunTime] RSpec elapsed time: 8 minutes 20.12 seconds. Current RSS: ~1324M. Threads: 5. load average: 1.57 1.22 0.87 1/283 3883 1453 21:36:39 group shares 1454 21:36:41 only includes groups arising from group shares where the user has permission to transfer a project to 1455 21:36:41 # [RSpecRunTime] RSpec elapsed time: 8 minutes 21.3 seconds. Current RSS: ~1321M. Threads: 5. load average: 1.52 1.21 0.88 1/283 3884 1457 21:36:41 when the user does not have permissions to transfer the project 1459 21:36:41 GET /projects/:id/storage 1460 21:36:41 returns project storage data when user is admin 1461 21:36:42 does not return project storage data when user is not admin 1462 21:36:42 responds with a 401 for unauthenticated users trying to access a non-existent project id 1463 21:36:42 responds with a 403 for non-admin users trying to access a non-existent project id 1464 21:36:42 behaves like GET request permissions for admin mode 1465 21:36:42 behaves like when admin 1466 21:36:42 behaves like makes request 1468 21:36:42 # [RSpecRunTime] RSpec elapsed time: 8 minutes 22.8 seconds. Current RSS: ~1320M. Threads: 5. load average: 1.52 1.21 0.88 1/283 3885 1470 21:36:42 behaves like makes request 1472 21:36:42 behaves like when user 1474 21:36:42 behaves like makes request 1476 21:36:43 when unauthenticated 1477 21:36:43 does not return project storage data 1478 21:36:43 behaves like custom attributes endpoints 1479 21:36:43 GET /projects with custom attributes filter 1480 21:36:43 with an unauthorized user 1481 21:36:43 does not filter by custom attributes 1482 21:36:43 with an authorized user 1483 21:36:44 filters by custom attributes 1484 21:36:44 GET /projects with custom attributes 1485 21:36:44 with an unauthorized user 1486 21:36:44 does not include custom attributes 1487 21:36:44 with an authorized user 1488 21:36:45 does not include custom attributes by default 1489 21:36:45 includes custom attributes if requested 1490 21:36:46 # [RSpecRunTime] RSpec elapsed time: 8 minutes 26.25 seconds. Current RSS: ~1323M. Threads: 5. load average: 1.48 1.21 0.88 1/284 3904 1492 21:36:46 GET /projects/:id with custom attributes 1493 21:36:46 with an unauthorized user 1494 21:36:46 does not include custom attributes 1495 21:36:46 with an authorized user 1496 21:36:46 does not include custom attributes by default 1497 21:36:46 includes custom attributes if requested 1498 21:36:46 GET /projects/:id/custom_attributes 1499 21:36:46 with an unauthorized user 1500 21:36:46 behaves like an unauthorized API user 1501 21:36:47 is expected to eq 403 1502 21:36:47 with an authorized user 1503 21:36:47 returns all custom attributes 1504 21:36:47 GET /projects/:id/custom_attributes/:key 1505 21:36:47 with an unauthorized user 1506 21:36:47 behaves like an unauthorized API user 1507 21:36:47 is expected to eq 403 1508 21:36:47 with an authorized user 1509 21:36:47 returns a single custom attribute 1510 21:36:47 PUT /projects/:id/custom_attributes/:key 1511 21:36:47 with an unauthorized user 1512 21:36:47 behaves like an unauthorized API user 1513 21:36:47 is expected to eq 403 1514 21:36:47 with an authorized user 1515 21:36:47 creates a new custom attribute 1516 21:36:48 updates an existing custom attribute 1517 21:36:48 DELETE /projects/:id/custom_attributes/:key 1518 21:36:48 with an unauthorized user 1519 21:36:48 behaves like an unauthorized API user 1520 21:36:48 is expected to eq 403 1521 21:36:48 with an authorized user 1522 21:36:48 deletes an existing custom attribute 1523 21:36:48 # [RSpecRunTime] Finishing example group spec/requests/api/projects_spec.rb. It took 8 minutes 21.02 seconds. Expected to take 8 minutes 22.63 seconds. 1524 21:36:48 # [RSpecRunTime] Starting example group spec/requests/api/graphql/project/issues_spec.rb. Expected to take 2 minutes 3.04 seconds. 1525 21:36:48 getting an issue list for a project 1526 21:36:52 behaves like graphql issue list request spec 1527 21:36:56 includes a web_url 1528 21:37:00 includes discussion locked 1529 21:37:00 behaves like a working graphql query 1530 21:37:04 returns a successful response 1531 21:37:04 # [RSpecRunTime] RSpec elapsed time: 8 minutes 44.67 seconds. Current RSS: ~1335M. Threads: 5. load average: 1.45 1.22 0.88 1/283 3934 1534 21:37:04 when filtering by state 1535 21:37:04 when filtering by locked state 1536 21:37:04 returns an error message 1537 21:37:04 when filtering by milestone 1538 21:37:04 when both negated milestone_id and milestone_wildcard_id filters are provided 1539 21:37:05 returns a mutually exclusive param error 1540 21:37:05 when filtering by assignees 1541 21:37:05 when both assignee_username filters are provided 1542 21:37:05 returns a mutually exclusive param error 1543 21:37:05 when both assignee_username and assignee_wildcard_id filters are provided 1544 21:37:06 returns a mutually exclusive param error 1545 21:37:06 when filtering by assignee_wildcard_id 1546 21:37:06 when filtering for all issues with assignees 1547 21:37:08 returns all issues with assignees 1548 21:37:08 # [RSpecRunTime] RSpec elapsed time: 8 minutes 48.64 seconds. Current RSS: ~1350M. Threads: 5. load average: 1.42 1.21 0.89 1/282 3935 1550 21:37:08 when filtering for issues without assignees 1551 21:37:10 returns all issues without assignees 1552 21:37:10 # [RSpecRunTime] RSpec elapsed time: 8 minutes 50.8 seconds. Current RSS: ~1347M. Threads: 5. load average: 1.42 1.21 0.89 1/282 3936 1554 21:37:10 when filtering by a negated argument 1555 21:37:13 returns correctly filtered issues 1556 21:37:13 # [RSpecRunTime] RSpec elapsed time: 8 minutes 53.45 seconds. Current RSS: ~1351M. Threads: 5. load average: 1.38 1.21 0.89 1/282 3937 1558 21:37:13 when filtering by unioned arguments 1559 21:37:13 when filtering by assignees 1560 21:37:15 returns correctly filtered issues 1561 21:37:15 # [RSpecRunTime] RSpec elapsed time: 8 minutes 55.4 seconds. Current RSS: ~1344M. Threads: 5. load average: 1.38 1.21 0.89 1/282 3938 1563 21:37:15 when filtering by labels 1564 21:37:18 returns correctly filtered issues 1565 21:37:18 # [RSpecRunTime] RSpec elapsed time: 8 minutes 58.52 seconds. Current RSS: ~1332M. Threads: 5. load average: 1.35 1.20 0.89 1/282 3939 1567 21:37:18 when argument is blank 1568 21:37:21 does not raise an error 1569 21:37:21 # [RSpecRunTime] RSpec elapsed time: 9 minutes 1.88 seconds. Current RSS: ~1333M. Threads: 5. load average: 1.32 1.20 0.89 1/282 3940 1571 21:37:21 when filtering by a blank negated argument 1572 21:37:24 does not raise an error 1573 21:37:24 # [RSpecRunTime] RSpec elapsed time: 9 minutes 5.03 seconds. Current RSS: ~1341M. Threads: 5. load average: 1.32 1.20 0.89 1/282 3941 1575 21:37:24 when filtering by reaction emoji 1576 21:37:24 value: "thumbsup", issue_list: lazy { voted_issues } 1577 21:37:26 returns correctly filtered issues 1578 21:37:26 # [RSpecRunTime] RSpec elapsed time: 9 minutes 6.31 seconds. Current RSS: ~1344M. Threads: 5. load average: 1.30 1.20 0.89 1/282 3942 1580 21:37:26 value: "ANY", issue_list: lazy { voted_issues } 1581 21:37:27 returns correctly filtered issues 1582 21:37:27 # [RSpecRunTime] RSpec elapsed time: 9 minutes 7.83 seconds. Current RSS: ~1346M. Threads: 5. load average: 1.30 1.20 0.89 1/283 3943 1584 21:37:27 value: "any", issue_list: lazy { voted_issues } 1585 21:37:28 returns correctly filtered issues 1586 21:37:29 # [RSpecRunTime] RSpec elapsed time: 9 minutes 9.25 seconds. Current RSS: ~1346M. Threads: 5. load average: 1.30 1.20 0.89 1/283 3944 1588 21:37:29 value: "AnY", issue_list: lazy { voted_issues } 1589 21:37:30 returns correctly filtered issues 1590 21:37:30 # [RSpecRunTime] RSpec elapsed time: 9 minutes 10.66 seconds. Current RSS: ~1345M. Threads: 5. load average: 1.30 1.20 0.89 1/283 3945 1592 21:37:30 value: "NONE", issue_list: lazy { no_award_issues } 1593 21:37:33 returns correctly filtered issues 1594 21:37:33 # [RSpecRunTime] RSpec elapsed time: 9 minutes 14.14 seconds. Current RSS: ~1343M. Threads: 5. load average: 1.27 1.19 0.89 1/283 3946 1596 21:37:33 value: "thumbsdown", issue_list: lazy { [] } 1597 21:37:34 returns correctly filtered issues 1598 21:37:35 # [RSpecRunTime] RSpec elapsed time: 9 minutes 15.26 seconds. Current RSS: ~1339M. Threads: 5. load average: 1.27 1.19 0.89 1/283 3947 1600 21:37:35 when filtering by search 1601 21:37:35 behaves like query with a search term 1602 21:37:36 returns only matching issuables 1603 21:37:36 # [RSpecRunTime] RSpec elapsed time: 9 minutes 16.64 seconds. Current RSS: ~1336M. Threads: 5. load average: 1.25 1.19 0.89 1/283 3948 1605 21:37:36 when filtering by subscribed 1606 21:37:36 with no filtering 1607 21:37:39 returns all items 1608 21:37:39 # [RSpecRunTime] RSpec elapsed time: 9 minutes 19.97 seconds. Current RSS: ~1319M. Threads: 5. load average: 1.25 1.19 0.89 1/283 3949 1610 21:37:39 with user filters for subscribed items 1611 21:37:41 returns only subscribed items 1612 21:37:41 # [RSpecRunTime] RSpec elapsed time: 9 minutes 21.31 seconds. Current RSS: ~1323M. Threads: 5. load average: 1.23 1.19 0.89 1/283 3950 1614 21:37:41 with user filters out subscribed items 1615 21:37:42 returns only unsubscribed items 1616 21:37:42 # [RSpecRunTime] RSpec elapsed time: 9 minutes 22.86 seconds. Current RSS: ~1329M. Threads: 5. load average: 1.23 1.19 0.89 1/283 3951 1618 21:37:42 with feature flag disabled 1619 21:37:45 does not filter out subscribed issues 1620 21:37:46 # [RSpecRunTime] RSpec elapsed time: 9 minutes 26.27 seconds. Current RSS: ~1333M. Threads: 5. load average: 1.21 1.18 0.89 1/283 3952 1622 21:37:46 when filtering by confidentiality 1623 21:37:46 when fetching confidential issues 1624 21:37:47 returns only confidential issues 1625 21:37:47 when user cannot see confidential issues 1626 21:37:48 returns an empty list 1627 21:37:48 # [RSpecRunTime] RSpec elapsed time: 9 minutes 28.86 seconds. Current RSS: ~1336M. Threads: 5. load average: 1.21 1.18 0.89 1/283 3953 1629 21:37:48 when fetching non-confidential issues 1630 21:37:51 returns only non-confidential issues 1631 21:37:51 when user cannot see confidential issues 1632 21:37:53 returns an empty list 1633 21:37:53 # [RSpecRunTime] RSpec elapsed time: 9 minutes 34.21 seconds. Current RSS: ~1340M. Threads: 5. load average: 1.20 1.18 0.89 1/283 3954 1635 21:37:53 sorting and pagination 1636 21:37:53 when sorting by severity 1637 21:37:54 when ascending 1638 21:37:54 behaves like sorted paginated query 1639 21:37:54 behaves like requires variables 1640 21:37:54 shared example requires variables to be set 1642 21:37:54 when sorting 1643 21:37:54 sorts correctly 1644 21:37:54 when paginating 1645 21:37:55 paginates correctly 1646 21:37:55 # [RSpecRunTime] RSpec elapsed time: 9 minutes 35.53 seconds. Current RSS: ~1341M. Threads: 5. load average: 1.20 1.18 0.89 1/283 3955 1648 21:37:55 when descending 1649 21:37:55 behaves like sorted paginated query 1650 21:37:55 behaves like requires variables 1651 21:37:55 shared example requires variables to be set 1653 21:37:55 when sorting 1654 21:37:55 sorts correctly 1655 21:37:55 when paginating 1656 21:37:56 paginates correctly 1657 21:37:56 # [RSpecRunTime] RSpec elapsed time: 9 minutes 36.75 seconds. Current RSS: ~1342M. Threads: 5. load average: 1.26 1.19 0.90 1/283 3956 1659 21:37:56 when sorting by priority 1660 21:37:56 when ascending 1661 21:37:56 behaves like sorted paginated query 1662 21:37:56 behaves like requires variables 1663 21:37:56 shared example requires variables to be set 1665 21:37:56 when sorting 1666 21:37:56 sorts correctly 1667 21:37:56 when paginating 1668 21:37:57 paginates correctly 1669 21:37:57 # [RSpecRunTime] RSpec elapsed time: 9 minutes 37.97 seconds. Current RSS: ~1345M. Threads: 5. load average: 1.26 1.19 0.90 1/283 3957 1671 21:37:57 when descending 1672 21:37:57 behaves like sorted paginated query 1673 21:37:57 behaves like requires variables 1674 21:37:57 shared example requires variables to be set 1676 21:37:57 when sorting 1677 21:37:58 sorts correctly 1678 21:37:58 when paginating 1679 21:37:58 paginates correctly 1680 21:37:58 # [RSpecRunTime] RSpec elapsed time: 9 minutes 39.09 seconds. Current RSS: ~1343M. Threads: 5. load average: 1.26 1.19 0.90 1/283 3958 1682 21:37:58 when sorting by due date 1683 21:37:58 when ascending 1684 21:37:58 behaves like sorted paginated query 1685 21:37:58 behaves like requires variables 1686 21:37:58 shared example requires variables to be set 1688 21:37:58 when sorting 1689 21:37:59 sorts correctly 1690 21:37:59 when paginating 1691 21:38:00 paginates correctly 1692 21:38:00 # [RSpecRunTime] RSpec elapsed time: 9 minutes 40.31 seconds. Current RSS: ~1343M. Threads: 5. load average: 1.26 1.19 0.90 1/283 3959 1694 21:38:00 when descending 1695 21:38:00 behaves like sorted paginated query 1696 21:38:00 behaves like requires variables 1697 21:38:00 shared example requires variables to be set 1699 21:38:00 when sorting 1700 21:38:00 sorts correctly 1701 21:38:00 when paginating 1702 21:38:01 paginates correctly 1703 21:38:01 # [RSpecRunTime] RSpec elapsed time: 9 minutes 41.45 seconds. Current RSS: ~1332M. Threads: 5. load average: 1.24 1.19 0.90 1/283 3960 1705 21:38:01 when sorting by relative position 1706 21:38:01 when ascending 1707 21:38:01 behaves like sorted paginated query 1708 21:38:01 behaves like requires variables 1709 21:38:01 shared example requires variables to be set 1711 21:38:01 when sorting 1712 21:38:01 sorts correctly 1713 21:38:01 when paginating 1714 21:38:02 paginates correctly 1715 21:38:02 # [RSpecRunTime] RSpec elapsed time: 9 minutes 42.63 seconds. Current RSS: ~1333M. Threads: 5. load average: 1.24 1.19 0.90 1/283 3961 1717 21:38:02 when last and sort params are present 1718 21:38:02 fetches last elements without error 1719 21:38:02 when sorting by label priority 1720 21:38:02 when ascending 1721 21:38:02 behaves like sorted paginated query 1722 21:38:02 behaves like requires variables 1723 21:38:02 shared example requires variables to be set 1725 21:38:02 when sorting 1726 21:38:03 sorts correctly 1727 21:38:03 when paginating 1728 21:38:04 paginates correctly 1729 21:38:04 # [RSpecRunTime] RSpec elapsed time: 9 minutes 44.3 seconds. Current RSS: ~1329M. Threads: 5. load average: 1.24 1.19 0.90 1/283 3962 1731 21:38:04 when descending 1732 21:38:04 behaves like sorted paginated query 1733 21:38:04 behaves like requires variables 1734 21:38:04 shared example requires variables to be set 1736 21:38:04 when sorting 1737 21:38:04 sorts correctly 1738 21:38:04 when paginating 1739 21:38:05 paginates correctly 1740 21:38:05 when sorting by milestone due date 1741 21:38:05 when ascending 1742 21:38:05 behaves like sorted paginated query 1743 21:38:05 behaves like requires variables 1744 21:38:05 shared example requires variables to be set 1746 21:38:05 when sorting 1747 21:38:05 sorts correctly 1748 21:38:05 when paginating 1749 21:38:06 paginates correctly 1750 21:38:06 # [RSpecRunTime] RSpec elapsed time: 9 minutes 46.47 seconds. Current RSS: ~1321M. Threads: 5. load average: 1.22 1.19 0.90 1/283 3963 1752 21:38:06 when descending 1753 21:38:06 behaves like sorted paginated query 1754 21:38:06 behaves like requires variables 1755 21:38:06 shared example requires variables to be set 1757 21:38:06 when sorting 1758 21:38:06 sorts correctly 1759 21:38:06 when paginating 1760 21:38:07 paginates correctly 1761 21:38:07 # [RSpecRunTime] RSpec elapsed time: 9 minutes 47.73 seconds. Current RSS: ~1321M. Threads: 5. load average: 1.22 1.19 0.90 1/283 3964 1763 21:38:07 N+1 query checks 1764 21:38:07 when requesting `merge_requests_count` 1765 21:38:15 prevents N+1 queries 1766 21:38:15 # [RSpecRunTime] RSpec elapsed time: 9 minutes 56.08 seconds. Current RSS: ~1339M. Threads: 5. load average: 1.18 1.18 0.90 1/289 4251 1768 21:38:15 when requesting `closed_as_duplicate_of` 1769 21:38:16 prevents N+1 queries 1770 21:38:17 # [RSpecRunTime] RSpec elapsed time: 9 minutes 57.27 seconds. Current RSS: ~1337M. Threads: 5. load average: 1.18 1.18 0.90 1/289 4252 1772 21:38:17 when award emoji votes 1773 21:38:18 prevents N+1 queries 1774 21:38:18 # [RSpecRunTime] RSpec elapsed time: 9 minutes 58.58 seconds. Current RSS: ~1332M. Threads: 5. load average: 1.18 1.18 0.90 1/288 4253 1776 21:38:18 when requesting labels 1777 21:38:19 prevents N+1 queries 1778 21:38:19 # [RSpecRunTime] RSpec elapsed time: 9 minutes 59.65 seconds. Current RSS: ~1330M. Threads: 5. load average: 1.18 1.18 0.90 1/288 4254 1780 21:38:19 when confidential issues exist 1781 21:38:19 when user can see confidential issues 1782 21:38:22 includes confidential issues 1783 21:38:22 # [RSpecRunTime] RSpec elapsed time: 10 minutes 2.85 seconds. Current RSS: ~1316M. Threads: 5. load average: 1.17 1.18 0.91 1/288 4255 1785 21:38:22 when user cannot see confidential issues 1786 21:38:25 does not include confidential issues 1787 21:38:25 # [RSpecRunTime] RSpec elapsed time: 10 minutes 5.7 seconds. Current RSS: ~1325M. Threads: 5. load average: 1.17 1.18 0.91 1/283 4256 1789 21:38:25 when limiting the number of results 1790 21:38:26 is expected to check permissions on the first issue only 1791 21:38:26 behaves like a working graphql query 1792 21:38:28 returns a successful response 1793 21:38:29 only returns N issues 1794 21:38:29 # [RSpecRunTime] RSpec elapsed time: 10 minutes 10.1 seconds. Current RSS: ~1333M. Threads: 5. load average: 1.56 1.26 0.93 1/283 4257 1796 21:38:29 when no limit is provided 1797 21:38:33 returns all issues 1798 21:38:33 # [RSpecRunTime] RSpec elapsed time: 10 minutes 13.31 seconds. Current RSS: ~1336M. Threads: 5. load average: 1.51 1.25 0.93 1/283 4258 1800 21:38:33 when the user does not have access to the issue 1801 21:38:33 returns no issues 1802 21:38:33 when fetching external participants 1803 21:38:33 returns the email address 1804 21:38:33 when user does not have access to view emails 1805 21:38:34 obfuscates the email address 1806 21:38:34 when fetching escalation status 1807 21:38:34 returns the escalation status values 1808 21:38:34 avoids N+1 queries 1809 21:38:34 when fetching alert management alert 1810 21:38:35 avoids N+1 queries 1811 21:38:36 returns the alert data 1812 21:38:36 returns the alerts data 1813 21:38:36 # [RSpecRunTime] RSpec elapsed time: 10 minutes 16.96 seconds. Current RSS: ~1349M. Threads: 5. load average: 1.47 1.25 0.93 1/283 4259 1815 21:38:36 when fetching customer_relations_contacts 1816 21:38:37 avoids N+1 queries 1817 21:38:37 when fetching labels 1818 21:38:38 avoids N+1 queries 1819 21:38:38 # [RSpecRunTime] RSpec elapsed time: 10 minutes 18.8 seconds. Current RSS: ~1346M. Threads: 5. load average: 1.47 1.25 0.93 1/283 4260 1821 21:38:38 when fetching assignees 1822 21:38:40 avoids N+1 queries 1823 21:38:40 # [RSpecRunTime] RSpec elapsed time: 10 minutes 20.69 seconds. Current RSS: ~1338M. Threads: 5. load average: 1.47 1.25 0.93 1/283 4261 1825 21:38:40 when selecting `related_merge_requests` 1826 21:38:40 limits the field to 1 execution 1827 21:38:40 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/project/issues_spec.rb. It took 1 minute 52.38 seconds. Expected to take 2 minutes 3.04 seconds. 1828 21:38:40 # [RSpecRunTime] Starting example group spec/requests/api/project_snippets_spec.rb. Expected to take 1 minute 52.89 seconds. 1829 21:38:40 API::ProjectSnippets 1830 21:38:42 GET /projects/:project_id/snippets/:id/user_agent_detail 1831 21:38:42 exposes known attributes 1832 21:38:43 respects project scoping 1833 21:38:43 returns unauthorized for non-admin users 1834 21:38:43 behaves like GET request permissions for admin mode 1835 21:38:43 behaves like when admin 1836 21:38:43 behaves like makes request 1838 21:38:43 # [RSpecRunTime] RSpec elapsed time: 10 minutes 24.04 seconds. Current RSS: ~1334M. Threads: 5. load average: 1.43 1.24 0.93 1/283 4280 1840 21:38:43 behaves like makes request 1842 21:38:44 behaves like when user 1844 21:38:44 behaves like makes request 1846 21:38:44 with snippets disabled 1847 21:38:44 behaves like 403 response 1849 21:38:44 GET /projects/:project_id/snippets/ 1850 21:38:45 returns all snippets available to team member 1851 21:38:45 hides private snippets from regular user 1852 21:38:45 with snippets disabled 1853 21:38:45 behaves like 403 response 1855 21:38:45 # [RSpecRunTime] RSpec elapsed time: 10 minutes 25.9 seconds. Current RSS: ~1334M. Threads: 5. load average: 1.43 1.24 0.93 1/283 4292 1857 21:38:45 GET /projects/:project_id/snippets/:id 1858 21:38:45 returns snippet json 1859 21:38:46 returns 404 for invalid snippet id 1860 21:38:46 with snippets disabled 1861 21:38:46 behaves like 403 response 1863 21:38:46 behaves like project snippet access levels 1864 21:38:46 behaves like unauthenticated project snippet access 1865 21:38:46 project_visibility: :public, snippet_visibility: :public, status: :ok 1866 21:38:46 behaves like expected response status 1867 21:38:47 returns the correct response 1868 21:38:47 # [RSpecRunTime] RSpec elapsed time: 10 minutes 27.81 seconds. Current RSS: ~1333M. Threads: 5. load average: 1.40 1.24 0.94 1/284 4330 1870 21:38:47 project_visibility: :public, snippet_visibility: :private, status: :not_found 1871 21:38:47 behaves like expected response status 1872 21:38:48 returns the correct response 1873 21:38:48 # [RSpecRunTime] RSpec elapsed time: 10 minutes 28.98 seconds. Current RSS: ~1339M. Threads: 5. load average: 1.40 1.24 0.94 1/284 4349 1875 21:38:48 project_visibility: :public, snippet_visibility: :internal, status: :not_found 1876 21:38:48 behaves like expected response status 1877 21:38:49 returns the correct response 1878 21:38:49 # [RSpecRunTime] RSpec elapsed time: 10 minutes 30.11 seconds. Current RSS: ~1348M. Threads: 5. load average: 1.40 1.24 0.94 1/284 4368 1880 21:38:49 project_visibility: :internal, snippet_visibility: :public, status: :not_found 1881 21:38:49 behaves like expected response status 1882 21:38:50 returns the correct response 1883 21:38:51 # [RSpecRunTime] RSpec elapsed time: 10 minutes 31.24 seconds. Current RSS: ~1344M. Threads: 5. load average: 1.45 1.25 0.94 1/285 4387 1885 21:38:51 project_visibility: :private, snippet_visibility: :public, status: :not_found 1886 21:38:51 behaves like expected response status 1887 21:38:52 returns the correct response 1888 21:38:52 # [RSpecRunTime] RSpec elapsed time: 10 minutes 32.35 seconds. Current RSS: ~1345M. Threads: 5. load average: 1.45 1.25 0.94 1/285 4406 1890 21:38:52 behaves like non-member project snippet access 1891 21:38:52 project_visibility: :public, snippet_visibility: :public, status: :ok 1892 21:38:52 behaves like expected response status 1893 21:38:53 returns the correct response 1894 21:38:53 # [RSpecRunTime] RSpec elapsed time: 10 minutes 33.73 seconds. Current RSS: ~1347M. Threads: 5. load average: 1.45 1.25 0.94 1/285 4433 1896 21:38:53 project_visibility: :public, snippet_visibility: :internal, status: :ok 1897 21:38:53 behaves like expected response status 1898 21:38:54 returns the correct response 1899 21:38:54 # [RSpecRunTime] RSpec elapsed time: 10 minutes 35.03 seconds. Current RSS: ~1348M. Threads: 5. load average: 1.45 1.25 0.94 1/285 4460 1901 21:38:54 project_visibility: :internal, snippet_visibility: :public, status: :ok 1902 21:38:54 behaves like expected response status 1903 21:38:56 returns the correct response 1904 21:38:56 # [RSpecRunTime] RSpec elapsed time: 10 minutes 36.3 seconds. Current RSS: ~1348M. Threads: 5. load average: 1.41 1.25 0.94 1/283 4487 1906 21:38:56 project_visibility: :public, snippet_visibility: :private, status: :not_found 1907 21:38:56 behaves like expected response status 1908 21:38:57 returns the correct response 1909 21:38:57 # [RSpecRunTime] RSpec elapsed time: 10 minutes 37.53 seconds. Current RSS: ~1347M. Threads: 5. load average: 1.41 1.25 0.94 1/283 4506 1911 21:38:57 project_visibility: :private, snippet_visibility: :public, status: :not_found 1912 21:38:57 behaves like expected response status 1913 21:38:58 returns the correct response 1914 21:38:58 # [RSpecRunTime] RSpec elapsed time: 10 minutes 38.74 seconds. Current RSS: ~1346M. Threads: 5. load average: 1.41 1.25 0.94 1/283 4525 1916 21:38:58 behaves like member project snippet access 1917 21:38:58 project_visibility: :public, snippet_visibility: :public, status: :ok 1918 21:38:58 behaves like expected response status 1919 21:39:00 returns the correct response 1920 21:39:00 # [RSpecRunTime] RSpec elapsed time: 10 minutes 40.28 seconds. Current RSS: ~1346M. Threads: 5. load average: 1.41 1.25 0.94 1/283 4552 1922 21:39:00 project_visibility: :public, snippet_visibility: :internal, status: :ok 1923 21:39:00 behaves like expected response status 1924 21:39:01 returns the correct response 1925 21:39:01 # [RSpecRunTime] RSpec elapsed time: 10 minutes 41.74 seconds. Current RSS: ~1342M. Threads: 5. load average: 1.38 1.24 0.94 1/283 4579 1927 21:39:01 project_visibility: :internal, snippet_visibility: :public, status: :ok 1928 21:39:01 behaves like expected response status 1929 21:39:02 returns the correct response 1930 21:39:02 # [RSpecRunTime] RSpec elapsed time: 10 minutes 43.18 seconds. Current RSS: ~1337M. Threads: 5. load average: 1.38 1.24 0.94 1/283 4606 1932 21:39:02 project_visibility: :public, snippet_visibility: :private, status: :ok 1933 21:39:02 behaves like expected response status 1934 21:39:04 returns the correct response 1935 21:39:04 # [RSpecRunTime] RSpec elapsed time: 10 minutes 44.66 seconds. Current RSS: ~1332M. Threads: 5. load average: 1.38 1.24 0.94 1/283 4633 1937 21:39:04 project_visibility: :private, snippet_visibility: :public, status: :ok 1938 21:39:04 behaves like expected response status 1939 21:39:05 returns the correct response 1940 21:39:05 # [RSpecRunTime] RSpec elapsed time: 10 minutes 46.22 seconds. Current RSS: ~1330M. Threads: 5. load average: 1.43 1.26 0.95 1/283 4660 1942 21:39:06 POST /projects/:project_id/snippets/ 1943 21:39:06 behaves like POST request permissions for admin mode 1944 21:39:06 behaves like when admin 1945 21:39:06 behaves like makes request 1947 21:39:07 # [RSpecRunTime] RSpec elapsed time: 10 minutes 47.28 seconds. Current RSS: ~1330M. Threads: 5. load average: 1.43 1.26 0.95 1/283 4698 1949 21:39:07 behaves like makes request 1951 21:39:07 behaves like when user 1953 21:39:07 behaves like makes request 1955 21:39:07 with an external user 1956 21:39:07 that belongs to the project 1957 21:39:08 creates a new snippet 1958 21:39:08 that does not belong to the project 1959 21:39:08 does not create a new snippet 1960 21:39:08 with a regular user 1961 21:39:09 creates a new snippet 1962 21:39:09 behaves like project snippet repository actions 1963 21:39:10 commit the files to the repository 1964 21:39:10 # [RSpecRunTime] RSpec elapsed time: 10 minutes 50.36 seconds. Current RSS: ~1325M. Threads: 5. load average: 1.43 1.26 0.95 1/284 4812 1966 21:39:10 with an admin 1967 21:39:10 creates a new snippet 1968 21:39:10 returns 400 for missing parameters 1969 21:39:10 returns 400 if title is blank 1970 21:39:10 behaves like project snippet repository actions 1971 21:39:11 commit the files to the repository 1972 21:39:11 # [RSpecRunTime] RSpec elapsed time: 10 minutes 51.78 seconds. Current RSS: ~1320M. Threads: 5. load average: 1.47 1.27 0.95 1/285 4889 1974 21:39:11 behaves like snippet creation with files parameter 1975 21:39:11 returns 400 if both files and content are provided 1976 21:39:11 returns 400 when neither files or content are provided 1977 21:39:11 path: ".gitattributes", content: "file content", status: :created, error: nil 1978 21:39:12 responds correctly 1979 21:39:12 path: "valid/path/file.rb", content: "file content", status: :created, error: nil 1980 21:39:13 responds correctly 1981 21:39:13 path: ".gitattributes", content: nil, status: :bad_request, error: "files[0][content] is empty" 1982 21:39:13 responds correctly 1983 21:39:13 path: ".gitattributes", content: "", status: :bad_request, error: "files[0][content] is empty" 1984 21:39:13 responds correctly 1985 21:39:13 path: "", content: "file content", status: :bad_request, error: "files[0][file_path] is empty" 1986 21:39:13 responds correctly 1987 21:39:13 path: nil, content: "file content", status: :bad_request, error: "files[0][file_path] should be a valid file path, files[0][file_path] is empty" 1988 21:39:13 responds correctly 1989 21:39:13 path: "../../etc/passwd", content: "file content", status: :bad_request, error: "files[0][file_path] should be a valid file path" 1990 21:39:13 responds correctly 1991 21:39:13 behaves like snippet creation without files parameter 1992 21:39:14 allows file_name and content parameters 1993 21:39:14 returns 400 if file_name and content are not both provided 1994 21:39:14 returns 400 if content is blank 1995 21:39:14 when save fails because the repository could not be created 1997 21:39:14 when the snippet is spam 1998 21:39:14 when the snippet is private 1999 21:39:15 creates the snippet 2000 21:39:15 when the snippet is public 2001 21:39:15 Job arguments to AntiAbuse::SpamAbuseEventsWorker must be native JSON types, but :user_id is a Symbol. 2003 21:39:15 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2004 21:39:15 rejects the snippet 2005 21:39:16 creates a spam log 2006 21:39:16 with snippets disabled 2007 21:39:16 behaves like 403 response 2009 21:39:16 PUT /projects/:project_id/snippets/:id/ 2010 21:39:16 behaves like PUT request permissions for admin mode 2011 21:39:16 behaves like when admin 2012 21:39:16 behaves like makes request 2014 21:39:17 behaves like makes request 2016 21:39:17 behaves like when user 2018 21:39:18 behaves like makes request 2020 21:39:19 # [RSpecRunTime] RSpec elapsed time: 10 minutes 59.54 seconds. Current RSS: ~1349M. Threads: 5. load average: 1.43 1.26 0.95 1/285 5125 2022 21:39:19 behaves like snippet file updates 2023 21:39:19 with various snippet file changes 2024 21:39:19 is_multi_file: true, file_name: nil, content: nil, files: [{:action=>"create", :file_path=>"foo.txt", :content=>"bar"}], status: :success 2025 21:39:20 has the correct response 2026 21:39:20 is_multi_file: true, file_name: nil, content: nil, files: [{:action=>"update", :file_path=>"CHANGELOG", :content=>"bar"}], status: :success 2027 21:39:21 has the correct response 2028 21:39:21 # [RSpecRunTime] RSpec elapsed time: 11 minutes 1.59 seconds. Current RSS: ~1368M. Threads: 5. load average: 1.64 1.31 0.97 1/288 5240 2030 21:39:21 is_multi_file: true, file_name: nil, content: nil, files: [{:action=>"move", :file_path=>".old-gitattributes", :previous_path=>".gitattributes"}], status: :success 2031 21:39:22 has the correct response 2032 21:39:22 # [RSpecRunTime] RSpec elapsed time: 11 minutes 2.63 seconds. Current RSS: ~1368M. Threads: 5. load average: 1.64 1.31 0.97 1/288 5296 2034 21:39:22 is_multi_file: true, file_name: nil, content: nil, files: [{:action=>"delete", :file_path=>"CONTRIBUTING.md"}], status: :success 2035 21:39:23 has the correct response 2036 21:39:23 # [RSpecRunTime] RSpec elapsed time: 11 minutes 3.73 seconds. Current RSS: ~1369M. Threads: 5. load average: 1.64 1.31 0.97 1/288 5352 2038 21:39:23 is_multi_file: true, file_name: nil, content: nil, files: [{:action=>"create", :file_path=>"foo.txt", :content=>"bar"}, {:action=>"update", :file_path=>"CHANGELOG", :content=>"bar"}], status: :success 2039 21:39:24 has the correct response 2040 21:39:24 is_multi_file: true, file_name: "foo.txt", content: "bar", files: [{:action=>"create", :file_path=>"foo.txt", :content=>"bar"}], status: :bad_request 2041 21:39:25 has the correct response 2042 21:39:25 is_multi_file: true, file_name: "foo.txt", content: "bar", files: nil, status: :bad_request 2043 21:39:25 has the correct response 2044 21:39:25 is_multi_file: true, file_name: nil, content: nil, files: nil, status: :bad_request 2045 21:39:26 has the correct response 2046 21:39:26 is_multi_file: true, file_name: "foo.txt", content: nil, files: [{:action=>"create", :file_path=>"foo.txt", :content=>"bar"}], status: :bad_request 2047 21:39:27 has the correct response 2048 21:39:27 is_multi_file: true, file_name: nil, content: "bar", files: [{:action=>"create", :file_path=>"foo.txt", :content=>"bar"}], status: :bad_request 2049 21:39:27 has the correct response 2050 21:39:27 is_multi_file: true, file_name: "", content: nil, files: [{:action=>"create", :file_path=>"foo.txt", :content=>"bar"}], status: :bad_request 2051 21:39:28 has the correct response 2052 21:39:28 is_multi_file: true, file_name: nil, content: "", files: [{:action=>"create", :file_path=>"foo.txt", :content=>"bar"}], status: :bad_request 2053 21:39:28 has the correct response 2054 21:39:28 is_multi_file: true, file_name: nil, content: nil, files: [{:action=>"create", :file_path=>"../../etc/passwd", :content=>"bar"}], status: :bad_request 2055 21:39:29 has the correct response 2056 21:39:29 is_multi_file: true, file_name: nil, content: nil, files: [{:action=>"create", :previous_path=>"../../etc/passwd", :file_path=>"CHANGELOG", :content=>"bar"}], status: :bad_request 2057 21:39:30 has the correct response 2058 21:39:30 is_multi_file: true, file_name: nil, content: nil, files: [{:action=>"move", :file_path=>"missing_previous_path.txt"}], status: :unprocessable_entity 2059 21:39:30 has the correct response 2060 21:39:30 is_multi_file: false, file_name: "foo.txt", content: "bar", files: nil, status: :success 2061 21:39:31 has the correct response 2062 21:39:31 is_multi_file: false, file_name: "foo.txt", content: nil, files: nil, status: :success 2063 21:39:32 has the correct response 2064 21:39:32 is_multi_file: false, file_name: nil, content: "bar", files: nil, status: :success 2065 21:39:33 has the correct response 2066 21:39:33 is_multi_file: false, file_name: "foo.txt", content: "bar", files: [{:action=>"create", :file_path=>"foo.txt", :content=>"bar"}], status: :bad_request 2067 21:39:34 has the correct response 2068 21:39:34 is_multi_file: false, file_name: nil, content: nil, files: nil, status: :bad_request 2069 21:39:35 has the correct response 2070 21:39:36 # [RSpecRunTime] RSpec elapsed time: 11 minutes 16.25 seconds. Current RSS: ~1422M. Threads: 5. load average: 1.90 1.39 1.00 1/288 5806 2072 21:39:36 is_multi_file: false, file_name: nil, content: "", files: nil, status: :bad_request 2073 21:39:36 has the correct response 2074 21:39:36 is_multi_file: false, file_name: nil, content: nil, files: [{:action=>"create", :file_path=>"../../etc/passwd", :content=>"bar"}], status: :bad_request 2075 21:39:37 has the correct response 2076 21:39:37 is_multi_file: false, file_name: nil, content: nil, files: [{:action=>"create", :previous_path=>"../../etc/passwd", :file_path=>"CHANGELOG", :content=>"bar"}], status: :bad_request 2077 21:39:38 has the correct response 2078 21:39:38 when save fails due to a repository commit error 2079 21:39:38 returns a bad request response 2080 21:39:38 behaves like snippet non-file updates 2081 21:39:39 updates a snippet non-file attributes 2082 21:39:39 behaves like snippet individual non-file updates 2083 21:39:39 attribute: :description, updated_value: "new description" 2084 21:39:40 updates the attribute 2085 21:39:40 attribute: :title, updated_value: "new title" 2086 21:39:41 updates the attribute 2087 21:39:41 attribute: :visibility, updated_value: "private" 2088 21:39:42 updates the attribute 2089 21:39:42 behaves like invalid snippet updates 2090 21:39:42 returns 404 for invalid snippet id 2091 21:39:43 returns 400 for missing parameters 2092 21:39:44 returns 400 if content is blank 2093 21:39:44 returns 400 if title is blank 2094 21:39:44 # [RSpecRunTime] RSpec elapsed time: 11 minutes 25.03 seconds. Current RSS: ~1411M. Threads: 5. load average: 1.83 1.38 1.00 1/283 6078 2096 21:39:44 behaves like update with repository actions 2097 21:39:44 when the repository exists 2098 21:39:45 commits the changes to the repository 2099 21:39:45 # [RSpecRunTime] RSpec elapsed time: 11 minutes 26.2 seconds. Current RSS: ~1412M. Threads: 5. load average: 1.77 1.38 1.00 1/286 6146 2101 21:39:45 when the repository does not exist 2102 21:39:45 when update attributes does not include file_name or content 2103 21:39:46 does not create the repository 2104 21:39:46 when update attributes include file_name or content 2105 21:39:46 creates the repository 2106 21:39:47 commits the file to the repository 2107 21:39:47 when save fails due to a repository creation error 2109 21:39:48 does not save the changes to the snippet object 2110 21:39:48 # [RSpecRunTime] RSpec elapsed time: 11 minutes 28.51 seconds. Current RSS: ~1396M. Threads: 5. load average: 1.77 1.38 1.00 1/288 6225 2112 21:39:48 when the snippet is spam 2113 21:39:48 when the snippet is private 2114 21:39:49 creates the snippet 2115 21:39:49 when the snippet is public 2116 21:39:49 Job arguments to AntiAbuse::SpamAbuseEventsWorker must be native JSON types, but :user_id is a Symbol. 2118 21:39:49 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2119 21:39:49 rejects the snippet 2120 21:39:50 Job arguments to AntiAbuse::SpamAbuseEventsWorker must be native JSON types, but :user_id is a Symbol. 2122 21:39:50 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2123 21:39:50 creates a spam log 2124 21:39:50 # [RSpecRunTime] RSpec elapsed time: 11 minutes 30.95 seconds. Current RSS: ~1393M. Threads: 5. load average: 1.77 1.38 1.00 1/288 6307 2126 21:39:50 when the private snippet is made public 2127 21:39:51 Job arguments to AntiAbuse::SpamAbuseEventsWorker must be native JSON types, but :user_id is a Symbol. 2129 21:39:51 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2130 21:39:51 rejects the snippet 2131 21:39:52 Job arguments to AntiAbuse::SpamAbuseEventsWorker must be native JSON types, but :user_id is a Symbol. 2133 21:39:52 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2134 21:39:52 creates a spam log 2135 21:39:52 # [RSpecRunTime] RSpec elapsed time: 11 minutes 32.49 seconds. Current RSS: ~1393M. Threads: 5. load average: 2.10 1.45 1.03 1/288 6360 2137 21:39:52 with snippets disabled 2138 21:39:52 behaves like 403 response 2140 21:39:52 DELETE /projects/:project_id/snippets/:id/ 2141 21:39:52 deletes snippet 2142 21:39:53 returns 404 for invalid snippet id 2143 21:39:53 behaves like DELETE request permissions for admin mode 2144 21:39:53 behaves like when admin 2145 21:39:53 behaves like makes request 2147 21:39:53 # [RSpecRunTime] RSpec elapsed time: 11 minutes 33.73 seconds. Current RSS: ~1403M. Threads: 5. load average: 2.10 1.45 1.03 1/288 6366 2149 21:39:53 behaves like makes request 2151 21:39:53 behaves like when user 2153 21:39:53 behaves like makes request 2155 21:39:54 behaves like 412 response 2156 21:39:54 for a modified resource 2157 21:39:54 returns 412 with a JSON error 2158 21:39:54 for an unmodified resource 2159 21:39:54 returns 204 with an empty body 2160 21:39:54 with snippets disabled 2161 21:39:54 behaves like 403 response 2163 21:39:54 GET /projects/:project_id/snippets/:id/raw 2164 21:39:55 returns raw text 2165 21:39:55 returns 404 for invalid snippet id 2166 21:39:55 behaves like GET request permissions for admin mode 2167 21:39:55 behaves like when admin 2168 21:39:55 behaves like makes request 2170 21:39:56 # [RSpecRunTime] RSpec elapsed time: 11 minutes 36.43 seconds. Current RSS: ~1379M. Threads: 5. load average: 2.10 1.46 1.03 1/288 6405 2172 21:39:56 behaves like makes request 2174 21:39:56 behaves like when user 2176 21:39:56 behaves like makes request 2178 21:39:56 behaves like project snippet access levels 2179 21:39:56 behaves like unauthenticated project snippet access 2180 21:39:56 project_visibility: :public, snippet_visibility: :public, status: :ok 2181 21:39:56 behaves like expected response status 2182 21:39:58 returns the correct response 2183 21:39:58 # [RSpecRunTime] RSpec elapsed time: 11 minutes 38.32 seconds. Current RSS: ~1371M. Threads: 5. load average: 2.10 1.46 1.03 1/286 6434 2185 21:39:58 project_visibility: :public, snippet_visibility: :private, status: :not_found 2186 21:39:58 behaves like expected response status 2187 21:39:59 returns the correct response 2188 21:39:59 # [RSpecRunTime] RSpec elapsed time: 11 minutes 39.68 seconds. Current RSS: ~1365M. Threads: 5. load average: 2.10 1.46 1.03 1/286 6453 2190 21:39:59 project_visibility: :public, snippet_visibility: :internal, status: :not_found 2191 21:39:59 behaves like expected response status 2192 21:40:00 returns the correct response 2193 21:40:00 # [RSpecRunTime] RSpec elapsed time: 11 minutes 40.82 seconds. Current RSS: ~1364M. Threads: 5. load average: 2.10 1.46 1.03 1/286 6472 2195 21:40:00 project_visibility: :internal, snippet_visibility: :public, status: :not_found 2196 21:40:00 behaves like expected response status 2197 21:40:01 returns the correct response 2198 21:40:01 # [RSpecRunTime] RSpec elapsed time: 11 minutes 42.02 seconds. Current RSS: ~1362M. Threads: 5. load average: 2.01 1.46 1.03 1/286 6491 2200 21:40:01 project_visibility: :private, snippet_visibility: :public, status: :not_found 2201 21:40:01 behaves like expected response status 2202 21:40:03 returns the correct response 2203 21:40:03 # [RSpecRunTime] RSpec elapsed time: 11 minutes 43.28 seconds. Current RSS: ~1365M. Threads: 5. load average: 2.01 1.46 1.03 1/285 6510 2205 21:40:03 behaves like non-member project snippet access 2206 21:40:03 project_visibility: :public, snippet_visibility: :public, status: :ok 2207 21:40:03 behaves like expected response status 2208 21:40:04 returns the correct response 2209 21:40:04 # [RSpecRunTime] RSpec elapsed time: 11 minutes 44.62 seconds. Current RSS: ~1361M. Threads: 5. load average: 2.01 1.46 1.03 1/286 6539 2211 21:40:04 project_visibility: :public, snippet_visibility: :internal, status: :ok 2212 21:40:04 behaves like expected response status 2213 21:40:05 returns the correct response 2214 21:40:05 # [RSpecRunTime] RSpec elapsed time: 11 minutes 46.06 seconds. Current RSS: ~1362M. Threads: 5. load average: 2.01 1.46 1.03 1/287 6568 2216 21:40:05 project_visibility: :internal, snippet_visibility: :public, status: :ok 2217 21:40:05 behaves like expected response status 2218 21:40:07 returns the correct response 2219 21:40:07 # [RSpecRunTime] RSpec elapsed time: 11 minutes 47.42 seconds. Current RSS: ~1362M. Threads: 5. load average: 1.93 1.45 1.03 1/287 6597 2221 21:40:07 project_visibility: :public, snippet_visibility: :private, status: :not_found 2222 21:40:07 behaves like expected response status 2223 21:40:08 returns the correct response 2224 21:40:08 # [RSpecRunTime] RSpec elapsed time: 11 minutes 48.66 seconds. Current RSS: ~1359M. Threads: 5. load average: 1.93 1.45 1.03 1/286 6616 2226 21:40:08 project_visibility: :private, snippet_visibility: :public, status: :not_found 2227 21:40:08 behaves like expected response status 2228 21:40:09 returns the correct response 2229 21:40:09 # [RSpecRunTime] RSpec elapsed time: 11 minutes 50.04 seconds. Current RSS: ~1358M. Threads: 5. load average: 1.93 1.45 1.03 1/286 6635 2231 21:40:09 behaves like member project snippet access 2232 21:40:09 project_visibility: :public, snippet_visibility: :public, status: :ok 2233 21:40:09 behaves like expected response status 2234 21:40:11 returns the correct response 2235 21:40:11 # [RSpecRunTime] RSpec elapsed time: 11 minutes 51.47 seconds. Current RSS: ~1356M. Threads: 5. load average: 1.85 1.44 1.03 1/287 6664 2237 21:40:11 project_visibility: :public, snippet_visibility: :internal, status: :ok 2238 21:40:11 behaves like expected response status 2239 21:40:12 returns the correct response 2240 21:40:12 # [RSpecRunTime] RSpec elapsed time: 11 minutes 53.0 seconds. Current RSS: ~1353M. Threads: 5. load average: 1.85 1.44 1.03 1/288 6693 2242 21:40:12 project_visibility: :internal, snippet_visibility: :public, status: :ok 2243 21:40:12 behaves like expected response status 2244 21:40:14 returns the correct response 2245 21:40:14 # [RSpecRunTime] RSpec elapsed time: 11 minutes 54.5 seconds. Current RSS: ~1350M. Threads: 5. load average: 1.85 1.44 1.03 1/288 6722 2247 21:40:14 project_visibility: :public, snippet_visibility: :private, status: :ok 2248 21:40:14 behaves like expected response status 2249 21:40:15 returns the correct response 2250 21:40:15 # [RSpecRunTime] RSpec elapsed time: 11 minutes 56.0 seconds. Current RSS: ~1348M. Threads: 5. load average: 1.85 1.44 1.03 1/288 6751 2252 21:40:15 project_visibility: :private, snippet_visibility: :public, status: :ok 2253 21:40:15 behaves like expected response status 2254 21:40:17 returns the correct response 2255 21:40:17 # [RSpecRunTime] RSpec elapsed time: 11 minutes 57.61 seconds. Current RSS: ~1348M. Threads: 5. load average: 1.78 1.43 1.03 1/288 6780 2257 21:40:17 with snippets disabled 2258 21:40:17 behaves like 403 response 2260 21:40:17 behaves like snippet blob content 2261 21:40:17 returns content from repository 2262 21:40:17 when snippet repository is empty 2263 21:40:18 returns content from database 2264 21:40:18 GET /projects/:project_id/snippets/:id/files/:ref/:file_path/raw 2265 21:40:18 behaves like GET request permissions for admin mode 2266 21:40:18 behaves like when admin 2267 21:40:18 behaves like makes request 2269 21:40:18 behaves like makes request 2271 21:40:19 behaves like when user 2273 21:40:19 behaves like makes request 2275 21:40:19 behaves like raw snippet files 2276 21:40:19 with an invalid snippet ID 2278 21:40:19 with valid params 2279 21:40:19 returns the raw file info 2280 21:40:19 with unauthorized user 2282 21:40:20 with invalid params 2283 21:40:20 file_path: "%2Egitattributes", ref: "invalid-ref", status: :not_found, key: "message", message: "404 Reference Not Found" 2284 21:40:20 returns the proper response code and message 2285 21:40:20 file_path: "%2Egitattributes", ref: nil, status: :not_found, key: "error", message: "404 Not Found" 2286 21:40:20 returns the proper response code and message 2287 21:40:20 file_path: "%2Egitattributes", ref: "", status: :not_found, key: "error", message: "404 Not Found" 2288 21:40:20 returns the proper response code and message 2289 21:40:20 file_path: "doesnotexist.rb", ref: "master", status: :not_found, key: "message", message: "404 File Not Found" 2290 21:40:20 returns the proper response code and message 2291 21:40:20 file_path: "/does/not/exist.rb", ref: "master", status: :not_found, key: "error", message: "404 Not Found" 2292 21:40:20 returns the proper response code and message 2293 21:40:20 file_path: "%2E%2E%2Fetc%2Fpasswd", ref: "master", status: :bad_request, key: "error", message: "file_path should be a valid file path" 2294 21:40:20 returns the proper response code and message 2295 21:40:20 file_path: "%2Fetc%2Fpasswd", ref: "master", status: :bad_request, key: "error", message: "file_path should be a valid file path" 2296 21:40:20 returns the proper response code and message 2297 21:40:20 file_path: "../../etc/passwd", ref: "master", status: :not_found, key: "error", message: "404 Not Found" 2298 21:40:20 returns the proper response code and message 2299 21:40:20 behaves like project snippet access levels 2300 21:40:20 behaves like unauthenticated project snippet access 2301 21:40:20 project_visibility: :public, snippet_visibility: :public, status: :ok 2302 21:40:20 behaves like expected response status 2303 21:40:21 returns the correct response 2304 21:40:21 # [RSpecRunTime] RSpec elapsed time: 12 minutes 2.2 seconds. Current RSS: ~1345M. Threads: 5. load average: 1.64 1.41 1.03 1/288 6838 2306 21:40:21 project_visibility: :public, snippet_visibility: :private, status: :not_found 2307 21:40:21 behaves like expected response status 2308 21:40:23 returns the correct response 2309 21:40:23 # [RSpecRunTime] RSpec elapsed time: 12 minutes 3.46 seconds. Current RSS: ~1346M. Threads: 5. load average: 1.64 1.41 1.03 1/288 6857 2311 21:40:23 project_visibility: :public, snippet_visibility: :internal, status: :not_found 2312 21:40:23 behaves like expected response status 2313 21:40:24 returns the correct response 2314 21:40:24 # [RSpecRunTime] RSpec elapsed time: 12 minutes 4.61 seconds. Current RSS: ~1352M. Threads: 5. load average: 1.64 1.41 1.03 1/288 6876 2316 21:40:24 project_visibility: :internal, snippet_visibility: :public, status: :not_found 2317 21:40:24 behaves like expected response status 2318 21:40:25 returns the correct response 2319 21:40:25 # [RSpecRunTime] RSpec elapsed time: 12 minutes 5.81 seconds. Current RSS: ~1363M. Threads: 5. load average: 1.64 1.41 1.03 1/288 6895 2321 21:40:25 project_visibility: :private, snippet_visibility: :public, status: :not_found 2322 21:40:25 behaves like expected response status 2323 21:40:26 returns the correct response 2324 21:40:26 # [RSpecRunTime] RSpec elapsed time: 12 minutes 7.03 seconds. Current RSS: ~1357M. Threads: 5. load average: 1.51 1.39 1.02 1/287 6914 2326 21:40:26 behaves like non-member project snippet access 2327 21:40:26 project_visibility: :public, snippet_visibility: :public, status: :ok 2328 21:40:26 behaves like expected response status 2329 21:40:27 returns the correct response 2330 21:40:27 # [RSpecRunTime] RSpec elapsed time: 12 minutes 8.21 seconds. Current RSS: ~1356M. Threads: 5. load average: 1.51 1.39 1.02 1/288 6935 2332 21:40:27 project_visibility: :public, snippet_visibility: :internal, status: :ok 2333 21:40:27 behaves like expected response status 2334 21:40:29 returns the correct response 2335 21:40:29 # [RSpecRunTime] RSpec elapsed time: 12 minutes 9.48 seconds. Current RSS: ~1352M. Threads: 5. load average: 1.51 1.39 1.02 1/287 6956 2337 21:40:29 project_visibility: :internal, snippet_visibility: :public, status: :ok 2338 21:40:29 behaves like expected response status 2339 21:40:30 returns the correct response 2340 21:40:30 # [RSpecRunTime] RSpec elapsed time: 12 minutes 10.79 seconds. Current RSS: ~1350M. Threads: 5. load average: 1.51 1.39 1.02 1/288 6977 2342 21:40:30 project_visibility: :public, snippet_visibility: :private, status: :not_found 2343 21:40:30 behaves like expected response status 2344 21:40:31 returns the correct response 2345 21:40:31 # [RSpecRunTime] RSpec elapsed time: 12 minutes 12.01 seconds. Current RSS: ~1349M. Threads: 5. load average: 1.47 1.38 1.02 1/287 6996 2347 21:40:31 project_visibility: :private, snippet_visibility: :public, status: :not_found 2348 21:40:31 behaves like expected response status 2349 21:40:33 returns the correct response 2350 21:40:33 # [RSpecRunTime] RSpec elapsed time: 12 minutes 13.35 seconds. Current RSS: ~1349M. Threads: 5. load average: 1.47 1.38 1.02 1/286 7015 2352 21:40:33 behaves like member project snippet access 2353 21:40:33 project_visibility: :public, snippet_visibility: :public, status: :ok 2354 21:40:33 behaves like expected response status 2355 21:40:34 returns the correct response 2356 21:40:34 # [RSpecRunTime] RSpec elapsed time: 12 minutes 14.62 seconds. Current RSS: ~1348M. Threads: 5. load average: 1.47 1.38 1.02 1/287 7036 2358 21:40:34 project_visibility: :public, snippet_visibility: :internal, status: :ok 2359 21:40:34 behaves like expected response status 2360 21:40:35 returns the correct response 2361 21:40:35 # [RSpecRunTime] RSpec elapsed time: 12 minutes 16.01 seconds. Current RSS: ~1344M. Threads: 5. load average: 1.47 1.38 1.02 1/288 7057 2363 21:40:35 project_visibility: :internal, snippet_visibility: :public, status: :ok 2364 21:40:35 behaves like expected response status 2365 21:40:37 returns the correct response 2366 21:40:37 # [RSpecRunTime] RSpec elapsed time: 12 minutes 17.5 seconds. Current RSS: ~1342M. Threads: 5. load average: 1.51 1.39 1.03 1/288 7078 2368 21:40:37 project_visibility: :public, snippet_visibility: :private, status: :ok 2369 21:40:37 behaves like expected response status 2370 21:40:38 returns the correct response 2371 21:40:38 # [RSpecRunTime] RSpec elapsed time: 12 minutes 18.83 seconds. Current RSS: ~1340M. Threads: 5. load average: 1.51 1.39 1.03 1/288 7099 2373 21:40:38 project_visibility: :private, snippet_visibility: :public, status: :ok 2374 21:40:38 behaves like expected response status 2375 21:40:40 returns the correct response 2376 21:40:40 # [RSpecRunTime] RSpec elapsed time: 12 minutes 20.33 seconds. Current RSS: ~1341M. Threads: 5. load average: 1.51 1.39 1.03 1/288 7120 2378 21:40:40 # [RSpecRunTime] Finishing example group spec/requests/api/project_snippets_spec.rb. It took 1 minute 59.32 seconds. Expected to take 1 minute 52.89 seconds. 2379 21:40:40 # [RSpecRunTime] Starting example group spec/requests/api/snippets_spec.rb. Expected to take 1 minute 5.78 seconds. 2380 21:40:40 API::Snippets 2381 21:40:42 GET /snippets/ 2382 21:40:42 hides private snippets from regular user 2383 21:40:42 does not return snippets related to a project with disable feature visibility 2384 21:40:42 behaves like returns unauthorized when not authenticated 2385 21:40:42 returns 401 for non-authenticated 2386 21:40:42 # [RSpecRunTime] RSpec elapsed time: 12 minutes 22.92 seconds. Current RSS: ~1361M. Threads: 5. load average: 1.47 1.38 1.02 1/288 7199 2388 21:40:42 behaves like returns filtered snippets for user 2389 21:40:42 returns snippets available for user 2390 21:40:42 filtering snippets by created_after/created_before 2391 21:40:45 returns snippets available for user in given time range 2392 21:40:45 # [RSpecRunTime] RSpec elapsed time: 12 minutes 25.39 seconds. Current RSS: ~1390M. Threads: 5. load average: 1.47 1.38 1.02 1/287 7297 2394 21:40:45 GET /snippets/public 2395 21:40:48 returns only public snippets from all users when authenticated 2396 21:40:48 behaves like returns unauthorized when not authenticated 2397 21:40:48 returns 401 for non-authenticated 2398 21:40:48 # [RSpecRunTime] RSpec elapsed time: 12 minutes 28.68 seconds. Current RSS: ~1418M. Threads: 5. load average: 1.43 1.38 1.02 1/287 7427 2400 21:40:48 filtering public snippets by created_after/created_before 2401 21:40:50 returns public snippets available to user in given time range 2402 21:40:50 # [RSpecRunTime] RSpec elapsed time: 12 minutes 30.35 seconds. Current RSS: ~1419M. Threads: 5. load average: 1.43 1.38 1.02 1/285 7490 2404 21:40:50 GET /snippets/all 2405 21:40:50 behaves like returns unauthorized when not authenticated 2406 21:40:50 returns 401 for non-authenticated 2407 21:40:50 behaves like returns filtered snippets for user 2408 21:40:50 returns snippets available for user 2409 21:40:50 filtering snippets by created_after/created_before 2410 21:40:52 returns snippets available for user in given time range 2411 21:40:52 # [RSpecRunTime] RSpec elapsed time: 12 minutes 32.82 seconds. Current RSS: ~1408M. Threads: 5. load average: 1.40 1.37 1.02 1/286 7588 2413 21:40:52 with additional snippets 2414 21:40:52 and user is admin 2415 21:40:53 returns all snippets 2416 21:40:53 # [RSpecRunTime] RSpec elapsed time: 12 minutes 34.17 seconds. Current RSS: ~1419M. Threads: 5. load average: 1.40 1.37 1.02 1/286 7650 2418 21:40:53 and user is not admin 2419 21:40:55 returns all internal and public snippets 2420 21:40:55 # [RSpecRunTime] RSpec elapsed time: 12 minutes 35.52 seconds. Current RSS: ~1431M. Threads: 5. load average: 1.40 1.37 1.02 1/286 7704 2422 21:40:55 GET /snippets/:id/raw 2423 21:40:55 returns raw text 2424 21:40:55 returns 404 for invalid snippet id 2425 21:40:55 behaves like snippet access with different users 2426 21:40:55 requester: :admin, visibility: :public, status: :ok 2427 21:40:56 returns the correct response 2428 21:40:56 requester: :admin, visibility: :private, status: :ok 2429 21:40:57 returns the correct response 2430 21:40:57 requester: :admin, visibility: :internal, status: :ok 2431 21:40:57 returns the correct response 2432 21:40:57 requester: :author, visibility: :public, status: :ok 2433 21:40:57 returns the correct response 2434 21:40:57 requester: :author, visibility: :private, status: :ok 2435 21:40:57 returns the correct response 2436 21:40:57 requester: :author, visibility: :internal, status: :ok 2437 21:40:57 returns the correct response 2438 21:40:57 requester: :other, visibility: :public, status: :ok 2439 21:40:57 returns the correct response 2440 21:40:57 requester: :other, visibility: :private, status: :not_found 2441 21:40:58 returns the correct response 2442 21:40:58 requester: :other, visibility: :internal, status: :ok 2443 21:40:58 returns the correct response 2444 21:40:58 requester: nil, visibility: :public, status: :ok 2445 21:40:58 returns the correct response 2446 21:40:58 requester: nil, visibility: :private, status: :not_found 2447 21:40:58 returns the correct response 2448 21:40:58 requester: nil, visibility: :internal, status: :not_found 2449 21:40:58 returns the correct response 2450 21:40:58 behaves like snippet blob content 2451 21:40:58 returns content from repository 2452 21:40:58 when snippet repository is empty 2453 21:40:59 returns content from database 2454 21:40:59 GET /snippets/:id/files/:ref/:file_path/raw 2455 21:40:59 behaves like raw snippet files 2456 21:40:59 with an invalid snippet ID 2458 21:40:59 with valid params 2459 21:40:59 returns the raw file info 2460 21:40:59 with unauthorized user 2462 21:40:59 with invalid params 2463 21:40:59 file_path: "%2Egitattributes", ref: "invalid-ref", status: :not_found, key: "message", message: "404 Reference Not Found" 2464 21:40:59 returns the proper response code and message 2465 21:40:59 file_path: "%2Egitattributes", ref: nil, status: :not_found, key: "error", message: "404 Not Found" 2466 21:40:59 returns the proper response code and message 2467 21:40:59 file_path: "%2Egitattributes", ref: "", status: :not_found, key: "error", message: "404 Not Found" 2468 21:40:59 returns the proper response code and message 2469 21:40:59 file_path: "doesnotexist.rb", ref: "master", status: :not_found, key: "message", message: "404 File Not Found" 2470 21:40:59 returns the proper response code and message 2471 21:40:59 file_path: "/does/not/exist.rb", ref: "master", status: :not_found, key: "error", message: "404 Not Found" 2472 21:40:59 returns the proper response code and message 2473 21:40:59 file_path: "%2E%2E%2Fetc%2Fpasswd", ref: "master", status: :bad_request, key: "error", message: "file_path should be a valid file path" 2474 21:41:00 returns the proper response code and message 2475 21:41:00 file_path: "%2Fetc%2Fpasswd", ref: "master", status: :bad_request, key: "error", message: "file_path should be a valid file path" 2476 21:41:00 returns the proper response code and message 2477 21:41:00 file_path: "../../etc/passwd", ref: "master", status: :not_found, key: "error", message: "404 Not Found" 2478 21:41:00 returns the proper response code and message 2479 21:41:00 behaves like snippet access with different users 2480 21:41:00 requester: :admin, visibility: :public, status: :ok 2481 21:41:00 returns the correct response 2482 21:41:00 requester: :admin, visibility: :private, status: :ok 2483 21:41:00 returns the correct response 2484 21:41:00 requester: :admin, visibility: :internal, status: :ok 2485 21:41:00 returns the correct response 2486 21:41:00 requester: :author, visibility: :public, status: :ok 2487 21:41:00 returns the correct response 2488 21:41:00 requester: :author, visibility: :private, status: :ok 2489 21:41:01 returns the correct response 2490 21:41:01 requester: :author, visibility: :internal, status: :ok 2491 21:41:01 returns the correct response 2492 21:41:01 requester: :other, visibility: :public, status: :ok 2493 21:41:01 returns the correct response 2494 21:41:01 requester: :other, visibility: :private, status: :not_found 2495 21:41:01 returns the correct response 2496 21:41:01 requester: :other, visibility: :internal, status: :ok 2497 21:41:01 returns the correct response 2498 21:41:01 requester: nil, visibility: :public, status: :ok 2499 21:41:01 returns the correct response 2500 21:41:01 requester: nil, visibility: :private, status: :not_found 2501 21:41:01 returns the correct response 2502 21:41:01 requester: nil, visibility: :internal, status: :not_found 2503 21:41:01 returns the correct response 2504 21:41:01 GET /snippets/:id 2505 21:41:01 with the author 2506 21:41:02 returns snippet json 2507 21:41:02 with a non-existent snippet ID 2509 21:41:02 behaves like snippet access with different users 2510 21:41:02 requester: :admin, visibility: :public, status: :ok 2511 21:41:02 returns the correct response 2512 21:41:02 requester: :admin, visibility: :private, status: :ok 2513 21:41:02 returns the correct response 2514 21:41:02 requester: :admin, visibility: :internal, status: :ok 2515 21:41:02 returns the correct response 2516 21:41:02 requester: :author, visibility: :public, status: :ok 2517 21:41:02 returns the correct response 2518 21:41:02 requester: :author, visibility: :private, status: :ok 2519 21:41:02 returns the correct response 2520 21:41:02 requester: :author, visibility: :internal, status: :ok 2521 21:41:03 returns the correct response 2522 21:41:03 requester: :other, visibility: :public, status: :ok 2523 21:41:03 returns the correct response 2524 21:41:03 requester: :other, visibility: :private, status: :not_found 2525 21:41:03 returns the correct response 2526 21:41:03 requester: :other, visibility: :internal, status: :ok 2527 21:41:03 returns the correct response 2528 21:41:03 requester: nil, visibility: :public, status: :ok 2529 21:41:03 returns the correct response 2530 21:41:03 requester: nil, visibility: :private, status: :not_found 2531 21:41:03 returns the correct response 2532 21:41:03 requester: nil, visibility: :internal, status: :not_found 2533 21:41:03 returns the correct response 2534 21:41:03 POST /snippets/ 2535 21:41:03 returns 400 for missing parameters 2536 21:41:03 returns 400 if title is blank 2537 21:41:03 with files parameter 2538 21:41:03 behaves like snippet creation with files parameter 2539 21:41:04 returns 400 if both files and content are provided 2540 21:41:04 returns 400 when neither files or content are provided 2541 21:41:04 path: ".gitattributes", content: "file content", status: :created, error: nil 2542 21:41:04 responds correctly 2543 21:41:04 path: "valid/path/file.rb", content: "file content", status: :created, error: nil 2544 21:41:05 responds correctly 2545 21:41:05 path: ".gitattributes", content: nil, status: :bad_request, error: "files[0][content] is empty" 2546 21:41:05 responds correctly 2547 21:41:05 path: ".gitattributes", content: "", status: :bad_request, error: "files[0][content] is empty" 2548 21:41:05 responds correctly 2549 21:41:05 path: "", content: "file content", status: :bad_request, error: "files[0][file_path] is empty" 2550 21:41:05 responds correctly 2551 21:41:05 path: nil, content: "file content", status: :bad_request, error: "files[0][file_path] should be a valid file path, files[0][file_path] is empty" 2552 21:41:05 responds correctly 2553 21:41:05 path: "../../etc/passwd", content: "file content", status: :bad_request, error: "files[0][file_path] should be a valid file path" 2554 21:41:05 responds correctly 2555 21:41:05 with multiple files 2556 21:41:05 behaves like snippet creation 2557 21:41:06 creates a new snippet 2558 21:41:06 creates repository 2559 21:41:06 commit the files to the repository 2560 21:41:07 # [RSpecRunTime] RSpec elapsed time: 12 minutes 47.26 seconds. Current RSS: ~1304M. Threads: 5. load average: 1.39 1.37 1.03 1/289 8024 2562 21:41:07 behaves like snippet creation without files parameter 2563 21:41:07 allows file_name and content parameters 2564 21:41:07 returns 400 if file_name and content are not both provided 2565 21:41:07 returns 400 if content is blank 2566 21:41:07 with restricted visibility settings 2567 21:41:07 behaves like snippet creation 2568 21:41:08 creates a new snippet 2569 21:41:08 creates repository 2570 21:41:09 commit the files to the repository 2571 21:41:09 # [RSpecRunTime] RSpec elapsed time: 12 minutes 49.48 seconds. Current RSS: ~1302M. Threads: 5. load average: 1.39 1.37 1.03 1/289 8180 2573 21:41:09 behaves like snippet creation 2574 21:41:09 creates a new snippet 2575 21:41:10 creates repository 2576 21:41:10 commit the files to the repository 2577 21:41:10 # [RSpecRunTime] RSpec elapsed time: 12 minutes 50.96 seconds. Current RSS: ~1301M. Threads: 5. load average: 1.39 1.37 1.03 1/289 8299 2579 21:41:10 with an external user 2580 21:41:10 does not create a new snippet 2581 21:41:10 when save fails because the repository could not be created 2583 21:41:11 when the snippet is spam 2584 21:41:11 when the snippet is private 2585 21:41:11 creates the snippet 2586 21:41:11 when the snippet is public 2587 21:41:11 Job arguments to AntiAbuse::SpamAbuseEventsWorker must be native JSON types, but :user_id is a Symbol. 2589 21:41:11 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2590 21:41:11 rejects the snippet 2591 21:41:11 creates a spam log 2592 21:41:11 PUT /snippets/:id 2593 21:41:12 returns 404 for another user's snippet 2594 21:41:12 behaves like snippet file updates 2595 21:41:12 with various snippet file changes 2596 21:41:12 is_multi_file: true, file_name: nil, content: nil, files: [{:action=>"create", :file_path=>"foo.txt", :content=>"bar"}], status: :success 2597 21:41:13 has the correct response 2598 21:41:13 # [RSpecRunTime] RSpec elapsed time: 12 minutes 53.52 seconds. Current RSS: ~1318M. Threads: 5. load average: 1.36 1.36 1.03 2/289 8412 2600 21:41:13 is_multi_file: true, file_name: nil, content: nil, files: [{:action=>"update", :file_path=>"CHANGELOG", :content=>"bar"}], status: :success 2601 21:41:14 has the correct response 2602 21:41:14 is_multi_file: true, file_name: nil, content: nil, files: [{:action=>"move", :file_path=>".old-gitattributes", :previous_path=>".gitattributes"}], status: :success 2603 21:41:15 has the correct response 2604 21:41:15 is_multi_file: true, file_name: nil, content: nil, files: [{:action=>"delete", :file_path=>"CONTRIBUTING.md"}], status: :success 2605 21:41:15 has the correct response 2606 21:41:15 is_multi_file: true, file_name: nil, content: nil, files: [{:action=>"create", :file_path=>"foo.txt", :content=>"bar"}, {:action=>"update", :file_path=>"CHANGELOG", :content=>"bar"}], status: :success 2607 21:41:16 has the correct response 2608 21:41:16 is_multi_file: true, file_name: "foo.txt", content: "bar", files: [{:action=>"create", :file_path=>"foo.txt", :content=>"bar"}], status: :bad_request 2609 21:41:17 has the correct response 2610 21:41:17 is_multi_file: true, file_name: "foo.txt", content: "bar", files: nil, status: :bad_request 2611 21:41:18 has the correct response 2612 21:41:18 is_multi_file: true, file_name: nil, content: nil, files: nil, status: :bad_request 2613 21:41:18 has the correct response 2614 21:41:18 is_multi_file: true, file_name: "foo.txt", content: nil, files: [{:action=>"create", :file_path=>"foo.txt", :content=>"bar"}], status: :bad_request 2615 21:41:19 has the correct response 2616 21:41:19 is_multi_file: true, file_name: nil, content: "bar", files: [{:action=>"create", :file_path=>"foo.txt", :content=>"bar"}], status: :bad_request 2617 21:41:19 has the correct response 2618 21:41:19 is_multi_file: true, file_name: "", content: nil, files: [{:action=>"create", :file_path=>"foo.txt", :content=>"bar"}], status: :bad_request 2619 21:41:20 has the correct response 2620 21:41:20 is_multi_file: true, file_name: nil, content: "", files: [{:action=>"create", :file_path=>"foo.txt", :content=>"bar"}], status: :bad_request 2621 21:41:21 has the correct response 2622 21:41:21 is_multi_file: true, file_name: nil, content: nil, files: [{:action=>"create", :file_path=>"../../etc/passwd", :content=>"bar"}], status: :bad_request 2623 21:41:21 has the correct response 2624 21:41:21 is_multi_file: true, file_name: nil, content: nil, files: [{:action=>"create", :previous_path=>"../../etc/passwd", :file_path=>"CHANGELOG", :content=>"bar"}], status: :bad_request 2625 21:41:22 has the correct response 2626 21:41:22 is_multi_file: true, file_name: nil, content: nil, files: [{:action=>"move", :file_path=>"missing_previous_path.txt"}], status: :unprocessable_entity 2627 21:41:22 has the correct response 2628 21:41:22 is_multi_file: false, file_name: "foo.txt", content: "bar", files: nil, status: :success 2629 21:41:23 has the correct response 2630 21:41:23 is_multi_file: false, file_name: "foo.txt", content: nil, files: nil, status: :success 2631 21:41:24 has the correct response 2632 21:41:24 is_multi_file: false, file_name: nil, content: "bar", files: nil, status: :success 2633 21:41:25 has the correct response 2634 21:41:25 is_multi_file: false, file_name: "foo.txt", content: "bar", files: [{:action=>"create", :file_path=>"foo.txt", :content=>"bar"}], status: :bad_request 2635 21:41:25 has the correct response 2636 21:41:25 is_multi_file: false, file_name: nil, content: nil, files: nil, status: :bad_request 2637 21:41:26 has the correct response 2638 21:41:26 is_multi_file: false, file_name: nil, content: "", files: nil, status: :bad_request 2639 21:41:26 has the correct response 2640 21:41:26 is_multi_file: false, file_name: nil, content: nil, files: [{:action=>"create", :file_path=>"../../etc/passwd", :content=>"bar"}], status: :bad_request 2641 21:41:27 has the correct response 2642 21:41:27 is_multi_file: false, file_name: nil, content: nil, files: [{:action=>"create", :previous_path=>"../../etc/passwd", :file_path=>"CHANGELOG", :content=>"bar"}], status: :bad_request 2643 21:41:28 has the correct response 2644 21:41:28 when save fails due to a repository commit error 2645 21:41:28 returns a bad request response 2646 21:41:28 behaves like snippet non-file updates 2647 21:41:29 updates a snippet non-file attributes 2648 21:41:29 behaves like snippet individual non-file updates 2649 21:41:29 attribute: :description, updated_value: "new description" 2650 21:41:30 updates the attribute 2651 21:41:30 attribute: :title, updated_value: "new title" 2652 21:41:31 updates the attribute 2653 21:41:31 # [RSpecRunTime] RSpec elapsed time: 13 minutes 12.21 seconds. Current RSS: ~1409M. Threads: 5. load average: 1.50 1.40 1.05 1/289 9203 2655 21:41:31 attribute: :visibility, updated_value: "private" 2656 21:41:32 updates the attribute 2657 21:41:32 behaves like invalid snippet updates 2658 21:41:32 returns 404 for invalid snippet id 2659 21:41:33 returns 400 for missing parameters 2660 21:41:34 returns 400 if content is blank 2661 21:41:34 returns 400 if title is blank 2662 21:41:34 # [RSpecRunTime] RSpec elapsed time: 13 minutes 14.87 seconds. Current RSS: ~1405M. Threads: 5. load average: 1.50 1.40 1.05 1/288 9287 2664 21:41:34 with restricted visibility settings 2665 21:41:34 behaves like snippet non-file updates 2666 21:41:35 updates a snippet non-file attributes 2667 21:41:35 behaves like update with repository actions 2668 21:41:35 when the repository exists 2669 21:41:36 commits the changes to the repository 2670 21:41:36 when the repository does not exist 2671 21:41:36 when update attributes does not include file_name or content 2672 21:41:36 does not create the repository 2673 21:41:36 when update attributes include file_name or content 2674 21:41:37 creates the repository 2675 21:41:37 commits the file to the repository 2676 21:41:37 when save fails due to a repository creation error 2678 21:41:38 does not save the changes to the snippet object 2679 21:41:38 # [RSpecRunTime] RSpec elapsed time: 13 minutes 18.49 seconds. Current RSS: ~1393M. Threads: 5. load average: 1.54 1.41 1.05 1/289 9462 2681 21:41:38 when the snippet is spam 2682 21:41:38 when the snippet is private 2683 21:41:38 updates the snippet 2684 21:41:38 when the snippet is public 2685 21:41:39 Job arguments to AntiAbuse::SpamAbuseEventsWorker must be native JSON types, but :user_id is a Symbol. 2687 21:41:39 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2688 21:41:39 rejects the snippet 2689 21:41:40 Job arguments to AntiAbuse::SpamAbuseEventsWorker must be native JSON types, but :user_id is a Symbol. 2691 21:41:40 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2692 21:41:40 creates a spam log 2693 21:41:40 # [RSpecRunTime] RSpec elapsed time: 13 minutes 20.58 seconds. Current RSS: ~1388M. Threads: 5. load average: 1.54 1.41 1.05 1/289 9544 2695 21:41:40 when a private snippet is made public 2696 21:41:41 Job arguments to AntiAbuse::SpamAbuseEventsWorker must be native JSON types, but :user_id is a Symbol. 2698 21:41:41 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2699 21:41:41 rejects the snippet 2700 21:41:41 Job arguments to AntiAbuse::SpamAbuseEventsWorker must be native JSON types, but :user_id is a Symbol. 2702 21:41:41 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2703 21:41:41 creates a spam log 2704 21:41:41 # [RSpecRunTime] RSpec elapsed time: 13 minutes 22.14 seconds. Current RSS: ~1386M. Threads: 5. load average: 1.58 1.42 1.06 1/289 9597 2707 21:41:41 when sudo is defined 2708 21:41:42 returns 200 and updates snippet visibility 2709 21:41:43 does not commit data 2710 21:41:43 # [RSpecRunTime] RSpec elapsed time: 13 minutes 23.63 seconds. Current RSS: ~1386M. Threads: 5. load average: 1.58 1.42 1.06 1/289 9656 2712 21:41:43 DELETE /snippets/:id 2713 21:41:43 deletes snippet 2714 21:41:43 returns 404 for invalid snippet id 2715 21:41:43 behaves like 412 response 2716 21:41:43 for a modified resource 2717 21:41:44 returns 412 with a JSON error 2718 21:41:44 for an unmodified resource 2719 21:41:44 returns 204 with an empty body 2720 21:41:44 GET /snippets/:id/user_agent_detail 2721 21:41:44 exposes known attributes 2722 21:41:44 behaves like GET request permissions for admin mode 2723 21:41:44 behaves like when admin 2724 21:41:44 behaves like makes request 2726 21:41:44 behaves like makes request 2728 21:41:44 behaves like when user 2730 21:41:44 behaves like makes request 2732 21:41:45 # [RSpecRunTime] Finishing example group spec/requests/api/snippets_spec.rb. It took 1 minute 4.93 seconds. Expected to take 1 minute 5.78 seconds. 2733 21:41:45 # [RSpecRunTime] Starting example group spec/controllers/groups/clusters_controller_spec.rb. Expected to take 58.18 seconds. 2734 21:41:45 Groups::ClustersController 2735 21:41:45 DELETE destroy 2736 21:41:45 feature flag is disabled 2737 21:41:46 responds with :not_found 2738 21:41:46 # [RSpecRunTime] RSpec elapsed time: 13 minutes 26.61 seconds. Current RSS: ~1382M. Threads: 5. load average: 1.53 1.41 1.06 1/289 9662 2740 21:41:46 functionality 2741 21:41:46 when cluster is provided by GCP 2742 21:41:46 when cluster is created 2743 21:41:46 destroys and redirects back to clusters list 2744 21:41:46 when cluster is being created 2745 21:41:47 destroys and redirects back to clusters list 2746 21:41:47 when cluster is provided by user 2747 21:41:47 destroys and redirects back to clusters list 2749 21:41:48 is allowed for admin when admin mode is enabled 2750 21:41:49 is denied for admin when admin mode is disabled 2751 21:41:49 is expected to be allowed for owner. Expected: 200,201,204,302 Got: 302 2752 21:41:50 is expected to be allowed for maintainer. Expected: 200,201,204,302 Got: 302 2753 21:41:50 is expected to be denied for developer. Expected: 401,404 Got: 404 2754 21:41:51 is expected to be denied for reporter. Expected: 401,404 Got: 404 2755 21:41:51 is expected to be denied for guest. Expected: 401,404 Got: 404 2756 21:41:52 is expected to be denied for user. Expected: 401,404 Got: 404 2757 21:41:52 is expected to be denied for external. Expected: 401,404 Got: 404 2758 21:41:52 # [RSpecRunTime] RSpec elapsed time: 13 minutes 32.64 seconds. Current RSS: ~1321M. Threads: 5. load average: 1.49 1.41 1.06 1/285 9663 2760 21:41:52 POST create for existing cluster 2761 21:41:52 feature flag is disabled 2762 21:41:52 responds with :not_found 2763 21:41:52 functionality 2764 21:41:52 when creates a cluster 2765 21:41:53 creates a new cluster 2766 21:41:53 when creates a RBAC-enabled cluster 2767 21:41:53 creates a new cluster 2768 21:41:53 when creates a user-managed cluster 2769 21:41:54 creates a new user-managed cluster 2771 21:41:54 is allowed for admin when admin mode is enabled 2772 21:41:54 is denied for admin when admin mode is disabled 2773 21:41:55 is expected to be allowed for owner. Expected: 200,201,204,302 Got: 302 2774 21:41:56 is expected to be allowed for maintainer. Expected: 200,201,204,302 Got: 302 2775 21:41:56 is expected to be denied for developer. Expected: 401,404 Got: 404 2776 21:41:57 is expected to be denied for reporter. Expected: 401,404 Got: 404 2777 21:41:58 is expected to be denied for guest. Expected: 401,404 Got: 404 2778 21:41:58 is expected to be denied for user. Expected: 401,404 Got: 404 2779 21:41:58 is expected to be denied for external. Expected: 401,404 Got: 404 2780 21:41:58 # [RSpecRunTime] RSpec elapsed time: 13 minutes 39.12 seconds. Current RSS: ~1339M. Threads: 5. load average: 1.53 1.42 1.06 1/283 9664 2783 21:41:59 updates and redirects back to show page 2784 21:41:59 feature flag is disabled 2785 21:42:00 responds with :not_found 2786 21:42:00 # [RSpecRunTime] RSpec elapsed time: 13 minutes 40.76 seconds. Current RSS: ~1344M. Threads: 5. load average: 1.53 1.42 1.06 1/283 9665 2788 21:42:00 when domain is invalid 2789 21:42:01 does not update cluster attributes 2790 21:42:01 when format is json 2791 21:42:01 when changing parameters 2792 21:42:01 when valid parameters are used 2793 21:42:02 updates and redirects back to show page 2794 21:42:02 when invalid parameters are used 2795 21:42:02 rejects changes 2797 21:42:03 is allowed for admin when admin mode is enabled 2798 21:42:03 is denied for admin when admin mode is disabled 2799 21:42:04 is expected to be allowed for owner. Expected: 200,201,204,302 Got: 302 2800 21:42:05 is expected to be allowed for maintainer. Expected: 200,201,204,302 Got: 302 2801 21:42:05 is expected to be denied for developer. Expected: 401,404 Got: 404 2802 21:42:06 is expected to be denied for reporter. Expected: 401,404 Got: 404 2803 21:42:07 is expected to be denied for guest. Expected: 401,404 Got: 404 2804 21:42:07 is expected to be denied for user. Expected: 401,404 Got: 404 2805 21:42:07 is expected to be denied for external. Expected: 401,404 Got: 404 2806 21:42:07 # [RSpecRunTime] RSpec elapsed time: 13 minutes 48.08 seconds. Current RSS: ~1335M. Threads: 5. load average: 1.45 1.40 1.06 1/283 9666 2808 21:42:07 no group_id param 2809 21:42:08 does not respond to any action without group_id param 2810 21:42:08 DELETE clear cluster cache 2811 21:42:08 deletes the namespaces associated with the cluster 2812 21:42:08 feature flag is disabled 2813 21:42:09 responds with :not_found 2814 21:42:09 # [RSpecRunTime] RSpec elapsed time: 13 minutes 49.53 seconds. Current RSS: ~1327M. Threads: 5. load average: 1.45 1.40 1.06 1/283 9667 2817 21:42:09 is allowed for admin when admin mode is enabled 2818 21:42:10 is denied for admin when admin mode is disabled 2819 21:42:10 is expected to be allowed for owner. Expected: 200,201,204,302 Got: 302 2820 21:42:11 is expected to be allowed for maintainer. Expected: 200,201,204,302 Got: 302 2821 21:42:11 is expected to be denied for developer. Expected: 401,404 Got: 404 2822 21:42:12 is expected to be denied for reporter. Expected: 401,404 Got: 404 2823 21:42:13 is expected to be denied for guest. Expected: 401,404 Got: 404 2824 21:42:13 is expected to be denied for user. Expected: 401,404 Got: 404 2825 21:42:13 is expected to be denied for external. Expected: 401,404 Got: 404 2826 21:42:13 # [RSpecRunTime] RSpec elapsed time: 13 minutes 53.95 seconds. Current RSS: ~1328M. Threads: 5. load average: 1.41 1.40 1.06 1/283 9668 2829 21:42:13 functionality 2830 21:42:13 when group has one or more clusters 2831 21:42:14 lists available clusters and renders html 2832 21:42:15 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 2834 21:42:15 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2835 21:42:15 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 2837 21:42:15 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2838 21:42:15 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 2840 21:42:15 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2841 21:42:15 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 2843 21:42:15 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2844 21:42:15 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 2846 21:42:15 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2847 21:42:15 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 2849 21:42:15 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2850 21:42:15 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 2852 21:42:15 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2853 21:42:15 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 2855 21:42:15 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2856 21:42:15 lists available clusters with json serializer 2857 21:42:15 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 2859 21:42:15 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2860 21:42:15 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 2862 21:42:15 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2863 21:42:15 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 2865 21:42:15 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2866 21:42:15 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 2868 21:42:15 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2869 21:42:15 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 2871 21:42:15 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2872 21:42:15 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 2874 21:42:15 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2875 21:42:15 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 2877 21:42:15 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2878 21:42:15 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 2880 21:42:15 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2881 21:42:15 sets the polling interval header for json requests 2882 21:42:15 feature flag is disabled 2883 21:42:15 responds with :not_found 2884 21:42:16 # [RSpecRunTime] RSpec elapsed time: 13 minutes 56.25 seconds. Current RSS: ~1328M. Threads: 5. load average: 1.38 1.39 1.06 1/283 9669 2886 21:42:16 when page is specified 2887 21:42:17 redirects to the page 2888 21:42:18 displays cluster list for associated page 2889 21:42:18 # [RSpecRunTime] RSpec elapsed time: 13 minutes 59.06 seconds. Current RSS: ~1347M. Threads: 5. load average: 1.38 1.39 1.06 1/283 9670 2891 21:42:18 when group does not have a cluster 2892 21:42:19 returns an empty state page 2894 21:42:19 is allowed for admin when admin mode is enabled 2895 21:42:20 is denied for admin when admin mode is disabled 2896 21:42:21 is expected to be allowed for owner. Expected: 200,201,204,302 Got: 200 2897 21:42:21 is expected to be allowed for maintainer. Expected: 200,201,204,302 Got: 200 2898 21:42:22 is expected to be allowed for developer. Expected: 200,201,204,302 Got: 200 2899 21:42:22 is expected to be denied for reporter. Expected: 401,404 Got: 404 2900 21:42:23 is expected to be denied for guest. Expected: 401,404 Got: 404 2901 21:42:23 is expected to be denied for user. Expected: 401,404 Got: 404 2902 21:42:24 is expected to be denied for external. Expected: 401,404 Got: 404 2903 21:42:24 # [RSpecRunTime] RSpec elapsed time: 14 minutes 4.39 seconds. Current RSS: ~1338M. Threads: 5. load average: 1.35 1.38 1.06 1/283 9671 2906 21:42:24 feature flag is disabled 2907 21:42:25 responds with :not_found 2909 21:42:25 is allowed for admin when admin mode is enabled 2910 21:42:26 is denied for admin when admin mode is disabled 2911 21:42:27 is expected to be allowed for owner. Expected: 200,201,204,302 Got: 200 2912 21:42:28 is expected to be allowed for maintainer. Expected: 200,201,204,302 Got: 200 2913 21:42:29 is expected to be allowed for developer. Expected: 200,201,204,302 Got: 200 2914 21:42:30 is expected to be denied for reporter. Expected: 401,404 Got: 404 2915 21:42:31 is expected to be denied for guest. Expected: 401,404 Got: 404 2916 21:42:32 is expected to be denied for user. Expected: 401,404 Got: 404 2917 21:42:33 is expected to be denied for external. Expected: 401,404 Got: 404 2918 21:42:33 # [RSpecRunTime] RSpec elapsed time: 14 minutes 13.77 seconds. Current RSS: ~1348M. Threads: 5. load average: 1.30 1.37 1.06 1/283 9672 2920 21:42:33 GET cluster_status 2921 21:42:33 feature flag is disabled 2922 21:42:34 responds with :not_found 2923 21:42:34 functionality 2924 21:42:34 responds with matching schema 2926 21:42:35 is allowed for admin when admin mode is enabled 2927 21:42:36 is denied for admin when admin mode is disabled 2928 21:42:36 is expected to be allowed for owner. Expected: 200,201,204,302 Got: 200 2929 21:42:37 is expected to be allowed for maintainer. Expected: 200,201,204,302 Got: 200 2930 21:42:38 is expected to be denied for developer. Expected: 401,404 Got: 404 2931 21:42:39 is expected to be denied for reporter. Expected: 401,404 Got: 404 2932 21:42:39 is expected to be denied for guest. Expected: 401,404 Got: 404 2933 21:42:40 is expected to be denied for user. Expected: 401,404 Got: 404 2934 21:42:40 is expected to be denied for external. Expected: 401,404 Got: 404 2935 21:42:40 # [RSpecRunTime] RSpec elapsed time: 14 minutes 21.16 seconds. Current RSS: ~1325M. Threads: 5. load average: 1.25 1.36 1.06 1/281 9673 2937 21:42:40 # [RSpecRunTime] Finishing example group spec/controllers/groups/clusters_controller_spec.rb. It took 55.9 seconds. Expected to take 58.18 seconds. 2938 21:42:40 # [RSpecRunTime] Starting example group spec/requests/api/invitations_spec.rb. Expected to take 48.48 seconds. 2939 21:42:40 API::Invitations 2940 21:42:42 POST /projects/:id/invitations 2941 21:42:43 does not exceed expected queries count for emails 2942 21:42:45 does not exceed expected queries count for user_ids 2943 21:42:48 does not exceed expected queries count with secondary emails 2944 21:42:48 behaves like POST /:source_type/:id/invitations 2945 21:42:48 with :source_type == projects 2946 21:42:48 updates an already existing active member 2947 21:42:48 returns 400 when the invite params of email and user_id are not sent 2948 21:42:48 returns 400 when the email is blank 2949 21:42:49 returns 400 when the user_id is blank 2950 21:42:49 returns 400 when the email list is not a valid format 2951 21:42:49 returns 400 when the comma-separated email list is not a valid format 2952 21:42:49 returns 400 when access_level is not given 2953 21:42:49 returns 400 when access_level is not valid 2954 21:42:49 behaves like a 404 response when source is private 2956 21:42:49 # [RSpecRunTime] RSpec elapsed time: 14 minutes 30.15 seconds. Current RSS: ~1323M. Threads: 5. load average: 1.23 1.35 1.06 1/281 9674 2958 21:42:49 when authenticated as a non-member or member with insufficient membership management rights 2959 21:42:49 when the user does not have rights to manage members 2960 21:42:49 as a access_requester 2961 21:42:49 behaves like a 403 response when user does not have rights to manage members of a specific access level 2963 21:42:50 as a stranger 2964 21:42:50 behaves like a 403 response when user does not have rights to manage members of a specific access level 2966 21:42:50 as a developer 2967 21:42:50 behaves like a 403 response when user does not have rights to manage members of a specific access level 2969 21:42:50 when the user has the rights to manage members but tries to manage members with a higher access level 2970 21:42:50 when an invitee is added as OWNER 2971 21:42:50 behaves like a 403 response when user does not have rights to manage members of a specific access level 2973 21:42:50 when an access_requester is added as OWNER 2974 21:42:50 behaves like a 403 response when user does not have rights to manage members of a specific access level 2976 21:42:51 when authenticated as a maintainer/owner 2977 21:42:51 adds a new member by email 2978 21:42:52 adds a new member by confirmed primary email 2979 21:42:52 adds a new member by confirmed secondary email 2980 21:42:52 adds a new member as an invite for unconfirmed primary email 2981 21:42:53 adds a new member as an invite for unconfirmed secondary email 2982 21:42:53 adds a new member by user_id 2983 21:42:54 adds new members with email and user_id 2984 21:42:54 invites a list of new email addresses 2985 21:42:55 invites a list of new email addresses and user ids 2986 21:42:55 and new member is already a requester 2987 21:42:55 transforms the requester into a proper member 2988 21:42:55 # [RSpecRunTime] RSpec elapsed time: 14 minutes 36.14 seconds. Current RSS: ~1338M. Threads: 5. load average: 1.19 1.34 1.06 1/282 9675 2990 21:42:55 when invitee is already an invited member 2991 21:42:56 updates the member for that email 2992 21:42:56 access levels 2993 21:42:57 does not create the member if group level is higher 2994 21:42:58 creates the member if group level is lower 2995 21:42:58 # [RSpecRunTime] RSpec elapsed time: 14 minutes 38.71 seconds. Current RSS: ~1333M. Threads: 5. load average: 1.19 1.34 1.06 1/282 9676 2997 21:42:58 access expiry date 2998 21:42:58 when set to a date in the past 2999 21:42:58 does not create a member 3000 21:42:58 when set to a date in the future 3001 21:42:59 invites a member 3002 21:42:59 with invite_source considerations 3003 21:42:59 tracks the invite source as api 3004 21:42:59 tracks the invite source from params 3005 21:42:59 when adding project bot 3006 21:43:00 returns error 3007 21:43:00 # [RSpecRunTime] RSpec elapsed time: 14 minutes 41.02 seconds. Current RSS: ~1332M. Threads: 5. load average: 1.19 1.34 1.06 1/281 9677 3009 21:43:00 POST /groups/:id/invitations 3010 21:43:01 does not exceed expected queries count for emails 3011 21:43:03 does not exceed expected queries count for secondary emails 3012 21:43:03 behaves like POST /:source_type/:id/invitations 3013 21:43:03 with :source_type == groups 3014 21:43:03 updates an already existing active member 3015 21:43:03 returns 400 when the invite params of email and user_id are not sent 3016 21:43:04 returns 400 when the email is blank 3017 21:43:04 returns 400 when the user_id is blank 3018 21:43:04 returns 400 when the email list is not a valid format 3019 21:43:04 returns 400 when the comma-separated email list is not a valid format 3020 21:43:04 returns 400 when access_level is not given 3021 21:43:04 returns 400 when access_level is not valid 3022 21:43:04 behaves like a 404 response when source is private 3024 21:43:04 # [RSpecRunTime] RSpec elapsed time: 14 minutes 45.09 seconds. Current RSS: ~1333M. Threads: 5. load average: 1.18 1.33 1.06 1/281 9678 3026 21:43:04 when authenticated as a non-member or member with insufficient membership management rights 3027 21:43:04 when the user does not have rights to manage members 3028 21:43:04 as a access_requester 3029 21:43:04 behaves like a 403 response when user does not have rights to manage members of a specific access level 3031 21:43:05 as a stranger 3032 21:43:05 behaves like a 403 response when user does not have rights to manage members of a specific access level 3034 21:43:05 as a developer 3035 21:43:05 behaves like a 403 response when user does not have rights to manage members of a specific access level 3037 21:43:05 when the user has the rights to manage members but tries to manage members with a higher access level 3038 21:43:05 when an invitee is added as OWNER 3039 21:43:05 behaves like a 403 response when user does not have rights to manage members of a specific access level 3041 21:43:05 when an access_requester is added as OWNER 3042 21:43:05 behaves like a 403 response when user does not have rights to manage members of a specific access level 3044 21:43:06 when authenticated as a maintainer/owner 3045 21:43:06 adds a new member by email 3046 21:43:06 adds a new member by confirmed primary email 3047 21:43:07 adds a new member by confirmed secondary email 3048 21:43:07 adds a new member as an invite for unconfirmed primary email 3049 21:43:07 adds a new member as an invite for unconfirmed secondary email 3050 21:43:08 adds a new member by user_id 3051 21:43:08 adds new members with email and user_id 3052 21:43:09 invites a list of new email addresses 3053 21:43:09 invites a list of new email addresses and user ids 3054 21:43:09 and new member is already a requester 3055 21:43:10 transforms the requester into a proper member 3056 21:43:10 # [RSpecRunTime] RSpec elapsed time: 14 minutes 50.74 seconds. Current RSS: ~1339M. Threads: 5. load average: 1.16 1.33 1.06 1/281 9679 3058 21:43:10 when invitee is already an invited member 3059 21:43:10 updates the member for that email 3060 21:43:10 access levels 3061 21:43:11 does not create the member if group level is higher 3062 21:43:13 creates the member if group level is lower 3063 21:43:13 # [RSpecRunTime] RSpec elapsed time: 14 minutes 53.4 seconds. Current RSS: ~1336M. Threads: 5. load average: 1.15 1.32 1.06 1/281 9680 3065 21:43:13 access expiry date 3066 21:43:13 when set to a date in the past 3067 21:43:13 does not create a member 3068 21:43:13 when set to a date in the future 3069 21:43:13 invites a member 3070 21:43:13 with invite_source considerations 3071 21:43:14 tracks the invite source as api 3072 21:43:14 tracks the invite source from params 3073 21:43:14 when adding project bot 3074 21:43:15 returns error 3075 21:43:15 # [RSpecRunTime] RSpec elapsed time: 14 minutes 55.75 seconds. Current RSS: ~1331M. Threads: 5. load average: 1.15 1.32 1.06 1/281 9681 3077 21:43:15 GET /projects/:id/invitations 3078 21:43:15 behaves like GET /:source_type/:id/invitations 3079 21:43:15 with :source_type == projects 3080 21:43:15 does not find confirmed members 3081 21:43:15 finds all members with no query string specified 3082 21:43:16 finds the invitation by invite_email with query string 3083 21:43:16 behaves like a 404 response when source is private 3085 21:43:16 when authenticated as a maintainer 3087 21:43:16 as a access_requester 3088 21:43:16 behaves like a 403 response when user does not have rights to manage members of a specific access level 3090 21:43:16 as a stranger 3091 21:43:16 behaves like a 403 response when user does not have rights to manage members of a specific access level 3093 21:43:16 as a developer 3094 21:43:16 behaves like a 403 response when user does not have rights to manage members of a specific access level 3096 21:43:17 GET /groups/:id/invitations 3097 21:43:17 behaves like GET /:source_type/:id/invitations 3098 21:43:17 with :source_type == groups 3099 21:43:17 does not find confirmed members 3100 21:43:17 finds all members with no query string specified 3101 21:43:17 finds the invitation by invite_email with query string 3102 21:43:17 behaves like a 404 response when source is private 3104 21:43:17 when authenticated as a maintainer 3106 21:43:18 as a access_requester 3107 21:43:18 behaves like a 403 response when user does not have rights to manage members of a specific access level 3109 21:43:18 as a stranger 3110 21:43:18 behaves like a 403 response when user does not have rights to manage members of a specific access level 3112 21:43:18 as a developer 3113 21:43:18 behaves like a 403 response when user does not have rights to manage members of a specific access level 3115 21:43:18 DELETE /projects/:id/inviations/:email 3116 21:43:18 behaves like DELETE /:source_type/:id/invitations/:email 3117 21:43:18 with :source_type == projects 3118 21:43:18 returns 404 if member does not exist 3119 21:43:19 returns 422 for a valid request if the resource was not destroyed 3120 21:43:19 behaves like a 404 response when source is private 3122 21:43:19 when authenticated as a non-member or member with insufficient rights 3123 21:43:19 when the user does not have rights to manage members 3124 21:43:19 as a access_requester 3125 21:43:19 behaves like a 403 response when user does not have rights to manage members of a specific access level 3127 21:43:19 as a stranger 3128 21:43:19 behaves like a 403 response when user does not have rights to manage members of a specific access level 3130 21:43:19 when authenticated as a member and deleting themself 3131 21:43:19 does not delete the member 3132 21:43:19 when authenticated as a maintainer/owner 3133 21:43:20 deletes the member and returns 204 with no content 3134 21:43:20 when MAINTAINER tries to remove invitation of an OWNER 3135 21:43:20 behaves like a 403 response when user does not have rights to manage members of a specific access level 3137 21:43:20 DELETE /groups/:id/inviations/:email 3138 21:43:20 behaves like DELETE /:source_type/:id/invitations/:email 3139 21:43:20 with :source_type == groups 3140 21:43:20 returns 404 if member does not exist 3141 21:43:21 returns 422 for a valid request if the resource was not destroyed 3142 21:43:21 behaves like a 404 response when source is private 3144 21:43:21 when authenticated as a non-member or member with insufficient rights 3145 21:43:21 when the user does not have rights to manage members 3146 21:43:21 as a access_requester 3147 21:43:21 behaves like a 403 response when user does not have rights to manage members of a specific access level 3149 21:43:21 as a stranger 3150 21:43:21 behaves like a 403 response when user does not have rights to manage members of a specific access level 3152 21:43:21 when authenticated as a member and deleting themself 3153 21:43:21 does not delete the member 3154 21:43:21 when authenticated as a maintainer/owner 3155 21:43:22 deletes the member and returns 204 with no content 3156 21:43:22 when MAINTAINER tries to remove invitation of an OWNER 3157 21:43:22 behaves like a 403 response when user does not have rights to manage members of a specific access level 3159 21:43:22 PUT /groups/:id/invitations 3160 21:43:22 with :source_type == 'groups' 3161 21:43:22 behaves like a 404 response when source is private 3163 21:43:22 when authenticated as a non-member or member with insufficient rights 3164 21:43:22 when the user does not have rights to manage members 3165 21:43:22 as a access_requester 3166 21:43:22 behaves like a 403 response when user does not have rights to manage members of a specific access level 3168 21:43:22 as a stranger 3169 21:43:22 behaves like a 403 response when user does not have rights to manage members of a specific access level 3171 21:43:23 when authenticated as a maintainer/owner 3172 21:43:23 returns 409 if member does not exist 3173 21:43:23 returns 400 when access_level is not given and there are no other params 3174 21:43:23 returns 400 when access level is not valid 3175 21:43:23 updating access level 3176 21:43:23 updates the invitation 3177 21:43:23 MAINTAINER tries to update access level to OWNER 3178 21:43:23 behaves like a 403 response when user does not have rights to manage members of a specific access level 3180 21:43:24 # [RSpecRunTime] RSpec elapsed time: 15 minutes 4.52 seconds. Current RSS: ~1339M. Threads: 5. load average: 1.13 1.31 1.05 1/281 9682 3182 21:43:24 updating access expiry date 3183 21:43:24 when set to a date in the past 3184 21:43:24 does not update the member 3185 21:43:24 when set to a date in the future 3186 21:43:24 updates the member 3187 21:43:24 # [RSpecRunTime] Finishing example group spec/requests/api/invitations_spec.rb. It took 43.97 seconds. Expected to take 48.48 seconds. 3188 21:43:24 # [RSpecRunTime] Starting example group spec/requests/api/files_spec.rb. Expected to take 38.15 seconds. 3190 21:43:28 http headers 3191 21:43:28 converts value into string 3192 21:43:28 when value is an Enumerable 3193 21:43:28 raises an exception 3194 21:43:28 # [RSpecRunTime] RSpec elapsed time: 15 minutes 9.07 seconds. Current RSS: ~1366M. Threads: 5. load average: 1.12 1.30 1.05 1/281 9755 3196 21:43:28 HEAD /projects/:id/repository/files/:file_path 3197 21:43:28 when unauthenticated 3198 21:43:28 and project is public 3199 21:43:28 behaves like repository files 3200 21:43:28 returns 400 when file path is invalid 3201 21:43:29 returns file attributes in headers 3202 21:43:29 caches sha256 of the content 3203 21:43:29 returns file by commit sha 3204 21:43:29 behaves like when path is absolute 3205 21:43:29 returns 400 when file path is absolute 3206 21:43:29 when mandatory params are not given 3207 21:43:29 responds with a 400 status 3208 21:43:29 when file_path does not exist 3209 21:43:29 responds with a 404 status 3210 21:43:29 when file_path does not exist 3211 21:43:29 responds with a 403 status 3212 21:43:29 and project is private 3213 21:43:29 responds with a 404 status 3214 21:43:29 when PATs are used 3215 21:43:29 behaves like repository files 3216 21:43:29 returns 400 when file path is invalid 3217 21:43:30 returns file attributes in headers 3218 21:43:30 caches sha256 of the content 3219 21:43:30 returns file by commit sha 3220 21:43:30 behaves like when path is absolute 3221 21:43:30 returns 400 when file path is absolute 3222 21:43:30 when mandatory params are not given 3223 21:43:30 responds with a 400 status 3224 21:43:30 when file_path does not exist 3225 21:43:30 responds with a 404 status 3226 21:43:30 when file_path does not exist 3227 21:43:31 responds with a 403 status 3228 21:43:31 when authenticated 3229 21:43:31 and user is a developer 3230 21:43:31 behaves like repository files 3231 21:43:31 returns 400 when file path is invalid 3232 21:43:31 returns file attributes in headers 3233 21:43:31 caches sha256 of the content 3234 21:43:31 returns file by commit sha 3235 21:43:31 behaves like when path is absolute 3236 21:43:32 returns 400 when file path is absolute 3237 21:43:32 when mandatory params are not given 3238 21:43:32 responds with a 400 status 3239 21:43:32 when file_path does not exist 3240 21:43:32 responds with a 404 status 3241 21:43:32 when file_path does not exist 3242 21:43:32 responds with a 403 status 3243 21:43:32 and user is a guest 3244 21:43:32 behaves like 403 response 3246 21:43:32 GET /projects/:id/repository/files/:file_path 3247 21:43:32 when unauthenticated 3248 21:43:32 and project is public 3249 21:43:32 behaves like repository files 3250 21:43:32 returns 400 for invalid file path 3251 21:43:32 returns json when file has txt extension 3252 21:43:32 returns file by commit sha 3253 21:43:33 returns raw file info 3254 21:43:33 returns blame file info 3255 21:43:33 sets inline content disposition by default 3256 21:43:33 behaves like when path is absolute 3257 21:43:33 returns 400 when file path is absolute 3258 21:43:33 behaves like returns non-executable file attributes as json 3259 21:43:33 is expected to eq "require 'fileutils'\n" 3260 21:43:33 for executable file 3261 21:43:33 returns file attributes as json 3262 21:43:33 with filename with pathspec characters 3263 21:43:33 returns JSON wth commit SHA 3264 21:43:33 when a project is moved 3265 21:43:34 redirects to the new project location 3266 21:43:34 when mandatory params are not given 3267 21:43:34 behaves like 400 response 3269 21:43:34 when file_path does not exist 3270 21:43:34 behaves like 404 response 3272 21:43:34 when repository is disabled 3273 21:43:34 behaves like 403 response 3275 21:43:34 and project is private 3276 21:43:34 behaves like 404 response 3278 21:43:34 when authenticated 3279 21:43:34 and user is a direct project member 3280 21:43:34 and project is private 3281 21:43:34 and user is a developer 3282 21:43:34 behaves like repository files 3283 21:43:34 returns 400 for invalid file path 3284 21:43:34 returns json when file has txt extension 3285 21:43:34 returns file by commit sha 3286 21:43:35 returns raw file info 3287 21:43:35 returns blame file info 3288 21:43:35 sets inline content disposition by default 3289 21:43:35 behaves like when path is absolute 3290 21:43:35 returns 400 when file path is absolute 3291 21:43:35 # [RSpecRunTime] RSpec elapsed time: 15 minutes 15.68 seconds. Current RSS: ~1359M. Threads: 5. load average: 1.19 1.32 1.06 1/284 9850 3293 21:43:35 behaves like returns non-executable file attributes as json 3294 21:43:35 is expected to eq "require 'fileutils'\n" 3295 21:43:35 for executable file 3296 21:43:35 returns file attributes as json 3297 21:43:35 with filename with pathspec characters 3298 21:43:36 returns JSON wth commit SHA 3299 21:43:36 when a project is moved 3300 21:43:36 redirects to the new project location 3301 21:43:36 when mandatory params are not given 3302 21:43:36 behaves like 400 response 3304 21:43:36 when file_path does not exist 3305 21:43:36 behaves like 404 response 3307 21:43:36 when repository is disabled 3308 21:43:36 behaves like 403 response 3310 21:43:36 and PATs are used 3311 21:43:36 behaves like repository files 3312 21:43:36 returns 400 for invalid file path 3313 21:43:37 returns json when file has txt extension 3314 21:43:37 returns file by commit sha 3315 21:43:37 returns raw file info 3316 21:43:37 returns blame file info 3317 21:43:37 sets inline content disposition by default 3318 21:43:37 behaves like when path is absolute 3319 21:43:38 returns 400 when file path is absolute 3320 21:43:38 # [RSpecRunTime] RSpec elapsed time: 15 minutes 18.35 seconds. Current RSS: ~1347M. Threads: 5. load average: 1.25 1.33 1.06 1/285 9901 3322 21:43:38 behaves like returns non-executable file attributes as json 3323 21:43:38 is expected to eq "require 'fileutils'\n" 3324 21:43:38 for executable file 3325 21:43:38 returns file attributes as json 3326 21:43:38 with filename with pathspec characters 3327 21:43:38 returns JSON wth commit SHA 3328 21:43:38 when a project is moved 3329 21:43:39 redirects to the new project location 3330 21:43:39 when mandatory params are not given 3331 21:43:39 behaves like 400 response 3333 21:43:39 when file_path does not exist 3334 21:43:39 behaves like 404 response 3336 21:43:39 when repository is disabled 3337 21:43:39 behaves like 403 response 3339 21:43:39 and user is a guest 3340 21:43:39 behaves like 403 response 3342 21:43:39 when authenticated 3343 21:43:39 and user is an inherited member from the group 3344 21:43:39 when project is public with private repository 3345 21:43:39 and user is a guest 3346 21:43:39 behaves like returns non-executable file attributes as json 3347 21:43:39 is expected to eq "require 'fileutils'\n" 3348 21:43:39 and user is a reporter 3349 21:43:39 behaves like returns non-executable file attributes as json 3350 21:43:40 is expected to eq "require 'fileutils'\n" 3351 21:43:40 and user is a developer 3352 21:43:40 behaves like returns non-executable file attributes as json 3353 21:43:40 is expected to eq "require 'fileutils'\n" 3354 21:43:40 when project is private 3355 21:43:40 and user is a guest 3356 21:43:40 behaves like 403 response 3358 21:43:40 and user is a reporter 3359 21:43:40 behaves like returns non-executable file attributes as json 3360 21:43:40 is expected to eq "require 'fileutils'\n" 3361 21:43:40 and user is a developer 3362 21:43:40 behaves like returns non-executable file attributes as json 3363 21:43:40 is expected to eq "require 'fileutils'\n" 3364 21:43:40 GET /projects/:id/repository/files/:file_path/blame 3365 21:43:40 when unauthenticated 3366 21:43:40 and project is public 3367 21:43:40 behaves like repository blame files 3368 21:43:41 returns file attributes in headers 3369 21:43:41 returns 400 when file path is invalid 3370 21:43:41 returns blame file attributes as json 3371 21:43:41 returns blame file info for files with dots 3372 21:43:41 returns file by commit sha 3373 21:43:41 for executable file 3374 21:43:41 returns file attributes in headers 3375 21:43:41 behaves like when path is absolute 3376 21:43:41 returns 400 when file path is absolute 3377 21:43:41 with a range parameter 3378 21:43:41 returns file blame attributes as json for the range 3379 21:43:41 when start > end 3380 21:43:41 returns 400 error 3381 21:43:41 when range is incomplete 3382 21:43:41 returns 400 error 3383 21:43:41 when range contains negative integers 3384 21:43:42 returns 400 error 3385 21:43:42 when range is missing 3386 21:43:42 returns 400 error 3387 21:43:42 when mandatory params are not given 3388 21:43:42 behaves like 400 response 3390 21:43:42 when file_path does not exist 3391 21:43:42 behaves like 404 response 3393 21:43:42 when commit does not exist 3394 21:43:42 behaves like 404 response 3396 21:43:42 when repository is disabled 3397 21:43:42 behaves like 403 response 3399 21:43:42 and project is private 3400 21:43:42 behaves like 404 response 3402 21:43:42 when authenticated 3403 21:43:42 and user is a developer 3404 21:43:42 behaves like repository blame files 3405 21:43:42 returns file attributes in headers 3406 21:43:42 returns 400 when file path is invalid 3407 21:43:42 returns blame file attributes as json 3408 21:43:43 returns blame file info for files with dots 3409 21:43:43 returns file by commit sha 3410 21:43:43 for executable file 3411 21:43:43 returns file attributes in headers 3412 21:43:43 # [RSpecRunTime] RSpec elapsed time: 15 minutes 23.81 seconds. Current RSS: ~1345M. Threads: 5. load average: 1.39 1.36 1.08 2/286 9970 3414 21:43:43 behaves like when path is absolute 3415 21:43:43 returns 400 when file path is absolute 3416 21:43:43 with a range parameter 3417 21:43:43 returns file blame attributes as json for the range 3418 21:43:43 when start > end 3419 21:43:43 returns 400 error 3420 21:43:43 when range is incomplete 3421 21:43:44 returns 400 error 3422 21:43:44 when range contains negative integers 3423 21:43:44 returns 400 error 3424 21:43:44 when range is missing 3425 21:43:44 returns 400 error 3426 21:43:44 when mandatory params are not given 3427 21:43:44 behaves like 400 response 3429 21:43:44 when file_path does not exist 3430 21:43:44 behaves like 404 response 3432 21:43:44 when commit does not exist 3433 21:43:44 behaves like 404 response 3435 21:43:44 when repository is disabled 3436 21:43:44 behaves like 403 response 3438 21:43:44 and user is a guest 3439 21:43:44 behaves like 403 response 3441 21:43:45 when PATs are used 3442 21:43:45 returns blame file by commit sha 3443 21:43:45 HEAD /projects/:id/repository/files/:file_path/raw 3444 21:43:45 response headers 3445 21:43:45 and user is a developer 3446 21:43:45 responds with blob data 3447 21:43:45 when lfs parameter is true and the project has lfs enabled 3448 21:43:45 and the file has an lfs object 3449 21:43:45 responds with 404 3450 21:43:45 and the project has access to the lfs object 3451 21:43:45 and lfs uses AWS 3452 21:43:45 Job arguments to ProjectCacheWorker must be native JSON types, but :lfs_objects_size is a Symbol. 3454 21:43:45 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 3455 21:43:46 redirects to the lfs object file with a signed url 3456 21:43:46 # [RSpecRunTime] RSpec elapsed time: 15 minutes 26.68 seconds. Current RSS: ~1348M. Threads: 5. load average: 1.36 1.35 1.08 1/285 9988 3458 21:43:46 and user is a guest 3459 21:43:46 behaves like 403 response 3461 21:43:46 GET /projects/:id/repository/files/:file_path/raw 3462 21:43:46 when unauthenticated 3463 21:43:46 and project is public 3464 21:43:46 behaves like repository raw files 3465 21:43:46 returns 400 when file path is invalid 3466 21:43:46 returns raw file info 3467 21:43:46 returns raw file info for files with dots 3468 21:43:47 returns file by commit sha 3469 21:43:47 sets no-cache headers 3470 21:43:47 behaves like when path is absolute 3471 21:43:47 returns 400 when file path is absolute 3472 21:43:47 when ref is not provided 3473 21:43:47 returns response :ok 3474 21:43:47 when mandatory params are not given 3475 21:43:47 behaves like 400 response 3477 21:43:47 when file_path does not exist 3478 21:43:47 behaves like 404 response 3480 21:43:47 when repository is disabled 3481 21:43:47 behaves like 403 response 3483 21:43:47 when lfs parameter is true and the project has lfs enabled 3484 21:43:47 behaves like 404 response 3486 21:43:47 and the file has an lfs object 3487 21:43:47 behaves like 404 response 3489 21:43:48 and the project has access to the lfs object 3490 21:43:48 and lfs uses local file storage 3491 21:43:48 Job arguments to ProjectCacheWorker must be native JSON types, but :lfs_objects_size is a Symbol. 3493 21:43:48 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 3494 21:43:48 responds with the lfs object file 3495 21:43:48 and lfs uses remote object storage 3496 21:43:48 redirects to the lfs object file 3497 21:43:48 and project is private 3498 21:43:48 behaves like 404 response 3500 21:43:48 when authenticated 3501 21:43:48 and user is a developer 3502 21:43:48 behaves like repository raw files 3503 21:43:48 returns 400 when file path is invalid 3504 21:43:48 returns raw file info 3505 21:43:48 returns raw file info for files with dots 3506 21:43:49 returns file by commit sha 3507 21:43:49 sets no-cache headers 3508 21:43:49 behaves like when path is absolute 3509 21:43:49 returns 400 when file path is absolute 3510 21:43:49 when ref is not provided 3511 21:43:49 returns response :ok 3512 21:43:49 when mandatory params are not given 3513 21:43:49 behaves like 400 response 3515 21:43:49 when file_path does not exist 3516 21:43:49 behaves like 404 response 3518 21:43:49 when repository is disabled 3519 21:43:49 behaves like 403 response 3521 21:43:49 when lfs parameter is true and the project has lfs enabled 3522 21:43:49 behaves like 404 response 3524 21:43:50 and the file has an lfs object 3525 21:43:50 behaves like 404 response 3527 21:43:50 and the project has access to the lfs object 3528 21:43:50 and lfs uses local file storage 3529 21:43:50 responds with the lfs object file 3530 21:43:50 and lfs uses remote object storage 3531 21:43:50 redirects to the lfs object file 3532 21:43:50 and user is a guest 3533 21:43:50 behaves like 403 response 3535 21:43:51 when PATs are used 3536 21:43:51 returns file by commit sha 3537 21:43:51 POST /projects/:id/repository/files/:file_path 3538 21:43:51 when authenticated as a direct project member 3539 21:43:51 when project is private 3540 21:43:51 and user is a developer 3541 21:43:51 returns 400 when file path is invalid 3542 21:43:51 creates a new executable file in project repo 3543 21:43:51 behaves like when path is absolute 3544 21:43:51 returns 400 when file path is absolute 3545 21:43:51 behaves like creates a new file in the project repo 3546 21:43:52 is expected to eq false 3547 21:43:52 when no mandatory params given 3548 21:43:52 returns a 400 bad request 3549 21:43:52 when the commit message is empty 3550 21:43:52 returns a 400 bad request 3551 21:43:52 when editor fails to create file 3552 21:43:52 returns a 400 bad request 3553 21:43:52 and PATs are used 3554 21:43:52 returns 403 with `read_repository` scope 3555 21:43:53 returns 201 with `api` scope 3556 21:43:53 and the repo is empty 3557 21:43:53 behaves like creates a new file in the project repo 3558 21:43:53 is expected to eq false 3559 21:43:53 when specifying an author 3560 21:43:54 creates a new file with the specified author 3561 21:43:54 when authenticated 3562 21:43:54 and user is an inherited member from the group 3563 21:43:54 when project is public with private repository 3564 21:43:54 and user is a guest 3565 21:43:54 behaves like 403 response 3567 21:43:54 and user is a reporter 3568 21:43:54 behaves like 403 response 3570 21:43:54 and user is a developer 3571 21:43:54 behaves like creates a new file in the project repo 3572 21:43:54 is expected to eq false 3573 21:43:54 when project is private 3574 21:43:54 and user is a guest 3575 21:43:54 behaves like 403 response 3577 21:43:55 and user is a reporter 3578 21:43:55 behaves like 403 response 3580 21:43:55 and user is a developer 3581 21:43:55 behaves like creates a new file in the project repo 3582 21:43:55 is expected to eq false 3583 21:43:55 PUT /projects/:id/repository/files 3584 21:43:56 updates existing file in project repo 3585 21:43:56 when the commit message is empty 3586 21:43:56 returns a 400 bad request 3587 21:43:56 when base64 encoding with a nil content 3588 21:43:56 updates a file with an empty content 3589 21:43:56 when updating an existing file with stale last commit id 3590 21:43:56 returns a 400 bad request 3591 21:43:56 with correct last commit id 3592 21:43:57 updates existing file in project repo 3593 21:43:57 when file path is invalid 3594 21:43:57 returns a 400 bad request 3595 21:43:57 behaves like when path is absolute 3596 21:43:57 returns 400 when file path is absolute 3597 21:43:57 when no params given 3598 21:43:57 returns a 400 bad request 3599 21:43:57 when specifying an author 3600 21:43:57 updates a file with the specified author 3601 21:43:57 when specifying the execute_filemode 3602 21:43:58 updates to executable file mode 3603 21:43:58 updates to non-executable file mode 3604 21:43:58 DELETE /projects/:id/repository/files 3605 21:43:58 when files are deleted 3606 21:43:59 deletes existing file in project repo 3607 21:43:59 when specifying an author 3608 21:43:59 removes a file with the specified author 3609 21:43:59 # [RSpecRunTime] RSpec elapsed time: 15 minutes 39.98 seconds. Current RSS: ~1341M. Threads: 5. load average: 1.31 1.34 1.07 1/287 10544 3611 21:43:59 when files are not deleted 3612 21:43:59 returns 400 when file path is invalid 3613 21:43:59 behaves like when path is absolute 3614 21:43:59 returns 400 when file path is absolute 3615 21:43:59 when no params given 3616 21:43:59 returns a 400 bad request 3617 21:43:59 when the commit message is empty 3618 21:44:00 returns a 400 bad request 3619 21:44:00 when fails to delete file 3620 21:44:00 returns a 400 bad request 3621 21:44:00 POST /projects/:id/repository/files with binary file 3622 21:44:00 remains unchanged 3623 21:44:00 POST /projects/:id/repository/files with text encoding 3624 21:44:01 returns base64-encoded text file 3625 21:44:01 # [RSpecRunTime] Finishing example group spec/requests/api/files_spec.rb. It took 36.49 seconds. Expected to take 38.15 seconds. 3626 21:44:01 # [RSpecRunTime] Starting example group spec/requests/openid_connect_spec.rb. Expected to take 32.21 seconds. 3627 21:44:01 OpenID Connect requests 3628 21:44:01 Application without OpenID scope 3629 21:44:02 token response does not include an ID token 3630 21:44:02 userinfo response is unauthorized 3631 21:44:02 # [RSpecRunTime] RSpec elapsed time: 15 minutes 42.73 seconds. Current RSS: ~1345M. Threads: 5. load average: 1.28 1.33 1.07 1/287 10605 3633 21:44:02 Application with OpenID scope 3634 21:44:03 token response includes an ID token 3635 21:44:03 UserInfo payload 3636 21:44:04 includes all user information and group memberships 3637 21:44:06 does not include any unknown claims 3638 21:44:08 includes email and email_verified claims 3639 21:44:10 has public email in email claim 3640 21:44:11 has false in email_verified claim 3641 21:44:11 # [RSpecRunTime] RSpec elapsed time: 15 minutes 52.02 seconds. Current RSS: ~1335M. Threads: 5. load average: 1.24 1.32 1.07 1/282 10606 3643 21:44:11 ID token payload 3644 21:44:13 includes the subject claims 3645 21:44:14 includes the GitLab root URL 3646 21:44:16 includes the time of the last authentication 3647 21:44:17 has public email in email claim 3648 21:44:18 has true in email_verified claim 3649 21:44:20 does not include any unknown properties 3650 21:44:21 does include groups 3651 21:44:21 # [RSpecRunTime] RSpec elapsed time: 16 minutes 1.76 seconds. Current RSS: ~1330M. Threads: 5. load average: 1.20 1.31 1.07 1/281 10607 3653 21:44:21 when user is blocked 3654 21:44:22 redirects to login page 3655 21:44:22 when user is ldap_blocked 3656 21:44:22 redirects to login page 3657 21:44:22 OpenID Discovery keys 3658 21:44:22 with a cross-origin request 3659 21:44:22 returns data 3660 21:44:22 behaves like cross-origin GET request 3661 21:44:22 allows cross-origin request 3662 21:44:22 with a cross-origin preflight OPTIONS request 3663 21:44:22 behaves like cross-origin GET request 3664 21:44:23 allows cross-origin request 3665 21:44:23 OpenID WebFinger endpoint 3666 21:44:23 with a cross-origin request 3667 21:44:23 returns data 3668 21:44:23 behaves like cross-origin GET request 3669 21:44:23 allows cross-origin request 3670 21:44:23 with a cross-origin preflight OPTIONS request 3671 21:44:23 behaves like cross-origin GET request 3672 21:44:23 allows cross-origin request 3673 21:44:23 OpenID configuration information 3674 21:44:23 correctly returns the configuration 3675 21:44:23 with a cross-origin request 3676 21:44:23 behaves like cross-origin GET request 3677 21:44:23 allows cross-origin request 3678 21:44:23 with a cross-origin preflight OPTIONS request 3679 21:44:23 behaves like cross-origin GET request 3680 21:44:24 allows cross-origin request 3681 21:44:24 Application with OpenID and email scopes 3682 21:44:24 token response includes an ID token 3683 21:44:24 UserInfo payload 3684 21:44:24 includes the email and email_verified claims 3685 21:44:25 has private email in email claim 3686 21:44:25 has true in email_verified claim 3687 21:44:25 with a cross-origin request 3688 21:44:25 behaves like cross-origin GET and POST request 3689 21:44:26 allows cross-origin request 3690 21:44:26 # [RSpecRunTime] RSpec elapsed time: 16 minutes 6.41 seconds. Current RSS: ~1324M. Threads: 5. load average: 1.18 1.30 1.07 1/281 10608 3692 21:44:26 with a cross-origin POST request 3693 21:44:26 behaves like cross-origin GET and POST request 3694 21:44:26 allows cross-origin request 3695 21:44:26 with a cross-origin preflight OPTIONS request 3696 21:44:26 behaves like cross-origin GET and POST request 3697 21:44:27 allows cross-origin request 3698 21:44:27 ID token payload 3699 21:44:28 has private email in email claim 3700 21:44:29 has true in email_verified claim 3701 21:44:31 does include groups 3702 21:44:31 # [RSpecRunTime] RSpec elapsed time: 16 minutes 11.64 seconds. Current RSS: ~1327M. Threads: 5. load average: 1.17 1.30 1.07 1/281 10609 3704 21:44:31 # [RSpecRunTime] Finishing example group spec/requests/openid_connect_spec.rb. It took 30.0 seconds. Expected to take 32.21 seconds. 3705 21:44:31 # [RSpecRunTime] Starting example group spec/requests/projects/merge_requests_controller_spec.rb. Expected to take 30.26 seconds. 3706 21:44:31 Projects::MergeRequestsController 3708 21:44:33 when the author of the merge request is banned 3709 21:44:33 Job arguments to ElasticAssociationIndexerWorker must be native JSON types, but :issues is a Symbol. 3711 21:44:33 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 3712 21:44:33 is expected to respond with numeric status code not_found 3713 21:44:33 # [RSpecRunTime] RSpec elapsed time: 16 minutes 14.13 seconds. Current RSS: ~1340M. Threads: 5. load average: 1.17 1.30 1.07 1/284 10668 3716 21:44:34 behaves like rate limited endpoint 3717 21:44:34 when rate limiter enabled 3718 21:44:36 logs request and declines it when endpoint called more than the threshold 3719 21:44:36 # [RSpecRunTime] RSpec elapsed time: 16 minutes 16.41 seconds. Current RSS: ~1343M. Threads: 5. load average: 1.16 1.29 1.07 1/283 10669 3721 21:44:36 when rate limiter is disabled 3722 21:44:36 does not log request and does not block the request 3723 21:44:36 behaves like rate limited endpoint 3724 21:44:36 when rate limiter enabled 3725 21:44:37 logs request and declines it when endpoint called more than the threshold 3726 21:44:37 when rate limiter is disabled 3727 21:44:37 does not log request and does not block the request 3728 21:44:37 GET #discussions 3730 21:44:39 returns paginated notes and cursor based on per_page param 3731 21:44:39 # [RSpecRunTime] RSpec elapsed time: 16 minutes 20.16 seconds. Current RSS: ~1350M. Threads: 5. load average: 1.16 1.29 1.07 1/283 10675 3733 21:44:39 token authentication 3734 21:44:39 when public project 3735 21:44:40 behaves like authenticates sessionless user for the request spec 3737 21:44:40 when the 'private_token' param is populated with the personal access token 3738 21:44:40 when valid token 3739 21:44:40 when resource is public 3740 21:44:40 authenticates user and returns response with ok status 3741 21:44:40 when user with expired password 3742 21:44:40 does not authenticate user and returns response with ok status 3743 21:44:40 when the personal access token has no api scope 3744 21:44:40 when resource is public 3745 21:44:41 does not authenticate user and returns response with ok status 3746 21:44:41 when invalid token 3747 21:44:41 when resource is public 3748 21:44:41 does not authenticate user and returns response with ok status 3749 21:44:41 when the 'PRIVATE-TOKEN' header is populated with the personal access token 3750 21:44:41 when valid token 3751 21:44:41 when resource is public 3752 21:44:41 authenticates user and returns response with ok status 3753 21:44:41 when user with expired password 3754 21:44:41 does not authenticate user and returns response with ok status 3755 21:44:41 when the personal access token has no api scope 3756 21:44:41 when resource is public 3757 21:44:42 does not authenticate user and returns response with ok status 3758 21:44:42 when invalid token 3759 21:44:42 when resource is public 3760 21:44:42 does not authenticate user and returns response with ok status 3761 21:44:42 when the 'feed_token' param is populated with the feed token 3762 21:44:42 when valid token 3763 21:44:42 when resource is public 3764 21:44:42 authenticates user and returns response with ok status 3765 21:44:42 when user with expired password 3766 21:44:42 does not authenticate user and returns response with ok status 3767 21:44:42 when invalid token 3768 21:44:42 when resource is public 3769 21:44:42 does not authenticate user and returns response with ok status 3770 21:44:42 when private project 3771 21:44:43 behaves like authenticates sessionless user for the request spec 3773 21:44:43 when the 'private_token' param is populated with the personal access token 3774 21:44:43 when valid token 3775 21:44:43 when resource is private 3776 21:44:43 authenticates user and returns response with ok status 3777 21:44:43 when user with expired password 3778 21:44:44 does not return response with ok status 3779 21:44:44 # [RSpecRunTime] RSpec elapsed time: 16 minutes 24.37 seconds. Current RSS: ~1350M. Threads: 5. load average: 1.14 1.29 1.07 1/282 10676 3781 21:44:44 when password expiration is not applicable 3782 21:44:44 when ldap user 3783 21:44:44 authenticates user and returns response with ok status 3784 21:44:44 when the personal access token has no api scope 3785 21:44:44 when resource is private 3786 21:44:45 does not return response with ok status 3787 21:44:45 when invalid token 3788 21:44:45 when resource is private 3789 21:44:45 does not return response with ok status 3790 21:44:45 when the 'PRIVATE-TOKEN' header is populated with the personal access token 3791 21:44:45 when valid token 3792 21:44:45 when resource is private 3793 21:44:45 authenticates user and returns response with ok status 3794 21:44:45 when user with expired password 3795 21:44:45 does not return response with ok status 3796 21:44:45 when password expiration is not applicable 3797 21:44:45 when ldap user 3798 21:44:46 authenticates user and returns response with ok status 3799 21:44:46 when the personal access token has no api scope 3800 21:44:46 when resource is private 3801 21:44:46 does not return response with ok status 3802 21:44:46 when invalid token 3803 21:44:46 when resource is private 3804 21:44:47 does not return response with ok status 3805 21:44:47 when the 'feed_token' param is populated with the feed token 3806 21:44:47 when valid token 3807 21:44:47 when resource is private 3808 21:44:47 authenticates user and returns response with ok status 3809 21:44:47 when user with expired password 3810 21:44:47 does not return response with ok status 3811 21:44:47 when password expiration is not applicable 3812 21:44:47 when ldap user 3813 21:44:48 authenticates user and returns response with ok status 3814 21:44:48 when invalid token 3815 21:44:48 when resource is private 3816 21:44:48 does not return response with ok status 3817 21:44:48 GET #pipelines.json 3818 21:44:50 avoids N+1 queries 3819 21:44:50 when there are pipelines with failed builds 3820 21:44:50 returns the failed build count but not the failed builds 3821 21:44:52 avoids N+1 queries 3822 21:44:52 # [RSpecRunTime] RSpec elapsed time: 16 minutes 32.68 seconds. Current RSS: ~1361M. Threads: 5. load average: 1.12 1.28 1.07 1/283 10680 3824 21:44:52 #rapid_diffs 3826 21:44:54 uses diffs action when rapid_diffs query parameter doesnt exist 3827 21:44:55 shows only first 5 files 3828 21:44:55 when the feature flag rapid_diffs is disabled 3830 21:44:56 uses diffs action when rapid_diffs query parameter doesnt exist 3831 21:44:56 # [RSpecRunTime] RSpec elapsed time: 16 minutes 36.98 seconds. Current RSS: ~1364M. Threads: 5. load average: 1.19 1.29 1.07 1/283 10701 3833 21:44:56 for stream_url 3834 21:44:57 returns stream_url with offset 3835 21:44:57 when view is set to parallel 3836 21:44:58 returns stream_url with parallel view 3837 21:44:58 # [RSpecRunTime] RSpec elapsed time: 16 minutes 38.91 seconds. Current RSS: ~1366M. Threads: 5. load average: 1.19 1.29 1.07 1/283 10712 3840 21:44:59 applies correct timezone to merge_after 3841 21:44:59 resets merge_schedule if merge_after is not set 3842 21:45:00 does not reset merge_schedule if merge_after is not sent 3843 21:45:00 # [RSpecRunTime] RSpec elapsed time: 16 minutes 40.42 seconds. Current RSS: ~1367M. Threads: 5. load average: 1.19 1.29 1.07 1/283 10713 3845 21:45:00 # [RSpecRunTime] Finishing example group spec/requests/projects/merge_requests_controller_spec.rb. It took 28.79 seconds. Expected to take 30.26 seconds. 3846 21:45:00 # [RSpecRunTime] Starting example group spec/requests/jira_routing_spec.rb. Expected to take 26.84 seconds. 3847 21:45:00 Jira referenced paths 3848 21:45:00 behaves like redirects to jira path 3849 21:45:01 redirects to canonical path with legacy prefix 3850 21:45:02 redirects to canonical path 3851 21:45:02 # [RSpecRunTime] RSpec elapsed time: 16 minutes 42.96 seconds. Current RSS: ~1369M. Threads: 5. load average: 1.18 1.29 1.07 3/283 10714 3853 21:45:02 contains @ before the first / 3854 21:45:02 behaves like redirects to jira path 3855 21:45:04 redirects to canonical path with legacy prefix 3856 21:45:05 redirects to canonical path 3857 21:45:05 # [RSpecRunTime] RSpec elapsed time: 16 minutes 45.73 seconds. Current RSS: ~1365M. Threads: 5. load average: 1.18 1.29 1.07 1/283 10715 3859 21:45:05 including commit path 3860 21:45:05 behaves like redirects to jira path 3861 21:45:06 redirects to canonical path with legacy prefix 3862 21:45:08 redirects to canonical path 3863 21:45:08 # [RSpecRunTime] RSpec elapsed time: 16 minutes 48.39 seconds. Current RSS: ~1361M. Threads: 5. load average: 1.16 1.28 1.07 1/283 10716 3865 21:45:08 malicious path with @path 3866 21:45:08 behaves like redirects to jira path 3867 21:45:09 redirects to canonical path with legacy prefix 3868 21:45:10 redirects to canonical path 3869 21:45:10 # [RSpecRunTime] RSpec elapsed time: 16 minutes 51.0 seconds. Current RSS: ~1356M. Threads: 5. load average: 1.16 1.28 1.07 1/282 10717 3871 21:45:10 including tree path 3872 21:45:10 behaves like redirects to jira path 3873 21:45:12 redirects to canonical path with legacy prefix 3874 21:45:13 redirects to canonical path 3875 21:45:13 # [RSpecRunTime] RSpec elapsed time: 16 minutes 53.68 seconds. Current RSS: ~1357M. Threads: 5. load average: 1.15 1.28 1.07 1/282 10718 3877 21:45:13 malicious path 3878 21:45:13 behaves like redirects to jira path 3879 21:45:14 redirects to canonical path with legacy prefix 3880 21:45:16 redirects to canonical path 3881 21:45:16 # [RSpecRunTime] RSpec elapsed time: 16 minutes 56.45 seconds. Current RSS: ~1357M. Threads: 5. load average: 1.14 1.27 1.07 1/282 10719 3883 21:45:16 malicious path with @project 3884 21:45:16 behaves like redirects to jira path 3885 21:45:17 redirects to canonical path with legacy prefix 3886 21:45:18 redirects to canonical path 3887 21:45:19 # [RSpecRunTime] RSpec elapsed time: 16 minutes 59.23 seconds. Current RSS: ~1358M. Threads: 5. load average: 1.14 1.27 1.07 1/282 10720 3889 21:45:19 regular paths with legacy prefix 3890 21:45:19 jira_path: "/-/jira/group/group_project", redirect_path: "/group/group_project" 3891 21:45:20 redirects to canonical path 3892 21:45:20 # [RSpecRunTime] RSpec elapsed time: 17 minutes 0.7 second. Current RSS: ~1358M. Threads: 5. load average: 1.14 1.27 1.07 1/282 10721 3894 21:45:20 jira_path: "/-/jira/group/group_project/commit/1234567", redirect_path: "/group/group_project/commit/1234567" 3895 21:45:21 redirects to canonical path 3896 21:45:21 # [RSpecRunTime] RSpec elapsed time: 17 minutes 2.12 seconds. Current RSS: ~1359M. Threads: 5. load average: 1.12 1.27 1.07 1/282 10722 3898 21:45:21 jira_path: "/-/jira/group/group_project/tree/1234567", redirect_path: "/group/group_project/-/tree/1234567" 3899 21:45:23 redirects to canonical path 3900 21:45:23 # [RSpecRunTime] RSpec elapsed time: 17 minutes 3.57 seconds. Current RSS: ~1358M. Threads: 5. load average: 1.12 1.27 1.07 1/282 10723 3902 21:45:23 when tree path has an @ 3903 21:45:24 does not do a redirect 3904 21:45:24 # [RSpecRunTime] RSpec elapsed time: 17 minutes 5.1 seconds. Current RSS: ~1359M. Threads: 5. load average: 1.12 1.27 1.07 1/282 10724 3906 21:45:24 # [RSpecRunTime] Finishing example group spec/requests/jira_routing_spec.rb. It took 24.68 seconds. Expected to take 26.84 seconds. 3907 21:45:24 # [RSpecRunTime] Starting example group spec/controllers/projects/web_ide_terminals_controller_spec.rb. Expected to take 23.3 seconds. 3908 21:45:24 Projects::WebIdeTerminalsController 3910 21:45:26 behaves like terminal access rights 3912 21:45:26 when admin mode is enabled 3914 21:45:26 # [RSpecRunTime] RSpec elapsed time: 17 minutes 7.15 seconds. Current RSS: ~1366M. Threads: 5. load average: 1.11 1.26 1.07 1/282 10743 3916 21:45:26 when admin mode is disabled 3920 21:45:27 with maintainer 3922 21:45:27 with developer 3924 21:45:28 with reporter 3928 21:45:28 with non member 3930 21:45:29 behaves like when pipeline is not from a webide source 3933 21:45:29 POST check_config 3934 21:45:29 behaves like terminal access rights 3936 21:45:29 when admin mode is enabled 3938 21:45:29 when admin mode is disabled 3942 21:45:29 with maintainer 3944 21:45:30 with developer 3946 21:45:30 with reporter 3950 21:45:30 with non member 3952 21:45:30 when invalid config file 3955 21:45:30 when terminal job is created successfully 3956 21:45:31 increases the web ide terminal counter 3957 21:45:31 access rights 3958 21:45:31 behaves like terminal access rights 3960 21:45:31 when admin mode is enabled 3962 21:45:32 # [RSpecRunTime] RSpec elapsed time: 17 minutes 12.8 seconds. Current RSS: ~1388M. Threads: 5. load average: 1.10 1.26 1.07 1/283 10745 3964 21:45:32 when admin mode is disabled 3968 21:45:33 with maintainer 3970 21:45:34 with developer 3972 21:45:34 with reporter 3976 21:45:34 with non member 3978 21:45:35 when branch does not exist 3980 21:45:35 behaves like web ide terminal usage counter 3981 21:45:35 does not increase 3982 21:45:35 when there is an error creating the job 3984 21:45:35 behaves like web ide terminal usage counter 3985 21:45:35 does not increase 3986 21:45:35 when the current build is nil 3988 21:45:35 behaves like web ide terminal usage counter 3989 21:45:36 does not increase 3991 21:45:36 behaves like terminal access rights 3993 21:45:36 when admin mode is enabled 3995 21:45:36 when admin mode is disabled 3999 21:45:36 with maintainer 4001 21:45:37 with developer 4003 21:45:37 with reporter 4007 21:45:37 with non member 4009 21:45:38 behaves like when pipeline is not from a webide source 4012 21:45:38 when job is not cancelable 4015 21:45:38 behaves like terminal access rights 4017 21:45:38 when admin mode is enabled 4019 21:45:40 # [RSpecRunTime] RSpec elapsed time: 17 minutes 20.45 seconds. Current RSS: ~1391M. Threads: 5. load average: 1.10 1.25 1.07 1/284 10773 4021 21:45:40 when admin mode is disabled 4025 21:45:41 # [RSpecRunTime] RSpec elapsed time: 17 minutes 21.79 seconds. Current RSS: ~1391M. Threads: 5. load average: 1.17 1.27 1.08 1/285 10796 4027 21:45:41 with maintainer 4029 21:45:42 with developer 4031 21:45:42 with reporter 4035 21:45:43 with non member 4037 21:45:43 behaves like when pipeline is not from a webide source 4040 21:45:44 when job is not retryable 4042 21:45:44 when job is cancelled 4044 21:45:45 # [RSpecRunTime] RSpec elapsed time: 17 minutes 25.71 seconds. Current RSS: ~1398M. Threads: 5. load average: 1.17 1.27 1.08 1/287 10841 4046 21:45:45 when job fails 4048 21:45:46 when job is successful 4050 21:45:47 # [RSpecRunTime] RSpec elapsed time: 17 minutes 27.74 seconds. Current RSS: ~1389M. Threads: 5. load average: 1.24 1.28 1.08 1/287 10887 4052 21:45:47 # [RSpecRunTime] Finishing example group spec/controllers/projects/web_ide_terminals_controller_spec.rb. It took 22.64 seconds. Expected to take 23.3 seconds. 4053 21:45:47 # [RSpecRunTime] Starting example group spec/requests/api/graphql/ci/runners_spec.rb. Expected to take 20.89 seconds. 4054 21:45:47 Query.runners 4055 21:45:47 Query.runners 4056 21:45:50 returns expected runners 4057 21:45:50 with filters 4058 21:45:50 when filtered on type and status 4059 21:45:50 runner_type is INSTANCE_TYPE and status is ONLINE 4060 21:45:50 behaves like a working graphql query returning expected runners 4061 21:45:50 returns expected runners 4062 21:45:50 behaves like a working graphql query 4063 21:45:51 returns a successful response 4064 21:45:51 # [RSpecRunTime] RSpec elapsed time: 17 minutes 31.46 seconds. Current RSS: ~1397M. Threads: 5. load average: 1.22 1.27 1.08 1/288 10918 4066 21:45:51 runner_type is PROJECT_TYPE and status is NEVER_CONTACTED 4067 21:45:51 behaves like a working graphql query returning expected runners 4068 21:45:52 returns expected runners 4069 21:45:52 behaves like a working graphql query 4070 21:45:53 returns a successful response 4071 21:45:53 # [RSpecRunTime] RSpec elapsed time: 17 minutes 33.97 seconds. Current RSS: ~1398M. Threads: 5. load average: 1.22 1.27 1.08 1/287 10921 4073 21:45:53 when filtered on version prefix 4074 21:45:53 when version_prefix is "15." 4075 21:45:53 behaves like a working graphql query returning expected runners 4076 21:45:54 returns expected runners 4077 21:45:54 behaves like a working graphql query 4078 21:45:54 returns a successful response 4079 21:45:54 when version_prefix is "15.11." 4080 21:45:54 behaves like a working graphql query returning expected runners 4081 21:45:54 returns expected runners 4082 21:45:54 behaves like a working graphql query 4083 21:45:54 returns a successful response 4084 21:45:54 when version_prefix is "15.11.0" 4085 21:45:54 behaves like a working graphql query returning expected runners 4086 21:45:54 returns expected runners 4087 21:45:54 behaves like a working graphql query 4088 21:45:54 returns a successful response 4089 21:45:54 when version_prefix is not digits 4090 21:45:54 behaves like a working graphql query returning expected runners 4091 21:45:54 returns expected runners 4092 21:45:54 behaves like a working graphql query 4093 21:45:55 returns a successful response 4094 21:45:55 when filtered by creator 4095 21:45:55 when existing user id given 4096 21:45:55 behaves like a working graphql query returning expected runners 4097 21:45:55 returns expected runners 4098 21:45:55 behaves like a working graphql query 4099 21:45:56 returns a successful response 4100 21:45:56 # [RSpecRunTime] RSpec elapsed time: 17 minutes 36.91 seconds. Current RSS: ~1393M. Threads: 5. load average: 1.12 1.25 1.07 1/285 10922 4102 21:45:56 when non existent user id given 4103 21:45:56 does not return any runners 4104 21:45:56 Runner query limits 4105 21:46:03 avoids N+1 queries 4106 21:46:03 # [RSpecRunTime] RSpec elapsed time: 17 minutes 43.54 seconds. Current RSS: ~1386M. Threads: 5. load average: 1.19 1.26 1.08 1/284 10923 4109 21:46:03 when sorted by contacted_at ascending 4110 21:46:03 behaves like sorted paginated query 4111 21:46:03 behaves like requires variables 4112 21:46:03 shared example requires variables to be set 4114 21:46:03 when sorting 4115 21:46:03 sorts correctly 4116 21:46:03 when paginating 4117 21:46:03 paginates correctly 4118 21:46:03 when sorted by created_at 4119 21:46:03 behaves like sorted paginated query 4120 21:46:03 behaves like requires variables 4121 21:46:03 shared example requires variables to be set 4123 21:46:03 when sorting 4124 21:46:04 sorts correctly 4125 21:46:04 when paginating 4126 21:46:04 paginates correctly 4127 21:46:04 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/ci/runners_spec.rb. It took 17.04 seconds. Expected to take 20.89 seconds. 4128 21:46:04 # [RSpecRunTime] Starting example group spec/requests/api/graphql/ci/runners_spec.rb. Expected to take 20.89 seconds. 4129 21:46:04 Group.runners 4131 21:46:05 contains custom edge information 4132 21:46:05 # [RSpecRunTime] RSpec elapsed time: 17 minutes 46.13 seconds. Current RSS: ~1390M. Threads: 5. load average: 1.19 1.26 1.08 1/283 10924 4134 21:46:05 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/ci/runners_spec.rb. It took 1.35 seconds. Expected to take 20.89 seconds. 4135 21:46:05 # [RSpecRunTime] Starting example group spec/controllers/dashboard/milestones_controller_spec.rb. Expected to take 18.61 seconds. 4136 21:46:05 Dashboard::MilestonesController 4138 21:46:08 returns group and project milestones to which the user belongs 4139 21:46:10 returns closed group and project milestones to which the user belongs 4140 21:46:13 searches legacy project milestones by title when search_title is given 4141 21:46:15 searches group milestones by title when search_title is given 4142 21:46:18 shows counts of open/closed/all group and project milestones to which the user belongs to 4143 21:46:18 external authorization 4144 21:46:18 behaves like disabled when using an external authorization service 4145 21:46:21 works when the feature is not enabled 4146 21:46:23 renders a 404 with a message when the feature is enabled 4147 21:46:23 # [RSpecRunTime] RSpec elapsed time: 18 minutes 3.83 seconds. Current RSS: ~1413M. Threads: 5. load average: 1.15 1.25 1.08 1/282 10925 4149 21:46:23 # [RSpecRunTime] Finishing example group spec/controllers/dashboard/milestones_controller_spec.rb. It took 17.69 seconds. Expected to take 18.61 seconds. 4150 21:46:23 # [RSpecRunTime] Starting example group spec/requests/api/graphql/project/merge_request/diff_notes_spec.rb. Expected to take 16.44 seconds. 4151 21:46:23 getting notes for a merge request 4152 21:46:24 behaves like exposing regular notes on a noteable in GraphQL 4153 21:46:24 for regular notes 4154 21:46:25 includes all notes 4155 21:46:27 avoids N+1 queries 4156 21:46:27 behaves like a working graphql query 4157 21:46:27 returns a successful response 4158 21:46:27 # [RSpecRunTime] RSpec elapsed time: 18 minutes 8.13 seconds. Current RSS: ~1421M. Threads: 5. load average: 1.14 1.24 1.08 1/284 10984 4160 21:46:27 when filter is provided 4161 21:46:27 when filter is set to ALL_NOTES 4162 21:46:28 returns all the notes 4163 21:46:28 when filter is set to ONLY_COMMENTS 4164 21:46:28 returns only the comments 4165 21:46:28 when filter is set to ONLY_ACTIVITY 4166 21:46:29 returns only the activity notes 4167 21:46:29 for discussions 4168 21:46:30 includes all discussion notes 4169 21:46:30 behaves like a working graphql query 4170 21:46:32 returns a successful response 4171 21:46:32 # [RSpecRunTime] RSpec elapsed time: 18 minutes 12.37 seconds. Current RSS: ~1412M. Threads: 5. load average: 1.12 1.24 1.08 1/284 10990 4173 21:46:32 diff notes on a merge request 4174 21:46:33 includes the note 4175 21:46:33 behaves like a working graphql query 4176 21:46:35 returns a successful response 4177 21:46:35 # [RSpecRunTime] RSpec elapsed time: 18 minutes 15.97 seconds. Current RSS: ~1421M. Threads: 5. load average: 1.12 1.24 1.08 1/283 11002 4179 21:46:35 the position of the diffnote 4180 21:46:37 includes a correct position 4181 21:46:37 with a note on an image 4182 21:46:39 includes a correct position 4183 21:46:39 # [RSpecRunTime] RSpec elapsed time: 18 minutes 19.36 seconds. Current RSS: ~1427M. Threads: 5. load average: 1.11 1.23 1.08 1/283 11009 4185 21:46:39 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/project/merge_request/diff_notes_spec.rb. It took 15.53 seconds. Expected to take 16.44 seconds. 4186 21:46:39 # [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/award_emojis/add_spec.rb. Expected to take 14.46 seconds. 4187 21:46:39 Adding an AwardEmoji 4188 21:46:39 when the user does not have permission 4189 21:46:39 behaves like a mutation that does not create an AwardEmoji 4190 21:46:41 is expected not to change `AwardEmoji.count` 4191 21:46:41 # [RSpecRunTime] RSpec elapsed time: 18 minutes 21.46 seconds. Current RSS: ~1420M. Threads: 5. load average: 1.27 1.26 1.09 1/283 11010 4193 21:46:41 behaves like a mutation that returns a top-level access error 4194 21:46:41 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" 4195 21:46:41 when the user has permission 4196 21:46:41 when the given awardable is not an Awardable 4197 21:46:41 behaves like a mutation that does not create an AwardEmoji 4198 21:46:42 is expected not to change `AwardEmoji.count` 4199 21:46:42 behaves like a mutation that returns top-level errors 4200 21:46:42 is expected to include /was provided invalid value for awardableId/ 4201 21:46:42 when the given awardable is an Awardable but still cannot be awarded an emoji 4202 21:46:42 behaves like a mutation that does not create an AwardEmoji 4203 21:46:42 is expected not to change `AwardEmoji.count` 4204 21:46:42 behaves like a mutation that returns top-level errors 4205 21:46:43 is expected to contain exactly "You cannot add emoji reactions to this resource." 4206 21:46:43 when the given awardable is an Awardable 4207 21:46:43 creates an emoji 4208 21:46:44 returns the emoji 4209 21:46:44 marking Todos as done 4210 21:46:44 type: :issue, expectation: true 4211 21:46:45 is expected to eq true 4212 21:46:45 # [RSpecRunTime] RSpec elapsed time: 18 minutes 25.97 seconds. Current RSS: ~1424M. Threads: 5. load average: 1.27 1.26 1.09 1/283 11011 4214 21:46:45 type: :merge_request, expectation: true 4215 21:46:47 is expected to eq true 4216 21:46:47 # [RSpecRunTime] RSpec elapsed time: 18 minutes 27.92 seconds. Current RSS: ~1432M. Threads: 5. load average: 1.24 1.26 1.09 1/286 11069 4218 21:46:47 type: :project_snippet, expectation: false 4219 21:46:48 is expected to eq false 4220 21:46:48 # [RSpecRunTime] RSpec elapsed time: 18 minutes 29.01 seconds. Current RSS: ~1435M. Threads: 5. load average: 1.24 1.26 1.09 1/286 11070 4223 21:46:48 regular Notes 4224 21:46:49 marks the Todo as done 4225 21:46:49 PersonalSnippet Notes 4226 21:46:50 does not mark the Todo as done 4227 21:46:50 # [RSpecRunTime] RSpec elapsed time: 18 minutes 31.04 seconds. Current RSS: ~1436M. Threads: 5. load average: 1.24 1.26 1.09 1/285 11071 4229 21:46:50 Discussion Notes 4230 21:46:51 marks the Todo as done 4231 21:46:51 when there were active record validation errors 4232 21:46:52 returns an empty awardEmoji 4233 21:46:52 behaves like a mutation that does not create an AwardEmoji 4234 21:46:52 is expected not to change `AwardEmoji.count` 4235 21:46:52 behaves like a mutation that returns errors in the response 4236 21:46:53 is expected to contain exactly "Error 1" and "Error 2" 4237 21:46:53 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/award_emojis/add_spec.rb. It took 13.89 seconds. Expected to take 14.46 seconds. 4238 21:46:53 # [RSpecRunTime] Starting example group spec/requests/api/graphql/groups_query_spec.rb. Expected to take 13.49 seconds. 4239 21:46:53 searching groups 4240 21:46:53 Query groups(search) 4241 21:46:54 includes public groups 4242 21:46:57 includes accessible private groups ordered by name 4243 21:46:57 behaves like a working graphql query 4244 21:46:58 returns a successful response 4245 21:46:58 # [RSpecRunTime] RSpec elapsed time: 18 minutes 39.07 seconds. Current RSS: ~1439M. Threads: 5. load average: 1.21 1.25 1.09 1/283 11072 4247 21:46:58 with `search` argument 4248 21:47:00 filters groups by name 4249 21:47:00 # [RSpecRunTime] RSpec elapsed time: 18 minutes 40.54 seconds. Current RSS: ~1436M. Threads: 5. load average: 1.21 1.25 1.09 1/283 11073 4251 21:47:00 group sorting 4252 21:47:00 field: "id", direction: "asc", sorted_groups: lazy { all_groups.sort_by(&:id) } 4253 21:47:00 behaves like sorted paginated query 4254 21:47:00 behaves like requires variables 4255 21:47:00 shared example requires variables to be set 4257 21:47:00 when sorting 4258 21:47:00 sorts correctly 4259 21:47:00 when paginating 4260 21:47:01 paginates correctly 4261 21:47:01 field: "id", direction: "desc", sorted_groups: lazy { all_groups.sort_by(&:id).reverse } 4262 21:47:01 behaves like sorted paginated query 4263 21:47:01 behaves like requires variables 4264 21:47:01 shared example requires variables to be set 4266 21:47:01 when sorting 4267 21:47:01 sorts correctly 4268 21:47:01 when paginating 4269 21:47:02 paginates correctly 4270 21:47:02 field: "name", direction: "asc", sorted_groups: lazy { all_groups.sort_by(&:name) } 4271 21:47:02 behaves like sorted paginated query 4272 21:47:02 behaves like requires variables 4273 21:47:02 shared example requires variables to be set 4275 21:47:02 when sorting 4276 21:47:02 sorts correctly 4277 21:47:02 when paginating 4278 21:47:02 paginates correctly 4279 21:47:02 field: "name", direction: "desc", sorted_groups: lazy { all_groups.sort_by(&:name).reverse } 4280 21:47:02 behaves like sorted paginated query 4281 21:47:02 behaves like requires variables 4282 21:47:02 shared example requires variables to be set 4284 21:47:02 when sorting 4285 21:47:03 sorts correctly 4286 21:47:03 when paginating 4287 21:47:03 paginates correctly 4288 21:47:03 field: "path", direction: "asc", sorted_groups: lazy { all_groups.sort_by(&:path) } 4289 21:47:03 behaves like sorted paginated query 4290 21:47:03 behaves like requires variables 4291 21:47:03 shared example requires variables to be set 4293 21:47:03 when sorting 4294 21:47:03 sorts correctly 4295 21:47:03 when paginating 4296 21:47:04 paginates correctly 4297 21:47:04 field: "path", direction: "desc", sorted_groups: lazy { all_groups.sort_by(&:path).reverse } 4298 21:47:04 behaves like sorted paginated query 4299 21:47:04 behaves like requires variables 4300 21:47:04 shared example requires variables to be set 4302 21:47:04 when sorting 4303 21:47:04 sorts correctly 4304 21:47:04 when paginating 4305 21:47:04 paginates correctly 4306 21:47:04 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/groups_query_spec.rb. It took 11.76 seconds. Expected to take 13.49 seconds. 4307 21:47:04 # [RSpecRunTime] Starting example group spec/requests/api/submodules_spec.rb. Expected to take 12.3 seconds. 4308 21:47:04 API::Submodules 4309 21:47:04 PUT /projects/:id/repository/submodule/:submodule 4310 21:47:04 when unauthenticated 4312 21:47:05 # [RSpecRunTime] RSpec elapsed time: 18 minutes 46.19 seconds. Current RSS: ~1448M. Threads: 5. load average: 1.17 1.24 1.09 1/282 11092 4314 21:47:05 when authenticated as a guest 4316 21:47:07 # [RSpecRunTime] RSpec elapsed time: 18 minutes 47.8 seconds. Current RSS: ~1452M. Threads: 5. load average: 1.17 1.24 1.09 1/282 11111 4318 21:47:07 when authenticated as a developer 4319 21:47:08 returns 400 if params is missing 4320 21:47:09 returns 400 if branch is missing 4321 21:47:11 returns 400 if commit_sha is missing 4322 21:47:12 returns the commit 4323 21:47:12 when the submodule name is urlencoded 4324 21:47:14 returns the commit 4325 21:47:14 # [RSpecRunTime] RSpec elapsed time: 18 minutes 54.41 seconds. Current RSS: ~1469M. Threads: 5. load average: 1.08 1.22 1.08 1/287 11263 4327 21:47:14 when the submodule name contains a dot 4328 21:47:15 returns the commit 4329 21:47:15 # [RSpecRunTime] RSpec elapsed time: 18 minutes 55.99 seconds. Current RSS: ~1470M. Threads: 5. load average: 1.08 1.22 1.08 1/287 11309 4331 21:47:15 # [RSpecRunTime] Finishing example group spec/requests/api/submodules_spec.rb. It took 10.98 seconds. Expected to take 12.3 seconds. 4332 21:47:15 # [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/snippets/destroy_spec.rb. Expected to take 11.15 seconds. 4333 21:47:15 Destroying a Snippet 4334 21:47:15 PersonalSnippet 4335 21:47:15 behaves like graphql delete actions 4336 21:47:15 when the user does not have permission 4337 21:47:16 does not destroy the Snippet 4338 21:47:16 behaves like a mutation that returns top-level errors 4339 21:47:16 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" 4340 21:47:16 when the user has permission 4341 21:47:16 destroys the Snippet 4342 21:47:16 returns an empty Snippet 4343 21:47:16 when a bad gid is given 4344 21:47:17 returns an error 4345 21:47:18 does not destroy the Snippet 4346 21:47:19 does not destroy the Project 4347 21:47:19 # [RSpecRunTime] RSpec elapsed time: 18 minutes 59.61 seconds. Current RSS: ~1453M. Threads: 5. load average: 1.07 1.22 1.08 1/287 11310 4349 21:47:19 behaves like when the snippet is not found 4350 21:47:19 behaves like a mutation that returns top-level errors 4351 21:47:19 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" 4352 21:47:19 ProjectSnippet 4353 21:47:19 when the author is not a member of the project 4354 21:47:20 returns an an error 4355 21:47:20 when the author is a member of the project 4356 21:47:20 behaves like graphql delete actions 4357 21:47:20 when the user does not have permission 4358 21:47:20 does not destroy the Snippet 4359 21:47:20 behaves like a mutation that returns top-level errors 4360 21:47:21 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" 4361 21:47:21 # [RSpecRunTime] RSpec elapsed time: 19 minutes 1.59 seconds. Current RSS: ~1444M. Threads: 5. load average: 1.15 1.23 1.08 1/287 11311 4363 21:47:21 when the user has permission 4364 21:47:21 destroys the Snippet 4365 21:47:22 returns an empty Snippet 4366 21:47:22 when a bad gid is given 4367 21:47:23 returns an error 4368 21:47:24 does not destroy the Snippet 4369 21:47:25 does not destroy the Project 4370 21:47:25 # [RSpecRunTime] RSpec elapsed time: 19 minutes 5.53 seconds. Current RSS: ~1417M. Threads: 5. load average: 1.15 1.23 1.08 1/284 11312 4372 21:47:25 when the snippet project feature is disabled 4373 21:47:25 returns an an error 4374 21:47:25 behaves like when the snippet is not found 4375 21:47:25 behaves like a mutation that returns top-level errors 4376 21:47:25 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" 4377 21:47:25 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/snippets/destroy_spec.rb. It took 10.18 seconds. Expected to take 11.15 seconds. 4378 21:47:25 # [RSpecRunTime] Starting example group spec/requests/api/doorkeeper_access_spec.rb. Expected to take 9.82 seconds. 4379 21:47:25 doorkeeper access 4380 21:47:25 unauthenticated 4381 21:47:27 returns authentication success 4382 21:47:28 allows user authenticating from the same ip 4383 21:47:29 blocks user authenticating from two distinct ips 4384 21:47:29 # [RSpecRunTime] RSpec elapsed time: 19 minutes 9.45 seconds. Current RSS: ~1479M. Threads: 5. load average: 1.14 1.23 1.08 1/282 11313 4386 21:47:29 when token invalid 4387 21:47:29 returns authentication error 4388 21:47:29 authorization by OAuth token 4389 21:47:30 returns authentication success 4390 21:47:31 allows user authenticating from the same ip 4391 21:47:34 blocks user authenticating from two distinct ips 4392 21:47:34 # [RSpecRunTime] RSpec elapsed time: 19 minutes 14.64 seconds. Current RSS: ~1507M. Threads: 5. load average: 1.20 1.24 1.09 1/282 11314 4394 21:47:34 when user is blocked 4395 21:47:34 behaves like forbidden request 4396 21:47:34 returns 403 response 4397 21:47:34 when user is ldap_blocked 4398 21:47:34 behaves like forbidden request 4399 21:47:35 returns 403 response 4400 21:47:35 when user is deactivated 4401 21:47:35 behaves like forbidden request 4402 21:47:35 returns 403 response 4403 21:47:35 when user is blocked pending approval 4404 21:47:35 behaves like forbidden request 4405 21:47:35 returns 403 response 4406 21:47:35 # [RSpecRunTime] Finishing example group spec/requests/api/doorkeeper_access_spec.rb. It took 9.84 seconds. Expected to take 9.82 seconds. 4407 21:47:35 # [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/issues/create_spec.rb. Expected to take 9.8 seconds. 4408 21:47:35 Create an issue 4409 21:47:36 the user is not allowed to create an issue 4410 21:47:36 behaves like a mutation that returns a top-level access error 4411 21:47:36 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 21:47:36 when user has permissions to create an issue 4413 21:47:37 Job arguments to Integrations::GroupMentionWorker must be native JSON types, but :mentionable_type is a Symbol. 4415 21:47:37 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4416 21:47:37 creates the issue 4417 21:47:37 behaves like has spam protection 4418 21:47:37 #check_spam_action_response! 4419 21:47:37 when the object is spam (DISALLOW) 4420 21:47:37 and no CAPTCHA is available 4421 21:47:37 behaves like disallow response 4422 21:47:38 Job arguments to Integrations::GroupMentionWorker must be native JSON types, but :mentionable_type is a Symbol. 4424 21:47:38 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4425 21:47:38 informs the client that the request was denied as spam 4426 21:47:38 # [RSpecRunTime] RSpec elapsed time: 19 minutes 18.95 seconds. Current RSS: ~1473M. Threads: 5. load average: 1.27 1.25 1.09 1/282 11315 4428 21:47:38 and a CAPTCHA is required 4429 21:47:38 behaves like disallow response 4430 21:47:39 Job arguments to Integrations::GroupMentionWorker must be native JSON types, but :mentionable_type is a Symbol. 4432 21:47:39 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4433 21:47:39 informs the client that the request was denied as spam 4434 21:47:39 when the object is not spam (CONDITIONAL ALLOW) 4435 21:47:39 and no CAPTCHA is required 4436 21:47:40 Job arguments to Integrations::GroupMentionWorker must be native JSON types, but :mentionable_type is a Symbol. 4438 21:47:40 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4439 21:47:40 does not return a top-level error 4440 21:47:40 # [RSpecRunTime] RSpec elapsed time: 19 minutes 20.74 seconds. Current RSS: ~1474M. Threads: 5. load average: 1.27 1.25 1.09 1/282 11316 4442 21:47:40 and a CAPTCHA is required 4443 21:47:41 Job arguments to Integrations::GroupMentionWorker must be native JSON types, but :mentionable_type is a Symbol. 4445 21:47:41 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4446 21:47:41 informs the client that the request may be retried after solving the CAPTCHA 4447 21:47:41 when creating an issue of type TASK 4448 21:47:42 Job arguments to Integrations::GroupMentionWorker must be native JSON types, but :mentionable_type is a Symbol. 4450 21:47:42 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4451 21:47:42 creates an issue with TASK type 4452 21:47:42 # [RSpecRunTime] RSpec elapsed time: 19 minutes 22.66 seconds. Current RSS: ~1469M. Threads: 5. load average: 1.25 1.25 1.09 1/282 11317 4454 21:47:42 when position params are provided 4455 21:47:43 Job arguments to Integrations::GroupMentionWorker must be native JSON types, but :mentionable_type is a Symbol. 4457 21:47:43 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4458 21:47:43 sets the correct position 4459 21:47:43 # [RSpecRunTime] RSpec elapsed time: 19 minutes 23.8 seconds. Current RSS: ~1464M. Threads: 5. load average: 1.25 1.25 1.09 1/282 11318 4461 21:47:43 when both labels and labelIds params are provided 4462 21:47:43 behaves like a mutation that returns top-level errors 4463 21:47:43 is expected to contain exactly "Only one of [labels, labelIds] arguments is allowed at the same time." 4464 21:47:43 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/issues/create_spec.rb. It took 8.16 seconds. Expected to take 9.8 seconds. 4465 21:47:43 # [RSpecRunTime] Starting example group spec/requests/api/graphql/project/environments_spec.rb. Expected to take 8.16 seconds. 4466 21:47:43 Project Environments query 4467 21:47:45 returns the specified fields of the environment 4468 21:47:45 with cluster agent 4469 21:47:47 returns the cluster agent of the environment 4470 21:47:47 when the cluster is not authorized in the project 4471 21:47:47 does not return the cluster agent of the environment 4472 21:47:47 # [RSpecRunTime] RSpec elapsed time: 19 minutes 27.64 seconds. Current RSS: ~1484M. Threads: 5. load average: 1.23 1.24 1.09 1/282 11373 4474 21:47:47 nested environments 4476 21:47:47 can fetch nested environments 4477 21:47:47 when user is guest 4478 21:47:48 returns nothing 4479 21:47:48 when using pagination 4480 21:47:48 supports pagination 4481 21:47:48 user permissions 4482 21:47:48 returns user permissions of the environment 4483 21:47:48 when fetching user permissions for multiple environments 4484 21:47:48 limits the result 4485 21:47:48 last deployments of environments 4486 21:47:50 returns all last deployments of the environment 4487 21:47:50 executes the same number of queries in single environment and multiple environments 4488 21:47:50 # [RSpecRunTime] RSpec elapsed time: 19 minutes 30.73 seconds. Current RSS: ~1472M. Threads: 5. load average: 1.23 1.24 1.09 1/283 11375 4490 21:47:50 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/project/environments_spec.rb. It took 6.57 seconds. Expected to take 8.16 seconds. 4491 21:47:50 # [RSpecRunTime] Starting example group spec/controllers/projects/runners_controller_spec.rb. Expected to take 7.54 seconds. 4492 21:47:50 Projects::RunnersController 4494 21:47:51 destroys the runner 4495 21:47:51 #toggle_shared_runners 4496 21:47:52 toggles shared_runners_enabled when the group allows shared runners 4497 21:47:53 toggles shared_runners_enabled when the group disallows shared runners but allows overrides 4498 21:47:54 does not enable if the group disallows shared runners 4499 21:47:54 # [RSpecRunTime] RSpec elapsed time: 19 minutes 34.54 seconds. Current RSS: ~1419M. Threads: 5. load average: 1.21 1.24 1.09 1/284 11376 4502 21:47:54 marks the runner as inactive and ticks the queue 4504 21:47:54 when user is maintainer 4505 21:47:54 renders new with 200 status code 4506 21:47:54 when user is not maintainer 4507 21:47:55 renders a 404 4509 21:47:55 when user is maintainer 4510 21:47:55 when runner can be registered after creation 4511 21:47:55 renders a :register template 4512 21:47:55 when runner cannot be registered after creation 4513 21:47:55 returns :not_found 4514 21:47:55 when user is not maintainer 4515 21:47:55 when runner can be registered after creation 4516 21:47:55 returns :not_found 4518 21:47:56 marks the runner as active and ticks the queue 4519 21:47:56 # [RSpecRunTime] Finishing example group spec/controllers/projects/runners_controller_spec.rb. It took 5.62 seconds. Expected to take 7.54 seconds. 4520 21:47:56 # [RSpecRunTime] Starting example group spec/requests/api/graphql/project/commit_references_spec.rb. Expected to take 6.94 seconds. 4521 21:47:56 Query.project(fullPath).commitReferences(commitSha) 4522 21:47:56 with containing refs 4523 21:47:56 with path Query.project(fullPath).commitReferences(commitSha).containingTags 4524 21:47:56 without excludeTipped argument 4525 21:47:57 returns tags names containing the commit 4526 21:47:57 # [RSpecRunTime] RSpec elapsed time: 19 minutes 37.43 seconds. Current RSS: ~1422M. Threads: 5. load average: 1.19 1.23 1.09 1/285 11400 4528 21:47:57 with excludeTipped argument 4529 21:47:57 returns tags names containing the commit without the tipped tags 4530 21:47:57 with limit of 2 4531 21:47:57 returns the right amount of refs 4532 21:47:57 with limit of -2 4533 21:47:57 casts an argument error "limit must be greater then 0" 4534 21:47:57 with limit of 1001 4535 21:47:58 casts an argument error "limit must be greater then 0" 4536 21:47:58 with path Query.project(fullPath).commitReferences(commitSha).containingBranches 4537 21:47:58 without excludeTipped argument 4538 21:47:58 returns branch names containing the commit 4539 21:47:58 with excludeTipped argument 4540 21:47:58 returns branch names containing the commit without the tipped branch 4541 21:47:58 with limit of 2 4542 21:47:58 returns the right amount of refs 4543 21:47:58 with limit of -2 4544 21:47:59 casts an argument error "limit must be greater then 0" 4545 21:47:59 with limit of 1001 4546 21:47:59 casts an argument error "limit must be greater then 0" 4547 21:47:59 the path commitReferences should return nil 4548 21:47:59 when commit does not exist 4549 21:47:59 commitReferences returns nil 4550 21:47:59 when sha length is incorrect 4551 21:47:59 commitReferences returns nil 4552 21:47:59 when user is not authorized 4553 21:47:59 commitReferences returns nil 4554 21:47:59 with tipping refs 4555 21:47:59 with path Query.project(fullPath).commitReferences(commitSha).tippingTags 4556 21:47:59 with authorized user 4557 21:48:00 returns tags names tipping the commit 4558 21:48:00 with limit of 2 4559 21:48:00 returns the right amount of refs 4560 21:48:00 with limit of -2 4561 21:48:00 casts an argument error "limit must be greater then 0" 4562 21:48:00 with limit of 1001 4563 21:48:00 casts an argument error "limit must be greater then 0" 4564 21:48:00 with path Query.project(fullPath).commitReferences(commitSha).tippingBranches 4565 21:48:01 returns branches names tipping the commit 4566 21:48:01 with limit of 2 4567 21:48:01 returns the right amount of refs 4568 21:48:01 with limit of -2 4569 21:48:01 casts an argument error "limit must be greater then 0" 4570 21:48:01 with limit of 1001 4571 21:48:01 casts an argument error "limit must be greater then 0" 4572 21:48:01 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/project/commit_references_spec.rb. It took 5.65 seconds. Expected to take 6.94 seconds. 4573 21:48:01 # [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/ci/runners_registration_token/reset_spec.rb. Expected to take 6.22 seconds. 4574 21:48:01 RunnersRegistrationTokenReset 4575 21:48:01 applied to project 4576 21:48:02 does not reset runner registration token 4577 21:48:02 when unauthorized 4578 21:48:02 when not a project member 4579 21:48:02 behaves like unauthorized 4580 21:48:02 returns an error 4581 21:48:02 with a non-admin project member 4582 21:48:02 behaves like unauthorized 4583 21:48:02 returns an error 4584 21:48:02 when malformed id is provided 4585 21:48:03 returns errors 4586 21:48:03 when runner registration is allowed 4587 21:48:03 resets runner registration token 4588 21:48:03 applied to group 4589 21:48:04 does not reset runner registration token 4590 21:48:04 when unauthorized 4591 21:48:04 when not a group member 4592 21:48:04 behaves like unauthorized 4593 21:48:04 returns an error 4594 21:48:04 with a non-admin group member 4595 21:48:04 behaves like unauthorized 4596 21:48:04 returns an error 4597 21:48:04 when malformed id is provided 4598 21:48:04 returns errors 4599 21:48:04 when runner registration is allowed 4600 21:48:05 resets runner registration token 4601 21:48:05 applied to instance 4602 21:48:05 does not reset runner registration token 4603 21:48:05 when unauthorized 4604 21:48:05 behaves like unauthorized 4605 21:48:06 returns an error 4606 21:48:06 when malformed id is provided 4607 21:48:06 returns errors 4608 21:48:06 when runner registration is allowed 4609 21:48:07 resets runner registration token 4610 21:48:07 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/ci/runners_registration_token/reset_spec.rb. It took 5.28 seconds. Expected to take 6.22 seconds. 4611 21:48:07 # [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/ci/runner/create_spec.rb. Expected to take 5.85 seconds. 4613 21:48:07 when runnerType is PROJECT_TYPE 4614 21:48:07 behaves like when user does not have permissions 4615 21:48:07 returns an error 4616 21:48:07 when user has permissions 4617 21:48:07 when user is group owner 4618 21:48:07 behaves like when runner is created successfully 4619 21:48:08 is expected to start with "glrt-" 4620 21:48:08 behaves like when model is invalid returns error 4621 21:48:08 is expected to contain exactly "Tags list can not be empty when runner is not allowed to pick untagged jobs" and "Maximum timeout needs to be at least 10 minutes" 4622 21:48:08 when project_id is missing 4623 21:48:08 returns an error 4624 21:48:08 when project_id is malformed 4625 21:48:08 returns an error 4626 21:48:08 when project_id does not exist 4627 21:48:09 returns an error 4628 21:48:09 when user is admin in admin mode 4629 21:48:09 behaves like when runner is created successfully 4630 21:48:09 is expected to start with "glrt-" 4631 21:48:09 behaves like when model is invalid returns error 4632 21:48:09 is expected to contain exactly "Tags list can not be empty when runner is not allowed to pick untagged jobs" and "Maximum timeout needs to be at least 10 minutes" 4633 21:48:09 when runnerType is INSTANCE_TYPE 4634 21:48:09 behaves like when user does not have permissions 4635 21:48:09 returns an error 4636 21:48:09 when user has permissions 4637 21:48:09 behaves like when runner is created successfully 4638 21:48:10 is expected to start with "glrt-" 4639 21:48:10 behaves like when model is invalid returns error 4640 21:48:10 is expected to contain exactly "Tags list can not be empty when runner is not allowed to pick untagged jobs" and "Maximum timeout needs to be at least 10 minutes" 4641 21:48:10 when runnerType is GROUP_TYPE 4642 21:48:10 behaves like when user does not have permissions 4643 21:48:10 returns an error 4644 21:48:10 when user has permissions 4645 21:48:10 when user is group owner 4646 21:48:10 behaves like when runner is created successfully 4647 21:48:10 is expected to start with "glrt-" 4648 21:48:10 behaves like when model is invalid returns error 4649 21:48:10 is expected to contain exactly "Tags list can not be empty when runner is not allowed to pick untagged jobs" and "Maximum timeout needs to be at least 10 minutes" 4650 21:48:10 when group_id is missing 4651 21:48:11 returns an error 4652 21:48:11 when group_id is malformed 4653 21:48:11 returns an error 4654 21:48:11 when group_id does not exist 4655 21:48:11 returns an error 4656 21:48:11 when user is admin in admin mode 4657 21:48:11 behaves like when runner is created successfully 4658 21:48:11 is expected to start with "glrt-" 4659 21:48:11 behaves like when model is invalid returns error 4660 21:48:11 is expected to contain exactly "Tags list can not be empty when runner is not allowed to pick untagged jobs" and "Maximum timeout needs to be at least 10 minutes" 4661 21:48:11 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/ci/runner/create_spec.rb. It took 4.81 seconds. Expected to take 5.85 seconds. 4662 21:48:11 # [RSpecRunTime] Starting example group spec/requests/api/graphql/project/issue_spec.rb. Expected to take 5.23 seconds. 4663 21:48:11 Query.project(fullPath).issue(iid) 4664 21:48:12 .designCollection 4666 21:48:12 behaves like being able to fetch a design-like object by ID 4667 21:48:12 the ID is passed 4668 21:48:12 retrieves the object 4669 21:48:12 the user is unauthorized 4670 21:48:12 behaves like a failure to find anything 4671 21:48:13 finds nothing 4672 21:48:13 # [RSpecRunTime] RSpec elapsed time: 19 minutes 53.37 seconds. Current RSS: ~1416M. Threads: 5. load average: 1.15 1.22 1.09 1/282 11439 4674 21:48:13 without parameters 4675 21:48:13 raises an error 4676 21:48:13 attempting to retrieve an object from a different issue 4677 21:48:13 behaves like a failure to find anything 4678 21:48:13 finds nothing 4679 21:48:13 behaves like being able to fetch a design-like object by ID 4680 21:48:13 the ID is passed 4681 21:48:14 retrieves the object 4682 21:48:14 the user is unauthorized 4683 21:48:14 behaves like a failure to find anything 4684 21:48:14 finds nothing 4685 21:48:14 without parameters 4686 21:48:14 raises an error 4687 21:48:14 attempting to retrieve an object from a different issue 4688 21:48:14 behaves like a failure to find anything 4689 21:48:14 finds nothing 4691 21:48:14 no parameters 4692 21:48:15 raises an error 4693 21:48:15 (sha: STRING_TYPE) 4694 21:48:15 behaves like a successful query for a version 4695 21:48:15 finds the version 4696 21:48:15 (id: ID_TYPE) 4697 21:48:15 behaves like a successful query for a version 4698 21:48:15 finds the version 4699 21:48:15 .designAtVersion 4700 21:48:15 behaves like being able to fetch a design-like object by ID 4701 21:48:15 the ID is passed 4702 21:48:16 DEPRECATION WARNING: using BatchLoader.for in GraphQL is deprecated. Use BatchLoader::GraphQL.for instead or return BatchLoader::GraphQL.wrap from your resolver. 4703 21:48:16 retrieves the object 4704 21:48:16 the user is unauthorized 4705 21:48:16 behaves like a failure to find anything 4706 21:48:16 finds nothing 4707 21:48:16 without parameters 4708 21:48:16 raises an error 4709 21:48:16 attempting to retrieve an object from a different issue 4710 21:48:16 behaves like a failure to find anything 4711 21:48:16 finds nothing 4712 21:48:16 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/project/issue_spec.rb. It took 4.91 seconds. Expected to take 5.23 seconds. 4713 21:48:16 # [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/container_registry/protection/rule/update_spec.rb. Expected to take 4.91 seconds. 4714 21:48:16 Updating the container registry protection rule 4715 21:48:17 with other existing container registry protection rule with same repository_path_pattern 4716 21:48:17 is expected to eq [] 4717 21:48:17 returns a blank container registry protection rule 4718 21:48:17 includes error message in response 4719 21:48:18 # [RSpecRunTime] RSpec elapsed time: 19 minutes 58.27 seconds. Current RSS: ~1415M. Threads: 5. load average: 1.14 1.22 1.09 1/282 11440 4721 21:48:18 behaves like a successful response 4722 21:48:18 is expected to eq [] 4723 21:48:18 returns the updated container registry protection rule 4724 21:48:18 is expected to have attributes {:minimum_access_level_for_push => "maintainer", :repository_path_pattern => "namespace164/project-403-updated"} 4725 21:48:18 with invalid input param `minimumAccessLevelForPush` 4726 21:48:18 is expected to include (a string matching /invalid value for minimumAccessLevelForPush/) 4727 21:48:19 is expected not to change `container_registry_protection_rule.reload.updated_at` 4728 21:48:19 when feature flag ':container_registry_protected_containers' disabled 4729 21:48:19 returns error of disabled feature flag 4730 21:48:19 behaves like an erroneous response 4731 21:48:19 is expected to be blank 4732 21:48:19 is expected not to change `container_registry_protection_rule.reload.updated_at` 4733 21:48:19 with blank input fields `minimumAccessLevelForPush` and `minimumAccessLevelForDelete` 4734 21:48:19 returns error with correct error message 4735 21:48:19 when current_user does not have permission 4736 21:48:20 current_user: developer 4737 21:48:20 is expected to include (a string matching /you don't have permission to perform this action/) 4738 21:48:20 current_user: reporter 4739 21:48:20 is expected to include (a string matching /you don't have permission to perform this action/) 4740 21:48:20 current_user: guest 4741 21:48:21 is expected to include (a string matching /you don't have permission to perform this action/) 4742 21:48:21 current_user: anonymous 4743 21:48:21 is expected to include (a string matching /you don't have permission to perform this action/) 4744 21:48:21 with invalid input param `repositoryPathPattern` 4745 21:48:21 returns error with correct error message 4746 21:48:21 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/container_registry/protection/rule/update_spec.rb. It took 4.61 seconds. Expected to take 4.91 seconds. 4747 21:48:21 # [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/work_items/bulk_update_spec.rb. Expected to take 4.48 seconds. 4748 21:48:21 Bulk update work items 4749 21:48:22 when update service returns an error 4750 21:48:22 returns an error message 4751 21:48:22 # [RSpecRunTime] RSpec elapsed time: 20 minutes 2.95 seconds. Current RSS: ~1413M. Threads: 5. load average: 1.04 1.20 1.08 1/282 11441 4753 21:48:22 when the `bulk_update_work_items_mutation` feature flag is disabled 4754 21:48:22 returns a resource not available error 4755 21:48:22 when trying to update more than the max allowed 4756 21:48:23 restricts updating more than 100 work items at the same time 4757 21:48:23 when user can update all work items 4758 21:48:24 updates all work items 4759 21:48:24 when current user cannot read the specified project 4760 21:48:24 returns a resource not found error 4761 21:48:24 # [RSpecRunTime] RSpec elapsed time: 20 minutes 4.57 seconds. Current RSS: ~1407M. Threads: 5. load average: 1.04 1.20 1.08 1/282 11442 4763 21:48:24 when user can not update all work_items 4764 21:48:25 updates only work items that the user can update 4765 21:48:25 # [RSpecRunTime] RSpec elapsed time: 20 minutes 5.65 seconds. Current RSS: ~1412M. Threads: 5. load average: 1.04 1.20 1.08 1/282 11443 4767 21:48:25 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/work_items/bulk_update_spec.rb. It took 4.02 seconds. Expected to take 4.48 seconds. 4768 21:48:25 # [RSpecRunTime] Starting example group spec/controllers/user_settings/personal_access_tokens_controller_spec.rb. Expected to take 4.3 seconds. 4769 21:48:25 UserSettings::PersonalAccessTokensController 4771 21:48:25 only includes details of active personal access tokens 4772 21:48:25 builds a PAT with name and scopes from params 4773 21:48:26 returns 404 when personal access tokens are disabled 4774 21:48:26 returns tokens for json format 4775 21:48:26 returns an iCalendar after redirect for ics format 4776 21:48:27 sets available scopes 4777 21:48:27 # [RSpecRunTime] RSpec elapsed time: 20 minutes 7.42 seconds. Current RSS: ~1413M. Threads: 5. load average: 1.04 1.20 1.08 1/282 11444 4780 21:48:27 allows creation of a token with scopes 4781 21:48:27 does not allow creation of a token with workflow scope 4782 21:48:27 allows creation of a token with an expiry date 4783 21:48:28 does not allow creation when personal access tokens are disabled 4784 21:48:28 behaves like #create access token 4785 21:48:28 when POST is successful 4786 21:48:28 renders JSON with a new token 4787 21:48:28 # [RSpecRunTime] RSpec elapsed time: 20 minutes 8.66 seconds. Current RSS: ~1411M. Threads: 5. load average: 1.04 1.20 1.08 1/282 11445 4789 21:48:28 when POST is unsuccessful 4790 21:48:28 renders JSON with an error 4791 21:48:28 GET /-/user_settings/personal_access_tokens 4792 21:48:28 behaves like GET access tokens are paginated and ordered 4793 21:48:28 when multiple access tokens are returned 4794 21:48:28 returns paginated response 4795 21:48:28 when active tokens returned are ordered 4796 21:48:29 orders token list ascending on expires_at 4797 21:48:29 orders tokens on id in case token has same expires_at 4798 21:48:29 # [RSpecRunTime] Finishing example group spec/controllers/user_settings/personal_access_tokens_controller_spec.rb. It took 4.07 seconds. Expected to take 4.3 seconds. 4799 21:48:29 # [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/ci/pipeline/cancel_spec.rb. Expected to take 4.04 seconds. 4800 21:48:29 PipelineCancel 4801 21:48:30 returns a error if the pipline cannot be be canceled 4802 21:48:30 does not cancel any pipelines not owned by the current user 4803 21:48:30 when running build 4804 21:48:30 when supports canceling is true 4805 21:48:31 transitions all running jobs to canceling 4806 21:48:31 # [RSpecRunTime] RSpec elapsed time: 20 minutes 11.83 seconds. Current RSS: ~1409M. Threads: 5. load average: 1.12 1.21 1.09 1/282 11446 4808 21:48:31 when supports canceling is false 4809 21:48:32 cancels all running jobs to canceled 4810 21:48:32 # [RSpecRunTime] RSpec elapsed time: 20 minutes 12.99 seconds. Current RSS: ~1409M. Threads: 5. load average: 1.12 1.21 1.09 1/282 11447 4812 21:48:32 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/ci/pipeline/cancel_spec.rb. It took 3.28 seconds. Expected to take 4.04 seconds. 4813 21:48:32 # [RSpecRunTime] Starting example group spec/requests/api/internal/pages_spec.rb. Expected to take 3.65 seconds. 4814 21:48:32 API::Internal::Pages 4815 21:48:33 GET /internal/pages/status 4816 21:48:33 responds with 401 Unauthorized 4817 21:48:33 responds with 204 no content 4818 21:48:33 GET /internal/pages 4819 21:48:33 when not authenticated 4820 21:48:33 responds with 401 Unauthorized 4821 21:48:33 when authenticated 4822 21:48:33 when domain does not exist 4823 21:48:33 responds with 204 no content 4824 21:48:33 when querying a custom domain 4825 21:48:33 when there are no pages deployed for the related project 4826 21:48:33 responds with 204 No Content 4827 21:48:33 when there are pages deployed for the related project 4828 21:48:33 domain lookup is case insensitive 4829 21:48:33 responds with the correct domain configuration 4830 21:48:33 when querying a unique domain 4831 21:48:33 when there are no pages deployed for the related project 4832 21:48:33 responds with 204 No Content 4833 21:48:33 when there are pages deployed for the related project 4834 21:48:33 domain lookup is case insensitive 4835 21:48:34 responds with the correct domain configuration 4836 21:48:34 when the unique domain is disabled 4837 21:48:34 when there are no pages deployed for the related project 4838 21:48:34 responds with 204 No Content 4839 21:48:34 when querying a namespaced domain 4840 21:48:34 when there are no pages deployed for the related project 4841 21:48:34 responds with 204 No Content 4842 21:48:34 when there are pages deployed for the related project 4843 21:48:35 avoids N+1 queries 4844 21:48:35 with a regular project 4845 21:48:35 responds with the correct domain configuration 4846 21:48:35 # [RSpecRunTime] RSpec elapsed time: 20 minutes 15.81 seconds. Current RSS: ~1402M. Threads: 5. load average: 1.12 1.21 1.09 1/282 11448 4848 21:48:35 with a group root project 4849 21:48:35 responds with the correct domain configuration 4850 21:48:35 # [RSpecRunTime] Finishing example group spec/requests/api/internal/pages_spec.rb. It took 3.07 seconds. Expected to take 3.65 seconds. 4851 21:48:35 # [RSpecRunTime] Starting example group spec/requests/api/graphql/ci/job_token_auth_logs_spec.rb. Expected to take 3.45 seconds. 4852 21:48:35 Fetching Job Token Auth Logs for project allowlist 4853 21:48:36 Get job token auth logs 4854 21:48:36 with access to scope 4855 21:48:36 when no logs on project 4856 21:48:36 returns an empty logs list 4857 21:48:36 behaves like a working graphql query 4858 21:48:37 returns a successful response 4859 21:48:37 # [RSpecRunTime] RSpec elapsed time: 20 minutes 17.49 seconds. Current RSS: ~1404M. Threads: 5. load average: 1.11 1.20 1.09 1/282 11449 4861 21:48:37 when accessed projects are in the logs 4862 21:48:38 gets authorized projects 4863 21:48:38 # [RSpecRunTime] RSpec elapsed time: 20 minutes 18.93 seconds. Current RSS: ~1408M. Threads: 5. load average: 1.11 1.20 1.09 1/282 11450 4865 21:48:38 without access to scope 4866 21:48:38 returns an empty result 4867 21:48:38 behaves like a working graphql query 4868 21:48:39 returns a successful response 4869 21:48:39 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/ci/job_token_auth_logs_spec.rb. It took 3.37 seconds. Expected to take 3.45 seconds. 4870 21:48:39 # [RSpecRunTime] Starting example group spec/requests/explore/catalog_controller_spec.rb. Expected to take 3.22 seconds. 4871 21:48:39 Explore::CatalogController 4873 21:48:39 with an authenticated user 4874 21:48:39 behaves like basic get requests 4875 21:48:40 responds with 200 4876 21:48:40 behaves like internal event tracking 4877 21:48:40 logs to Snowplow, Redis, and product analytics tooling 4878 21:48:40 with an anonymous user 4879 21:48:40 does not track the event 4880 21:48:40 behaves like basic get requests 4881 21:48:40 responds with 200 4883 21:48:40 behaves like basic get requests 4884 21:48:40 responds with 200 4885 21:48:40 when rendering an unpublished catalog resource 4886 21:48:41 returns not found error 4887 21:48:41 when rendering a published catalog resource 4888 21:48:41 returns success response 4889 21:48:41 # [RSpecRunTime] Finishing example group spec/requests/explore/catalog_controller_spec.rb. It took 2.43 seconds. Expected to take 3.22 seconds. 4890 21:48:41 # [RSpecRunTime] Starting example group spec/controllers/groups/boards_controller_spec.rb. Expected to take 3.09 seconds. 4891 21:48:41 Groups::BoardsController 4893 21:48:42 creates a new board when group does not have one 4894 21:48:42 when format is HTML 4895 21:48:42 renders template 4896 21:48:42 with unauthorized user 4897 21:48:42 returns a not found 404 response 4898 21:48:42 when user is signed out 4899 21:48:42 renders template 4900 21:48:42 behaves like disabled when using an external authorization service 4901 21:48:42 works when the feature is not enabled 4902 21:48:42 renders a 404 with a message when the feature is enabled 4904 21:48:42 when format is HTML 4905 21:48:42 renders template 4906 21:48:42 with unauthorized user 4907 21:48:43 returns a not found 404 response 4908 21:48:43 when user is signed out 4909 21:48:43 does not save visit 4910 21:48:43 when board does not belong to group 4911 21:48:44 returns a not found 404 response 4912 21:48:44 behaves like disabled when using an external authorization service 4913 21:48:44 works when the feature is not enabled 4914 21:48:44 renders a 404 with a message when the feature is enabled 4915 21:48:44 # [RSpecRunTime] Finishing example group spec/controllers/groups/boards_controller_spec.rb. It took 2.64 seconds. Expected to take 3.09 seconds. 4916 21:48:44 # [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/ci/job_token_scope/remove_project_spec.rb. Expected to take 2.84 seconds. 4917 21:48:44 CiJobTokenScopeRemoveProject 4918 21:48:44 when unauthorized 4919 21:48:44 when not a maintainer 4920 21:48:45 has graphql errors 4921 21:48:45 # [RSpecRunTime] RSpec elapsed time: 20 minutes 25.74 seconds. Current RSS: ~1408M. Threads: 5. load average: 1.10 1.20 1.09 1/283 11459 4923 21:48:45 when authorized 4924 21:48:45 removes the target project from the job token outbound scope 4925 21:48:46 responds successfully 4926 21:48:46 when invalid target project is provided 4927 21:48:46 has mutation errors 4928 21:48:46 # [RSpecRunTime] RSpec elapsed time: 20 minutes 27.0 seconds. Current RSS: ~1411M. Threads: 5. load average: 1.09 1.20 1.09 1/283 11460 4930 21:48:46 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/ci/job_token_scope/remove_project_spec.rb. It took 2.5 seconds. Expected to take 2.84 seconds. 4931 21:48:46 # [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/ci/pipeline_schedule/create_spec.rb. Expected to take 2.74 seconds. 4932 21:48:46 PipelineSchedulecreate 4933 21:48:47 when authorized 4934 21:48:47 when success 4935 21:48:48 is expected to eq [] 4936 21:48:48 # [RSpecRunTime] RSpec elapsed time: 20 minutes 28.46 seconds. Current RSS: ~1420M. Threads: 5. load average: 1.09 1.20 1.09 1/283 11485 4938 21:48:48 when failure 4939 21:48:48 when params are invalid 4940 21:48:48 is expected to contain exactly "Cron syntax is invalid" and "Cron timezone syntax is invalid" 4941 21:48:48 when ref is short 4942 21:48:48 returns ref is ambiguous 4943 21:48:48 when variables have duplicate name 4944 21:48:49 returns error 4945 21:48:49 when unauthorized 4946 21:48:49 behaves like a mutation on an unauthorized resource 4947 21:48:49 behaves like a mutation that returns top-level errors 4948 21:48:49 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" 4949 21:48:49 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/ci/pipeline_schedule/create_spec.rb. It took 2.48 seconds. Expected to take 2.74 seconds. 4950 21:48:49 # [RSpecRunTime] Starting example group spec/requests/api/graphql/project/branch_rules/branch_protection_spec.rb. Expected to take 2.5 seconds. 4951 21:48:49 getting branch protection for a branch rule 4952 21:48:49 when the user does have read_protected_branch abilities 4953 21:48:50 includes allow_force_push 4954 21:48:50 behaves like a working graphql query 4955 21:48:50 returns a successful response 4956 21:48:50 # [RSpecRunTime] RSpec elapsed time: 20 minutes 31.03 seconds. Current RSS: ~1422M. Threads: 5. load average: 1.09 1.20 1.09 1/284 11486 4958 21:48:50 when the user does not have read_protected_branch abilities 4959 21:48:51 is expected not to be present 4960 21:48:51 behaves like a working graphql query 4961 21:48:51 returns a successful response 4962 21:48:51 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/project/branch_rules/branch_protection_spec.rb. It took 2.39 seconds. Expected to take 2.5 seconds. 4963 21:48:51 # [RSpecRunTime] Starting example group spec/requests/admin/impersonation_tokens_controller_spec.rb. Expected to take 2.36 seconds. 4964 21:48:51 Admin::ImpersonationTokensController 4965 21:48:51 when impersonation is enabled 4966 21:48:52 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but VersionCheck is a Class. 4968 21:48:52 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4970 21:48:52 when impersonation is disabled 4971 21:48:52 shows error page for index page 4972 21:48:53 responds with 404 for create action 4973 21:48:53 responds with 404 for revoke action 4975 21:48:53 behaves like #create access token 4976 21:48:53 when POST is successful 4977 21:48:53 renders JSON with a new token 4978 21:48:53 when POST is unsuccessful 4979 21:48:53 renders JSON with an error 4980 21:48:53 # [RSpecRunTime] Finishing example group spec/requests/admin/impersonation_tokens_controller_spec.rb. It took 2.22 seconds. Expected to take 2.36 seconds. 4981 21:48:53 # [RSpecRunTime] Starting example group spec/requests/api/graphql/project/alert_management/alert/assignees_spec.rb. Expected to take 2.21 seconds. 4982 21:48:53 getting Alert Management Alert Assignees 4983 21:48:54 returns the correct assignees 4984 21:48:54 applies appropriate filters for non-visible users 4986 21:48:55 can limit results 4987 21:48:55 can include all results 4988 21:48:55 avoids N+1 queries 4989 21:48:55 # [RSpecRunTime] RSpec elapsed time: 20 minutes 35.97 seconds. Current RSS: ~1413M. Threads: 5. load average: 1.08 1.19 1.09 1/283 11487 4991 21:48:55 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/project/alert_management/alert/assignees_spec.rb. It took 1.88 seconds. Expected to take 2.21 seconds. 4992 21:48:55 # [RSpecRunTime] Starting example group spec/controllers/concerns/send_file_upload_spec.rb. Expected to take 1.94 seconds. 4993 21:48:55 SendFileUpload 4994 21:48:55 #send_upload 4995 21:48:55 when local file is used 4996 21:48:55 sends a file 4997 21:48:55 behaves like handles image resize requests 4998 21:48:55 with valid width parameter 4999 21:48:55 renders OK with workhorse command header 5000 21:48:55 with missing width parameter 5001 21:48:55 does not write workhorse command header 5002 21:48:55 with invalid width parameter 5003 21:48:55 does not write workhorse command header 5004 21:48:55 with width that is not allowed 5005 21:48:55 does not write workhorse command header 5006 21:48:55 when image file is not an avatar 5007 21:48:56 does not write workhorse command header 5008 21:48:56 when image file type is not considered safe for scaling 5009 21:48:56 does not write workhorse command header 5010 21:48:56 behaves like handles image resize requests 5011 21:48:56 with valid width parameter 5012 21:48:56 renders OK with workhorse command header 5013 21:48:56 with missing width parameter 5014 21:48:56 does not write workhorse command header 5015 21:48:56 with invalid width parameter 5016 21:48:56 does not write workhorse command header 5017 21:48:56 with width that is not allowed 5018 21:48:56 does not write workhorse command header 5019 21:48:56 when image file is not an avatar 5020 21:48:56 does not write workhorse command header 5021 21:48:56 when image file type is not considered safe for scaling 5022 21:48:56 does not write workhorse command header 5023 21:48:56 with inline image 5024 21:48:56 sends a file with inline disposition 5025 21:48:56 with attachment 5026 21:48:56 sends a file with content-type of text/plain 5027 21:48:56 with a proxied file in object storage 5028 21:48:56 sends a file with a custom type 5029 21:48:56 when remote file is used 5030 21:48:56 and proxying is enabled 5031 21:48:56 behaves like proxied file 5032 21:48:56 sends a file 5033 21:48:56 and proxying is disabled 5034 21:48:56 sends a file 5035 21:48:56 with proxy requested 5036 21:48:56 behaves like proxied file 5037 21:48:56 sends a file 5038 21:48:56 behaves like handles image resize requests 5039 21:48:56 with valid width parameter 5040 21:48:56 renders OK with workhorse command header 5041 21:48:56 with missing width parameter 5042 21:48:56 does not write workhorse command header 5043 21:48:56 with invalid width parameter 5044 21:48:56 does not write workhorse command header 5045 21:48:56 with width that is not allowed 5046 21:48:56 does not write workhorse command header 5047 21:48:56 when image file is not an avatar 5048 21:48:56 does not write workhorse command header 5049 21:48:56 when image file type is not considered safe for scaling 5050 21:48:56 does not write workhorse command header 5051 21:48:56 behaves like handles image resize requests 5052 21:48:56 with valid width parameter 5053 21:48:56 renders OK with workhorse command header 5054 21:48:56 with missing width parameter 5055 21:48:57 does not write workhorse command header 5056 21:48:57 with invalid width parameter 5057 21:48:57 does not write workhorse command header 5058 21:48:57 with width that is not allowed 5059 21:48:57 does not write workhorse command header 5060 21:48:57 when image file is not an avatar 5061 21:48:57 does not write workhorse command header 5062 21:48:57 when image file type is not considered safe for scaling 5063 21:48:57 does not write workhorse command header 5064 21:48:57 when CDN-enabled remote file is used 5065 21:48:57 sends a file when CDN URL 5066 21:48:57 # [RSpecRunTime] Finishing example group spec/controllers/concerns/send_file_upload_spec.rb. It took 1.55 seconds. Expected to take 1.94 seconds. 5067 21:48:57 # [RSpecRunTime] Starting example group spec/requests/api/graphql/project/error_tracking/sentry_detailed_error_request_spec.rb. Expected to take 1.92 seconds. 5068 21:48:57 getting a detailed sentry error 5069 21:48:58 behaves like a working graphql query 5070 21:48:58 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but ErrorTracking::ProjectErrorTrackingSetting(project_id: integer, enabled: boolean, api_url: string, encrypted_token: string, encrypted_token_iv: string, project_name: string, organization_name: string, integrated: boolean, sentry_project_id: integer, token: ) is a Class. 5072 21:48:58 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 5073 21:48:58 returns a successful response 5074 21:48:58 # [RSpecRunTime] RSpec elapsed time: 20 minutes 38.6 seconds. Current RSS: ~1424M. Threads: 5. load average: 1.08 1.19 1.09 1/283 11506 5076 21:48:58 when data is loading via reactive cache 5077 21:48:58 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but ErrorTracking::ProjectErrorTrackingSetting(project_id: integer, enabled: boolean, api_url: string, encrypted_token: string, encrypted_token_iv: string, project_name: string, organization_name: string, integrated: boolean, sentry_project_id: integer, token: ) is a Class. 5079 21:48:58 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 5080 21:48:58 is expected to return an empty error 5081 21:48:58 reactive cache returns data 5082 21:48:58 is expected to return a valid error 5083 21:48:59 is expected to return the frequency correctly 5084 21:48:59 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/project/error_tracking/sentry_detailed_error_request_spec.rb. It took 1.81 seconds. Expected to take 1.92 seconds. 5085 21:48:59 # [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/organizations/update_spec.rb. Expected to take 1.68 seconds. 5086 21:48:59 Mutations::Organizations::Update 5087 21:48:59 is expected to require graphql authorizations :admin_organization 5088 21:48:59 when the user does not have permission 5089 21:48:59 does not update the organization 5090 21:48:59 behaves like a mutation that returns a top-level access error 5091 21:48:59 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" 5092 21:48:59 when the user has permission 5093 21:48:59 returns the updated organization 5094 21:48:59 when the params are invalid 5095 21:48:59 returns the validation error 5096 21:48:59 when single attribute is update 5097 21:48:59 attribute: "name" 5098 21:48:59 updates the given field 5099 21:48:59 attribute: "path" 5100 21:49:00 updates the given field 5101 21:49:00 attribute: "description" 5102 21:49:00 updates the given field 5103 21:49:00 with a new avatar 5104 21:49:00 returns the updated organization 5105 21:49:00 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/organizations/update_spec.rb. It took 1.43 seconds. Expected to take 1.68 seconds. 5106 21:49:00 # [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/import/source_users/reassign_spec.rb. Expected to take 1.64 seconds. 5107 21:49:00 Reassign an import source user 5108 21:49:00 when feature flag `importer_user_mapping`` disabled 5109 21:49:01 returns a resource not available error 5110 21:49:01 when user is not authorized 5111 21:49:01 behaves like a mutation that returns a top-level access error 5112 21:49:01 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" 5113 21:49:01 when user is authorized 5114 21:49:01 reassign import source user 5115 21:49:01 when the reassign fails 5116 21:49:02 returns the reason and does not change import source user status 5117 21:49:02 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/import/source_users/reassign_spec.rb. It took 1.77 seconds. Expected to take 1.64 seconds. 5118 21:49:02 # [RSpecRunTime] Starting example group spec/requests/api/graphql/ci/runner_web_url_edge_spec.rb. Expected to take 1.41 seconds. 5119 21:49:02 RunnerWebUrlEdge 5120 21:49:02 inside a Query.group 5121 21:49:02 with an authorized user 5122 21:49:02 returns correct URLs 5123 21:49:02 behaves like a working graphql query 5124 21:49:02 returns a successful response 5125 21:49:02 with an unauthorized user 5126 21:49:03 returns nil runners and an error 5127 21:49:03 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/ci/runner_web_url_edge_spec.rb. It took 0.94 second. Expected to take 1.41 seconds. 5128 21:49:03 # [RSpecRunTime] Starting example group spec/requests/groups/infrastructure_registry_controller_spec.rb. Expected to take 1.39 seconds. 5129 21:49:03 Groups::InfrastructureRegistryController 5131 21:49:03 when user is not signed in 5132 21:49:03 is expected to redirect to "/users/sign_in" 5133 21:49:03 when user is signed in 5134 21:49:03 when user is not a group member 5135 21:49:03 behaves like returning response status 5136 21:49:03 returns not_found 5137 21:49:03 when user is group maintainer 5138 21:49:03 behaves like returning response status 5140 21:49:04 when the packages registry is not available 5141 21:49:04 behaves like returning response status 5142 21:49:04 returns not_found 5143 21:49:04 # [RSpecRunTime] Finishing example group spec/requests/groups/infrastructure_registry_controller_spec.rb. It took 1.29 seconds. Expected to take 1.39 seconds. 5144 21:49:04 # [RSpecRunTime] Starting example group spec/requests/api/graphql/mutations/alert_management/prometheus_integration/update_spec.rb. Expected to take 1.26 seconds. 5145 21:49:04 Updating an existing Prometheus Integration 5146 21:49:05 updates the integration 5147 21:49:05 # [RSpecRunTime] Finishing example group spec/requests/api/graphql/mutations/alert_management/prometheus_integration/update_spec.rb. It took 1.04 seconds. Expected to take 1.26 seconds. 5148 21:49:05 # [RSpecRunTime] RSpec elapsed time: 20 minutes 45.87 seconds. Current RSS: ~1417M. Threads: 5. load average: 1.15 1.20 1.09 1/283 11507 5150 21:49:05 # [RSpecRunTime] Starting example group spec/controllers/groups/dependency_proxy_auth_controller_spec.rb. Expected to take 1.09 seconds. 5151 21:49:05 Groups::DependencyProxyAuthController 5152 21:49:05 GET #authenticate 5154 21:49:05 returns unauthorized with oauth realm 5156 21:49:05 with valid JWT 5158 21:49:05 is expected to respond with numeric status code success 5159 21:49:05 group bot user 5160 21:49:06 is expected to respond with numeric status code success 5161 21:49:06 service account user 5162 21:49:06 is expected to respond with numeric status code success 5163 21:49:06 deploy token 5164 21:49:06 is expected to respond with numeric status code success 5165 21:49:06 with invalid JWT 5167 21:49:06 is expected to respond with numeric status code unauthorized 5168 21:49:06 token with no user id 5169 21:49:06 is expected to respond with numeric status code unauthorized 5170 21:49:06 expired token 5171 21:49:06 is expected to respond with numeric status code unauthorized 5172 21:49:06 group bot user from an expired token 5173 21:49:06 is expected to respond with numeric status code unauthorized 5174 21:49:06 service account user from an expired token 5175 21:49:06 is expected to respond with numeric status code unauthorized 5176 21:49:06 expired deploy token 5177 21:49:06 is expected to respond with numeric status code unauthorized 5178 21:49:06 revoked deploy token 5179 21:49:06 is expected to respond with numeric status code unauthorized 5180 21:49:06 # [RSpecRunTime] Finishing example group spec/controllers/groups/dependency_proxy_auth_controller_spec.rb. It took 1.06 seconds. Expected to take 1.09 seconds. 5181 21:49:06 # [RSpecRunTime] Starting example group spec/controllers/concerns/check_initial_setup_spec.rb. Expected to take 1.03 seconds. 5182 21:49:06 CheckInitialSetup 5183 21:49:06 when one admin user named root 5184 21:49:06 is in_initial_setup_state? 5185 21:49:06 when username is not root 5186 21:49:07 is in_initial_setup_state? 5187 21:49:07 when password reset flag is not set 5188 21:49:07 is not in_initial_setup_state? 5189 21:49:07 when multiple users exist 5190 21:49:07 is not in_initial_setup_state? 5191 21:49:07 when multiple admins exist 5192 21:49:07 is not in_initial_setup_state? 5193 21:49:07 when db is empty 5194 21:49:07 is not in_initial_setup_state? 5195 21:49:07 # [RSpecRunTime] Finishing example group spec/controllers/concerns/check_initial_setup_spec.rb. It took 0.93 second. Expected to take 1.03 seconds. 5196 21:49:07 # [RSpecRunTime] Starting example group spec/requests/import/github_groups_controller_spec.rb. Expected to take 0.76 second. 5197 21:49:07 Import::GithubGroupsController 5199 21:49:07 when OAuth config is missing 5200 21:49:07 returns missing config error 5201 21:49:07 when OAuth config present 5202 21:49:08 fetches organizations 5203 21:49:08 with pagination 5204 21:49:08 when no page is specified 5205 21:49:08 requests first page 5206 21:49:08 when page is specified 5207 21:49:08 responds with organizations with specified page 5208 21:49:08 # [RSpecRunTime] Finishing example group spec/requests/import/github_groups_controller_spec.rb. It took 0.65 second. Expected to take 0.76 second. 5209 21:49:08 # [RSpecRunTime] Starting example group spec/requests/api/users_preferences_spec.rb. Expected to take 0.73 second. 5211 21:49:08 PUT /user/preferences/ 5212 21:49:08 with correct attributes and a logged in user 5213 21:49:08 returns a success status and the value has been changed 5214 21:49:08 missing a preference 5215 21:49:08 returns a bad request status 5216 21:49:08 without a logged in user 5217 21:49:08 returns an unauthorized status 5218 21:49:08 with an unsupported preference 5219 21:49:08 returns a bad parameter 5220 21:49:08 with an unsupported value 5221 21:49:08 returns a bad parameter 5222 21:49:08 with an update service failure 5223 21:49:09 returns a bad request 5224 21:49:09 # [RSpecRunTime] Finishing example group spec/requests/api/users_preferences_spec.rb. It took 0.74 second. Expected to take 0.73 second. 5225 21:49:09 # [RSpecRunTime] Starting example group spec/controllers/admin/instance_review_controller_spec.rb. Expected to take 0.38 second. 5226 21:49:09 Admin::InstanceReviewController 5228 21:49:09 with usage ping enabled 5229 21:49:09 redirects to the customers app with correct params 5230 21:49:09 with usage ping disabled 5231 21:49:09 redirects to the customers app with correct params 5232 21:49:09 # [RSpecRunTime] Finishing example group spec/controllers/admin/instance_review_controller_spec.rb. It took 0.32 second. Expected to take 0.38 second. 5233 21:49:09 # [RSpecRunTime] Starting example group spec/requests/acme_challenges_controller_spec.rb. Expected to take 0.32 second. 5234 21:49:09 AcmeChallengesController 5235 21:49:09 behaves like Base action controller 5236 21:49:09 security headers 5237 21:49:09 Cross-Security-Policy 5238 21:49:09 when configuring snowplow 5239 21:49:09 when snowplow is enabled 5240 21:49:09 adds snowplow to the csp 5241 21:49:09 when snowplow is enabled but host is not configured 5242 21:49:09 behaves like snowplow is not in the CSP 5243 21:49:09 does not add the snowplow collector hostname to the CSP 5244 21:49:09 when snowplow is disabled 5245 21:49:09 behaves like snowplow is not in the CSP 5246 21:49:09 does not add the snowplow collector hostname to the CSP 5247 21:49:09 when configuring vite 5248 21:49:09 when vite enabled during development 5250 21:49:09 when vite disabled 5251 21:49:09 doesn't add vite csp 5252 21:49:09 # [RSpecRunTime] Finishing example group spec/requests/acme_challenges_controller_spec.rb. It took 0.2 second. Expected to take 0.32 second. 5253 21:49:09 # [RSpecRunTime] Starting example group spec/requests/api/api_guard/admin_mode_middleware_spec.rb. Expected to take 0.19 second. 5254 21:49:09 API::APIGuard::AdminModeMiddleware 5256 21:49:09 when there is an exception in the api call 5257 21:49:09 resets admin mode 5258 21:49:09 # [RSpecRunTime] Finishing example group spec/requests/api/api_guard/admin_mode_middleware_spec.rb. It took 0.16 second. Expected to take 0.19 second. 5259 21:49:09 # [RSpecRunTime] Starting example group spec/controllers/oauth/device_codes_controller_spec.rb. Expected to take 0.1 second. 5260 21:49:09 Oauth::DeviceCodesController 5261 21:49:09 POST #create 5262 21:49:09 when the feature is enabled 5263 21:49:09 calls the superclass create method 5264 21:49:09 when the feature is disabled 5265 21:49:09 returns :not_found 5266 21:49:09 # [RSpecRunTime] Finishing example group spec/controllers/oauth/device_codes_controller_spec.rb. It took 0.11 second. Expected to take 0.1 second. 5267 21:49:30 auto_explain log contains 1469 entries for main, writing to /builds/gitlab-org/gitlab/auto_explain/rspec-integration-pg14-single-db-ci-connection-6-20.344.main.ndjson.gz 5268 21:49:30 took 20.902209941 5269 21:49:49 auto_explain log contains 1470 entries for ci, writing to /builds/gitlab-org/gitlab/auto_explain/rspec-integration-pg14-single-db-ci-connection-6-20.344.ci.ndjson.gz 5270 21:49:49 took 18.424054687 5271 21:49:49 [TEST PROF INFO] EventProf results for sql.active_record 5272 21:49:49 Total time: 05:06.538 of 20:42.405 (24.67%) 5273 21:49:49 Total events: 199065 5274 21:49:49 Top 5 slowest suites (by time): 5275 21:49:49 API::Projects (./spec/requests/api/projects_spec.rb:49) – 02:16.436 (86816 / 589) of 08:21.017 (27.23%) 5276 21:49:49 getting an is... for a project (./spec/requests/api/graphql/project/issues_spec.rb:5) – 00:26.393 (14853 / 85) of 01:52.382 (23.49%) 5277 21:49:49 API::ProjectSnippets (./spec/requests/api/project_snippets_spec.rb:5) – 00:18.719 (12467 / 169) of 01:59.314 (15.69%) 5278 21:49:49 Groups::ClustersController (./spec/controllers/groups/clusters_controller_spec.rb:5) – 00:18.061 (10149 / 89) of 00:55.899 (32.31%) 5279 21:49:49 API::Invitations (./spec/requests/api/invitations_spec.rb:5) – 00:12.740 (8592 / 111) of 00:43.971 (28.97%) 5280 21:49:49 Knapsack report was generated. Preview: 5282 21:49:49 "spec/requests/api/projects_spec.rb": 501.0171270569999, 5283 21:49:49 "spec/requests/api/graphql/project/issues_spec.rb": 112.38238659900003, 5284 21:49:49 "spec/requests/api/project_snippets_spec.rb": 119.31462743899988, 5285 21:49:49 "spec/requests/api/snippets_spec.rb": 64.92788654900005, 5286 21:49:49 "spec/controllers/groups/clusters_controller_spec.rb": 55.89858380800001, 5287 21:49:49 "spec/requests/api/invitations_spec.rb": 43.9708669019999, 5288 21:49:49 "spec/requests/api/files_spec.rb": 36.491320561000066, 5289 21:49:49 "spec/requests/openid_connect_spec.rb": 30.001751638000087, 5290 21:49:49 "spec/requests/projects/merge_requests_controller_spec.rb": 28.787781950999943, 5291 21:49:49 "spec/requests/jira_routing_spec.rb": 24.680199592999998, 5292 21:49:49 "spec/controllers/projects/web_ide_terminals_controller_spec.rb": 22.641769744000158, 5293 21:49:49 "spec/requests/api/graphql/ci/runners_spec.rb": 18.38912042700008, 5294 21:49:49 "spec/controllers/dashboard/milestones_controller_spec.rb": 17.692405233000045, 5295 21:49:49 "spec/requests/api/graphql/project/merge_request/diff_notes_spec.rb": 15.529891224000039, 5296 21:49:49 "spec/requests/api/graphql/mutations/award_emojis/add_spec.rb": 13.888304068000025, 5297 21:49:49 "spec/requests/api/graphql/groups_query_spec.rb": 11.755745395000076, 5298 21:49:49 "spec/requests/api/submodules_spec.rb": 10.981868633999966, 5299 21:49:49 "spec/requests/api/graphql/mutations/snippets/destroy_spec.rb": 10.184214563000069, 5300 21:49:49 "spec/requests/api/doorkeeper_access_spec.rb": 9.838018459000068, 5301 21:49:49 "spec/requests/api/graphql/mutations/issues/create_spec.rb": 8.16137384700005, 5302 21:49:49 "spec/requests/api/graphql/project/environments_spec.rb": 6.565754796000192, 5303 21:49:49 "spec/controllers/projects/runners_controller_spec.rb": 5.616640154000152, 5304 21:49:49 "spec/requests/api/graphql/project/commit_references_spec.rb": 5.6545566939998935, 5305 21:49:49 "spec/requests/api/graphql/mutations/ci/runners_registration_token/reset_spec.rb": 5.277836419000096, 5306 21:49:49 "spec/requests/api/graphql/mutations/ci/runner/create_spec.rb": 4.809955242999877, 5307 21:49:49 "spec/requests/api/graphql/project/issue_spec.rb": 4.912083734000134, 5308 21:49:49 "spec/requests/api/graphql/mutations/container_registry/protection/rule/update_spec.rb": 4.606596540999817, 5309 21:49:49 "spec/requests/api/graphql/mutations/work_items/bulk_update_spec.rb": 4.021866111999998, 5310 21:49:49 "spec/controllers/user_settings/personal_access_tokens_controller_spec.rb": 4.067350944000054, 5311 21:49:49 "spec/requests/api/graphql/mutations/ci/pipeline/cancel_spec.rb": 3.2767799539999487, 5312 21:49:49 "spec/requests/api/internal/pages_spec.rb": 3.0706125600001997, 5313 21:49:49 "spec/requests/api/graphql/ci/job_token_auth_logs_spec.rb": 3.3669972139998663, 5314 21:49:49 "spec/requests/explore/catalog_controller_spec.rb": 2.42800185100009, 5315 21:49:49 "spec/controllers/groups/boards_controller_spec.rb": 2.6383983050000097, 5316 21:49:49 "spec/requests/api/graphql/mutations/ci/job_token_scope/remove_project_spec.rb": 2.5016591329999756, 5317 21:49:49 "spec/requests/api/graphql/mutations/ci/pipeline_schedule/create_spec.rb": 2.482835631999933, 5318 21:49:49 "spec/requests/api/graphql/project/branch_rules/branch_protection_spec.rb": 2.3871734519998427, 5319 21:49:49 "spec/requests/admin/impersonation_tokens_controller_spec.rb": 2.2216744089998883, 5320 21:49:49 "spec/requests/api/graphql/project/alert_management/alert/assignees_spec.rb": 1.8780653339999844, 5321 21:49:49 "spec/controllers/concerns/send_file_upload_spec.rb": 1.5494532550001168, 5322 21:49:49 "spec/requests/api/graphql/project/error_tracking/sentry_detailed_error_request_spec.rb": 1.8088672119999956, 5323 21:49:49 "spec/requests/api/graphql/mutations/organizations/update_spec.rb": 1.4344899039999746, 5324 21:49:49 "spec/requests/api/graphql/mutations/import/source_users/reassign_spec.rb": 1.7647755160000997, 5325 21:49:49 "spec/requests/api/graphql/ci/runner_web_url_edge_spec.rb": 0.9419762469999569, 5326 21:49:49 "spec/requests/groups/infrastructure_registry_controller_spec.rb": 1.2941623770000206, 5327 21:49:49 "spec/requests/api/graphql/mutations/alert_management/prometheus_integration/update_spec.rb": 1.0394235090000166, 5328 21:49:49 "spec/controllers/groups/dependency_proxy_auth_controller_spec.rb": 1.0602056080001603, 5329 21:49:49 "spec/controllers/concerns/check_initial_setup_spec.rb": 0.9315254079999704, 5330 21:49:49 "spec/requests/import/github_groups_controller_spec.rb": 0.6544504729999971, 5331 21:49:49 "spec/requests/api/users_preferences_spec.rb": 0.7385362949999035, 5332 21:49:49 "spec/controllers/admin/instance_review_controller_spec.rb": 0.31976826200002506, 5333 21:49:49 "spec/requests/acme_challenges_controller_spec.rb": 0.20099723199996333, 5334 21:49:49 "spec/requests/api/api_guard/admin_mode_middleware_spec.rb": 0.162625946000162, 5335 21:49:49 "spec/controllers/oauth/device_codes_controller_spec.rb": 0.11449925000010808 5337 21:49:49 Knapsack global time execution for tests: 20m 42s 5338 21:49:49 Pending: (Failures listed here are expected and do not affect your suite's status) 5339 21:49:49 1) AcmeChallengesController behaves like Base action controller security headers Cross-Security-Policy when configuring vite when vite enabled during development adds vite csp 5341 21:49:49 # ./spec/support/shared_examples/controllers/base_action_controller_shared_examples.rb:64 5342 21:49:49 Finished in 21 minutes 30 seconds (files took 1 minute 30.66 seconds to load) 5343 21:49:49 1951 examples, 0 failures, 1 pending 5344 21:49:49 Randomized with seed 25529 5345 21:49:57 [TEST PROF INFO] Time spent in factories: 07:32.296 (34.85% of total time) 5346 21:49:57 RSpec exited with 0. 5347 21:49:57 No examples to retry, congrats! 5349 21:49:58 Running after script... 5350 21:49:58 $ source scripts/utils.sh 5351 21:49:58 $ log_disk_usage 5352 21:49:58 ******************************************************* 5353 21:49:58 This runner currently has 78G free disk space. 5354 21:49:58 ******************************************************* 5411 21:49:59 $ bundle exec gem list gitlab_quality-test_tooling 5412 21:50:02 gitlab_quality-test_tooling (2.1.0) 5413 21:50:02 $ section_start "failed-test-issues" "Report test failures" # collapsed multi-line command 5416 21:50:02 $ section_start "flaky-test-issues" "Report test flakiness" # collapsed multi-line command 5419 21:50:02 $ section_start "slow-test-issues" "Report test slowness" # collapsed multi-line command 5422 21:50:02 $ section_start "slow-test-merge-request-report-note" "Report test slowness in MR note" # collapsed multi-line command 5426 21:50:05 $ section_start "knapsack-report-issues" "Report test files close to timing out" # collapsed multi-line command 5430 21:50:07 $ tooling/bin/push_job_metrics || true 5431 21:50:08 [job-metrics] Pushing job metrics file for the CI/CD job. 5432 21:50:08 [job-metrics] Pushed 4 CI job metric entries to InfluxDB. 5434 21:50:09 Not uploading cache ruby-gems-debian-bookworm-ruby-3.2.5-gemfile-Gemfile-20 due to policy 5436 21:50:10 Uploading artifacts... 5437 21:50:10 auto_explain/: found 3 matching artifact files and directories 5438 21:50:10 coverage/: found 5 matching artifact files and directories 5439 21:50:10 crystalball/: found 2 matching artifact files and directories 5440 21:50:10 WARNING: deprecations/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 5441 21:50:10 knapsack/: found 4 matching artifact files and directories 5442 21:50:10 rspec/: found 16 matching artifact files and directories 5443 21:50:10 WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 5444 21:50:10 log/*.log: found 15 matching artifact files and directories 5446 21:50:10 WARNING: Retrying... context =artifacts-uploader error =request redirected 5447 21:50:13 Uploading artifacts as "archive" to coordinator... 201 Created id =8368447063 responseStatus =201 Created token =glcbt-66 5448 21:50:13 Uploading artifacts... 5449 21:50:13 rspec/rspec-*.xml: found 1 matching artifact files and directories 5451 21:50:13 WARNING: Retrying... context =artifacts-uploader error =request redirected 5452 21:50:15 Uploading artifacts as "junit" to coordinator... 201 Created id =8368447063 responseStatus =201 Created token =glcbt-66 5454 21:50:23 Job succeeded