master-broken : spec/lib/gitlab/database/postgres_index_bloat_estimate_spec.rb:32
Job #2787156381 failed for c1032880:
Failures:
1) Gitlab::Database::PostgresIndexBloatEstimate#index belongs to a PostgresIndex
Failure/Error: expect(subject.index.identifier).to eq(identifier)
NoMethodError:
undefined method `identifier' for nil:NilClass
# ./spec/lib/gitlab/database/postgres_index_bloat_estimate_spec.rb:33:in `block (3 levels) in <main>'
# ./spec/spec_helper.rb:426:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:417:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:413:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:52:in `with_raw_context'
# ./spec/spec_helper.rb:413:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:264: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 2 minutes 18.5 seconds (files took 59.73 seconds to load)
87 examples, 1 failure
Failed examples:
rspec ./spec/lib/gitlab/database/postgres_index_bloat_estimate_spec.rb:32 # Gitlab::Database::PostgresIndexBloatEstimate#index belongs to a PostgresIndex
Edited by Thong Kuah