Skip to content

[7.x] [Logs UI] Unskip and stabilitize log column configuration tests (#58392)#58455

Merged
weltenwort merged 3 commits intoelastic:7.xfrom
weltenwort:backport/7.x/pr-58392
Feb 25, 2020
Merged

[7.x] [Logs UI] Unskip and stabilitize log column configuration tests (#58392)#58455
weltenwort merged 3 commits intoelastic:7.xfrom
weltenwort:backport/7.x/pr-58392

Conversation

@weltenwort
Copy link
Copy Markdown
Member

Backports the following commits to 7.x:

…tic#58392)

This attempts to make the log column configuration tests more robust to inconsistent DOM and interaction timing.

fixes elastic#58059
@weltenwort weltenwort added the backport This PR is a backport of another PR label Feb 25, 2020
@weltenwort weltenwort self-assigned this Feb 25, 2020
@weltenwort
Copy link
Copy Markdown
Member Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / X-Pack Spaces API Integration Tests -- security_and_spaces.x-pack/test/spaces_api_integration/security_and_spaces/apis/copy_to_space·ts.spaces api with security copy to spaces rbac user with all globally from the space_1 space "before each" hook

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: spaces api with security
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_legacy_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_dual_privileges_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_dual_privileges_dashboard_only_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_dashboard_only_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_default_space_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_default_space_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_1_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_1_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_2_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_2_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_1_2_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_1_2_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_default_space_saved_objects_all_user]
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_default_space_saved_objects_read_user]
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_1_saved_objects_all_user]
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_1_saved_objects_read_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [not_a_kibana_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_legacy_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_dual_privileges_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_dual_privileges_dashboard_only_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_dashboard_only_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_default_space_all_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_default_space_read_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_1_all_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_1_read_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_2_all_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_2_read_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_1_2_all_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_1_2_read_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_default_space_saved_objects_all_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_default_space_saved_objects_read_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_1_saved_objects_all_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_1_saved_objects_read_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_apm_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_machine_learning_admin]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_machine_learning_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_monitoring_user]
[00:00:06]           └-: copy to spaces
[00:00:06]             └-> "before all" hook
[00:04:41]             └-: rbac user with all globally from the space_1 space
[00:04:41]               └-> "before all" hook
[00:04:41]               └-> "before all" hook
[00:04:41]               └-> should return 200 when copying to space without conflicts or references
[00:04:41]                 └-> "before each" hook: global before each
[00:04:41]                 └-> "before each" hook
[00:04:42]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:42]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:42]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/jDlvpJxTQwqsR0Xqz8AG-Q] deleting index
[00:04:42]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1/lmIwfivmRQaeyzfUKJvDvg] deleting index
[00:04:42]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:42]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:42]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:42]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:42]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:42]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:43]                   │ info Creating index .kibana_2.
[00:04:43]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:43]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:43]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:43]                   │ info Reindexing .kibana to .kibana_1
[00:04:43]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:43]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:43]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:44]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] 16312 finished with response BulkByScrollResponse[took=60.4ms,timed_out=false,sliceId=null,updated=0,created=16,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:44]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana/bOqElftyR-mNpN3_CMtxiQ] deleting index
[00:04:44]                   │ info Migrating .kibana_1 saved objects to .kibana_2
[00:04:44]                   │ debg Migrating saved objects space:default, space:space_1, space:space_2, space_2:dashboard:my_dashboard, space_1:dashboard:my_dashboard, dashboard:my_dashboard, dashboard:cts_dashboard, visualization:cts_vis_1_default, visualization:cts_vis_2_default, visualization:cts_vis_3, space_1:dashboard:cts_dashboard, space_1:visualization:cts_vis_1_space_1, space_1:visualization:cts_vis_2_space_1, space_1:visualization:cts_vis_3, index-pattern:cts_ip_1, space_1:index-pattern:cts_ip_1
[00:04:44]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/PEb55kNlTV2FCxreb70Wmg] update_mapping [_doc]
[00:04:44]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/PEb55kNlTV2FCxreb70Wmg] update_mapping [_doc]
[00:04:44]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/PEb55kNlTV2FCxreb70Wmg] update_mapping [_doc]
[00:04:44]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/PEb55kNlTV2FCxreb70Wmg] update_mapping [_doc]
[00:04:44]                   │ info Pointing alias .kibana to .kibana_2.
[00:04:44]                   │ info Finished in 833ms.
[00:04:45]                 └- ✓ pass  (1.3s) "spaces api with security copy to spaces rbac user with all globally from the space_1 space should return 200 when copying to space without conflicts or references"
[00:04:45]               └-> "after each" hook
[00:04:46]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:46]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:46]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:46]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:46]               └-> should return 200 when copying to space without conflicts with references
[00:04:46]                 └-> "before each" hook: global before each
[00:04:46]                 └-> "before each" hook
[00:04:47]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:47]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:48]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/PEb55kNlTV2FCxreb70Wmg] deleting index
[00:04:48]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1/emf9b472TvqkZAffF_GV1w] deleting index
[00:04:48]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:48]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:48]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:48]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:48]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:48]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:49]                   │ info Creating index .kibana_2.
[00:04:49]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:49]                   │ info Reindexing .kibana to .kibana_1
[00:04:49]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:49]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] 16588 finished with response BulkByScrollResponse[took=49ms,timed_out=false,sliceId=null,updated=0,created=16,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:49]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana/HAVdINaURZGqy8l00N4UEA] deleting index
[00:04:50]                   │ info Migrating .kibana_1 saved objects to .kibana_2
[00:04:50]                   │ debg Migrating saved objects space:default, space:space_1, space:space_2, space_2:dashboard:my_dashboard, space_1:dashboard:my_dashboard, dashboard:my_dashboard, dashboard:cts_dashboard, visualization:cts_vis_1_default, visualization:cts_vis_2_default, visualization:cts_vis_3, space_1:dashboard:cts_dashboard, space_1:visualization:cts_vis_1_space_1, space_1:visualization:cts_vis_2_space_1, space_1:visualization:cts_vis_3, index-pattern:cts_ip_1, space_1:index-pattern:cts_ip_1
[00:04:50]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/iK6aVFw1QtCV1U9pnIu4pQ] update_mapping [_doc]
[00:04:50]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/iK6aVFw1QtCV1U9pnIu4pQ] update_mapping [_doc]
[00:04:50]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/iK6aVFw1QtCV1U9pnIu4pQ] update_mapping [_doc]
[00:04:50]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/iK6aVFw1QtCV1U9pnIu4pQ] update_mapping [_doc]
[00:04:50]                   │ info Pointing alias .kibana to .kibana_2.
[00:04:50]                   │ info Finished in 801ms.
[00:04:51]                 └- ✓ pass  (1.3s) "spaces api with security copy to spaces rbac user with all globally from the space_1 space should return 200 when copying to space without conflicts with references"
[00:04:51]               └-> "after each" hook
[00:04:52]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:52]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:52]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:52]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:52]               └-> should return 200 when copying to space with conflicts when overwriting
[00:04:52]                 └-> "before each" hook: global before each
[00:04:52]                 └-> "before each" hook
[00:04:53]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:53]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:53]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1/JOX3SwyfSBitWdHVAoCwuQ] deleting index
[00:04:53]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/iK6aVFw1QtCV1U9pnIu4pQ] deleting index
[00:04:53]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:53]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:53]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:53]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:53]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:53]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:55]                   │ info Creating index .kibana_2.
[00:04:55]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:55]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:55]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:55]                   │ info Reindexing .kibana to .kibana_1
[00:04:55]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:55]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:55]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:55]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] 16882 finished with response BulkByScrollResponse[took=72.1ms,timed_out=false,sliceId=null,updated=0,created=16,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:55]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana/lPokdAlcTey5FtAaqse3Yw] deleting index
[00:04:55]                   │ info Migrating .kibana_1 saved objects to .kibana_2
[00:04:55]                   │ debg Migrating saved objects space:default, space:space_1, space:space_2, space_2:dashboard:my_dashboard, space_1:dashboard:my_dashboard, dashboard:my_dashboard, dashboard:cts_dashboard, visualization:cts_vis_1_default, visualization:cts_vis_2_default, visualization:cts_vis_3, space_1:dashboard:cts_dashboard, space_1:visualization:cts_vis_1_space_1, space_1:visualization:cts_vis_2_space_1, space_1:visualization:cts_vis_3, index-pattern:cts_ip_1, space_1:index-pattern:cts_ip_1
[00:04:55]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/SxSz4euQRKOblJBYd41JwQ] update_mapping [_doc]
[00:04:55]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/SxSz4euQRKOblJBYd41JwQ] update_mapping [_doc]
[00:04:55]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/SxSz4euQRKOblJBYd41JwQ] update_mapping [_doc]
[00:04:55]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/SxSz4euQRKOblJBYd41JwQ] update_mapping [_doc]
[00:04:55]                   │ info Pointing alias .kibana to .kibana_2.
[00:04:55]                   │ info Finished in 800ms.
[00:04:57]                 └- ✓ pass  (1.3s) "spaces api with security copy to spaces rbac user with all globally from the space_1 space should return 200 when copying to space with conflicts when overwriting"
[00:04:57]               └-> "after each" hook
[00:04:58]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:58]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:58]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:58]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:58]               └-> should return 200 when copying to space with conflicts without overwriting
[00:04:58]                 └-> "before each" hook: global before each
[00:04:58]                 └-> "before each" hook
[00:04:59]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:59]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:59]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/SxSz4euQRKOblJBYd41JwQ] deleting index
[00:04:59]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1/sJHiKlBrSgG8KfK7nOqpOw] deleting index
[00:04:59]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:59]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:59]                   │ info [r.suppressed] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] path: /.kibana/_doc/telemetry%3Atelemetry, params: {index=.kibana, id=telemetry:telemetry}
[00:04:59]                   │      org.elasticsearch.action.NoShardAvailableActionException: No shard available for [get [.kibana][_doc][telemetry:telemetry]: routing [null]]
[00:04:59]                   │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.perform(TransportSingleShardAction.java:224) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.onFailure(TransportSingleShardAction.java:210) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.access$1100(TransportSingleShardAction.java:136) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction$2.handleException(TransportSingleShardAction.java:266) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleException(TransportService.java:1126) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TransportService$DirectResponseChannel.processException(TransportService.java:1235) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TransportService$DirectResponseChannel.sendResponse(TransportService.java:1209) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TaskTransportChannel.sendResponse(TaskTransportChannel.java:60) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.support.ChannelActionListener.onFailure(ChannelActionListener.java:56) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.ActionRunnable.onFailure(ActionRunnable.java:88) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.onFailure(ThreadContext.java:680) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:39) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
[00:04:59]                   │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
[00:04:59]                   │      	at java.lang.Thread.run(Thread.java:830) [?:?]
[00:04:59]                   │      Caused by: org.elasticsearch.transport.RemoteTransportException: [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296][127.0.0.1:6183][indices:data/read/get[s]]
[00:04:59]                   │      Caused by: org.elasticsearch.index.shard.IllegalIndexShardStateException: CurrentState[RECOVERING] operations only allowed when shard state is one of [POST_RECOVERY, STARTED]
[00:04:59]                   │      	at org.elasticsearch.index.shard.IndexShard.readAllowed(IndexShard.java:1729) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.shard.IndexShard.get(IndexShard.java:941) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.get.ShardGetService.innerGet(ShardGetService.java:180) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:104) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:95) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.get.TransportGetAction.shardOperation(TransportGetAction.java:106) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.get.TransportGetAction.shardOperation(TransportGetAction.java:45) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction.lambda$asyncShardOperation$0(TransportSingleShardAction.java:110) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.ActionRunnable.lambda$supply$0(ActionRunnable.java:58) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.ActionRunnable$2.doRun(ActionRunnable.java:73) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:692) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	... 3 more
[00:04:59]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:59]                   │ proc [kibana] internal/process/warning.js:153
[00:04:59]                   │ proc [kibana]         throw warning;
[00:04:59]                   │ proc [kibana]         ^
[00:04:59]                   │ proc [kibana] 
[00:04:59]                   │ proc [kibana] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[00:04:59]                   │ proc [kibana]     at emitDeprecationWarning (internal/process/promises.js:111:13)
[00:04:59]                   │ proc [kibana]     at emitWarning (internal/process/promises.js:104:3)
[00:04:59]                   │ proc [kibana]     at emitPromiseRejectionWarnings (internal/process/promises.js:143:7)
[00:04:59]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:69:34)
[00:04:59]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:59]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:59]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:59]                   └- ✖ fail: "spaces api with security copy to spaces rbac user with all globally from the space_1 space "before each" hook"
[00:04:59]                   │

