Skip failed pipeline job 5044391
What does this MR do and why?
Skip failed pipeline job 5044391: https://jihulab.com/gitlab-cn/gitlab/-/jobs/5044391
Failures:
1) Pipelines when user is logged in POST /:project/-/pipelines for valid commit with gitlab-ci.yml when variables are specified creates a new pipeline with variables
Failure/Error: worker_class.perform_async(self.class, id, *args)
Sidekiq::Worker::EnqueueFromTransactionError:
ExternalServiceReactiveCachingWorker.perform_async cannot be enqueued 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:28:in `raise_inside_transaction_exception'
# ./config/initializers/forbid_sidekiq_in_transactions.rb:43: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/services/ci/list_config_variables_service.rb:21:in `execute'
# ./app/controllers/projects/pipelines_controller.rb:243:in `block (2 levels) in config_variables'
# ./app/controllers/projects/pipelines_controller.rb:240:in `config_variables'
# ./ee/lib/gitlab/ip_address_state.rb:10:in `with'
# ./ee/app/controllers/ee/application_controller.rb:45:in `set_current_ip_address'
# ./lib/gitlab/auth/current_user_mode.rb:72:in `with_current_admin'
# ./app/controllers/application_controller.rb:533:in `set_current_admin'
# ./lib/gitlab/session.rb:11:in `with_session'
# ./app/controllers/application_controller.rb:521:in `set_session_storage'
# ./lib/gitlab/i18n.rb:107:in `with_locale'
# ./lib/gitlab/i18n.rb:113:in `with_user_locale'
# ./app/controllers/application_controller.rb:515:in `set_locale'
# ./jh/app/controllers/jh/application_controller.rb:20:in `set_locale'
# ./app/controllers/application_controller.rb:509:in `set_current_context'
# ./lib/gitlab/middleware/memory_report.rb:13:in `call'
# ./lib/gitlab/middleware/speedscope.rb:13:in `call'
# ./lib/gitlab/query_limiting/middleware.rb:17:in `block in call'
# ./lib/gitlab/query_limiting/transaction.rb:45:in `run'
# ./lib/gitlab/query_limiting/middleware.rb:16:in `call'
# ./lib/gitlab/database/load_balancing/rack_middleware.rb:23:in `call'
# ./lib/gitlab/jira/middleware.rb:19:in `call'
# ./lib/gitlab/middleware/go.rb:20:in `call'
# ./lib/gitlab/etag_caching/middleware.rb:21:in `call'
# ./lib/gitlab/middleware/query_analyzer.rb:11:in `block in call'
# ./lib/gitlab/database/query_analyzer.rb:37:in `within'
# ./lib/gitlab/middleware/query_analyzer.rb:11:in `call'
# ./lib/gitlab/middleware/multipart.rb:173:in `call'
# ./lib/gitlab/middleware/read_only/controller.rb:50:in `call'
# ./lib/gitlab/middleware/read_only.rb:18:in `call'
# ./lib/gitlab/middleware/same_site_cookies.rb:27:in `call'
# ./lib/gitlab/middleware/handle_malformed_strings.rb:21:in `call'
# ./lib/gitlab/middleware/basic_health_check.rb:25:in `call'
# ./lib/gitlab/middleware/handle_ip_spoof_attack_error.rb:25:in `call'
# ./lib/gitlab/middleware/request_context.rb:21:in `call'
# ./lib/gitlab/middleware/webhook_recursion_detection.rb:15:in `call'
# ./config/initializers/fix_local_cache_middleware.rb:11:in `call'
# ./lib/gitlab/middleware/compressed_json.rb:26: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:35:in `call'
# ./lib/gitlab/testing/robots_blocker_middleware.rb:30:in `call'
# ./lib/gitlab/testing/request_blocker_middleware.rb:47:in `call'
# ./lib/gitlab/middleware/rack_multipart_tempfile_factory.rb:19:in `call'
# ./lib/gitlab/middleware/sidekiq_web_static.rb:20:in `call'
# ./lib/gitlab/metrics/requests_rack_middleware.rb:77:in `call'
# ------------------
# --- Caused by: ---
# Capybara::CapybaraError:
# Your application server raised an error - It has been raised in your test code because Capybara.raise_server_errors == true
# ./spec/support/capybara.rb:228:in `block (2 levels) in <main>'
Finished in 39.11 seconds (files took 42.91 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./spec/features/projects/pipelines/legacy_pipelines_spec.rb:705 # Pipelines when user is logged in POST /:project/-/pipelines for valid commit with gitlab-ci.yml when variables are specified creates a new pipeline with variables