Skip to content

Conversation

@patrykkopycinski
Copy link
Contributor

@patrykkopycinski patrykkopycinski commented Oct 7, 2020

Summary

Before:
image

After:
image

@patrykkopycinski patrykkopycinski added bug Fixes for quality problems that affect the customer experience Team:SIEM v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.10.0 labels Oct 7, 2020
@patrykkopycinski patrykkopycinski requested review from a team as code owners October 7, 2020 15:37
@patrykkopycinski patrykkopycinski self-assigned this Oct 7, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

@patrykkopycinski
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
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 alerts "before all" hook in "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:00:00]           └-> "before all" hook
[00:00:00]             │ debg creating space
[00:00:01]             │ debg created space
[00:00:01]             │ debg creating space
[00:00:02]             │ debg created space
[00:00:02]             │ debg creating space
[00:00:03]             │ debg created space
[00:00:03]             │ debg creating user no_kibana_privileges
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added user [no_kibana_privileges]
[00:00:03]             │ debg created user no_kibana_privileges
[00:00:03]             │ debg creating role no_kibana_privileges
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added role [no_kibana_privileges]
[00:00:03]             │ debg creating user superuser
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added user [superuser]
[00:00:03]             │ debg created user superuser
[00:00:03]             │ debg creating user global_read
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added user [global_read]
[00:00:03]             │ debg created user global_read
[00:00:03]             │ debg creating role global_read_role
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added role [global_read_role]
[00:00:03]             │ debg creating user space_1_all
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added user [space_1_all]
[00:00:03]             │ debg created user space_1_all
[00:00:03]             │ debg creating role space_1_all_role
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added role [space_1_all_role]
[00:00:03]             │ debg creating user space_1_all_with_restricted_fixture
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added user [space_1_all_with_restricted_fixture]
[00:00:04]             │ debg created user space_1_all_with_restricted_fixture
[00:00:04]             │ debg creating role space_1_all_with_restricted_fixture_role
[00:00:04]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added role [space_1_all_with_restricted_fixture_role]
[00:00:04]             │ debg creating user space_1_all_alerts_none_actions
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added user [space_1_all_alerts_none_actions]
[00:00:04]             │ debg created user space_1_all_alerts_none_actions
[00:00:04]             │ debg creating role space_1_all_alerts_none_actions_role
[00:00:04]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added role [space_1_all_alerts_none_actions_role]
[00:03:50]           └-: Alerts
[00:03:50]             └-> "before all" hook
[00:37:35]             └-: alerts
[00:37:35]               └-> "before all" hook
[00:37:35]               └-> "before all" hook
[00:37:35]                 │ info [alerts_legacy] Loading "mappings.json"
[00:37:35]                 │ info [alerts_legacy] Loading "data.json"
[00:37:35]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] [.kibana_1/rNMrPaHqTrWux2v82baC0Q] deleting index
[00:37:35]                 │ info [alerts_legacy] Deleted existing index [".kibana_1"]
[00:37:35]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:37:35]                 │ info [alerts_legacy] Created index ".kibana_1"
[00:37:35]                 │ debg [alerts_legacy] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:37:35]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] [.kibana_task_manager_1/Fm9zUDEdQVyPym-rYlXBTw] deleting index
[00:37:35]                 │ info [alerts_legacy] Deleted existing index ".kibana_task_manager_1"
[00:37:35]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] [.kibana_task_manager] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:37:35]                 │ info failed to create aliases [{ '.kibana_task_manager': {} }] because ES indicated an index/alias already exists, trying again
[00:37:35]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] [.kibana_1/TeDpocgUT0GA810LKJq48Q] deleting index
[00:37:35]                 │ info [alerts_legacy] Deleted existing index [".kibana_1"]
[00:37:35]                 └- ✖ fail: alerting api integration security and spaces enabled Alerts alerts "before all" hook in "alerts"
[00:37:35]                 │      Error: [invalid_alias_name_exception] Invalid alias name [.kibana_task_manager], an index exists with the same name as the alias, with { index_uuid="AsdsbRXvRva-z1ULPvPAJw" & index=".kibana_task_manager" }
[00:37:35]                 │       at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:37:35]                 │       at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:37:35]                 │       at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:37:35]                 │       at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
[00:37:35]                 │       at endReadableNT (_stream_readable.js:1145:12)
[00:37:35]                 │       at process._tickCallback (internal/process/next_tick.js:63:19)
[00:37:35]                 │ 
[00:37:35]                 │ 

Stack Trace