Stack Trace

{ DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    at emitDeprecationWarning (internal/process/promises.js:111:13)
    at emitWarning (internal/process/promises.js:104:3)
    at emitPromiseRejectionWarnings (internal/process/promises.js:143:7)
    at process._tickCallback (internal/process/next_tick.js:69:34) name: 'DeprecationWarning', code: 'DEP0018', uncaught: true }

Kibana Pipeline / kibana-xpack-agent / X-Pack Spaces API Integration Tests -- security_and_spaces.x-pack/test/spaces_api_integration/security_and_spaces/apis/copy_to_space·ts.spaces api with security copy to spaces rbac user with all globally from the space_1 space should return 200 when copying to space with conflicts without overwriting

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: spaces api with security
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_legacy_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_dual_privileges_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_dual_privileges_dashboard_only_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_dashboard_only_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_default_space_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_default_space_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_1_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_1_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_2_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_2_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_1_2_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_1_2_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_default_space_saved_objects_all_user]
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_default_space_saved_objects_read_user]
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_1_saved_objects_all_user]
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_1_saved_objects_read_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [not_a_kibana_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_legacy_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_dual_privileges_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_dual_privileges_dashboard_only_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_dashboard_only_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_default_space_all_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_default_space_read_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_1_all_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_1_read_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_2_all_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_2_read_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_1_2_all_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_1_2_read_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_default_space_saved_objects_all_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_default_space_saved_objects_read_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_1_saved_objects_all_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_1_saved_objects_read_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_apm_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_machine_learning_admin]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_machine_learning_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_monitoring_user]
[00:00:06]           └-: copy to spaces
[00:00:06]             └-> "before all" hook
[00:04:41]             └-: rbac user with all globally from the space_1 space
[00:04:41]               └-> "before all" hook
[00:04:41]               └-> "before all" hook
[00:04:41]               └-> should return 200 when copying to space without conflicts or references
[00:04:41]                 └-> "before each" hook: global before each
[00:04:41]                 └-> "before each" hook
[00:04:42]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:42]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:42]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/jDlvpJxTQwqsR0Xqz8AG-Q] deleting index
[00:04:42]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1/lmIwfivmRQaeyzfUKJvDvg] deleting index
[00:04:42]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:42]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:42]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:42]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:42]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:42]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:43]                   │ info Creating index .kibana_2.
[00:04:43]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:43]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:43]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:43]                   │ info Reindexing .kibana to .kibana_1
[00:04:43]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:43]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:43]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:44]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] 16312 finished with response BulkByScrollResponse[took=60.4ms,timed_out=false,sliceId=null,updated=0,created=16,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:44]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana/bOqElftyR-mNpN3_CMtxiQ] deleting index
[00:04:44]                   │ info Migrating .kibana_1 saved objects to .kibana_2
[00:04:44]                   │ debg Migrating saved objects space:default, space:space_1, space:space_2, space_2:dashboard:my_dashboard, space_1:dashboard:my_dashboard, dashboard:my_dashboard, dashboard:cts_dashboard, visualization:cts_vis_1_default, visualization:cts_vis_2_default, visualization:cts_vis_3, space_1:dashboard:cts_dashboard, space_1:visualization:cts_vis_1_space_1, space_1:visualization:cts_vis_2_space_1, space_1:visualization:cts_vis_3, index-pattern:cts_ip_1, space_1:index-pattern:cts_ip_1
[00:04:44]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/PEb55kNlTV2FCxreb70Wmg] update_mapping [_doc]
[00:04:44]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/PEb55kNlTV2FCxreb70Wmg] update_mapping [_doc]
[00:04:44]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/PEb55kNlTV2FCxreb70Wmg] update_mapping [_doc]
[00:04:44]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/PEb55kNlTV2FCxreb70Wmg] update_mapping [_doc]
[00:04:44]                   │ info Pointing alias .kibana to .kibana_2.
[00:04:44]                   │ info Finished in 833ms.
[00:04:45]                 └- ✓ pass  (1.3s) "spaces api with security copy to spaces rbac user with all globally from the space_1 space should return 200 when copying to space without conflicts or references"
[00:04:45]               └-> "after each" hook
[00:04:46]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:46]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:46]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:46]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:46]               └-> should return 200 when copying to space without conflicts with references
[00:04:46]                 └-> "before each" hook: global before each
[00:04:46]                 └-> "before each" hook
[00:04:47]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:47]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:48]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/PEb55kNlTV2FCxreb70Wmg] deleting index
[00:04:48]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1/emf9b472TvqkZAffF_GV1w] deleting index
[00:04:48]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:48]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:48]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:48]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:48]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:48]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:49]                   │ info Creating index .kibana_2.
[00:04:49]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:49]                   │ info Reindexing .kibana to .kibana_1
[00:04:49]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:49]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] 16588 finished with response BulkByScrollResponse[took=49ms,timed_out=false,sliceId=null,updated=0,created=16,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:49]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana/HAVdINaURZGqy8l00N4UEA] deleting index
[00:04:50]                   │ info Migrating .kibana_1 saved objects to .kibana_2
[00:04:50]                   │ debg Migrating saved objects space:default, space:space_1, space:space_2, space_2:dashboard:my_dashboard, space_1:dashboard:my_dashboard, dashboard:my_dashboard, dashboard:cts_dashboard, visualization:cts_vis_1_default, visualization:cts_vis_2_default, visualization:cts_vis_3, space_1:dashboard:cts_dashboard, space_1:visualization:cts_vis_1_space_1, space_1:visualization:cts_vis_2_space_1, space_1:visualization:cts_vis_3, index-pattern:cts_ip_1, space_1:index-pattern:cts_ip_1
[00:04:50]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/iK6aVFw1QtCV1U9pnIu4pQ] update_mapping [_doc]
[00:04:50]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/iK6aVFw1QtCV1U9pnIu4pQ] update_mapping [_doc]
[00:04:50]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/iK6aVFw1QtCV1U9pnIu4pQ] update_mapping [_doc]
[00:04:50]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/iK6aVFw1QtCV1U9pnIu4pQ] update_mapping [_doc]
[00:04:50]                   │ info Pointing alias .kibana to .kibana_2.
[00:04:50]                   │ info Finished in 801ms.
[00:04:51]                 └- ✓ pass  (1.3s) "spaces api with security copy to spaces rbac user with all globally from the space_1 space should return 200 when copying to space without conflicts with references"
[00:04:51]               └-> "after each" hook
[00:04:52]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:52]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:52]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:52]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:52]               └-> should return 200 when copying to space with conflicts when overwriting
[00:04:52]                 └-> "before each" hook: global before each
[00:04:52]                 └-> "before each" hook
[00:04:53]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:53]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:53]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1/JOX3SwyfSBitWdHVAoCwuQ] deleting index
[00:04:53]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/iK6aVFw1QtCV1U9pnIu4pQ] deleting index
[00:04:53]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:53]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:53]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:53]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:53]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:53]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:55]                   │ info Creating index .kibana_2.
[00:04:55]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:55]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:55]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:55]                   │ info Reindexing .kibana to .kibana_1
[00:04:55]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:55]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:55]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:55]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] 16882 finished with response BulkByScrollResponse[took=72.1ms,timed_out=false,sliceId=null,updated=0,created=16,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:55]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana/lPokdAlcTey5FtAaqse3Yw] deleting index
[00:04:55]                   │ info Migrating .kibana_1 saved objects to .kibana_2
[00:04:55]                   │ debg Migrating saved objects space:default, space:space_1, space:space_2, space_2:dashboard:my_dashboard, space_1:dashboard:my_dashboard, dashboard:my_dashboard, dashboard:cts_dashboard, visualization:cts_vis_1_default, visualization:cts_vis_2_default, visualization:cts_vis_3, space_1:dashboard:cts_dashboard, space_1:visualization:cts_vis_1_space_1, space_1:visualization:cts_vis_2_space_1, space_1:visualization:cts_vis_3, index-pattern:cts_ip_1, space_1:index-pattern:cts_ip_1
[00:04:55]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/SxSz4euQRKOblJBYd41JwQ] update_mapping [_doc]
[00:04:55]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/SxSz4euQRKOblJBYd41JwQ] update_mapping [_doc]
[00:04:55]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/SxSz4euQRKOblJBYd41JwQ] update_mapping [_doc]
[00:04:55]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/SxSz4euQRKOblJBYd41JwQ] update_mapping [_doc]
[00:04:55]                   │ info Pointing alias .kibana to .kibana_2.
[00:04:55]                   │ info Finished in 800ms.
[00:04:57]                 └- ✓ pass  (1.3s) "spaces api with security copy to spaces rbac user with all globally from the space_1 space should return 200 when copying to space with conflicts when overwriting"
[00:04:57]               └-> "after each" hook
[00:04:58]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:58]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:58]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:58]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:58]               └-> should return 200 when copying to space with conflicts without overwriting
[00:04:58]                 └-> "before each" hook: global before each
[00:04:58]                 └-> "before each" hook
[00:04:59]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:59]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:59]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/SxSz4euQRKOblJBYd41JwQ] deleting index
[00:04:59]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1/sJHiKlBrSgG8KfK7nOqpOw] deleting index
[00:04:59]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:59]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:59]                   │ info [r.suppressed] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] path: /.kibana/_doc/telemetry%3Atelemetry, params: {index=.kibana, id=telemetry:telemetry}
[00:04:59]                   │      org.elasticsearch.action.NoShardAvailableActionException: No shard available for [get [.kibana][_doc][telemetry:telemetry]: routing [null]]
[00:04:59]                   │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.perform(TransportSingleShardAction.java:224) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.onFailure(TransportSingleShardAction.java:210) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.access$1100(TransportSingleShardAction.java:136) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction$2.handleException(TransportSingleShardAction.java:266) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleException(TransportService.java:1126) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TransportService$DirectResponseChannel.processException(TransportService.java:1235) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TransportService$DirectResponseChannel.sendResponse(TransportService.java:1209) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TaskTransportChannel.sendResponse(TaskTransportChannel.java:60) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.support.ChannelActionListener.onFailure(ChannelActionListener.java:56) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.ActionRunnable.onFailure(ActionRunnable.java:88) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.onFailure(ThreadContext.java:680) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:39) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
[00:04:59]                   │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
[00:04:59]                   │      	at java.lang.Thread.run(Thread.java:830) [?:?]
[00:04:59]                   │      Caused by: org.elasticsearch.transport.RemoteTransportException: [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296][127.0.0.1:6183][indices:data/read/get[s]]
[00:04:59]                   │      Caused by: org.elasticsearch.index.shard.IllegalIndexShardStateException: CurrentState[RECOVERING] operations only allowed when shard state is one of [POST_RECOVERY, STARTED]
[00:04:59]                   │      	at org.elasticsearch.index.shard.IndexShard.readAllowed(IndexShard.java:1729) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.shard.IndexShard.get(IndexShard.java:941) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.get.ShardGetService.innerGet(ShardGetService.java:180) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:104) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:95) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.get.TransportGetAction.shardOperation(TransportGetAction.java:106) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.get.TransportGetAction.shardOperation(TransportGetAction.java:45) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction.lambda$asyncShardOperation$0(TransportSingleShardAction.java:110) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.ActionRunnable.lambda$supply$0(ActionRunnable.java:58) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.ActionRunnable$2.doRun(ActionRunnable.java:73) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:692) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	... 3 more
[00:04:59]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:59]                   │ proc [kibana] internal/process/warning.js:153
[00:04:59]                   │ proc [kibana]         throw warning;
[00:04:59]                   │ proc [kibana]         ^
[00:04:59]                   │ proc [kibana] 
[00:04:59]                   │ proc [kibana] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[00:04:59]                   │ proc [kibana]     at emitDeprecationWarning (internal/process/promises.js:111:13)
[00:04:59]                   │ proc [kibana]     at emitWarning (internal/process/promises.js:104:3)
[00:04:59]                   │ proc [kibana]     at emitPromiseRejectionWarnings (internal/process/promises.js:143:7)
[00:04:59]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:69:34)
[00:04:59]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:59]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:59]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:59]                   └- ✖ fail: "spaces api with security copy to spaces rbac user with all globally from the space_1 space "before each" hook"
[00:04:59]                   │
[00:04:59]                   └-> "after each" hook
[00:04:59]                     │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=1/5)
[00:05:00]                     │ info Creating index .kibana_2.
[00:05:00]                     │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:05:00]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_2]
[00:05:00]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:05:00]                     │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=2/5)
[00:05:00]                     │ info Reindexing .kibana to .kibana_1
[00:05:00]                     │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:05:00]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_1]
[00:05:00]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:05:00]                     │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] 17178 finished with response BulkByScrollResponse[took=54.6ms,timed_out=false,sliceId=null,updated=0,created=16,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:05:00]                     │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana/yrC0aW9aQnO-Hlj890kKyg] deleting index
[00:05:00]                     │ info Migrating .kibana_1 saved objects to .kibana_2
[00:05:00]                     │ debg Migrating saved objects space:default, space:space_1, space:space_2, space_2:dashboard:my_dashboard, space_1:dashboard:my_dashboard, dashboard:my_dashboard, dashboard:cts_dashboard, visualization:cts_vis_1_default, visualization:cts_vis_2_default, visualization:cts_vis_3, space_1:dashboard:cts_dashboard, space_1:visualization:cts_vis_1_space_1, space_1:visualization:cts_vis_2_space_1, space_1:visualization:cts_vis_3, index-pattern:cts_ip_1, space_1:index-pattern:cts_ip_1
[00:05:00]                     │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/3_JnfJ4ZSumxxOtzlvUvBQ] update_mapping [_doc]
[00:05:01]                     │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/3_JnfJ4ZSumxxOtzlvUvBQ] update_mapping [_doc]
[00:05:01]                     │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/3_JnfJ4ZSumxxOtzlvUvBQ] update_mapping [_doc]
[00:05:01]                     │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/3_JnfJ4ZSumxxOtzlvUvBQ] update_mapping [_doc]
[00:05:01]                     │ info Pointing alias .kibana to .kibana_2.
[00:05:01]                     │ info Finished in 802ms.
[00:05:01]                   └- ✖ fail: "spaces api with security copy to spaces rbac user with all globally from the space_1 space should return 200 when copying to space with conflicts without overwriting"
[00:05:01]                   │

