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

[Actions] adds a Test Connector tab in the Connectors list #77365

Merged
merged 13 commits into from
Sep 22, 2020

Conversation

gmmorris
Copy link
Contributor

@gmmorris gmmorris commented Sep 14, 2020

Summary

closes #75467

Adds a tab in the Edit Alert flyout which allows the user to test their connector by executing it using an example action.
The execution relies on the connector being updates, so is only enabled when there are no saved changes in the Connector form itself.

A followup issue has been created to add support for testing unsaved Connectors which will be usable prior to creating/modifying a connector in the system.

Designs

"Save & Test" button on creation

NiEFLxwYT0

Edit mode

Screenshot 2020-09-15 at 17 16 29

Waiting for test execution

Screenshot 2020-09-16 at 11 41 02

There are unsaved changes

Screenshot 2020-09-16 at 11 41 49

Test has ran and was successful

Screenshot 2020-09-16 at 11 41 14

Test has ran and failed

Screenshot 2020-09-16 at 11 41 24

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@gmmorris gmmorris requested a review from a team as a code owner September 14, 2020 15:51
@gmmorris gmmorris added Feature:Actions Feature:Alerting release_note:enhancement v7.10.0 v8.0.0 Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) and removed Feature:Alerting labels Sep 14, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

* master: (65 commits)
  [Security Solution][Resolver] Analyzed event styling (elastic#77115)
  filter invalid SOs from the searc hresults in Task Manager (elastic#76891)
  [RUM Dashboard] Visitors by region map (elastic#77135)
  [Security Solution][Endpoint][Admin] Task/endpoint list actions (elastic#76555)
  [Ingest pipelines] Forms for processors T-U (elastic#76710)
  updating datatable type (elastic#77320)
  [ML] Fix custom URLs processing for security app (elastic#76957)
  [telemetry] add schema guideline + schema_check new check for --path config (elastic#75747)
  [ML] Transforms: API schemas and integration tests (elastic#75164)
  [Mappings editor] Add support for wildcard field type (elastic#76574)
  [Ingest Manager] Fix flyout instruction selection (elastic#77071)
  [Telemetry Tools] update lodash to 4.17 (elastic#77317)
  [APM] Service inventory redesign (elastic#76744)
  Hide management sections based on cluster/index privileges (elastic#67791)
  [Snapshot Restore] Disable steps when form is invalid (elastic#76540)
  [Mappings editor] Add support for positive_score_impact to rank_feature (elastic#76824)
  Update apm.ts (elastic#77310)
  [OBS] Remove beta badge, change news feed size and add external icon to news feed link (elastic#77164)
  [Discover] Convert legacy sort to be compatible with multi sort (elastic#76986)
  [APM] API Snapshot Testing (elastic#77229)
  ...
@gmmorris
Copy link
Contributor Author

gmmorris commented Sep 15, 2020

@gchaps I would love your input on the copy here.

The context is that we're offering the user am opportunity to test their connector by supplying the parameters for an action which will be executed using the connector.

Copy I've added:

  1. The different "steps" of this workflow: Fill out an example action -> Execute the example action -> Execution Result.
  2. Waiting for input from the user and for them to hit "Execute": A call out with title Awaiting Action Parameters and content Once you provide the Action Parameters by filling out the form above, you may execute the action and the result will be displayed here.
  3. Successful execution (after user has executed the action): A call out with title Success and content This action was successfully executed. We recommend you ensure the action has resulted in the expected effect.
  4. Failed execution (after user has executed the action): A call out with title Error and content depends on the action, but broadly we have two pieces of information, an error message and when possible some additional info that might shed some light on the route cause. I added the message as is with title This action has failed to execute and has resulted in the following message: and when the additional information is available we add it as well with the title Some additional details have been provided by the action:
  5. When there are unsaved changes and a test can't be executed until the user saves the changes: Unsaved changes must be saved before the connector can be tested

Any feedback on these labels? Happy to change them, they were all just off the cuff when added :)

@mdefazio
Copy link
Contributor

@gmmorris , some thoughts on the layout

  • Can we switch the tabs so they are more inline with the 'More complicated layout' example here: https://eui.elastic.co/#/layout/flyout (moving the tabs up in the flyout header). And also capitalize the 'C' and 'T'.
  • The success icon should be a check
  • The awaiting action parameters icon should be either an iInCircle, a wrench or a questionInCircle (I am leaning towards the iInCircle but curious to hear other thoughts here).
  • The 'Unsaved changes...' warning callout could go above the test button (tells the user beforehand why the button is disabled, and it keeps all our callouts aligned)
  • I don't think you need the check icons in the flyout footer buttons since we have the success status in the steps above.

@gmmorris
Copy link
Contributor Author

@gmmorris , some thoughts on the layout

  • Can we switch the tabs so they are more inline with the 'More complicated layout' example here: https://eui.elastic.co/#/layout/flyout (moving the tabs up in the flyout header). And also capitalize the 'C' and 'T'.
  • The success icon should be a check
  • The awaiting action parameters icon should be either an iInCircle, a wrench or a questionInCircle (I am leaning towards the iInCircle but curious to hear other thoughts here).
  • The 'Unsaved changes...' warning callout could go above the test button (tells the user beforehand why the button is disabled, and it keeps all our callouts aligned)
  • I don't think you need the check icons in the flyout footer buttons since we have the success status in the steps above.

Done :)
I'll update the screenshots

@gmmorris gmmorris requested a review from a team as a code owner September 15, 2020 16:55
@gchaps
Copy link
Contributor

gchaps commented Sep 15, 2020

1) Steps:

  1. Create an action
  2. Run the action
  3. Results

2) Waiting for input:

When you run the action, the results will show up here.

Note: Make it a single line like the warning message


3) Successful execution

Action was successful
Ensure the results are what you expect.


4) Failed execution

Action failed to run

The following error was found:
error indexing documents

Details:
failed to parse field name (...)


5) Unsaved changes

Save your changes before testing the connector.


Other

  • Use "Run" instead of "Execute" for the button name.
  • I’m not sure what “Document to index” means
  • Can "Index document example" simply be Example (with no ending period)? That's assuming its an example of what you can type in the field.

Copy link
Member

@pmuellr pmuellr left a comment

Choose a reason for hiding this comment

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

LGTM; exciting to try this live with a Slack action and see it post! Looking forward to trying some email errors, to see what they look like.


const err = find(result.items, 'index.error.reason');
if (err) {
throw new Error(
Copy link
Member

Choose a reason for hiding this comment

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

Is there a reason we're throwing here instead of passing back a { status: 'error', ... } object? I'm sure it will be handled fine, but I guess I tend to want to have action executors try to catch "common" errors and return the error status object - some day we may want to reserve catching errors in the caller as some kind of "misbehaving action executor" or such ...

Copy link
Member

Choose a reason for hiding this comment

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

BTW, curious how you found this - seems like a general design bug with this action (not checking the bulk results for individual errors), don't remember seeing an issue for it tho.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

BTW, curious how you found this - seems like a general design bug with this action (not checking the bulk results for individual errors), don't remember seeing an issue for it tho.

Haha because it didn't fail! We swallowed the error and told the user it passed...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is there a reason we're throwing here instead of passing back a { status: 'error', ... } object? I'm sure it will be handled fine, but I guess I tend to want to have action executors try to catch "common" errors and return the error status object - some day we may want to reserve catching errors in the caller as some kind of "misbehaving action executor" or such ...

Yeah, I considered that and decided to only have one error handling block, but happy to change that 👍

Copy link
Contributor

@YulNaumenko YulNaumenko left a comment

Choose a reason for hiding this comment

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

Code LGTM, but UX with required saving before have an option to test the params feels not friendly to me. Maybe I'm missing something, but why we just don't expose an additional server execute endpoint which can take an action type, config, secrets (for an action create) and test params? For edit version we can execute endpoint without the secrets sending if it was not changed by the user and then just get it by the action id. With this kind of API we will have a solid experience of testing the action connector for create and edit pages. cc @mikecote

@gmmorris
Copy link
Contributor Author

Code LGTM, but UX with required saving before have an option to test the params feels not friendly to me. Maybe I'm missing something, but why we just don't expose an additional server execute endpoint which can take an action type, config, secrets (for an action create) and test params? For edit version we can execute endpoint without the secrets sending if it was not changed by the user and then just get it by the action id. With this kind of API we will have a solid experience of testing the action connector for create and edit pages. cc @mikecote

We decided to postpone that to a follow up issue as it would require a lot of refactoring in the action execution code (it's heavily reliant on the fact that Connectors are a SO at that point).

Addressing this as part of this issue would mean a far bigger PR and the feeling was that the UX isn't bad, just not ideal.
If you feel this UX is actually bad then we can reconsider that split 🤷
My personal feeling is that while the UX isn't ideal, it's not any worse than not being able to test at all, and improving the UX doesn't feel like a GA blocker to me, but obviously if the team feels differently we can do that now.

@gmmorris
Copy link
Contributor Author

Thanks @gchaps

I’m not sure what “Document to index” means
Can "Index document example" simply be Example (with no ending period)? That's assuming its an example of what you can type in the field.

These are provided by the action itself and changes depending on the connector.
We're using the same component as we have in the Alert creation flyout, so changing this here means either changing it there as well, or forcing the action to provide different UIs for creating an action on the alert or creating it here - ideally we'd like them to be the same.

Should we change this label there too?

@gmmorris
Copy link
Contributor Author

For edit version we can execute endpoint without the secrets sending if it was not changed by the user and then just get it by the action id.

I don't think we want to let a user change the params without providing a secret, that would mean you could use some one else's secret to fire actions. I think that's a security hole.
We can allow them to test the connector without changing things, but once they change things, they'd have to provide secrets, which means this API needs to know how to either take args from the API call or use the normal execute depending on whether there are changes or not... it's doable, but it's not that simple, and as I said, becomes a bigger refactor than I think is worth blocking GA on 🤷

* master: (76 commits)
  Fixing service maps API test (elastic#77586)
  [Grok] Fix missing error message in error toasts (elastic#77499)
  [Alerting] Exempt Alerts pre 7.10 from RBAC on their Action execution until updated (elastic#75563)
  [ML] fix type in apply_influencer_filters_action (elastic#77495)
  [Lens] create reusable component for filters and range aggregation (elastic#77453)
  fix eslint violations
  Collapse alert chart previews by default (elastic#77479)
  [ML] Fixing field caps wrapper endpoint (elastic#77546)
  showing service maps when filte by environment not defined (elastic#77483)
  [Lens] Settings panel redesign and separate settings per y axis (elastic#76373)
  log request body in new ES client (elastic#77150)
  use `navigateToUrl` to navigate to recent nav links (elastic#77446)
  Move core config service to `kbn/config` package (elastic#76874)
  [UBI] Copy license to /licenses folder (elastic#77563)
  Skip flaky Events Viewer Cypress test
  [Lens] Remove dynamic names in telemetry fields (elastic#76988)
  [Maps] Add DynamicStyleProperty#getMbPropertyName and DynamicStyleProperty#getMbPropertyValue (elastic#77366)
  [Enterprise Search] Add flag to restrict width of layout (elastic#77539)
  [Security Solutions][Cases - Timeline] Fix bug when adding a timeline to a case (elastic#76967)
  [Security Solution][Detections] Integration test for Editing a Rule (elastic#77090)
  ...
Copy link
Contributor

@mdefazio mdefazio left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you!

@gchaps
Copy link
Contributor

gchaps commented Sep 16, 2020

@gmmorris

These are provided by the action itself and changes depending on the connector.
We're using the same component as we have in the Alert creation flyout, so changing this here means either changing it there as well, or forcing the action to provide different UIs for creating an action on the alert or creating it here - ideally we'd like them to be the same.

Should we change this label there too?

Let's leave this text as is.

@gmmorris
Copy link
Contributor Author

@elasticmachine merge upstream

Copy link
Contributor

@YulNaumenko YulNaumenko left a comment

Choose a reason for hiding this comment

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

LGTM

@gmmorris
Copy link
Contributor Author

@elasticmachine merge upstream

@gmmorris gmmorris merged commit 41a7f1a into elastic:master Sep 22, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Sep 22, 2020
…7365)

Adds a tab in the _Edit Alert_ flyout which allows the user to _test_ their connector by executing it using an example action. The execution relies on the connector being updated, so is only enabled when there are no saved changes in the Connector form itself.
gmmorris added a commit that referenced this pull request Sep 22, 2020
…78134)

Adds a tab in the _Edit Alert_ flyout which allows the user to _test_ their connector by executing it using an example action. The execution relies on the connector being updated, so is only enabled when there are no saved changes in the Connector form itself.
gmmorris added a commit to gmmorris/kibana that referenced this pull request Sep 22, 2020
* master: (45 commits)
  [CSM] Use stacked chart for page views (elastic#78042)
  [Enterprise Search] Fix various plugin states when app has error connecting to Enterprise Search (elastic#78091)
  Remove service map beta badge (elastic#78039)
  [Enterprise Search] Rename "telemetry" to "stats" (elastic#78124)
  [Alerting] optimize calculation of unmuted alert instances (elastic#78021)
  call .destroy on ace when react component unmounts (elastic#78132)
  [Ingest Manager] Fix agent action acknowledgement (elastic#78089)
  [Upgrade Assistant] Rename "telemetry" to "stats" (elastic#78127)
  [Security Solution] Refactor Hosts Kpi to use Search Strategy (elastic#77606)
  Bump backport to 5.6.0 (elastic#78097)
  [Actions] adds a Test Connector tab in the Connectors list (elastic#77365)
  [Uptime] Improve ping chart axis (elastic#77992)
  [TSVB] Fields dropdowns are not populated if one of the indices is missing (elastic#77363)
  [UiActions] Remove duplicate apply filter action  (elastic#77485)
  [APM] Use transaction metrics for transaction error rate (elastic#78009)
  [ES-ARCHIVER] Fix bug when query flag is empty (elastic#77983)
  Edit UI text strings in Integrations and Fleet tabs (elastic#75837)
  [baseline capture] switch to large workers (elastic#78109)
  [SECURITY_SOLUTION] list UI is backwards compatible (elastic#77956)
  [Mappings editor] Add support for point field type (elastic#77543)
  ...
@kibanamachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

X-Pack Endpoint Functional Tests.x-pack/test/security_solution_endpoint/apps/endpoint/endpoint_list·ts.endpoint endpoint list when initially navigating to page finds data after load and polling

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https://dryrun

[00:00:00]       │
[00:00:00]         └-: endpoint
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [logs-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]             │ info [docker:registry] 2020/09/29 12:05:59 source.ip: 172.17.0.1:48200, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2020/09/29 12:05:59 source.ip: 172.17.0.1:48202, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2020/09/29 12:05:59 source.ip: 172.17.0.1:48210, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2020/09/29 12:05:59 source.ip: 172.17.0.1:48208, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2020/09/29 12:05:59 source.ip: 172.17.0.1:48218, url.original: /package/endpoint/0.16.0-dev.0
[00:00:00]             │ info [docker:registry] 2020/09/29 12:05:59 source.ip: 172.17.0.1:48216, url.original: /package/system/0.5.3
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [metrics-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]             │ info [docker:registry] 2020/09/29 12:05:59 source.ip: 172.17.0.1:48224, url.original: /package/endpoint/0.16.0-dev.0/
[00:00:00]             │ info [docker:registry] 2020/09/29 12:05:59 source.ip: 172.17.0.1:48226, url.original: /package/system/0.5.3/
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.kibana_1/HM7aCU8iSsGpZz5NOyqy6A] update_mapping [_doc]
[00:00:00]             │ info [docker:registry] 2020/09/29 12:05:59 source.ip: 172.17.0.1:48230, url.original: /epr/system/system-0.5.3.tar.gz
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.kibana_1/HM7aCU8iSsGpZz5NOyqy6A] update_mapping [_doc]
[00:00:00]             │ info [docker:registry] 2020/09/29 12:05:59 source.ip: 172.17.0.1:48234, url.original: /epr/endpoint/endpoint-0.16.0-dev.0.tar.gz
[00:00:00]             │ info [docker:registry] 2020/09/29 12:05:59 source.ip: 172.17.0.1:48238, url.original: /package/endpoint/0.16.0-dev.0
[00:00:00]             │ info [docker:registry] 2020/09/29 12:05:59 source.ip: 172.17.0.1:48244, url.original: /package/endpoint/0.16.0-dev.0/
[00:00:00]             │ info [docker:registry] 2020/09/29 12:05:59 source.ip: 172.17.0.1:48246, url.original: /package/system/0.5.3
[00:00:00]             │ info [docker:registry] 2020/09/29 12:05:59 source.ip: 172.17.0.1:48250, url.original: /package/system/0.5.3/
[00:00:00]             │ info [docker:registry] 2020/09/29 12:06:00 source.ip: 172.17.0.1:48256, url.original: /search
[00:00:00]             │ info [docker:registry] 2020/09/29 12:06:00 source.ip: 172.17.0.1:48258, url.original: /search
[00:00:00]             │ info [docker:registry] 2020/09/29 12:06:00 source.ip: 172.17.0.1:48268, url.original: /package/system/0.5.3
[00:00:00]             │ info [docker:registry] 2020/09/29 12:06:00 source.ip: 172.17.0.1:48270, url.original: /package/endpoint/0.16.0-dev.0
[00:00:00]             │ info [docker:registry] 2020/09/29 12:06:00 source.ip: 172.17.0.1:48274, url.original: /package/endpoint/0.16.0-dev.0
[00:00:00]             │ info [docker:registry] 2020/09/29 12:06:00 source.ip: 172.17.0.1:48276, url.original: /package/system/0.5.3
[00:00:00]             │ info [docker:registry] 2020/09/29 12:06:00 source.ip: 172.17.0.1:48286, url.original: /package/system/0.5.3/
[00:00:00]             │ info [docker:registry] 2020/09/29 12:06:00 source.ip: 172.17.0.1:48290, url.original: /package/endpoint/0.16.0-dev.0/
[00:00:00]             │ info [docker:registry] 2020/09/29 12:06:00 source.ip: 172.17.0.1:48284, url.original: /package/system/0.5.3/
[00:00:00]             │ info [docker:registry] 2020/09/29 12:06:00 source.ip: 172.17.0.1:48292, url.original: /package/endpoint/0.16.0-dev.0/
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.kibana_1/HM7aCU8iSsGpZz5NOyqy6A] update_mapping [_doc]
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.kibana_1/HM7aCU8iSsGpZz5NOyqy6A] update_mapping [_doc]
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.kibana_1/HM7aCU8iSsGpZz5NOyqy6A] update_mapping [_doc]
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.kibana_1/HM7aCU8iSsGpZz5NOyqy6A] update_mapping [_doc]
[00:00:04]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [logs-endpoint.events.security-mappings]
[00:00:04]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [logs-endpoint.alerts-mappings]
[00:00:04]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [metrics-endpoint.metadata-mappings]
[00:00:04]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [metrics-endpoint.metrics-mappings]
[00:00:04]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [logs-endpoint.events.registry-mappings]
[00:00:04]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [logs-endpoint.events.network-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [logs-endpoint.events.file-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [logs-endpoint.events.process-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [metrics-endpoint.policy-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [logs-endpoint.events.library-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [metrics-endpoint.metadata_current-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.cpu] for index patterns [metrics-system.cpu-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [logs-system.auth] for index patterns [logs-system.auth-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.core] for index patterns [metrics-system.core-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.filesystem] for index patterns [metrics-system.filesystem-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.entropy] for index patterns [metrics-system.entropy-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.fsstat] for index patterns [metrics-system.fsstat-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.diskio] for index patterns [metrics-system.diskio-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [logs-endpoint.events.security] for index patterns [logs-endpoint.events.security-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.memory] for index patterns [metrics-system.memory-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.load] for index patterns [metrics-system.load-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.network] for index patterns [metrics-system.network-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.network_summary] for index patterns [metrics-system.network_summary-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.process_summary] for index patterns [metrics-system.process_summary-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.process] for index patterns [metrics-system.process-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.service] for index patterns [metrics-system.service-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.raid] for index patterns [metrics-system.raid-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.socket] for index patterns [metrics-system.socket-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.socket_summary] for index patterns [metrics-system.socket_summary-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [logs-system.syslog] for index patterns [logs-system.syslog-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.uptime] for index patterns [metrics-system.uptime-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.users] for index patterns [metrics-system.users-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [logs-endpoint.alerts] for index patterns [logs-endpoint.alerts-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-endpoint.metadata] for index patterns [metrics-endpoint.metadata-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-endpoint.metrics] for index patterns [metrics-endpoint.metrics-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [logs-endpoint.events.registry] for index patterns [logs-endpoint.events.registry-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [logs-endpoint.events.network] for index patterns [logs-endpoint.events.network-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [logs-endpoint.events.file] for index patterns [logs-endpoint.events.file-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [logs-endpoint.events.process] for index patterns [logs-endpoint.events.process-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-endpoint.policy] for index patterns [metrics-endpoint.policy-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [logs-endpoint.events.library] for index patterns [logs-endpoint.events.library-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-endpoint.metadata_current] for index patterns [metrics-endpoint.metadata_current-*]
[00:00:06]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.transform-internal-005] creating index, cause [auto(bulk api)], templates [.transform-internal-005], shards [1]/[1]
[00:00:06]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] updating number_of_replicas to [0] for indices [.transform-internal-005]
[00:00:06]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.transform-notifications-000002] creating index, cause [auto(bulk api)], templates [.transform-notifications-000002], shards [1]/[1]
[00:00:06]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] updating number_of_replicas to [0] for indices [.transform-notifications-000002]
[00:00:06]             │ info [o.e.x.t.t.p.SchemaUtil] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] Failed to deduce mapping for [agent.id], fall back to keyword. Create the destination index with complete mappings first to avoid deducing the mappings
[00:00:06]             │ info [o.e.x.t.p.TransformIndex] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]
[00:00:06]             │ info [r.suppressed] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] path: /_transform/metrics-endpoint.metadata-current-default-0.16.0-dev.0/_start, params: {id=metrics-endpoint.metadata-current-default-0.16.0-dev.0}
[00:00:06]             │      java.lang.RuntimeException: Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]
[00:00:06]             │      	at org.elasticsearch.xpack.transform.persistence.TransformIndex.lambda$createDestinationIndex$1(TransformIndex.java:61) [transform-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.action.ActionListener$1.onFailure(ActionListener.java:71) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.client.node.NodeClient.lambda$executeLocally$1(NodeClient.java:94) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.tasks.TaskManager$1.onFailure(TaskManager.java:184) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.action.support.ContextPreservingActionListener.onFailure(ContextPreservingActionListener.java:50) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction.lambda$doStart$2(TransportMasterNodeAction.java:158) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.action.ActionListener$2.onFailure(ActionListener.java:94) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.action.ActionListener$4.onFailure(ActionListener.java:173) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.action.ActionListener$1.onFailure(ActionListener.java:71) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.cluster.AckedClusterStateUpdateTask.onFailure(AckedClusterStateUpdateTask.java:79) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.onFailure(MetadataCreateIndexService.java:313) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.cluster.service.MasterService$SafeClusterStateTaskListener.onFailure(MasterService.java:508) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.cluster.service.MasterService$TaskOutputs.notifyFailedTasks(MasterService.java:441) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:215) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.cluster.service.MasterService$Batcher.run(MasterService.java:151) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:150) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:188) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:674) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:252) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:215) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
[00:00:06]             │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
[00:00:06]             │      	at java.lang.Thread.run(Thread.java:832) [?:?]
[00:00:06]             │      Caused by: java.lang.IllegalArgumentException: cannot create index with name [metrics-endpoint.metadata_current-default], because it matches with template [metrics-endpoint.metadata_current] that creates data streams only, use create data stream api instead
[00:00:06]             │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequestWithV2Template(MetadataCreateIndexService.java:507) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:360) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:380) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.execute(MetadataCreateIndexService.java:303) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:47) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:697) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.cluster.service.MasterService.calculateTaskOutputs(MasterService.java:319) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:214) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:06]             │      	... 9 more
[00:00:06]             │ proc [kibana]   log   [12:06:06.273] [error][ingestManager][plugins] [runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0] response from /_transform/metrics-endpoint.metadata-current-default-0.16.0-dev.0/_start: {"error":{"root_cause":[{"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]"}],"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]","caused_by":{"type":"illegal_argument_exception","reason":"cannot create index with name [metrics-endpoint.metadata_current-default], because it matches with template [metrics-endpoint.metadata_current] that creates data streams only, use create data stream api instead"}},"status":500}
[00:00:06]             │ proc [kibana]  error  [12:05:59.319]  Error: Internal Server Error
[00:00:06]             │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/parallel/24/kibana/build/kibana-build-xpack/src/core/server/http/router/response_adapter.js:132:19)
[00:00:06]             │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/parallel/24/kibana/build/kibana-build-xpack/src/core/server/http/router/response_adapter.js:86:19)
[00:00:06]             │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/parallel/24/kibana/build/kibana-build-xpack/src/core/server/http/router/response_adapter.js:81:17)
[00:00:06]             │ proc [kibana]     at Router.handle (/dev/shm/workspace/parallel/24/kibana/build/kibana-build-xpack/src/core/server/http/router/router.js:164:34)
[00:00:06]             │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:00:06]             │ debg --- retry.try error: expected 200 "OK", got 500 "Internal Server Error"
[00:00:07]             │ info [docker:registry] 2020/09/29 12:06:06 source.ip: 172.17.0.1:48382, url.original: /package/system/0.5.3
[00:00:07]             │ info [docker:registry] 2020/09/29 12:06:06 source.ip: 172.17.0.1:48380, url.original: /search?package=system&internal=true&experimental=true
[00:00:07]             │ info [docker:registry] 2020/09/29 12:06:06 source.ip: 172.17.0.1:48386, url.original: /package/system/0.5.3/
[00:00:07]             │ info [docker:registry] 2020/09/29 12:06:07 source.ip: 172.17.0.1:48394, url.original: /search?package=system&internal=true&experimental=true
[00:00:07]             │ info [docker:registry] 2020/09/29 12:06:07 source.ip: 172.17.0.1:48396, url.original: /package/system/0.5.3
[00:00:07]             │ info [docker:registry] 2020/09/29 12:06:07 source.ip: 172.17.0.1:48400, url.original: /package/system/0.5.3/
[00:00:07]             │ info [docker:registry] 2020/09/29 12:06:07 source.ip: 172.17.0.1:48404, url.original: /package/system/0.5.3
[00:00:07]             │ info [docker:registry] 2020/09/29 12:06:07 source.ip: 172.17.0.1:48408, url.original: /package/system/0.5.3/
[00:00:08]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.kibana_1/HM7aCU8iSsGpZz5NOyqy6A] update_mapping [_doc]
[00:00:09]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] added role [fleet_enroll]
[00:00:09]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] added user [fleet_enroll]
[00:00:12]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.kibana_1/HM7aCU8iSsGpZz5NOyqy6A] update_mapping [_doc]
[00:00:13]           └-: endpoint list
[00:00:13]             └-> "before all" hook
[00:00:13]             └-: when initially navigating to page
[00:00:13]               └-> "before all" hook
[00:00:13]               └-> "before all" hook
[00:00:13]                 │ debg navigateToActualUrl http://localhost:61241/app/security/administration/endpoints
[00:00:14]                 │ debg browser[INFO] http://localhost:61241/login?next=%2Fapp%2Fsecurity%2Fadministration%2Fendpoints%3F_t%3D1601381173213 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:14]                 │
[00:00:14]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:14]                 │ debg currentUrl = http://localhost:61241/login?next=%2Fapp%2Fsecurity%2Fadministration%2Fendpoints%3F_t%3D1601381173213
[00:00:14]                 │          appUrl = http://localhost:61241/app/security/administration/endpoints
[00:00:14]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:14]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:16]                 │ERROR browser[SEVERE] http://localhost:61241/internal/licensing/feature_usage/register - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:16]                 │ debg browser[WARNING] http://localhost:61241/36464/bundles/plugin/uiActionsEnhanced/uiActionsEnhanced.plugin.js 15:63477 "ActionFactory [actionFactory.id = URL_DRILLDOWN] fail to register feature for featureUsage."
[00:00:16]                 │ debg Found login page
[00:00:16]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:00:16]                 │ debg TestSubjects.click(loginUsername)
[00:00:16]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:16]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:17]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:00:17]                 │ debg TestSubjects.click(loginPassword)
[00:00:17]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:17]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:17]                 │ debg TestSubjects.click(loginSubmit)
[00:00:17]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:17]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:17]                 │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:00:17]                 │ proc [kibana]   log   [12:06:16.602] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:00:17]                 │ debg browser[INFO] http://localhost:61241/app/security/administration/endpoints?_t=1601381173213 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:17]                 │
[00:00:17]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:17]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:20]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:00:21]                 │ info [docker:registry] 2020/09/29 12:06:20 source.ip: 172.17.0.1:48478, url.original: /search?category=security
[00:00:21]                 │ info [docker:registry] 2020/09/29 12:06:21 source.ip: 172.17.0.1:48484, url.original: /search?category=security
[00:00:21]                 │ERROR browser[SEVERE] http://localhost:61241/api/detection_engine/index - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:21]                 │ERROR browser[SEVERE] http://localhost:61241/36464/bundles/plugin/securitySolution/securitySolution.chunk.5.js 2:4280204 TypeError: Failed to fetch
[00:00:21]                 │          at Fetch._callee3$ (http://localhost:61241/36464/bundles/core/core.entry.js:34:106778)
[00:00:21]                 │          at l (http://localhost:61241/36464/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:186849)
[00:00:21]                 │          at Generator._invoke (http://localhost:61241/36464/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:186602)
[00:00:21]                 │          at Generator.forEach.e.<computed> [as throw] (http://localhost:61241/36464/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:187206)
[00:00:21]                 │          at fetch_asyncGeneratorStep (http://localhost:61241/36464/bundles/core/core.entry.js:34:100871)
[00:00:21]                 │          at _throw (http://localhost:61241/36464/bundles/core/core.entry.js:34:101279)
[00:00:21]                 │ debg browser[INFO] http://localhost:61241/app/security/administration/endpoints?_t=1601381179982 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:21]                 │
[00:00:21]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:21]                 │ debg Finished login process currentUrl = http://localhost:61241/app/security/administration/endpoints
[00:00:21]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:21]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:21]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:23]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:23]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:24]                 │ info [docker:registry] 2020/09/29 12:06:23 source.ip: 172.17.0.1:48522, url.original: /search?category=security
[00:00:24]                 │ info [docker:registry] 2020/09/29 12:06:23 source.ip: 172.17.0.1:48526, url.original: /search?category=security
[00:00:24]                 │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index lifecycle policy [.siem-signals-default]
[00:00:24]                 │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding template [.siem-signals-default] for index patterns [.siem-signals-default-*]
[00:00:24]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.siem-signals-default-000001] creating index, cause [api], templates [.siem-signals-default], shards [1]/[1]
[00:00:24]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] moving index [.siem-signals-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.siem-signals-default]
[00:00:24]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] moving index [.siem-signals-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [.siem-signals-default]
[00:00:24]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] moving index [.siem-signals-default-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [.siem-signals-default]
[00:00:24]                 │ERROR browser[SEVERE] http://localhost:61241/api/detection_engine/index - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:24]                 │ERROR browser[SEVERE] http://localhost:61241/api/detection_engine/index - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:24]                 │ERROR browser[SEVERE] http://localhost:61241/api/index_patterns/_fields_for_wildcard?pattern=metrics-endpoint.metadata_current-* - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:24]                 │ERROR browser[SEVERE] http://localhost:61241/api/index_patterns/_fields_for_wildcard?pattern=metrics-endpoint.metadata_current-* - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:24]               └-> finds no data in list and prompts onboarding to add policy
[00:00:24]                 └-> "before each" hook: global before each
[00:00:24]                 │ debg TestSubjects.exists(emptyPolicyTable)
[00:00:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="emptyPolicyTable"]') with timeout=2500
[00:00:24]                 └- ✓ pass  (55ms) "endpoint endpoint list when initially navigating to page finds no data in list and prompts onboarding to add policy"
[00:00:24]               └-> finds data after load and polling
[00:00:24]                 └-> "before each" hook: global before each
[00:00:24]                 │ info [endpoint/metadata/destination_index] Loading "data.json"
[00:00:24]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.ds-metrics-endpoint.metadata_current-default-000001] creating index, cause [initialize_data_stream], templates [metrics-endpoint.metadata_current], shards [1]/[1]
[00:00:24]                 │ info [o.e.c.m.MetadataCreateDataStreamService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding data stream [metrics-endpoint.metadata_current-default]
[00:00:24]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] moving index [.ds-metrics-endpoint.metadata_current-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [metrics]
[00:00:24]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] moving index [.ds-metrics-endpoint.metadata_current-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [metrics]
[00:00:24]                 │ info Taking screenshot "/dev/shm/workspace/parallel/24/kibana/x-pack/test/functional/screenshots/failure/endpoint endpoint list when initially navigating to page finds data after load and polling.png"
[00:00:24]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] moving index [.ds-metrics-endpoint.metadata_current-default-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [metrics]
[00:00:24]                 │ info Current URL is: http://localhost:61241/app/security/administration/endpoints
[00:00:24]                 │ info Saving page source to: /dev/shm/workspace/parallel/24/kibana/x-pack/test/functional/failure_debug/html/endpoint endpoint list when initially navigating to page finds data after load and polling.html
[00:00:25]                 └- ✖ fail: endpoint endpoint list when initially navigating to page finds data after load and polling
[00:00:25]                 │      Error: Failed to index all documents: {
[00:00:25]                 │   "took": 106,
[00:00:25]                 │   "errors": true,
[00:00:25]                 │   "items": [
[00:00:25]                 │     {
[00:00:25]                 │       "create": {
[00:00:25]                 │         "_index": ".ds-metrics-endpoint.metadata_current-default-000001",
[00:00:25]                 │         "_id": "M92ScEJT9M9QusfIi3hpEb0AAAAAAAAA",
[00:00:25]                 │         "status": 400,
[00:00:25]                 │         "error": {
[00:00:25]                 │           "type": "mapper_parsing_exception",
[00:00:25]                 │           "reason": "failed to parse",
[00:00:25]                 │           "caused_by": {
[00:00:25]                 │             "type": "illegal_argument_exception",
[00:00:25]                 │             "reason": "data stream timestamp field [@timestamp] is missing"
[00:00:25]                 │           }
[00:00:25]                 │         }
[00:00:25]                 │       }
[00:00:25]                 │     }
[00:00:25]                 │   ]
[00:00:25]                 │ }
[00:00:25]                 │       at indexDocs (/dev/shm/workspace/parallel/24/kibana/packages/kbn-es-archiver/src/lib/docs/index_doc_records_stream.ts:49:13)
[00:00:25]                 │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:00:25]                 │ 
[00:00:25]                 │ 

Stack Trace

Error: Failed to index all documents: {
  "took": 106,
  "errors": true,
  "items": [
    {
      "create": {
        "_index": ".ds-metrics-endpoint.metadata_current-default-000001",
        "_id": "M92ScEJT9M9QusfIi3hpEb0AAAAAAAAA",
        "status": 400,
        "error": {
          "type": "mapper_parsing_exception",
          "reason": "failed to parse",
          "caused_by": {
            "type": "illegal_argument_exception",
            "reason": "data stream timestamp field [@timestamp] is missing"
          }
        }
      }
    }
  ]
}
    at indexDocs (/dev/shm/workspace/parallel/24/kibana/packages/kbn-es-archiver/src/lib/docs/index_doc_records_stream.ts:49:13)
    at process._tickCallback (internal/process/next_tick.js:68:7)

X-Pack Endpoint Functional Tests.x-pack/test/security_solution_endpoint/apps/endpoint/endpoint_list·ts.endpoint endpoint list when initially navigating to page finds data after load and polling

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: endpoint
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [logs-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]             │ info [docker:registry] 2020/09/29 11:24:16 source.ip: 172.17.0.1:43302, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2020/09/29 11:24:16 source.ip: 172.17.0.1:43300, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2020/09/29 11:24:16 source.ip: 172.17.0.1:43310, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2020/09/29 11:24:16 source.ip: 172.17.0.1:43308, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [metrics-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]             │ info [docker:registry] 2020/09/29 11:24:16 source.ip: 172.17.0.1:43318, url.original: /package/endpoint/0.16.0-dev.0
[00:00:00]             │ info [docker:registry] 2020/09/29 11:24:16 source.ip: 172.17.0.1:43316, url.original: /package/system/0.5.3
[00:00:00]             │ info [docker:registry] 2020/09/29 11:24:16 source.ip: 172.17.0.1:43326, url.original: /package/system/0.5.3/
[00:00:00]             │ info [docker:registry] 2020/09/29 11:24:16 source.ip: 172.17.0.1:43324, url.original: /package/endpoint/0.16.0-dev.0/
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.kibana_1/LR_Nk87nRX2MyLbfD4LiJA] update_mapping [_doc]
[00:00:00]             │ info [docker:registry] 2020/09/29 11:24:16 source.ip: 172.17.0.1:43330, url.original: /epr/system/system-0.5.3.tar.gz
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.kibana_1/LR_Nk87nRX2MyLbfD4LiJA] update_mapping [_doc]
[00:00:00]             │ info [docker:registry] 2020/09/29 11:24:16 source.ip: 172.17.0.1:43334, url.original: /epr/endpoint/endpoint-0.16.0-dev.0.tar.gz
[00:00:00]             │ info [docker:registry] 2020/09/29 11:24:16 source.ip: 172.17.0.1:43338, url.original: /package/endpoint/0.16.0-dev.0
[00:00:00]             │ info [docker:registry] 2020/09/29 11:24:16 source.ip: 172.17.0.1:43342, url.original: /package/endpoint/0.16.0-dev.0/
[00:00:00]             │ info [docker:registry] 2020/09/29 11:24:16 source.ip: 172.17.0.1:43354, url.original: /package/system/0.5.3
[00:00:00]             │ info [docker:registry] 2020/09/29 11:24:16 source.ip: 172.17.0.1:43358, url.original: /package/system/0.5.3/
[00:00:01]             │ info [docker:registry] 2020/09/29 11:24:17 source.ip: 172.17.0.1:43438, url.original: /search
[00:00:01]             │ info [docker:registry] 2020/09/29 11:24:17 source.ip: 172.17.0.1:43436, url.original: /search
[00:00:01]             │ info [docker:registry] 2020/09/29 11:24:17 source.ip: 172.17.0.1:43448, url.original: /package/endpoint/0.16.0-dev.0
[00:00:01]             │ info [docker:registry] 2020/09/29 11:24:17 source.ip: 172.17.0.1:43454, url.original: /package/system/0.5.3
[00:00:01]             │ info [docker:registry] 2020/09/29 11:24:17 source.ip: 172.17.0.1:43456, url.original: /package/system/0.5.3
[00:00:01]             │ info [docker:registry] 2020/09/29 11:24:17 source.ip: 172.17.0.1:43452, url.original: /package/endpoint/0.16.0-dev.0
[00:00:01]             │ info [docker:registry] 2020/09/29 11:24:17 source.ip: 172.17.0.1:43464, url.original: /package/endpoint/0.16.0-dev.0/
[00:00:01]             │ info [docker:registry] 2020/09/29 11:24:17 source.ip: 172.17.0.1:43466, url.original: /package/system/0.5.3/
[00:00:01]             │ info [docker:registry] 2020/09/29 11:24:17 source.ip: 172.17.0.1:43470, url.original: /package/system/0.5.3/
[00:00:01]             │ info [docker:registry] 2020/09/29 11:24:17 source.ip: 172.17.0.1:43472, url.original: /package/endpoint/0.16.0-dev.0/
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.kibana_1/LR_Nk87nRX2MyLbfD4LiJA] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.kibana_1/LR_Nk87nRX2MyLbfD4LiJA] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.kibana_1/LR_Nk87nRX2MyLbfD4LiJA] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.kibana_1/LR_Nk87nRX2MyLbfD4LiJA] update_mapping [_doc]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [logs-endpoint.events.security-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [metrics-endpoint.policy-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [logs-endpoint.events.registry-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [metrics-endpoint.metadata_current-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [logs-endpoint.events.process-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [metrics-endpoint.metrics-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [logs-endpoint.alerts-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [logs-endpoint.events.network-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [logs-endpoint.events.file-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [logs-endpoint.events.library-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding component template [metrics-endpoint.metadata-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [logs-system.auth] for index patterns [logs-system.auth-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.cpu] for index patterns [metrics-system.cpu-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.core] for index patterns [metrics-system.core-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.entropy] for index patterns [metrics-system.entropy-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.filesystem] for index patterns [metrics-system.filesystem-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.fsstat] for index patterns [metrics-system.fsstat-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.diskio] for index patterns [metrics-system.diskio-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.load] for index patterns [metrics-system.load-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.memory] for index patterns [metrics-system.memory-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.network] for index patterns [metrics-system.network-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.network_summary] for index patterns [metrics-system.network_summary-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.process] for index patterns [metrics-system.process-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.raid] for index patterns [metrics-system.raid-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.process_summary] for index patterns [metrics-system.process_summary-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.service] for index patterns [metrics-system.service-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.socket] for index patterns [metrics-system.socket-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [logs-system.syslog] for index patterns [logs-system.syslog-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.socket_summary] for index patterns [metrics-system.socket_summary-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.uptime] for index patterns [metrics-system.uptime-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-system.users] for index patterns [metrics-system.users-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [logs-endpoint.events.security] for index patterns [logs-endpoint.events.security-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-endpoint.policy] for index patterns [metrics-endpoint.policy-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [logs-endpoint.events.registry] for index patterns [logs-endpoint.events.registry-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-endpoint.metadata_current] for index patterns [metrics-endpoint.metadata_current-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [logs-endpoint.events.process] for index patterns [logs-endpoint.events.process-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-endpoint.metrics] for index patterns [metrics-endpoint.metrics-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [logs-endpoint.alerts] for index patterns [logs-endpoint.alerts-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [logs-endpoint.events.network] for index patterns [logs-endpoint.events.network-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [logs-endpoint.events.file] for index patterns [logs-endpoint.events.file-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [logs-endpoint.events.library] for index patterns [logs-endpoint.events.library-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index template [metrics-endpoint.metadata] for index patterns [metrics-endpoint.metadata-*]
[00:00:07]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.transform-internal-005] creating index, cause [auto(bulk api)], templates [.transform-internal-005], shards [1]/[1]
[00:00:07]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] updating number_of_replicas to [0] for indices [.transform-internal-005]
[00:00:07]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.transform-notifications-000002] creating index, cause [auto(bulk api)], templates [.transform-notifications-000002], shards [1]/[1]
[00:00:07]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] updating number_of_replicas to [0] for indices [.transform-notifications-000002]
[00:00:07]             │ info [o.e.x.t.t.p.SchemaUtil] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] Failed to deduce mapping for [agent.id], fall back to keyword. Create the destination index with complete mappings first to avoid deducing the mappings
[00:00:07]             │ info [o.e.x.t.p.TransformIndex] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]
[00:00:07]             │ info [r.suppressed] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] path: /_transform/metrics-endpoint.metadata-current-default-0.16.0-dev.0/_start, params: {id=metrics-endpoint.metadata-current-default-0.16.0-dev.0}
[00:00:07]             │      java.lang.RuntimeException: Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]
[00:00:07]             │      	at org.elasticsearch.xpack.transform.persistence.TransformIndex.lambda$createDestinationIndex$1(TransformIndex.java:61) [transform-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.action.ActionListener$1.onFailure(ActionListener.java:71) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.client.node.NodeClient.lambda$executeLocally$1(NodeClient.java:94) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.tasks.TaskManager$1.onFailure(TaskManager.java:184) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.action.support.ContextPreservingActionListener.onFailure(ContextPreservingActionListener.java:50) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction.lambda$doStart$2(TransportMasterNodeAction.java:158) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.action.ActionListener$2.onFailure(ActionListener.java:94) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.action.ActionListener$4.onFailure(ActionListener.java:173) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.action.ActionListener$1.onFailure(ActionListener.java:71) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.AckedClusterStateUpdateTask.onFailure(AckedClusterStateUpdateTask.java:79) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.onFailure(MetadataCreateIndexService.java:313) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService$SafeClusterStateTaskListener.onFailure(MasterService.java:508) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService$TaskOutputs.notifyFailedTasks(MasterService.java:441) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:215) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService$Batcher.run(MasterService.java:151) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:150) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:188) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:674) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:252) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:215) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
[00:00:07]             │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
[00:00:07]             │      	at java.lang.Thread.run(Thread.java:832) [?:?]
[00:00:07]             │      Caused by: java.lang.IllegalArgumentException: cannot create index with name [metrics-endpoint.metadata_current-default], because it matches with template [metrics-endpoint.metadata_current] that creates data streams only, use create data stream api instead
[00:00:07]             │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequestWithV2Template(MetadataCreateIndexService.java:507) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:360) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:380) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.execute(MetadataCreateIndexService.java:303) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:47) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:697) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService.calculateTaskOutputs(MasterService.java:319) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:214) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	... 9 more
[00:00:07]             │ proc [kibana]   log   [11:24:23.511] [error][ingestManager][plugins] [runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0] response from /_transform/metrics-endpoint.metadata-current-default-0.16.0-dev.0/_start: {"error":{"root_cause":[{"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]"}],"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]","caused_by":{"type":"illegal_argument_exception","reason":"cannot create index with name [metrics-endpoint.metadata_current-default], because it matches with template [metrics-endpoint.metadata_current] that creates data streams only, use create data stream api instead"}},"status":500}
[00:00:07]             │ debg --- retry.try error: expected 200 "OK", got 500 "Internal Server Error"
[00:00:07]             │ proc [kibana]  error  [11:24:16.254]  Error: Internal Server Error
[00:00:07]             │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/parallel/24/kibana/build/kibana-build-xpack/src/core/server/http/router/response_adapter.js:132:19)
[00:00:07]             │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/parallel/24/kibana/build/kibana-build-xpack/src/core/server/http/router/response_adapter.js:86:19)
[00:00:07]             │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/parallel/24/kibana/build/kibana-build-xpack/src/core/server/http/router/response_adapter.js:81:17)
[00:00:07]             │ proc [kibana]     at Router.handle (/dev/shm/workspace/parallel/24/kibana/build/kibana-build-xpack/src/core/server/http/router/router.js:164:34)
[00:00:07]             │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:00:07]             │ info [docker:registry] 2020/09/29 11:24:24 source.ip: 172.17.0.1:43900, url.original: /package/system/0.5.3
[00:00:07]             │ info [docker:registry] 2020/09/29 11:24:24 source.ip: 172.17.0.1:43898, url.original: /search?package=system&internal=true&experimental=true
[00:00:07]             │ info [docker:registry] 2020/09/29 11:24:24 source.ip: 172.17.0.1:43904, url.original: /package/system/0.5.3/
[00:00:08]             │ info [docker:registry] 2020/09/29 11:24:24 source.ip: 172.17.0.1:43918, url.original: /package/system/0.5.3
[00:00:08]             │ info [docker:registry] 2020/09/29 11:24:24 source.ip: 172.17.0.1:43916, url.original: /search?package=system&internal=true&experimental=true
[00:00:08]             │ info [docker:registry] 2020/09/29 11:24:24 source.ip: 172.17.0.1:43922, url.original: /package/system/0.5.3/
[00:00:08]             │ info [docker:registry] 2020/09/29 11:24:24 source.ip: 172.17.0.1:43928, url.original: /package/system/0.5.3
[00:00:08]             │ info [docker:registry] 2020/09/29 11:24:24 source.ip: 172.17.0.1:43932, url.original: /package/system/0.5.3/
[00:00:08]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.kibana_1/LR_Nk87nRX2MyLbfD4LiJA] update_mapping [_doc]
[00:00:10]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] added role [fleet_enroll]
[00:00:10]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] added user [fleet_enroll]
[00:00:12]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.kibana_1/LR_Nk87nRX2MyLbfD4LiJA] update_mapping [_doc]
[00:00:13]           └-: endpoint list
[00:00:13]             └-> "before all" hook
[00:00:13]             └-: when initially navigating to page
[00:00:13]               └-> "before all" hook
[00:00:13]               └-> "before all" hook
[00:00:13]                 │ debg navigateToActualUrl http://localhost:61241/app/security/administration/endpoints
[00:00:13]                 │ debg browser[INFO] http://localhost:61241/login?next=%2Fapp%2Fsecurity%2Fadministration%2Fendpoints%3F_t%3D1601378669433 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:13]                 │
[00:00:13]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:13]                 │ debg currentUrl = http://localhost:61241/login?next=%2Fapp%2Fsecurity%2Fadministration%2Fendpoints%3F_t%3D1601378669433
[00:00:13]                 │          appUrl = http://localhost:61241/app/security/administration/endpoints
[00:00:13]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:13]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:16]                 │ERROR browser[SEVERE] http://localhost:61241/internal/licensing/feature_usage/register - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:16]                 │ debg browser[WARNING] http://localhost:61241/36464/bundles/plugin/uiActionsEnhanced/uiActionsEnhanced.plugin.js 15:63477 "ActionFactory [actionFactory.id = URL_DRILLDOWN] fail to register feature for featureUsage."
[00:00:16]                 │ debg Found login page
[00:00:16]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:00:16]                 │ debg TestSubjects.click(loginUsername)
[00:00:16]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:16]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:16]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:00:16]                 │ debg TestSubjects.click(loginPassword)
[00:00:16]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:16]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:16]                 │ debg TestSubjects.click(loginSubmit)
[00:00:16]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:16]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:16]                 │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:00:16]                 │ proc [kibana]   log   [11:24:32.977] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:00:17]                 │ debg browser[INFO] http://localhost:61241/app/security/administration/endpoints?_t=1601378669433 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:17]                 │
[00:00:17]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:17]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:19]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:00:21]                 │ info [docker:registry] 2020/09/29 11:24:37 source.ip: 172.17.0.1:44500, url.original: /search?category=security
[00:00:21]                 │ info [docker:registry] 2020/09/29 11:24:37 source.ip: 172.17.0.1:44512, url.original: /search?category=security
[00:00:21]                 │ERROR browser[SEVERE] http://localhost:61241/api/detection_engine/index - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:21]                 │ERROR browser[SEVERE] http://localhost:61241/api/index_patterns/_fields_for_wildcard?pattern=metrics-endpoint.metadata_current-* - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:21]                 │ERROR browser[SEVERE] http://localhost:61241/api/detection_engine/index - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:21]                 │ERROR browser[SEVERE] http://localhost:61241/36464/bundles/plugin/securitySolution/securitySolution.chunk.5.js 2:4280204 TypeError: Failed to fetch
[00:00:21]                 │          at Fetch._callee3$ (http://localhost:61241/36464/bundles/core/core.entry.js:34:107528)
[00:00:21]                 │          at l (http://localhost:61241/36464/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:186849)
[00:00:21]                 │          at Generator._invoke (http://localhost:61241/36464/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:186602)
[00:00:21]                 │          at Generator.forEach.e.<computed> [as throw] (http://localhost:61241/36464/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:187206)
[00:00:21]                 │          at fetch_asyncGeneratorStep (http://localhost:61241/36464/bundles/core/core.entry.js:34:100871)
[00:00:21]                 │          at _throw (http://localhost:61241/36464/bundles/core/core.entry.js:34:101279)
[00:00:21]                 │ debg browser[INFO] http://localhost:61241/app/security/administration/endpoints?_t=1601378676495 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:21]                 │
[00:00:21]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:21]                 │ debg Finished login process currentUrl = http://localhost:61241/app/security/administration/endpoints
[00:00:21]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:21]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:21]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:23]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:23]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:23]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:23]                 │ info [docker:registry] 2020/09/29 11:24:40 source.ip: 172.17.0.1:44692, url.original: /search?category=security
[00:00:24]                 │ info [docker:registry] 2020/09/29 11:24:40 source.ip: 172.17.0.1:44704, url.original: /search?category=security
[00:00:24]                 │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding index lifecycle policy [.siem-signals-default]
[00:00:24]                 │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding template [.siem-signals-default] for index patterns [.siem-signals-default-*]
[00:00:24]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.siem-signals-default-000001] creating index, cause [api], templates [.siem-signals-default], shards [1]/[1]
[00:00:24]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] moving index [.siem-signals-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.siem-signals-default]
[00:00:24]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] moving index [.siem-signals-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [.siem-signals-default]
[00:00:24]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] moving index [.siem-signals-default-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [.siem-signals-default]
[00:00:24]                 │ERROR browser[SEVERE] http://localhost:61241/api/detection_engine/index - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:24]                 │ERROR browser[SEVERE] http://localhost:61241/api/index_patterns/_fields_for_wildcard?pattern=metrics-endpoint.metadata_current-* - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:24]                 │ERROR browser[SEVERE] http://localhost:61241/api/detection_engine/index - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:24]                 │ERROR browser[SEVERE] http://localhost:61241/api/index_patterns/_fields_for_wildcard?pattern=metrics-endpoint.metadata_current-* - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:24]               └-> finds no data in list and prompts onboarding to add policy
[00:00:24]                 └-> "before each" hook: global before each
[00:00:24]                 │ debg TestSubjects.exists(emptyPolicyTable)
[00:00:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="emptyPolicyTable"]') with timeout=2500
[00:00:24]                 └- ✓ pass  (57ms) "endpoint endpoint list when initially navigating to page finds no data in list and prompts onboarding to add policy"
[00:00:24]               └-> finds data after load and polling
[00:00:24]                 └-> "before each" hook: global before each
[00:00:24]                 │ info [endpoint/metadata/destination_index] Loading "data.json"
[00:00:24]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] [.ds-metrics-endpoint.metadata_current-default-000001] creating index, cause [initialize_data_stream], templates [metrics-endpoint.metadata_current], shards [1]/[1]
[00:00:24]                 │ info [o.e.c.m.MetadataCreateDataStreamService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] adding data stream [metrics-endpoint.metadata_current-default]
[00:00:24]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] moving index [.ds-metrics-endpoint.metadata_current-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [metrics]
[00:00:24]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] moving index [.ds-metrics-endpoint.metadata_current-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [metrics]
[00:00:24]                 │ info Taking screenshot "/dev/shm/workspace/parallel/24/kibana/x-pack/test/functional/screenshots/failure/endpoint endpoint list when initially navigating to page finds data after load and polling.png"
[00:00:24]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1601374174738943661] moving index [.ds-metrics-endpoint.metadata_current-default-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [metrics]
[00:00:24]                 │ info Current URL is: http://localhost:61241/app/security/administration/endpoints
[00:00:24]                 │ info Saving page source to: /dev/shm/workspace/parallel/24/kibana/x-pack/test/functional/failure_debug/html/endpoint endpoint list when initially navigating to page finds data after load and polling.html
[00:00:24]                 └- ✖ fail: endpoint endpoint list when initially navigating to page finds data after load and polling
[00:00:24]                 │      Error: Failed to index all documents: {
[00:00:24]                 │   "took": 124,
[00:00:24]                 │   "errors": true,
[00:00:24]                 │   "items": [
[00:00:24]                 │     {
[00:00:24]                 │       "create": {
[00:00:24]                 │         "_index": ".ds-metrics-endpoint.metadata_current-default-000001",
[00:00:24]                 │         "_id": "M92ScEJT9M9QusfIi3hpEb0AAAAAAAAA",
[00:00:24]                 │         "status": 400,
[00:00:24]                 │         "error": {
[00:00:24]                 │           "type": "mapper_parsing_exception",
[00:00:24]                 │           "reason": "failed to parse",
[00:00:24]                 │           "caused_by": {
[00:00:24]                 │             "type": "illegal_argument_exception",
[00:00:24]                 │             "reason": "data stream timestamp field [@timestamp] is missing"
[00:00:24]                 │           }
[00:00:24]                 │         }
[00:00:24]                 │       }
[00:00:24]                 │     }
[00:00:24]                 │   ]
[00:00:24]                 │ }
[00:00:24]                 │       at indexDocs (/dev/shm/workspace/parallel/24/kibana/packages/kbn-es-archiver/src/lib/docs/index_doc_records_stream.ts:49:13)
[00:00:24]                 │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:00:24]                 │ 
[00:00:24]                 │ 

Stack Trace

Error: Failed to index all documents: {
  "took": 124,
  "errors": true,
  "items": [
    {
      "create": {
        "_index": ".ds-metrics-endpoint.metadata_current-default-000001",
        "_id": "M92ScEJT9M9QusfIi3hpEb0AAAAAAAAA",
        "status": 400,
        "error": {
          "type": "mapper_parsing_exception",
          "reason": "failed to parse",
          "caused_by": {
            "type": "illegal_argument_exception",
            "reason": "data stream timestamp field [@timestamp] is missing"
          }
        }
      }
    }
  ]
}
    at indexDocs (/dev/shm/workspace/parallel/24/kibana/packages/kbn-es-archiver/src/lib/docs/index_doc_records_stream.ts:49:13)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Metrics [docs]

@kbn/optimizer bundle module count

id value diff baseline
securitySolution 2008 +2 2006
triggers_actions_ui 261 +10 251
total +12

async chunks size

id value diff baseline
securitySolution 10.1MB +1.0B 10.1MB
triggers_actions_ui 976.1KB +14.6KB 961.5KB
total +14.6KB

distributable file count

id value diff baseline
default 45930 +3 45927

page load bundle size

id value diff baseline
securitySolution 793.6KB +284.0B 793.4KB
triggers_actions_ui 288.2KB +875.0B 287.4KB
total +1.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
Feature:Actions release_note:enhancement Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to test executing a connector on update
7 participants