Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make toolbar_button a shared component #88386

Merged
merged 13 commits into from
Jan 25, 2021

Conversation

andreadelrio
Copy link
Contributor

Summary

image 12

Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
- [ ] Documentation was added for features that require explanation or tutorials

For maintainers

@andreadelrio andreadelrio requested a review from a team January 14, 2021 19:07
@andreadelrio andreadelrio requested review from a team as code owners January 14, 2021 19:07
@ryankeairns
Copy link
Contributor

@andreadelrio this is a great idea!

I think I know the answer to this question, but for the sake of clarity, this will also be used in the shared embeddable toolbar component as well, correct?

@andreadelrio
Copy link
Contributor Author

@andreadelrio this is a great idea!

I think I know the answer to this question, but for the sake of clarity, this will also be used in the shared embeddable toolbar component as well, correct?

@ryankeairns That's correct! Once this is in I can send a PR against Catherine's branch.

@kibanamachine
Copy link
Contributor

⏳ Build in-progress, with failures

Failed CI Steps

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

@andreadelrio andreadelrio added release_note:skip Skip the PR/issue when compiling release notes 8.0.0 v7.12.0 labels Jan 14, 2021
@ryankeairns
Copy link
Contributor

@myasonik this one needs your engineering review on behalf of kibana-design

Copy link
Contributor

@myasonik myasonik left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

@flash1293
Copy link
Contributor

@elasticmachine merge upstream

Copy link
Contributor

@flash1293 flash1293 left a comment

Choose a reason for hiding this comment

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

Tested Lens and still works as expected - LGTM once green (there seems to be some issue with exporting, it probably makes sense to rename the constants specifically for toolbar button)

Copy link
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

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

Thanks @andreadelrio !!!

@wylieconlon wylieconlon added v8.0.0 and removed 8.0.0 labels Jan 20, 2021
@lizozom
Copy link
Contributor

lizozom commented Jan 25, 2021

@elasticmachine merge upstream

Copy link
Contributor

@lizozom lizozom left a comment

Choose a reason for hiding this comment

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

Moving the component to Kibana React LGTM

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

Stack Trace