Stack Trace

Error: ECONNREFUSED: Connection refused
    at Test.assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:165:15)
    at assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:131:12)
    at /dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:128:5
    at Test.Request.callback (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/index.js:718:3)
    at ClientRequest.req.once.err (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/index.js:646:10)
    at Socket.socketErrorListener (_http_client.js:401:9)
    at emitErrorNT (internal/streams/destroy.js:91:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
    at process._tickCallback (internal/process/next_tick.js:63:19)

Kibana Pipeline / kibana-xpack-agent / X-Pack Spaces API Integration Tests -- security_and_spaces.x-pack/test/spaces_api_integration/security_and_spaces/apis/copy_to_space·ts.spaces api with security copy to spaces rbac user with all globally from the space_1 space "after each" hook for "should return 200 when copying to space with conflicts without overwriting"

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: spaces api with security
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_legacy_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_dual_privileges_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_dual_privileges_dashboard_only_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_dashboard_only_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_default_space_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_default_space_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_1_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_1_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_2_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_2_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_1_2_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_1_2_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_default_space_saved_objects_all_user]
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_default_space_saved_objects_read_user]
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_1_saved_objects_all_user]
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added role [kibana_rbac_space_1_saved_objects_read_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [not_a_kibana_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_legacy_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_dual_privileges_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_dual_privileges_dashboard_only_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_dashboard_only_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_default_space_all_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_default_space_read_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_1_all_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_1_read_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_2_all_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_2_read_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_1_2_all_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_1_2_read_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_default_space_saved_objects_all_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_default_space_saved_objects_read_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_1_saved_objects_all_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_kibana_rbac_space_1_saved_objects_read_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_apm_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_machine_learning_admin]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_machine_learning_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] added user [a_monitoring_user]
[00:00:06]           └-: copy to spaces
[00:00:06]             └-> "before all" hook
[00:04:41]             └-: rbac user with all globally from the space_1 space
[00:04:41]               └-> "before all" hook
[00:04:41]               └-> "before all" hook
[00:04:41]               └-> should return 200 when copying to space without conflicts or references
[00:04:41]                 └-> "before each" hook: global before each
[00:04:41]                 └-> "before each" hook
[00:04:42]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:42]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:42]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/jDlvpJxTQwqsR0Xqz8AG-Q] deleting index
[00:04:42]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1/lmIwfivmRQaeyzfUKJvDvg] deleting index
[00:04:42]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:42]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:42]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:42]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:42]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:42]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:43]                   │ info Creating index .kibana_2.
[00:04:43]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:43]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:43]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:43]                   │ info Reindexing .kibana to .kibana_1
[00:04:43]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:43]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:43]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:44]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] 16312 finished with response BulkByScrollResponse[took=60.4ms,timed_out=false,sliceId=null,updated=0,created=16,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:44]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana/bOqElftyR-mNpN3_CMtxiQ] deleting index
[00:04:44]                   │ info Migrating .kibana_1 saved objects to .kibana_2
[00:04:44]                   │ debg Migrating saved objects space:default, space:space_1, space:space_2, space_2:dashboard:my_dashboard, space_1:dashboard:my_dashboard, dashboard:my_dashboard, dashboard:cts_dashboard, visualization:cts_vis_1_default, visualization:cts_vis_2_default, visualization:cts_vis_3, space_1:dashboard:cts_dashboard, space_1:visualization:cts_vis_1_space_1, space_1:visualization:cts_vis_2_space_1, space_1:visualization:cts_vis_3, index-pattern:cts_ip_1, space_1:index-pattern:cts_ip_1
[00:04:44]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/PEb55kNlTV2FCxreb70Wmg] update_mapping [_doc]
[00:04:44]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/PEb55kNlTV2FCxreb70Wmg] update_mapping [_doc]
[00:04:44]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/PEb55kNlTV2FCxreb70Wmg] update_mapping [_doc]
[00:04:44]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/PEb55kNlTV2FCxreb70Wmg] update_mapping [_doc]
[00:04:44]                   │ info Pointing alias .kibana to .kibana_2.
[00:04:44]                   │ info Finished in 833ms.
[00:04:45]                 └- ✓ pass  (1.3s) "spaces api with security copy to spaces rbac user with all globally from the space_1 space should return 200 when copying to space without conflicts or references"
[00:04:45]               └-> "after each" hook
[00:04:46]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:46]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:46]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:46]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:46]               └-> should return 200 when copying to space without conflicts with references
[00:04:46]                 └-> "before each" hook: global before each
[00:04:46]                 └-> "before each" hook
[00:04:47]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:47]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:48]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/PEb55kNlTV2FCxreb70Wmg] deleting index
[00:04:48]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1/emf9b472TvqkZAffF_GV1w] deleting index
[00:04:48]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:48]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:48]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:48]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:48]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:48]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:49]                   │ info Creating index .kibana_2.
[00:04:49]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:49]                   │ info Reindexing .kibana to .kibana_1
[00:04:49]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:49]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] 16588 finished with response BulkByScrollResponse[took=49ms,timed_out=false,sliceId=null,updated=0,created=16,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:49]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana/HAVdINaURZGqy8l00N4UEA] deleting index
[00:04:50]                   │ info Migrating .kibana_1 saved objects to .kibana_2
[00:04:50]                   │ debg Migrating saved objects space:default, space:space_1, space:space_2, space_2:dashboard:my_dashboard, space_1:dashboard:my_dashboard, dashboard:my_dashboard, dashboard:cts_dashboard, visualization:cts_vis_1_default, visualization:cts_vis_2_default, visualization:cts_vis_3, space_1:dashboard:cts_dashboard, space_1:visualization:cts_vis_1_space_1, space_1:visualization:cts_vis_2_space_1, space_1:visualization:cts_vis_3, index-pattern:cts_ip_1, space_1:index-pattern:cts_ip_1
[00:04:50]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/iK6aVFw1QtCV1U9pnIu4pQ] update_mapping [_doc]
[00:04:50]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/iK6aVFw1QtCV1U9pnIu4pQ] update_mapping [_doc]
[00:04:50]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/iK6aVFw1QtCV1U9pnIu4pQ] update_mapping [_doc]
[00:04:50]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/iK6aVFw1QtCV1U9pnIu4pQ] update_mapping [_doc]
[00:04:50]                   │ info Pointing alias .kibana to .kibana_2.
[00:04:50]                   │ info Finished in 801ms.
[00:04:51]                 └- ✓ pass  (1.3s) "spaces api with security copy to spaces rbac user with all globally from the space_1 space should return 200 when copying to space without conflicts with references"
[00:04:51]               └-> "after each" hook
[00:04:52]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:52]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:52]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:52]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:52]               └-> should return 200 when copying to space with conflicts when overwriting
[00:04:52]                 └-> "before each" hook: global before each
[00:04:52]                 └-> "before each" hook
[00:04:53]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:53]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:53]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1/JOX3SwyfSBitWdHVAoCwuQ] deleting index
[00:04:53]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/iK6aVFw1QtCV1U9pnIu4pQ] deleting index
[00:04:53]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:53]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:53]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:53]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:53]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:53]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:55]                   │ info Creating index .kibana_2.
[00:04:55]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:55]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:55]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:55]                   │ info Reindexing .kibana to .kibana_1
[00:04:55]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:55]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:55]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:55]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] 16882 finished with response BulkByScrollResponse[took=72.1ms,timed_out=false,sliceId=null,updated=0,created=16,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:55]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana/lPokdAlcTey5FtAaqse3Yw] deleting index
[00:04:55]                   │ info Migrating .kibana_1 saved objects to .kibana_2
[00:04:55]                   │ debg Migrating saved objects space:default, space:space_1, space:space_2, space_2:dashboard:my_dashboard, space_1:dashboard:my_dashboard, dashboard:my_dashboard, dashboard:cts_dashboard, visualization:cts_vis_1_default, visualization:cts_vis_2_default, visualization:cts_vis_3, space_1:dashboard:cts_dashboard, space_1:visualization:cts_vis_1_space_1, space_1:visualization:cts_vis_2_space_1, space_1:visualization:cts_vis_3, index-pattern:cts_ip_1, space_1:index-pattern:cts_ip_1
[00:04:55]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/SxSz4euQRKOblJBYd41JwQ] update_mapping [_doc]
[00:04:55]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/SxSz4euQRKOblJBYd41JwQ] update_mapping [_doc]
[00:04:55]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/SxSz4euQRKOblJBYd41JwQ] update_mapping [_doc]
[00:04:55]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/SxSz4euQRKOblJBYd41JwQ] update_mapping [_doc]
[00:04:55]                   │ info Pointing alias .kibana to .kibana_2.
[00:04:55]                   │ info Finished in 800ms.
[00:04:57]                 └- ✓ pass  (1.3s) "spaces api with security copy to spaces rbac user with all globally from the space_1 space should return 200 when copying to space with conflicts when overwriting"
[00:04:57]               └-> "after each" hook
[00:04:58]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:58]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:58]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:58]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:58]               └-> should return 200 when copying to space with conflicts without overwriting
[00:04:58]                 └-> "before each" hook: global before each
[00:04:58]                 └-> "before each" hook
[00:04:59]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:59]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:59]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/SxSz4euQRKOblJBYd41JwQ] deleting index
[00:04:59]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1/sJHiKlBrSgG8KfK7nOqpOw] deleting index
[00:04:59]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:59]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:59]                   │ info [r.suppressed] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] path: /.kibana/_doc/telemetry%3Atelemetry, params: {index=.kibana, id=telemetry:telemetry}
[00:04:59]                   │      org.elasticsearch.action.NoShardAvailableActionException: No shard available for [get [.kibana][_doc][telemetry:telemetry]: routing [null]]
[00:04:59]                   │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.perform(TransportSingleShardAction.java:224) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.onFailure(TransportSingleShardAction.java:210) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.access$1100(TransportSingleShardAction.java:136) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction$2.handleException(TransportSingleShardAction.java:266) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleException(TransportService.java:1126) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TransportService$DirectResponseChannel.processException(TransportService.java:1235) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TransportService$DirectResponseChannel.sendResponse(TransportService.java:1209) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TaskTransportChannel.sendResponse(TaskTransportChannel.java:60) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.support.ChannelActionListener.onFailure(ChannelActionListener.java:56) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.ActionRunnable.onFailure(ActionRunnable.java:88) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.onFailure(ThreadContext.java:680) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:39) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
[00:04:59]                   │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
[00:04:59]                   │      	at java.lang.Thread.run(Thread.java:830) [?:?]
[00:04:59]                   │      Caused by: org.elasticsearch.transport.RemoteTransportException: [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296][127.0.0.1:6183][indices:data/read/get[s]]
[00:04:59]                   │      Caused by: org.elasticsearch.index.shard.IllegalIndexShardStateException: CurrentState[RECOVERING] operations only allowed when shard state is one of [POST_RECOVERY, STARTED]
[00:04:59]                   │      	at org.elasticsearch.index.shard.IndexShard.readAllowed(IndexShard.java:1729) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.shard.IndexShard.get(IndexShard.java:941) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.get.ShardGetService.innerGet(ShardGetService.java:180) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:104) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:95) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.get.TransportGetAction.shardOperation(TransportGetAction.java:106) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.get.TransportGetAction.shardOperation(TransportGetAction.java:45) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction.lambda$asyncShardOperation$0(TransportSingleShardAction.java:110) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.ActionRunnable.lambda$supply$0(ActionRunnable.java:58) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.ActionRunnable$2.doRun(ActionRunnable.java:73) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:692) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:04:59]                   │      	... 3 more
[00:04:59]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:59]                   │ proc [kibana] internal/process/warning.js:153
[00:04:59]                   │ proc [kibana]         throw warning;
[00:04:59]                   │ proc [kibana]         ^
[00:04:59]                   │ proc [kibana] 
[00:04:59]                   │ proc [kibana] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[00:04:59]                   │ proc [kibana]     at emitDeprecationWarning (internal/process/promises.js:111:13)
[00:04:59]                   │ proc [kibana]     at emitWarning (internal/process/promises.js:104:3)
[00:04:59]                   │ proc [kibana]     at emitPromiseRejectionWarnings (internal/process/promises.js:143:7)
[00:04:59]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:69:34)
[00:04:59]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:59]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:59]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:59]                   └- ✖ fail: "spaces api with security copy to spaces rbac user with all globally from the space_1 space "before each" hook"
[00:04:59]                   │
[00:04:59]                   └-> "after each" hook
[00:04:59]                     │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=1/5)
[00:05:00]                     │ info Creating index .kibana_2.
[00:05:00]                     │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:05:00]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_2]
[00:05:00]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:05:00]                     │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=2/5)
[00:05:00]                     │ info Reindexing .kibana to .kibana_1
[00:05:00]                     │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:05:00]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] updating number_of_replicas to [0] for indices [.kibana_1]
[00:05:00]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:05:00]                     │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] 17178 finished with response BulkByScrollResponse[took=54.6ms,timed_out=false,sliceId=null,updated=0,created=16,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:05:00]                     │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana/yrC0aW9aQnO-Hlj890kKyg] deleting index
[00:05:00]                     │ info Migrating .kibana_1 saved objects to .kibana_2
[00:05:00]                     │ debg Migrating saved objects space:default, space:space_1, space:space_2, space_2:dashboard:my_dashboard, space_1:dashboard:my_dashboard, dashboard:my_dashboard, dashboard:cts_dashboard, visualization:cts_vis_1_default, visualization:cts_vis_2_default, visualization:cts_vis_3, space_1:dashboard:cts_dashboard, space_1:visualization:cts_vis_1_space_1, space_1:visualization:cts_vis_2_space_1, space_1:visualization:cts_vis_3, index-pattern:cts_ip_1, space_1:index-pattern:cts_ip_1
[00:05:00]                     │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/3_JnfJ4ZSumxxOtzlvUvBQ] update_mapping [_doc]
[00:05:01]                     │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/3_JnfJ4ZSumxxOtzlvUvBQ] update_mapping [_doc]
[00:05:01]                     │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/3_JnfJ4ZSumxxOtzlvUvBQ] update_mapping [_doc]
[00:05:01]                     │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582635176821242296] [.kibana_2/3_JnfJ4ZSumxxOtzlvUvBQ] update_mapping [_doc]
[00:05:01]                     │ info Pointing alias .kibana to .kibana_2.
[00:05:01]                     │ info Finished in 802ms.
[00:05:01]                   └- ✖ fail: "spaces api with security copy to spaces rbac user with all globally from the space_1 space should return 200 when copying to space with conflicts without overwriting"
[00:05:01]                   │
[00:05:01]                 └-> "after each" hook
[00:05:01]                   │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=1/5)
[00:05:02]                   │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=2/5)
[00:05:02]                   │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=3/5)
[00:05:04]                   │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=3/5)
[00:05:05]                   │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=4/5)
[00:05:07]                   │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=4/5)
[00:05:09]                   │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=5/5)
[00:05:09]                   └- ✖ fail: "spaces api with security copy to spaces rbac user with all globally from the space_1 space "after each" hook for "should return 200 when copying to space with conflicts without overwriting""
[00:05:09]                   │

Stack Trace

Error: [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=5/5) -- and ran out of retries
    at KbnClientRequester.request (/dev/shm/workspace/kibana/packages/kbn-dev-utils/target/kbn_client/kbn_client_requester.js:99:23)
    at process._tickCallback (internal/process/next_tick.js:68:7)

History

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

@weltenwort
Copy link
Copy Markdown
Member Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

History

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

@weltenwort weltenwort merged commit c65f2b2 into elastic:7.x Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants