Failure in `rspec system pg11-as-if-foss 8/24` './spec/features/error_tracking/user_sees_error_details_spec.rb[1:1:1:2]' # View error details page with current user as project owner behaves like error tracking show page renders the stack trace heading
Job #552890335 failed for 41b1755f:
1) View error details page with current user as project owner behaves like error tracking show page renders the stack trace heading
Got 0 failures and 2 other errors:
Shared Example Group: "error tracking show page" called from ./spec/features/error_tracking/user_sees_error_details_spec.rb:15
1.1) Failure/Error: worker_class.perform_in(self.class.reactive_cache_refresh_interval, self.class, id, *args)
Sidekiq::Worker::EnqueueFromTransactionError:
`ExternalServiceReactiveCachingWorker.perform_in` cannot be called inside a transaction as this can lead to
race conditions when the worker runs before the transaction is committed and
tries to access a model that has not been saved yet.
Use an `after_commit` hook, or include `AfterCommitQueue` and use a `run_after_commit` block instead.
# ./config/initializers/forbid_sidekiq_in_transactions.rb:23:in `block (2 levels) in <module:NoEnqueueingFromTransactions>'
# ./app/models/concerns/reactive_caching.rb:155:in `enqueuing_update'
# ./app/models/concerns/reactive_caching.rb:93:in `block in exclusively_update_reactive_cache!'
# ./app/models/concerns/reactive_caching.rb:143:in `locking_reactive_cache'
# ./app/models/concerns/reactive_caching.rb:89:in `exclusively_update_reactive_cache!'
# ./vendor/ruby/2.6.0/gems/activesupport-6.0.2.2/lib/active_support/core_ext/object/try.rb:15:in `public_send'
# ./vendor/ruby/2.6.0/gems/activesupport-6.0.2.2/lib/active_support/core_ext/object/try.rb:15:in `try'
# ./app/workers/concerns/reactive_cacheable_worker.rb:29:in `perform'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/testing.rb:301:in `execute_job'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/testing.rb:296:in `block in process_job'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/middleware/chain.rb:128:in `block in invoke'
# ./spec/support/sidekiq_middleware.rb:29:in `call'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
# ./lib/gitlab/sidekiq_middleware/duplicate_jobs/strategies/until_executing.rb:31:in `perform'
# ./lib/gitlab/sidekiq_middleware/duplicate_jobs/duplicate_job.rb:40:in `perform'
# ./lib/gitlab/sidekiq_middleware/duplicate_jobs/server.rb:8:in `call'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
# ./lib/gitlab/sidekiq_middleware/worker_context.rb:9:in `wrap_in_optional_context'
# ./lib/gitlab/sidekiq_middleware/worker_context/server.rb:16:in `call'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
# ./lib/gitlab/sidekiq_status/server_middleware.rb:7:in `call'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
# ./lib/gitlab/sidekiq_middleware/admin_mode/server.rb:13:in `call'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
# ./lib/gitlab/sidekiq_middleware/instrumentation_logger.rb:7:in `call'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
# ./vendor/ruby/2.6.0/gems/gitlab-labkit-0.12.0/lib/labkit/middleware/sidekiq/server.rb:21:in `block in call'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/middleware/chain.rb:128:in `block in invoke'
# ./vendor/ruby/2.6.0/gems/gitlab-labkit-0.12.0/lib/labkit/middleware/sidekiq/context/server.rb:14:in `block in call'
# ./vendor/ruby/2.6.0/gems/gitlab-labkit-0.12.0/lib/labkit/context.rb:32:in `with_context'
# ./vendor/ruby/2.6.0/gems/gitlab-labkit-0.12.0/lib/labkit/middleware/sidekiq/context/server.rb:13:in `call'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/middleware/chain.rb:133:in `invoke'
# ./vendor/ruby/2.6.0/gems/gitlab-labkit-0.12.0/lib/labkit/middleware/sidekiq/server.rb:20:in `call'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
# ./lib/gitlab/sidekiq_middleware/batch_loader.rb:7:in `call'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
# ./spec/support/sidekiq_middleware.rb:42:in `call'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
# ./lib/gitlab/sidekiq_middleware/request_store_middleware.rb:10:in `block in call'
# ./lib/gitlab/with_request_store.rb:8:in `with_request_store'
# ./lib/gitlab/sidekiq_middleware/request_store_middleware.rb:9:in `call'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
# ./lib/gitlab/sidekiq_middleware/monitor.rb:8:in `block in call'
# ./lib/gitlab/sidekiq_daemon/monitor.rb:49:in `within_job'
# ./lib/gitlab/sidekiq_middleware/monitor.rb:7:in `call'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/middleware/chain.rb:133:in `invoke'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/testing.rb:295:in `process_job'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/testing.rb:89:in `block in raw_push'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/testing.rb:85:in `each'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/testing.rb:85:in `raw_push'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/client.rb:74:in `push'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/worker.rb:149:in `client_push'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/worker.rb:93:in `perform_async'
# ./config/initializers/forbid_sidekiq_in_transactions.rb:36:in `block (2 levels) in <module:NoEnqueueingFromTransactions>'
# ./app/models/concerns/reactive_caching.rb:122:in `refresh_reactive_cache!'
# ./app/models/concerns/reactive_caching.rb:47:in `with_reactive_cache'
# ./app/models/error_tracking/project_error_tracking_setting.rb:107:in `issue_latest_event'
# ./app/services/error_tracking/issue_latest_event_service.rb:8:in `perform'
# ./app/services/error_tracking/base_service.rb:8:in `execute'
# ./app/controllers/projects/error_tracking/stack_traces_controller.rb:27:in `fetch_latest_event_issue'
# ./app/controllers/projects/error_tracking/stack_traces_controller.rb:11:in `index'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/abstract_controller/base.rb:196:in `process_action'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
# ./vendor/ruby/2.6.0/gems/activesupport-6.0.2.2/lib/active_support/callbacks.rb:112:in `block in run_callbacks'
# ./lib/gitlab/auth/current_user_mode.rb:56:in `with_current_admin'
# ./app/controllers/application_controller.rb:485:in `set_current_admin'
# ./vendor/ruby/2.6.0/gems/activesupport-6.0.2.2/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
# ./lib/gitlab/session.rb:11:in `with_session'
# ./app/controllers/application_controller.rb:473:in `set_session_storage'
# ./vendor/ruby/2.6.0/gems/activesupport-6.0.2.2/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
# ./lib/gitlab/i18n.rb:55:in `with_locale'
# ./lib/gitlab/i18n.rb:61:in `with_user_locale'
# ./app/controllers/application_controller.rb:467:in `set_locale'
# ./vendor/ruby/2.6.0/gems/activesupport-6.0.2.2/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
# ./lib/gitlab/error_tracking.rb:48:in `with_context'
# ./app/controllers/application_controller.rb:562:in `sentry_context'
# ./vendor/ruby/2.6.0/gems/activesupport-6.0.2.2/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
# ./vendor/ruby/2.6.0/gems/sentry-raven-2.9.0/lib/raven/integrations/rails/controller_transaction.rb:7:in `block in included'
# ./vendor/ruby/2.6.0/gems/activesupport-6.0.2.2/lib/active_support/callbacks.rb:121:in `instance_exec'
# ./vendor/ruby/2.6.0/gems/activesupport-6.0.2.2/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
# ./vendor/ruby/2.6.0/gems/marginalia-1.8.0/lib/marginalia.rb:111:in `record_query_comment'
# ./vendor/ruby/2.6.0/gems/activesupport-6.0.2.2/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
# ./lib/gitlab/application_context.rb:52:in `block in use'
# ./vendor/ruby/2.6.0/gems/gitlab-labkit-0.12.0/lib/labkit/context.rb:32:in `with_context'
# ./lib/gitlab/application_context.rb:52:in `use'
# ./lib/gitlab/application_context.rb:20:in `with_context'
# ./app/controllers/application_controller.rb:458:in `set_current_context'
# ./vendor/ruby/2.6.0/gems/activesupport-6.0.2.2/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
# ./vendor/ruby/2.6.0/gems/activesupport-6.0.2.2/lib/active_support/callbacks.rb:139:in `run_callbacks'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/abstract_controller/callbacks.rb:41:in `process_action'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_controller/metal/rescue.rb:22:in `process_action'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_controller/metal/instrumentation.rb:33:in `block in process_action'
# ./vendor/ruby/2.6.0/gems/activesupport-6.0.2.2/lib/active_support/notifications.rb:180:in `block in instrument'
# ./vendor/ruby/2.6.0/gems/activesupport-6.0.2.2/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
# ./vendor/ruby/2.6.0/gems/activesupport-6.0.2.2/lib/active_support/notifications.rb:180:in `instrument'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
# ./vendor/ruby/2.6.0/gems/activerecord-6.0.2.2/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/abstract_controller/base.rb:136:in `process'
# ./vendor/ruby/2.6.0/gems/actionview-6.0.2.2/lib/action_view/rendering.rb:39:in `process'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_controller/metal.rb:191:in `dispatch'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_controller/metal.rb:252:in `dispatch'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_dispatch/routing/route_set.rb:51:in `dispatch'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_dispatch/routing/route_set.rb:33:in `serve'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_dispatch/routing/mapper.rb:18:in `block in <class:Constraints>'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_dispatch/routing/mapper.rb:48:in `serve'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_dispatch/journey/router.rb:49:in `block in serve'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_dispatch/journey/router.rb:32:in `each'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_dispatch/journey/router.rb:32:in `serve'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_dispatch/routing/route_set.rb:837:in `call'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:420:in `call_app!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:274:in `mock_call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:186:in `call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:169:in `call'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:420:in `call_app!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:274:in `mock_call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:186:in `call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:169:in `call'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:420:in `call_app!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:274:in `mock_call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:186:in `call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:169:in `call'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:420:in `call_app!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:274:in `mock_call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:186:in `call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:169:in `call'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:420:in `call_app!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:274:in `mock_call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:186:in `call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:169:in `call'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:420:in `call_app!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:274:in `mock_call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:186:in `call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:169:in `call'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:420:in `call_app!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:274:in `mock_call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:186:in `call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:169:in `call'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:420:in `call_app!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:274:in `mock_call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:186:in `call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:169:in `call'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:420:in `call_app!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:274:in `mock_call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:186:in `call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:169:in `call'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:420:in `call_app!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:274:in `mock_call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:186:in `call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:169:in `call'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:420:in `call_app!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:274:in `mock_call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:186:in `call!'
# ./vendor/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:169:in `call'
# ./lib/gitlab/request_profiler/middleware.rb:17:in `call'
# ./lib/gitlab/query_limiting/middleware.rb:17:in `block in call'
# ./lib/gitlab/query_limiting/transaction.rb:39:in `run'
# ./lib/gitlab/query_limiting/middleware.rb:16:in `call'
# ./vendor/ruby/2.6.0/gems/gitlab-labkit-0.12.0/lib/labkit/middleware/rack.rb:19:in `block in call'
# ./vendor/ruby/2.6.0/gems/gitlab-labkit-0.12.0/lib/labkit/context.rb:32:in `with_context'
# ./vendor/ruby/2.6.0/gems/gitlab-labkit-0.12.0/lib/labkit/middleware/rack.rb:18:in `call'
# ./lib/gitlab/middleware/go.rb:20:in `call'
# ./lib/gitlab/etag_caching/middleware.rb:13:in `call'
# ./vendor/ruby/2.6.0/gems/batch-loader-1.4.0/lib/batch_loader/middleware.rb:11:in `call'
# ./vendor/ruby/2.6.0/gems/apollo_upload_server-2.0.0.beta.3/lib/apollo_upload_server/middleware.rb:20:in `call'
# ./lib/gitlab/middleware/multipart.rb:125:in `call'
# ./vendor/ruby/2.6.0/gems/rack-attack-6.2.0/lib/rack/attack.rb:169:in `call'
# ./vendor/ruby/2.6.0/gems/warden-1.2.8/lib/warden/manager.rb:36:in `block in call'
# ./vendor/ruby/2.6.0/gems/warden-1.2.8/lib/warden/manager.rb:34:in `catch'
# ./vendor/ruby/2.6.0/gems/warden-1.2.8/lib/warden/manager.rb:34:in `call'
# ./vendor/ruby/2.6.0/gems/rack-cors-1.0.6/lib/rack/cors.rb:98:in `call'
# ./vendor/ruby/2.6.0/gems/rack-2.0.9/lib/rack/tempfile_reaper.rb:15:in `call'
# ./vendor/ruby/2.6.0/gems/rack-2.0.9/lib/rack/etag.rb:25:in `call'
# ./vendor/ruby/2.6.0/gems/rack-2.0.9/lib/rack/conditional_get.rb:25:in `call'
# ./vendor/ruby/2.6.0/gems/rack-2.0.9/lib/rack/head.rb:12:in `call'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_dispatch/http/content_security_policy.rb:18:in `call'
# ./lib/gitlab/middleware/read_only/controller.rb:51:in `call'
# ./lib/gitlab/middleware/read_only.rb:18:in `call'
# ./vendor/ruby/2.6.0/gems/rack-2.0.9/lib/rack/session/abstract/id.rb:259:in `context'
# ./vendor/ruby/2.6.0/gems/rack-2.0.9/lib/rack/session/abstract/id.rb:253:in `call'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_dispatch/middleware/cookies.rb:648:in `call'
# ./lib/gitlab/middleware/same_site_cookies.rb:27:in `call'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
# ./vendor/ruby/2.6.0/gems/activesupport-6.0.2.2/lib/active_support/callbacks.rb:101:in `run_callbacks'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_dispatch/middleware/actionable_exceptions.rb:17:in `call'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
# ./lib/gitlab/middleware/basic_health_check.rb:25:in `call'
# ./vendor/ruby/2.6.0/gems/railties-6.0.2.2/lib/rails/rack/logger.rb:38:in `call_app'
# ./vendor/ruby/2.6.0/gems/railties-6.0.2.2/lib/rails/rack/logger.rb:26:in `block in call'
# ./vendor/ruby/2.6.0/gems/activesupport-6.0.2.2/lib/active_support/tagged_logging.rb:80:in `block in tagged'
# ./vendor/ruby/2.6.0/gems/activesupport-6.0.2.2/lib/active_support/tagged_logging.rb:28:in `tagged'
# ./vendor/ruby/2.6.0/gems/activesupport-6.0.2.2/lib/active_support/tagged_logging.rb:80:in `tagged'
# ./vendor/ruby/2.6.0/gems/railties-6.0.2.2/lib/rails/rack/logger.rb:26:in `call'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
# ./lib/gitlab/middleware/request_context.rb:23:in `call'
# ./vendor/ruby/2.6.0/gems/request_store-1.5.0/lib/request_store/middleware.rb:19:in `call'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_dispatch/middleware/request_id.rb:27:in `call'
# ./vendor/ruby/2.6.0/gems/rack-2.0.9/lib/rack/method_override.rb:22:in `call'
# ./vendor/ruby/2.6.0/gems/rack-2.0.9/lib/rack/runtime.rb:22:in `call'
# ./config/initializers/fix_local_cache_middleware.rb:9:in `call'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_dispatch/middleware/executor.rb:14:in `call'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_dispatch/middleware/static.rb:126:in `call'
# ./lib/gitlab/middleware/static.rb:11:in `call'
# ./lib/gitlab/testing/clear_process_memory_cache_middleware.rb:13:in `call'
# ./lib/gitlab/testing/request_inspector_middleware.rb:33:in `call'
# ./lib/gitlab/testing/request_blocker_middleware.rb:47:in `call'
# ./vendor/ruby/2.6.0/gems/rack-2.0.9/lib/rack/sendfile.rb:111:in `call'
# ./lib/gitlab/metrics/requests_rack_middleware.rb:60:in `call'
# ./vendor/ruby/2.6.0/gems/actionpack-6.0.2.2/lib/action_dispatch/middleware/host_authorization.rb:77:in `call'
# ./vendor/ruby/2.6.0/gems/sentry-raven-2.9.0/lib/raven/integrations/rack.rb:51:in `call'
# ./vendor/ruby/2.6.0/gems/railties-6.0.2.2/lib/rails/engine.rb:526:in `call'
# ./vendor/ruby/2.6.0/gems/rack-2.0.9/lib/rack/urlmap.rb:68:in `block in call'
# ./vendor/ruby/2.6.0/gems/rack-2.0.9/lib/rack/urlmap.rb:53:in `each'
# ./vendor/ruby/2.6.0/gems/rack-2.0.9/lib/rack/urlmap.rb:53:in `call'
# ./vendor/ruby/2.6.0/gems/capybara-3.22.0/lib/capybara/server/middleware.rb:48:in `call'
# ./vendor/ruby/2.6.0/gems/gitlab-puma-4.3.3.gitlab.2/lib/puma/configuration.rb:228:in `call'
# ./vendor/ruby/2.6.0/gems/gitlab-puma-4.3.3.gitlab.2/lib/puma/server.rb:691:in `handle_request'
# ./vendor/ruby/2.6.0/gems/gitlab-puma-4.3.3.gitlab.2/lib/puma/server.rb:481:in `process_client'
# ./vendor/ruby/2.6.0/gems/gitlab-puma-4.3.3.gitlab.2/lib/puma/server.rb:335:in `block in run'
# ./vendor/ruby/2.6.0/gems/gitlab-puma-4.3.3.gitlab.2/lib/puma/thread_pool.rb:138:in `block in spawn_thread'
# ------------------
# --- Caused by: ---
# Capybara::ExpectationNotMet:
# expected to find text "Stack trace" in "Skip to content Projects Groups More P project66 Project overview Issues 0 CI / CD Operations Metrics Alerts Environments Error Tracking Serverless Logs Kubernetes Analytics Wiki Snippets Settings Collapse sidebar John Doe189 project66 Errors Error Details"
# ./vendor/ruby/2.6.0/gems/capybara-3.22.0/lib/capybara/node/matchers.rb:676:in `block in assert_text'
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/9c02bfd02b20290a0a85f868447a68f3/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:156:in `block (2 levels) in <top (required)>'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:363:in `run'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:515:in `block in run_owned_hooks_for'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:514:in `each'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:514:in `run_owned_hooks_for'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:601:in `block in run_example_hooks_for'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:600:in `each'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:600:in `run_example_hooks_for'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:471:in `run'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:510:in `run_after_example'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:276:in `block in run'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `block in with_around_and_singleton_context_hooks'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `block in run'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:612:in `block in run_around_example_hooks_for'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'
# ./vendor/ruby/2.6.0/gems/rspec-rails-4.0.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'
# ./spec/spec_helper.rb:302:in `block (3 levels) in <top (required)>'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/testing.rb:55:in `server_middleware'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:293:in `block (2 levels) in <top (required)>'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'
# ./spec/spec_helper.rb:289:in `block (3 levels) in <top (required)>'
# ./vendor/ruby/2.6.0/gems/gitlab-labkit-0.12.0/lib/labkit/context.rb:32:in `with_context'
# ./spec/spec_helper.rb:289:in `block (2 levels) in <top (required)>'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'
# ./spec/support/sidekiq.rb:21:in `block (3 levels) in <top (required)>'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/testing.rb:16:in `__set_test_mode'
# ./vendor/ruby/2.6.0/gems/sidekiq-5.2.7/lib/sidekiq/testing.rb:34:in `inline!'
# ./spec/support/sidekiq.rb:8:in `gitlab_sidekiq_inline'
# ./spec/support/sidekiq.rb:21:in `block (2 levels) in <top (required)>'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'
# ./spec/support/caching.rb:8:in `block (2 levels) in <top (required)>'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'
# ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:615:in `run_around_example_hooks_for'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `run'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `with_around_example_hooks'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:254:in `run'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:633:in `block in run_examples'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `map'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `run_examples'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:595:in `run'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `map'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/configuration.rb:2031:in `with_suite_hooks'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:116:in `block in run_specs'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/reporter.rb:74:in `report'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:115:in `run_specs'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:89:in `run'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:71:in `run'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:45:in `invoke'
# ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/exe/rspec:4:in `<top (required)>'
# ./vendor/ruby/2.6.0/bin/rspec:23:in `load'
# ./vendor/ruby/2.6.0/bin/rspec:23:in `<top (required)>'
# /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `load'
# /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `kernel_load'
# /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:28:in `run'
# /usr/local/lib/ruby/2.6.0/bundler/cli.rb:463:in `exec'
# /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
# /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
# /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
# /usr/local/lib/ruby/2.6.0/bundler/cli.rb:27:in `dispatch'
# /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
# /usr/local/lib/ruby/2.6.0/bundler/cli.rb:18:in `start'
# /usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:30:in `block in <top (required)>'
# /usr/local/lib/ruby/2.6.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'
# /usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:22:in `<top (required)>'
# /usr/local/bin/bundle:23:in `load'
# /usr/local/bin/bundle:23:in `<main>'
Finished in 9 minutes 47 seconds (files took 31.01 seconds to load)
176 examples, 1 failure
Failed examples:
rspec './spec/features/error_tracking/user_sees_error_details_spec.rb[1:1:1:2]' # View error details page with current user as project owner behaves like error tracking show page renders the stack trace heading
It doesn't to fail for other pipelines.