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

[Ingest Pipelines] Add generated copy for all processors #95507

Conversation

jloleysens
Copy link
Contributor

@jloleysens jloleysens commented Mar 26, 2021

Summary

Fix #95486

As described in #94432 we should provide descriptions for processors out of the box. Most processors are very simple and so helpful descriptions can be deduced from processor configuration.

This contribution adds:

  • a mechanism for processors to have default descriptions
  • the copy that will act as the template for the default description

Screenshot 2021-03-26 at 12 46 34

Assists with addressing this elastic/elasticsearch#70442

Additional changes

Reworked the styling for the description width to function in the following way:

  • when text is wider than the content determined by the flex-box it should not overflow (i.e., removed max-width: 600px)
  • on hover, the text should display its full content (setting title attribute on containing div for this only when we are not showing that text input)
  • making width explicit on flex item by setting min-width: auto which overrides the default auto which stops the flex item content from growing beyond the amount it is given by flex-grow: 1

Screenshot 2021-03-30 at 11 32 31

Release note 🚀

We enhanced the Ingest Node Pipelines UI with generated, default descriptions for all ES processors. These descriptions are designed to be concise, processor-specific and provide an at-a-glance window into what a processor is doing. This eases the burden on users of having to provide good, often repetitive descriptions. Users still have the option of adding a custom description that will be stored in the pipeline configuration.

Checklist

Adding test coverage for this functionality in #97799

  generic processor descriptions
