Broken master: ./ee/spec/lib/ee/gitlab/import_export/group/tree_restorer_spec.rb
From https://gitlab.com/gitlab-org/gitlab/-/jobs/2910778344:
Failures:
1) Gitlab::ImportExport::Group::TreeRestorer restore group tree iteration candences has cadence information
Failure/Error: expect(cadence.title).to eq('title')
NoMethodError:
undefined method `title' for nil:NilClass
# ./ee/spec/lib/ee/gitlab/import_export/group/tree_restorer_spec.rb:92:in `block (4 levels) in <main>'
# ./spec/spec_helper.rb:435:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:426:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:422:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:56:in `with_raw_context'
# ./spec/spec_helper.rb:422:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:265:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <main>'
2) Gitlab::ImportExport::Group::TreeRestorer restore group tree iteration candences has iterations within cadences
Failure/Error: iteration = group.iterations_cadences.first.iterations.first
NoMethodError:
undefined method `iterations' for nil:NilClass
# ./ee/spec/lib/ee/gitlab/import_export/group/tree_restorer_spec.rb:100:in `block (4 levels) in <main>'
# ./spec/spec_helper.rb:435:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:426:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:422:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:56:in `with_raw_context'
# ./spec/spec_helper.rb:422:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:265:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <main>'
Finished in 1 minute 5.39 seconds (files took 51.09 seconds to load)
54 examples, 2 failures
Failed examples:
rspec ./ee/spec/lib/ee/gitlab/import_export/group/tree_restorer_spec.rb:89 # Gitlab::ImportExport::Group::TreeRestorer restore group tree iteration candences has cadence information
rspec ./ee/spec/lib/ee/gitlab/import_export/group/tree_restorer_spec.rb:99 # Gitlab::ImportExport::Group::TreeRestorer restore group tree iteration candences has iterations within cadences
Did this stem from !95372 (merged)?