Skip to content

Fix pipeline 967166 with requirement

Baodong请求将fix-pipeline-967166合并到main-jh

What does this MR do and why?

Fix pipeline 967166 with requirement

Failed pipeline: https://jihulab.com/gitlab-cn/gitlab/-/pipelines/967166

Failed job: https://jihulab.com/gitlab-cn/gitlab/-/jobs/6517185

Example

An error occurred while loading ./spec/tooling/quality/test_level_spec.rb.
Failure/Error: Gitlab::SubscriptionPortal.prepend_mod
NameError:
  uninitialized constant ActiveSupport::Concern
  Did you mean?  Concurrent
# ./jh/lib/jh/gitlab/subscription_portal.rb:6:in `<module:SubscriptionPortal>'
# ./jh/lib/jh/gitlab/subscription_portal.rb:5:in `<module:Gitlab>'
# ./jh/lib/jh/gitlab/subscription_portal.rb:4:in `<module:JH>'
# ./jh/lib/jh/gitlab/subscription_portal.rb:3:in `<top (required)>'
# ./vendor/ruby/3.0.0/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:30:in `require'
# ./vendor/ruby/3.0.0/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:30:in `require'
# ./config/initializers/0_inject_enterprise_edition_module.rb:65:in `const_get'
# ./config/initializers/0_inject_enterprise_edition_module.rb:65:in `const_get_maybe_false'
# ./config/initializers/0_inject_enterprise_edition_module.rb:58:in `block in each_extension_for'
# ./config/initializers/0_inject_enterprise_edition_module.rb:53:in `each'
# ./config/initializers/0_inject_enterprise_edition_module.rb:53:in `each_extension_for'
# ./config/initializers/0_inject_enterprise_edition_module.rb:7:in `prepend_mod_with'
# ./config/initializers/0_inject_enterprise_edition_module.rb:25:in `prepend_mod'
# ./lib/gitlab/subscription_portal.rb:91:in `<top (required)>'
# ./vendor/ruby/3.0.0/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:30:in `require'
# ./vendor/ruby/3.0.0/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:30:in `require'
# ./ee/lib/ee.rb:4:in `<module:EE>'
# ./ee/lib/ee.rb:3:in `<top (required)>'
# ./vendor/ruby/3.0.0/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:30:in `require'
# ./vendor/ruby/3.0.0/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:30:in `require'
# ./ee/spec/support/helpers/ee/stub_configuration.rb:3:in `<top (required)>'
# ./spec/support/helpers/stub_configuration.rb:190:in `require_relative'
# ./spec/support/helpers/stub_configuration.rb:190:in `<top (required)>'
# ./spec/support/rspec.rb:5:in `require_relative'
# ./spec/support/rspec.rb:5:in `<top (required)>'
# ./spec/fast_spec_helper.rb:20:in `require_relative'
# ./spec/fast_spec_helper.rb:20:in `<top (required)>'
# ./vendor/ruby/3.0.0/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:38:in `require'
# ./vendor/ruby/3.0.0/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:38:in `require'
# ./spec/tooling/quality/test_level_spec.rb:3:in `<top (required)>'

Changes from Upstream MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/112037

How to reproduce

bundle exec rspec spec/lib/gitlab/slug/path_spec.rb
Baodong 编辑于

合并请求报告

加载中