- added initial pass of generated descriptions for all processors
@jloleysens jloleysens added release_note:enhancement v8.0.0 Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more Feature:Ingest Node Pipelines Ingest node pipelines management v7.13.0 labels Mar 26, 2021
@jloleysens jloleysens requested review from cjcenizal and P1llus March 26, 2021 12:10
defaultMessage:
"Appends values to a field's array. If the field contains a single value, the processor first converts it to an array. If the field doesn't exist, the processor creates an array containing the appended values.",
}),
getDefaultDescription: ({ field, value }) =>
i18n.translate('xpack.ingestPipelines.processors.defaultDescription.append', {
defaultMessage: 'Appends "{value}" to the "{field}" field',
Copy link
Contributor

Choose a reason for hiding this comment

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

I like to write commit messages as commands, so I personally would prefer to see this written as "Append" instead of "Appends", and the other descriptions updated similarly. This also makes the messages just a bit shorter. 🤷 I dunno, I'll defer to whatever the writers think is best. :)

Copy link
Member

Choose a reason for hiding this comment

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

Yeah the current writeup was very WIP, just to get the general format done, I was later going to reach out to at least a few others to see if someone can do some rewriting of the actual text, as it's not currently in top shape :)

Choose a reason for hiding this comment

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

I disagree. The ingest processor takes action on the provided input. I like to think of it in a sentence and ask the question, "What does this <name_of_thing> do?" For example:

"What does this machine do?" --> "It grinds coffee beans."

You wouldn't say, "It grind coffee beans". Each of the ingest processor descriptions use this same format. For example, the Append processor "Appends one or more values to an existing array...."

cc: @gchaps to add or clarify

Copy link
Contributor

Choose a reason for hiding this comment

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

++ to what @lockewritesdocs said.

@jethr0null
Copy link

@jloleysens (cc @cjcenizal) This is great. I'm wondering if we can take a look at also appending the name to the "Processor" test that's shown in the form. For example, something like updating to Pipeline - "apm_user_agent". That way if the user wants to overwrite the generated description with something more custom/detailed such as "pipeline does this then this then this" they are still easily able to see the pipeline name independently.

@jloleysens jloleysens marked this pull request as ready for review March 29, 2021 16:13
@jloleysens jloleysens requested a review from a team as a code owner March 29, 2021 16:13
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

@jloleysens jloleysens requested a review from andrewkroh March 29, 2021 16:15
@jloleysens
Copy link
Contributor Author

@elasticmachine merge upstream

@jloleysens
Copy link
Contributor Author

@elasticmachine merge upstream

@jloleysens
Copy link
Contributor Author

@jethr0null just want to make sure I understand your suggestion correctly;

I'm wondering if we can take a look at also appending the name to the "Processor" test that's shown in the form.

Would this apply to processors other than "Pipeline"? If I'm understanding correctly, I think your suggestion makes a lot of sense, but one way a user can solve for this need is by adding that value to their custom description.

Otherwise, I think to add a special "extra" value for certain processors we should enumerate all cases and check which value specifically should always show. This might be best done in follow-up PR, but happy to update this opinion given more info :)

@jloleysens jloleysens requested a review from a team as a code owner March 30, 2021 09:32
@jloleysens
Copy link
Contributor Author

@elasticmachine merge upstream

Copy link
Contributor

@ryankeairns ryankeairns left a comment

Choose a reason for hiding this comment

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

Strictly a CSS review - thanks for adding the notes, just one small suggestion.


// By default, flex sets the element width to "auto", we set this explicitly again to avoid the flex item growing beyond the width given
// by flex. This applies to both of the classes below
&__controlsFlexItem {
Copy link
Contributor

Choose a reason for hiding this comment

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

You could combine these into a single rule since they share the same, single style.

Suggested change
&__controlsFlexItem {
&__controlsFlexItem, &__descriptionContainer {
min-width: 0;
}

@jloleysens
Copy link
Contributor Author

@elasticmachine merge upstream

@jloleysens
Copy link
Contributor Author

@elasticmachine merge upstream

@jloleysens
Copy link
Contributor Author

Thanks for the copy review @lockewritesdocs ! I believe I have addressed all of your feedback. Would you mind taking another look?

Copy link

@lockewritesdocs lockewritesdocs left a comment

Choose a reason for hiding this comment

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

Great progress! However, there are still a few descriptions that don't display. I commented on each of those and indicated what might be the issue, plus suggested a few edits.

}),
getDefaultDescription: ({ if: value }) =>
value
? i18n.translate('xpack.ingestPipelines.processors.defaultDescription.drop', {

Choose a reason for hiding this comment

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

Suggested change
? i18n.translate('xpack.ingestPipelines.processors.defaultDescription.drop', {
i18n.translate('xpack.ingestPipelines.processors.defaultDescription.drop', {

Choose a reason for hiding this comment

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

The description for Drop wasn't rendering, and I think the errant ? might be why.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

See my comment regarding "Fail" below. Would this be a suitable alternative to always display:

"Drops documents without returning an error" 👈🏻 taken from the description provided for the type.

defaultMessage:
'Returns a custom error message on failure. Often used to notify requesters of required conditions.',
}),
getDefaultDescription: ({ if: value }) =>
value
? i18n.translate('xpack.ingestPipelines.processors.defaultDescription.fail', {

Choose a reason for hiding this comment

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

Suggested change
? i18n.translate('xpack.ingestPipelines.processors.defaultDescription.fail', {
i18n.translate('xpack.ingestPipelines.processors.defaultDescription.fail', {

Choose a reason for hiding this comment

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

The description for Fail wasn't rendering, and I think the errant ? might be why.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This ? : combo is intentional at the moment. If we have no if value; I recall we said that we don't actually want to display these in the default descriptions anyway, might this work:

"Raises an exception that halts execution"

getDefaultDescription: ({ field, processor }) => {
const processorName = Object.keys(processor ?? {})[0];
return processorName
? i18n.translate('xpack.ingestPipelines.processors.defaultDescription.foreach', {

Choose a reason for hiding this comment

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

Suggested change
? i18n.translate('xpack.ingestPipelines.processors.defaultDescription.foreach', {
i18n.translate('xpack.ingestPipelines.processors.defaultDescription.foreach', {

Copy link

@lockewritesdocs lockewritesdocs Apr 7, 2021

Choose a reason for hiding this comment

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

The description for Foreach wasn't rendering, and I think the errant ? might be why.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@lockewritesdocs This is the description for the Foreach processor. The ? guards us from trying to build a default description if we bad data. This is a limitation that will be removed once we address #95906. Let me know if this is unclear!

@jloleysens
Copy link
Contributor Author

@elasticmachine merge upstream

Copy link

@lockewritesdocs lockewritesdocs left a comment

Choose a reason for hiding this comment

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

One suggestion, but otherwise LGTM. Thanks for iterating @jloleysens!

const processorName = Object.keys(processor ?? {})[0];
return processorName
? i18n.translate('xpack.ingestPipelines.processors.defaultDescription.foreach', {
defaultMessage: 'Runs the "{processorName}" processor for each object in "{field}"',

Choose a reason for hiding this comment

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

Suggested change
defaultMessage: 'Runs the "{processorName}" processor for each object in "{field}"',
defaultMessage: 'Runs a processor for each object in "{field}"',

Choose a reason for hiding this comment

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

Suggest removing processorName so that the default description displays if the user doesn't supply a processor name.

@jloleysens jloleysens merged commit cbc0fa0 into elastic:master Apr 8, 2021
@jloleysens jloleysens deleted the ingest-pipelines/default-processor-descriptions branch April 8, 2021 21:43
jloleysens added a commit to jloleysens/kibana that referenced this pull request Apr 8, 2021
* - minor refactor of 'description' -> 'typeDescription' for
  generic processor descriptions
- added initial pass of generated descriptions for all processors

* fix i18n

* added wrapping div and title to description and changed default description to appear as placeholder

* reworked the description width and overflow styling

* only show the text title on hover when we are not showing the text input

* fixed a number of minor issues with using values as though they are strings and doing better serialization

* slight optimisation to scss

* - implement copy feedback
- clean up a lot of uses of "target_field = field". it is better
  to not show these
- made "replacement" a required field on gsub (which it was not)

* revert the previouis validation as empty values are acceptbale for the replacement text

* - updated the copy per feedback and fixed a missing i18n.translate
- slight update to SCSS classes to not have unused class

* Added an empty string field validator that accepts spaces so that
the KV processor value and field split fields accept " "

* replace use of HTML "title" with EuiToolTip

* remove unused variable and import

* implemented feedback; removed if from default descriptions and other minor updates

* update default description of foreach to always display

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
jloleysens added a commit to jloleysens/kibana that referenced this pull request Apr 8, 2021
* - minor refactor of 'description' -> 'typeDescription' for
  generic processor descriptions
- added initial pass of generated descriptions for all processors

* fix i18n

* added wrapping div and title to description and changed default description to appear as placeholder

* reworked the description width and overflow styling

* only show the text title on hover when we are not showing the text input

* fixed a number of minor issues with using values as though they are strings and doing better serialization

* slight optimisation to scss

* - implement copy feedback
- clean up a lot of uses of "target_field = field". it is better
  to not show these
- made "replacement" a required field on gsub (which it was not)

* revert the previouis validation as empty values are acceptbale for the replacement text

* - updated the copy per feedback and fixed a missing i18n.translate
- slight update to SCSS classes to not have unused class

* Added an empty string field validator that accepts spaces so that
the KV processor value and field split fields accept " "

* replace use of HTML "title" with EuiToolTip

* remove unused variable and import

* implemented feedback; removed if from default descriptions and other minor updates

* update default description of foreach to always display

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
jloleysens added a commit that referenced this pull request Apr 8, 2021
…6660)

* - minor refactor of 'description' -> 'typeDescription' for
  generic processor descriptions
- added initial pass of generated descriptions for all processors

* fix i18n

* added wrapping div and title to description and changed default description to appear as placeholder

* reworked the description width and overflow styling

* only show the text title on hover when we are not showing the text input

* fixed a number of minor issues with using values as though they are strings and doing better serialization

* slight optimisation to scss

* - implement copy feedback
- clean up a lot of uses of "target_field = field". it is better
  to not show these
- made "replacement" a required field on gsub (which it was not)

* revert the previouis validation as empty values are acceptbale for the replacement text

* - updated the copy per feedback and fixed a missing i18n.translate
- slight update to SCSS classes to not have unused class

* Added an empty string field validator that accepts spaces so that
the KV processor value and field split fields accept " "

* replace use of HTML "title" with EuiToolTip

* remove unused variable and import

* implemented feedback; removed if from default descriptions and other minor updates

* update default description of foreach to always display

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
jloleysens added a commit that referenced this pull request Apr 8, 2021
…6659)

* - minor refactor of 'description' -> 'typeDescription' for
  generic processor descriptions
- added initial pass of generated descriptions for all processors

* fix i18n

* added wrapping div and title to description and changed default description to appear as placeholder

* reworked the description width and overflow styling

* only show the text title on hover when we are not showing the text input

* fixed a number of minor issues with using values as though they are strings and doing better serialization

* slight optimisation to scss

* - implement copy feedback
- clean up a lot of uses of "target_field = field". it is better
  to not show these
- made "replacement" a required field on gsub (which it was not)

* revert the previouis validation as empty values are acceptbale for the replacement text

* - updated the copy per feedback and fixed a missing i18n.translate
- slight update to SCSS classes to not have unused class

* Added an empty string field validator that accepts spaces so that
the KV processor value and field split fields accept " "

* replace use of HTML "title" with EuiToolTip

* remove unused variable and import

* implemented feedback; removed if from default descriptions and other minor updates

* update default description of foreach to always display

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@cjcenizal cjcenizal added the release_note:feature Makes this part of the condensed release notes label Apr 21, 2021
@cjcenizal
Copy link
Contributor

@jloleysens Could you please add a "Release note" section to this PR's description? I think users will love this feature and I've labeled it so it will be highlighted in the 7.13 release announcement.

@jloleysens
Copy link
Contributor Author

Great point @cjcenizal ! I just updated the description.

@kibanamachine
Copy link
Contributor

kibanamachine commented Apr 22, 2021

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / general / X-Pack EPM API Integration Tests.x-pack/test/fleet_api_integration/apis/agents_setup·ts.Fleet Endpoints fleet_agents_setup "after all" hook for "should create or update the fleet_enroll user if called multiple times with forceRecreate flag"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Fleet Endpoints
[00:00:00]           └-> "before all" hook in "Fleet Endpoints"
[00:08:56]           └-: fleet_agents_setup
[00:08:56]             └-> "before all" hook for "should create a fleet_enroll user and role"
[00:08:56]             └-> "before all" hook for "should create a fleet_enroll user and role"
[00:08:56]               │ info [empty_kibana] Loading "mappings.json"
[00:08:56]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.kibana_task_manager_8.0.0_001/Ifb9d_jnQbuShZbGd-wJ0Q] deleting index
[00:08:56]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.kibana_8.0.0_001/5Qgv_TPRRmOFYctvDPjWjQ] deleting index
[00:08:56]               │ info [empty_kibana] Deleted existing index ".kibana_8.0.0_001"
[00:08:56]               │ info [empty_kibana] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:08:56]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:08:56]               │ info [empty_kibana] Created index ".kibana"
[00:08:56]               │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:08:56]               │ debg Migrating saved objects
[00:08:56]               │ proc [kibana]   log   [10:23:06.469] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET
[00:08:56]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:08:56]               │ proc [kibana]   log   [10:23:06.475] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[00:08:56]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:08:56]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] adding block write to indices [[.kibana/g4dDqtmPSn22Cnwu6kxOPQ]]
[00:08:56]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] completed adding block write to indices [.kibana]
[00:08:56]               │ proc [kibana]   log   [10:23:06.535] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY
[00:08:56]               │ proc [kibana]   log   [10:23:06.551] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[00:08:56]               │ proc [kibana]   log   [10:23:06.564] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE
[00:08:56]               │ proc [kibana]   log   [10:23:06.564] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 102ms
[00:08:56]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:08:56]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:08:56]               │ proc [kibana]   log   [10:23:06.612] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[00:08:56]               │ proc [kibana]   log   [10:23:06.636] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[00:08:56]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.tasks] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:08:56]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] updating number_of_replicas to [0] for indices [.tasks]
[00:08:56]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] 25758 finished with response BulkByScrollResponse[took=3.3ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:08:56]               │ proc [kibana]   log   [10:23:06.751] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE
[00:08:56]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.kibana/g4dDqtmPSn22Cnwu6kxOPQ] deleting index
[00:08:56]               │ proc [kibana]   log   [10:23:06.800] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK
[00:08:56]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] adding block write to indices [[.kibana_pre6.5.0_001/mxqVCOCCQcC__lIFSfdD0g]]
[00:08:56]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:08:56]               │ proc [kibana]   log   [10:23:06.836] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:08:56]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:08:56]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:08:56]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_reindex_temp][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_reindex_temp][0]]"
[00:08:56]               │ proc [kibana]   log   [10:23:06.884] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:08:56]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] 25793 finished with response BulkByScrollResponse[took=1.9ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:08:56]               │ proc [kibana]   log   [10:23:06.889] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:08:56]               │ proc [kibana]   log   [10:23:06.896] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:08:56]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] adding block write to indices [[.kibana_8.0.0_reindex_temp/YFT6YIRsTMeCAdeZZKruxg]]
[00:08:56]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:08:57]               │ proc [kibana]   log   [10:23:06.932] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:08:57]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:08:57]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:08:57]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:08:57]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.kibana_8.0.0_001/B1gaAG-2QcWdeM5d4bT8-w] create_mapping
[00:08:57]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_001][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_001][0]]"
[00:08:57]               │ proc [kibana]   log   [10:23:07.039] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:08:57]               │ proc [kibana]   log   [10:23:07.046] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:08:57]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.kibana_8.0.0_001/B1gaAG-2QcWdeM5d4bT8-w] update_mapping [_doc]
[00:08:57]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] 25829 finished with response BulkByScrollResponse[took=1.9ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:08:57]               │ proc [kibana]   log   [10:23:07.105] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:08:57]               │ proc [kibana]   log   [10:23:07.110] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:08:57]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.kibana_8.0.0_reindex_temp/YFT6YIRsTMeCAdeZZKruxg] deleting index
[00:08:57]               │ proc [kibana]   log   [10:23:07.168] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE
[00:08:57]               │ proc [kibana]   log   [10:23:07.169] [info][savedobjects-service] [.kibana] Migration completed after 707ms
[00:08:57]               │ debg [empty_kibana] Migrated Kibana index after loading Kibana data
[00:08:57]               │ debg [empty_kibana] Ensured that default space exists in .kibana
[00:08:57]               │ info [fleet/empty_fleet_server] Loading "mappings.json"
[00:08:57]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.fleet-actions-7] creating index, cause [api], templates [], shards [1]/[1]
[00:08:57]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] updating number_of_replicas to [0] for indices [.fleet-actions-7]
[00:08:57]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.fleet-actions-7][0]]])." previous.health="YELLOW" reason="shards started [[.fleet-actions-7][0]]"
[00:08:57]               │ info [fleet/empty_fleet_server] Created index ".fleet-actions_1"
[00:08:57]               │ debg [fleet/empty_fleet_server] ".fleet-actions_1" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:08:57]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.fleet-agents-7] creating index, cause [api], templates [], shards [1]/[1]
[00:08:57]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] updating number_of_replicas to [0] for indices [.fleet-agents-7]
[00:08:57]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.fleet-agents-7][0]]])." previous.health="YELLOW" reason="shards started [[.fleet-agents-7][0]]"
[00:08:57]               │ info [fleet/empty_fleet_server] Created index ".fleet-agents_1"
[00:08:57]               │ debg [fleet/empty_fleet_server] ".fleet-agents_1" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:08:57]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.fleet-enrollment-api-keys-7] creating index, cause [api], templates [], shards [1]/[1]
[00:08:57]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] updating number_of_replicas to [0] for indices [.fleet-enrollment-api-keys-7]
[00:08:57]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.fleet-enrollment-api-keys-7][0]]])." previous.health="YELLOW" reason="shards started [[.fleet-enrollment-api-keys-7][0]]"
[00:08:57]               │ info [fleet/empty_fleet_server] Created index ".fleet-enrollment-api-keys_1"
[00:08:57]               │ debg [fleet/empty_fleet_server] ".fleet-enrollment-api-keys_1" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:08:57]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.fleet-policies_1] creating index, cause [api], templates [], shards [1]/[1]
[00:08:57]               │ info [fleet/empty_fleet_server] Created index ".fleet-policies_1"
[00:08:57]               │ debg [fleet/empty_fleet_server] ".fleet-policies_1" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:08:57]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.fleet-servers-7] creating index, cause [api], templates [], shards [1]/[1]
[00:08:57]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] updating number_of_replicas to [0] for indices [.fleet-servers-7]
[00:08:57]               │ info [fleet/empty_fleet_server] Created index ".fleet-servers_1"
[00:08:57]               │ debg [fleet/empty_fleet_server] ".fleet-servers_1" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:08:57]             └-> should create a fleet_enroll user and role
[00:08:57]               └-> "before each" hook: global before each for "should create a fleet_enroll user and role"
[00:08:57]               └-> "before each" hook: beforeSetupWithDockerRegistry for "should create a fleet_enroll user and role"
[00:08:57]               └-> "before each" hook for "should create a fleet_enroll user and role"
[00:08:57]               │ proc [kibana]   log   [10:23:07.500] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:08:57]               │ proc [kibana]   log   [10:23:07.502] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:08:57]               │ proc [kibana]   log   [10:23:07.502] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:08:57]               │ info [docker:registry] 2021/04/22 10:23:07 source.ip: 172.17.0.1:55794, url.original: /search?package=elastic_agent&internal=true&experimental=true
[00:08:57]               │ info [docker:registry] 2021/04/22 10:23:07 source.ip: 172.17.0.1:55796, url.original: /search?package=endpoint&internal=true&experimental=true
[00:08:57]               │ info [docker:registry] 2021/04/22 10:23:07 source.ip: 172.17.0.1:55792, url.original: /search?package=system&internal=true&experimental=true
[00:08:57]               │ proc [kibana]   log   [10:23:07.534] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:08:57]               │ proc [kibana]   log   [10:23:07.548] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:08:57]               │ proc [kibana]   log   [10:23:07.550] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:08:57]               │ info [docker:registry] 2021/04/22 10:23:07 source.ip: 172.17.0.1:55800, url.original: /search?package=elastic_agent&internal=true&experimental=true
[00:08:57]               │ info [docker:registry] 2021/04/22 10:23:07 source.ip: 172.17.0.1:55808, url.original: /search?package=system&internal=true&experimental=true
[00:08:57]               │ info [docker:registry] 2021/04/22 10:23:07 source.ip: 172.17.0.1:55806, url.original: /search?package=endpoint&internal=true&experimental=true
[00:08:57]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.kibana_8.0.0_001/B1gaAG-2QcWdeM5d4bT8-w] update_mapping [_doc]
[00:08:57]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.kibana_8.0.0_001/B1gaAG-2QcWdeM5d4bT8-w] update_mapping [_doc]
[00:08:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.kibana_8.0.0_001/B1gaAG-2QcWdeM5d4bT8-w] update_mapping [_doc]
[00:08:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.kibana_8.0.0_001/B1gaAG-2QcWdeM5d4bT8-w] update_mapping [_doc]
[00:08:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.kibana_8.0.0_001/B1gaAG-2QcWdeM5d4bT8-w] update_mapping [_doc]
[00:09:00]               │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] updating index lifecycle policy [logs-endpoint.collection-diagnostic]
[00:09:05]               │ info [o.e.x.t.t.p.SchemaUtil] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] 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:09:07]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.kibana_8.0.0_001/B1gaAG-2QcWdeM5d4bT8-w] update_mapping [_doc]
[00:09:08]               │ proc [kibana]   log   [10:23:18.170] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:08]               │ info [docker:registry] 2021/04/22 10:23:18 source.ip: 172.17.0.1:55886, url.original: /search?package=fleet_server&internal=true&experimental=true
[00:09:08]               │ proc [kibana]   log   [10:23:18.179] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:08]               │ info [docker:registry] 2021/04/22 10:23:18 source.ip: 172.17.0.1:55890, url.original: /search?package=fleet_server&internal=true&experimental=true
[00:09:10]               │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] updating index lifecycle policy [.fleet-actions-results]
[00:09:13]               │ proc [kibana]   log   [10:23:23.197] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:13]               │ info [docker:registry] 2021/04/22 10:23:23 source.ip: 172.17.0.1:55932, url.original: /search?package=fleet_server&internal=true&experimental=true
[00:09:13]               │ proc [kibana]   log   [10:23:23.216] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:13]               │ info [docker:registry] 2021/04/22 10:23:23 source.ip: 172.17.0.1:55936, url.original: /search?package=fleet_server&internal=true&experimental=true
[00:09:13]               │ proc [kibana]   log   [10:23:23.225] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:13]               │ info [docker:registry] 2021/04/22 10:23:23 source.ip: 172.17.0.1:55940, url.original: /package/fleet_server/0.1.5
[00:09:13]               │ info [docker:registry] 2021/04/22 10:23:23 source.ip: 172.17.0.1:55944, url.original: /package/fleet_server/0.1.5/
[00:09:13]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.kibana_8.0.0_001/B1gaAG-2QcWdeM5d4bT8-w] update_mapping [_doc]
[00:09:15]               │ proc [kibana]   log   [10:23:25.234] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:15]               │ info [docker:registry] 2021/04/22 10:23:25 source.ip: 172.17.0.1:55962, url.original: /search?package=system&internal=true&experimental=true
[00:09:15]               │ proc [kibana]   log   [10:23:25.250] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:15]               │ info [docker:registry] 2021/04/22 10:23:25 source.ip: 172.17.0.1:55968, url.original: /search?package=system&internal=true&experimental=true
[00:09:15]               │ proc [kibana]   log   [10:23:25.260] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:15]               │ info [docker:registry] 2021/04/22 10:23:25 source.ip: 172.17.0.1:55972, url.original: /package/system/0.11.0
[00:09:15]               │ info [docker:registry] 2021/04/22 10:23:25 source.ip: 172.17.0.1:55976, url.original: /package/system/0.11.0/
[00:09:17]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] added role [fleet_enroll]
[00:09:17]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] added user [fleet_enroll]
[00:09:20]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [.kibana_8.0.0_001/B1gaAG-2QcWdeM5d4bT8-w] update_mapping [_doc]
[00:09:21]               └- ✓ pass  (23.8s) "Fleet Endpoints fleet_agents_setup should create a fleet_enroll user and role"
[00:09:21]             └-> should not create or update the fleet_enroll user if called multiple times
[00:09:21]               └-> "before each" hook: global before each for "should not create or update the fleet_enroll user if called multiple times"
[00:09:21]               └-> "before each" hook: beforeSetupWithDockerRegistry for "should not create or update the fleet_enroll user if called multiple times"
[00:09:21]               └-> "before each" hook for "should not create or update the fleet_enroll user if called multiple times"
[00:09:21]               │ proc [kibana]   log   [10:23:31.298] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:21]               │ proc [kibana]   log   [10:23:31.300] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:21]               │ proc [kibana]   log   [10:23:31.301] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:21]               │ info [docker:registry] 2021/04/22 10:23:31 source.ip: 172.17.0.1:56016, url.original: /search?package=system&internal=true&experimental=true
[00:09:21]               │ info [docker:registry] 2021/04/22 10:23:31 source.ip: 172.17.0.1:56018, url.original: /search?package=elastic_agent&internal=true&experimental=true
[00:09:21]               │ info [docker:registry] 2021/04/22 10:23:31 source.ip: 172.17.0.1:56014, url.original: /search?package=endpoint&internal=true&experimental=true
[00:09:21]               │ proc [kibana]   log   [10:23:31.339] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:21]               │ proc [kibana]   log   [10:23:31.341] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:21]               │ proc [kibana]   log   [10:23:31.343] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:21]               │ info [docker:registry] 2021/04/22 10:23:31 source.ip: 172.17.0.1:56028, url.original: /search?package=elastic_agent&internal=true&experimental=true
[00:09:21]               │ info [docker:registry] 2021/04/22 10:23:31 source.ip: 172.17.0.1:56030, url.original: /search?package=system&internal=true&experimental=true
[00:09:21]               │ info [docker:registry] 2021/04/22 10:23:31 source.ip: 172.17.0.1:56026, url.original: /search?package=endpoint&internal=true&experimental=true
[00:09:21]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] added role [fleet_enroll]
[00:09:21]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] added user [fleet_enroll]
[00:09:25]               │ proc [kibana]   log   [10:23:35.297] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:25]               │ proc [kibana]   log   [10:23:35.299] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:25]               │ proc [kibana]   log   [10:23:35.300] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:25]               │ info [docker:registry] 2021/04/22 10:23:35 source.ip: 172.17.0.1:56072, url.original: /search?package=elastic_agent&internal=true&experimental=true
[00:09:25]               │ info [docker:registry] 2021/04/22 10:23:35 source.ip: 172.17.0.1:56074, url.original: /search?package=endpoint&internal=true&experimental=true
[00:09:25]               │ info [docker:registry] 2021/04/22 10:23:35 source.ip: 172.17.0.1:56070, url.original: /search?package=system&internal=true&experimental=true
[00:09:25]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] updated role [fleet_enroll]
[00:09:25]               │ proc [kibana]   log   [10:23:35.343] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:25]               │ proc [kibana]   log   [10:23:35.345] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:25]               │ proc [kibana]   log   [10:23:35.346] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:25]               │ info [docker:registry] 2021/04/22 10:23:35 source.ip: 172.17.0.1:56084, url.original: /search?package=system&internal=true&experimental=true
[00:09:25]               │ info [docker:registry] 2021/04/22 10:23:35 source.ip: 172.17.0.1:56086, url.original: /search?package=elastic_agent&internal=true&experimental=true
[00:09:25]               │ info [docker:registry] 2021/04/22 10:23:35 source.ip: 172.17.0.1:56082, url.original: /search?package=endpoint&internal=true&experimental=true
[00:09:25]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] updated role [fleet_enroll]
[00:09:25]               └- ✓ pass  (4.2s) "Fleet Endpoints fleet_agents_setup should not create or update the fleet_enroll user if called multiple times"
[00:09:25]             └-> should create or update the fleet_enroll user if called multiple times with forceRecreate flag
[00:09:25]               └-> "before each" hook: global before each for "should create or update the fleet_enroll user if called multiple times with forceRecreate flag"
[00:09:25]               └-> "before each" hook: beforeSetupWithDockerRegistry for "should create or update the fleet_enroll user if called multiple times with forceRecreate flag"
[00:09:25]               └-> "before each" hook for "should create or update the fleet_enroll user if called multiple times with forceRecreate flag"
[00:09:25]               │ proc [kibana]   log   [10:23:35.481] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:25]               │ proc [kibana]   log   [10:23:35.483] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:25]               │ proc [kibana]   log   [10:23:35.483] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:25]               │ info [docker:registry] 2021/04/22 10:23:35 source.ip: 172.17.0.1:56098, url.original: /search?package=system&internal=true&experimental=true
[00:09:25]               │ info [docker:registry] 2021/04/22 10:23:35 source.ip: 172.17.0.1:56096, url.original: /search?package=elastic_agent&internal=true&experimental=true
[00:09:25]               │ info [docker:registry] 2021/04/22 10:23:35 source.ip: 172.17.0.1:56100, url.original: /search?package=endpoint&internal=true&experimental=true
[00:09:25]               │ proc [kibana]   log   [10:23:35.505] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:25]               │ proc [kibana]   log   [10:23:35.507] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:25]               │ proc [kibana]   log   [10:23:35.508] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:25]               │ info [docker:registry] 2021/04/22 10:23:35 source.ip: 172.17.0.1:56108, url.original: /search?package=endpoint&internal=true&experimental=true
[00:09:25]               │ info [docker:registry] 2021/04/22 10:23:35 source.ip: 172.17.0.1:56110, url.original: /search?package=system&internal=true&experimental=true
[00:09:25]               │ info [docker:registry] 2021/04/22 10:23:35 source.ip: 172.17.0.1:56112, url.original: /search?package=elastic_agent&internal=true&experimental=true
[00:09:25]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] added role [fleet_enroll]
[00:09:25]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] added user [fleet_enroll]
[00:09:29]               │ proc [kibana]   log   [10:23:39.318] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:29]               │ proc [kibana]   log   [10:23:39.319] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:29]               │ proc [kibana]   log   [10:23:39.319] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:29]               │ info [docker:registry] 2021/04/22 10:23:39 source.ip: 172.17.0.1:56200, url.original: /search?package=system&internal=true&experimental=true
[00:09:29]               │ info [docker:registry] 2021/04/22 10:23:39 source.ip: 172.17.0.1:56202, url.original: /search?package=endpoint&internal=true&experimental=true
[00:09:29]               │ info [docker:registry] 2021/04/22 10:23:39 source.ip: 172.17.0.1:56198, url.original: /search?package=elastic_agent&internal=true&experimental=true
[00:09:29]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] updated role [fleet_enroll]
[00:09:29]               │ proc [kibana]   log   [10:23:39.352] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:29]               │ proc [kibana]   log   [10:23:39.354] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:29]               │ proc [kibana]   log   [10:23:39.362] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:09:29]               │ info [docker:registry] 2021/04/22 10:23:39 source.ip: 172.17.0.1:56214, url.original: /search?package=endpoint&internal=true&experimental=true
[00:09:29]               │ info [docker:registry] 2021/04/22 10:23:39 source.ip: 172.17.0.1:56210, url.original: /search?package=system&internal=true&experimental=true
[00:09:29]               │ info [docker:registry] 2021/04/22 10:23:39 source.ip: 172.17.0.1:56212, url.original: /search?package=elastic_agent&internal=true&experimental=true
[00:09:29]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] updated role [fleet_enroll]
[00:09:29]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] updated user [fleet_enroll]
[00:09:33]               └- ✓ pass  (7.9s) "Fleet Endpoints fleet_agents_setup should create or update the fleet_enroll user if called multiple times with forceRecreate flag"
[00:09:33]             └-> "after all" hook for "should create or update the fleet_enroll user if called multiple times with forceRecreate flag"
[00:09:33]               │ info [empty_kibana] Unloading indices from "mappings.json"
[00:09:33]               │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:09:33]               │ info [empty_kibana] Deleted existing index ".kibana"
[00:09:33]               │ info [fleet/empty_fleet_server] Loading "mappings.json"
[00:09:33]               └- ✖ fail: Fleet Endpoints fleet_agents_setup "after all" hook for "should create or update the fleet_enroll user if called multiple times with forceRecreate flag"
[00:09:33]               │      ResponseError: resource_already_exists_exception
[00:09:33]               │       at onBody (/dev/shm/workspace/parallel/1/kibana/node_modules/@elastic/elasticsearch/lib/Transport.js:337:23)
[00:09:33]               │       at IncomingMessage.onEnd (/dev/shm/workspace/parallel/1/kibana/node_modules/@elastic/elasticsearch/lib/Transport.js:264:11)
[00:09:33]               │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:09:33]               │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:09:33]               │ 
[00:09:33]               │ 

Stack Trace

ResponseError: resource_already_exists_exception
    at onBody (/dev/shm/workspace/parallel/1/kibana/node_modules/@elastic/elasticsearch/lib/Transport.js:337:23)
    at IncomingMessage.onEnd (/dev/shm/workspace/parallel/1/kibana/node_modules/@elastic/elasticsearch/lib/Transport.js:264:11)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  meta: {
    body: { error: [Object], status: 400 },
    statusCode: 400,
    headers: {
      'content-type': 'application/json;charset=utf-8',
      'content-length': '405'
    },
    meta: {
      context: null,
      request: [Object],
      name: 'elasticsearch-js',
      connection: [Object],
      attempts: 0,
      aborted: false
    }
  }
}

Kibana Pipeline / general / X-Pack API Integration Tests.x-pack/test/api_integration/apis/security_solution/feature_controls·ts.apis SecuritySolution Endpoints feature controls APIs can't be accessed by user with no privileges

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: apis
[00:00:00]           └-> "before all" hook in "apis"
[00:06:11]           └-: SecuritySolution Endpoints
[00:06:11]             └-> "before all" hook in "SecuritySolution Endpoints"
[00:07:25]             └-: feature controls
[00:07:25]               └-> "before all" hook for "APIs can't be accessed by user with no privileges"
[00:07:25]               └-> APIs can't be accessed by user with no privileges
[00:07:25]                 └-> "before each" hook: global before each for "APIs can't be accessed by user with no privileges"
[00:07:25]                 │ debg creating role logstash_read
[00:07:25]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] added role [logstash_read]
[00:07:25]                 │ debg creating user logstash_read
[00:07:25]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] added user [logstash_read]
[00:07:25]                 │ debg created user logstash_read
[00:07:25]                 │ info java.lang.OutOfMemoryError: Java heap space
[00:07:25]                 │      Dumping heap to data/java_pid131012.hprof ...
[00:07:27]                 │ info Heap dump file created [685177059 bytes in 1.410 secs]
[00:07:27]                 │ info [o.e.m.j.JvmGcMonitorService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] [gc][470] overhead, spent [321ms] collecting in the last [1s]
[00:07:27]                 │ info [o.e.b.ElasticsearchUncaughtExceptionHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951] fatal error in thread [elasticsearch[kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951][system_read][T#2]], exiting
[00:07:27]                 │      java.lang.OutOfMemoryError: Java heap space
[00:07:27]                 │      	at java.util.Arrays.copyOf(Arrays.java:3536) ~[?:?]
[00:07:27]                 │      	at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:100) ~[?:?]
[00:07:27]                 │      	at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:130) ~[?:?]
[00:07:27]                 │      	at com.fasterxml.jackson.core.json.UTF8JsonGenerator._flushBuffer(UTF8JsonGenerator.java:2137) ~[jackson-core-2.10.4.jar:2.10.4]
[00:07:27]                 │      	at com.fasterxml.jackson.core.json.UTF8JsonGenerator._writeStringSegments(UTF8JsonGenerator.java:1279) ~[jackson-core-2.10.4.jar:2.10.4]
[00:07:27]                 │      	at com.fasterxml.jackson.core.json.UTF8JsonGenerator.writeString(UTF8JsonGenerator.java:502) ~[jackson-core-2.10.4.jar:2.10.4]
[00:07:27]                 │      	at org.elasticsearch.common.xcontent.json.JsonXContentGenerator.writeString(JsonXContentGenerator.java:270) ~[elasticsearch-x-content-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:07:27]                 │      	at org.elasticsearch.common.xcontent.XContentBuilder.value(XContentBuilder.java:703) ~[elasticsearch-x-content-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:07:27]                 │      	at org.elasticsearch.common.xcontent.XContentBuilder.lambda$static$14(XContentBuilder.java:112) ~[elasticsearch-x-content-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:07:27]                 │      	at org.elasticsearch.common.xcontent.XContentBuilder$$Lambda$49/0x0000000800c2e550.write(Unknown Source) ~[?:?]
[00:07:27]                 │      	at org.elasticsearch.common.xcontent.XContentBuilder.unknownValue(XContentBuilder.java:860) ~[elasticsearch-x-content-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:07:27]                 │      	at org.elasticsearch.common.xcontent.XContentBuilder.map(XContentBuilder.java:940) ~[elasticsearch-x-content-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:07:27]                 │      	at org.elasticsearch.common.xcontent.XContentBuilder.map(XContentBuilder.java:915) ~[elasticsearch-x-content-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:07:27]                 │      	at org.elasticsearch.action.index.IndexRequest.source(IndexRequest.java:360) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:07:27]                 │      	at org.elasticsearch.action.update.UpdateRequest.doc(UpdateRequest.java:625) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:07:27]                 │      	at org.elasticsearch.xpack.core.async.AsyncTaskIndexService.updateResponse(AsyncTaskIndexService.java:209) ~[?:?]
[00:07:27]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction.onFinalResponse(TransportSubmitAsyncSearchAction.java:178) ~[?:?]
[00:07:27]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction$1$1.lambda$onResponse$1(TransportSubmitAsyncSearchAction.java:102) ~[?:?]
[00:07:27]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction$1$1$$Lambda$7296/0x0000000801b91660.accept(Unknown Source) ~[?:?]
[00:07:27]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask.executeCompletionListeners(AsyncSearchTask.java:308) ~[?:?]
[00:07:27]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask$Listener.onResponse(AsyncSearchTask.java:441) ~[?:?]
[00:07:27]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask$Listener.onResponse(AsyncSearchTask.java:365) ~[?:?]
[00:07:27]                 │      	at org.elasticsearch.action.support.ContextPreservingActionListener.onResponse(ContextPreservingActionListener.java:31) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:07:27]                 │      	at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter.lambda$applyInternal$2(SecurityActionFilter.java:163) ~[?:?]
[00:07:27]                 │      	at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter$$Lambda$5117/0x0000000801819438.accept(Unknown Source) ~[?:?]
[00:07:27]                 │      	at org.elasticsearch.action.ActionListener$DelegatingFailureActionListener.onResponse(ActionListener.java:217) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:07:27]                 │      	at org.elasticsearch.action.ActionListener$RunAfterActionListener.onResponse(ActionListener.java:339) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:07:27]                 │      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.sendSearchResponse(AbstractSearchAsyncAction.java:657) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:07:27]                 │      	at org.elasticsearch.action.search.ExpandSearchPhase.run(ExpandSearchPhase.java:109) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:07:27]                 │      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.executePhase(AbstractSearchAsyncAction.java:424) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:07:27]                 │      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.executeNextPhase(AbstractSearchAsyncAction.java:418) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:07:27]                 │      	at org.elasticsearch.action.search.FetchSearchPhase.moveToNextPhase(FetchSearchPhase.java:219) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:07:27]                 │ERROR fatal error in thread [elasticsearch[kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951][system_read][T#2]], exiting
[00:07:27]                 │      
[00:07:27]                 │ERROR java.lang.OutOfMemoryError: Java heap space
[00:07:27]                 │      	at java.base/java.util.Arrays.copyOf(Arrays.java:3536)
[00:07:27]                 │      	at java.base/java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:100)
[00:07:27]                 │      	at java.base/java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:130)
[00:07:27]                 │      	at com.fasterxml.jackson.core.json.UTF8JsonGenerator._flushBuffer(UTF8JsonGenerator.java:2137)
[00:07:27]                 │      	at com.fasterxml.jackson.core.json.UTF8JsonGenerator._writeStringSegments(UTF8JsonGenerator.java:1279)
[00:07:27]                 │      	at com.fasterxml.jackson.core.json.UTF8JsonGenerator.writeString(UTF8JsonGenerator.java:502)
[00:07:27]                 │      	at org.elasticsearch.common.xcontent.json.JsonXContentGenerator.writeString(JsonXContentGenerator.java:270)
[00:07:27]                 │      	at org.elasticsearch.common.xcontent.XContentBuilder.value(XContentBuilder.java:703)
[00:07:27]                 │      	at org.elasticsearch.common.xcontent.XContentBuilder.lambda$static$14(XContentBuilder.java:112)
[00:07:27]                 │      	at org.elasticsearch.common.xcontent.XContentBuilder$$Lambda$49/0x0000000800c2e550.write(Unknown Source)
[00:07:27]                 │      	at org.elasticsearch.common.xcontent.XContentBuilder.unknownValue(XContentBuilder.java:860)
[00:07:27]                 │      	at org.elasticsearch.common.xcontent.XContentBuilder.map(XContentBuilder.java:940)
[00:07:27]                 │      	at org.elasticsearch.common.xcontent.XContentBuilder.map(XContentBuilder.java:915)
[00:07:27]                 │      	at org.elasticsearch.action.index.IndexRequest.source(IndexRequest.java:360)
[00:07:27]                 │      	at org.elasticsearch.action.update.UpdateRequest.doc(UpdateRequest.java:625)
[00:07:27]                 │      	at org.elasticsearch.xpack.core.async.AsyncTaskIndexService.updateResponse(AsyncTaskIndexService.java:209)
[00:07:27]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction.onFinalResponse(TransportSubmitAsyncSearchAction.java:178)
[00:07:27]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction$1$1.lambda$onResponse$1(TransportSubmitAsyncSearchAction.java:102)
[00:07:27]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction$1$1$$Lambda$7296/0x0000000801b91660.accept(Unknown Source)
[00:07:27]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask.executeCompletionListeners(AsyncSearchTask.java:308)
[00:07:27]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask$Listener.onResponse(AsyncSearchTask.java:441)
[00:07:27]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask$Listener.onResponse(AsyncSearchTask.java:365)
[00:07:27]                 │      	at org.elasticsearch.action.support.ContextPreservingActionListener.onResponse(ContextPreservingActionListener.java:31)
[00:07:27]                 │      	at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter.lambda$applyInternal$2(SecurityActionFilter.java:163)
[00:07:27]                 │      	at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter$$Lambda$5117/0x0000000801819438.accept(Unknown Source)
[00:07:27]                 │      	at org.elasticsearch.action.ActionListener$DelegatingFailureActionListener.onResponse(ActionListener.java:217)
[00:07:27]                 │      	at org.elasticsearch.action.ActionListener$RunAfterActionListener.onResponse(ActionListener.java:339)
[00:07:27]                 │      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.sendSearchResponse(AbstractSearchAsyncAction.java:657)
[00:07:27]                 │      	at org.elasticsearch.action.search.ExpandSearchPhase.run(ExpandSearchPhase.java:109)
[00:07:27]                 │      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.executePhase(AbstractSearchAsyncAction.java:424)
[00:07:27]                 │      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.executeNextPhase(AbstractSearchAsyncAction.java:418)
[00:07:27]                 │      	at org.elasticsearch.action.search.FetchSearchPhase.moveToNextPhase(FetchSearchPhase.java:219)
[00:07:27]                 │      
[00:07:27]                 │ proc [kibana]   log   [09:42:24.233] [info][authentication][plugins][security] Authentication attempt failed: connect ECONNREFUSED 127.0.0.1:6132
[00:07:27]                 │ proc [kibana]   log   [09:42:24.237] [error][elasticsearch] Request error, retrying
[00:07:27]                 │ proc [kibana] GET http://localhost:6132/_xpack?accept_enterprise=true => connect ECONNREFUSED 127.0.0.1:6132
[00:07:27]                 │ proc [kibana]   log   [09:42:24.239] [warning][elasticsearch] Unable to revive connection: http://localhost:6132/
[00:07:27]                 │ proc [kibana]   log   [09:42:24.239] [warning][elasticsearch] No living connections
[00:07:27]                 │ proc [kibana]   log   [09:42:24.240] [warning][licensing][plugins] License information could not be obtained from Elasticsearch due to Error: No Living connections error
[00:07:27]                 │ proc [kibana]   log   [09:42:24.241] [info][plugins][searchprofiler] You cannot use searchprofiler because license information is not available at this time.
[00:07:27]                 │ proc [kibana]   log   [09:42:24.242] [info][painlessLab][plugins] You cannot use painlessLab because license information is not available at this time.
[00:07:27]                 │ proc [kibana]   log   [09:42:24.242] [info][plugins][watcher] You cannot use watcher because license information is not available at this time.
[00:07:27]                 │ proc [kibana]   log   [09:42:24.246] [info][plugins][snapshotRestore] You cannot use snapshot_restore because license information is not available at this time.
[00:07:27]                 │ proc [kibana]   log   [09:42:24.246] [info][indexManagement][plugins] You cannot use index_management because license information is not available at this time.
[00:07:27]                 │ proc [kibana]   log   [09:42:24.246] [info][plugins][remoteClusters] You cannot use Remote Clusters because license information is not available at this time.
[00:07:27]                 │ proc [kibana]   log   [09:42:24.246] [info][crossClusterReplication][plugins] You cannot use crossClusterReplication because license information is not available at this time.
[00:07:27]                 │ proc [kibana]   log   [09:42:24.246] [info][indexLifecycleManagement][plugins] You cannot use index_lifecycle_management because license information is not available at this time.
[00:07:27]                 │ proc [kibana]   log   [09:42:24.247] [info][plugins][transform] You cannot use transform because license information is not available at this time.
[00:07:27]                 │ proc [kibana]   log   [09:42:24.247] [info][ingestPipelines][plugins] You cannot use ingest_pipelines because license information is not available at this time.
[00:07:27]                 │ proc [kibana]   log   [09:42:24.247] [info][plugins][rollup] You cannot use rollup because license information is not available at this time.
[00:07:27]                 │ proc [kibana]   log   [09:42:24.257] [info][kibana-monitoring][monitoring][monitoring][plugins] Monitoring status upload endpoint is not enabled in Elasticsearch:Monitoring stats collection is stopped
[00:07:27]                 │ debg deleting role logstash_read
[00:07:27]                 │ proc [kibana]   log   [09:42:24.269] [warning][plugins][securitySolution] Unable to verify endpoint policies in line with license change: failed to fetch package policies: connect ECONNREFUSED 127.0.0.1:6132
[00:07:27]                 │ proc [kibana]   log   [09:42:24.276] [error][authentication][plugins][security] License is not available, authentication is not possible.
[00:07:27]                 │ proc [kibana]   log   [09:42:24.278] [warning][elasticsearch] Unable to revive connection: http://localhost:6132/
[00:07:27]                 │ proc [kibana]   log   [09:42:24.279] [warning][elasticsearch] No living connections
[00:07:27]                 │ proc [kibana]   log   [09:42:24.280] [warning][licensing][plugins] License information could not be obtained from Elasticsearch due to Error: No Living connections error
[00:07:27]                 └- ✖ fail: apis SecuritySolution Endpoints feature controls APIs can't be accessed by user with no privileges
[00:07:27]                 │      Error: Request failed with status code 503
[00:07:27]                 │       at createError (/dev/shm/workspace/parallel/3/kibana/node_modules/axios/lib/core/createError.js:16:15)
[00:07:27]                 │       at settle (/dev/shm/workspace/parallel/3/kibana/node_modules/axios/lib/core/settle.js:17:12)
[00:07:27]                 │       at IncomingMessage.handleStreamEnd (/dev/shm/workspace/parallel/3/kibana/node_modules/axios/lib/adapters/http.js:260:11)
[00:07:27]                 │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:07:27]                 │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:07:27]                 │ 
[00:07:27]                 │ 

