[Discover] Add logging and retry to the closed index test#199654
Closed
jughosta wants to merge 2 commits intoelastic:mainfrom
Closed
[Discover] Add logging and retry to the closed index test#199654jughosta wants to merge 2 commits intoelastic:mainfrom
jughosta wants to merge 2 commits intoelastic:mainfrom
Conversation
Contributor
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#7374[✅] test/api_integration/config.js: 25/25 tests passed. |
Contributor
|
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
jughosta
commented
Nov 11, 2024
|
|
||
| export CACHE_DIR="$HOME/.kibana" | ||
| export ES_CACHE_DIR="$HOME/.es-snapshot-cache" | ||
| export ES_SNAPSHOT_MANIFEST="https://storage.googleapis.com/kibana-ci-es-snapshots-daily/9.0.0/archives/20241111-031745_fae80f85/manifest.json" |
Contributor
Author
There was a problem hiding this comment.
Temporary change. Waiting for the CI as suggested by @jbudz.
Contributor
Author
There was a problem hiding this comment.
Also ran it locally and could already see the logs from Kibana API response:
{
│ statusCode: 404,
│ error: 'Not Found',
│ message: 'No indices match "basic_index"',
│ attributes: {
│ statusCode: 404,
│ error: 'Not Found',
│ message: 'No indices match "basic_index"',
│ code: 'no_matching_indices'
│ }
│ }
Then I executed the following in DevTools:
PUT test
PUT test/_mapping
{
"properties": {
"actual": {
"type": "keyword"
}
}
}
POST test/_field_caps?fields=*
POST test/_close
POST test/_field_caps?fields=*
Contributor
💔 Build Failed
Failed CI StepsHistory
cc @jughosta |
Contributor
Author
|
Kibana API needs to be updated to support new ES response elastic/elasticsearch#116021 |
1 task
jughosta
added a commit
that referenced
this pull request
Nov 19, 2024
…#199717) - Closes: #199413 - Related: #199654 - Related ES PR: elastic/elasticsearch#116021 - Related ES PR: elastic/elasticsearch#116656 ## Summary This PR unskips tests and updates the Kibana API to the updated ES responses. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Nov 19, 2024
…elastic#199717) - Closes: elastic#199413 - Related: elastic#199654 - Related ES PR: elastic/elasticsearch#116021 - Related ES PR: elastic/elasticsearch#116656 ## Summary This PR unskips tests and updates the Kibana API to the updated ES responses. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios (cherry picked from commit f61c043)
paulinashakirova
pushed a commit
to paulinashakirova/kibana
that referenced
this pull request
Nov 26, 2024
…elastic#199717) - Closes: elastic#199413 - Related: elastic#199654 - Related ES PR: elastic/elasticsearch#116021 - Related ES PR: elastic/elasticsearch#116656 ## Summary This PR unskips tests and updates the Kibana API to the updated ES responses. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
CAWilson94
pushed a commit
to CAWilson94/kibana
that referenced
this pull request
Dec 12, 2024
…elastic#199717) - Closes: elastic#199413 - Related: elastic#199654 - Related ES PR: elastic/elasticsearch#116021 - Related ES PR: elastic/elasticsearch#116656 ## Summary This PR unskips tests and updates the Kibana API to the updated ES responses. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
This PR adds logging which should help with debugging. Also interesting to see if the retry is now necessary.
Checklist