rspec system pg12 7/24
Passed Started
by
@mikolaj_wawrzyniak

Mikołaj Wawrzyniak
1Running with gitlab-runner 14.1.0-rc1 (e9489c8a)2 on docker-auto-scale-com d5ae8d253 feature flags: FF_USE_FASTZIP:true6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.2.patched-golang-1.16-git-2.31-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36 ...7Starting service postgres:12 ...8Pulling docker image postgres:12 ...9Using docker image sha256:14566088fc000f09db0a67b267f7de82a1a1a0d45d6a0a023ab580b084be62a8 for postgres:12 with digest postgres@sha256:1cb8f7fc2e6745ef577640de1c9fde04ff9498a7e0d067f1b8e6890ad4ba5073 ...10Starting service redis:5.0-alpine ...11Pulling docker image redis:5.0-alpine ...12Using docker image sha256:add8cf2f542a4bb4070fad4dd7bb73933a804a0ff57dd611f7be76ffeb4a8ae2 for redis:5.0-alpine with digest redis@sha256:5dbc2c85e636c0aea692972a2eac934ba4f04e9bb6578bc47aa35d28482b2f60 ...13Waiting for services to be up and running...14Authenticating with credentials from job payload (GitLab Registry)15Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.2.patched-golang-1.16-git-2.31-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36 ...16Using docker image sha256:f3af4045688c7d321821552b2274c91037e2b5727ac63ee5f72ad30f5962c48e for registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.2.patched-golang-1.16-git-2.31-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:72fa33b8058851ded8b72376ab249c48f98d1a176ad4bc8d517ca4ab62f0f7a0 ...18Running on runner-d5ae8d25-project-278964-concurrent-0 via runner-d5ae8d25-gsrm-1629282379-3c4783df...20$ eval "$CI_PRE_CLONE_SCRIPT"21Downloading archived master...22Connecting to storage.googleapis.com (172.217.193.128:443)23saving to '/tmp/gitlab.tar.gz'24gitlab.tar.gz 18% |***** | 62.6M 0:00:04 ETA25gitlab.tar.gz 79% |************************* | 276M 0:00:00 ETA26gitlab.tar.gz 100% |********************************| 347M 0:00:00 ETA27'/tmp/gitlab.tar.gz' saved28Extracting tarball into /builds/gitlab-org/gitlab...29Fetching changes with git depth set to 20...30Reinitialized existing Git repository in /builds/gitlab-org/gitlab/.git/31Created fresh repository.32remote: Enumerating objects: 193, done. 33remote: Counting objects: 100% (141/141), done. 34remote: Compressing objects: 100% (55/55), done. 35remote: Total 91 (delta 78), reused 47 (delta 36), pack-reused 0 37 * [new ref] 87ccd58290a6f21a5fb92623e3970840943714e8 -> refs/pipelines/35508967238 * [new branch] master -> origin/master39Checking out 87ccd582 as master...40Skipping Git submodules setup42Checking cache for ruby-gems-v1-4...43Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/ruby-gems-v1-4 44Successfully extracted cache45Checking cache for gitaly-ruby-gems-v1-4...46Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/gitaly-ruby-gems-v1-4 47Successfully extracted cache49Downloading artifacts for compile-test-assets (1512821856)...50Downloading artifacts from coordinator... ok id=1512821856 responseStatus=200 OK token=yv2CxeL351Downloading artifacts for retrieve-tests-metadata (1512821865)...52Downloading artifacts from coordinator... ok id=1512821865 responseStatus=200 OK token=UxJ4xnY953Downloading artifacts for setup-test-env (1512821862)...54Downloading artifacts from coordinator... ok id=1512821862 responseStatus=200 OK token=r5iGa7Zz56Using docker image sha256:f3af4045688c7d321821552b2274c91037e2b5727ac63ee5f72ad30f5962c48e for registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.2.patched-golang-1.16-git-2.31-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:72fa33b8058851ded8b72376ab249c48f98d1a176ad4bc8d517ca4ab62f0f7a0 ...57$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb58$ export GOPATH=$CI_PROJECT_DIR/.go59$ mkdir -p $GOPATH60$ source scripts/utils.sh61$ source scripts/prepare_build.sh62Bundler version 2.1.463production:development64Settings are listed in order of priority. The top value will be used.65path66Set for the current user (/root/.bundle/config): "vendor"67clean68Set for the current user (/root/.bundle/config): "true"69without70Set via BUNDLE_WITHOUT: [:production, :development]71install_flags72Set via BUNDLE_INSTALL_FLAGS: "--jobs=$(nproc) --retry=3 --quiet"73$ bundle install --jobs=$(nproc) --retry=3 --quiet && bundle check74The Gemfile's dependencies are satisfied75==> 'bundle install --jobs=$(nproc) --retry=3 --quiet && bundle check' succeeded in 2 seconds.76$ bundle pristine pg77Installing pg 1.2.3 with native extensions78==> 'bundle pristine pg' succeeded in 10 seconds.79$ setup_db_user_only80CREATE ROLE81GRANT82==> 'setup_db_user_only' succeeded in 0 seconds.83$ bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee84Dropped database 'gitlabhq_test'85Created database 'gitlabhq_test'86DEPRECATION WARNING: Using `bin/rails db:structure:load` is deprecated and will be removed in Rails 6.2. Configure the format using `config.active_record.schema_format = :sql` to use `structure.sql` and run `bin/rails db:schema:load` instead. (called from load at /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/bin/rake:23)87Dropped database 'gitlabhq_geo_test'88Created database 'gitlabhq_geo_test'89==> 'bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee' succeeded in 25 seconds.90$ run_timed_command "gem install knapsack --no-document"91$ gem install knapsack --no-document92Successfully installed knapsack-4.0.0931 gem installed94==> 'gem install knapsack --no-document' succeeded in 1 seconds.95$ run_timed_command "scripts/gitaly-test-spawn"96$ scripts/gitaly-test-spawn97Settings are listed in order of priority. The top value will be used.98jobs99Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config): 4100retry101Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config): 3102path103Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config): "/builds/gitlab-org/gitlab/vendor/gitaly-ruby"104deployment105Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config): true106without107Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config): [:production, :development]108Set via BUNDLE_WITHOUT: [:production, :development]109app_config110Set via BUNDLE_APP_CONFIG: "/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle"111gemfile112Set via BUNDLE_GEMFILE: "/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/Gemfile"113Don't run Bundler as root. Bundler can ask for sudo if it is needed, and114installing your bundle as root will break this application for all non-root115users on this machine.116Using abstract_type 0.0.7117Using concurrent-ruby 1.1.9118Using i18n 1.8.10119Using minitest 5.14.4120Using tzinfo 2.0.4121Using zeitwerk 2.4.2122Using activesupport 6.1.3.2123Using builder 3.2.4124Using erubi 1.10.0125Using mini_portile2 2.5.1126Using racc 1.5.2127Using nokogiri 1.11.5 (x86_64-linux)128Using rails-dom-testing 2.0.3129Using crass 1.0.6130Using loofah 2.10.0131Using rails-html-sanitizer 1.3.0132Using actionview 6.1.3.2133Using rack 2.2.3134Using rack-test 1.1.0135Using actionpack 6.1.3.2136Using ice_nine 0.11.2137Using thread_safe 0.3.6138Using memoizable 0.4.2139Using adamantium 0.2.0140Using public_suffix 4.0.6141Using addressable 2.7.0142Using ast 2.4.1143Using binding_ninja 0.2.3144Using bundler 2.1.4145Using charlock_holmes 0.7.7146Using coderay 1.1.2147Using equalizer 0.0.11148Using concord 0.1.5149Using diff-lcs 1.3150Using dotenv 2.7.6151Using escape_utils 1.2.1152Using factory_bot 5.0.2153Using multipart-post 2.1.1154Using faraday 1.0.1155Using ffi 1.15.3156Using json 2.5.1157Using gemojione 3.3.0158Using mini_mime 1.0.2159Using rugged 1.1.0160Using github-linguist 7.12.1161Using github-markup 1.7.0162Using mime-types-data 3.2020.1104163Using mime-types 3.3.1164Using gitlab-gollum-rugged_adapter 0.4.4.4.gitlab.1165Using rouge 3.26.0166Using nokogumbo 1.5.0167Using sanitize 4.6.6168Using stringex 2.8.5169Using gitlab-gollum-lib 4.2.7.10.gitlab.1170Using google-protobuf 3.17.3 (x86_64-linux)171Using googleapis-common-protos-types 1.1.0172Using grpc 1.38.0 (x86_64-linux)173Using opentracing 0.5.0174Using thrift 0.14.1175Using jaeger-client 1.1.0176Using pg_query 2.1.0177Using redis 4.2.5178Using gitlab-labkit 0.20.0179Using gitlab-markup 1.7.1180Using grpc-tools 1.38.0181Using sawyer 0.8.2182Using octokit 4.20.0183Using reverse_markdown 1.4.0184Using thor 1.1.0185Using licensee 9.14.1186Using method_source 0.9.2187Using msgpack 1.3.3188Using optimist 3.0.1189Using parallel 1.19.2190Using parser 2.7.2.0191Using procto 0.0.3192Using unparser 0.4.7193Using proc_to_ast 0.1.0194Using pry 0.12.2195Using rainbow 3.0.0196Using rbtrace 0.4.14197Using rdoc 6.3.2198Using regexp_parser 1.8.1199Using rexml 3.2.4200Using rspec-support 3.8.0201Using rspec-core 3.8.0202Using rspec-expectations 3.8.3203Using rspec-mocks 3.8.0204Using rspec 3.8.0205Using rspec-parameterized 0.4.2206Using rubocop-ast 0.2.0207Using ruby-progressbar 1.10.1208Using unicode-display_width 1.7.0209Using rubocop 0.86.0210Using sentry-raven 3.0.4211Using timecop 0.9.1212Bundle complete! 21 Gemfile dependencies, 96 gems now installed.213Gems in the groups production and development were not installed.214Bundled gems are installed into `/builds/gitlab-org/gitlab/vendor/gitaly-ruby`215Checking gitaly-ruby Gemfile...216Checking gitaly-ruby bundle...217The Gemfile's dependencies are satisfied218Trying to connect to gitaly: ...... OK219Trying to connect to gitaly2: .............. OK220Trying to connect to praefect: ...... OK221==> 'scripts/gitaly-test-spawn' succeeded in 4 seconds.222$ source ./scripts/rspec_helpers.sh223$ rspec_paralellized_job "--tag ~quarantine --tag ~geo --tag ~level:migration"224KNAPSACK_TEST_FILE_PATTERN: spec/{features}{,/**/}*_spec.rb225Knapsack report generator started!226Run options: exclude {:quarantine=>true, :geo=>true, :level=>"migration"}227==> /builds/gitlab-org/gitlab/tmp/tests/gitlab-test_bare set up in 0.057959927 seconds...228Test environment set up in 0.47121289 seconds229Expand and collapse diffs230Starting the Capybara driver server...231DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: shared/_logo.svg (called from brand_header_logo at /builds/gitlab-org/gitlab/app/helpers/appearances_helper.rb:42)232DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: shared/_logo.svg (called from brand_header_logo at /builds/gitlab-org/gitlab/app/helpers/appearances_helper.rb:42)233Capybara starting Puma...234* Version 5.3.2 , codename: Sweetnighter235* Min threads: 0, max threads: 4236* Listening on unix:///tmp/20210818-355-84j9m8237DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: shared/_logo_type.svg (called from brand_header_logo_type at /builds/gitlab-org/gitlab/app/helpers/appearances_helper.rb:49)238DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: shared/_logo_type.svg (called from brand_header_logo_type at /builds/gitlab-org/gitlab/app/helpers/appearances_helper.rb:49)239unknown OID 28: failed to recognize type of 'relfrozenxid'. It will be treated as String.240unknown OID 1034: failed to recognize type of 'relacl'. It will be treated as String.241unknown OID 194: failed to recognize type of 'relpartbound'. It will be treated as String.242DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: shared/icons/_icon_commit.svg (called from block in custom_icon at /builds/gitlab-org/gitlab/app/helpers/icons_helper.rb:14)243DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: shared/icons/_icon_commit.svg (called from block in custom_icon at /builds/gitlab-org/gitlab/app/helpers/icons_helper.rb:14)244DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: shared/icons/_mr_bold.svg (called from block in custom_icon at /builds/gitlab-org/gitlab/app/helpers/icons_helper.rb:14)245DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: shared/icons/_mr_bold.svg (called from block in custom_icon at /builds/gitlab-org/gitlab/app/helpers/icons_helper.rb:14)246 shows the diff content with a highlighted line when linking to line247 shows the diff content when linking to file248 visiting a commit with collapsed diffs249 shows small diffs immediately250 shows non-renderable diffs as such immediately, regardless of their size251 does not allow diffs that are larger than the maximum size to be expanded252 shows image diffs immediately, regardless of their size253 expanding a diff for a renamed file254 shows the old content255 shows the new content256 expanding a large diff257 shows the diff content258 adding a comment to the expanded diff259 adds the comment260 reloading the page261 collapses the large diff by default262 expanding the diff263 shows the diff content264 shows the diff comment265 collapsing an expanded diff266 hides the diff content267 re-expanding the same diff268 shows the diff content269 expanding a diff when symlink was converted to a regular file270 shows the content of the regular file271 visiting a commit without collapsed diffs272 does not show Expand all button273 visiting a commit with more than safe files274 does collapsing from the safe number of files to the end on small files275 visiting a commit with more than safe lines276 does collapsing from the safe number of lines to the end277 expanding all diffs278 reloads the page with all diffs expanded279 collapsing an expanded diff280 hides the diff content281 re-expanding the same diff282 shows the diff content283Using U2F (Universal 2nd Factor) Devices for Authentication284 behaves like hardware device for 2fa285 registration286 when 2FA via OTP is disabled287 does not allow registering a new device288 when 2FA via OTP is enabled289 allows registering a new device with a name290 allows deleting a device291 fallback code authentication292 when no device is registered293DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: shared/_logo.svg (called from brand_header_logo at /builds/gitlab-org/gitlab/app/helpers/appearances_helper.rb:42)294DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: shared/_logo.svg (called from brand_header_logo at /builds/gitlab-org/gitlab/app/helpers/appearances_helper.rb:42)295 shows the fallback otp code UI296 when a device is registered297 provides a button that shows the fallback otp code UI298 registration2992021-08-18 10:35:00 +0000 Rack app ("POST /-/profile/two_factor_auth/create_u2f" - (127.0.0.1)): #<ActiveRecord::StatementInvalid: PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block300>301 allows the same device to be registered for multiple users (PENDING: FakeU2fDevice has static key handle, leading to duplicate credential_xid for WebAuthn during migration, resulting in unique constraint violation)302 when 2FA via OTP is enabled303 allows registering more than one device304 when there are form errors305 doesn't register the device if there are errors306 allows retrying registration307 authentication308 when 2FA via OTP is disabled309 allows logging in with the U2F device310 when 2FA via OTP is enabled311 allows logging in with the U2F device312 when a given U2F device has already been registered by another user313 but not the current user314 does not allow logging in with that particular device315 and also the current user3162021-08-18 10:35:49 +0000 Rack app ("POST /-/profile/two_factor_auth/create_u2f" - (127.0.0.1)): #<ActiveRecord::StatementInvalid: PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block317>318 allows logging in with that particular device (PENDING: FakeU2fDevice has static key handle, leading to duplicate credential_xid for WebAuthn during migration, resulting in unique constraint violation)319 when a given U2F device has not been registered320 does not allow logging in with that particular device321 when more than one device has been registered by the same user322 allows logging in with either device323Merge request > User merges when pipeline succeeds324 when there is active pipeline for merge request325 enabling Merge when pipeline succeeds326 when enabled immediately327 behaves like Merge when pipeline succeeds activator328 activates the Merge when pipeline succeeds feature329 when enabled after it was previously canceled330 behaves like Merge when pipeline succeeds activator331 activates the Merge when pipeline succeeds feature332 when it was enabled and then canceled333 behaves like Merge when pipeline succeeds activator334 activates the Merge when pipeline succeeds feature335 when merge when pipeline succeeds is enabled336 allows to cancel the automatic merge337 allows to delete source branch338 when pipeline succeeds339 merges merge request340 view merge request with MWPS enabled but automatically merge fails341 shows information about the merge error342 view merge request with MWPS enabled but automatically merge fails343 shows information about the merge error344 when pipeline is not active345 does not allow to enable merge when pipeline succeeds346Create notes on issues347DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: shared/icons/_icon_arrow_right.svg (called from block in custom_icon at /builds/gitlab-org/gitlab/app/helpers/icons_helper.rb:14)348DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: shared/icons/_icon_arrow_right.svg (called from block in custom_icon at /builds/gitlab-org/gitlab/app/helpers/icons_helper.rb:14)349 highlights the current user in a comment350 mentioning issue on a private project351 behaves like notes with reference352 creates a note with reference and cross references the issue353 mentioning issue on an internal project354 behaves like notes with reference355 creates a note with reference and cross references the issue356 mentioning issue on a public project357 behaves like notes with reference358 creates a note with reference and cross references the issue359 mentioning merge request on a private project360 behaves like notes with reference361 creates a note with reference and cross references the issue362 mentioning merge request on an internal project363 behaves like notes with reference364 creates a note with reference and cross references the issue365 mentioning merge request on a public project366 behaves like notes with reference367 creates a note with reference and cross references the issue368Projects > Files > User creates a directory369 with default target branch370 creates the directory in the default branch371 does not create a directory with a name of already existed directory372 inside sub-folder373 creates new directory374 with a new target branch375 creates the directory in the new branch and redirect to the merge request376 when an user does not have write access377 creates a directory in a forked project378Group issues page379 with shared examples380 public access level381 group member382 is expected to have text "this is my created issuable"383 non-member384 is expected to have text "this is my created issuable"385 private access level386 group member387 is expected to have text "this is my created issuable"388 non-member389 is expected not to have text "this is my created issuable"390 rss feed391 when signed in392 behaves like an autodiscoverable RSS feed with current_user's feed token393 has an RSS autodiscovery link tag with current_user's feed token394 it has an RSS button with current_user's feed token395 shows the RSS button with current_user's feed token396 when signed out397 behaves like an autodiscoverable RSS feed without a feed token398 has an RSS autodiscovery link tag without a feed token399 it has an RSS button without a feed token400 shows the RSS button without a feed token401 assignee402 filters by only group users403 issues list404 returns all group and subgroup issues405 when project is archived406 does not render issue407 projects with issues disabled408 issue dropdown409 shows projects only with issues feature enabled410 manual ordering411 displays all issues412 has manual-ordering css applied413 each issue item has a user-can-drag css applied414 issues should be draggable and persist order415 issues should not be draggable when user is not logged in416 issues pagination417 shows the pagination418 first pagination item is active419issue header420 when user has permission to update421 within the issue actions dropdown menu422 only shows the "New issue" and "Report abuse" items423 when the issue is open424 has a "Close issue" button425 when the issue is closed426 has a "Reopen issue" button427 when the issue is closed and locked428 does not have a "Reopen issue" button429 when the current user is the issue author430 does not show "Report abuse" link in dropdown431 when user is admin and the project is set up for spam432 within the issue actions dropdown menu433 has "Submit as spam" item434 when user does not have permission to update435 within the issue actions dropdown menu436 only shows the "New issue" and "Report abuse" items437 when the issue is open438 does not have a "Close issue" button439 when the issue is closed440 does not have a "Reopen issue" button441 when the issue is closed and locked442 does not have a "Reopen issue" button443 when the current user is the issue author444 does not show "Report abuse" link in dropdown445Projects > Snippets > User comments on a snippet446 leaves a comment on a snippet447 has autocomplete448 has zen mode449User activates the instance-level Mattermost Slash Command integration450 shows a help message451 shows a token placeholder452 redirects to the integrations page after saving but not activating453 redirects to the integrations page after activating454 displays navigation tabs455User comments on issue456 when adding comments457 adds comment458 adds comment with code block459 renders HTML content as text in Mermaid460 opens autocomplete menu for quick actions and have `/label` first choice461 when editing comments462 edits comment463User sees user popover464 hovering over a user link in a merge request465 displays user popover466DEPRECATION WARNING: ActiveModel::Errors#keys is deprecated and will be removed in Rails 6.2.467To achieve the same use:468 errors.attribute_names (called from block (2 levels) in create at /builds/gitlab-org/gitlab/app/controllers/concerns/notes_actions.rb:65)469 displays user popover in system note470Import/Export - project import integration test471 when selecting the namespace472DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: shared/icons/_gitea_logo.svg (called from block in custom_icon at /builds/gitlab-org/gitlab/app/helpers/icons_helper.rb:14)473DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: shared/icons/_gitea_logo.svg (called from block in custom_icon at /builds/gitlab-org/gitlab/app/helpers/icons_helper.rb:14)474DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: shared/icons/_issues.svg (called from block in custom_icon at /builds/gitlab-org/gitlab/app/helpers/icons_helper.rb:14)475DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: shared/icons/_issues.svg (called from block in custom_icon at /builds/gitlab-org/gitlab/app/helpers/icons_helper.rb:14)476/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/carrierwave-1.3.2/lib/carrierwave/mounter.rb:113: warning: deprecated Object#=~ is called on TrueClass; it always returns nil477 user imports an exported project successfully478 invalid project479Private Project Snippets Access480 GET /:project_path/snippets481DEPRECATION WARNING: `.reorder(nil)` with `.first` / `.first!` no longer takes non-deterministic result in Rails 6.2. To continue taking non-deterministic result, use `.take` / `.take!` instead. (called from snippet_counts at /builds/gitlab-org/gitlab/app/services/snippets/count_service.rb:73)482 is allowed for admin when admin mode is enabled483 is denied for admin when admin mode is disabled484DEPRECATION WARNING: `.reorder(nil)` with `.first` / `.first!` no longer takes non-deterministic result in Rails 6.2. To continue taking non-deterministic result, use `.take` / `.take!` instead. (called from snippet_counts at /builds/gitlab-org/gitlab/app/services/snippets/count_service.rb:73)485DEPRECATION WARNING: `.reorder(nil)` with `.first` / `.first!` no longer takes non-deterministic result in Rails 6.2. To continue taking non-deterministic result, use `.take` / `.take!` instead. (called from snippet_counts at /builds/gitlab-org/gitlab/app/services/snippets/count_service.rb:73)486DEPRECATION WARNING: `.reorder(nil)` with `.first` / `.first!` no longer takes non-deterministic result in Rails 6.2. To continue taking non-deterministic result, use `.take` / `.take!` instead. (called from snippet_counts at /builds/gitlab-org/gitlab/app/services/snippets/count_service.rb:73)487DEPRECATION WARNING: `.reorder(nil)` with `.first` / `.first!` no longer takes non-deterministic result in Rails 6.2. To continue taking non-deterministic result, use `.take` / `.take!` instead. (called from snippet_counts at /builds/gitlab-org/gitlab/app/services/snippets/count_service.rb:73)488DEPRECATION WARNING: `.reorder(nil)` with `.first` / `.first!` no longer takes non-deterministic result in Rails 6.2. To continue taking non-deterministic result, use `.take` / `.take!` instead. (called from snippet_counts at /builds/gitlab-org/gitlab/app/services/snippets/count_service.rb:73)489 aggregate_failures490 GET /:project_path/snippets/new491 is allowed for admin when admin mode is enabled492 is denied for admin when admin mode is disabled493 aggregate_failures494 GET /:project_path/snippets/:id for a private snippet495 is allowed for admin when admin mode is enabled496 is denied for admin when admin mode is disabled497 aggregate_failures498 GET /:project_path/snippets/:id/raw for a private snippet499 is allowed for admin when admin mode is enabled500 is denied for admin when admin mode is disabled501 aggregate_failures502Projects > Settings > Pipelines settings503 for developer504 to be disallowed to view505 for maintainer506 be allowed to change507 updates auto_cancel_pending_pipelines508 updates forward_deployment_enabled509 Auto DevOps510 when auto devops is turned on instance-wide511 auto devops is on by default and can be manually turned off512 when auto devops is not turned on instance-wide513 auto devops is off by default and can be manually turned on514 when auto devops is turned on group level515 renders group enabled badge516 when auto devops is turned on group parent level517 renders group enabled badge518 runners registration token519 has a registration token520 reload registration token521 changes registration token522GraphiQL523 without relative_url_root524 has the correct graphQLEndpoint525 with relative_url_root526 has the correct graphQLEndpoint527Developer views tags528 when project has no tags529 displays a specific message530 when project has tags531 avoids a N+1 query in branches index532 views the tags list page533 views a specific tag page534 links on the tag page535 has a button to browse files536 has a button to browse commits537Users > Terms538 shows the terms539 does not show buttons to accept, decline or sign out540 when user is a project bot541 auto accepts the terms542 when signed in543 declining the terms544 returns the user to the app545 accepting the terms546 returns the user to the app547 when the user has already accepted the terms548 allows the user to continue to the app549 terms were enforced while session is active550 redirects to terms and back to where the user was going551 redirects back to the page the user was trying to save (PENDING: Temporarily skipped with xit)552 when the terms are enforced553 signing out554 allows the user to sign out without a response555Merge request > User sees deleted target branch556 shows a message about missing target branch557 does not show link to target branch558Projects > Members > Maintainer adds member with expiration date559 expiration date is displayed in the members list560 changes expiration date561 clears expiration date562Snippets tab on a user profile563 when the user has snippets564 pagination565 behaves like paginated snippets566 is limited to 20 items per page567 clicking on the link to the second page568 shows the remaining snippets569 list content570 contains only internal and public snippets of a user when a user is logged in571 contains only public snippets of a user when a user is not logged in572User visits the notifications tab573 turns on the receive product marketing emails setting574 changes the project notifications setting575 when project emails are disabled576 notification button is disabled577Admin::Users578 Tabs579 links to the Users tab580 links to the Cohorts tab581 redirects legacy route582 Cohorts tab content583 shows users count per month584User activates Emails on push585 activates service586Project navbar587 behaves like verified navigation bar588 renders correctly589 when value stream is available590 redirects to value stream when Analytics item is clicked591 when pages are available592 behaves like verified navigation bar593 renders correctly594 when container registry is available595 behaves like verified navigation bar596 renders correctly597Instance-level AWS EKS Cluster598 when user does not have a cluster and visits group clusters page599 when user creates a cluster on AWS EKS600 user sees a form to create an EKS cluster601Projects > Show > Schema Markup602 shows SoftwareSourceCode structured markup603User uploads avatar to profile604 they see their new avatar on their profile605 their new avatar is immediately visible in the header and setting sidebar606Dropdown milestone607 behavior608 loads all the milestones when opened609Tracings Content Security Policy610 when there is no global config611 does not add CSP directives612 when a global CSP config exists613 when external_url is set614 overwrites frame-src615 when external_url is not set616 uses global policy617Upload ci artifact618 behaves like handling file uploads619 with object storage disabled620 behaves like for ci artifact621 is expected to change `::Ci::JobArtifact.count` by 2622 is expected to eq 201623Merge request > User sees page metadata624 behaves like page meta description625 renders the page with description, og:description, and twitter:description meta tags that contains a plain-text version of the markdown626snippet editor with spam627 when SpamVerdictService requires recaptcha628 when allow_possible_spam feature flag is false629 behaves like does not allow creation630 rejects creation of the snippet (PENDING: Will be handled in https://gitlab.com/gitlab-org/gitlab/-/issues/217722)631 when allow_possible_spam feature flag is true632 behaves like solve reCAPTCHA633 creates a snippet after solving reCAPTCHA (PENDING: Will be handled in https://gitlab.com/gitlab-org/gitlab/-/issues/217722)634 when SpamVerdictService disallows635 when allow_possible_spam feature flag is false636 behaves like does not allow creation637 rejects creation of the snippet (PENDING: Will be handled in https://gitlab.com/gitlab-org/gitlab/-/issues/217722)638 when allow_possible_spam feature flag is true639 behaves like does not allow creation640 rejects creation of the snippet (PENDING: Will be handled in https://gitlab.com/gitlab-org/gitlab/-/issues/217722)641 when SpamVerdictService allows642 creates a snippet (PENDING: Will be handled in https://gitlab.com/gitlab-org/gitlab/-/issues/217722)643Knapsack report was generated. Preview:644{645 "spec/features/expand_collapse_diffs_spec.rb": 234.55415374000003,646 "spec/features/u2f_spec.rb": 105.08410728500002,647 "spec/features/merge_request/user_merges_when_pipeline_succeeds_spec.rb": 75.98083077800004,648 "spec/features/issues/notes_on_issues_spec.rb": 51.308978493999916,649 "spec/features/projects/files/user_creates_directory_spec.rb": 38.52055008499997,650 "spec/features/groups/issues_spec.rb": 39.13530521400003,651 "spec/features/issues/issue_header_spec.rb": 27.507244587999935,652 "spec/features/projects/snippets/user_comments_on_snippet_spec.rb": 29.022804768000015,653 "spec/features/admin/integrations/user_activates_mattermost_slash_command_spec.rb": 19.911752268999976,654 "spec/features/issues/user_comments_on_issue_spec.rb": 19.65570647200002,655 "spec/features/projects/user_sees_user_popover_spec.rb": 15.732439860999989,656 "spec/features/projects/import_export/import_file_spec.rb": 15.25012519400002,657 "spec/features/security/project/snippet/private_access_spec.rb": 11.871224546000008,658 "spec/features/projects/settings/pipelines_settings_spec.rb": 13.142959201999929,659 "spec/features/graphiql_spec.rb": 12.818050782,660 "spec/features/tags/developer_views_tags_spec.rb": 10.189093962000015,661 "spec/features/users/terms_spec.rb": 8.504192022999973,662 "spec/features/merge_request/user_sees_deleted_target_branch_spec.rb": 8.367573997000022,663 "spec/features/projects/members/master_adds_member_with_expiration_date_spec.rb": 7.547108841999943,664 "spec/features/users/snippets_spec.rb": 5.361717184999975,665 "spec/features/profiles/user_visits_notifications_tab_spec.rb": 5.443984157999921,666 "spec/features/admin/admin_users_spec.rb": 4.478119899999911,667 "spec/features/projects/services/user_activates_emails_on_push_spec.rb": 4.660907944000087,668 "spec/features/projects/navbar_spec.rb": 4.3484764160000395,669 "spec/features/admin/clusters/eks_spec.rb": 4.2729370309999695,670 "spec/features/projects/show/schema_markup_spec.rb": 3.6832573080000657,671 "spec/features/uploads/user_uploads_avatar_to_profile_spec.rb": 2.6835005369999863,672 "spec/features/issues/filtered_search/dropdown_milestone_spec.rb": 2.385984295999947,673 "spec/features/projects/tracings_spec.rb": 1.8364130749999958,674 "spec/features/file_uploads/ci_artifact_spec.rb": 1.113820228999998,675 "spec/features/merge_request/user_sees_page_metadata_spec.rb": 1.2783252859999266676}677Knapsack global time execution for tests: 13m 05s678Pending: (Failures listed here are expected and do not affect your suite's status)679 1) Using U2F (Universal 2nd Factor) Devices for Authentication registration allows the same device to be registered for multiple users680 # FakeU2fDevice has static key handle, leading to duplicate credential_xid for WebAuthn during migration, resulting in unique constraint violation681 Failure/Error:682 registration.update(certificate: registration_data.certificate,683 key_handle: registration_data.key_handle,684 public_key: registration_data.public_key,685 counter: registration_data.counter,686 user: user,687 name: params[:name])688 ActiveRecord::StatementInvalid:689 PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block690 # ./app/models/u2f_registration.rb:36:in `register'691 # ./app/controllers/profiles/two_factor_auths_controller.rb:80:in `create_u2f'692 # ./ee/lib/gitlab/ip_address_state.rb:10:in `with'693 # ./ee/app/controllers/ee/application_controller.rb:44:in `set_current_ip_address'694 # ./lib/gitlab/auth/current_user_mode.rb:72:in `with_current_admin'695 # ./app/controllers/application_controller.rb:486:in `set_current_admin'696 # ./lib/gitlab/session.rb:11:in `with_session'697 # ./app/controllers/application_controller.rb:474:in `set_session_storage'698 # ./lib/gitlab/i18n.rb:99:in `with_locale'699 # ./lib/gitlab/i18n.rb:105:in `with_user_locale'700 # ./app/controllers/application_controller.rb:468:in `set_locale'701 # ./app/controllers/application_controller.rb:462:in `set_current_context'702 # ./lib/gitlab/middleware/speedscope.rb:13:in `call'703 # ./lib/gitlab/request_profiler/middleware.rb:17:in `call'704 # ./lib/gitlab/query_limiting/middleware.rb:17:in `block in call'705 # ./lib/gitlab/query_limiting/transaction.rb:40:in `run'706 # ./lib/gitlab/query_limiting/middleware.rb:16:in `call'707 # ./lib/gitlab/jira/middleware.rb:19:in `call'708 # ./lib/gitlab/middleware/go.rb:20:in `call'709 # ./lib/gitlab/etag_caching/middleware.rb:21:in `call'710 # ./lib/gitlab/middleware/multipart.rb:172:in `call'711 # ./lib/gitlab/middleware/read_only/controller.rb:50:in `call'712 # ./lib/gitlab/middleware/read_only.rb:18:in `call'713 # ./lib/gitlab/middleware/same_site_cookies.rb:27:in `call'714 # ./lib/gitlab/middleware/handle_malformed_strings.rb:21:in `call'715 # ./lib/gitlab/middleware/basic_health_check.rb:25:in `call'716 # ./lib/gitlab/middleware/handle_ip_spoof_attack_error.rb:25:in `call'717 # ./lib/gitlab/middleware/request_context.rb:21:in `call'718 # ./config/initializers/fix_local_cache_middleware.rb:11:in `call'719 # ./lib/gitlab/middleware/static.rb:11:in `call'720 # ./lib/gitlab/testing/clear_process_memory_cache_middleware.rb:13:in `call'721 # ./lib/gitlab/testing/request_inspector_middleware.rb:33:in `call'722 # ./lib/gitlab/testing/robots_blocker_middleware.rb:30:in `call'723 # ./lib/gitlab/testing/request_blocker_middleware.rb:47:in `call'724 # ./lib/gitlab/middleware/rack_multipart_tempfile_factory.rb:19:in `call'725 # ./lib/gitlab/metrics/requests_rack_middleware.rb:74:in `call'726 # ------------------727 # --- Caused by: ---728 # PG::InFailedSqlTransaction:729 # ERROR: current transaction is aborted, commands ignored until end of transaction block730 # ./app/models/u2f_registration.rb:36:in `register'731 2) Using U2F (Universal 2nd Factor) Devices for Authentication authentication when a given U2F device has already been registered by another user and also the current user allows logging in with that particular device732 # FakeU2fDevice has static key handle, leading to duplicate credential_xid for WebAuthn during migration, resulting in unique constraint violation733 Failure/Error:734 registration.update(certificate: registration_data.certificate,735 key_handle: registration_data.key_handle,736 public_key: registration_data.public_key,737 counter: registration_data.counter,738 user: user,739 name: params[:name])740 ActiveRecord::StatementInvalid:741 PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block742 # ./app/models/u2f_registration.rb:36:in `register'743 # ./app/controllers/profiles/two_factor_auths_controller.rb:80:in `create_u2f'744 # ./ee/lib/gitlab/ip_address_state.rb:10:in `with'745 # ./ee/app/controllers/ee/application_controller.rb:44:in `set_current_ip_address'746 # ./lib/gitlab/auth/current_user_mode.rb:72:in `with_current_admin'747 # ./app/controllers/application_controller.rb:486:in `set_current_admin'748 # ./lib/gitlab/session.rb:11:in `with_session'749 # ./app/controllers/application_controller.rb:474:in `set_session_storage'750 # ./lib/gitlab/i18n.rb:99:in `with_locale'751 # ./lib/gitlab/i18n.rb:105:in `with_user_locale'752 # ./app/controllers/application_controller.rb:468:in `set_locale'753 # ./app/controllers/application_controller.rb:462:in `set_current_context'754 # ./lib/gitlab/middleware/speedscope.rb:13:in `call'755 # ./lib/gitlab/request_profiler/middleware.rb:17:in `call'756 # ./lib/gitlab/query_limiting/middleware.rb:17:in `block in call'757 # ./lib/gitlab/query_limiting/transaction.rb:40:in `run'758 # ./lib/gitlab/query_limiting/middleware.rb:16:in `call'759 # ./lib/gitlab/jira/middleware.rb:19:in `call'760 # ./lib/gitlab/middleware/go.rb:20:in `call'761 # ./lib/gitlab/etag_caching/middleware.rb:21:in `call'762 # ./lib/gitlab/middleware/multipart.rb:172:in `call'763 # ./lib/gitlab/middleware/read_only/controller.rb:50:in `call'764 # ./lib/gitlab/middleware/read_only.rb:18:in `call'765 # ./lib/gitlab/middleware/same_site_cookies.rb:27:in `call'766 # ./lib/gitlab/middleware/handle_malformed_strings.rb:21:in `call'767 # ./lib/gitlab/middleware/basic_health_check.rb:25:in `call'768 # ./lib/gitlab/middleware/handle_ip_spoof_attack_error.rb:25:in `call'769 # ./lib/gitlab/middleware/request_context.rb:21:in `call'770 # ./config/initializers/fix_local_cache_middleware.rb:11:in `call'771 # ./lib/gitlab/middleware/static.rb:11:in `call'772 # ./lib/gitlab/testing/clear_process_memory_cache_middleware.rb:13:in `call'773 # ./lib/gitlab/testing/request_inspector_middleware.rb:33:in `call'774 # ./lib/gitlab/testing/robots_blocker_middleware.rb:30:in `call'775 # ./lib/gitlab/testing/request_blocker_middleware.rb:47:in `call'776 # ./lib/gitlab/middleware/rack_multipart_tempfile_factory.rb:19:in `call'777 # ./lib/gitlab/metrics/requests_rack_middleware.rb:74:in `call'778 # ------------------779 # --- Caused by: ---780 # PG::InFailedSqlTransaction:781 # ERROR: current transaction is aborted, commands ignored until end of transaction block782 # ./app/models/u2f_registration.rb:36:in `register'783 3) Users > Terms when signed in terms were enforced while session is active redirects back to the page the user was trying to save784 # Temporarily skipped with xit785 # ./spec/features/users/terms_spec.rb:116786 4) snippet editor with spam when SpamVerdictService requires recaptcha when allow_possible_spam feature flag is false behaves like does not allow creation rejects creation of the snippet787 # Will be handled in https://gitlab.com/gitlab-org/gitlab/-/issues/217722788 # ./spec/features/snippets/spam_snippets_spec.rb:59789 5) snippet editor with spam when SpamVerdictService requires recaptcha when allow_possible_spam feature flag is true behaves like solve reCAPTCHA creates a snippet after solving reCAPTCHA790 # Will be handled in https://gitlab.com/gitlab-org/gitlab/-/issues/217722791 # ./spec/features/snippets/spam_snippets_spec.rb:44792 6) snippet editor with spam when SpamVerdictService disallows when allow_possible_spam feature flag is false behaves like does not allow creation rejects creation of the snippet793 # Will be handled in https://gitlab.com/gitlab-org/gitlab/-/issues/217722794 # ./spec/features/snippets/spam_snippets_spec.rb:59795 7) snippet editor with spam when SpamVerdictService disallows when allow_possible_spam feature flag is true behaves like does not allow creation rejects creation of the snippet796 # Will be handled in https://gitlab.com/gitlab-org/gitlab/-/issues/217722797 # ./spec/features/snippets/spam_snippets_spec.rb:59798 8) snippet editor with spam when SpamVerdictService allows creates a snippet799 # Will be handled in https://gitlab.com/gitlab-org/gitlab/-/issues/217722800 # ./spec/features/snippets/spam_snippets_spec.rb:116801Finished in 13 minutes 7 seconds (files took 45.34 seconds to load)802181 examples, 0 failures, 8 pending803Failed to write to log, write log/workhorse-test.log: file already closed804Wed 18 Aug 2021 10:43:48 AM UTC806Not uploading cache ruby-gems-v1-4 due to policy807Not uploading cache gitaly-ruby-gems-v1-4 due to policy809Uploading artifacts...810coverage/: found 5 matching files and directories 811WARNING: crystalball/: no matching files 812deprecations/: found 17 matching files and directories 813knapsack/: found 3 matching files and directories 814rspec_flaky/: found 4 matching files and directories 815rspec_profiling/: found 1 matching files and directories 816WARNING: tmp/capybara/: no matching files 817tmp/memory_test/: found 2 matching files and directories 818log/*.log: found 18 matching files and directories 819Uploading artifacts as "archive" to coordinator... ok id=1512821964 responseStatus=201 Created token=Z9X-uPrj820Uploading artifacts...821junit_rspec.xml: found 1 matching files and directories 822Uploading artifacts as "junit" to coordinator... ok id=1512821964 responseStatus=201 Created token=Z9X-uPrj824Job succeeded