Cluster of QA failures in ee:elasticsearch
Summary
A cluster of ee:elasticsearch tests are failing to get results on search.
Failing job(s): https://gitlab.com/gitlab-org/gitlab-qa-mirror/-/jobs/3518803388
Failing spec(s):
- ./qa/specs/features/ee/api/9_data_stores/elasticsearch/index_tests/commit_index/commit_index_spec.rb:43
- ./qa/specs/features/ee/api/9_data_stores/elasticsearch/index_tests/main_index/blob_index_spec.rb:37
- ./qa/specs/features/ee/api/9_data_stores/elasticsearch/elasticsearch_api_spec.rb:48
- ./qa/specs/features/ee/api/9_data_stores/elasticsearch/elasticsearch_api_spec.rb:60
Corresponding test case(s):
Stack trace
all failures have the same error/stack trace
Failures:
1) Data Stores When using Advanced Search API to search for a public commit finds commit that matches commit message
Got 1 failure and 1 other error from failure aggregation block.
# ./qa/specs/features/ee/api/9_data_stores/elasticsearch/index_tests/commit_index/commit_index_spec.rb:48:in `block (4 levels) in <module:QA>'
# ./qa/support/retrier.rb:20:in `block in retry_on_exception'
# ./qa/support/repeater.rb:46:in `repeat_until'
# ./qa/support/retrier.rb:12:in `retry_on_exception'
# ./qa/specs/features/ee/api/9_data_stores/elasticsearch/index_tests/commit_index/commit_index_spec.rb:44:in `block (3 levels) in <module:QA>'
# ./qa/specs/spec_helper.rb:120:in `block (2 levels) in <top (required)>'
# ./qa/specs/runner.rb:67:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `tap'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/template.rb:50:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `tap'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/bootable.rb:52:in `launch!'
1.1) Failure/Error: expect(json_body).not_to be_empty
expected `[].empty?` to be falsey, got true
# ./qa/specs/features/ee/api/9_data_stores/elasticsearch/index_tests/commit_index/commit_index_spec.rb:50:in `block (5 levels) in <module:QA>'
1.2) Failure/Error: expect(json_body[0][:title]).to eq(commit.commit_message)
NoMethodError:
undefined method `[]' for nil:NilClass
Screenshot / HTML page
Example: