rspec system pg11 2/24
Passed Started
by
@ayufan
Kamil Trzciński
1Running with gitlab-runner 13.3.0-rc1 (669fc507)2 on docker-auto-scale-com 1d6b581d4Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.28-lfs-2.9-chrome-84-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34 ...5Starting service postgres:11.6 ...6Pulling docker image postgres:11.6 ...7Using docker image sha256:2c963c0eb8c6efa49bb8352ea446f248d208d674cfc34fc9ea275b5f99f8dedd for postgres:11.6 ...8Starting service redis:4.0-alpine ...9Pulling docker image redis:4.0-alpine ...10Using docker image sha256:e3dd0e49bca555d559ca2e97f06a1efa108ebd230fddcb17606723994f18ae3b for redis:4.0-alpine ...11Waiting for services to be up and running...12Authenticating with credentials from job payload (GitLab Registry)13Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.28-lfs-2.9-chrome-84-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34 ...14Using docker image sha256:cd688957c9207f55272d81be6d4908692d78233833e3f09a9c0899b2f24eb3ff for registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.28-lfs-2.9-chrome-84-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34 ...16Running on runner-1d6b581d-project-278964-concurrent-0 via runner-1d6b581d-gsrm-1598364318-36fa427c...18$ eval "$CI_PRE_CLONE_SCRIPT"19Downloading archived master...20Connecting to storage.googleapis.com (172.217.204.128:443)21saving to '/tmp/gitlab.tar.gz'22gitlab.tar.gz 12% |**** | 126M 0:00:06 ETA23gitlab.tar.gz 47% |*************** | 480M 0:00:02 ETA24gitlab.tar.gz 81% |************************** | 818M 0:00:00 ETA25gitlab.tar.gz 100% |********************************| 1004M 0:00:00 ETA26'/tmp/gitlab.tar.gz' saved27Extracting tarball into /builds/gitlab-org/gitlab...28Fetching changes with git depth set to 20...29Reinitialized existing Git repository in /builds/gitlab-org/gitlab/.git/30Created fresh repository.31Checking out dbc1a472 as master...32Skipping Git submodules setup34Checking cache for rails-v2-3...35Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/rails-v2-3 36Successfully extracted cache38Downloading artifacts for compile-test-assets (702959600)...39Downloading artifacts from coordinator... ok id=702959600 responseStatus=200 OK token=efr6uzds40Downloading artifacts for retrieve-tests-metadata (702959602)...41Downloading artifacts from coordinator... ok id=702959602 responseStatus=200 OK token=VgekGNeS42Downloading artifacts for setup-test-env (702959601)...43Downloading artifacts from coordinator... ok id=702959601 responseStatus=200 OK token=Fwwkf6XV44WARNING: tmp/tests/gitlab-shell/.gitlab_shell_secret: chmod tmp/tests/gitlab-shell/.gitlab_shell_secret: no such file or directory (suppressing repeats) 46$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb47$ export GOPATH=$CI_PROJECT_DIR/.go48$ mkdir -p $GOPATH49$ source scripts/utils.sh50$ source scripts/prepare_build.sh51Bundler version 1.17.252$ bundle install --clean --without=production --without=development --jobs=2 --path=vendor --retry=3 --quiet53==> 'bundle install --clean --without=production --without=development --jobs=2 --path=vendor --retry=3 --quiet' succeeded in 2 seconds.54$ bundle check55Warning: the running version of Bundler (1.17.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.56The Gemfile's dependencies are satisfied57==> 'bundle check' succeeded in 0 seconds.58$ bundle pristine pg59Warning: the running version of Bundler (1.17.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.60Installing pg 1.2.2 with native extensions61==> 'bundle pristine pg' succeeded in 12 seconds.62$ gem install knapsack --no-document63Successfully installed knapsack-1.18.0641 gem installed65==> 'gem install knapsack --no-document' succeeded in 1 seconds.66$ setup_db_user_only67CREATE ROLE68GRANT69==> 'setup_db_user_only' succeeded in 0 seconds.70$ bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee71Dropped database 'gitlabhq_test'72Created database 'gitlabhq_test'73Dropped database 'gitlabhq_geo_test'74Created database 'gitlabhq_geo_test'75==> 'bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee' succeeded in 33 seconds.76$ run_timed_command "scripts/gitaly-test-build"77$ scripts/gitaly-test-build78Settings are listed in order of priority. The top value will be used.79retry80Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config/config): 381path82Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config/config): "/builds/gitlab-org/gitlab/vendor/gitaly-ruby"83jobs84Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config/config): 485app_config86Set via BUNDLE_APP_CONFIG: "/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config"87gemfile88Set via BUNDLE_GEMFILE: "/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/Gemfile"89flags90Set via BUNDLE_FLAGS: "--jobs=4 --retry=3 --quiet --path=/builds/gitlab-org/gitlab/vendor/gitaly-ruby"91silence_root_warning92Set via BUNDLE_SILENCE_ROOT_WARNING: true93go install -ldflags '-X gitlab.com/gitlab-org/gitaly/internal/version.version=13.3.0-rc5 -X gitlab.com/gitlab-org/gitaly/internal/version.buildtime=20200825.153234' -tags "tracer_static,tracer_static_jaeger,continuous_profiler_stackdriver" gitlab.com/gitlab-org/gitaly/cmd/praefect gitlab.com/gitlab-org/gitaly/cmd/gitaly-hooks gitlab.com/gitlab-org/gitaly/cmd/gitaly-blackbox gitlab.com/gitlab-org/gitaly/cmd/gitaly gitlab.com/gitlab-org/gitaly/cmd/gitaly-debug gitlab.com/gitlab-org/gitaly/cmd/gitaly-ssh gitlab.com/gitlab-org/gitaly/cmd/gitaly-wrapper94install /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/praefect /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/gitaly-hooks /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/gitaly-blackbox /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/gitaly /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/gitaly-debug /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/gitaly-ssh /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/gitaly-wrapper /builds/gitlab-org/gitlab/tmp/tests/gitaly95Checking gitaly-ruby Gemfile...96Checking gitaly-ruby bundle...97Warning: the running version of Bundler (1.17.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.98The Gemfile's dependencies are satisfied99Trying to connect to gitaly: ........ OK100Trying to connect to praefect: ........ OK101==> 'scripts/gitaly-test-build' succeeded in 47 seconds.102$ run_timed_command "scripts/gitaly-test-spawn"103$ scripts/gitaly-test-spawn104Checking gitaly-ruby Gemfile...105Checking gitaly-ruby bundle...106Warning: the running version of Bundler (1.17.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.107The Gemfile's dependencies are satisfied108Trying to connect to gitaly: ........ OK109Trying to connect to praefect: ........ OK110==> 'scripts/gitaly-test-spawn' succeeded in 3 seconds.111$ source scripts/rspec_helpers.sh112$ rspec_paralellized_job "--tag ~quarantine --tag ~geo --tag ~level:migration"113KNAPSACK_TEST_FILE_PATTERN: spec/{features}{,/**/}*_spec.rb114RSpec's reporter has already been initialized with #<IO:<STDERR>> as the deprecation stream, so your change to `deprecation_stream` will be ignored. You should configure it earlier for it to take effect, or use the `--deprecation-out` CLI option. (Called from /builds/gitlab-org/gitlab/spec/support/rspec.rb:12:in `block in <top (required)>')115Knapsack report generator started!116Run options:117 include {:focus=>true}118 exclude {:quarantine=>true, :geo=>true, :level=>"migration"}119All examples were filtered out; ignoring {:focus=>true}120==> Setting up gitlab-test bare repository in /builds/gitlab-org/gitlab/tmp/tests/gitlab-test_bare...121 /builds/gitlab-org/gitlab/tmp/tests/gitlab-test_bare set up in 0.037492579 seconds...122Jobs123 GET /:project/jobs124 Pending scope125 shows Pending tab jobs126 Running scope127 shows Running tab jobs128 Finished scope129 shows Finished tab jobs130 All jobs131 shows All tab jobs132 when visiting old URL133 redirects to new URL134 GET /:project/jobs/:id135 Job from project136Starting the Capybara driver server...137Capybara starting Puma...138* Version 4.3.3.gitlab.2 , codename: Mysterious Traveller139* Min threads: 0, max threads: 4140* Listening on unix:///tmp/20200825-1843-140e9oq141 shows status name142 shows commit`s data143 shows active job144 pipeline info block145 shows pipeline id and source branch146 when pipeline is detached merge request pipeline147 shows merge request iid and source branch148 when source project is a forked project149 shows merge request iid and source branch150 when pipeline is merge request pipeline151 shows merge request iid and source branch152 when source project is a forked project153 shows merge request iid and source branch154 sidebar155 renders escaped tooltip name156 when job is not running157 shows retry button158 if job passed159 does not show New issue button160 if job failed161 shows New issue button162 links to issues/new with the title and description filled in163 when job is running164 job is cancelable165 shows cancel button166 when job is waiting for resource167DEPRECATION WARNING: The asset "ci_favicons/favicon_pending.png" is not present in the asset pipeline.Falling back to an asset that may be in the public folder.168This behavior is deprecated and will be removed.169To bypass the asset pipeline and preserve this behavior,170use the `skip_pipeline: true` option.171 (called from status_overlay at /builds/gitlab-org/gitlab/lib/gitlab/favicon.rb:33)172DEPRECATION WARNING: The asset "ci_favicons/favicon_pending.png" is not present in the asset pipeline.Falling back to an asset that may be in the public folder.173This behavior is deprecated and will be removed.174To bypass the asset pipeline and preserve this behavior,175use the `skip_pipeline: true` option.176 (called from status_overlay at /builds/gitlab-org/gitlab/lib/gitlab/favicon.rb:33)177DEPRECATION WARNING: The asset "ci_favicons/favicon_pending.png" is not present in the asset pipeline.Falling back to an asset that may be in the public folder.178This behavior is deprecated and will be removed.179To bypass the asset pipeline and preserve this behavior,180use the `skip_pipeline: true` option.181 (called from status_overlay at /builds/gitlab-org/gitlab/lib/gitlab/favicon.rb:33)182 shows correct UI components183 Job from other project184 is expected to eq 404185 Download artifacts186 has button to download artifacts187 downloads the zip file when user clicks the download button188 Artifacts expire date189 no expire date defined190 does not have the Keep button191 when expire date is defined192 when user has ability to update job193 keeps artifacts when keep button is clicked194 when user does not have ability to update job195 does not have keep button196 when artifacts expired197 does not have the Keep button198 when visiting old URL199 redirects to new URL200 Raw trace201 is expected to have visible css "[data-testid=\"job-raw-link-controller\"]"202 HTML trace203 when job has an initial trace204 loads job trace205 Variables206 when user is a maintainer207 when variables are stored in trigger_request208 behaves like no reveal button variables behavior209 renders a hidden value with no reveal values button210 when variables are stored in pipeline_variables211 behaves like no reveal button variables behavior212 renders a hidden value with no reveal values button213 when user is a maintainer214 when variables are stored in trigger_request215 behaves like reveal button variables behavior216 renders a hidden value with a reveal values button217 reveals values on button click218 when variables are stored in pipeline_variables219 behaves like reveal button variables behavior220 renders a hidden value with a reveal values button221 reveals values on button click222 when job starts environment223 job is successful and has deployment224 shows a link for the job225 shows deployment message226 when there is a cluster used for the deployment227 shows a link to the cluster228 shows the name of the cluster229 when the user is not able to view the cluster230 includes only the name of the cluster without a link231 job is complete and not successful232 shows a link for the job233 deployment still not finished234 shows a link to latest deployment235 when job stops environment236 does not show environment information banner237 environment info in job view238 job with outdated deployment239 shows deployment message240 renders a link to the most recent deployment241 when deployment does not have a deployable242 has an empty href243 job failed to deploy244 shows deployment message245 job will deploy246 when environment exists247 shows deployment message248 when it has deployment249 shows that deployment will be overwritten250 when environment does not exist251 shows deployment message252 job that failed to deploy and environment has not been created253 shows deployment message254 job that will deploy and environment has not been created255 shows deployment message256 Playable manual action257 shows manual action empty state258 plays manual action and shows pending status259 Delayed job260 shows delayed job261 unschedules delayed job and shows manual action262 Non triggered job263 shows empty state264 Pending job265 shows pending empty state266 Canceled job267 with log268 renders job log269 without log270 renders empty state271 Skipped job272 renders empty state273 when job is failed but has no trace274 renders empty state275 with erased job276 renders erased job warning277 without erased job278 does not render erased job warning279 on mobile280 renders collapsed sidebar281 on desktop282 renders expanded sidebar283 stuck284 without active runners available285 renders message about job being stuck because no runners are active286 when available runners can not run specified tag287 renders message about job being stuck because of no runners with the specified tags288 when runners are offline and build has tags289 renders message about job being stuck because of no runners with the specified tags290 without any runners available291 renders message about job being stuck because no runners are available292 without available runners online293 renders message about job being stuck because runners are offline294 POST /:project/jobs/:id/cancel295 Job from project296 loads the page and shows all needed controls297 POST /:project/jobs/:id/retry298 Job from project299 shows the right status and buttons300 Job that current user is not allowed to retry301 does not show the Retry button302 GET /:project/jobs/:id/download303 Build from other project304 is expected to eq 404305 GET /:project/jobs/:id/raw306 access source307 job from project308 when job is running309 sends the right headers310 when job is complete311 sends the right headers312 job from other project313 sends the right headers314 when visiting old URL315 redirects to new URL316 GET /:project/jobs/:id/trace.json317 Job from project318 is expected to eq 200319 Job from other project320 is expected to eq 404321 GET /:project/jobs/:id/status322 Job from project323 is expected to eq 200324 Job from other project325 is expected to eq 404326Projects > Files > User creates files327 without committing a new file328 when an user has write access329 opens new file page330 when an user does not have write access331 opens new file page on a forked project332 with committing a new file333 when an user has write access334 allows Chinese characters in file name335 allows Chinese characters in directory name336 does not allow directory traversal in file name337 creates and commit a new file338 creates and commit a new file with new lines at the end of file339 creates and commit a new file with a directory name340 creates and commit a new file specifying a new branch341 when an user does not have write access342 shows a message saying the file will be committed in a fork343 creates and commit new file in forked project344Pipeline Schedules345 logged in as maintainer346 GET /projects/pipeline_schedules347 The view348 displays the required information description349 creates a new scheduled pipeline350 changes ownership of the pipeline351 edits the pipeline352 deletes the pipeline353 when ref is nil354 shows a list of the pipeline schedules with empty ref column355 when ref is empty356 shows a list of the pipeline schedules with empty ref column357 POST /projects/pipeline_schedules/new358 sets defaults for timezone and target branch359 creates a new scheduled pipeline360 prevents an invalid form from being submitted361 PATCH /projects/pipelines_schedules/:id/edit362 displays existing properties363 edits the scheduled pipeline364 when ref is nil365 shows the pipeline schedule with default ref366 when ref is empty367 shows the pipeline schedule with default ref368 when user creates a new pipeline schedule with variables369 user sees the new variable in edit window370 when user edits a variable of a pipeline schedule371 user sees the updated variable in edit window372 when user removes a variable of a pipeline schedule373 user does not see the removed variable in edit window374 when active is true and next_run_at is NULL375 user edit and recover the problematic pipeline schedule376 logged in as non-member377 GET /projects/pipeline_schedules378 The view379 does not show create schedule button380 not logged in381 GET /projects/pipeline_schedules382 The view383 does not show create schedule button384Batch diffs385 assigns discussions to diff files across multiple batch pages386 when user visits a URL with a link directly to to a discussion387 which is in the first batched page of diffs388 scrolls to the correct discussion389 which is in at least page 2 of the batched pages of diffs390 scrolls to the correct discussion391 when user switches view styles392 has the correct discussions applied to files across batched pages393Project Graph394 commits graph395 behaves like page should have commits graphs396 renders commits397 languages graph398 behaves like page should have commits graphs399 renders commits400 charts graph401 behaves like page should have commits graphs402 renders commits403 chart graph with HTML escaped branch name404 HTML escapes branch name405 behaves like page should have commits graphs406 renders commits407 when CI enabled408 renders CI graphs409Admin::Users410 GET /admin/users411 is ok412 has users list413 search and sort414 searches users by name415 sorts users by name416 sorts search results only417 searches with respect of sorting418 sorts users by recent last activity419 sorts users by oldest last activity420 Two-factor Authentication filters421 counts users who have enabled 2FA422 filters by users who have enabled 2FA423 counts users who have not enabled 2FA424 filters by users who have not enabled 2FA425 GET /admin/users/new426 creates new user427 applies defaults to user428 creates user with valid data429 calls send mail430 sends valid email to user with email & password431 username contains spaces432 doesn't create the user and shows an error message433 with new users set to external enabled434 with regex to match internal user email address set435 automatically unchecks external for matching email436 creates an internal user437 GET /admin/users/:id438 has user info439 Impersonation440 before impersonating441 for other users442 shows impersonate button for other users443 for admin itself444 does not show impersonate button for admin itself445 for blocked user446 does not show impersonate button for blocked user447 when impersonation is disabled448 does not show impersonate button449 when impersonating450 logs in as the user when impersonate is clicked451 sees impersonation log out icon452 a user with an expired password453 does not redirect to password change page454 ending impersonation455 logs out of impersonated user back to original user456 is redirected back to the impersonated users page in the admin after stopping457 a user with an expired password458 is redirected back to the impersonated users page in the admin after stopping459 Two-factor Authentication status460 shows when enabled461 shows when disabled462 Email verification status463 displays the correct status for an unverified email address464 displays the correct status for a verified email address465 GET /admin/users/:id/edit466 has user edit page467 Update user468 shows page with new data469 changes user entry470 update username to non ascii char471 is expected to have visible css "form[action=\"/admin/users/user385\"]"472 GET /admin/users/:id/projects473 lists group projects474 allows navigation to the group details475 shows the group access level476 allows group membership to be revoked477 show breadcrumbs478 is expected to have text "Edit Identity"479 show user attributes480 is expected to have text "Personal projects limit"481 remove users secondary email482 is expected not to have text "secondary@example.com"483 show user keys484 is expected not to have text "ssh-rsa Key2"485 show user identities486 shows user identities487 update user identities488 modifies twitter identity489 remove user with identities490 removes user with twitter identity491Dashboard Merge Requests492 new merge request dropdown493 shows projects only with merge requests feature enabled494 no merge requests exist495 shows an empty state496 merge requests exist497 shows assigned merge requests498 shows authored merge requests499 shows labeled merge requests500 shows error message without filter501 shows sorted merge requests502 keeps sorting merge requests after visiting Projects MR page503Import/Export - project export integration test504 admin user505 with streaming serializer506 exports a project successfully507 with ndjson508 exports a project successfully509Group Issues Calendar Feed510 GET /issues511 when authenticated512 with no referer513 renders calendar feed514 with GitLab as the referer515 renders calendar feed as text/plain516 when authenticated via personal access token517 renders calendar feed518 when authenticated via feed token519 renders calendar feed520 issue with due date521 renders issue fields522AdditionalEmailToExistingAccount523 add secondary email associated with account524 verifies confirmation of additional email525Knapsack report was generated. Preview:526{527 "spec/features/projects/jobs_spec.rb": 401.36792612075806,528 "spec/features/projects/files/user_creates_files_spec.rb": 125.64104151725769,529 "spec/features/projects/pipeline_schedules_spec.rb": 102.73061013221741,530 "spec/features/merge_request/user_interacts_with_batched_mr_diffs_spec.rb": 80.31322717666626,531 "spec/features/projects/graph_spec.rb": 68.43185186386108,532 "spec/features/admin/admin_users_spec.rb": 49.773547887802124,533 "spec/features/dashboard/merge_requests_spec.rb": 40.906142473220825,534 "spec/features/projects/import_export/export_file_spec.rb": 23.710617780685425,535 "spec/features/ics/group_issues_spec.rb": 3.7087650299072266,536 "spec/features/users/add_email_to_existing_account_spec.rb": 0.3939671516418457537}538Knapsack global time execution for tests: 14m 56s539Finished in 15 minutes 27 seconds (files took 1 minute 3.97 seconds to load)540191 examples, 0 failures541Tue Aug 25 15:50:08 UTC 2020543Not uploading cache rails-v2-3 due to policy545Uploading artifacts...546coverage/: found 5 matching files and directories 547knapsack/: found 3 matching files and directories 548rspec_flaky/: found 4 matching files and directories 549rspec_profiling/: found 2 matching files and directories 550WARNING: tmp/capybara/: no matching files 551tmp/memory_test/: found 2 matching files and directories 552log/*.log: found 15 matching files and directories 553Uploading artifacts as "archive" to coordinator... ok id=702959690 responseStatus=201 Created token=FGmgtcRS554Uploading artifacts...555junit_rspec.xml: found 1 matching files and directories 556Uploading artifacts as "junit" to coordinator... ok id=702959690 responseStatus=201 Created token=FGmgtcRS557Job succeeded