Stack Trace

Error: Request failed with status code 503
    at createError (/dev/shm/workspace/parallel/3/kibana/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/dev/shm/workspace/parallel/3/kibana/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/dev/shm/workspace/parallel/3/kibana/node_modules/axios/lib/adapters/http.js:260:11)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  config: {
    url: 'http://elastic:changeme@localhost:6131/api/security/role/logstash_read',
    method: 'delete',
    headers: {
      Accept: 'application/json, text/plain, */*',
      'kbn-xsrf': 'kbn-client',
      'User-Agent': 'axios/0.21.1'
    },
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    paramsSerializer: [Function: paramsSerializer],
    timeout: 0,
    adapter: [Function: httpAdapter],
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    httpsAgent: null,
    validateStatus: [Function: validateStatus],
    data: undefined
  },
  request: <ref *1> ClientRequest {
    _events: [Object: null prototype] {
      socket: [Function (anonymous)],
      abort: [Function (anonymous)],
      aborted: [Function (anonymous)],
      connect: [Function (anonymous)],
      error: [Function (anonymous)],
      timeout: [Function (anonymous)],
      prefinish: [Function: requestOnPrefinish]
    },
    _eventsCount: 7,
    _maxListeners: undefined,
    outputData: [],
    outputSize: 0,
    writable: true,
    destroyed: true,
    _last: true,
    chunkedEncoding: false,
    shouldKeepAlive: false,
    _defaultKeepAlive: true,
    useChunkedEncodingByDefault: false,
    sendDate: false,
    _removedConnection: false,
    _removedContLen: false,
    _removedTE: false,
    _contentLength: 0,
    _hasBody: true,
    _trailer: '',
    finished: true,
    _headerSent: true,
    socket: Socket {
      connecting: false,
      _hadError: false,
      _parent: null,
      _host: 'localhost',
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 6,
      _maxListeners: undefined,
      _writableState: [WritableState],
      allowHalfOpen: false,
      _sockname: null,
      _pendingData: null,
      _pendingEncoding: '',
      server: null,
      _server: null,
      parser: null,
      _httpMessage: [Circular *1],
      write: [Function: writeAfterFIN],
      [Symbol(async_id_symbol)]: 2343672,
      [Symbol(kHandle)]: null,
      [Symbol(kSetNoDelay)]: false,
      [Symbol(lastWriteQueueSize)]: 0,
      [Symbol(timeout)]: null,
      [Symbol(kBuffer)]: null,
      [Symbol(kBufferCb)]: null,
      [Symbol(kBufferGen)]: null,
      [Symbol(kCapture)]: false,
      [Symbol(kBytesRead)]: 477,
      [Symbol(kBytesWritten)]: 231,
      [Symbol(RequestTimeout)]: undefined
    },
    _header: 'DELETE /api/security/role/logstash_read HTTP/1.1\r\n' +
      'Accept: application/json, text/plain, */*\r\n' +
      'kbn-xsrf: kbn-client\r\n' +
      'User-Agent: axios/0.21.1\r\n' +
      'Host: localhost:6131\r\n' +
      'Authorization: Basic ZWxhc3RpYzpjaGFuZ2VtZQ==\r\n' +
      'Connection: close\r\n' +
      '\r\n',
    _keepAliveTimeout: 0,
    _onPendingData: [Function: noopPendingOutput],
    agent: Agent {
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      defaultPort: 80,
      protocol: 'http:',
      options: [Object],
      requests: {},
      sockets: {},
      freeSockets: {},
      keepAliveMsecs: 1000,
      keepAlive: false,
      maxSockets: Infinity,
      maxFreeSockets: 256,
      scheduling: 'fifo',
      maxTotalSockets: Infinity,
      totalSocketCount: 0,
      [Symbol(kCapture)]: false
    },
    socketPath: undefined,
    method: 'DELETE',
    maxHeaderSize: undefined,
    insecureHTTPParser: undefined,
    path: '/api/security/role/logstash_read',
    _ended: true,
    res: IncomingMessage {
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 3,
      _maxListeners: undefined,
      socket: [Socket],
      httpVersionMajor: 1,
      httpVersionMinor: 1,
      httpVersion: '1.1',
      complete: true,
      headers: [Object],
      rawHeaders: [Array],
      trailers: {},
      rawTrailers: [],
      aborted: false,
      upgrade: false,
      url: '',
      method: null,
      statusCode: 503,
      statusMessage: 'Service Unavailable',
      client: [Socket],
      _consuming: false,
      _dumped: false,
      req: [Circular *1],
      responseUrl: 'http://elastic:changeme@localhost:6131/api/security/role/logstash_read',
      redirects: [],
      [Symbol(kCapture)]: false,
      [Symbol(RequestTimeout)]: undefined
    },
    aborted: false,
    timeoutCb: null,
    upgradeOrConnect: false,
    parser: null,
    maxHeadersCount: null,
    reusedSocket: false,
    host: 'localhost',
    protocol: 'http:',
    _redirectable: Writable {
      _writableState: [WritableState],
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      _options: [Object],
      _ended: true,
      _ending: true,
      _redirectCount: 0,
      _redirects: [],
      _requestBodyLength: 0,
      _requestBodyBuffers: [],
      _onNativeResponse: [Function (anonymous)],
      _currentRequest: [Circular *1],
      _currentUrl: 'http://elastic:changeme@localhost:6131/api/security/role/logstash_read',
      [Symbol(kCapture)]: false
    },
    [Symbol(kCapture)]: false,
    [Symbol(kNeedDrain)]: false,
    [Symbol(corked)]: 0,
    [Symbol(kOutHeaders)]: [Object: null prototype] {
      accept: [Array],
      'kbn-xsrf': [Array],
      'user-agent': [Array],
      host: [Array],
      authorization: [Array]
    }
  },
  response: {
    status: 503,
    statusText: 'Service Unavailable',
    headers: {
      'retry-after': '30',
      'kbn-name': 'kibana-ci-immutable-ubuntu-16-tests-xxl-1619080797232984951',
      'kbn-license-sig': '3f2fbe2e7dffe9936f647deadcb18d812ffbb4f02c27cd5d8ed8069fef195573',
      'content-type': 'application/json; charset=utf-8',
      'cache-control': 'private, no-cache, no-store, must-revalidate',
      'content-length': '86',
      date: 'Thu, 22 Apr 2021 09:42:24 GMT',
      connection: 'close'
    },
    config: {
      url: 'http://elastic:changeme@localhost:6131/api/security/role/logstash_read',
      method: 'delete',
      headers: [Object],
      transformRequest: [Array],
      transformResponse: [Array],
      paramsSerializer: [Function: paramsSerializer],
      timeout: 0,
      adapter: [Function: httpAdapter],
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      httpsAgent: null,
      validateStatus: [Function: validateStatus],
      data: undefined
    },
    request: <ref *1> ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: true,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: false,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      _contentLength: 0,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      socket: [Socket],
      _header: 'DELETE /api/security/role/logstash_read HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'kbn-xsrf: kbn-client\r\n' +
        'User-Agent: axios/0.21.1\r\n' +
        'Host: localhost:6131\r\n' +
        'Authorization: Basic ZWxhc3RpYzpjaGFuZ2VtZQ==\r\n' +
        'Connection: close\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: noopPendingOutput],
      agent: [Agent],
      socketPath: undefined,
      method: 'DELETE',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      path: '/api/security/role/logstash_read',
      _ended: true,
      res: [IncomingMessage],
      aborted: false,
      timeoutCb: null,
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'localhost',
      protocol: 'http:',
      _redirectable: [Writable],
      [Symbol(kCapture)]: false,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype]
    },
    data: {
      statusCode: 503,
      error: 'Service Unavailable',
      message: 'License is not available.'
    }
  },
  isAxiosError: true,
  toJSON: [Function: toJSON]
}

Metrics [docs]

Async chunks

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

id before after diff
ingestPipelines 668.8KB 680.2KB +11.4KB

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:Ingest Node Pipelines Ingest node pipelines management release_note:enhancement release_note:feature Makes this part of the condensed release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v7.12.1 v7.13.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dynamically generate ingest node pipeline processor descriptions
10 participants