-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[automation] update elastic stack version for testing 7.16.0-ef210289 #29278
Conversation
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
💚 Flaky test reportTests succeeded. 🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
There seems to be some changes in timestamp formats with timezones, but the generated timestamps are equivalent. This might be related to elastic/elasticsearch#80450. I am pushing updated files to fix this. |
@@ -1,6 +1,6 @@ | |||
[ | |||
{ | |||
"@timestamp": "2020-04-01T13:21:06.725Z", | |||
"@timestamp": "2020-04-01T09:21:06.725Z", |
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 looks like an actual fix, the timestamp in the logs is:
2020-04-01T11:21:06,725+0200
That converted to UTC should be 2020-04-01T09:21:06.725Z
.
cc @sayden in case you want to confirm that the pipeline of this fileset is right.
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.
Automatically approving mergify
/test |
/test |
@nik9000 we have found in our test files that the format of some timestamps with timezones changed with a recent snapshot of ES, you can see the ones that changed in this PR. Do you think it could be related to elastic/elasticsearch#80450? Most of the new timestamps are equivalent the old ones, but there is one that seems to be fixed now: #29278 (comment) |
I don't think it's related but I'm happy to help figure out what changed. What are you testing? It looks like it's importing some logs from https://github.com/elastic/beats/blob/7.16/x-pack/filebeat/module/cisco/asa/test/sample.log and then fetching them with, like, a scroll? Are the things in https://github.com/elastic/beats/blob/7.16/x-pack/filebeat/module/cisco/asa/test/sample.log-expected.json a fetched |
No worries, I was asking more out of curiosity in case something came to mind.
These tests install a pipeline, ingest some logs using filebeat and check that the indexed documents match what is in the expected files. They are used to test the pipelines included in filebeat modules. The new timestamps seem to be ok because they represent the same time (for example the change from What intrigues me is this change from So I wonder if there has been some fix in Elasticsearch, or if we have something weird in this pipeline. Looking at how this is parsed in the pipeline, it looks a bit tricky, first the timestamp is parsed with formats with and without the timestamp:
And then it is parsed again as ISO8601:
|
I'm guessing its actually elastic/elasticsearch#63876. |
For reference I got this by running |
Thanks Nik! This change looks more likely, yes. It could be then that something has been actually fixed for this tricky pipeline. |
What
Bump stack version with the latest one.
Further details
[start_time:Sun, 5 Dec 2021 05:14:11 GMT, release_branch:7.16, prefix:, end_time:Sun, 5 Dec 2021 11:24:06 GMT, manifest_version:2.0.0, version:7.16.0-SNAPSHOT, branch:7.16, build_id:7.16.0-ef210289, build_duration_seconds:22195]