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

[Discover] Hide multi fields in Doc Viewer #101929

Merged
merged 14 commits into from
Jun 17, 2021

Conversation

majagrubic
Copy link
Contributor

@majagrubic majagrubic commented Jun 10, 2021

Summary

Addresses: #96029

This PR adds a switch in the UI settings (discover:showMultiFields), determining whether to show or hide multifields in Discover. The default value is false, as we assume the majority of users will not need them to be visible by default. Note: this setting will toggle multifields from the doc viewer. They will still be visible in the doc table (and datagrid), the sidebar, as well as in the JSON view.

Doc viewer without multifields:
Screenshot 2021-06-14 at 11 46 31

Doc viewer with multifields:
Screenshot 2021-06-14 at 11 48 33

Doc table always:
Screenshot 2021-06-14 at 11 42 47

We should add some more documentation around it still.

Checklist

@majagrubic majagrubic changed the title [Discover] Hide multi fields [Discover] Hide multi fields in Doc Viewer Jun 14, 2021
Copy link
Member

@kertal kertal left a comment

Choose a reason for hiding this comment

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

QQ: I don't think we should keep out multi fields out of sidebar? since then users could no longer quickly create filters for .keyword fields, could they?

@majagrubic
Copy link
Contributor Author

Good point actually.

@majagrubic majagrubic added Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Discover Discover Application release_note:enhancement labels Jun 15, 2021
@majagrubic majagrubic marked this pull request as ready for review June 15, 2021 14:15
@majagrubic majagrubic requested a review from a team as a code owner June 15, 2021 14:15
@majagrubic majagrubic requested a review from a team June 15, 2021 14:15
@majagrubic majagrubic requested a review from a team as a code owner June 15, 2021 14:15
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

Comment on lines 203 to 209
[SHOW_MULTIFIELDS]: {
name: i18n.translate('discover.advancedSettings.discover.showMultifields', {
defaultMessage: 'Show multi fields',
}),
description: i18n.translate('discover.advancedSettings.discover.showMultifieldsDescription', {
defaultMessage: `When enabled will show multi fields in document viewer. In majority of cases, multi-fields are the same as regular fields. This option is only available when searchFieldsFromSource is off. `,
}),
Copy link
Member

Choose a reason for hiding this comment

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

FYI dear @gchaps a new config flag and wording

Copy link
Contributor Author

@majagrubic majagrubic Jun 16, 2021

Choose a reason for hiding this comment

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

Adding a screenshot to make things more clear:
Screenshot 2021-06-16 at 12 01 11

Copy link
Contributor

Choose a reason for hiding this comment

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

Here is a suggestion

Show multi-fields

Controls whether multi-fields display in the document table. Available when searchFieldsFromSource is off.

Notes:

  • multi-fields has a hyphen
  • Not sure what the document viewer is. Does it refer to the document table?
  • Is the second sentence needed? Not sure what "regular field" means.

Copy link
Contributor Author

@majagrubic majagrubic Jun 16, 2021

Choose a reason for hiding this comment

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

Document viewer is the part in the expanded view of the document table that shows all fields in the document:
Screenshot 2021-06-16 at 15 44 12

Please note that multifield values will always show up in the document table. This PR introduces changes in the doc viewer specifically.

As for the second sentence, I am open to suggestions on how to improve it. I would like to keep the emphasis on the fact that in 99% of cases, there should be no difference between an original field value and its multi-field counterpart.

Copy link
Contributor

@gchaps gchaps Jun 16, 2021

Choose a reason for hiding this comment

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

Show multi-fields

Controls whether multi-fields display in the expanded document view. In most cases, multi-fields are the same as the original field. This option is only available when searchFieldsFromSource is off.

@@ -26,6 +28,7 @@ export function DocViewTable({
const [fieldRowOpen, setFieldRowOpen] = useState({} as Record<string, boolean>);
const [multiFields, setMultiFields] = useState({} as Record<string, string[]>);
const [fieldsWithParents, setFieldsWithParents] = useState([] as string[]);
const showMultiFields = getServices().uiSettings.get(SHOW_MULTIFIELDS);
Copy link
Member

Choose a reason for hiding this comment

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

quick first thought while reading the code, since the value of SHOW_MULTIFIELDS is read and used in table.tsx, I wonder if it is necessary to add this field to html templates and Angular code?

@kertal
Copy link
Member

kertal commented Jun 16, 2021

@elasticmachine merge upstream

Copy link
Member

@Bamieh Bamieh left a comment

Choose a reason for hiding this comment

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

telemetry changes LGTM (discover:showMultiFields addition to ui settings schema)

Copy link
Member

@kertal kertal 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, tested locally in Chrome, Firefox, Safari, works as expected. 2 more cleanups and some text tweaking to go, then it should be fine. Thx for taking care of this 👍

@spalger
Copy link
Contributor

spalger commented Jun 16, 2021

jenkins, test this

(restarting due to jenkins upgrade)

@majagrubic majagrubic merged commit 0cf0eab into elastic:master Jun 17, 2021
@majagrubic majagrubic deleted the discoverr-doc-viewer-2 branch June 17, 2021 17:13
majagrubic pushed a commit to majagrubic/kibana that referenced this pull request Jun 17, 2021
* Add multifields flag in the Advanced settings

* Implement hiding of multifields

* Update failing unit test

* Fix telemetry

* Show muti fields in a single doc view

* Mock getServices so that tests pass

* Readd fields to sidebar

* Removing showMultifields flag from angular

* Remove unnecessary import

* Applying text changes according to Gails suggestion

* Fix i18n error

Co-authored-by: Kibana Machine <[email protected]>
majagrubic pushed a commit that referenced this pull request Jun 17, 2021
* Add multifields flag in the Advanced settings

* Implement hiding of multifields

* Update failing unit test

* Fix telemetry

* Show muti fields in a single doc view

* Mock getServices so that tests pass

* Readd fields to sidebar

* Removing showMultifields flag from angular

* Remove unnecessary import

* Applying text changes according to Gails suggestion

* Fix i18n error

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
@kibanamachine
Copy link
Contributor

kibanamachine commented Jun 24, 2021

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / general / X-Pack API Integration Tests.x-pack/test/api_integration/apis/ml/jobs/close_jobs·ts.apis Machine Learning jobs close_jobs close jobs fail because they are running as ML Poweruser

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: apis
[00:00:00]           └-> "before all" hook in "apis"
[00:08:40]           └-: Machine Learning
[00:08:40]             └-> "before all" hook in "Machine Learning"
[00:08:40]             └-> "before all" hook in "Machine Learning"
[00:08:40]               │ debg creating role ft_ml_source
[00:08:40]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_ml_source]
[00:08:40]               │ debg creating role ft_ml_source_readonly
[00:08:40]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_ml_source_readonly]
[00:08:40]               │ debg creating role ft_ml_dest
[00:08:40]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_ml_dest]
[00:08:40]               │ debg creating role ft_ml_dest_readonly
[00:08:40]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_ml_dest_readonly]
[00:08:40]               │ debg creating role ft_ml_ui_extras
[00:08:40]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_ml_ui_extras]
[00:08:40]               │ debg creating role ft_default_space_ml_all
[00:08:40]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_default_space_ml_all]
[00:08:40]               │ debg creating role ft_default_space1_ml_all
[00:08:40]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_default_space1_ml_all]
[00:08:40]               │ debg creating role ft_all_spaces_ml_all
[00:08:40]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_all_spaces_ml_all]
[00:08:40]               │ debg creating role ft_default_space_ml_read
[00:08:40]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_default_space_ml_read]
[00:08:40]               │ debg creating role ft_default_space1_ml_read
[00:08:40]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_default_space1_ml_read]
[00:08:40]               │ debg creating role ft_all_spaces_ml_read
[00:08:40]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_all_spaces_ml_read]
[00:08:40]               │ debg creating role ft_default_space_ml_none
[00:08:40]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_default_space_ml_none]
[00:08:40]               │ debg creating user ft_ml_poweruser
[00:08:40]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added user [ft_ml_poweruser]
[00:08:40]               │ debg created user ft_ml_poweruser
[00:08:40]               │ debg creating user ft_ml_poweruser_spaces
[00:08:40]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added user [ft_ml_poweruser_spaces]
[00:08:40]               │ debg created user ft_ml_poweruser_spaces
[00:08:40]               │ debg creating user ft_ml_poweruser_space1
[00:08:40]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added user [ft_ml_poweruser_space1]
[00:08:40]               │ debg created user ft_ml_poweruser_space1
[00:08:40]               │ debg creating user ft_ml_poweruser_all_spaces
[00:08:40]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added user [ft_ml_poweruser_all_spaces]
[00:08:40]               │ debg created user ft_ml_poweruser_all_spaces
[00:08:40]               │ debg creating user ft_ml_viewer
[00:08:41]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added user [ft_ml_viewer]
[00:08:41]               │ debg created user ft_ml_viewer
[00:08:41]               │ debg creating user ft_ml_viewer_spaces
[00:08:41]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added user [ft_ml_viewer_spaces]
[00:08:41]               │ debg created user ft_ml_viewer_spaces
[00:08:41]               │ debg creating user ft_ml_viewer_space1
[00:08:41]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added user [ft_ml_viewer_space1]
[00:08:41]               │ debg created user ft_ml_viewer_space1
[00:08:41]               │ debg creating user ft_ml_viewer_all_spaces
[00:08:41]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added user [ft_ml_viewer_all_spaces]
[00:08:41]               │ debg created user ft_ml_viewer_all_spaces
[00:08:41]               │ debg creating user ft_ml_unauthorized
[00:08:41]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added user [ft_ml_unauthorized]
[00:08:41]               │ debg created user ft_ml_unauthorized
[00:08:41]               │ debg creating user ft_ml_unauthorized_spaces
[00:08:41]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added user [ft_ml_unauthorized_spaces]
[00:08:41]               │ debg created user ft_ml_unauthorized_spaces
[00:16:47]             └-: jobs
[00:16:47]               └-> "before all" hook in "jobs"
[00:16:59]               └-: close_jobs
[00:16:59]                 └-> "before all" hook for "sets up jobs"
[00:16:59]                 └-> "before all" hook for "sets up jobs"
[00:16:59]                   │ info [x-pack/test/functional/es_archives/ml/farequote] Loading "mappings.json"
[00:16:59]                   │ info [x-pack/test/functional/es_archives/ml/farequote] Loading "data.json.gz"
[00:16:59]                   │ info [x-pack/test/functional/es_archives/ml/farequote] Skipped restore for existing index "ft_farequote"
[00:17:00]                   │ debg Searching for 'index-pattern' with title 'ft_farequote'...
[00:17:00]                   │ debg  > Not found
[00:17:00]                   │ debg Creating index pattern with title 'ft_farequote' and time field '@timestamp'
[00:17:00]                   │ debg Waiting up to 5000ms for index-pattern with title 'ft_farequote' to exist...
[00:17:00]                   │ debg Searching for 'index-pattern' with title 'ft_farequote'...
[00:17:00]                   │ debg  > Found '392de9d0-d512-11eb-918f-6dadfff4b503'
[00:17:00]                   │ debg  > Created with id '392de9d0-d512-11eb-918f-6dadfff4b503'
[00:17:00]                   │ debg applying update to kibana config: {"dateFormat:tz":"UTC"}
[00:17:01]                 └-> sets up jobs
[00:17:01]                   └-> "before each" hook: global before each for "sets up jobs"
[00:17:01]                   │ debg Creating anomaly detection job with id 'jobs_summary_fq_single_1624554900118' ...
[00:17:01]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [.ml-anomalies-shared] creating index, cause [api], templates [.ml-anomalies-], shards [1]/[1]
[00:17:01]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] updating number_of_replicas to [0] for indices [.ml-anomalies-shared]
[00:17:01]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1]
[00:17:01]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:17:01]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [.ml-config] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:17:01]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] updating number_of_replicas to [0] for indices [.ml-config]
[00:17:01]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [.ml-notifications-000002] creating index, cause [auto(bulk api)], templates [.ml-notifications-000002], shards [1]/[1]
[00:17:01]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] updating number_of_replicas to [0] for indices [.ml-notifications-000002]
[00:17:03]                   │ debg Waiting up to 5000ms for 'jobs_summary_fq_single_1624554900118' to exist...
[00:17:03]                   │ debg > AD job created.
[00:17:03]                   │ debg Opening anomaly detection job 'jobs_summary_fq_single_1624554900118'...
[00:17:03]                   │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] Opening job [jobs_summary_fq_single_1624554900118]
[00:17:03]                   │ info [o.e.x.c.m.u.MlIndexAndAlias] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] About to create first concrete index [.ml-state-000001] with alias [.ml-state-write]
[00:17:03]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [.ml-state-000001] creating index, cause [api], templates [.ml-state], shards [1]/[1]
[00:17:03]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] updating number_of_replicas to [0] for indices [.ml-state-000001]
[00:17:03]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] moving index [.ml-state-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [ml-size-based-ilm-policy]
[00:17:03]                   │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624554900118] Loading model snapshot [N/A], job latest_record_timestamp [N/A]
[00:17:03]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] moving index [.ml-state-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [ml-size-based-ilm-policy]
[00:17:03]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] moving index [.ml-state-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [ml-size-based-ilm-policy]
[00:17:04]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624554900118] [autodetect/282412] [CResourceMonitor.cc@77] Setting model memory limit to 10 MB
[00:17:04]                   │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] Successfully set job state to [opened] for job [jobs_summary_fq_single_1624554900118]
[00:17:04]                   │ debg > AD job opened.
[00:17:04]                   │ debg Creating datafeed with id 'datafeed-jobs_summary_fq_single_1624554900118' ...
[00:17:04]                   │ debg Waiting up to 5000ms for 'datafeed-jobs_summary_fq_single_1624554900118' to exist...
[00:17:04]                   │ debg > Datafeed created.
[00:17:04]                   │ debg Starting datafeed 'datafeed-jobs_summary_fq_single_1624554900118' with start: '0', end: 'undefined'...
[00:17:04]                   │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624554900118] Datafeed started (from: 1970-01-01T00:00:00.000Z to: real-time) with frequency [450000ms]
[00:17:04]                   │ debg > Datafeed started.
[00:17:04]                   │ debg Waiting up to 120000ms for datafeed state to be started...
[00:17:04]                   │ debg Fetching datafeed state for datafeed datafeed-jobs_summary_fq_single_1624554900118
[00:17:04]                   │ debg Creating anomaly detection job with id 'jobs_summary_fq_multi_1624554900118' ...
[00:17:04]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [.ml-anomalies-shared/oVRBij2rQ76hZ4qLpZh7Iw] update_mapping [_doc]
[00:17:04]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [.ml-anomalies-shared/oVRBij2rQ76hZ4qLpZh7Iw] update_mapping [_doc]
[00:17:04]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624554900118] 10000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:17:05]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624554900118] 20000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:17:05]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624554900118] 30000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:17:05]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624554900118] 40000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:17:05]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624554900118] 50000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:17:05]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624554900118] 60000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:17:05]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624554900118] 70000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:17:05]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624554900118] 80000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:17:06]                   │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624554900118] Lookback has finished
[00:17:06]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624554900118] [autodetect/282412] [CAnomalyJob.cc@1578] Pruning all models
[00:17:06]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624554900118] [autodetect/282412] [CAnomalyJob.cc@1119] Background persist starting data copy
[00:17:06]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624554900118] [autodetect/282412] [CPersistenceManager.cc@266] Background persist starting background thread
[00:17:06]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [.ml-anomalies-shared/oVRBij2rQ76hZ4qLpZh7Iw] update_mapping [_doc]
[00:17:06]                   │ debg Waiting up to 5000ms for 'jobs_summary_fq_multi_1624554900118' to exist...
[00:17:06]                   │ debg > AD job created.
[00:17:06]                   │ debg Opening anomaly detection job 'jobs_summary_fq_multi_1624554900118'...
[00:17:06]                   │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] Opening job [jobs_summary_fq_multi_1624554900118]
[00:17:06]                   │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624554900118] Loading model snapshot [N/A], job latest_record_timestamp [N/A]
[00:17:07]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624554900118] [autodetect/282519] [CResourceMonitor.cc@77] Setting model memory limit to 20 MB
[00:17:07]                   │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] Successfully set job state to [opened] for job [jobs_summary_fq_multi_1624554900118]
[00:17:07]                   │ debg > AD job opened.
[00:17:07]                   │ debg Creating datafeed with id 'datafeed-jobs_summary_fq_multi_1624554900118' ...
[00:17:07]                   │ debg Waiting up to 5000ms for 'datafeed-jobs_summary_fq_multi_1624554900118' to exist...
[00:17:07]                   │ debg > Datafeed created.
[00:17:07]                   │ debg Starting datafeed 'datafeed-jobs_summary_fq_multi_1624554900118' with start: '0', end: 'undefined'...
[00:17:07]                   │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624554900118] Datafeed started (from: 1970-01-01T00:00:00.000Z to: real-time) with frequency [600000ms]
[00:17:07]                   │ debg > Datafeed started.
[00:17:07]                   │ debg Waiting up to 120000ms for datafeed state to be started...
[00:17:07]                   │ debg Fetching datafeed state for datafeed datafeed-jobs_summary_fq_multi_1624554900118
[00:17:07]                   └- ✓ pass  (6.1s) "apis Machine Learning jobs close_jobs sets up jobs"
[00:17:07]                 └-: rejects request
[00:17:07]                   └-> "before all" hook in "rejects request"
[00:17:07]                   └-: fails to close job ID supplied
[00:17:07]                     └-> "before all" hook for "as ML Unauthorized user"
[00:17:07]                 └-: close jobs fail because they are running
[00:17:07]                   └-> "before all" hook for "as ML Poweruser"
[00:17:07]                   └-> as ML Poweruser
[00:17:07]                     └-> "before each" hook: global before each for "as ML Poweruser"
[00:17:07]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624554900118] 10000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:17:07]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [stop_datafeed (api)] attempt to stop datafeed [datafeed-jobs_summary_fq_single_1624554900118] [180]
[00:17:07]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [stop_datafeed (api)] attempt to stop datafeed [datafeed-jobs_summary_fq_single_1624554900118] for job [jobs_summary_fq_single_1624554900118]
[00:17:07]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [stop_datafeed (api)] try lock [30m] to stop datafeed [datafeed-jobs_summary_fq_single_1624554900118] for job [jobs_summary_fq_single_1624554900118]...
[00:17:07]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [stop_datafeed (api)] stopping datafeed [datafeed-jobs_summary_fq_single_1624554900118] for job [jobs_summary_fq_single_1624554900118], acquired [true]...
[00:17:08]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [stop_datafeed (api)] datafeed [datafeed-jobs_summary_fq_single_1624554900118] for job [jobs_summary_fq_single_1624554900118] has been stopped
[00:17:08]                     │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] Closing job [jobs_summary_fq_single_1624554900118], because [close job (api)]
[00:17:08]                     │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624554900118] [autodetect/282412] [CCmdSkeleton.cc@61] Handled 86274 records
[00:17:08]                     │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624554900118] [autodetect/282412] [CAnomalyJob.cc@1578] Pruning all models
[00:17:08]                     │ info [o.e.x.m.p.AbstractNativeProcess] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624554900118] State output finished
[00:17:08]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624554900118] 20000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:17:08]                     │ info [o.e.x.m.j.p.a.o.AutodetectResultProcessor] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624554900118] 480 buckets parsed from autodetect output
[00:17:08]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624554900118] 30000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:17:08]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624554900118] 40000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:17:08]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624554900118] 50000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:17:08]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624554900118] 60000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:17:08]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624554900118] 70000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:17:09]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624554900118] 80000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:17:09]                     │ info [o.e.x.m.j.p.a.AutodetectCommunicator] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624554900118] job closed
[00:17:09]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [stop_datafeed (api)] attempt to stop datafeed [datafeed-jobs_summary_fq_multi_1624554900118] [182]
[00:17:09]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [stop_datafeed (api)] attempt to stop datafeed [datafeed-jobs_summary_fq_multi_1624554900118] for job [jobs_summary_fq_multi_1624554900118]
[00:17:09]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [stop_datafeed (api)] try lock [30m] to stop datafeed [datafeed-jobs_summary_fq_multi_1624554900118] for job [jobs_summary_fq_multi_1624554900118]...
[00:17:11]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [no_realtime] attempt to stop datafeed [datafeed-jobs_summary_fq_multi_1624554900118] for job [jobs_summary_fq_multi_1624554900118]
[00:17:11]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [stop_datafeed (api)] stopping datafeed [datafeed-jobs_summary_fq_multi_1624554900118] for job [jobs_summary_fq_multi_1624554900118], acquired [true]...
[00:17:11]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [no_realtime] datafeed [datafeed-jobs_summary_fq_multi_1624554900118] for job [jobs_summary_fq_multi_1624554900118] was already stopped
[00:17:11]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [stop_datafeed (api)] datafeed [datafeed-jobs_summary_fq_multi_1624554900118] for job [jobs_summary_fq_multi_1624554900118] has been stopped
[00:17:11]                     │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] Closing job [jobs_summary_fq_multi_1624554900118], because [close job (api)]
[00:17:11]                     │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624554900118] [autodetect/282519] [CCmdSkeleton.cc@61] Handled 86274 records
[00:17:11]                     │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624554900118] [autodetect/282519] [CAnomalyJob.cc@1578] Pruning all models
[00:17:11]                     │ info [o.e.x.m.p.AbstractNativeProcess] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624554900118] State output finished
[00:17:11]                     │ info [o.e.x.m.j.p.a.o.AutodetectResultProcessor] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624554900118] 120 buckets parsed from autodetect output
[00:17:12]                     │ info [o.e.x.m.j.p.a.AutodetectCommunicator] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624554900118] job closed
[00:17:12]                     └- ✖ fail: apis Machine Learning jobs close_jobs close jobs fail because they are running as ML Poweruser
[00:17:12]                     │       Error: expected true to sort of equal false
[00:17:12]                     │       + expected - actual
[00:17:12]                     │ 
[00:17:12]                     │       -true
[00:17:12]                     │       +false
[00:17:12]                     │       
[00:17:12]                     │       at Assertion.assert (/dev/shm/workspace/parallel/7/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:17:12]                     │       at Assertion.eql (/dev/shm/workspace/parallel/7/kibana/node_modules/@kbn/expect/expect.js:244:8)
[00:17:12]                     │       at forEach (test/api_integration/apis/ml/jobs/close_jobs.ts:165:40)
[00:17:12]                     │       at Array.forEach (<anonymous>)
[00:17:12]                     │       at Context.<anonymous> (test/api_integration/apis/ml/jobs/close_jobs.ts:164:29)
[00:17:12]                     │       at Object.apply (/dev/shm/workspace/parallel/7/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:17:12]                     │ 
[00:17:12]                     │ 

Stack Trace

Error: expected true to sort of equal false
    at Assertion.assert (/dev/shm/workspace/parallel/7/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/7/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at forEach (test/api_integration/apis/ml/jobs/close_jobs.ts:165:40)
    at Array.forEach (<anonymous>)
    at Context.<anonymous> (test/api_integration/apis/ml/jobs/close_jobs.ts:164:29)
    at Object.apply (/dev/shm/workspace/parallel/7/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16) {
  actual: 'true',
  expected: 'false',
  showDiff: true
}

Kibana Pipeline / general / X-Pack API Integration Tests.x-pack/test/api_integration/apis/ml/jobs/close_jobs·ts.apis Machine Learning jobs close_jobs close jobs fail because they are running as ML Poweruser

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: apis
[00:00:00]           └-> "before all" hook in "apis"
[00:09:10]           └-: Machine Learning
[00:09:10]             └-> "before all" hook in "Machine Learning"
[00:09:10]             └-> "before all" hook in "Machine Learning"
[00:09:10]               │ debg creating role ft_ml_source
[00:09:10]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_ml_source]
[00:09:10]               │ debg creating role ft_ml_source_readonly
[00:09:10]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_ml_source_readonly]
[00:09:10]               │ debg creating role ft_ml_dest
[00:09:10]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_ml_dest]
[00:09:10]               │ debg creating role ft_ml_dest_readonly
[00:09:10]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_ml_dest_readonly]
[00:09:10]               │ debg creating role ft_ml_ui_extras
[00:09:10]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_ml_ui_extras]
[00:09:10]               │ debg creating role ft_default_space_ml_all
[00:09:10]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_default_space_ml_all]
[00:09:10]               │ debg creating role ft_default_space1_ml_all
[00:09:10]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_default_space1_ml_all]
[00:09:10]               │ debg creating role ft_all_spaces_ml_all
[00:09:10]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_all_spaces_ml_all]
[00:09:10]               │ debg creating role ft_default_space_ml_read
[00:09:10]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_default_space_ml_read]
[00:09:10]               │ debg creating role ft_default_space1_ml_read
[00:09:10]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_default_space1_ml_read]
[00:09:10]               │ debg creating role ft_all_spaces_ml_read
[00:09:10]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_all_spaces_ml_read]
[00:09:10]               │ debg creating role ft_default_space_ml_none
[00:09:10]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added role [ft_default_space_ml_none]
[00:09:10]               │ debg creating user ft_ml_poweruser
[00:09:10]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added user [ft_ml_poweruser]
[00:09:10]               │ debg created user ft_ml_poweruser
[00:09:10]               │ debg creating user ft_ml_poweruser_spaces
[00:09:10]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added user [ft_ml_poweruser_spaces]
[00:09:10]               │ debg created user ft_ml_poweruser_spaces
[00:09:10]               │ debg creating user ft_ml_poweruser_space1
[00:09:10]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added user [ft_ml_poweruser_space1]
[00:09:10]               │ debg created user ft_ml_poweruser_space1
[00:09:10]               │ debg creating user ft_ml_poweruser_all_spaces
[00:09:10]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added user [ft_ml_poweruser_all_spaces]
[00:09:10]               │ debg created user ft_ml_poweruser_all_spaces
[00:09:10]               │ debg creating user ft_ml_viewer
[00:09:10]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added user [ft_ml_viewer]
[00:09:10]               │ debg created user ft_ml_viewer
[00:09:10]               │ debg creating user ft_ml_viewer_spaces
[00:09:10]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added user [ft_ml_viewer_spaces]
[00:09:10]               │ debg created user ft_ml_viewer_spaces
[00:09:10]               │ debg creating user ft_ml_viewer_space1
[00:09:10]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added user [ft_ml_viewer_space1]
[00:09:10]               │ debg created user ft_ml_viewer_space1
[00:09:10]               │ debg creating user ft_ml_viewer_all_spaces
[00:09:11]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added user [ft_ml_viewer_all_spaces]
[00:09:11]               │ debg created user ft_ml_viewer_all_spaces
[00:09:11]               │ debg creating user ft_ml_unauthorized
[00:09:11]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added user [ft_ml_unauthorized]
[00:09:11]               │ debg created user ft_ml_unauthorized
[00:09:11]               │ debg creating user ft_ml_unauthorized_spaces
[00:09:11]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] added user [ft_ml_unauthorized_spaces]
[00:09:11]               │ debg created user ft_ml_unauthorized_spaces
[00:18:16]             └-: jobs
[00:18:16]               └-> "before all" hook in "jobs"
[00:18:28]               └-: close_jobs
[00:18:28]                 └-> "before all" hook for "sets up jobs"
[00:18:28]                 └-> "before all" hook for "sets up jobs"
[00:18:28]                   │ info [x-pack/test/functional/es_archives/ml/farequote] Loading "mappings.json"
[00:18:28]                   │ info [x-pack/test/functional/es_archives/ml/farequote] Loading "data.json.gz"
[00:18:28]                   │ info [x-pack/test/functional/es_archives/ml/farequote] Skipped restore for existing index "ft_farequote"
[00:18:29]                   │ debg Searching for 'index-pattern' with title 'ft_farequote'...
[00:18:29]                   │ debg  > Not found
[00:18:29]                   │ debg Creating index pattern with title 'ft_farequote' and time field '@timestamp'
[00:18:29]                   │ debg Waiting up to 5000ms for index-pattern with title 'ft_farequote' to exist...
[00:18:29]                   │ debg Searching for 'index-pattern' with title 'ft_farequote'...
[00:18:29]                   │ debg  > Found '1684b8a0-d50d-11eb-ac6f-658e5b718075'
[00:18:29]                   │ debg  > Created with id '1684b8a0-d50d-11eb-ac6f-658e5b718075'
[00:18:29]                   │ debg applying update to kibana config: {"dateFormat:tz":"UTC"}
[00:18:30]                 └-> sets up jobs
[00:18:30]                   └-> "before each" hook: global before each for "sets up jobs"
[00:18:30]                   │ debg Creating anomaly detection job with id 'jobs_summary_fq_single_1624552600590' ...
[00:18:30]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [.ml-anomalies-shared] creating index, cause [api], templates [.ml-anomalies-], shards [1]/[1]
[00:18:30]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] updating number_of_replicas to [0] for indices [.ml-anomalies-shared]
[00:18:30]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1]
[00:18:30]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:18:30]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [.ml-config] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:18:30]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] updating number_of_replicas to [0] for indices [.ml-config]
[00:18:30]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [.ml-notifications-000002] creating index, cause [auto(bulk api)], templates [.ml-notifications-000002], shards [1]/[1]
[00:18:30]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] updating number_of_replicas to [0] for indices [.ml-notifications-000002]
[00:18:32]                   │ debg Waiting up to 5000ms for 'jobs_summary_fq_single_1624552600590' to exist...
[00:18:32]                   │ debg > AD job created.
[00:18:32]                   │ debg Opening anomaly detection job 'jobs_summary_fq_single_1624552600590'...
[00:18:32]                   │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] Opening job [jobs_summary_fq_single_1624552600590]
[00:18:32]                   │ info [o.e.x.c.m.u.MlIndexAndAlias] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] About to create first concrete index [.ml-state-000001] with alias [.ml-state-write]
[00:18:32]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [.ml-state-000001] creating index, cause [api], templates [.ml-state], shards [1]/[1]
[00:18:32]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] updating number_of_replicas to [0] for indices [.ml-state-000001]
[00:18:32]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] moving index [.ml-state-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [ml-size-based-ilm-policy]
[00:18:32]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] moving index [.ml-state-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [ml-size-based-ilm-policy]
[00:18:32]                   │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624552600590] Loading model snapshot [N/A], job latest_record_timestamp [N/A]
[00:18:32]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] moving index [.ml-state-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [ml-size-based-ilm-policy]
[00:18:33]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624552600590] [autodetect/191374] [CResourceMonitor.cc@77] Setting model memory limit to 10 MB
[00:18:33]                   │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] Successfully set job state to [opened] for job [jobs_summary_fq_single_1624552600590]
[00:18:33]                   │ debg > AD job opened.
[00:18:33]                   │ debg Creating datafeed with id 'datafeed-jobs_summary_fq_single_1624552600590' ...
[00:18:33]                   │ debg Waiting up to 5000ms for 'datafeed-jobs_summary_fq_single_1624552600590' to exist...
[00:18:33]                   │ debg > Datafeed created.
[00:18:33]                   │ debg Starting datafeed 'datafeed-jobs_summary_fq_single_1624552600590' with start: '0', end: 'undefined'...
[00:18:33]                   │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624552600590] Datafeed started (from: 1970-01-01T00:00:00.000Z to: real-time) with frequency [450000ms]
[00:18:33]                   │ debg > Datafeed started.
[00:18:33]                   │ debg Waiting up to 120000ms for datafeed state to be started...
[00:18:33]                   │ debg Fetching datafeed state for datafeed datafeed-jobs_summary_fq_single_1624552600590
[00:18:33]                   │ debg Creating anomaly detection job with id 'jobs_summary_fq_multi_1624552600590' ...
[00:18:33]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [.ml-anomalies-shared/DxW-HgdBSC6ej9TNE1BrfA] update_mapping [_doc]
[00:18:33]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [.ml-anomalies-shared/DxW-HgdBSC6ej9TNE1BrfA] update_mapping [_doc]
[00:18:33]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624552600590] 10000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:18:34]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624552600590] 20000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:18:34]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624552600590] 30000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:18:34]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624552600590] 40000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:18:34]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624552600590] 50000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:18:34]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624552600590] 60000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:18:34]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624552600590] 70000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:18:34]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624552600590] 80000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:18:35]                   │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624552600590] Lookback has finished
[00:18:35]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624552600590] [autodetect/191374] [CAnomalyJob.cc@1578] Pruning all models
[00:18:35]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624552600590] [autodetect/191374] [CAnomalyJob.cc@1119] Background persist starting data copy
[00:18:35]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624552600590] [autodetect/191374] [CPersistenceManager.cc@266] Background persist starting background thread
[00:18:35]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [.ml-anomalies-shared/DxW-HgdBSC6ej9TNE1BrfA] update_mapping [_doc]
[00:18:35]                   │ debg Waiting up to 5000ms for 'jobs_summary_fq_multi_1624552600590' to exist...
[00:18:35]                   │ debg > AD job created.
[00:18:35]                   │ debg Opening anomaly detection job 'jobs_summary_fq_multi_1624552600590'...
[00:18:35]                   │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] Opening job [jobs_summary_fq_multi_1624552600590]
[00:18:35]                   │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624552600590] Loading model snapshot [N/A], job latest_record_timestamp [N/A]
[00:18:36]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624552600590] [autodetect/191594] [CResourceMonitor.cc@77] Setting model memory limit to 20 MB
[00:18:36]                   │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] Successfully set job state to [opened] for job [jobs_summary_fq_multi_1624552600590]
[00:18:36]                   │ debg > AD job opened.
[00:18:36]                   │ debg Creating datafeed with id 'datafeed-jobs_summary_fq_multi_1624552600590' ...
[00:18:36]                   │ debg Waiting up to 5000ms for 'datafeed-jobs_summary_fq_multi_1624552600590' to exist...
[00:18:36]                   │ debg > Datafeed created.
[00:18:36]                   │ debg Starting datafeed 'datafeed-jobs_summary_fq_multi_1624552600590' with start: '0', end: 'undefined'...
[00:18:36]                   │ debg > Datafeed started.
[00:18:36]                   │ debg Waiting up to 120000ms for datafeed state to be started...
[00:18:36]                   │ debg Fetching datafeed state for datafeed datafeed-jobs_summary_fq_multi_1624552600590
[00:18:36]                   │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624552600590] Datafeed started (from: 1970-01-01T00:00:00.000Z to: real-time) with frequency [600000ms]
[00:18:36]                   └- ✓ pass  (6.1s) "apis Machine Learning jobs close_jobs sets up jobs"
[00:18:36]                 └-: rejects request
[00:18:36]                   └-> "before all" hook in "rejects request"
[00:18:36]                   └-: fails to close job ID supplied
[00:18:36]                     └-> "before all" hook for "as ML Unauthorized user"
[00:18:36]                 └-: close jobs fail because they are running
[00:18:36]                   └-> "before all" hook for "as ML Poweruser"
[00:18:36]                   └-> as ML Poweruser
[00:18:36]                     └-> "before each" hook: global before each for "as ML Poweruser"
[00:18:36]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624552600590] 10000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:18:37]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [stop_datafeed (api)] attempt to stop datafeed [datafeed-jobs_summary_fq_single_1624552600590] [180]
[00:18:37]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [stop_datafeed (api)] attempt to stop datafeed [datafeed-jobs_summary_fq_single_1624552600590] for job [jobs_summary_fq_single_1624552600590]
[00:18:37]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [stop_datafeed (api)] try lock [30m] to stop datafeed [datafeed-jobs_summary_fq_single_1624552600590] for job [jobs_summary_fq_single_1624552600590]...
[00:18:37]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [stop_datafeed (api)] stopping datafeed [datafeed-jobs_summary_fq_single_1624552600590] for job [jobs_summary_fq_single_1624552600590], acquired [true]...
[00:18:37]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [stop_datafeed (api)] datafeed [datafeed-jobs_summary_fq_single_1624552600590] for job [jobs_summary_fq_single_1624552600590] has been stopped
[00:18:37]                     │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] Closing job [jobs_summary_fq_single_1624552600590], because [close job (api)]
[00:18:37]                     │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624552600590] [autodetect/191374] [CCmdSkeleton.cc@61] Handled 86274 records
[00:18:37]                     │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624552600590] [autodetect/191374] [CAnomalyJob.cc@1578] Pruning all models
[00:18:37]                     │ info [o.e.x.m.p.AbstractNativeProcess] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624552600590] State output finished
[00:18:37]                     │ info [o.e.x.m.j.p.a.o.AutodetectResultProcessor] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624552600590] 480 buckets parsed from autodetect output
[00:18:37]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624552600590] 20000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:18:37]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624552600590] 30000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:18:37]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624552600590] 40000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:18:37]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624552600590] 50000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:18:37]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624552600590] 60000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:18:38]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624552600590] 70000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:18:38]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624552600590] 80000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:18:38]                     │ info [o.e.x.m.j.p.a.AutodetectCommunicator] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_single_1624552600590] job closed
[00:18:38]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [stop_datafeed (api)] attempt to stop datafeed [datafeed-jobs_summary_fq_multi_1624552600590] [182]
[00:18:38]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [stop_datafeed (api)] attempt to stop datafeed [datafeed-jobs_summary_fq_multi_1624552600590] for job [jobs_summary_fq_multi_1624552600590]
[00:18:38]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [stop_datafeed (api)] try lock [30m] to stop datafeed [datafeed-jobs_summary_fq_multi_1624552600590] for job [jobs_summary_fq_multi_1624552600590]...
[00:18:40]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [no_realtime] attempt to stop datafeed [datafeed-jobs_summary_fq_multi_1624552600590] for job [jobs_summary_fq_multi_1624552600590]
[00:18:40]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [stop_datafeed (api)] stopping datafeed [datafeed-jobs_summary_fq_multi_1624552600590] for job [jobs_summary_fq_multi_1624552600590], acquired [true]...
[00:18:40]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [no_realtime] datafeed [datafeed-jobs_summary_fq_multi_1624552600590] for job [jobs_summary_fq_multi_1624552600590] was already stopped
[00:18:40]                     │ info [o.e.x.m.d.DatafeedRunner] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [stop_datafeed (api)] datafeed [datafeed-jobs_summary_fq_multi_1624552600590] for job [jobs_summary_fq_multi_1624552600590] has been stopped
[00:18:40]                     │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] Closing job [jobs_summary_fq_multi_1624552600590], because [close job (api)]
[00:18:40]                     │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624552600590] [autodetect/191594] [CCmdSkeleton.cc@61] Handled 86274 records
[00:18:40]                     │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624552600590] [autodetect/191594] [CAnomalyJob.cc@1578] Pruning all models
[00:18:40]                     │ info [o.e.x.m.p.AbstractNativeProcess] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624552600590] State output finished
[00:18:40]                     │ info [o.e.x.m.j.p.a.o.AutodetectResultProcessor] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624552600590] 120 buckets parsed from autodetect output
[00:18:41]                     │ info [o.e.x.m.j.p.a.AutodetectCommunicator] [kibana-ci-immutable-ubuntu-16-tests-xxl-1624549815491258340] [jobs_summary_fq_multi_1624552600590] job closed
[00:18:41]                     └- ✖ fail: apis Machine Learning jobs close_jobs close jobs fail because they are running as ML Poweruser
[00:18:41]                     │       Error: expected true to sort of equal false
[00:18:41]                     │       + expected - actual
[00:18:41]                     │ 
[00:18:41]                     │       -true
[00:18:41]                     │       +false
[00:18:41]                     │       
[00:18:41]                     │       at Assertion.assert (/dev/shm/workspace/parallel/7/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:18:41]                     │       at Assertion.eql (/dev/shm/workspace/parallel/7/kibana/node_modules/@kbn/expect/expect.js:244:8)
[00:18:41]                     │       at forEach (test/api_integration/apis/ml/jobs/close_jobs.ts:165:40)
[00:18:41]                     │       at Array.forEach (<anonymous>)
[00:18:41]                     │       at Context.<anonymous> (test/api_integration/apis/ml/jobs/close_jobs.ts:164:29)
[00:18:41]                     │       at Object.apply (/dev/shm/workspace/parallel/7/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:18:41]                     │ 
[00:18:41]                     │ 

Stack Trace

Error: expected true to sort of equal false
    at Assertion.assert (/dev/shm/workspace/parallel/7/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/7/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at forEach (test/api_integration/apis/ml/jobs/close_jobs.ts:165:40)
    at Array.forEach (<anonymous>)
    at Context.<anonymous> (test/api_integration/apis/ml/jobs/close_jobs.ts:164:29)
    at Object.apply (/dev/shm/workspace/parallel/7/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16) {
  actual: 'true',
  expected: 'false',
  showDiff: true
}

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
discover 51 52 +1

Async chunks

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

id before after diff
discover 411.9KB 430.4KB +18.6KB

Page load bundle

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

id before after diff
discover 74.7KB 76.8KB +2.0KB
Unknown metric groups

API count

id before after diff
discover 64 65 +1

async chunk count

id before after diff
discover 8 7 -1

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:Discover Discover Application release_note:enhancement Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.14.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants