Skip to content
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

[TSVB] Chart with override index pattern and last_value are migrated with entire_time_range from 7.13+ #115041

Merged
merged 6 commits into from
Oct 21, 2021

Conversation

VladLasitsa
Copy link
Contributor

@VladLasitsa VladLasitsa commented Oct 14, 2021

Closes: #114984

Summary

Fixes the bug for visualizations before 7.13 which use the override_index_pattern setting and Last value as the timerange mode. The bug is that when they are migrated to 7.13+ instances, they are using the entire time range instead of the last value.

@VladLasitsa VladLasitsa requested a review from alexwizp October 14, 2021 15:57
@VladLasitsa VladLasitsa self-assigned this Oct 14, 2021
@VladLasitsa VladLasitsa added Feature:TSVB TSVB (Time Series Visual Builder) release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.16.0 v8.0.0 labels Oct 14, 2021
@VladLasitsa VladLasitsa requested a review from stratoula October 15, 2021 11:04
@stratoula
Copy link
Contributor

@elasticmachine merge upstream

@stratoula stratoula added release_note:fix and removed release_note:skip Skip the PR/issue when compiling release notes labels Oct 18, 2021
@stratoula stratoula marked this pull request as ready for review October 18, 2021 06:50
@stratoula stratoula requested a review from a team as a code owner October 18, 2021 06:50
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors (Team:VisEditors)

Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM, I tested it locally by migrating 3 SOs from 7.11 to the current branch:

  • One metric with override_index_pattern and last value
  • One metric with override_index_pattern and entire time range
  • One TopN with two layers, one with override_index_pattern and last value and one with override_index_pattern and entire time range

All of them were migrated correctly!