{ Error: [invalid_alias_name_exception] Invalid alias name [.kibana_task_manager], an index exists with the same name as the alias, with { index_uuid="AsdsbRXvRva-z1ULPvPAJw" & index=".kibana_task_manager" }
    at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
    at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
    at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
    at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
  status: 400,
  displayName: 'BadRequest',
  message:
   '[invalid_alias_name_exception] Invalid alias name [.kibana_task_manager], an index exists with the same name as the alias, with { index_uuid="AsdsbRXvRva-z1ULPvPAJw" & index=".kibana_task_manager" }',
  path: '/.kibana_task_manager_1',
  query: {},
  body:
   { error:
      { root_cause: [Array],
        type: 'invalid_alias_name_exception',
        reason:
         'Invalid alias name [.kibana_task_manager], an index exists with the same name as the alias',
        index_uuid: 'AsdsbRXvRva-z1ULPvPAJw',
        index: '.kibana_task_manager' },
     status: 400 },
  statusCode: 400,
  response:
   '{"error":{"root_cause":[{"type":"invalid_alias_name_exception","reason":"Invalid alias name [.kibana_task_manager], an index exists with the same name as the alias","index_uuid":"AsdsbRXvRva-z1ULPvPAJw","index":".kibana_task_manager"}],"type":"invalid_alias_name_exception","reason":"Invalid alias name [.kibana_task_manager], an index exists with the same name as the alias","index_uuid":"AsdsbRXvRva-z1ULPvPAJw","index":".kibana_task_manager"},"status":400}',
  toString: [Function],
  toJSON: [Function] }

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 alerts "after all" hook in "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:00:00]           └-> "before all" hook
[00:00:00]             │ debg creating space
[00:00:01]             │ debg created space
[00:00:01]             │ debg creating space
[00:00:02]             │ debg created space
[00:00:02]             │ debg creating space
[00:00:03]             │ debg created space
[00:00:03]             │ debg creating user no_kibana_privileges
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added user [no_kibana_privileges]
[00:00:03]             │ debg created user no_kibana_privileges
[00:00:03]             │ debg creating role no_kibana_privileges
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added role [no_kibana_privileges]
[00:00:03]             │ debg creating user superuser
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added user [superuser]
[00:00:03]             │ debg created user superuser
[00:00:03]             │ debg creating user global_read
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added user [global_read]
[00:00:03]             │ debg created user global_read
[00:00:03]             │ debg creating role global_read_role
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added role [global_read_role]
[00:00:03]             │ debg creating user space_1_all
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added user [space_1_all]
[00:00:03]             │ debg created user space_1_all
[00:00:03]             │ debg creating role space_1_all_role
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added role [space_1_all_role]
[00:00:03]             │ debg creating user space_1_all_with_restricted_fixture
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added user [space_1_all_with_restricted_fixture]
[00:00:04]             │ debg created user space_1_all_with_restricted_fixture
[00:00:04]             │ debg creating role space_1_all_with_restricted_fixture_role
[00:00:04]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added role [space_1_all_with_restricted_fixture_role]
[00:00:04]             │ debg creating user space_1_all_alerts_none_actions
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added user [space_1_all_alerts_none_actions]
[00:00:04]             │ debg created user space_1_all_alerts_none_actions
[00:00:04]             │ debg creating role space_1_all_alerts_none_actions_role
[00:00:04]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added role [space_1_all_alerts_none_actions_role]
[00:03:50]           └-: Alerts
[00:03:50]             └-> "before all" hook
[00:37:35]             └-: alerts
[00:37:35]               └-> "before all" hook
[00:37:35]               └-> "before all" hook
[00:37:35]                 │ info [alerts_legacy] Loading "mappings.json"
[00:37:35]                 │ info [alerts_legacy] Loading "data.json"
[00:37:35]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] [.kibana_1/rNMrPaHqTrWux2v82baC0Q] deleting index
[00:37:35]                 │ info [alerts_legacy] Deleted existing index [".kibana_1"]
[00:37:35]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:37:35]                 │ info [alerts_legacy] Created index ".kibana_1"
[00:37:35]                 │ debg [alerts_legacy] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:37:35]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] [.kibana_task_manager_1/Fm9zUDEdQVyPym-rYlXBTw] deleting index
[00:37:35]                 │ info [alerts_legacy] Deleted existing index ".kibana_task_manager_1"
[00:37:35]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] [.kibana_task_manager] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:37:35]                 │ info failed to create aliases [{ '.kibana_task_manager': {} }] because ES indicated an index/alias already exists, trying again
[00:37:35]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] [.kibana_1/TeDpocgUT0GA810LKJq48Q] deleting index
[00:37:35]                 │ info [alerts_legacy] Deleted existing index [".kibana_1"]
[00:37:35]                 └- ✖ fail: alerting api integration security and spaces enabled Alerts alerts "before all" hook in "alerts"
[00:37:35]                 │      Error: [invalid_alias_name_exception] Invalid alias name [.kibana_task_manager], an index exists with the same name as the alias, with { index_uuid="AsdsbRXvRva-z1ULPvPAJw" & index=".kibana_task_manager" }
[00:37:35]                 │       at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:37:35]                 │       at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:37:35]                 │       at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:37:35]                 │       at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
[00:37:35]                 │       at endReadableNT (_stream_readable.js:1145:12)
[00:37:35]                 │       at process._tickCallback (internal/process/next_tick.js:63:19)
[00:37:35]                 │ 
[00:37:35]                 │ 
[00:37:35]                 └-> "after all" hook
[00:37:35]                   └- ✖ fail: alerting api integration security and spaces enabled Alerts alerts "after all" hook in "alerts"
[00:37:35]                   │      Error: [index_not_found_exception] no such index [.kibana-test-authorization], with { resource.type="index_or_alias" & resource.id=".kibana-test-authorization" & index_uuid="_na_" & index=".kibana-test-authorization" }
[00:37:35]                   │       at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:37:35]                   │       at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:37:35]                   │       at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:37:35]                   │       at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
[00:37:35]                   │       at endReadableNT (_stream_readable.js:1145:12)
[00:37:35]                   │       at process._tickCallback (internal/process/next_tick.js:63:19)
[00:37:35]                   │ 
[00:37:35]                   │ 

