-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QA] Switch tests to use importExport - discover #94006
Conversation
6bab68e
to
5e3c9c4
Compare
@elasticmachine merge upstream |
789d3f0
to
4de9fc1
Compare
a8d8a4b
to
b28751a
Compare
282166c
to
3d0fad4
Compare
@spalger hey sir, Lee and I think we could use your expertise. CI group 6 fails consistently on ci, but never on my local. I wrote a fn that does much the same and it worked. But, we dont wanna use that, we wanna use the kbnarchiver. I'll set it up the way it was and hopefully you can free us of this pestilence! hahaaa |
The error I'm seeing in ciGroup6 is because there is no |
yeah totally, I've got another draft pr that has less of my goofs within: #95667 i need it to go through ci once more so you can see that I was talking about though. Running now. |
Merged in from: https://github.com/elastic/kibana/pull/95667/files |
ba417ba
to
5e168ea
Compare
Since I've to throw an error in lieu of how to use the logger properly, I'm going to record the output of the saved object "types" within the .kibana index here. 1st Run BEFORE
|
36e65e3
to
f8b188c
Compare
That output is in the debug logs when a test fails so I don't think you have to force the test to fail at each step. We're adding this logging of the saved objects to help debug why the test was failing in CI. The thought was that a previous test was So maybe the calls to log the saved object aggregation could happen in the |
I'm trying to understand the error I think the importExport.load should be loading into
|
Making progress! From the discover/index file, these passed;
|
Remove the kibana index from the hamlet archive, update the kbn client requester to not xform the axios response, add a new archive for the large string test, but this time, use kbn archiver, not es archiver
await kibanaServer.importExport.load('discover'); | ||
log.info( | ||
`\n### SAVED OBJECT TYPES IN index: [.kibana]: \n\t${await savedObjectInfo.types()}` | ||
await esArchiver.load('empty_kibana'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be in the suite that hasn't been migrated yet, rather than in the suite which has been migrated to use importExport and not replace the .kibana
index at runtime.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@spalger the suite before this one is skipped bud. Which makes this the first test run. Whatcha think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is the first suite run then the .kibana index already exists and is empty and this is unnecessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I'll strip it and see what happens.
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - Code reviewed and Jenkins results
Switch es archiver for kbn archiver everywhere possible Partially closes elastic#93797
Switch es archiver for kbn archiver everywhere possible Partially closes #93797 Co-authored-by: Kibana Machine <[email protected]>
Switch es archiver for kbn archiver everywhere possible
Partially closes #93797