@@ -79,6 +79,15 @@ export class VisEditor extends Component<TimeseriesEditorProps, TimeseriesEditor
? TIME_RANGE_DATA_MODES.LAST_VALUE
: TIME_RANGE_DATA_MODES.ENTIRE_TIME_RANGE,
...this.props.vis.params,
series: this.props.vis.params.series.map((val) => ({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stratoula @VladLasitsa maybe it should go into migration script?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good point but we should add a migration in 7.16 about a previous version (7.13) and I think we are trying to avoid it. This seems to me as a not very common case but I would like @flash1293 feedback here!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this within the editor or is it also used on the dashboard?
I think we should do this:

  • Make sure this fix also works if the user never opens the editor
  • Move it to the migrations if possible - it doesn't matter if a bug introduced in 7.13 is only fixed in 7.16; if we are confident enough to put this logic in the code showing the visualization we can be confident enough putting it into the migration script running for the next version.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes Joe, it works for the dashboard panels but I agree with your point. Let's also add a migration script :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stratoula Could you please describe for which version we should add migration script and in this case we should remove this part of code, right?

Copy link
Contributor

@flash1293 flash1293 Oct 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When we create new vis and don't change time range mode, we don't provide it to model

Is there a reason why we are not storing it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@flash1293 When we create new tsvb we have only default state of time range mode which provide in model only my part of code. without this code we can see on UI right time range mode but in model we don't have it while we select another mode in combobox.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No Joe, I guess this also follows the logic "This is the default, do not store it :/". And now we changed the default and this is the reason we have this kind of bugs.
@VladLasitsa I got confused tbh by Alexey's comment about the migration. So if your fix works for all cases, then yes no migration script is needed. It is either a migration script or the fix. If we can't provide a migration script, the fix seems fine to me.

Copy link
Contributor Author

@VladLasitsa VladLasitsa Oct 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@flash1293, you don't mind to leave only fix without migration script?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@VladLasitsa sounds good, your reasoning makes sense to me.

@VladLasitsa
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / X-Pack Saved Object Tagging Functional Tests.x-pack/test/saved_object_tagging/functional/tests/dashboard_integration·ts.saved objects tagging - functional tests dashboard integration editing allows to select tags for an existing dashboard

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 2 times on tracked branches: https://github.com/elastic/kibana/issues/106547

[00:00:00]     │
[00:00:00]       └-: saved objects tagging - functional tests
[00:00:00]         └-> "before all" hook in "saved objects tagging - functional tests"
[00:00:00]         └-> "before all" hook in "saved objects tagging - functional tests"
[00:00:00]           │ debg creating role kibana_rbac_default_space_read_user
[00:00:00]           │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_default_space_read_user]
[00:00:00]           │ debg creating role kibana_rbac_default_space_write_user
[00:00:00]           │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_default_space_write_user]
[00:00:00]           │ debg creating role kibana_rbac_default_space_so_management_write_user
[00:00:00]           │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_default_space_so_management_write_user]
[00:00:00]           │ debg creating role kibana_rbac_default_space_so_management_read_user
[00:00:00]           │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_default_space_so_management_read_user]
[00:00:00]           │ debg creating role kibana_rbac_default_space_so_tagging_read_user
[00:00:00]           │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_default_space_so_tagging_read_user]
[00:00:00]           │ debg creating role kibana_rbac_default_space_so_tagging_write_user
[00:00:00]           │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_default_space_so_tagging_write_user]
[00:00:00]           │ debg creating role kibana_rbac_default_space_dashboard_read_user
[00:00:00]           │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_default_space_dashboard_read_user]
[00:00:00]           │ debg creating role kibana_rbac_default_space_dashboard_write_user
[00:00:00]           │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_default_space_dashboard_write_user]
[00:00:00]           │ debg creating role kibana_rbac_default_space_visualize_read_user
[00:00:00]           │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_default_space_visualize_read_user]
[00:00:00]           │ debg creating role kibana_rbac_default_space_visualize_write_user
[00:00:00]           │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_default_space_visualize_write_user]
[00:00:00]           │ debg creating role kibana_rbac_default_space_advanced_settings_read_user
[00:00:00]           │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_default_space_advanced_settings_read_user]
[00:00:00]           │ debg creating role kibana_rbac_default_space_maps_read_user
[00:00:00]           │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_default_space_maps_read_user]
[00:00:00]           │ debg creating user not_a_kibana_user
[00:00:00]           │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [not_a_kibana_user]
[00:00:00]           │ debg created user not_a_kibana_user
[00:00:00]           │ debg creating user a_kibana_rbac_default_space_read_user
[00:00:00]           │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_default_space_read_user]
[00:00:00]           │ debg created user a_kibana_rbac_default_space_read_user
[00:00:00]           │ debg creating user a_kibana_rbac_default_space_write_user
[00:00:00]           │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_default_space_write_user]
[00:00:00]           │ debg created user a_kibana_rbac_default_space_write_user
[00:00:00]           │ debg creating user a_kibana_rbac_default_space_so_management_write_user
[00:00:01]           │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_default_space_so_management_write_user]
[00:00:01]           │ debg created user a_kibana_rbac_default_space_so_management_write_user
[00:00:01]           │ debg creating user a_kibana_rbac_default_space_so_tagging_read_user
[00:00:01]           │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_default_space_so_tagging_read_user]
[00:00:01]           │ debg created user a_kibana_rbac_default_space_so_tagging_read_user
[00:00:01]           │ debg creating user a_kibana_rbac_default_space_so_tagging_read_so_management_read_user
[00:00:01]           │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_default_space_so_tagging_read_so_management_read_user]
[00:00:01]           │ debg created user a_kibana_rbac_default_space_so_tagging_read_so_management_read_user
[00:00:01]           │ debg creating user a_kibana_rbac_default_space_so_tagging_write_user
[00:00:01]           │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_default_space_so_tagging_write_user]
[00:00:01]           │ debg created user a_kibana_rbac_default_space_so_tagging_write_user
[00:00:01]           │ debg creating user a_kibana_rbac_default_space_dashboard_read_user
[00:00:01]           │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_default_space_dashboard_read_user]
[00:00:01]           │ debg created user a_kibana_rbac_default_space_dashboard_read_user
[00:00:01]           │ debg creating user a_kibana_rbac_default_space_visualize_read_user
[00:00:01]           │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_default_space_visualize_read_user]
[00:00:01]           │ debg created user a_kibana_rbac_default_space_visualize_read_user
[00:00:01]           │ debg creating user a_kibana_rbac_default_space_dashboard_write_user
[00:00:01]           │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_default_space_dashboard_write_user]
[00:00:01]           │ debg created user a_kibana_rbac_default_space_dashboard_write_user
[00:00:01]           │ debg creating user a_kibana_rbac_default_space_visualize_write_user
[00:00:01]           │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_default_space_visualize_write_user]
[00:00:01]           │ debg created user a_kibana_rbac_default_space_visualize_write_user
[00:00:01]           │ debg creating user a_kibana_rbac_default_space_advanced_settings_read_user
[00:00:02]           │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_default_space_advanced_settings_read_user]
[00:00:02]           │ debg created user a_kibana_rbac_default_space_advanced_settings_read_user
[00:00:02]           │ debg creating user a_kibana_rbac_default_space_maps_read_user
[00:00:02]           │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_default_space_maps_read_user]
[00:00:02]           │ debg created user a_kibana_rbac_default_space_maps_read_user
[00:06:01]         └-: dashboard integration
[00:06:01]           └-> "before all" hook in "dashboard integration"
[00:06:01]           └-> "before all" hook in "dashboard integration"
[00:06:01]             │ info [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/dashboard] Loading "mappings.json"
[00:06:01]             │ info [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/dashboard] Loading "data.json"
[00:06:01]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_8.0.0_001/yzph1H5eSxOnO6weCOxDvA] deleting index
[00:06:01]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_001/VNK3eqCKQ1WxP5O2diL9ZA] deleting index
[00:06:01]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_1/6_XeIdOgQFOsiF_2GCdA4g] deleting index
[00:06:01]             │ info [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/dashboard] Deleted existing index ".kibana_8.0.0_001"
[00:06:01]             │ info [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/dashboard] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:06:01]             │ info [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/dashboard] Deleted existing index ".kibana_1"
[00:06:01]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:06:01]             │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_1][0]]"
[00:06:01]             │ info [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/dashboard] Created index ".kibana_1"
[00:06:01]             │ debg [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/dashboard] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:06:01]             │ info [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/dashboard] Indexed 12 docs into ".kibana"
[00:06:01]             │ debg Migrating saved objects
[00:06:01]             │ proc [kibana] [2021-10-20T09:21:46.873+00:00][INFO ][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 3ms.
[00:06:01]             │ proc [kibana] [2021-10-20T09:21:46.876+00:00][INFO ][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 9ms.
[00:06:01]             │ proc [kibana] [2021-10-20T09:21:46.879+00:00][INFO ][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> CHECK_UNKNOWN_DOCUMENTS. took: 3ms.
[00:06:01]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:06:01]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:06:01]             │ proc [kibana] [2021-10-20T09:21:46.887+00:00][INFO ][savedobjects-service] [.kibana] CHECK_UNKNOWN_DOCUMENTS -> SET_SOURCE_WRITE_BLOCK. took: 8ms.
[00:06:01]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_1/OeY6Ag3-QBqQsokTgSnEVw]]
[00:06:01]             │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_task_manager_8.0.0_001][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_task_manager_8.0.0_001][0]]"
[00:06:01]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_1]
[00:06:01]             │ proc [kibana] [2021-10-20T09:21:46.952+00:00][INFO ][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 79ms.
[00:06:01]             │ proc [kibana] [2021-10-20T09:21:46.966+00:00][INFO ][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CALCULATE_EXCLUDE_FILTERS. took: 79ms.
[00:06:01]             │ proc [kibana] [2021-10-20T09:21:46.971+00:00][INFO ][savedobjects-service] [.kibana] CALCULATE_EXCLUDE_FILTERS -> CREATE_REINDEX_TEMP. took: 5ms.
[00:06:01]             │ proc [kibana] [2021-10-20T09:21:46.984+00:00][INFO ][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 32ms.
[00:06:01]             │ proc [kibana] [2021-10-20T09:21:46.985+00:00][INFO ][savedobjects-service] [.kibana_task_manager] Migration completed after 115ms
[00:06:01]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:06:01]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:06:01]             │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_reindex_temp][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_reindex_temp][0]]"
[00:06:01]             │ proc [kibana] [2021-10-20T09:21:47.036+00:00][INFO ][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 65ms.
[00:06:01]             │ proc [kibana] [2021-10-20T09:21:47.039+00:00][INFO ][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 3ms.
[00:06:01]             │ proc [kibana] [2021-10-20T09:21:47.046+00:00][INFO ][savedobjects-service] [.kibana] Starting to process 12 documents.
[00:06:01]             │ proc [kibana] [2021-10-20T09:21:47.047+00:00][INFO ][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_TRANSFORM. took: 7ms.
[00:06:01]             │ proc [kibana] [2021-10-20T09:21:47.055+00:00][INFO ][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_TRANSFORM -> REINDEX_SOURCE_TO_TEMP_INDEX_BULK. took: 9ms.
[00:06:01]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/eNWojyK9QD-WIiP3Um15Sg] update_mapping [_doc]
[00:06:01]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/eNWojyK9QD-WIiP3Um15Sg] update_mapping [_doc]
[00:06:01]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/eNWojyK9QD-WIiP3Um15Sg] update_mapping [_doc]
[00:06:01]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/eNWojyK9QD-WIiP3Um15Sg] update_mapping [_doc]
[00:06:01]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/eNWojyK9QD-WIiP3Um15Sg] update_mapping [_doc]
[00:06:01]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/eNWojyK9QD-WIiP3Um15Sg] update_mapping [_doc]
[00:06:01]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/eNWojyK9QD-WIiP3Um15Sg] update_mapping [_doc]
[00:06:01]             │ proc [kibana] [2021-10-20T09:21:47.256+00:00][INFO ][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX_BULK -> REINDEX_SOURCE_TO_TEMP_READ. took: 201ms.
[00:06:01]             │ proc [kibana] [2021-10-20T09:21:47.263+00:00][INFO ][savedobjects-service] [.kibana] Processed 12 documents out of 12.
[00:06:01]             │ proc [kibana] [2021-10-20T09:21:47.263+00:00][INFO ][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 7ms.
[00:06:01]             │ proc [kibana] [2021-10-20T09:21:47.267+00:00][INFO ][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 3ms.
[00:06:01]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_8.0.0_reindex_temp/eNWojyK9QD-WIiP3Um15Sg]]
[00:06:01]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:06:02]             │ proc [kibana] [2021-10-20T09:21:47.309+00:00][INFO ][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 43ms.
[00:06:02]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:06:02]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:06:02]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:06:02]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/ve7MPWxiSnuNGMklvap5YA] create_mapping
[00:06:02]             │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_001][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_001][0]]"
[00:06:02]             │ proc [kibana] [2021-10-20T09:21:47.412+00:00][INFO ][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 103ms.
[00:06:02]             │ proc [kibana] [2021-10-20T09:21:47.416+00:00][INFO ][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 4ms.
[00:06:02]             │ proc [kibana] [2021-10-20T09:21:47.419+00:00][INFO ][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 3ms.
[00:06:02]             │ proc [kibana] [2021-10-20T09:21:47.426+00:00][INFO ][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 7ms.
[00:06:02]             │ proc [kibana] [2021-10-20T09:21:47.429+00:00][INFO ][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 3ms.
[00:06:02]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/ve7MPWxiSnuNGMklvap5YA] update_mapping [_doc]
[00:06:02]             │ proc [kibana] [2021-10-20T09:21:47.492+00:00][INFO ][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 63ms.
[00:06:02]             │ info [o.e.t.LoggingTaskListener] [node-01] 7959 finished with response BulkByScrollResponse[took=25.5ms,timed_out=false,sliceId=null,updated=12,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:06:02]             │ proc [kibana] [2021-10-20T09:21:47.596+00:00][INFO ][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 104ms.
[00:06:02]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_reindex_temp/eNWojyK9QD-WIiP3Um15Sg] deleting index
[00:06:02]             │ proc [kibana] [2021-10-20T09:21:47.634+00:00][INFO ][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 38ms.
[00:06:02]             │ proc [kibana] [2021-10-20T09:21:47.634+00:00][INFO ][savedobjects-service] [.kibana] Migration completed after 767ms
[00:06:02]             │ debg [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/dashboard] Migrated Kibana index after loading Kibana data
[00:06:02]             │ debg [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/dashboard] Ensured that default space exists in .kibana
[00:06:02]             │ info [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/logstash_functional] Loading "mappings.json"
[00:06:02]             │ info [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/logstash_functional] Loading "data.json.gz"
[00:06:02]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:06:02]             │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.22][0]]"
[00:06:02]             │ info [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/logstash_functional] Created index "logstash-2015.09.22"
[00:06:02]             │ debg [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:06:02]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:06:02]             │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.20][0]]"
[00:06:02]             │ info [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/logstash_functional] Created index "logstash-2015.09.20"
[00:06:02]             │ debg [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:06:02]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:06:02]             │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.21][0]]"
[00:06:02]             │ info [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/logstash_functional] Created index "logstash-2015.09.21"
[00:06:02]             │ debg [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:06:12]             │ info progress: 10802
[00:06:15]             │ info [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:06:15]             │ info [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:06:15]             │ info [x-pack/test/saved_object_tagging/common/fixtures/es_archiver/logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:07:54]           └-: editing
[00:07:54]             └-> "before all" hook for "allows to select tags for an existing dashboard"
[00:07:54]             └-> allows to select tags for an existing dashboard
[00:07:54]               └-> "before each" hook: global before each for "allows to select tags for an existing dashboard"
[00:07:54]               └-> "before each" hook for "allows to select tags for an existing dashboard"
[00:07:54]                 │ debg navigating to dashboard url: http://localhost:61181/app/dashboards#/list
[00:07:54]                 │ debg navigate to: http://localhost:61181/app/dashboards#/list
[00:07:54]                 │ debg browser[INFO] http://localhost:61181/app/dashboards?_t=1634721820113#/list 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:07:54]                 │
[00:07:54]                 │ debg browser[INFO] http://localhost:61181/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:54]                 │ debg ... sleep(700) start
[00:07:55]                 │ debg ... sleep(700) end
[00:07:55]                 │ debg returned from get, calling refresh
[00:07:56]                 │ debg browser[INFO] http://localhost:61181/app/dashboards?_t=1634721820113#/list 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:07:56]                 │
[00:07:56]                 │ debg browser[INFO] http://localhost:61181/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:56]                 │ debg currentUrl = http://localhost:61181/app/dashboards#/list
[00:07:56]                 │          appUrl = http://localhost:61181/app/dashboards#/list
[00:07:56]                 │ debg TestSubjects.find(kibanaChrome)
[00:07:56]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:07:57]                 │ debg ... sleep(501) start
[00:07:57]                 │ debg ... sleep(501) end
[00:07:57]                 │ debg in navigateTo url = http://localhost:61181/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:07:57]                 │ debg --- retry.tryForTime error: URL changed, waiting for it to settle
[00:07:58]                 │ debg ... sleep(501) start
[00:07:58]                 │ debg ... sleep(501) end
[00:07:58]                 │ debg in navigateTo url = http://localhost:61181/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:07:58]                 │ debg gotoDashboardLandingPage
[00:07:58]                 │ debg onDashboardLandingPage
[00:07:58]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:07:58]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:07:58]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="itemsInMemTable"]:not(.euiBasicTable-loading)') with timeout=2500
[00:07:58]               │ debg TestSubjects.click(dashboardListingTitleLink-dashboard-4-with-real-data-(tag-1))
[00:07:58]               │ debg Find.clickByCssSelector('[data-test-subj="dashboardListingTitleLink-dashboard-4-with-real-data-(tag-1)"]') with timeout=10000
[00:07:58]               │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-dashboard-4-with-real-data-(tag-1)"]') with timeout=10000
[00:07:59]               │ debg Switching to edit mode
[00:07:59]               │ debg TestSubjects.exists(dashboardEditMode)
[00:07:59]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=2500
[00:07:59]               │ debg browser[INFO] http://localhost:61181/app/dashboards#/view/61c58ad0-3dd3-11e8-b2b9-5d5dc1715159?_g=(filters:!()) 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:07:59]               │
[00:07:59]               │ debg browser[INFO] http://localhost:61181/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:01]               │ debg --- retry.tryForTime error: [data-test-subj="dashboardEditMode"] is not displayed
[00:08:01]               │ debg browser[WARNING] http://localhost:61181/47359/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js 20:68219 "Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
[00:08:01]               │      Arguments: 
[00:08:01]               │      [0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: Mon Apr 09 2018 17:56:08 GMT-0400, _f: undefined, _strict: undefined, _locale: [object Object]
[00:08:01]               │      Error
[00:08:01]               │          at Function.createFromInputFallback (http://localhost:61181/47359/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:21:68648)
[00:08:01]               │          at http://localhost:61181/47359/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:21:88824
[00:08:01]               │          at http://localhost:61181/47359/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:21:88875
[00:08:01]               │          at Ot (http://localhost:61181/47359/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:21:89187)
[00:08:01]               │          at wt (http://localhost:61181/47359/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:21:89448)
[00:08:01]               │          at Mt (http://localhost:61181/47359/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:21:89530)
[00:08:01]               │          at r (http://localhost:61181/47359/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:21:65570)
[00:08:01]               │          at Object.l [as parse] (http://localhost:61181/47359/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:340:135143)
[00:08:01]               │          at http://localhost:61181/47359/bundles/plugin/data/kibana/data.plugin.js:1:129886
[00:08:01]               │          at t._next (http://localhost:61181/47359/bundles/plugin/data/kibana/data.plugin.js:1:129960)"
[00:08:02]               │ debg Waiting up to 20000ms for in edit mode...
[00:08:02]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:02]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:02]               │ warn browser[SEVERE] http://localhost:61181/api/index_patterns/_fields_for_wildcard?pattern=animals-*&meta_fields=_source&meta_fields=_id&meta_fields=_type&meta_fields=_index&meta_fields=_score - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:08:02]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:02]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:02]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.async-search] creating index, cause [auto(bulk api)], templates [], shards [1]/[0]
[00:08:02]               │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.async-search][0]]])." previous.health="YELLOW" reason="shards started [[.async-search][0]]"
[00:08:03]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:03]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:03]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:03]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:03]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:03]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:03]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/ve7MPWxiSnuNGMklvap5YA] update_mapping [_doc]
[00:08:03]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:03]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:04]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:04]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:04]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:04]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:04]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:04]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:04]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:04]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:05]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:05]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:05]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:05]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:05]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:05]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:06]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:06]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:06]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:06]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:06]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:06]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:07]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:07]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:07]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:07]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:07]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/ve7MPWxiSnuNGMklvap5YA] update_mapping [_doc]
[00:08:07]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:07]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:07]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:07]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:08]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:08]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:08]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:08]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:08]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:08]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:08]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:08]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:09]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:09]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:09]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:09]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:09]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:09]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:10]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:10]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:10]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:10]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:10]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:10]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:11]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:11]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:11]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:11]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:11]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:11]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:11]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:11]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:12]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:12]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:12]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:12]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:12]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:12]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:12]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:12]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:13]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:13]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:13]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:13]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:14]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:14]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:14]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:14]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:14]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:14]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:14]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:14]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:15]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:15]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:15]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:15]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:15]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:15]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:15]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:15]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:16]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:16]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:16]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:16]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:16]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:16]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:16]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:16]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:17]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:17]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:17]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:17]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:18]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:18]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:18]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:18]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:18]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:18]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:18]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:18]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:19]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:19]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:19]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:19]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:19]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:19]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:19]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:19]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:20]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:20]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:20]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:20]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:20]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:20]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:21]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:21]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:21]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:21]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:21]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:21]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:22]               │ debg TestSubjects.findAll(embeddablePanel)
[00:08:22]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:08:22]               │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:08:22]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:08:22]               │ info Taking screenshot "/dev/shm/workspace/parallel/18/kibana/x-pack/test/saved_object_tagging/functional/screenshots/failure/saved objects tagging - functional tests dashboard integration editing allows to select tags for an existing dashboard.png"
[00:08:22]               │ info Current URL is: http://localhost:61181/app/dashboards#/view/61c58ad0-3dd3-11e8-b2b9-5d5dc1715159?_g=(filters:!())
[00:08:22]               │ info Saving page source to: /dev/shm/workspace/parallel/18/kibana/x-pack/test/saved_object_tagging/functional/failure_debug/html/saved objects tagging - functional tests dashboard integration editing allows to select tags for an existing dashboard.html
[00:08:22]               └- ✖ fail: saved objects tagging - functional tests dashboard integration editing allows to select tags for an existing dashboard
[00:08:22]               │      Error: timed out waiting for in edit mode
[00:08:22]               │       at onFailure (/dev/shm/workspace/parallel/18/kibana/test/common/services/retry/retry_for_truthy.ts:39:13)
[00:08:22]               │       at retryForSuccess (/dev/shm/workspace/parallel/18/kibana/test/common/services/retry/retry_for_success.ts:59:13)
[00:08:22]               │       at retryForTruthy (/dev/shm/workspace/parallel/18/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:08:22]               │       at RetryService.waitFor (/dev/shm/workspace/parallel/18/kibana/test/common/services/retry/retry.ts:59:5)
[00:08:22]               │       at DashboardPageObject.switchToEditMode (/dev/shm/workspace/parallel/18/kibana/test/functional/page_objects/dashboard_page.ts:257:5)
[00:08:22]               │       at Context.<anonymous> (test/saved_object_tagging/functional/tests/dashboard_integration.ts:166:9)
[00:08:22]               │       at Object.apply (/dev/shm/workspace/parallel/18/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:08:22]               │ 
[00:08:22]               │ 