Stack Trace

{ Error: [index_not_found_exception] no such index [.kibana-test-authorization], with { resource.type="index_or_alias" & resource.id=".kibana-test-authorization" & index_uuid="_na_" & index=".kibana-test-authorization" }
    at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
    at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
    at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
    at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
  status: 404,
  displayName: 'NotFound',
  message:
   '[index_not_found_exception] no such index [.kibana-test-authorization], with { resource.type="index_or_alias" & resource.id=".kibana-test-authorization" & index_uuid="_na_" & index=".kibana-test-authorization" }',
  path: '/.kibana-test-authorization',
  query: {},
  body:
   { error:
      { root_cause: [Array],
        type: 'index_not_found_exception',
        reason: 'no such index [.kibana-test-authorization]',
        'resource.type': 'index_or_alias',
        'resource.id': '.kibana-test-authorization',
        index_uuid: '_na_',
        index: '.kibana-test-authorization' },
     status: 404 },
  statusCode: 404,
  response:
   '{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [.kibana-test-authorization]","resource.type":"index_or_alias","resource.id":".kibana-test-authorization","index_uuid":"_na_","index":".kibana-test-authorization"}],"type":"index_not_found_exception","reason":"no such index [.kibana-test-authorization]","resource.type":"index_or_alias","resource.id":".kibana-test-authorization","index_uuid":"_na_","index":".kibana-test-authorization"},"status":404}',
  toString: [Function],
  toJSON: [Function] }

