Broken master: spec/features/error_tracking/user_sees_error_details_spec.rb

 Failures:
   1) View error details page with current user as project owner behaves like error tracking show page renders the error details
      Got 1 failure and 1 other error:
      Shared Example Group: "error tracking show page" called from ./spec/features/error_tracking/user_sees_error_details_spec.rb:15
      1.1) Failure/Error: expect(page).to have_content('1 month ago by raven.scripts.runner in main')
             expected to find text "1 month ago by raven.scripts.runner in main" in "Skip to content Projects Groups More P project58 Project overview Issues 0 CI / CD Operations Metrics Environments Error Tracking Serverless Kubernetes Analytics Wiki Snippets Settings Collapse sidebar John Doe79 project58 Errors Error Details Reported 2 months ago by raven.scripts.runner in main Ignore Resolve View issue This is an example Python exception level: error GitLab Issue: https://gitlab.com/gitlab-org/gitlab/issues/1 Sentry event: https://sentrytest.gitlab.com/sentry-org/sentry-project/issues/11 First seen: 1 year ago (2018-11-06 9:19:55PM UTC) Release: 1764232 Events: 1 Users: 0 Stack trace pg.rb in initialize at line 56 53 54 ### Convenience alias for PG::Connection.new. 55 def self::connect( *args ) 56 return PG::Connection.new( *args ) 57 end 58 59 pg.rb in new at line 56 pg.rb in connect at line 56 active_record/connection_adapters/postgresql_adapter.rb in connect at line 692 active_record/connection_adapters/postgresql_adapter.rb in initialize at line 223 active_record/connection_adapters/postgresql_adapter.rb in new at line 48 active_record/connection_adapters/postgresql_adapter.rb in postgresql_connection at line 48 active_record/connection_adapters/abstract/connection_pool.rb in new_connection at line 811 active_record/connection_adapters/abstract/connection_pool.rb in checkout_new_connection at line 855 active_record/connection_adapters/abstract/connection_pool.rb in try_to_checkout_new_connection at line 834 active_record/connection_adapters/abstract/connection_pool.rb in acquire_connection at line 795 active_record/connection_adapters/abstract/connection_pool.rb in checkout at line 523 active_record/connection_adapters/abstract/connection_pool.rb in connection at line 382 active_record/connection_adapters/abstract/connection_pool.rb in retrieve_connection at line 1014 active_record/connection_handling.rb in retrieve_connection at line 118 active_record/connection_handling.rb in connection at line 90 active_record/migration.rb in call at line 554 action_dispatch/middleware/callbacks.rb in block in call at line 28 active_support/callbacks.rb in run_callbacks at line 98 action_dispatch/middleware/callbacks.rb in call at line 26 action_dispatch/middleware/executor.rb in call at line 14 action_dispatch/middleware/debug_exceptions.rb in call at line 61 web_console/middleware.rb in call_app at line 135 web_console/middleware.rb in block in call at line 30 web_console/middleware.rb in catch at line 20 web_console/middleware.rb in call at line 20 action_dispatch/middleware/show_exceptions.rb in call at line 33 rails/rack/logger.rb in call_app at line 38 rails/rack/logger.rb in block in call at line 26 active_support/tagged_logging.rb in block in tagged at line 71 active_support/tagged_logging.rb in tagged at line 28 active_support/tagged_logging.rb in tagged at line 71 rails/rack/logger.rb in call at line 26 sprockets/rails/quiet_assets.rb in call at line 13 action_dispatch/middleware/remote_ip.rb in call at line 81 action_dispatch/middleware/request_id.rb in call at line 27 rack/method_override.rb in call at line 22 rack/runtime.rb in call at line 22 active_support/cache/strategy/local_cache_middleware.rb in call at line 29 action_dispatch/middleware/executor.rb in call at line 14 action_dispatch/middleware/static.rb in call at line 127 rack/sendfile.rb in call at line 111 raven/integrations/rack.rb in call at line 51 rails/engine.rb in call at line 524 prometheus/client/rack/exporter.rb in call at line 29 prometheus/client/rack/collector.rb in block in call at line 24 prometheus/client/rack/collector.rb in trace at line 61 prometheus/client/rack/collector.rb in call at line 24 puma/configuration.rb in call at line 227 puma/server.rb in handle_request at line 660 puma/server.rb in process_client at line 474 puma/server.rb in block in run at line 334 puma/thread_pool.rb in block in spawn_thread at line 135"
           # ./vendor/ruby/2.6.0/gems/rspec-support-3.8.2/lib/rspec/support.rb:97:in `block in <module:Support>'
           # ./vendor/ruby/2.6.0/gems/rspec-support-3.8.2/lib/rspec/support.rb:106:in `notify_failure'
           # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.8.4/lib/rspec/expectations/fail_with.rb:35:in `fail_with'
           # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.8.4/lib/rspec/expectations/handler.rb:40:in `handle_failure'
           # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.8.4/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
           # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.8.4/lib/rspec/expectations/handler.rb:27:in `with_matcher'
           # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.8.4/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
           # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.8.4/lib/rspec/expectations/expectation_target.rb:65:in `to'
           # ./spec/support/shared_examples/features/error_tracking_shared_example.rb:58:in `block (3 levels) in <top (required)>'
       # .... 
      1.2) Failure/Error: console = page.driver.browser.manage.logs.get(:browser)&.reject { |log| log.message =~ JS_CONSOLE_FILTER }
           Selenium::WebDriver::Error::WebDriverError:
             unexpected response, code=404, content-type="text/plain"
             unknown command: session/8ae312c43a1cb6dd0bd6c10a74f35d68/se/log
           # ./vendor/ruby/2.6.0/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/http/common.rb:98:in `create_response'
           # ./vendor/ruby/2.6.0/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/http/default.rb:114:in `request'
           # ./vendor/ruby/2.6.0/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/http/common.rb:64:in `call'
           # ./vendor/ruby/2.6.0/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/bridge.rb:167:in `execute'
           # ./vendor/ruby/2.6.0/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/oss/bridge.rb:587:in `execute'
           # ./vendor/ruby/2.6.0/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/chrome/bridge.rb:55:in `log'
           # ./vendor/ruby/2.6.0/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/logs.rb:32:in `get'
           # ./spec/support/capybara.rb:109:in `block (2 levels) in <top (required)>'
       # ... 
 Finished in 18 minutes 17 seconds (files took 39.48 seconds to load)
 182 examples, 1 failure
 Failed examples:
 rspec './spec/features/error_tracking/user_sees_error_details_spec.rb[1:1:1:1]' # View error details page with current user as project owner behaves like error tracking show page renders the error details
Running after script...

https://gitlab.com/gitlab-org/gitlab/-/jobs/429909127

Edited by Mayra Cabrera