Stack Trace

Error: timed out waiting for in edit mode
    at onFailure (/dev/shm/workspace/parallel/18/kibana/test/common/services/retry/retry_for_truthy.ts:39:13)
    at retryForSuccess (/dev/shm/workspace/parallel/18/kibana/test/common/services/retry/retry_for_success.ts:59:13)
    at retryForTruthy (/dev/shm/workspace/parallel/18/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
    at RetryService.waitFor (/dev/shm/workspace/parallel/18/kibana/test/common/services/retry/retry.ts:59:5)
    at DashboardPageObject.switchToEditMode (/dev/shm/workspace/parallel/18/kibana/test/functional/page_objects/dashboard_page.ts:257:5)
    at Context.<anonymous> (test/saved_object_tagging/functional/tests/dashboard_integration.ts:166:9)
    at Object.apply (/dev/shm/workspace/parallel/18/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
visTypeTimeseries 488.4KB 488.6KB +188.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @VladLasitsa

@VladLasitsa VladLasitsa merged commit 7edba62 into elastic:master Oct 21, 2021
VladLasitsa added a commit to VladLasitsa/kibana that referenced this pull request Oct 21, 2021
…with entire_time_range from 7.13+ (elastic#115041)

* Move logic about default time range mode inside index pattern component

* Fix lint

* Fix types

* Cover case with override_index_pattern

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
VladLasitsa added a commit that referenced this pull request Oct 21, 2021
…with entire_time_range from 7.13+ (#115041) (#115930)

* Move logic about default time range mode inside index pattern component

* Fix lint

* Fix types

* Cover case with override_index_pattern

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
shivindera pushed a commit to shivindera/kibana that referenced this pull request Oct 25, 2021
…with entire_time_range from 7.13+ (elastic#115041)

* Move logic about default time range mode inside index pattern component

* Fix lint

* Fix types

* Cover case with override_index_pattern

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:TSVB TSVB (Time Series Visual Builder) release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TSVB] Chart with override index pattern and last_value are migrated with entire_time_range from 7.13+
6 participants