Skip to content

[7.x] [APM] enable 'sanitize_field_names' for Go (#85373)#85499

Merged
axw merged 1 commit intoelastic:7.xfrom
axw:backport/7.x/pr-85373
Dec 10, 2020
Merged

[7.x] [APM] enable 'sanitize_field_names' for Go (#85373)#85499
axw merged 1 commit intoelastic:7.xfrom
axw:backport/7.x/pr-85373

Conversation

@axw
Copy link
Copy Markdown
Member

@axw axw commented Dec 10, 2020

Backports the following commits to 7.x:

elastic/apm-agent-go#856 added
central config support for 'sanitize_field_names' to the
Go agent, so we can now enable it in the UI too.
@axw axw added the backport This PR is a backport of another PR label Dec 10, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

X-Pack Alerting API Integration Tests.x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy·ts.alerting api integration security and spaces enabled Alerts legacy alerts alerts superuser at space1 should schedule actions on legacy alerts

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: alerting api integration security and spaces enabled
[00:00:00]           └-> "before all" hook
[00:04:01]           └-: Alerts
[00:04:01]             └-> "before all" hook
[00:04:01]             └-: legacy alerts
[00:04:01]               └-> "before all" hook
[00:04:01]               └-> "before all" hook
[00:04:01]                 │ debg creating space
[00:04:02]                 │ debg created space
[00:04:02]                 │ debg creating space
[00:04:03]                 │ debg created space
[00:04:03]                 │ debg creating space
[00:04:04]                 │ debg created space
[00:04:04]                 │ debg creating user no_kibana_privileges
[00:04:04]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] added user [no_kibana_privileges]
[00:04:04]                 │ debg created user no_kibana_privileges
[00:04:04]                 │ debg creating role no_kibana_privileges
[00:04:04]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] added role [no_kibana_privileges]
[00:04:04]                 │ debg creating user superuser
[00:04:04]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] added user [superuser]
[00:04:04]                 │ debg created user superuser
[00:04:04]                 │ debg creating user global_read
[00:04:04]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] added user [global_read]
[00:04:04]                 │ debg created user global_read
[00:04:04]                 │ debg creating role global_read_role
[00:04:04]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] added role [global_read_role]
[00:04:04]                 │ debg creating user space_1_all
[00:04:04]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] added user [space_1_all]
[00:04:04]                 │ debg created user space_1_all
[00:04:04]                 │ debg creating role space_1_all_role
[00:04:04]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] added role [space_1_all_role]
[00:04:04]                 │ debg creating user space_1_all_with_restricted_fixture
[00:04:05]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] added user [space_1_all_with_restricted_fixture]
[00:04:05]                 │ debg created user space_1_all_with_restricted_fixture
[00:04:05]                 │ debg creating role space_1_all_with_restricted_fixture_role
[00:04:05]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] added role [space_1_all_with_restricted_fixture_role]
[00:04:05]                 │ debg creating user space_1_all_alerts_none_actions
[00:04:05]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] added user [space_1_all_alerts_none_actions]
[00:04:05]                 │ debg created user space_1_all_alerts_none_actions
[00:04:05]                 │ debg creating role space_1_all_alerts_none_actions_role
[00:04:05]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] added role [space_1_all_alerts_none_actions_role]
[00:04:05]               └-: alerts
[00:04:05]                 └-> "before all" hook
[00:04:05]                 └-> "before all" hook
[00:04:05]                   │ info [alerts_legacy] Loading "mappings.json"
[00:04:05]                   │ info [alerts_legacy] Loading "data.json"
[00:04:05]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] [.kibana_1/ibZje1uyTGmJnZ-htbOO5A] deleting index
[00:04:05]                   │ info [alerts_legacy] Deleted existing index [".kibana_1"]
[00:04:05]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:04:05]                   │ info [alerts_legacy] Created index ".kibana_1"
[00:04:05]                   │ debg [alerts_legacy] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:05]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] [.kibana_task_manager_1/Y-XbIR8STHmqy2gxbI7_iQ] deleting index
[00:04:05]                   │ info [alerts_legacy] Deleted existing index ".kibana_task_manager_1"
[00:04:05]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] [.kibana_task_manager_1] creating index, cause [api], templates [], shards [1]/[0]
[00:04:05]                   │ info [alerts_legacy] Created index ".kibana_task_manager_1"
[00:04:05]                   │ debg [alerts_legacy] ".kibana_task_manager_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:05]                   │ info [alerts_legacy] Indexed 6 docs into ".kibana_1"
[00:04:05]                   │ info [alerts_legacy] Indexed 5 docs into ".kibana_task_manager_1"
[00:04:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] [.kibana_1/sBTb-q8eSE63KC7IgYMCww] update_mapping [_doc]
[00:04:05]                   │ debg Migrating saved objects
[00:04:05]                   │ proc [kibana]   log   [02:27:20.220] [info][savedobjects-service] Detected mapping change in "properties.originId"
[00:04:05]                   │ proc [kibana]   log   [02:27:20.220] [info][savedobjects-service] Creating index .kibana_task_manager_2.
[00:04:05]                   │ proc [kibana]   log   [02:27:20.224] [info][savedobjects-service] Creating index .kibana_2.
[00:04:05]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] [.kibana_task_manager_2] creating index, cause [api], templates [], shards [1]/[1]
[00:04:05]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] updating number_of_replicas to [0] for indices [.kibana_task_manager_2]
[00:04:05]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:04:05]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:05]                   │ proc [kibana]   log   [02:27:20.312] [info][savedobjects-service] Migrating .kibana_task_manager_1 saved objects to .kibana_task_manager_2
[00:04:05]                   │ proc [kibana]   log   [02:27:20.329] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:04:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] [.kibana_task_manager_2/XL1PKe8fTXKyMVWYRB-gdg] update_mapping [_doc]
[00:04:05]                   │ proc [kibana]   log   [02:27:20.453] [info][savedobjects-service] Pointing alias .kibana_task_manager to .kibana_task_manager_2.
[00:04:05]                   │ proc [kibana]   log   [02:27:20.549] [info][savedobjects-service] Finished in 329ms.
[00:04:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] [.kibana_2/W_TABzt7TIyn39CmqOCjvA] update_mapping [_doc]
[00:04:06]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] [.kibana_2/W_TABzt7TIyn39CmqOCjvA] update_mapping [_doc]
[00:04:06]                   │ proc [kibana]   log   [02:27:20.678] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:04:06]                   │ info [o.e.x.s.a.AuthenticationService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] Authentication using apikey failed - unable to find apikey with id Oxj0WHQBBoooFoWilekU
[00:04:06]                   │ info [o.e.x.s.a.AuthenticationService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] Authentication using apikey failed - unable to find apikey with id LBj0WHQBBoooFoWijOm5
[00:04:06]                   │ info [o.e.x.s.a.AuthenticationService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] Authentication using apikey failed - unable to find apikey with id cBj0WHQBBoooFoWireke
[00:04:06]                   │ info [o.e.x.s.a.AuthenticationService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] Authentication using apikey failed - unable to find apikey with id Jhj0WHQBBoooFoWihOnI
[00:04:06]                   │ info [o.e.x.s.a.AuthenticationService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] Authentication using apikey failed - unable to find apikey with id VRj0WHQBBoooFoWipekP
[00:04:06]                   │ proc [kibana]   log   [02:27:20.694] [error][data][elasticsearch] [security_exception]: missing authentication credentials for REST request [/_security/user/_has_privileges]
[00:04:06]                   │ proc [kibana]   log   [02:27:20.696] [error][data][elasticsearch] [security_exception]: missing authentication credentials for REST request [/_security/user/_has_privileges]
[00:04:06]                   │ info [o.e.x.s.a.AuthenticationService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] Authentication using apikey failed - unable to find apikey with id Jhj0WHQBBoooFoWihOnI
[00:04:06]                   │ proc [kibana]   log   [02:27:20.697] [error][data][elasticsearch] [security_exception]: missing authentication credentials for REST request [/_security/user/_has_privileges]
[00:04:06]                   │ info [o.e.x.s.a.AuthenticationService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] Authentication using apikey failed - unable to find apikey with id Oxj0WHQBBoooFoWilekU
[00:04:06]                   │ proc [kibana]   log   [02:27:20.699] [error][data][elasticsearch] [security_exception]: missing authentication credentials for REST request [/_security/user/_has_privileges]
[00:04:06]                   │ info [o.e.x.s.a.AuthenticationService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] Authentication using apikey failed - unable to find apikey with id cBj0WHQBBoooFoWireke
[00:04:06]                   │ info [o.e.x.s.a.AuthenticationService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] Authentication using apikey failed - unable to find apikey with id LBj0WHQBBoooFoWijOm5
[00:04:06]                   │ proc [kibana]   log   [02:27:20.701] [error][data][elasticsearch] [security_exception]: missing authentication credentials for REST request [/_security/user/_has_privileges]
[00:04:06]                   │ proc [kibana]   log   [02:27:20.703] [info][eventLog][plugins] event logged: {"@timestamp":"2020-12-10T02:27:20.658Z","event":{"provider":"alerting","action":"execute","start":"2020-12-10T02:27:20.658Z","end":"2020-12-10T02:27:20.702Z","duration":44000000,"reason":"read","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"b384be60-ec53-4b26-857e-0253ee55b277","namespace":"space1"}],"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d"},"error":{"message":"security_exception"},"message":"test.always-firing:b384be60-ec53-4b26-857e-0253ee55b277: execution failed","ecs":{"version":"1.6.0"}}
[00:04:06]                   │ proc [kibana]   log   [02:27:20.705] [error][data][elasticsearch] [security_exception]: missing authentication credentials for REST request [/_security/user/_has_privileges]
[00:04:06]                   │ proc [kibana]   log   [02:27:20.706] [info][eventLog][plugins] event logged: {"@timestamp":"2020-12-10T02:27:20.658Z","event":{"provider":"alerting","action":"execute","start":"2020-12-10T02:27:20.659Z","end":"2020-12-10T02:27:20.705Z","duration":46000000,"reason":"read","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"d41a6abb-b93b-46df-a80a-926221ea847c","namespace":"space1"}],"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d"},"error":{"message":"security_exception"},"message":"test.always-firing:d41a6abb-b93b-46df-a80a-926221ea847c: execution failed","ecs":{"version":"1.6.0"}}
[00:04:06]                   │ proc [kibana]   log   [02:27:20.707] [error][data][elasticsearch] [security_exception]: missing authentication credentials for REST request [/_security/user/_has_privileges]
[00:04:06]                   │ proc [kibana]   log   [02:27:20.709] [info][eventLog][plugins] event logged: {"@timestamp":"2020-12-10T02:27:20.658Z","event":{"provider":"alerting","action":"execute","start":"2020-12-10T02:27:20.658Z","end":"2020-12-10T02:27:20.708Z","duration":50000000,"reason":"read","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"6ee9630a-a20e-44af-9465-217a3717d2ab","namespace":"space1"}],"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d"},"error":{"message":"security_exception"},"message":"test.always-firing:6ee9630a-a20e-44af-9465-217a3717d2ab: execution failed","ecs":{"version":"1.6.0"}}
[00:04:06]                   │ proc [kibana]   log   [02:27:20.710] [error][data][elasticsearch] [security_exception]: missing authentication credentials for REST request [/_security/user/_has_privileges]
[00:04:06]                   │ proc [kibana]   log   [02:27:20.712] [error][data][elasticsearch] [security_exception]: missing authentication credentials for REST request [/_security/user/_has_privileges]
[00:04:06]                   │ info [o.e.x.s.a.AuthenticationService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] Authentication using apikey failed - unable to find apikey with id VRj0WHQBBoooFoWipekP
[00:04:06]                   │ proc [kibana]   log   [02:27:20.713] [info][eventLog][plugins] event logged: {"@timestamp":"2020-12-10T02:27:20.659Z","event":{"provider":"alerting","action":"execute","start":"2020-12-10T02:27:20.659Z","end":"2020-12-10T02:27:20.712Z","duration":53000000,"reason":"read","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"362e362b-a137-4aa2-9434-43e3d0d84a34","namespace":"space1"}],"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d"},"error":{"message":"security_exception"},"message":"test.always-firing:362e362b-a137-4aa2-9434-43e3d0d84a34: execution failed","ecs":{"version":"1.6.0"}}
[00:04:06]                   │ proc [kibana]   log   [02:27:20.714] [error][data][elasticsearch] [security_exception]: missing authentication credentials for REST request [/_security/user/_has_privileges]
[00:04:06]                   │ proc [kibana]   log   [02:27:20.716] [info][eventLog][plugins] event logged: {"@timestamp":"2020-12-10T02:27:20.658Z","event":{"provider":"alerting","action":"execute","start":"2020-12-10T02:27:20.658Z","end":"2020-12-10T02:27:20.715Z","duration":57000000,"reason":"read","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"5cc59319-74ee-4edc-8646-a79ea91067cd","namespace":"space1"}],"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d"},"error":{"message":"security_exception"},"message":"test.always-firing:5cc59319-74ee-4edc-8646-a79ea91067cd: execution failed","ecs":{"version":"1.6.0"}}
[00:04:06]                   │ proc [kibana]   log   [02:27:20.724] [error][alerting][alerts][plugins][plugins] Executing Alert "b384be60-ec53-4b26-857e-0253ee55b277" has resulted in Error: security_exception
[00:04:06]                   │ proc [kibana]   log   [02:27:20.726] [info][savedobjects-service] Finished in 504ms.
[00:04:06]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] [.kibana-alerting-test-data] creating index, cause [api], templates [], shards [1]/[1]
[00:04:06]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] [.kibana-test-authorization] creating index, cause [api], templates [], shards [1]/[1]
[00:04:06]                   │ debg creating space
[00:04:06]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] [.kibana_2/W_TABzt7TIyn39CmqOCjvA] update_mapping [_doc]
[00:04:06]                   │ proc [kibana]   log   [02:27:21.313] [error][alerting][alerts][plugins][plugins] Executing Alert "362e362b-a137-4aa2-9434-43e3d0d84a34" has resulted in Error: security_exception
[00:04:06]                   │ proc [kibana]   log   [02:27:21.315] [error][alerting][alerts][plugins][plugins] Executing Alert "5cc59319-74ee-4edc-8646-a79ea91067cd" has resulted in Error: security_exception
[00:04:06]                   │ proc [kibana]   log   [02:27:21.316] [error][alerting][alerts][plugins][plugins] Executing Alert "6ee9630a-a20e-44af-9465-217a3717d2ab" has resulted in Error: security_exception
[00:04:06]                   │ proc [kibana]   log   [02:27:21.317] [error][alerting][alerts][plugins][plugins] Executing Alert "d41a6abb-b93b-46df-a80a-926221ea847c" has resulted in Error: security_exception
[00:04:06]                   │ debg created space
[00:04:06]                   │ debg creating space
[00:04:07]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] [.kibana_2/W_TABzt7TIyn39CmqOCjvA] update_mapping [_doc]
[00:04:07]                   │ debg created space
[00:04:07]                   │ debg creating space
[00:04:08]                   │ debg created space
[00:04:08]                   │ debg creating user no_kibana_privileges
[00:04:08]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] updated user [no_kibana_privileges]
[00:04:08]                   │ debg created user no_kibana_privileges
[00:04:08]                   │ debg creating role no_kibana_privileges
[00:04:08]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] updated role [no_kibana_privileges]
[00:04:08]                   │ debg creating user superuser
[00:04:09]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] updated user [superuser]
[00:04:09]                   │ debg created user superuser
[00:04:09]                   │ debg creating user global_read
[00:04:09]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] updated user [global_read]
[00:04:09]                   │ debg created user global_read
[00:04:09]                   │ debg creating role global_read_role
[00:04:09]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] updated role [global_read_role]
[00:04:09]                   │ debg creating user space_1_all
[00:04:09]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] updated user [space_1_all]
[00:04:09]                   │ debg created user space_1_all
[00:04:09]                   │ debg creating role space_1_all_role
[00:04:09]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] updated role [space_1_all_role]
[00:04:09]                   │ debg creating user space_1_all_with_restricted_fixture
[00:04:09]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] updated user [space_1_all_with_restricted_fixture]
[00:04:09]                   │ debg created user space_1_all_with_restricted_fixture
[00:04:09]                   │ debg creating role space_1_all_with_restricted_fixture_role
[00:04:09]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] updated role [space_1_all_with_restricted_fixture_role]
[00:04:09]                   │ debg creating user space_1_all_alerts_none_actions
[00:04:09]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] updated user [space_1_all_alerts_none_actions]
[00:04:09]                   │ debg created user space_1_all_alerts_none_actions
[00:04:09]                   │ debg creating role space_1_all_alerts_none_actions_role
[00:04:09]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1607564834678971811] updated role [space_1_all_alerts_none_actions_role]
[00:04:09]                 └-: superuser at space1
[00:04:09]                   └-> "before all" hook
[00:04:09]                   └-> "before all" hook
[00:04:09]                   └-> should schedule actions on legacy alerts
[00:04:09]                     └-> "before each" hook: global before each
[00:04:10]                     └- ✖ fail: alerting api integration security and spaces enabled Alerts legacy alerts alerts superuser at space1 should schedule actions on legacy alerts
[00:04:10]                     │      TypeError: Cannot read property 'versionApiKeyLastmodified' of undefined
[00:04:10]                     │       at updateMigratedAlertToUseApiKeyOfCurrentUser (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:157:54)
[00:04:10]                     │       at Context.<anonymous> (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:81:15)
[00:04:10]                     │       at Object.apply (/dev/shm/workspace/parallel/24/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
[00:04:10]                     │ 
[00:04:10]                     │ 

Stack Trace

TypeError: Cannot read property 'versionApiKeyLastmodified' of undefined
    at updateMigratedAlertToUseApiKeyOfCurrentUser (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:157:54)
    at Context.<anonymous> (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:81:15)
    at Object.apply (/dev/shm/workspace/parallel/24/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)

Metrics [docs]

Async chunks

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

id before after diff
apm 5.4MB 5.4MB +5.0B

Distributable file count

id before after diff
default 47320 48080 +760

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

@axw axw merged commit f94e564 into elastic:7.x Dec 10, 2020
@axw axw deleted the backport/7.x/pr-85373 branch December 10, 2020 03:39
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.

2 participants