X-Pack Alerting API Integration Tests.x-pack/test/alerting_api_integration/security_and_spaces/tests/index·ts.alerting api integration security and spaces enabled "after all" hook in "alerting api integration security and spaces enabled"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: alerting api integration security and spaces enabled
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ debg creating space
[00:00:01]             │ debg created space
[00:00:01]             │ debg creating space
[00:00:02]             │ debg created space
[00:00:02]             │ debg creating space
[00:00:03]             │ debg created space
[00:00:03]             │ debg creating user no_kibana_privileges
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added user [no_kibana_privileges]
[00:00:03]             │ debg created user no_kibana_privileges
[00:00:03]             │ debg creating role no_kibana_privileges
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added role [no_kibana_privileges]
[00:00:03]             │ debg creating user superuser
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added user [superuser]
[00:00:03]             │ debg created user superuser
[00:00:03]             │ debg creating user global_read
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added user [global_read]
[00:00:03]             │ debg created user global_read
[00:00:03]             │ debg creating role global_read_role
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added role [global_read_role]
[00:00:03]             │ debg creating user space_1_all
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added user [space_1_all]
[00:00:03]             │ debg created user space_1_all
[00:00:03]             │ debg creating role space_1_all_role
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added role [space_1_all_role]
[00:00:03]             │ debg creating user space_1_all_with_restricted_fixture
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added user [space_1_all_with_restricted_fixture]
[00:00:04]             │ debg created user space_1_all_with_restricted_fixture
[00:00:04]             │ debg creating role space_1_all_with_restricted_fixture_role
[00:00:04]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added role [space_1_all_with_restricted_fixture_role]
[00:00:04]             │ debg creating user space_1_all_alerts_none_actions
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added user [space_1_all_alerts_none_actions]
[00:00:04]             │ debg created user space_1_all_alerts_none_actions
[00:00:04]             │ debg creating role space_1_all_alerts_none_actions_role
[00:00:04]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1602536554740815827] added role [space_1_all_alerts_none_actions_role]
[00:37:35]               └-> "after all" hook
[00:37:35]                 │ debg deleting user no_kibana_privileges
[00:37:35]                 │ debg deleted user no_kibana_privileges
[00:37:35]                 │ debg deleting role no_kibana_privileges
[00:37:35]                 │ debg deleting user superuser
[00:37:35]                 │ debg deleted user superuser
[00:37:35]                 │ debg deleting user global_read
[00:37:35]                 │ debg deleted user global_read
[00:37:35]                 │ debg deleting role global_read_role
[00:37:35]                 │ debg deleting user space_1_all
[00:37:35]                 │ debg deleted user space_1_all
[00:37:35]                 │ debg deleting role space_1_all_role
[00:37:35]                 │ debg deleting user space_1_all_with_restricted_fixture
[00:37:35]                 │ debg deleted user space_1_all_with_restricted_fixture
[00:37:35]                 │ debg deleting role space_1_all_with_restricted_fixture_role
[00:37:35]                 │ debg deleting user space_1_all_alerts_none_actions
[00:37:35]                 │ debg deleted user space_1_all_alerts_none_actions
[00:37:35]                 │ debg deleting role space_1_all_alerts_none_actions_role
[00:37:36]                 │ info [empty_kibana] Unloading indices from "mappings.json"
[00:37:36]                 └- ✖ fail: alerting api integration security and spaces enabled "after all" hook in "alerting api integration security and spaces enabled"
[00:37:36]                 │      Error: [index_not_found_exception] no such index [.kibana], with { resource.type="index_or_alias" & resource.id=".kibana" & index_uuid="_na_" & index=".kibana" }
[00:37:36]                 │       at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:37:36]                 │       at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:37:36]                 │       at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:37:36]                 │       at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
[00:37:36]                 │       at endReadableNT (_stream_readable.js:1145:12)
[00:37:36]                 │       at process._tickCallback (internal/process/next_tick.js:63:19)
[00:37:36]                 │ 
[00:37:36]                 │ 

Stack Trace

{ Error: [index_not_found_exception] no such index [.kibana], with { resource.type="index_or_alias" & resource.id=".kibana" & index_uuid="_na_" & index=".kibana" }
    at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
    at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
    at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
    at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
  status: 404,
  displayName: 'NotFound',
  message:
   '[index_not_found_exception] no such index [.kibana], with { resource.type="index_or_alias" & resource.id=".kibana" & index_uuid="_na_" & index=".kibana" }',
  path: '/.kibana/_delete_by_query',
  query: {},
  body:
   { error:
      { root_cause: [Array],
        type: 'index_not_found_exception',
        reason: 'no such index [.kibana]',
        'resource.type': 'index_or_alias',
        'resource.id': '.kibana',
        index_uuid: '_na_',
        index: '.kibana' },
     status: 404 },
  statusCode: 404,
  response:
   '{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [.kibana]","resource.type":"index_or_alias","resource.id":".kibana","index_uuid":"_na_","index":".kibana"}],"type":"index_not_found_exception","reason":"no such index [.kibana]","resource.type":"index_or_alias","resource.id":".kibana","index_uuid":"_na_","index":".kibana"},"status":404}',
  toString: [Function],
  toJSON: [Function] }

Metrics [docs]

async chunks size

id before after diff
securitySolution 10.6MB 10.6MB -558.0B

History

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

id === TimelineId.detectionsRulesDetailsPage ||
((id === TimelineId.active && eventType && ['all', 'signal', 'alert'].includes(eventType)) ??
false);
export const hasAdditionalActions = (id: TimelineId): boolean =>
Copy link
Contributor

Choose a reason for hiding this comment

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

Make sense!!!

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:SIEM v7.10.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants