rspec system pg12 minimal 18/24
Failed Started
by
@calebcooper
Caleb Cooper
1Running with gitlab-runner 14.6.0~beta.30.g4c96395a (4c96395a)2 on blue-2.private.runners-manager.gitlab.com/gitlab.com/gitlab-org QvBVRoXM3 feature flags: FF_USE_FASTZIP:true6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-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:58bff76313464ab65dcb0b9a2b910c815e8975d827c456ca7f46d69482956d5e for postgres:12 with digest postgres@sha256:1d098cd3c1a7b132edc5bfdd7d775ff0949104b150e31d52c0aff7bdcd25c53e ...10Starting service redis:5.0-alpine ...11Pulling docker image redis:5.0-alpine ...12Using docker image sha256:1746b159f8934fe63cae3984643ee8c5651bcfc80ae107032a60f2871a0e7cdb for redis:5.0-alpine with digest redis@sha256:a04b57e05b784a406bc818f6b450233328c4115a1e1f104d84ce916eb1583925 ...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.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36 ...16Using docker image sha256:5b9920187fd97abe77ba8b8a3c8029b970dbace758fd2dc8756c2976a4bff96d for registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-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:4ab23b0728c6791b71363fe9413ab1d284f8d163988ebd8823dfb84f31aafe00 ...18Running on runner-qvbvroxm-project-278964-concurrent-0 via runner-qvbvroxm-private-1641932663-027167fa...20$ eval "$CI_PRE_CLONE_SCRIPT"21Fetching changes with git depth set to 20...22Initialized empty Git repository in /builds/gitlab-org/gitlab/.git/23Created fresh repository.24remote: Enumerating objects: 111763, done. 25remote: Counting objects: 100% (111763/111763), done. 26remote: Compressing objects: 100% (80360/80360), done. 27remote: Total 111763 (delta 45202), reused 77112 (delta 26855), pack-reused 0 28Receiving objects: 100% (111763/111763), 117.19 MiB | 29.74 MiB/s, done.29Resolving deltas: 100% (45202/45202), done.31 * [new ref] 8b187ef0ef95db412e8ad8539482c1cda56e3882 -> refs/pipelines/44601709632Checking out 8b187ef0 as refs/merge-requests/78012/merge...33Skipping Git submodules setup35Checking cache for ruby-gems-v1-9...36cache.zip is up to date 37Successfully extracted cache38Checking cache for gitaly-ruby-gems-v1-9...39cache.zip is up to date 40Successfully extracted cache42Downloading artifacts for compile-test-assets (1964680746)...43Downloading artifacts from coordinator... ok id=1964680746 responseStatus=200 OK token=cPSGp24z44Downloading artifacts for detect-tests (1964680763)...45Downloading artifacts from coordinator... ok id=1964680763 responseStatus=200 OK token=ssXzdKDP46Downloading artifacts for retrieve-tests-metadata (1964680779)...47Downloading artifacts from coordinator... ok id=1964680779 responseStatus=200 OK token=WFaefGyj48Downloading artifacts for setup-test-env (1964680753)...49Downloading artifacts from coordinator... ok id=1964680753 responseStatus=200 OK token=dMKejz9Q51Using docker image sha256:5b9920187fd97abe77ba8b8a3c8029b970dbace758fd2dc8756c2976a4bff96d for registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-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:4ab23b0728c6791b71363fe9413ab1d284f8d163988ebd8823dfb84f31aafe00 ...52$ echo $FOSS_ONLY53$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb54$ export GOPATH=$CI_PROJECT_DIR/.go55$ mkdir -p $GOPATH56$ source scripts/utils.sh57$ source scripts/prepare_build.sh58Bundler version 2.1.459production:development60Settings are listed in order of priority. The top value will be used.61path62Set for the current user (/root/.bundle/config): "/builds/gitlab-org/gitlab/vendor"63clean64Set for the current user (/root/.bundle/config): "true"65without66Set via BUNDLE_WITHOUT: [:production, :development]67install_flags68Set via BUNDLE_INSTALL_FLAGS: "--jobs=$(nproc) --retry=3 --quiet"69$ bundle install --jobs=$(nproc) --retry=3 --quiet && bundle check70The Gemfile's dependencies are satisfied71==> 'bundle install --jobs=$(nproc) --retry=3 --quiet && bundle check' succeeded in 2 seconds.72$ bundle pristine pg73Installing pg 1.2.3 with native extensions74==> 'bundle pristine pg' succeeded in 8 seconds.75$ setup_db_user_only76CREATE ROLE77GRANT78==> 'setup_db_user_only' succeeded in 0 seconds.79$ bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee80Dropped database 'gitlabhq_test'81Dropped database 'gitlabhq_geo_test'82Created database 'gitlabhq_test'83Created database 'gitlabhq_geo_test'84DEPRECATION 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)85Dropped database 'gitlabhq_geo_test'86Created database 'gitlabhq_geo_test'87==> 'bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee' succeeded in 26 seconds.88$ run_timed_command "gem install knapsack --no-document"89$ gem install knapsack --no-document90Successfully installed knapsack-4.0.0911 gem installed92==> 'gem install knapsack --no-document' succeeded in 0 seconds.93$ run_timed_command "scripts/gitaly-test-spawn"94$ scripts/gitaly-test-spawn95Don't run Bundler as root. Bundler can ask for sudo if it is needed, and96installing your bundle as root will break this application for all non-root97users on this machine.98Using abstract_type 0.0.799Using concurrent-ruby 1.1.9100Using i18n 1.8.10101Using minitest 5.14.4102Using tzinfo 2.0.4103Using zeitwerk 2.4.2104Using activesupport 6.1.4.1105Using builder 3.2.4106Using erubi 1.10.0107Using mini_portile2 2.5.1108Using racc 1.5.2109Using nokogiri 1.11.7 (x86_64-linux)110Using rails-dom-testing 2.0.3111Using crass 1.0.6112Using loofah 2.12.0113Using rails-html-sanitizer 1.4.2114Using actionview 6.1.4.1115Using rack 2.2.3116Using rack-test 1.1.0117Using actionpack 6.1.4.1118Using ice_nine 0.11.2119Using thread_safe 0.3.6120Using memoizable 0.4.2121Using adamantium 0.2.0122Using public_suffix 4.0.6123Using addressable 2.7.0124Using ast 2.4.2125Using binding_ninja 0.2.3126Using bundler 2.1.4127Using charlock_holmes 0.7.7128Using coderay 1.1.2129Using equalizer 0.0.11130Using concord 0.1.5131Using diff-lcs 1.3132Using dotenv 2.7.6133Using escape_utils 1.2.1134Using factory_bot 5.0.2135Using multipart-post 2.1.1136Using faraday 1.0.1137Using ffi 1.15.3138Using json 2.5.1139Using gemojione 3.3.0140Using mini_mime 1.0.2141Using rugged 1.2.0142Using github-linguist 7.12.1143Using github-markup 1.7.0144Using mime-types-data 3.2020.1104145Using mime-types 3.3.1146Using gitlab-gollum-rugged_adapter 0.4.4.4.gitlab.1147Using rouge 3.26.0148Using nokogumbo 1.5.0149Using sanitize 4.6.6150Using stringex 2.8.5151Using gitlab-gollum-lib 4.2.7.10.gitlab.1152Using google-protobuf 3.17.3 (x86_64-linux)153Using googleapis-common-protos-types 1.1.0154Using grpc 1.30.2 (x86_64-linux)155Using opentracing 0.5.0156Using thrift 0.15.0157Using jaeger-client 1.1.0158Using pg_query 2.1.1159Using redis 4.4.0160Using gitlab-labkit 0.21.2161Using rubyzip 2.3.2162Using thor 1.1.0163Using tomlrb 2.0.1164Using with_env 1.1.0165Using rexml 3.2.5166Using xml-simple 1.1.9167Using gitlab-license_finder 6.14.2.1168Using gitlab-markup 1.7.1169Using grpc-tools 1.30.2170Using sawyer 0.8.2171Using octokit 4.20.0172Using reverse_markdown 1.4.0173Using licensee 9.14.1174Using method_source 0.9.2175Using msgpack 1.3.3176Using optimist 3.0.1177Using parallel 1.19.2178Using parser 3.0.3.2179Using procto 0.0.3180Using unparser 0.4.7181Using proc_to_ast 0.1.0182Using pry 0.12.2183Using rainbow 3.0.0184Using rbtrace 0.4.14185Using rdoc 6.3.2186Using regexp_parser 1.8.1187Using rspec-support 3.8.0188Using rspec-core 3.8.0189Using rspec-expectations 3.8.3190Using rspec-mocks 3.8.0191Using rspec 3.8.0192Using rspec-parameterized 0.4.2193Using rubocop-ast 0.2.0194Using ruby-progressbar 1.10.1195Using unicode-display_width 1.7.0196Using rubocop 0.86.0197Using sentry-raven 3.0.4198Using timecop 0.9.1199Bundle complete! 22 Gemfile dependencies, 101 gems now installed.200Gems in the groups production and development were not installed.201Bundled gems are installed into `/builds/gitlab-org/gitlab/vendor/gitaly-ruby`202Checking gitaly-ruby Gemfile...203Checking gitaly-ruby bundle...204The Gemfile's dependencies are satisfied205Trying to connect to gitaly: ............................................ OK206Trying to connect to gitaly2: ........................................................... OK207Trying to connect to praefect: ........ OK208==> 'scripts/gitaly-test-spawn' succeeded in 13 seconds.209$ source ./scripts/rspec_helpers.sh210$ rspec_paralellized_job "--tag ~quarantine --tag ~geo --tag ~level:migration"211KNAPSACK_TEST_FILE_PATTERN: spec/{features}{,/**/}*_spec.rb212SKIP_FLAKY_TESTS_AUTOMATICALLY: true213Knapsack report generator started!214Run options: exclude {:quarantine=>true, :geo=>true, :level=>"migration"}215==> /builds/gitlab-org/gitlab/tmp/tests/gitlab-test_bare set up in 0.033024707 seconds...216Test environment set up in 0.428902033 seconds217Projects > Files > User edits files218Starting the Capybara driver server...219 when an user has write access220Capybara starting Puma...221* Version 5.5.2 , codename: Zawgyi222* Min threads: 0, max threads: 4223* Listening on unix:///tmp/20220111-447-1lwyy0m224 inserts a content of a file225 does not show the edit link if a file is binary226 commits an edited file227 commits an edited file to a new branch228 shows the diff of an edited file229 behaves like unavailable for an archived project230 does not show the edit link for an archived project231 when an user does not have write access232 inserts a content of a file in a forked project233 opens the Web IDE in a forked project234 commits an edited file in a forked project235 when the user already had a fork of the project236 links to the forked project for editing237 behaves like unavailable for an archived project238 does not show the edit link for an archived project239 when feature flag :consolidated_edit_button is off240 when an user does not have write access241 inserts a content of a file in a forked project242 opens the Web IDE in a forked project243 commits an edited file in a forked project244 when the user already had a fork of the project245 links to the forked project for editing246 behaves like unavailable for an archived project247 does not show the edit link for an archived project248Admin::Users249 GET /admin/users250 is ok251 has users list252 clicking edit user takes us to edit page253 user project count254 displays count of users projects255 tabs256 has multiple tabs to filter users (FAILED - 1)2581st Try error in ./spec/features/admin/users/users_spec.rb:78:259expected to find link "2FA Enabled" with href "/admin/users?filter=two_factor_enabled" but there were no matches260Unexpected browser console output:261webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"262http://127.0.0.1:37807/namespace1/shop/-/edit/master/.gitignore - Blocked attempt to show a 'beforeunload' confirmation panel for a frame that never had a user gesture since its load. https://www.chromestatus.com/feature/5082396709879808263webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"264webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"265webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"266http://127.0.0.1:37807/assets/webpack/dll.bafa931f53e3/vendor.dll.bundle.js 324090:14 "[Vue warn]: Error in beforeCreate hook: \"TypeError: Cannot read property 'headerLevel' of undefined\"\n\nfound in\n\n---> \u003CGlAccordion>\n \u003CApp> at ee/app/assets/javascripts/approvals/components/mr_edit/app.vue\n \u003CRoot>"267http://127.0.0.1:37807/assets/webpack/dll.bafa931f53e3/vendor.dll.bundle.js 325357:12 TypeError: Cannot read property 'headerLevel' of undefined268 at VueComponent.proxyGetter [as headerLevel] (http://127.0.0.1:37807/assets/webpack/dll.bafa931f53e3/vendor.dll.bundle.js:328093:27)269 at VueComponent.provide (webpack-internal:///UKdF:14:32)270 at VueComponent.mergedDataFn (http://127.0.0.1:37807/assets/webpack/dll.bafa931f53e3/vendor.dll.bundle.js:324691:51)271 at VueComponent.initProvider (webpack-internal:///GiFX:1867:76)272 at VueComponent.beforeCreate (webpack-internal:///GiFX:2002:20)273 at invokeWithErrorHandling (http://127.0.0.1:37807/assets/webpack/dll.bafa931f53e3/vendor.dll.bundle.js:325324:57)274 at callHook (http://127.0.0.1:37807/assets/webpack/dll.bafa931f53e3/vendor.dll.bundle.js:327684:7)275 at VueComponent.Vue._init (http://127.0.0.1:37807/assets/webpack/dll.bafa931f53e3/vendor.dll.bundle.js:328465:5)276 at new VueComponent (http://127.0.0.1:37807/assets/webpack/dll.bafa931f53e3/vendor.dll.bundle.js:328615:12)277 at createComponentInstanceForVnode (http://127.0.0.1:37807/assets/webpack/dll.bafa931f53e3/vendor.dll.bundle.js:326751:10)278webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"279webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"280webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"281webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"282http://127.0.0.1:37807/namespace7/another-project/-/edit/master/.gitignore - Blocked attempt to show a 'beforeunload' confirmation panel for a frame that never had a user gesture since its load. https://www.chromestatus.com/feature/5082396709879808283webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"284http://127.0.0.1:37807/user8/another-project/ide_terminals/check_config - Failed to load resource: the server responded with a status of 422 (Unprocessable Entity)285webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"286webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"287webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"288webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"289webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"290webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"291webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"292webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"293http://127.0.0.1:37807/namespace12/another-project/-/edit/master/.gitignore - Blocked attempt to show a 'beforeunload' confirmation panel for a frame that never had a user gesture since its load. https://www.chromestatus.com/feature/5082396709879808294webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"295webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"296http://127.0.0.1:37807/user13/another-project/ide_terminals/check_config - Failed to load resource: the server responded with a status of 422 (Unprocessable Entity)297webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"298webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"299webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"300webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"301webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"302webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"303webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"304webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"305webpack-internal:///lRsd 16:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"307RSpec::Retry: 2nd try ./spec/features/admin/users/users_spec.rb:783092nd Try error in ./spec/features/admin/users/users_spec.rb:78:310expected to find link "2FA Enabled" with href "/admin/users?filter=two_factor_enabled" but there were no matches311 RSpec::Retry: 3rd try ./spec/features/admin/users/users_spec.rb:783133rd Try error in ./spec/features/admin/users/users_spec.rb:78:314expected to find link "2FA Enabled" with href "/admin/users?filter=two_factor_enabled" but there were no matches315 RSpec::Retry: 4th try ./spec/features/admin/users/users_spec.rb:78316 HTML screenshot: /builds/gitlab-org/gitlab/tmp/capybara/admin_users_get_admin_users_tabs_has_multiple_tabs_to_filter_users.html317 Image screenshot: /tmp/capybara/admin_users_get_admin_users_tabs_has_multiple_tabs_to_filter_users.png318 `Pending approval` tab319 shows the `Pending approval` tab (FAILED - 2)3211st Try error in ./spec/features/admin/users/users_spec.rb:94:322expected to find link "Pending approval" with href "/admin/users?filter=blocked_pending_approval" but there were no matches324RSpec::Retry: 2nd try ./spec/features/admin/users/users_spec.rb:943262nd Try error in ./spec/features/admin/users/users_spec.rb:94:327expected to find link "Pending approval" with href "/admin/users?filter=blocked_pending_approval" but there were no matches328 RSpec::Retry: 3rd try ./spec/features/admin/users/users_spec.rb:943303rd Try error in ./spec/features/admin/users/users_spec.rb:94:331expected to find link "Pending approval" with href "/admin/users?filter=blocked_pending_approval" but there were no matches332 RSpec::Retry: 4th try ./spec/features/admin/users/users_spec.rb:94333 HTML screenshot: /builds/gitlab-org/gitlab/tmp/capybara/admin_users_get_admin_users_tabs_pending_approval_tab_shows_the_pending_approval_tab.html334 Image screenshot: /tmp/capybara/admin_users_get_admin_users_tabs_pending_approval_tab_shows_the_pending_approval_tab.png335 search and sort336 searches users by name337 sorts users by name338 sorts search results only339 searches with respect of sorting340 sorts users by recent last activity341 sorts users by oldest last activity342 Two-factor Authentication filters343 counts users who have enabled 2FA344 filters by users who have enabled 2FA345 counts users who have not enabled 2FA346 filters by users who have not enabled 2FA347 Pending approval filter348 counts users who are pending approval349 filters by users who are pending approval350 when blocking/unblocking a user351 shows confirmation and allows blocking and unblocking352 when deactivating/re-activating a user353 shows confirmation and allows deactivating and re-activating354 internal users355 when showing a `Ghost User`356 does not render actions dropdown357 when showing a `Bot User`358 does not render actions dropdown359 user group count360Skipping ./spec/features/admin/users/users_spec.rb[1:1:13:1] 'Admin::Users GET /admin/users user group count displays count of the users authorized groups' because it's flaky.361 displays count of the users authorized groups (PENDING: around hook at ./spec/support/flaky_tests.rb:21 did not execute the example)362 GET /admin/users/new363 creates new user364 applies defaults to user365 creates user with valid data366 calls send mail367 sends valid email to user with email & password368 username contains spaces369 doesn't create the user and shows an error message370 with new users set to external enabled371 with regex to match internal user email address set372 automatically unchecks external for matching email373 creates an internal user374 GET /admin/users/:id/projects375 lists groups376 allows navigation to the group details377 shows the group access level378 allows group membership to be revoked379 show breadcrumbs380 is expected to have text "Edit Identity"381 GET /admin/users/:id/edit382 Update user383 shows page with new data384 changes user entry385 update username to non ascii char386 is expected to have visible css "form[action=\"/admin/users/user17\"]"387User edits snippet388 displays the snippet blob path and content389 updates the snippet390 updates the snippet with files attached391 updates the snippet to make it internal392 updates the snippet to make it public393 when the git operation fails394 renders edit page and displays the error395Merge request > User posts notes396 the note form397 is valid398 with text399 has enable submit button, preview button and saves content to local storage400 when posting a note401 is added and form reset402 reply button403 shows a reply button404 shows reply placeholder when clicking reply button405 replying to a comment406 makes the discussion resolvable407 when comment is deleted408 shows an error message409 when previewing a note410 shows the toolbar buttons when editing a note411 hides the toolbar buttons when previewing a note412 when editing a note413 editing the note414Skipping ./spec/features/merge_request/user_posts_notes_spec.rb[1:5:1:1] 'Merge request > User posts notes when editing a note editing the note shows the note edit form and hide the note body' because it's flaky.415 shows the note edit form and hide the note body (PENDING: around hook at ./spec/support/flaky_tests.rb:21 did not execute the example)416 resets the edit note form textarea with the original content of the note if cancelled417 allows using markdown buttons after saving a note and then trying to edit it again418Skipping ./spec/features/merge_request/user_posts_notes_spec.rb[1:5:1:4] 'Merge request > User posts notes when editing a note editing the note appends the edited at time to the note' because it's flaky.419 appends the edited at time to the note (PENDING: around hook at ./spec/support/flaky_tests.rb:21 did not execute the example)420 deleting attachment on legacy diff note421 shows the delete link (PENDING: Temporarily skipped with xit)422 removes the attachment div and resets the edit form (PENDING: Temporarily skipped with xit)423User comments on a diff424 single suggestion note425 hides suggestion popover426 suggestion is presented427 allows suggestions in replies428 suggestion is appliable429 applying suggestions in batches430 can add and remove suggestions from a batch431 multi-line suggestions432 suggestion is appliable433 resolves discussion when applied434Projects > Files > Template type dropdown selector435 editing a non-matching file436 not displayed437 selects every template type correctly438 updates template type toggle value when template is chosen439 editing a matching file440 displayed441 selects every template type correctly442 user previews changes443 type selector is hidden and shown correctly444 creating a matching file445 is displayed446 toggle is set to the correct value447 sets the toggle text when selecting the template type448 selects every template type correctly449 creating a file450 type selector is shown451 toggle is set to the proper value452 selects every template type correctly453Merge request > User merges only if pipeline succeeds454 project does not have CI enabled455 allows MR to be merged456 when project has CI enabled457 when merge requests can only be merged if the pipeline succeeds458 when CI is running459 does not allow to merge immediately460 when CI failed461 does not allow MR to be merged462 when CI canceled463 does not allow MR to be merged464 when CI succeeded465 allows MR to be merged466 when CI skipped467 does not allow MR to be merged468 when merge requests can be merged when the build failed469 when CI is running470 allows MR to be merged immediately471 when CI failed472 allows MR to be merged473 when CI succeeded474 allows MR to be merged475Issue board filters476 filters by assignee477 behaves like loads all the users when opened478 and submit one as filter479 filters by author480 behaves like loads all the users when opened481 and submit one as filter482 filters by label483 loads all the labels when opened and submit one as filter484 filters by releases485 loads all the releases when opened and submit one as filter486 filters by confidentiality487 loads all the confidentiality options when opened and submit one as filter488 filters by milestone489 loads all the milestones when opened and submit one as filter490 filters by reaction emoji491 loads all the emojis when opened and submit one as filter492 filters by type493 loads all the types when opened and submit one as filter494issue header495 when user has permission to update496 within the issue actions dropdown menu497 shows the "New issue", "Report abuse", and "Delete issue" items498 when the issue is open499 has a "Close issue" button500 when the issue is closed501 has a "Reopen issue" button502 when the issue is closed and locked503 does not have a "Reopen issue" button504 when the current user is the issue author505 does not show "Report abuse" link in dropdown506 when user is admin and the project is set up for spam507 within the issue actions dropdown menu508 has "Submit as spam" item509 when user does not have permission to update510 within the issue actions dropdown menu511 only shows the "New issue" and "Report abuse" items512 when the issue is open513 does not have a "Close issue" button514 when the issue is closed515 does not have a "Reopen issue" button516 when the issue is closed and locked517 does not have a "Reopen issue" button518 when the current user is the issue author519 does not show "Report abuse" link in dropdown520Admin::Hooks521 GET /admin/hooks522 is ok523 has hooks list524 renders plugins list as well525 New Hook526 adds new hook527 Update existing hook528 updates existing hook529 Remove existing hook530 removes existing hook531 from hooks list page532 from hook edit page533 Test534 is expected to eq "/admin/hooks"535 Merge request hook536 New Hook537 adds new hook538 Test539 succeeds if the user has a repository with a merge request540Group Badges541 shows a list of badges542 adding a badge543 user can preview a badge544 is expected to eq "http://127.0.0.1:37807/group5/project42/badges/master/pipeline.svg"545 editing a badge546 form is shown when clicking edit button in list547 updates a badge when submitting the edit form548 deleting a badge549 shows a modal when deleting a badge550 deletes a badge when confirming the modal551Profile > Account552 Social sign-in553 when an identity does not exist554 allows the user to connect555 when an identity already exists556 allows the user to disconnect when there is an existing identity557 shows active for a provider that is not allowed to unlink558 Change username559 the user is accessible via the new path560 the old user path redirects to the new path561 with a project562 the project is accessible via the new path563 the old project path redirects to the new path564 Delete account565 when there are no personal projects566 does not show personal projects removal message567 when one personal project exists568 does show personal project removal message569 when more than one personal projects exists570 shows pluralized personal project removal message571viewing an issue with cross project references572 shows all information related to the cross project reference573 shows a link to the confidential issue in the same project574 does not show the link to a cross project confidential issue when the user does not have access575 shows the link to a cross project confidential issue when the user has access576 when an external authorization service is enabled577 only hits the external service for the project the user is viewing578 shows only the link to the cross project references579 does not link a cross project confidential issue if the user does not have access580 links a cross project confidential issue without exposing information when the user has access581 shows a link to the confidential issue in the same project582User interacts with deploy keys583 viewing deploy keys584 when project has keys585 shows deploy keys586 when another project has keys587 shows deploy keys588 when there are public deploy keys589 shows public deploy keys590 adding deploy keys591 adds new key592 attaching existing keys593 from another project594 behaves like attaches a key595 attaches key596 when keys are public597 behaves like attaches a key598 attaches key599Admin Jobs600 GET /admin/jobs601 All tab602 when have jobs603 shows all jobs604 when have no jobs605 shows a message606 Pending tab607 when have pending jobs608 shows pending jobs609 when have no jobs pending610 shows a message611 Running tab612 when have running jobs613 shows running jobs614 when have no jobs running615 shows a message616 Finished tab617 when have finished jobs618 shows finished jobs619 when have no jobs finished620 shows a message621Groups > Members > Leave group622 guest leaves the group623 guest leaves the group by url param624 guest leaves the group as last member625 owner leaves the group if they are not the last owner626 owner can not leave the group if they are the last owner627 owner can not leave the group by url param if they are the last owner628User rebases a merge request629 when merge is regular630 behaves like rebases631 rebases632 when merge is ff-only633 behaves like rebases634 rebases635User views tags636 rss637 when project public638 when user signed in639 behaves like it has an RSS button with current_user's feed token640 shows the RSS button with current_user's feed token641 behaves like an autodiscoverable RSS feed with current_user's feed token642 has an RSS autodiscovery link tag with current_user's feed token643 behaves like has access to the tags RSS feed644DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: layouts/xml.atom (called from render at /builds/gitlab-org/gitlab/app/controllers/application_controller.rb:133)645DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: layouts/xml.atom (called from render at /builds/gitlab-org/gitlab/app/controllers/application_controller.rb:133)646 is expected to respond with numeric status code ok647 when user signed out648 behaves like it has an RSS button without a feed token649 shows the RSS button without a feed token650 behaves like an autodiscoverable RSS feed without a feed token651 has an RSS autodiscovery link tag without a feed token652 behaves like has access to the tags RSS feed653 is expected to respond with numeric status code ok654 when project is not public655 when user signed in656 behaves like has access to the tags RSS feed657 is expected to respond with numeric status code ok658 when user signed out659 behaves like does not have access to the tags RSS feed660 is expected to eq "/users/sign_in"661user reads pipeline status662 behaves like visiting project tree663 sees the correct pipeline status664 behaves like visiting project tree665 sees the correct pipeline status666User searches for comments667 when search times out668 renders timeout information669 sets tab count to 0670 when a comment is in commits671 when comment belongs to an invalid commit672 finds a commit673 when a comment is in a snippet674 finds a snippet675User activates Atlassian Bamboo CI676 activates service677User filters Incident Management table by status678 when a developer displays the incident list they can filter the table by an incident status679 shows the incident table items with incident status of Open by default680 shows the incident table items with incident status of Closed681 shows the incident table items with all status682Admin Health Check683 #show684 has a health check access token685 reload access token686 changes the access token687 when services are up688 shows healthy status689 when a service is down690 shows unhealthy status691Profile > Notifications > User changes notified_of_own_activity setting692 user opts into receiving notifications about their own activity693 user opts out of receiving notifications about their own activity694Group activity page695 when signed in696 RSS697 behaves like it has an RSS button with current_user's feed token698 shows the RSS button with current_user's feed token699 behaves like an autodiscoverable RSS feed with current_user's feed token700 has an RSS autodiscovery link tag with current_user's feed token701 when project is in the group702 renders user joined to project event703 when signed out704 behaves like it has an RSS button without a feed token705 shows the RSS button without a feed token706 behaves like an autodiscoverable RSS feed without a feed token707 has an RSS autodiscovery link tag without a feed token708Projects > Settings > User archives a project709 when a project is archived710 unarchives a project711 when a project is unarchived712 archives a project713Merge Request > User tries to access private project information through the new mr page714 when the user enters the querystring info for the other project715 does not mention the project the user can't see the repo of716 when the user enters label information from the private project in the querystring717 does not expose the label name718Projects > Settings > LFS settings719 LFS enabled setting720 for maintainer721 displays the correct elements722Issues > User resets their incoming email token723 changes incoming email address token724Projects > Files > User wants to edit a file725 file has been updated since the user opened the edit page726Projects > Members > Owner cannot request access to their own project727 owner does not see the request access button728Knapsack report was generated. Preview:729{730 "spec/features/projects/files/user_edits_files_spec.rb": 218.92721597499985,731 "spec/features/admin/users/users_spec.rb": 643.883515775,732 "spec/features/snippets/user_edits_snippet_spec.rb": 90.26931746400078,733 "spec/features/merge_request/user_posts_notes_spec.rb": 74.78524753700003,734 "spec/features/merge_request/user_suggests_changes_on_diff_spec.rb": 59.71057187999941,735 "spec/features/projects/files/template_type_dropdown_spec.rb": 51.177708303001054,736 "spec/features/merge_request/user_merges_only_if_pipeline_succeeds_spec.rb": 46.75588765400062,737 "spec/features/boards/board_filters_spec.rb": 36.930712814999424,738 "spec/features/issues/issue_header_spec.rb": 37.76870392000092,739 "spec/features/admin/admin_hooks_spec.rb": 24.906508480999037,740 "spec/features/groups/settings/group_badges_spec.rb": 26.20748132100016,741 "spec/features/profiles/account_spec.rb": 19.330048153999087,742 "spec/features/projects/issues/viewing_issues_with_external_authorization_enabled_spec.rb": 20.149489228000675,743 "spec/features/projects/settings/user_interacts_with_deploy_keys_spec.rb": 19.400083566999456,744 "spec/features/admin/admin_jobs_spec.rb": 14.843856306000816,745 "spec/features/groups/members/leave_group_spec.rb": 15.742699952999828,746 "spec/features/merge_request/user_rebases_merge_request_spec.rb": 11.508603443000538,747 "spec/features/projects/tags/user_views_tags_spec.rb": 10.065158575000169,748 "spec/features/projects/files/user_reads_pipeline_status_spec.rb": 7.1691606210006285,749 "spec/features/search/user_searches_for_comments_spec.rb": 8.756591994999326,750 "spec/features/projects/integrations/user_activates_atlassian_bamboo_ci_spec.rb": 7.792931444000715,751 "spec/features/incidents/user_filters_incidents_by_status_spec.rb": 6.9861124779999955,752 "spec/features/admin/admin_health_check_spec.rb": 6.381908413999554,753 "spec/features/profiles/user_changes_notified_of_own_activity_spec.rb": 5.020406968000316,754 "spec/features/groups/activity_spec.rb": 5.060905374999493,755 "spec/features/projects/settings/user_archives_project_spec.rb": 4.194420514999365,756 "spec/features/merge_request/user_tries_to_access_private_project_info_through_new_mr_spec.rb": 3.4143076460004522,757 "spec/features/projects/settings/lfs_settings_spec.rb": 4.729881045001093,758 "spec/features/issues/user_resets_their_incoming_email_token_spec.rb": 3.3120199759996467,759 "spec/features/projects/files/editing_a_file_spec.rb": 1.7735919469996588,760 "spec/features/projects/members/owner_cannot_request_access_to_his_project_spec.rb": 1.2550084750000678761}762Knapsack global time execution for tests: 24m 48s763Pending: (Failures listed here are expected and do not affect your suite's status)764 1) Admin::Users GET /admin/users user group count displays count of the users authorized groups765 # around hook at ./spec/support/flaky_tests.rb:21 did not execute the example766 # ./spec/features/admin/users/users_spec.rb:323767 2) Merge request > User posts notes when editing a note editing the note shows the note edit form and hide the note body768 # around hook at ./spec/support/flaky_tests.rb:21 did not execute the example769 # ./spec/features/merge_request/user_posts_notes_spec.rb:157770 3) Merge request > User posts notes when editing a note editing the note appends the edited at time to the note771 # around hook at ./spec/support/flaky_tests.rb:21 did not execute the example772 # ./spec/features/merge_request/user_posts_notes_spec.rb:194773 4) Merge request > User posts notes when editing a note deleting attachment on legacy diff note shows the delete link774 # Temporarily skipped with xit775 # ./spec/features/merge_request/user_posts_notes_spec.rb:216776 5) Merge request > User posts notes when editing a note deleting attachment on legacy diff note removes the attachment div and resets the edit form777 # Temporarily skipped with xit778 # ./spec/features/merge_request/user_posts_notes_spec.rb:223779Failures:780 1) Admin::Users GET /admin/users tabs has multiple tabs to filter users781 Failure/Error: expect(page).to have_link('2FA Enabled', href: admin_users_path(filter: 'two_factor_enabled'))782 expected to find link "2FA Enabled" with href "/admin/users?filter=two_factor_enabled" but there were no matches783 # ./spec/features/admin/users/users_spec.rb:81:in `block (4 levels) in <top (required)>'784 # ./spec/spec_helper.rb:411:in `block (3 levels) in <top (required)>'785 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'786 # ./spec/spec_helper.rb:402:in `block (2 levels) in <top (required)>'787 # ./spec/spec_helper.rb:398:in `block (3 levels) in <top (required)>'788 # ./lib/gitlab/application_context.rb:31:in `with_raw_context'789 # ./spec/spec_helper.rb:398:in `block (2 levels) in <top (required)>'790 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'791 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'792 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'793 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'794 2) Admin::Users GET /admin/users tabs `Pending approval` tab shows the `Pending approval` tab795 Failure/Error: expect(page).to have_link('Pending approval', href: admin_users_path(filter: 'blocked_pending_approval'))796 expected to find link "Pending approval" with href "/admin/users?filter=blocked_pending_approval" but there were no matches797 # ./spec/features/admin/users/users_spec.rb:95:in `block (5 levels) in <top (required)>'798 # ./spec/spec_helper.rb:411:in `block (3 levels) in <top (required)>'799 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'800 # ./spec/spec_helper.rb:402:in `block (2 levels) in <top (required)>'801 # ./spec/spec_helper.rb:398:in `block (3 levels) in <top (required)>'802 # ./lib/gitlab/application_context.rb:31:in `with_raw_context'803 # ./spec/spec_helper.rb:398:in `block (2 levels) in <top (required)>'804 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'805 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'806 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'807 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'808Finished in 24 minutes 50 seconds (files took 45.3 seconds to load)809219 examples, 2 failures, 5 pending810Failed examples:811rspec ./spec/features/admin/users/users_spec.rb:78 # Admin::Users GET /admin/users tabs has multiple tabs to filter users812rspec ./spec/features/admin/users/users_spec.rb:94 # Admin::Users GET /admin/users tabs `Pending approval` tab shows the `Pending approval` tab813SimpleCov failed with exit 1814Failed to write to log, write log/workhorse-test.log: file already closed816Uploading artifacts...817coverage/: found 4 matching files and directories 818crystalball/: found 2 matching files and directories 819deprecations/: found 5 matching files and directories 820knapsack/: found 3 matching files and directories 821rspec_flaky/: found 5 matching files and directories 822rspec_profiling/: found 1 matching files and directories 823tmp/capybara/: found 5 matching files and directories 824tmp/memory_test/: found 2 matching files and directories 825log/*.log: found 17 matching files and directories 826Uploading artifacts as "archive" to coordinator... ok id=1964681061 responseStatus=201 Created token=DhQnapLJ827Uploading artifacts...828junit_rspec.xml: found 1 matching files and directories 829Uploading artifacts as "junit" to coordinator... ok id=1964681061 responseStatus=201 Created token=DhQnapLJ831ERROR: Job failed: exit code 1