rspec system pg14-as-if-foss single-db 1/28
Passed Started
by
@vshushlin

Vladimir Shushlin
1Running with gitlab-runner 16.3.0~beta.108.g2b6048b4 (2b6048b4)2 on blue-4.private.runners-manager.gitlab.com/gitlab.com/gitlab-org tDjA3Sp3, system ID: s_96a8ae3d10503 feature flags: FF_NETWORK_PER_BUILD:true, FF_USE_FASTZIP:true, FF_USE_IMPROVED_URL_MASKING:true, FF_RESOLVE_FULL_TLS_CHAIN:false6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.20-rust-1.65-node-18.17-postgresql-14:rubygems-3.4-git-2.36-lfs-2.9-chrome-113-yarn-1.22-graphicsmagick-1.3.36 ...7Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-14-pgvector-0.4.1 ...8Authenticating with credentials from job payload (GitLab Registry)9Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-14-pgvector-0.4.1 ...10Using docker image sha256:6c7370fd46a94d5beaed2a0304c7518e74a5759d4da3322ea9f7052507f51d80 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:1b39aac95406782d786043ec3f1772c0a3a5ce1b9ce28cf001cac9a290f366c8 ...11WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 is already created. Ignoring.12WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 is already created. Ignoring.13Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 ...14Authenticating with credentials from job payload (GitLab Registry)15Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 ...16Using docker image sha256:f4c047edb00d9bbfcc2b002a01548fab14592940f5b3e6b3f227f690e3fa272d 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:9a1b6b68dc464f0baae914703d5b059e7773bf23c9579c44e2a1b1154a83656f ...17Starting service redis:6.2-alpine ...18Pulling docker image redis:6.2-alpine ...19Using docker image sha256:9b4dc93acb797b99419bb31d8a452680508f1bf10a8604d721c0474072417a2b for redis:6.2-alpine with digest redis@sha256:452b7655bda0e270a6376b71d22fcb30662e745dcb4728f99fa87f01287b465d ...20Waiting for services to be up and running (timeout 30 seconds)...21Authenticating with credentials from job payload (GitLab Registry)22Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.20-rust-1.65-node-18.17-postgresql-14:rubygems-3.4-git-2.36-lfs-2.9-chrome-113-yarn-1.22-graphicsmagick-1.3.36 ...23Using docker image sha256:d68252162deca904d1a0066983188b98dfe3f6fe8181458b0a55905e79ed85a1 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.20-rust-1.65-node-18.17-postgresql-14:rubygems-3.4-git-2.36-lfs-2.9-chrome-113-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.20-rust-1.65-node-18.17-postgresql-14@sha256:2113f34affc7e2ee40bac87419dcd7c65a94d4abfa9edb86192e1aa6a1e46590 ...25Running on runner-tdja3sp3-project-278964-concurrent-0 via runner-tdja3sp3-private-1697780888-0608b2c9...27Fetching changes with git depth set to 20...28Initialized empty Git repository in /builds/gitlab-org/gitlab/.git/29Created fresh repository.30remote: Enumerating objects: 148580, done. 31remote: Counting objects: 100% (148580/148580), done. 32remote: Compressing objects: 100% (104624/104624), done. 33remote: Total 148580 (delta 64637), reused 94927 (delta 38178), pack-reused 0 34Receiving objects: 100% (148580/148580), 135.67 MiB | 31.32 MiB/s, done.35Resolving deltas: 100% (64637/64637), done.37 * [new ref] refs/pipelines/1043537122 -> refs/pipelines/104353712238Checking out 537c07c6 as detached HEAD (ref is refs/merge-requests/118829/merge)...39Skipping Git submodules setup40$ git remote set-url origin "${CI_REPOSITORY_URL}"42Checking cache for ruby-gems-debian-bullseye-ruby-3.0-16...43Downloading cache from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/ruby-gems-debian-bullseye-ruby-3.0-16 44Successfully extracted cache46Downloading artifacts for compile-test-assets as-if-foss (5336650415)...47Downloading artifacts from coordinator... ok host=storage.googleapis.com id=5336650415 responseStatus=200 OK token=64_JpzDs48Downloading artifacts for detect-tests (5336650454)...49Downloading artifacts from coordinator... ok host=storage.googleapis.com id=5336650454 responseStatus=200 OK token=64_JpzDs50Downloading artifacts for retrieve-tests-metadata (5336650473)...51Downloading artifacts from coordinator... ok host=storage.googleapis.com id=5336650473 responseStatus=200 OK token=64_JpzDs52Downloading artifacts for setup-test-env (5336650424)...53Downloading artifacts from coordinator... ok host=storage.googleapis.com id=5336650424 responseStatus=200 OK token=64_JpzDs55Using docker image sha256:d68252162deca904d1a0066983188b98dfe3f6fe8181458b0a55905e79ed85a1 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.20-rust-1.65-node-18.17-postgresql-14:rubygems-3.4-git-2.36-lfs-2.9-chrome-113-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.20-rust-1.65-node-18.17-postgresql-14@sha256:2113f34affc7e2ee40bac87419dcd7c65a94d4abfa9edb86192e1aa6a1e46590 ...56$ echo $FOSS_ONLY57158$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb59$ export GOPATH=$CI_PROJECT_DIR/.go60$ mkdir -p $GOPATH61$ source scripts/utils.sh62$ source scripts/prepare_build.sh94Using two connections, single database config (config/database.yml.postgresql)95Disabling ci connection in config/database.yml96Geo DB won't be set up.97Embedding DB won't be set up.129$ source ./scripts/rspec_helpers.sh130$ run_timed_command "gem install knapsack --no-document"131$ gem install knapsack --no-document132Successfully installed knapsack-4.0.01331 gem installed134==> 'gem install knapsack --no-document' succeeded in 1 seconds.135$ section_start "gitaly-test-spawn" "Spawning Gitaly"; scripts/gitaly-test-spawn; section_end "gitaly-test-spawn"140$ export RSPEC_SKIPPED_TESTS_REPORT_PATH="rspec/skipped_tests-${CI_JOB_ID}.txt"141$ export RSPEC_RETRIED_TESTS_REPORT_PATH="rspec/retried_tests-${CI_JOB_ID}.txt"142$ tooling/bin/create_job_metrics_file || true143[job-metrics] Creating the job metrics file for the CI/CD job.144$ rspec_paralellized_job "--fail-fast=${RSPEC_FAIL_FAST_THRESHOLD} --tag ~quarantine --tag ~level:background_migration --tag ~click_house --tag ~real_ai_request"145RETRY_FAILED_TESTS_IN_NEW_PROCESS: true146KNAPSACK_GENERATE_REPORT: 147FLAKY_RSPEC_GENERATE_REPORT: 148KNAPSACK_TEST_FILE_PATTERN: spec/{features}{,/**/}*_spec.rb149KNAPSACK_LOG_LEVEL: debug150KNAPSACK_REPORT_PATH: knapsack/rspec_system_pg14-as-if-foss_single-db_1_28_report.json151FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json152FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec_system_pg14-as-if-foss_single-db_1_28_report.json153NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec_system_pg14-as-if-foss_single-db_1_28_report.json154RSPEC_SKIPPED_TESTS_REPORT_PATH: rspec/skipped_tests-5336651659.txt155CRYSTALBALL: 156RSPEC_TESTS_MAPPING_ENABLED: 157RSPEC_TESTS_FILTER_FILE: 158Shell set options (set -o) enabled:159braceexpand on160hashall on161interactive-comments on162pipefail on163 ██ ██ █████ ██████ ███ ██ ██ ███ ██ ██████ 164 ██ ██ ██ ██ ██ ██ ████ ██ ██ ████ ██ ██ 165 ██ █ ██ ███████ ██████ ██ ██ ██ ██ ██ ██ ██ ██ ███ 166 ██ ███ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ 167 ███ ███ ██ ██ ██ ██ ██ ████ ██ ██ ████ ██████ 168******************************************************************************169 Your database has a single connection, and single connections were170 deprecated in GitLab 15.9 https://docs.gitlab.com/ee/update/deprecations.html#single-database-connection-is-deprecated.171 Please add a :ci section to your database, following these instructions:173******************************************************************************174 ██ ██ █████ ██████ ███ ██ ██ ███ ██ ██████ 175 ██ ██ ██ ██ ██ ██ ████ ██ ██ ████ ██ ██ 176 ██ █ ██ ███████ ██████ ██ ██ ██ ██ ██ ██ ██ ██ ███ 177 ██ ███ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ 178 ███ ███ ██ ██ ██ ██ ██ ████ ██ ██ ████ ██████ 179******************************************************************************180 Your database has a single connection, and single connections were181 deprecated in GitLab 15.9 https://docs.gitlab.com/ee/update/deprecations.html#single-database-connection-is-deprecated.182 Please add a :ci section to your database, following these instructions:184******************************************************************************185INFO: analyzing "public.p_ci_runner_machine_builds" inheritance tree186INFO: analyzing "gitlab_partitions_dynamic.ci_runner_machine_builds_100"187INFO: "ci_runner_machine_builds_100": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows188INFO: analyzing "public.p_ci_job_annotations" inheritance tree189INFO: analyzing "gitlab_partitions_dynamic.ci_job_annotations_100"190INFO: "ci_job_annotations_100": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows191INFO: analyzing "public.p_ci_builds_metadata" inheritance tree192INFO: analyzing "public.ci_builds_metadata"193INFO: "ci_builds_metadata": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows194Run options: exclude {:quarantine=>true, :level=>"background_migration", :click_house=>true, :real_ai_request=>true}195Test environment set up in 0.41881593 seconds196Merge request > User posts diff notes197Starting the Capybara driver server...198 when hovering over a parallel view diff file199 with an old line on the left and no line on the right200Capybara starting Puma...201* Version 6.4.0 , codename: The Eagle of Durango202* Min threads: 0, max threads: 4203* Listening on unix:///tmp/20231020-328-kv4tq9204 allows commenting on the left side205 does not allow commenting on the right side206 with no line on the left and a new line on the right207 does not allow commenting on the left side208 allows commenting on the right side209 with an old line on the left and a new line on the right210 allows commenting on the right side211 with an unchanged line on the left and an unchanged line on the right212 allows commenting on the right side213 with a match line214 does not allow commenting215 with an unfolded line216 allows commenting on the left side217 allows commenting on the right side218 when hovering over an inline view diff file219 after deleteing a note220 allows commenting221 with a new line222 allows commenting223 with an old line224 allows commenting225 with an unchanged line226 allows commenting227 with a match line228 does not allow commenting229 with an unfolded line230 allows commenting231 when hovering over a diff discussion232 does not allow commenting233 when cancelling the comment addition234 with a new line235 allows dismissing a comment236 with multiple note forms237 posting a note238 adds as discussion239 when the MR only supports legacy diff notes240 with a new line241 allows commenting242 with an old line243 allows commenting244 with an unchanged line245 allows commenting246Merge request > User sees pipelines247 with feature flag `mr_pipelines_graphql turned off`248 pipeline tab249 with pipelines250 pipelines table displays correctly251 with a detached merge request pipeline252 displays the "Run pipeline" button253 with a merged results pipeline254 displays the "Run pipeline" button255 without pipelines256 user visits merge request page257 shows empty state with run pipeline button258 fork MRs in parent project259 when actor is a developer in parent project260 creates a pipeline in the parent project when user proceeds with the warning261 does not create a pipeline in the parent project when user cancels the action262 when actor is a developer in fork project263 creates a pipeline in the fork project264 when actor is a reporter in parent project and a developer in fork project265 creates a pipeline in the fork project266 race condition267 when pipeline and merge request were created simultaneously268 user sees pipeline in merge request widget269User Cluster270 when user does not have a cluster and visits cluster index page271 when user filled form with valid parameters272 user sees namespace per environment is enabled by default273 behaves like valid cluster user form274 user sees a cluster details page275 RBAC is enabled for the cluster276 user sees a cluster details page with RBAC enabled277 behaves like valid cluster user form278 user sees a cluster details page279 when user filled form with invalid parameters280 user sees a validation error281 when user does have a cluster and visits cluster page282 user sees a cluster details page283 when user disables the cluster284 user sees the successful message285 when user changes cluster parameters286 user sees the successful message287 when user destroys the cluster288 user sees creation form with the successful message289User views issue designs290 opens design detail291 shows a comment within design292 behaves like design discussion emoji awards293 allows user to add emoji reaction to a comment294 allows user to remove emoji reaction from a comment295 when user is guest296 behaves like design discussion emoji awards297 allows user to add emoji reaction to a comment298 allows user to remove emoji reaction from a comment299 when svg file is loaded in design detail300 check if svg is loading301User creates snippet302 authenticated user creates a snippet303 uploads a file when dragging into textarea304 shows validation errors305 previews a snippet with file306 behaves like a "Your work" page with sidebar and breadcrumbs307 shows the "Your work" sidebar308 shows the correct sidebar menu item as active309 breadcrumbs310 has "Your work" as its root breadcrumb311 when the git operation fails312 renders the new page and displays the error313 when snippets default visibility level is restricted314 creates a snippet using the lowest available visibility level as default315 behaves like personal snippet with references316 when using references to resources317 behaves like handles resource links318 with access to the resource319 converts the reference to a link320 without access to the resource321 does not convert the reference to a link322 when using links to resources323 behaves like handles resource links324 with access to the resource325 converts the reference to a link326 without access to the resource327 does not convert the reference to a link328User uploads file to note329 before uploading330 shows "Attach a file or image" button331 uploading is in progress332 cancels uploading on clicking to "Cancel" button333 shows "Attaching a file" message on uploading 1 file334 shows "Attaching 2 files" message on uploading 2 file335 shows error message, "retry" and "attach a new file" link a if file is too big336 uploading is complete337 shows "Attach a file or image" button on uploading complete338 they see the attached file339Admin uses repository checks340 when admin mode is disabled341 admin project page requires admin mode342 when admin mode is enabled343 to trigger a single check344 to see a single failed repository check345 to clear all repository checks346User searches for commits347 when search times out348 renders timeout information349 sets tab count to 0350 when searching by SHA351 finds a commit and redirects to its page352 finds a commit in uppercase and redirects to its page353 when searching by message354 finds a commit and holds on /search page355 finds multiple commits356Admin > Users > Impersonation Tokens357 token creation358 allows creation of a token359 active tokens360 only shows impersonation tokens361 shows absolute times362 inactive tokens363 allows revocation of an active impersonation token364 removes expired tokens from 'active' section365 impersonation disabled state366 does not show impersonation tokens tab367Import/Export - Connect to another instance368 when importing group by direct transfer is enabled369 when the user provides valid credentials370 successfully connects to remote instance371 when the user provides invalid url372 reports an error373 when the user does not fill in source URL374 reports an error375 when the user does not fill in access token376 reports an error377 when importing group by direct transfer is disabled378 renders fields and button disabled379viewing an issue with cross project references380 shows all information related to the cross project reference381 shows a link to the confidential issue in the same project382 does not show the link to a cross project confidential issue when the user does not have access383 shows the link to a cross project confidential issue when the user has access384 when an external authorization service is enabled385 only hits the external service for the project the user is viewing386 shows only the link to the cross project references387 does not link a cross project confidential issue if the user does not have access388 links a cross project confidential issue without exposing information when the user has access389 shows a link to the confidential issue in the same project390Admin searches application settings391 in appearances page392 behaves like cannot search settings393 does note have search settings field394 in ci/cd settings page395 behaves like can search settings396 hides unmatching sections on search397 behaves like can highlight results398 has search settings field399 highlights the search terms400Merge request > User sees deleted target branch401 shows a message about missing target branch402 does not show link to target branch403Populate new pipeline CI variables with url params404 var[key1]=value1 populates env_var variable correctly405 file_var[key2]=value2 populates file variable correctly406Groups > Members > Owner adds member with expiration date407 expiration date is displayed in the members list408 changes expiration date409 clears expiration date410Merge request > User marks merge request as draft411 toggles draft status412User views milestones413Checking for expected text of nil is confusing and/or pointless since it will always match. Please specify a string or regexp instead. /builds/gitlab-org/gitlab/spec/support/capybara_slow_finder.rb:18414 shows milestone415 with issues416 opens milestone417 with associated releases418 with a single associated release419 shows the associated release420 with lots of associated releases421 shows the associated releases and the truncation text422User views milestones with no MR423Checking for expected text of nil is confusing and/or pointless since it will always match. Please specify a string or regexp instead. /builds/gitlab-org/gitlab/spec/support/capybara_slow_finder.rb:18424 shows milestone425 opens milestone426Pages edits pages settings427 when pipeline wizard feature is enabled428 when onboarding is not complete429 renders onboarding instructions430 when onboarding is complete431 shows waiting screen432 when pipeline wizard feature is disabled433 shows configure pages instructions434User manages applications435 allows user to manage applications436 when scopes are blank437 returns an error438User activates Pushover439 activates integration440top nav responsive441 # order random442 when inside a group443 the add menu contains invite members dropdown option and opens invite modal444 when inside a project445 the add menu contains invite members dropdown option and opens invite modal446Labels subscription447 when signed in448 users can subscribe/unsubscribe to labels449 when not signed in450 users can not subscribe/unsubscribe to labels451Projects > Settings > User archives a project452 when a project is archived453 unarchives a project454 when a project is unarchived455 archives a project456Integration settings457 # order random458 with Shimo Zentao integration records459 shows settings without Shimo Zentao460Session TTLs461 creates a session with a short TTL when login fails462 increases the TTL when the login succeeds463 with an unauthorized project464 creates a session with a short TTL465User views merged merge requests466 shows merged merge requests467Graphql known operations468 collects known Graphql operations from the code469Multi Select Issue470 with lists471 moves multiple issues to another list (PENDING: Temporarily skipped with xcontext)472 maintains order when moved (PENDING: Temporarily skipped with xcontext)473 move issues in the same list (PENDING: Temporarily skipped with xcontext)474auto_explain log contains 976 entries for main, writing to /builds/gitlab-org/gitlab/auto_explain/rspec-system-pg14-as-if-foss-single-db-1-28.328.main.ndjson.gz475took 5.299037678476Pending: (Failures listed here are expected and do not affect your suite's status)477 1) Multi Select Issue with lists moves multiple issues to another list478 # Temporarily skipped with xcontext479 # ./spec/features/boards/multi_select_spec.rb:70480 2) Multi Select Issue with lists maintains order when moved481 # Temporarily skipped with xcontext482 # ./spec/features/boards/multi_select_spec.rb:83483 3) Multi Select Issue with lists move issues in the same list484 # Temporarily skipped with xcontext485 # ./spec/features/boards/multi_select_spec.rb:99486Finished in 22 minutes 23 seconds (files took 46.69 seconds to load)487136 examples, 0 failures, 3 pending488Randomized with seed 35056489[TEST PROF INFO] Time spent in factories: 00:58.944 (4.33% of total time)490Failed to write to log, write log/workhorse-test.log: file already closed491RSpec exited with 0.492No examples to retry, congrats!494Running after script...495$ echo -e "\e[0Ksection_start:`date +%s`:report_results_section[collapsed=true]\r\e[0KReport results"499$ tooling/bin/push_job_metrics || true500[job-metrics] Pushing job metrics file for the CI/CD job.501[job-metrics] Pushed 4 CI job metric entries to InfluxDB.503Not uploading cache ruby-gems-debian-bullseye-ruby-3.0-16 due to policy505Uploading artifacts...506auto_explain/: found 2 matching artifact files and directories 507coverage/: found 5 matching artifact files and directories 508crystalball/: found 2 matching artifact files and directories 509WARNING: deprecations/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 510knapsack/: found 4 matching artifact files and directories 511rspec/: found 14 matching artifact files and directories 512WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 513log/*.log: found 17 matching artifact files and directories 514WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/5336651659/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com515WARNING: Retrying... context=artifacts-uploader error=request redirected516Uploading artifacts as "archive" to coordinator... 201 Created id=5336651659 responseStatus=201 Created token=64_JpzDs517Uploading artifacts...518rspec/rspec-*.xml: found 1 matching artifact files and directories 519WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/5336651659/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com520WARNING: Retrying... context=artifacts-uploader error=request redirected521Uploading artifacts as "junit" to coordinator... 201 Created id=5336651659 responseStatus=201 Created token=64_JpzDs523Job succeeded