StatusCodeError: [invalid_alias_name_exception] Invalid alias name [.kibana_task_manager], an index exists with the same name as the alias, with { index_uuid="cX4kudVUS_a76mNRuOkQ1A" & 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 (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  status: 400,
  displayName: 'BadRequest',
  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: 'cX4kudVUS_a76mNRuOkQ1A',
      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":"cX4kudVUS_a76mNRuOkQ1A","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":"cX4kudVUS_a76mNRuOkQ1A","index":".kibana_task_manager"},"status":400}',
  toString: [Function (anonymous)],
  toJSON: [Function (anonymous)]
}

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

Stack Trace

StatusCodeError: [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 (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  status: 404,
  displayName: 'NotFound',
  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 (anonymous)],
  toJSON: [Function (anonymous)]
}

X-Pack Alerting API Integration Tests.x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/index·ts.alerting api integration security and spaces enabled Alerts legacy alerts "after all" hook in "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:03:58]           └-: Alerts
[00:03:58]             └-> "before all" hook
[00:03:58]             └-: legacy alerts
[00:03:58]               └-> "before all" hook
[00:03:58]               └-> "before all" hook
[00:03:58]                 │ debg creating space
[00:03:59]                 │ debg created space
[00:03:59]                 │ debg creating space
[00:04:00]                 │ debg created space
[00:04:00]                 │ debg creating space
[00:04:01]                 │ debg created space
[00:04:01]                 │ debg creating user no_kibana_privileges
[00:04:01]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611602335559306419] added user [no_kibana_privileges]
[00:04:01]                 │ debg created user no_kibana_privileges
[00:04:01]                 │ debg creating role no_kibana_privileges
[00:04:01]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611602335559306419] added role [no_kibana_privileges]
[00:04:01]                 │ debg creating user superuser
[00:04:01]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611602335559306419] added user [superuser]
[00:04:01]                 │ debg created user superuser
[00:04:01]                 │ debg creating user global_read
[00:04:01]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611602335559306419] added user [global_read]
[00:04:01]                 │ debg created user global_read
[00:04:01]                 │ debg creating role global_read_role
[00:04:01]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611602335559306419] added role [global_read_role]
[00:04:01]                 │ debg creating user space_1_all
[00:04:01]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611602335559306419] added user [space_1_all]
[00:04:01]                 │ debg created user space_1_all
[00:04:01]                 │ debg creating role space_1_all_role
[00:04:01]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611602335559306419] added role [space_1_all_role]
[00:04:01]                 │ debg creating user space_1_all_with_restricted_fixture
[00:04:02]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611602335559306419] added user [space_1_all_with_restricted_fixture]
[00:04:02]                 │ debg created user space_1_all_with_restricted_fixture
[00:04:02]                 │ debg creating role space_1_all_with_restricted_fixture_role
[00:04:02]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611602335559306419] added role [space_1_all_with_restricted_fixture_role]
[00:04:02]                 │ debg creating user space_1_all_alerts_none_actions
[00:04:02]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611602335559306419] added user [space_1_all_alerts_none_actions]
[00:04:02]                 │ debg created user space_1_all_alerts_none_actions
[00:04:02]                 │ debg creating role space_1_all_alerts_none_actions_role
[00:04:02]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611602335559306419] added role [space_1_all_alerts_none_actions_role]
[00:04:02]                   └-> "after all" hook
[00:04:02]                     │ debg deleting user no_kibana_privileges
[00:04:02]                     │ debg deleted user no_kibana_privileges
[00:04:02]                     │ debg deleting role no_kibana_privileges
[00:04:02]                     │ debg deleting user superuser
[00:04:02]                     │ debg deleted user superuser
[00:04:02]                     │ debg deleting user global_read
[00:04:02]                     │ debg deleted user global_read
[00:04:02]                     │ debg deleting role global_read_role
[00:04:02]                     │ debg deleting user space_1_all
[00:04:02]                     │ debg deleted user space_1_all
[00:04:02]                     │ debg deleting role space_1_all_role
[00:04:02]                     │ debg deleting user space_1_all_with_restricted_fixture
[00:04:02]                     │ debg deleted user space_1_all_with_restricted_fixture
[00:04:02]                     │ debg deleting role space_1_all_with_restricted_fixture_role
[00:04:02]                     │ debg deleting user space_1_all_alerts_none_actions
[00:04:02]                     │ debg deleted user space_1_all_alerts_none_actions
[00:04:02]                     │ debg deleting role space_1_all_alerts_none_actions_role
[00:04:03]                     │ info [empty_kibana] Unloading indices from "mappings.json"
[00:04:03]                     └- ✖ fail: alerting api integration security and spaces enabled Alerts legacy alerts "after all" hook in "legacy alerts"
[00:04:03]                     │      Error: [index_not_found_exception] no such index [.kibana], with { resource.type="index_or_alias" & resource.id=".kibana" & index_uuid="_na_" & index=".kibana" }
[00:04:03]                     │       at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:04:03]                     │       at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:04:03]                     │       at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:04:03]                     │       at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
[00:04:03]                     │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:04:03]                     │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:04:03]                     │ 
[00:04:03]                     │ 

Stack Trace

StatusCodeError: [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 (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  status: 404,
  displayName: 'NotFound',
  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 (anonymous)],
  toJSON: [Function (anonymous)]
}

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
kibanaReact 307 318 +11
lens 477 467 -10
total +1

Async chunks

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

id before after diff
kibanaReact 349.9KB 349.9KB +25.0B
lens 1.1MB 1.1MB -8.7KB
total -8.7KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
kibanaReact 124.1KB 134.2KB +10.1KB

History

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants