Skip to content

[ML] Anomaly Detection: Fix jobs list default refresh.#57086

Merged
jgowdyelastic merged 6 commits intoelastic:masterfrom
walterra:ml-fix-jobs-list-refresh
Feb 11, 2020
Merged

[ML] Anomaly Detection: Fix jobs list default refresh.#57086
jgowdyelastic merged 6 commits intoelastic:masterfrom
walterra:ml-fix-jobs-list-refresh

Conversation

@walterra
Copy link
Copy Markdown
Contributor

@walterra walterra commented Feb 7, 2020

Summary

Fixes #56499.
Regression introduced by #52986.

  • Restores the behavior to enable a 30s refresh for the anomaly detection jobs list if no other refresh is already set.
  • The jobs list itself is no longer managing its own interval that replicates the date picker's interval. Instead it uses the lastRefresh pattern we use on other pages: The route level component subscribes to date picker updates and passes on the lastRefresh timestamp. blockRefresh is now also managed on the router level and passed on as a prop.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@walterra walterra added bug Fixes for quality problems that affect the customer experience regression release_note:fix :ml Feature:Anomaly Detection ML anomaly detection v8.0.0 v7.7.0 v7.6.1 labels Feb 7, 2020
@walterra walterra requested a review from a team as a code owner February 7, 2020 09:40
@walterra walterra self-assigned this Feb 7, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ml-ui (:ml)

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/machine_learning/anomaly_detection/single_metric_job·ts.machine learning anomaly detection single metric job creation displays the created job in the job list

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:12:49]         └-: machine learning
[00:12:49]           └-> "before all" hook
[00:15:43]           └-: anomaly detection
[00:15:43]             └-> "before all" hook
[00:15:43]             └-: single metric
[00:15:43]               └-> "before all" hook
[00:15:43]               └-> "before all" hook
[00:15:43]                 │ info [ml/farequote] Loading "mappings.json"
[00:15:43]                 │ info [ml/farequote] Loading "data.json.gz"
[00:15:43]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [farequote] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:15:43]                 │ info [ml/farequote] Created index "farequote"
[00:15:43]                 │ debg [ml/farequote] "farequote" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:15:43]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.kibana_2/R_bZITnZQ_qWaPUXmt_M-Q] deleting index
[00:15:43]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.kibana_1/nad17P94TiyISDXOlib5Qw] deleting index
[00:15:43]                 │ info [ml/farequote] Deleted existing index [".kibana_2",".kibana_1"]
[00:15:43]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:15:43]                 │ info [ml/farequote] Created index ".kibana_1"
[00:15:43]                 │ debg [ml/farequote] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:15:51]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.kibana_1/H-wQN3QbT9-we1qCvhC37A] update_mapping [_doc]
[00:15:51]                 │ info [ml/farequote] Indexed 86274 docs into "farequote"
[00:15:51]                 │ info [ml/farequote] Indexed 11 docs into ".kibana_1"
[00:15:52]                 │ info Creating index .kibana_2.
[00:15:52]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:15:52]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] updating number_of_replicas to [0] for indices [.kibana_2]
[00:15:52]                 │ info Migrating .kibana_1 saved objects to .kibana_2
[00:15:52]                 │ debg Migrating saved objects space:default, maps-telemetry:maps-telemetry, telemetry:telemetry, config:7.0.0, index-pattern:afcb3f90-b51e-11e9-b428-adf46a495381, search:793c1a50-e505-11e9-9c0f-0524bf4d335b, search:e3dd7750-e505-11e9-9c0f-0524bf4d335b, search:56c06f80-e505-11e9-9c0f-0524bf4d335b, search:b590e580-e505-11e9-9c0f-0524bf4d335b, search:f33b7cb0-e505-11e9-9c0f-0524bf4d335b, ui-metric:index_management:app_load
[00:15:52]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.kibana_2/aJu5O2snTAOYk6fgaCfyOg] update_mapping [_doc]
[00:15:52]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.kibana_2/aJu5O2snTAOYk6fgaCfyOg] update_mapping [_doc]
[00:15:52]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.kibana_2/aJu5O2snTAOYk6fgaCfyOg] update_mapping [_doc]
[00:15:52]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.kibana_2/aJu5O2snTAOYk6fgaCfyOg] update_mapping [_doc]
[00:15:52]                 │ info Pointing alias .kibana to .kibana_2.
[00:15:52]                 │ info Finished in 382ms.
[00:15:52]                 │ debg Creating calendar with id 'wizard-test-calendar'...
[00:15:52]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.ml-meta] creating index, cause [auto(bulk api)], templates [.ml-meta], shards [1]/[1], mappings [_doc]
[00:15:52]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] updating number_of_replicas to [0] for indices [.ml-meta]
[00:15:52]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:15:52]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:15:52]                 │ info [o.e.x.m.MlInitializationService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] Created ML annotations index and aliases
[00:15:52]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.ml-meta/oARPW-7sTdiOAjTwohQXgg] update_mapping [_doc]
[00:15:52]                 │ debg Waiting up to 30000ms for 'wizard-test-calendar' to be created...
[00:15:52]               └-> job creation loads the job management page
[00:15:52]                 └-> "before each" hook: global before each
[00:15:52]                 │ debg navigating to ml url: http://localhost:6141/app/ml
[00:15:52]                 │ debg Navigate to: http://localhost:6141/app/ml
[00:15:53]                 │ debg ... sleep(700) start
[00:15:53]                 │ debg browser[INFO] http://localhost:6141/app/ml?_t=1581072552552 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:15:53]                 │
[00:15:53]                 │ debg browser[INFO] http://localhost:6141/bundles/app/ml/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:54]                 │ debg ... sleep(700) end
[00:15:54]                 │ debg returned from get, calling refresh
[00:15:54]                 │ debg browser[INFO] http://localhost:6141/app/ml?_t=1581072552552 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:15:54]                 │
[00:15:54]                 │ debg browser[INFO] http://localhost:6141/bundles/app/ml/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:54]                 │ debg currentUrl = http://localhost:6141/app/ml
[00:15:54]                 │          appUrl = http://localhost:6141/app/ml
[00:15:54]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:15:57]                 │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_3.bundle.dll.js 181:139970 "INFO: 2020-02-07T10:49:16Z
[00:15:57]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:15:57]                 │
[00:15:57]                 │      "
[00:15:57]                 │ debg ... sleep(501) start
[00:15:58]                 │ debg ... sleep(501) end
[00:15:58]                 │ debg in navigateTo url = http://localhost:6141/app/ml#/overview?_g=(refreshInterval:(pause:!t,value:0))
[00:15:58]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:15:58]                 │ debg ... sleep(501) start
[00:15:59]                 │ debg ... sleep(501) end
[00:15:59]                 │ debg in navigateTo url = http://localhost:6141/app/ml#/overview?_g=(refreshInterval:(pause:!t,value:0))
[00:15:59]                 │ debg TestSubjects.exists(statusPageContainer)
[00:15:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:16:01]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:16:02]                 │ debg TestSubjects.click(~mlMainTab & ~anomalyDetection)
[00:16:02]                 │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:16:02]                 │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:16:02]                 │ debg TestSubjects.exists(~mlMainTab & ~anomalyDetection & ~selected)
[00:16:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"][data-test-subj~="selected"]') with timeout=120000
[00:16:02]                 │ debg TestSubjects.exists(mlPageJobManagement)
[00:16:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobManagement"]') with timeout=120000
[00:16:02]                 │ debg TestSubjects.findAll(~mlSubTab)
[00:16:02]                 │ debg Find.allByCssSelector('[data-test-subj~="mlSubTab"]') with timeout=3
[00:16:02]                 │ debg TestSubjects.exists(~mlSubTab&~jobManagement)
[00:16:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="jobManagement"]') with timeout=1000
[00:16:02]                 │ debg TestSubjects.exists(~mlSubTab&~anomalyExplorer)
[00:16:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="anomalyExplorer"]') with timeout=1000
[00:16:02]                 │ debg TestSubjects.exists(~mlSubTab&~singleMetricViewer)
[00:16:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="singleMetricViewer"]') with timeout=1000
[00:16:02]                 │ debg TestSubjects.exists(~mlSubTab&~settings)
[00:16:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="settings"]') with timeout=1000
[00:16:02]                 │ debg TestSubjects.click(~mlSubTab & ~jobManagement)
[00:16:02]                 │ debg Find.clickByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="jobManagement"]') with timeout=10000
[00:16:02]                 │ debg Find.findByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="jobManagement"]') with timeout=10000
[00:16:02]                 │ debg TestSubjects.exists(~mlSubTab & ~jobManagement & ~selected)
[00:16:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="jobManagement"][data-test-subj~="selected"]') with timeout=120000
[00:16:02]                 │ debg TestSubjects.exists(mlPageJobManagement)
[00:16:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobManagement"]') with timeout=120000
[00:16:02]                 └- ✓ pass  (10.0s) "machine learning anomaly detection single metric job creation loads the job management page"
[00:16:02]               └-> job creation loads the new job source selection page
[00:16:02]                 └-> "before each" hook: global before each
[00:16:02]                 │ debg TestSubjects.clickWhenNotDisabled(mlCreateNewJobButton)
[00:16:02]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlCreateNewJobButton"]') with timeout=10000
[00:16:02]                 │ debg Find.findByCssSelector('[data-test-subj="mlCreateNewJobButton"]') with timeout=10000
[00:16:03]                 │ debg TestSubjects.exists(mlPageSourceSelection)
[00:16:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageSourceSelection"]') with timeout=120000
[00:16:03]                 └- ✓ pass  (269ms) "machine learning anomaly detection single metric job creation loads the new job source selection page"
[00:16:03]               └-> job creation loads the job type selection page
[00:16:03]                 └-> "before each" hook: global before each
[00:16:03]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, farequote)
[00:16:03]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:16:03]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:16:03]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:16:03]                 │ debg TestSubjects.exists(savedObjectTitlefarequote)
[00:16:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectTitlefarequote"]') with timeout=120000
[00:16:03]                 │ debg TestSubjects.clickWhenNotDisabled(savedObjectTitlefarequote)
[00:16:03]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="savedObjectTitlefarequote"]') with timeout=10000
[00:16:03]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitlefarequote"]') with timeout=10000
[00:16:03]                 │ debg TestSubjects.exists(mlPageJobTypeSelection)
[00:16:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobTypeSelection"]') with timeout=10000
[00:16:04]                 └- ✓ pass  (933ms) "machine learning anomaly detection single metric job creation loads the job type selection page"
[00:16:04]               └-> job creation loads the single metric job wizard page
[00:16:04]                 └-> "before each" hook: global before each
[00:16:04]                 │ debg TestSubjects.clickWhenNotDisabled(mlJobTypeLinkSingleMetricJob)
[00:16:04]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobTypeLinkSingleMetricJob"]') with timeout=10000
[00:16:04]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobTypeLinkSingleMetricJob"]') with timeout=10000
[00:16:04]                 │ debg TestSubjects.exists(mlPageJobWizard single_metric)
[00:16:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobWizard single_metric"]') with timeout=120000
[00:16:04]                 └- ✓ pass  (431ms) "machine learning anomaly detection single metric job creation loads the single metric job wizard page"
[00:16:04]               └-> job creation displays the time range step
[00:16:04]                 └-> "before each" hook: global before each
[00:16:04]                 │ debg TestSubjects.exists(mlJobWizardStepTitleTimeRange)
[00:16:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitleTimeRange"]') with timeout=120000
[00:16:04]                 └- ✓ pass  (163ms) "machine learning anomaly detection single metric job creation displays the time range step"
[00:16:04]               └-> job creation sets the timerange
[00:16:04]                 └-> "before each" hook: global before each
[00:16:04]                 │ debg TestSubjects.clickWhenNotDisabled(mlButtonUseFullData)
[00:16:04]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlButtonUseFullData"]') with timeout=10000
[00:16:04]                 │ debg Find.findByCssSelector('[data-test-subj="mlButtonUseFullData"]') with timeout=10000
[00:16:04]                 │ debg TestSubjects.find(mlJobWizardDateRange)
[00:16:04]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardDateRange"]') with timeout=10000
[00:16:05]                 └- ✓ pass  (274ms) "machine learning anomaly detection single metric job creation sets the timerange"
[00:16:05]               └-> job creation displays the event rate chart
[00:16:05]                 └-> "before each" hook: global before each
[00:16:05]                 │ debg TestSubjects.exists(~mlEventRateChart)
[00:16:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlEventRateChart"]') with timeout=120000
[00:16:05]                 │ debg TestSubjects.exists(mlEventRateChart withData)
[00:16:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlEventRateChart withData"]') with timeout=120000
[00:16:05]                 └- ✓ pass  (126ms) "machine learning anomaly detection single metric job creation displays the event rate chart"
[00:16:05]               └-> job creation displays the pick fields step
[00:16:05]                 └-> "before each" hook: global before each
[00:16:05]                 │ debg TestSubjects.exists(mlJobWizardNavButtonNext)
[00:16:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=120000
[00:16:05]                 │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardNavButtonNext)
[00:16:05]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:16:05]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:16:05]                 │ debg TestSubjects.exists(mlJobWizardStepTitlePickFields)
[00:16:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitlePickFields"]') with timeout=120000
[00:16:05]                 └- ✓ pass  (210ms) "machine learning anomaly detection single metric job creation displays the pick fields step"
[00:16:05]               └-> job creation selects field and aggregation
[00:16:05]                 └-> "before each" hook: global before each
[00:16:05]                 │ debg TestSubjects.exists(mlJobWizardAggSelection > comboBoxInput)
[00:16:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAggSelection"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:16:05]                 │ debg comboBox.set, comboBoxSelector: mlJobWizardAggSelection > comboBoxInput
[00:16:05]                 │ debg TestSubjects.find(mlJobWizardAggSelection > comboBoxInput)
[00:16:05]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardAggSelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:05]                 │ debg comboBox.setElement, value: Mean(responsetime)
[00:16:05]                 │ debg comboBox.isOptionSelected, value: Mean(responsetime)
[00:16:07]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:07]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Mean(responsetime)"]') with timeout=2500
[00:16:07]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:10]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:16:11]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlJobWizardAggSelection > comboBoxInput
[00:16:11]                 │ debg TestSubjects.find(mlJobWizardAggSelection > comboBoxInput)
[00:16:11]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardAggSelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:11]                 └- ✓ pass  (5.7s) "machine learning anomaly detection single metric job creation selects field and aggregation"
[00:16:11]               └-> job creation inputs the bucket span
[00:16:11]                 └-> "before each" hook: global before each
[00:16:11]                 │ debg TestSubjects.exists(mlJobWizardInputBucketSpan)
[00:16:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardInputBucketSpan"]') with timeout=120000
[00:16:11]                 │ debg TestSubjects.setValueWithChecks(mlJobWizardInputBucketSpan, 30m)
[00:16:11]                 │ debg TestSubjects.click(mlJobWizardInputBucketSpan)
[00:16:11]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardInputBucketSpan"]') with timeout=10000
[00:16:11]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputBucketSpan"]') with timeout=10000
[00:16:12]                 │ debg TestSubjects.getAttribute(mlJobWizardInputBucketSpan, value)
[00:16:12]                 │ debg TestSubjects.find(mlJobWizardInputBucketSpan)
[00:16:12]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputBucketSpan"]') with timeout=10000
[00:16:12]                 └- ✓ pass  (1.1s) "machine learning anomaly detection single metric job creation inputs the bucket span"
[00:16:12]               └-> job creation displays the job details step
[00:16:12]                 └-> "before each" hook: global before each
[00:16:12]                 │ debg TestSubjects.exists(mlJobWizardNavButtonNext)
[00:16:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=120000
[00:16:12]                 │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardNavButtonNext)
[00:16:12]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:16:12]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:16:12]                 │ debg TestSubjects.exists(mlJobWizardStepTitleJobDetails)
[00:16:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitleJobDetails"]') with timeout=120000
[00:16:12]                 └- ✓ pass  (673ms) "machine learning anomaly detection single metric job creation displays the job details step"
[00:16:12]               └-> job creation inputs the job id
[00:16:12]                 └-> "before each" hook: global before each
[00:16:12]                 │ debg TestSubjects.exists(mlJobWizardInputJobId)
[00:16:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardInputJobId"]') with timeout=120000
[00:16:12]                 │ debg TestSubjects.setValueWithChecks(mlJobWizardInputJobId, fq_single_1_1581071596698)
[00:16:12]                 │ debg TestSubjects.click(mlJobWizardInputJobId)
[00:16:12]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardInputJobId"]') with timeout=10000
[00:16:12]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputJobId"]') with timeout=10000
[00:16:13]                 │ debg TestSubjects.getAttribute(mlJobWizardInputJobId, value)
[00:16:13]                 │ debg TestSubjects.find(mlJobWizardInputJobId)
[00:16:13]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputJobId"]') with timeout=10000
[00:16:13]                 └- ✓ pass  (1.1s) "machine learning anomaly detection single metric job creation inputs the job id"
[00:16:13]               └-> job creation inputs the job description
[00:16:13]                 └-> "before each" hook: global before each
[00:16:13]                 │ debg TestSubjects.exists(mlJobWizardInputJobDescription)
[00:16:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardInputJobDescription"]') with timeout=120000
[00:16:13]                 │ debg TestSubjects.setValueWithChecks(mlJobWizardInputJobDescription, Create single metric job based on the farequote dataset with 30m bucketspan and mean(responsetime))
[00:16:13]                 │ debg TestSubjects.click(mlJobWizardInputJobDescription)
[00:16:13]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardInputJobDescription"]') with timeout=10000
[00:16:13]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputJobDescription"]') with timeout=10000
[00:16:17]                 │ debg TestSubjects.getVisibleText(mlJobWizardInputJobDescription)
[00:16:17]                 │ debg TestSubjects.find(mlJobWizardInputJobDescription)
[00:16:17]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputJobDescription"]') with timeout=10000
[00:16:17]                 └- ✓ pass  (3.7s) "machine learning anomaly detection single metric job creation inputs the job description"
[00:16:17]               └-> job creation inputs job groups
[00:16:17]                 └-> "before each" hook: global before each
[00:16:17]                 │ debg TestSubjects.exists(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:16:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:16:17]                 │ debg comboBox.setCustom, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput, value: automated
[00:16:17]                 │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:16:17]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:20]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:20]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:20]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput
[00:16:20]                 │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:16:20]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:20]                 │ debg comboBox.setCustom, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput, value: farequote
[00:16:20]                 │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:16:20]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:22]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:22]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput
[00:16:22]                 │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:16:22]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:22]                 │ debg comboBox.setCustom, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput, value: single-metric
[00:16:22]                 │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:16:22]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:24]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:24]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput
[00:16:24]                 │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:16:24]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:24]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput
[00:16:24]                 │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:16:24]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:24]                 └- ✓ pass  (7.2s) "machine learning anomaly detection single metric job creation inputs job groups"
[00:16:24]               └-> job creation opens the additional settings section
[00:16:24]                 └-> "before each" hook: global before each
[00:16:24]                 │ debg TestSubjects.exists(mlJobWizardAdditionalSettingsSection)
[00:16:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdditionalSettingsSection"]') with timeout=2500
[00:16:24]                 │ debg --- retry.tryForTime error: [data-test-subj="mlJobWizardAdditionalSettingsSection"] is not displayed
[00:16:25]                 │ debg --- retry.tryForTime failed again with the same message...
[00:16:25]                 │ debg --- retry.tryForTime failed again with the same message...
[00:16:26]                 │ debg --- retry.tryForTime failed again with the same message...
[00:16:27]                 │ debg --- retry.tryForTime failed again with the same message...
[00:16:27]                 │ debg TestSubjects.click(mlJobWizardToggleAdditionalSettingsSection)
[00:16:27]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardToggleAdditionalSettingsSection"]') with timeout=10000
[00:16:27]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardToggleAdditionalSettingsSection"]') with timeout=10000
[00:16:27]                 │ debg TestSubjects.exists(mlJobWizardAdditionalSettingsSection)
[00:16:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdditionalSettingsSection"]') with timeout=1000
[00:16:27]                 └- ✓ pass  (2.7s) "machine learning anomaly detection single metric job creation opens the additional settings section"
[00:16:27]               └-> job creation adds a new custom url
[00:16:27]                 └-> "before each" hook: global before each
[00:16:27]                 │ debg TestSubjects.exists(mlJobWizardAdditionalSettingsSection)
[00:16:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdditionalSettingsSection"]') with timeout=2500
[00:16:27]                 │ debg TestSubjects.findAll(mlJobEditCustomUrlsList > *)
[00:16:27]                 │ debg Find.allByCssSelector('[data-test-subj="mlJobEditCustomUrlsList"] [data-test-subj="*"]') with timeout=10000
[00:16:37]                 │ debg TestSubjects.exists(mlJobNewCustomUrlFormModal)
[00:16:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobNewCustomUrlFormModal"]') with timeout=2500
[00:16:40]                 │ debg --- retry.tryForTime error: [data-test-subj="mlJobNewCustomUrlFormModal"] is not displayed
[00:16:40]                 │ debg TestSubjects.click(mlJobOpenCustomUrlFormButton)
[00:16:40]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobOpenCustomUrlFormButton"]') with timeout=10000
[00:16:40]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobOpenCustomUrlFormButton"]') with timeout=10000
[00:16:40]                 │ debg TestSubjects.exists(mlJobNewCustomUrlFormModal)
[00:16:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobNewCustomUrlFormModal"]') with timeout=1000
[00:16:40]                 │ debg TestSubjects.setValue(mlJobCustomUrlLabelInput, check-kibana-dashboard)
[00:16:40]                 │ debg TestSubjects.click(mlJobCustomUrlLabelInput)
[00:16:40]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobCustomUrlLabelInput"]') with timeout=10000
[00:16:40]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobCustomUrlLabelInput"]') with timeout=10000
[00:16:41]                 │ debg TestSubjects.getAttribute(mlJobCustomUrlLabelInput, value)
[00:16:41]                 │ debg TestSubjects.find(mlJobCustomUrlLabelInput)
[00:16:41]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobCustomUrlLabelInput"]') with timeout=10000
[00:16:41]                 │ debg TestSubjects.click(mlJobAddCustomUrl)
[00:16:41]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobAddCustomUrl"]') with timeout=10000
[00:16:41]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobAddCustomUrl"]') with timeout=10000
[00:16:41]                 │ debg TestSubjects.missingOrFail(mlJobNewCustomUrlFormModal)
[00:16:41]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlJobNewCustomUrlFormModal"]') with timeout=10000
[00:16:41]                 │ debg TestSubjects.exists(mlJobEditCustomUrlItem_0)
[00:16:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobEditCustomUrlItem_0"]') with timeout=120000
[00:16:41]                 │ debg TestSubjects.getAttribute(mlJobEditCustomUrlLabelInput_0, value)
[00:16:41]                 │ debg TestSubjects.find(mlJobEditCustomUrlLabelInput_0)
[00:16:41]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobEditCustomUrlLabelInput_0"]') with timeout=10000
[00:16:42]                 └- ✓ pass  (14.4s) "machine learning anomaly detection single metric job creation adds a new custom url"
[00:16:42]               └-> job creation assigns calendars
[00:16:42]                 └-> "before each" hook: global before each
[00:16:42]                 │ debg TestSubjects.exists(mlJobWizardAdditionalSettingsSection)
[00:16:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdditionalSettingsSection"]') with timeout=2500
[00:16:42]                 │ debg comboBox.setCustom, comboBoxSelector: mlJobWizardComboBoxCalendars > comboBoxInput, value: wizard-test-calendar
[00:16:42]                 │ debg TestSubjects.find(mlJobWizardComboBoxCalendars > comboBoxInput)
[00:16:42]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxCalendars"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:44]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:44]                 │ debg TestSubjects.exists(mlJobWizardAdditionalSettingsSection)
[00:16:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdditionalSettingsSection"]') with timeout=2500
[00:16:44]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlJobWizardComboBoxCalendars > comboBoxInput
[00:16:44]                 │ debg TestSubjects.find(mlJobWizardComboBoxCalendars > comboBoxInput)
[00:16:44]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxCalendars"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:44]                 └- ✓ pass  (2.6s) "machine learning anomaly detection single metric job creation assigns calendars"
[00:16:44]               └-> job creation opens the advanced section
[00:16:44]                 └-> "before each" hook: global before each
[00:16:44]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:16:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:16:44]                 │ debg --- retry.tryForTime error: [data-test-subj="mlJobWizardAdvancedSection"] is not displayed
[00:16:45]                 │ debg --- retry.tryForTime failed again with the same message...
[00:16:45]                 │ debg --- retry.tryForTime failed again with the same message...
[00:16:46]                 │ debg --- retry.tryForTime failed again with the same message...
[00:16:46]                 │ debg --- retry.tryForTime failed again with the same message...
[00:16:47]                 │ debg TestSubjects.click(mlJobWizardToggleAdvancedSection)
[00:16:47]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardToggleAdvancedSection"]') with timeout=10000
[00:16:47]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardToggleAdvancedSection"]') with timeout=10000
[00:16:47]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:16:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=1000
[00:16:47]                 └- ✓ pass  (2.8s) "machine learning anomaly detection single metric job creation opens the advanced section"
[00:16:47]               └-> job creation displays the model plot switch
[00:16:47]                 └-> "before each" hook: global before each
[00:16:47]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:16:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:16:47]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection > mlJobWizardSwitchModelPlot)
[00:16:47]                 │ debg Find.existsByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardSwitchModelPlot"]') with timeout=120000
[00:16:47]                 └- ✓ pass  (41ms) "machine learning anomaly detection single metric job creation displays the model plot switch"
[00:16:47]               └-> job creation enables the dedicated index switch
[00:16:47]                 └-> "before each" hook: global before each
[00:16:47]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:16:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:16:47]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection > mlJobWizardSwitchUseDedicatedIndex)
[00:16:47]                 │ debg Find.existsByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardSwitchUseDedicatedIndex"]') with timeout=120000
[00:16:47]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:16:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:16:47]                 │ debg TestSubjects.getAttribute(mlJobWizardSwitchUseDedicatedIndex, aria-checked)
[00:16:47]                 │ debg TestSubjects.find(mlJobWizardSwitchUseDedicatedIndex)
[00:16:47]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardSwitchUseDedicatedIndex"]') with timeout=10000
[00:16:47]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:16:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:16:47]                 │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardAdvancedSection > mlJobWizardSwitchUseDedicatedIndex)
[00:16:47]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardSwitchUseDedicatedIndex"]') with timeout=10000
[00:16:47]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardSwitchUseDedicatedIndex"]') with timeout=10000
[00:16:47]                 │ debg TestSubjects.getAttribute(mlJobWizardSwitchUseDedicatedIndex, aria-checked)
[00:16:47]                 │ debg TestSubjects.find(mlJobWizardSwitchUseDedicatedIndex)
[00:16:47]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardSwitchUseDedicatedIndex"]') with timeout=10000
[00:16:47]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:16:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:16:47]                 └- ✓ pass  (304ms) "machine learning anomaly detection single metric job creation enables the dedicated index switch"
[00:16:47]               └-> job creation inputs the model memory limit
[00:16:47]                 └-> "before each" hook: global before each
[00:16:47]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:16:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:16:47]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection > mlJobWizardInputModelMemoryLimit)
[00:16:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardInputModelMemoryLimit"]') with timeout=120000
[00:16:47]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:16:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:16:47]                 │ debg TestSubjects.setValueWithChecks(mlJobWizardAdvancedSection > mlJobWizardInputModelMemoryLimit, 15mb)
[00:16:47]                 │ debg TestSubjects.click(mlJobWizardAdvancedSection > mlJobWizardInputModelMemoryLimit)
[00:16:47]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardInputModelMemoryLimit"]') with timeout=10000
[00:16:47]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardInputModelMemoryLimit"]') with timeout=10000
[00:16:48]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:16:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:16:48]                 │ debg TestSubjects.getAttribute(mlJobWizardAdvancedSection > mlJobWizardInputModelMemoryLimit, value)
[00:16:48]                 │ debg TestSubjects.find(mlJobWizardAdvancedSection > mlJobWizardInputModelMemoryLimit)
[00:16:48]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardInputModelMemoryLimit"]') with timeout=10000
[00:16:48]                 └- ✓ pass  (434ms) "machine learning anomaly detection single metric job creation inputs the model memory limit"
[00:16:48]               └-> job creation displays the validation step
[00:16:48]                 └-> "before each" hook: global before each
[00:16:48]                 │ debg TestSubjects.exists(mlJobWizardNavButtonNext)
[00:16:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=120000
[00:16:48]                 │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardNavButtonNext)
[00:16:48]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:16:48]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:16:48]                 │ debg TestSubjects.exists(mlJobWizardStepTitleValidation)
[00:16:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitleValidation"]') with timeout=120000
[00:16:48]                 └- ✓ pass  (628ms) "machine learning anomaly detection single metric job creation displays the validation step"
[00:16:48]               └-> job creation displays the summary step
[00:16:48]                 └-> "before each" hook: global before each
[00:16:48]                 │ debg TestSubjects.exists(mlJobWizardNavButtonNext)
[00:16:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=120000
[00:16:48]                 │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardNavButtonNext)
[00:16:48]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:16:48]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:16:49]                 │ debg TestSubjects.exists(mlJobWizardStepTitleSummary)
[00:16:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitleSummary"]') with timeout=120000
[00:16:49]                 └- ✓ pass  (379ms) "machine learning anomaly detection single metric job creation displays the summary step"
[00:16:49]               └-> job creation creates the job and finishes processing
[00:16:49]                 └-> "before each" hook: global before each
[00:16:49]                 │ debg TestSubjects.exists(mlJobWizardButtonCreateJob)
[00:16:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardButtonCreateJob"]') with timeout=120000
[00:16:49]                 │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardButtonCreateJob)
[00:16:49]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardButtonCreateJob"]') with timeout=10000
[00:16:49]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardButtonCreateJob"]') with timeout=10000
[00:16:49]                 │ debg TestSubjects.exists(mlJobWizardButtonRunInRealTime)
[00:16:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardButtonRunInRealTime"]') with timeout=120000
[00:16:49]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.ml-anomalies-custom-fq_single_1_1581071596698] creating index, cause [api], templates [.ml-anomalies-], shards [1]/[1], mappings [_doc]
[00:16:49]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] updating number_of_replicas to [0] for indices [.ml-anomalies-custom-fq_single_1_1581071596698]
[00:16:49]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.ml-config] creating index, cause [auto(bulk api)], templates [.ml-config], shards [1]/[1], mappings [_doc]
[00:16:49]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] updating number_of_replicas to [0] for indices [.ml-config]
[00:16:49]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.ml-config/yWteZUCySB2i4A-vP6FImQ] update_mapping [_doc]
[00:16:49]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.ml-notifications-000001] creating index, cause [auto(bulk api)], templates [.ml-notifications-000001], shards [1]/[1], mappings [_doc]
[00:16:49]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] updating number_of_replicas to [0] for indices [.ml-notifications-000001]
[00:16:49]                 │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] Opening job [fq_single_1_1581071596698]
[00:16:49]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.ml-state] creating index, cause [api], templates [.ml-state], shards [1]/[1], mappings [_doc]
[00:16:49]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] updating number_of_replicas to [0] for indices [.ml-state]
[00:16:49]                 │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [fq_single_1_1581071596698] Loading model snapshot [N/A], job latest_record_timestamp [N/A]
[00:16:50]                 │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [fq_single_1_1581071596698] [autodetect/72736] [CResourceMonitor.cc@71] Setting model memory limit to 15 MB
[00:16:50]                 │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] Successfully set job state to [opened] for job [fq_single_1_1581071596698]
[00:16:50]                 │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [fq_single_1_1581071596698] Datafeed started (from: 2016-02-07T00:00:00.000Z to: 2016-02-11T23:59:54.001Z) with frequency [540000ms]
[00:16:50]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.ml-anomalies-custom-fq_single_1_1581071596698/0iAVK6FbRl6yO51zCh5RSw] update_mapping [_doc]
[00:16:51]                 │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [fq_single_1_1581071596698] Lookback has finished
[00:16:51]                 │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [no_realtime] attempt to stop datafeed [datafeed-fq_single_1_1581071596698] for job [fq_single_1_1581071596698]
[00:16:51]                 │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [no_realtime] try lock [20s] to stop datafeed [datafeed-fq_single_1_1581071596698] for job [fq_single_1_1581071596698]...
[00:16:51]                 │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [no_realtime] stopping datafeed [datafeed-fq_single_1_1581071596698] for job [fq_single_1_1581071596698], acquired [true]...
[00:16:51]                 │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [no_realtime] datafeed [datafeed-fq_single_1_1581071596698] for job [fq_single_1_1581071596698] has been stopped
[00:16:51]                 │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] Closing job [fq_single_1_1581071596698], because [close job (api)]
[00:16:51]                 │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [fq_single_1_1581071596698] [autodetect/72736] [CCmdSkeleton.cc@45] Handled 2399 records
[00:16:51]                 │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [fq_single_1_1581071596698] [autodetect/72736] [CAnomalyJob.cc@1499] Pruning all models
[00:16:51]                 │ debg browser[INFO] http://localhost:6141/bundles/57.bundle.js 2:235895 "Response for job query:" Object
[00:16:51]                 │ debg browser[INFO] http://localhost:6141/bundles/57.bundle.js 2:245519 "checkSaveResponse(): save successful"
[00:16:51]                 │ debg --- retry.tryForTime error: [data-test-subj="mlJobWizardButtonRunInRealTime"] is not displayed
[00:16:51]                 │ info [o.e.x.m.p.AbstractNativeProcess] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [fq_single_1_1581071596698] State output finished
[00:16:51]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.ml-anomalies-custom-fq_single_1_1581071596698/0iAVK6FbRl6yO51zCh5RSw] update_mapping [_doc]
[00:16:52]                 │ info [o.e.x.m.j.p.a.o.AutodetectResultProcessor] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [fq_single_1_1581071596698] 239 buckets parsed from autodetect output
[00:16:52]                 │ info [o.e.x.m.j.p.a.AutodetectCommunicator] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [fq_single_1_1581071596698] job closed
[00:16:53]                 └- ✓ pass  (4.2s) "machine learning anomaly detection single metric job creation creates the job and finishes processing"
[00:16:53]               └-> job creation displays the created job in the job list
[00:16:53]                 └-> "before each" hook: global before each
[00:16:53]                 │ debg navigating to ml url: http://localhost:6141/app/ml
[00:16:53]                 │ debg Navigate to: http://localhost:6141/app/ml
[00:16:53]                 │ debg ... sleep(700) start
[00:16:53]                 │ debg browser[INFO] http://localhost:6141/app/ml?_t=1581072613038 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:16:53]                 │
[00:16:53]                 │ debg browser[INFO] http://localhost:6141/bundles/app/ml/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:54]                 │ debg ... sleep(700) end
[00:16:54]                 │ debg returned from get, calling refresh
[00:16:54]                 │ debg browser[INFO] http://localhost:6141/app/ml?_t=1581072613038 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:16:54]                 │
[00:16:54]                 │ debg browser[INFO] http://localhost:6141/bundles/app/ml/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:54]                 │ debg currentUrl = http://localhost:6141/app/ml
[00:16:54]                 │          appUrl = http://localhost:6141/app/ml
[00:16:54]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:16:57]                 │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_3.bundle.dll.js 181:139970 "INFO: 2020-02-07T10:50:16Z
[00:16:57]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:16:57]                 │
[00:16:57]                 │      "
[00:16:57]                 │ debg ... sleep(501) start
[00:16:58]                 │ debg ... sleep(501) end
[00:16:58]                 │ debg in navigateTo url = http://localhost:6141/app/ml#/overview?_g=(refreshInterval:(pause:!t,value:0))
[00:16:58]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:16:58]                 │ debg ... sleep(501) start
[00:16:59]                 │ debg ... sleep(501) end
[00:16:59]                 │ debg in navigateTo url = http://localhost:6141/app/ml#/overview?_g=(refreshInterval:(pause:!t,value:0))
[00:16:59]                 │ debg TestSubjects.exists(statusPageContainer)
[00:16:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:17:01]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:17:02]                 │ debg TestSubjects.click(~mlMainTab & ~anomalyDetection)
[00:17:02]                 │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:17:02]                 │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:17:02]                 │ debg TestSubjects.exists(~mlMainTab & ~anomalyDetection & ~selected)
[00:17:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"][data-test-subj~="selected"]') with timeout=120000
[00:17:02]                 │ debg TestSubjects.exists(mlPageJobManagement)
[00:17:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobManagement"]') with timeout=120000
[00:17:02]                 │ debg TestSubjects.findAll(~mlSubTab)
[00:17:02]                 │ debg Find.allByCssSelector('[data-test-subj~="mlSubTab"]') with timeout=3
[00:17:02]                 │ debg TestSubjects.exists(~mlSubTab&~jobManagement)
[00:17:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="jobManagement"]') with timeout=1000
[00:17:02]                 │ debg TestSubjects.exists(~mlSubTab&~anomalyExplorer)
[00:17:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="anomalyExplorer"]') with timeout=1000
[00:17:02]                 │ debg TestSubjects.exists(~mlSubTab&~singleMetricViewer)
[00:17:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="singleMetricViewer"]') with timeout=1000
[00:17:02]                 │ debg TestSubjects.exists(~mlSubTab&~settings)
[00:17:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="settings"]') with timeout=1000
[00:17:02]                 │ debg TestSubjects.click(~mlSubTab & ~jobManagement)
[00:17:02]                 │ debg Find.clickByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="jobManagement"]') with timeout=10000
[00:17:02]                 │ debg Find.findByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="jobManagement"]') with timeout=10000
[00:17:02]                 │ debg TestSubjects.exists(~mlSubTab & ~jobManagement & ~selected)
[00:17:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="jobManagement"][data-test-subj~="selected"]') with timeout=120000
[00:17:02]                 │ debg TestSubjects.exists(mlPageJobManagement)
[00:17:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobManagement"]') with timeout=120000
[00:17:02]                 │ debg TestSubjects.exists(~mlJobListTable)
[00:17:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:17:02]                 │ debg TestSubjects.exists(mlJobListTable loaded)
[00:17:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:17:02]                 │ debg TestSubjects.exists(~mlJobListTable)
[00:17:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:17:02]                 │ debg TestSubjects.exists(mlJobListTable loaded)
[00:17:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:17:02]                 │ debg TestSubjects.find(mlJobListSearchBar)
[00:17:02]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobListSearchBar"]') with timeout=10000
[00:17:03]                 │ debg TestSubjects.find(~mlJobListTable)
[00:17:03]                 │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=10000
[00:17:03]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/machine learning anomaly detection single metric job creation displays the created job in the job list.png"
[00:17:03]                 │ info Current URL is: http://localhost:6141/app/ml#/jobs?_g=(refreshInterval:(pause:!f,value:30000))
[00:17:03]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/machine learning anomaly detection single metric job creation displays the created job in the job list.html
[00:17:03]                 └- ✖ fail: "machine learning anomaly detection single metric job creation displays the created job in the job list"
[00:17:03]                 │

Stack Trace

Error: expected [] to have a length of 1 but got 0
    at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.length (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:374:8)
    at Context.it (test/functional/apps/machine_learning/anomaly_detection/single_metric_job.ts:205:60)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/machine_learning/anomaly_detection/single_metric_job·ts.machine learning anomaly detection single metric job creation displays the created job in the job list

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:12:43]         └-: machine learning
[00:12:43]           └-> "before all" hook
[00:15:35]           └-: anomaly detection
[00:15:35]             └-> "before all" hook
[00:15:35]             └-: single metric
[00:15:35]               └-> "before all" hook
[00:15:35]               └-> "before all" hook
[00:15:35]                 │ info [ml/farequote] Loading "mappings.json"
[00:15:35]                 │ info [ml/farequote] Loading "data.json.gz"
[00:15:35]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [farequote] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:15:35]                 │ info [ml/farequote] Created index "farequote"
[00:15:35]                 │ debg [ml/farequote] "farequote" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:15:35]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.kibana_1/Wwey0ZgwQ7yaRXm-yIGlXg] deleting index
[00:15:35]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.kibana_2/-o2wPouPQ-Shj2LXDQiVhw] deleting index
[00:15:35]                 │ info [ml/farequote] Deleted existing index [".kibana_2",".kibana_1"]
[00:15:35]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:15:35]                 │ info [ml/farequote] Created index ".kibana_1"
[00:15:35]                 │ debg [ml/farequote] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:15:42]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.kibana_1/aaTjFiMrS3y0Pe4drKX40w] update_mapping [_doc]
[00:15:42]                 │ info [ml/farequote] Indexed 86274 docs into "farequote"
[00:15:42]                 │ info [ml/farequote] Indexed 11 docs into ".kibana_1"
[00:15:44]                 │ info Creating index .kibana_2.
[00:15:44]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:15:44]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] updating number_of_replicas to [0] for indices [.kibana_2]
[00:15:44]                 │ info Migrating .kibana_1 saved objects to .kibana_2
[00:15:44]                 │ debg Migrating saved objects space:default, maps-telemetry:maps-telemetry, telemetry:telemetry, config:7.0.0, index-pattern:afcb3f90-b51e-11e9-b428-adf46a495381, search:793c1a50-e505-11e9-9c0f-0524bf4d335b, search:e3dd7750-e505-11e9-9c0f-0524bf4d335b, search:56c06f80-e505-11e9-9c0f-0524bf4d335b, search:b590e580-e505-11e9-9c0f-0524bf4d335b, search:f33b7cb0-e505-11e9-9c0f-0524bf4d335b, ui-metric:index_management:app_load
[00:15:44]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.kibana_2/Ea1G0YzhSE-VYltdxMbV6w] update_mapping [_doc]
[00:15:44]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.kibana_2/Ea1G0YzhSE-VYltdxMbV6w] update_mapping [_doc]
[00:15:44]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.kibana_2/Ea1G0YzhSE-VYltdxMbV6w] update_mapping [_doc]
[00:15:44]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.kibana_2/Ea1G0YzhSE-VYltdxMbV6w] update_mapping [_doc]
[00:15:44]                 │ info Pointing alias .kibana to .kibana_2.
[00:15:44]                 │ info Finished in 361ms.
[00:15:44]                 │ debg Creating calendar with id 'wizard-test-calendar'...
[00:15:44]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.ml-meta] creating index, cause [auto(bulk api)], templates [.ml-meta], shards [1]/[1], mappings [_doc]
[00:15:44]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] updating number_of_replicas to [0] for indices [.ml-meta]
[00:15:44]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:15:44]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:15:44]                 │ info [o.e.x.m.MlInitializationService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] Created ML annotations index and aliases
[00:15:44]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.ml-meta/SDVrlz6xTLmwlya97_e8jQ] update_mapping [_doc]
[00:15:44]                 │ debg Waiting up to 30000ms for 'wizard-test-calendar' to be created...
[00:15:44]               └-> job creation loads the job management page
[00:15:44]                 └-> "before each" hook: global before each
[00:15:44]                 │ debg navigating to ml url: http://localhost:6141/app/ml
[00:15:44]                 │ debg Navigate to: http://localhost:6141/app/ml
[00:15:45]                 │ debg ... sleep(700) start
[00:15:45]                 │ debg browser[INFO] http://localhost:6141/app/ml?_t=1581071381001 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:15:45]                 │
[00:15:45]                 │ debg browser[INFO] http://localhost:6141/bundles/app/ml/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:46]                 │ debg ... sleep(700) end
[00:15:46]                 │ debg returned from get, calling refresh
[00:15:46]                 │ debg browser[INFO] http://localhost:6141/app/ml?_t=1581071381001 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:15:46]                 │
[00:15:46]                 │ debg browser[INFO] http://localhost:6141/bundles/app/ml/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:46]                 │ debg currentUrl = http://localhost:6141/app/ml
[00:15:46]                 │          appUrl = http://localhost:6141/app/ml
[00:15:46]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:15:49]                 │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_3.bundle.dll.js 181:139970 "INFO: 2020-02-07T10:29:44Z
[00:15:49]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:15:49]                 │
[00:15:49]                 │      "
[00:15:50]                 │ debg ... sleep(501) start
[00:15:50]                 │ debg ... sleep(501) end
[00:15:50]                 │ debg in navigateTo url = http://localhost:6141/app/ml#/overview?_g=(refreshInterval:(pause:!t,value:0))
[00:15:50]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:15:51]                 │ debg ... sleep(501) start
[00:15:51]                 │ debg ... sleep(501) end
[00:15:51]                 │ debg in navigateTo url = http://localhost:6141/app/ml#/overview?_g=(refreshInterval:(pause:!t,value:0))
[00:15:51]                 │ debg TestSubjects.exists(statusPageContainer)
[00:15:51]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:15:54]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:15:54]                 │ debg TestSubjects.click(~mlMainTab & ~anomalyDetection)
[00:15:54]                 │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:15:54]                 │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:15:54]                 │ debg TestSubjects.exists(~mlMainTab & ~anomalyDetection & ~selected)
[00:15:54]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"][data-test-subj~="selected"]') with timeout=120000
[00:15:54]                 │ debg TestSubjects.exists(mlPageJobManagement)
[00:15:54]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobManagement"]') with timeout=120000
[00:15:54]                 │ debg TestSubjects.findAll(~mlSubTab)
[00:15:54]                 │ debg Find.allByCssSelector('[data-test-subj~="mlSubTab"]') with timeout=3
[00:15:55]                 │ debg TestSubjects.exists(~mlSubTab&~jobManagement)
[00:15:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="jobManagement"]') with timeout=1000
[00:15:55]                 │ debg TestSubjects.exists(~mlSubTab&~anomalyExplorer)
[00:15:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="anomalyExplorer"]') with timeout=1000
[00:15:55]                 │ debg TestSubjects.exists(~mlSubTab&~singleMetricViewer)
[00:15:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="singleMetricViewer"]') with timeout=1000
[00:15:55]                 │ debg TestSubjects.exists(~mlSubTab&~settings)
[00:15:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="settings"]') with timeout=1000
[00:15:55]                 │ debg TestSubjects.click(~mlSubTab & ~jobManagement)
[00:15:55]                 │ debg Find.clickByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="jobManagement"]') with timeout=10000
[00:15:55]                 │ debg Find.findByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="jobManagement"]') with timeout=10000
[00:15:55]                 │ debg TestSubjects.exists(~mlSubTab & ~jobManagement & ~selected)
[00:15:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="jobManagement"][data-test-subj~="selected"]') with timeout=120000
[00:15:55]                 │ debg TestSubjects.exists(mlPageJobManagement)
[00:15:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobManagement"]') with timeout=120000
[00:15:55]                 └- ✓ pass  (10.4s) "machine learning anomaly detection single metric job creation loads the job management page"
[00:15:55]               └-> job creation loads the new job source selection page
[00:15:55]                 └-> "before each" hook: global before each
[00:15:55]                 │ debg TestSubjects.clickWhenNotDisabled(mlCreateNewJobButton)
[00:15:55]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlCreateNewJobButton"]') with timeout=10000
[00:15:55]                 │ debg Find.findByCssSelector('[data-test-subj="mlCreateNewJobButton"]') with timeout=10000
[00:15:55]                 │ debg TestSubjects.exists(mlPageSourceSelection)
[00:15:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageSourceSelection"]') with timeout=120000
[00:15:55]                 └- ✓ pass  (272ms) "machine learning anomaly detection single metric job creation loads the new job source selection page"
[00:15:55]               └-> job creation loads the job type selection page
[00:15:55]                 └-> "before each" hook: global before each
[00:15:55]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, farequote)
[00:15:55]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:15:55]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:15:55]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:15:55]                 │ debg TestSubjects.exists(savedObjectTitlefarequote)
[00:15:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectTitlefarequote"]') with timeout=120000
[00:15:56]                 │ debg TestSubjects.clickWhenNotDisabled(savedObjectTitlefarequote)
[00:15:56]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="savedObjectTitlefarequote"]') with timeout=10000
[00:15:56]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitlefarequote"]') with timeout=10000
[00:15:56]                 │ debg TestSubjects.exists(mlPageJobTypeSelection)
[00:15:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobTypeSelection"]') with timeout=10000
[00:15:56]                 └- ✓ pass  (927ms) "machine learning anomaly detection single metric job creation loads the job type selection page"
[00:15:56]               └-> job creation loads the single metric job wizard page
[00:15:56]                 └-> "before each" hook: global before each
[00:15:56]                 │ debg TestSubjects.clickWhenNotDisabled(mlJobTypeLinkSingleMetricJob)
[00:15:56]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobTypeLinkSingleMetricJob"]') with timeout=10000
[00:15:56]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobTypeLinkSingleMetricJob"]') with timeout=10000
[00:15:56]                 │ debg TestSubjects.exists(mlPageJobWizard single_metric)
[00:15:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobWizard single_metric"]') with timeout=120000
[00:15:56]                 └- ✓ pass  (419ms) "machine learning anomaly detection single metric job creation loads the single metric job wizard page"
[00:15:56]               └-> job creation displays the time range step
[00:15:56]                 └-> "before each" hook: global before each
[00:15:56]                 │ debg TestSubjects.exists(mlJobWizardStepTitleTimeRange)
[00:15:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitleTimeRange"]') with timeout=120000
[00:15:57]                 └- ✓ pass  (159ms) "machine learning anomaly detection single metric job creation displays the time range step"
[00:15:57]               └-> job creation sets the timerange
[00:15:57]                 └-> "before each" hook: global before each
[00:15:57]                 │ debg TestSubjects.clickWhenNotDisabled(mlButtonUseFullData)
[00:15:57]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlButtonUseFullData"]') with timeout=10000
[00:15:57]                 │ debg Find.findByCssSelector('[data-test-subj="mlButtonUseFullData"]') with timeout=10000
[00:15:57]                 │ debg TestSubjects.find(mlJobWizardDateRange)
[00:15:57]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardDateRange"]') with timeout=10000
[00:15:57]                 └- ✓ pass  (269ms) "machine learning anomaly detection single metric job creation sets the timerange"
[00:15:57]               └-> job creation displays the event rate chart
[00:15:57]                 └-> "before each" hook: global before each
[00:15:57]                 │ debg TestSubjects.exists(~mlEventRateChart)
[00:15:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlEventRateChart"]') with timeout=120000
[00:15:57]                 │ debg TestSubjects.exists(mlEventRateChart withData)
[00:15:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlEventRateChart withData"]') with timeout=120000
[00:15:57]                 └- ✓ pass  (108ms) "machine learning anomaly detection single metric job creation displays the event rate chart"
[00:15:57]               └-> job creation displays the pick fields step
[00:15:57]                 └-> "before each" hook: global before each
[00:15:57]                 │ debg TestSubjects.exists(mlJobWizardNavButtonNext)
[00:15:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=120000
[00:15:57]                 │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardNavButtonNext)
[00:15:57]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:15:57]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:15:57]                 │ debg TestSubjects.exists(mlJobWizardStepTitlePickFields)
[00:15:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitlePickFields"]') with timeout=120000
[00:15:57]                 └- ✓ pass  (214ms) "machine learning anomaly detection single metric job creation displays the pick fields step"
[00:15:57]               └-> job creation selects field and aggregation
[00:15:57]                 └-> "before each" hook: global before each
[00:15:57]                 │ debg TestSubjects.exists(mlJobWizardAggSelection > comboBoxInput)
[00:15:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAggSelection"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:15:57]                 │ debg comboBox.set, comboBoxSelector: mlJobWizardAggSelection > comboBoxInput
[00:15:57]                 │ debg TestSubjects.find(mlJobWizardAggSelection > comboBoxInput)
[00:15:57]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardAggSelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:15:57]                 │ debg comboBox.setElement, value: Mean(responsetime)
[00:15:57]                 │ debg comboBox.isOptionSelected, value: Mean(responsetime)
[00:16:00]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:00]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Mean(responsetime)"]') with timeout=2500
[00:16:00]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:02]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:16:03]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlJobWizardAggSelection > comboBoxInput
[00:16:03]                 │ debg TestSubjects.find(mlJobWizardAggSelection > comboBoxInput)
[00:16:03]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardAggSelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:03]                 └- ✓ pass  (5.7s) "machine learning anomaly detection single metric job creation selects field and aggregation"
[00:16:03]               └-> job creation inputs the bucket span
[00:16:03]                 └-> "before each" hook: global before each
[00:16:03]                 │ debg TestSubjects.exists(mlJobWizardInputBucketSpan)
[00:16:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardInputBucketSpan"]') with timeout=120000
[00:16:03]                 │ debg TestSubjects.setValueWithChecks(mlJobWizardInputBucketSpan, 30m)
[00:16:03]                 │ debg TestSubjects.click(mlJobWizardInputBucketSpan)
[00:16:03]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardInputBucketSpan"]') with timeout=10000
[00:16:03]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputBucketSpan"]') with timeout=10000
[00:16:04]                 │ debg TestSubjects.getAttribute(mlJobWizardInputBucketSpan, value)
[00:16:04]                 │ debg TestSubjects.find(mlJobWizardInputBucketSpan)
[00:16:04]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputBucketSpan"]') with timeout=10000
[00:16:04]                 └- ✓ pass  (1.3s) "machine learning anomaly detection single metric job creation inputs the bucket span"
[00:16:04]               └-> job creation displays the job details step
[00:16:04]                 └-> "before each" hook: global before each
[00:16:04]                 │ debg TestSubjects.exists(mlJobWizardNavButtonNext)
[00:16:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=120000
[00:16:04]                 │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardNavButtonNext)
[00:16:04]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:16:04]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:16:05]                 │ debg TestSubjects.exists(mlJobWizardStepTitleJobDetails)
[00:16:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitleJobDetails"]') with timeout=120000
[00:16:05]                 └- ✓ pass  (741ms) "machine learning anomaly detection single metric job creation displays the job details step"
[00:16:05]               └-> job creation inputs the job id
[00:16:05]                 └-> "before each" hook: global before each
[00:16:05]                 │ debg TestSubjects.exists(mlJobWizardInputJobId)
[00:16:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardInputJobId"]') with timeout=120000
[00:16:05]                 │ debg TestSubjects.setValueWithChecks(mlJobWizardInputJobId, fq_single_1_1581070433822)
[00:16:05]                 │ debg TestSubjects.click(mlJobWizardInputJobId)
[00:16:05]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardInputJobId"]') with timeout=10000
[00:16:05]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputJobId"]') with timeout=10000
[00:16:06]                 │ debg TestSubjects.getAttribute(mlJobWizardInputJobId, value)
[00:16:06]                 │ debg TestSubjects.find(mlJobWizardInputJobId)
[00:16:06]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputJobId"]') with timeout=10000
[00:16:06]                 └- ✓ pass  (1.2s) "machine learning anomaly detection single metric job creation inputs the job id"
[00:16:06]               └-> job creation inputs the job description
[00:16:06]                 └-> "before each" hook: global before each
[00:16:06]                 │ debg TestSubjects.exists(mlJobWizardInputJobDescription)
[00:16:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardInputJobDescription"]') with timeout=120000
[00:16:06]                 │ debg TestSubjects.setValueWithChecks(mlJobWizardInputJobDescription, Create single metric job based on the farequote dataset with 30m bucketspan and mean(responsetime))
[00:16:06]                 │ debg TestSubjects.click(mlJobWizardInputJobDescription)
[00:16:06]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardInputJobDescription"]') with timeout=10000
[00:16:06]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputJobDescription"]') with timeout=10000
[00:16:10]                 │ debg TestSubjects.getVisibleText(mlJobWizardInputJobDescription)
[00:16:10]                 │ debg TestSubjects.find(mlJobWizardInputJobDescription)
[00:16:10]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputJobDescription"]') with timeout=10000
[00:16:10]                 └- ✓ pass  (4.0s) "machine learning anomaly detection single metric job creation inputs the job description"
[00:16:10]               └-> job creation inputs job groups
[00:16:10]                 └-> "before each" hook: global before each
[00:16:10]                 │ debg TestSubjects.exists(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:16:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:16:10]                 │ debg comboBox.setCustom, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput, value: automated
[00:16:10]                 │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:16:10]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:13]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:13]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput
[00:16:13]                 │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:16:13]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:13]                 │ debg comboBox.setCustom, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput, value: farequote
[00:16:13]                 │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:16:13]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:15]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:15]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput
[00:16:15]                 │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:16:15]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:15]                 │ debg comboBox.setCustom, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput, value: single-metric
[00:16:15]                 │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:16:15]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:17]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:18]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput
[00:16:18]                 │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:16:18]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:18]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput
[00:16:18]                 │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:16:18]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:18]                 └- ✓ pass  (7.4s) "machine learning anomaly detection single metric job creation inputs job groups"
[00:16:18]               └-> job creation opens the additional settings section
[00:16:18]                 └-> "before each" hook: global before each
[00:16:18]                 │ debg TestSubjects.exists(mlJobWizardAdditionalSettingsSection)
[00:16:18]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdditionalSettingsSection"]') with timeout=2500
[00:16:18]                 │ debg --- retry.tryForTime error: [data-test-subj="mlJobWizardAdditionalSettingsSection"] is not displayed
[00:16:18]                 │ debg --- retry.tryForTime failed again with the same message...
[00:16:19]                 │ debg --- retry.tryForTime failed again with the same message...
[00:16:19]                 │ debg --- retry.tryForTime failed again with the same message...
[00:16:20]                 │ debg --- retry.tryForTime failed again with the same message...
[00:16:20]                 │ debg TestSubjects.click(mlJobWizardToggleAdditionalSettingsSection)
[00:16:20]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardToggleAdditionalSettingsSection"]') with timeout=10000
[00:16:20]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardToggleAdditionalSettingsSection"]') with timeout=10000
[00:16:20]                 │ debg TestSubjects.exists(mlJobWizardAdditionalSettingsSection)
[00:16:20]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdditionalSettingsSection"]') with timeout=1000
[00:16:20]                 └- ✓ pass  (2.7s) "machine learning anomaly detection single metric job creation opens the additional settings section"
[00:16:20]               └-> job creation adds a new custom url
[00:16:20]                 └-> "before each" hook: global before each
[00:16:20]                 │ debg TestSubjects.exists(mlJobWizardAdditionalSettingsSection)
[00:16:20]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdditionalSettingsSection"]') with timeout=2500
[00:16:20]                 │ debg TestSubjects.findAll(mlJobEditCustomUrlsList > *)
[00:16:20]                 │ debg Find.allByCssSelector('[data-test-subj="mlJobEditCustomUrlsList"] [data-test-subj="*"]') with timeout=10000
[00:16:30]                 │ debg TestSubjects.exists(mlJobNewCustomUrlFormModal)
[00:16:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobNewCustomUrlFormModal"]') with timeout=2500
[00:16:33]                 │ debg --- retry.tryForTime error: [data-test-subj="mlJobNewCustomUrlFormModal"] is not displayed
[00:16:33]                 │ debg TestSubjects.click(mlJobOpenCustomUrlFormButton)
[00:16:33]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobOpenCustomUrlFormButton"]') with timeout=10000
[00:16:33]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobOpenCustomUrlFormButton"]') with timeout=10000
[00:16:34]                 │ debg TestSubjects.exists(mlJobNewCustomUrlFormModal)
[00:16:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobNewCustomUrlFormModal"]') with timeout=1000
[00:16:34]                 │ debg TestSubjects.setValue(mlJobCustomUrlLabelInput, check-kibana-dashboard)
[00:16:34]                 │ debg TestSubjects.click(mlJobCustomUrlLabelInput)
[00:16:34]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobCustomUrlLabelInput"]') with timeout=10000
[00:16:34]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobCustomUrlLabelInput"]') with timeout=10000
[00:16:34]                 │ debg TestSubjects.getAttribute(mlJobCustomUrlLabelInput, value)
[00:16:34]                 │ debg TestSubjects.find(mlJobCustomUrlLabelInput)
[00:16:34]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobCustomUrlLabelInput"]') with timeout=10000
[00:16:34]                 │ debg TestSubjects.click(mlJobAddCustomUrl)
[00:16:34]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobAddCustomUrl"]') with timeout=10000
[00:16:34]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobAddCustomUrl"]') with timeout=10000
[00:16:34]                 │ debg TestSubjects.missingOrFail(mlJobNewCustomUrlFormModal)
[00:16:34]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlJobNewCustomUrlFormModal"]') with timeout=10000
[00:16:35]                 │ debg TestSubjects.exists(mlJobEditCustomUrlItem_0)
[00:16:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobEditCustomUrlItem_0"]') with timeout=120000
[00:16:35]                 │ debg TestSubjects.getAttribute(mlJobEditCustomUrlLabelInput_0, value)
[00:16:35]                 │ debg TestSubjects.find(mlJobEditCustomUrlLabelInput_0)
[00:16:35]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobEditCustomUrlLabelInput_0"]') with timeout=10000
[00:16:35]                 └- ✓ pass  (14.4s) "machine learning anomaly detection single metric job creation adds a new custom url"
[00:16:35]               └-> job creation assigns calendars
[00:16:35]                 └-> "before each" hook: global before each
[00:16:35]                 │ debg TestSubjects.exists(mlJobWizardAdditionalSettingsSection)
[00:16:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdditionalSettingsSection"]') with timeout=2500
[00:16:35]                 │ debg comboBox.setCustom, comboBoxSelector: mlJobWizardComboBoxCalendars > comboBoxInput, value: wizard-test-calendar
[00:16:35]                 │ debg TestSubjects.find(mlJobWizardComboBoxCalendars > comboBoxInput)
[00:16:35]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxCalendars"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:37]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:37]                 │ debg TestSubjects.exists(mlJobWizardAdditionalSettingsSection)
[00:16:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdditionalSettingsSection"]') with timeout=2500
[00:16:37]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlJobWizardComboBoxCalendars > comboBoxInput
[00:16:37]                 │ debg TestSubjects.find(mlJobWizardComboBoxCalendars > comboBoxInput)
[00:16:37]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxCalendars"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:16:37]                 └- ✓ pass  (2.6s) "machine learning anomaly detection single metric job creation assigns calendars"
[00:16:37]               └-> job creation opens the advanced section
[00:16:37]                 └-> "before each" hook: global before each
[00:16:37]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:16:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:16:37]                 │ debg --- retry.tryForTime error: [data-test-subj="mlJobWizardAdvancedSection"] is not displayed
[00:16:38]                 │ debg --- retry.tryForTime failed again with the same message...
[00:16:38]                 │ debg --- retry.tryForTime failed again with the same message...
[00:16:39]                 │ debg --- retry.tryForTime failed again with the same message...
[00:16:39]                 │ debg --- retry.tryForTime failed again with the same message...
[00:16:40]                 │ debg TestSubjects.click(mlJobWizardToggleAdvancedSection)
[00:16:40]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardToggleAdvancedSection"]') with timeout=10000
[00:16:40]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardToggleAdvancedSection"]') with timeout=10000
[00:16:40]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:16:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=1000
[00:16:40]                 └- ✓ pass  (2.8s) "machine learning anomaly detection single metric job creation opens the advanced section"
[00:16:40]               └-> job creation displays the model plot switch
[00:16:40]                 └-> "before each" hook: global before each
[00:16:40]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:16:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:16:40]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection > mlJobWizardSwitchModelPlot)
[00:16:40]                 │ debg Find.existsByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardSwitchModelPlot"]') with timeout=120000
[00:16:40]                 └- ✓ pass  (47ms) "machine learning anomaly detection single metric job creation displays the model plot switch"
[00:16:40]               └-> job creation enables the dedicated index switch
[00:16:40]                 └-> "before each" hook: global before each
[00:16:40]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:16:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:16:40]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection > mlJobWizardSwitchUseDedicatedIndex)
[00:16:40]                 │ debg Find.existsByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardSwitchUseDedicatedIndex"]') with timeout=120000
[00:16:40]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:16:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:16:40]                 │ debg TestSubjects.getAttribute(mlJobWizardSwitchUseDedicatedIndex, aria-checked)
[00:16:40]                 │ debg TestSubjects.find(mlJobWizardSwitchUseDedicatedIndex)
[00:16:40]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardSwitchUseDedicatedIndex"]') with timeout=10000
[00:16:40]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:16:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:16:40]                 │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardAdvancedSection > mlJobWizardSwitchUseDedicatedIndex)
[00:16:40]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardSwitchUseDedicatedIndex"]') with timeout=10000
[00:16:40]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardSwitchUseDedicatedIndex"]') with timeout=10000
[00:16:40]                 │ debg TestSubjects.getAttribute(mlJobWizardSwitchUseDedicatedIndex, aria-checked)
[00:16:40]                 │ debg TestSubjects.find(mlJobWizardSwitchUseDedicatedIndex)
[00:16:40]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardSwitchUseDedicatedIndex"]') with timeout=10000
[00:16:40]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:16:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:16:40]                 └- ✓ pass  (370ms) "machine learning anomaly detection single metric job creation enables the dedicated index switch"
[00:16:40]               └-> job creation inputs the model memory limit
[00:16:40]                 └-> "before each" hook: global before each
[00:16:40]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:16:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:16:41]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection > mlJobWizardInputModelMemoryLimit)
[00:16:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardInputModelMemoryLimit"]') with timeout=120000
[00:16:41]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:16:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:16:41]                 │ debg TestSubjects.setValueWithChecks(mlJobWizardAdvancedSection > mlJobWizardInputModelMemoryLimit, 15mb)
[00:16:41]                 │ debg TestSubjects.click(mlJobWizardAdvancedSection > mlJobWizardInputModelMemoryLimit)
[00:16:41]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardInputModelMemoryLimit"]') with timeout=10000
[00:16:41]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardInputModelMemoryLimit"]') with timeout=10000
[00:16:41]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:16:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:16:41]                 │ debg TestSubjects.getAttribute(mlJobWizardAdvancedSection > mlJobWizardInputModelMemoryLimit, value)
[00:16:41]                 │ debg TestSubjects.find(mlJobWizardAdvancedSection > mlJobWizardInputModelMemoryLimit)
[00:16:41]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardInputModelMemoryLimit"]') with timeout=10000
[00:16:41]                 └- ✓ pass  (443ms) "machine learning anomaly detection single metric job creation inputs the model memory limit"
[00:16:41]               └-> job creation displays the validation step
[00:16:41]                 └-> "before each" hook: global before each
[00:16:41]                 │ debg TestSubjects.exists(mlJobWizardNavButtonNext)
[00:16:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=120000
[00:16:41]                 │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardNavButtonNext)
[00:16:41]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:16:41]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:16:42]                 │ debg TestSubjects.exists(mlJobWizardStepTitleValidation)
[00:16:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitleValidation"]') with timeout=120000
[00:16:42]                 └- ✓ pass  (669ms) "machine learning anomaly detection single metric job creation displays the validation step"
[00:16:42]               └-> job creation displays the summary step
[00:16:42]                 └-> "before each" hook: global before each
[00:16:42]                 │ debg TestSubjects.exists(mlJobWizardNavButtonNext)
[00:16:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=120000
[00:16:42]                 │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardNavButtonNext)
[00:16:42]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:16:42]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:16:42]                 │ debg TestSubjects.exists(mlJobWizardStepTitleSummary)
[00:16:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitleSummary"]') with timeout=120000
[00:16:42]                 └- ✓ pass  (523ms) "machine learning anomaly detection single metric job creation displays the summary step"
[00:16:42]               └-> job creation creates the job and finishes processing
[00:16:42]                 └-> "before each" hook: global before each
[00:16:42]                 │ debg TestSubjects.exists(mlJobWizardButtonCreateJob)
[00:16:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardButtonCreateJob"]') with timeout=120000
[00:16:42]                 │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardButtonCreateJob)
[00:16:42]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardButtonCreateJob"]') with timeout=10000
[00:16:42]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardButtonCreateJob"]') with timeout=10000
[00:16:42]                 │ debg TestSubjects.exists(mlJobWizardButtonRunInRealTime)
[00:16:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardButtonRunInRealTime"]') with timeout=120000
[00:16:42]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.ml-anomalies-custom-fq_single_1_1581070433822] creating index, cause [api], templates [.ml-anomalies-], shards [1]/[1], mappings [_doc]
[00:16:42]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] updating number_of_replicas to [0] for indices [.ml-anomalies-custom-fq_single_1_1581070433822]
[00:16:42]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.ml-config] creating index, cause [auto(bulk api)], templates [.ml-config], shards [1]/[1], mappings [_doc]
[00:16:42]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] updating number_of_replicas to [0] for indices [.ml-config]
[00:16:43]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.ml-config/HzkfP2sQRSKk0HTAkYK7Eg] update_mapping [_doc]
[00:16:43]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.ml-notifications-000001] creating index, cause [auto(bulk api)], templates [.ml-notifications-000001], shards [1]/[1], mappings [_doc]
[00:16:43]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] updating number_of_replicas to [0] for indices [.ml-notifications-000001]
[00:16:43]                 │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] Opening job [fq_single_1_1581070433822]
[00:16:43]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.ml-state] creating index, cause [api], templates [.ml-state], shards [1]/[1], mappings [_doc]
[00:16:43]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] updating number_of_replicas to [0] for indices [.ml-state]
[00:16:43]                 │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [fq_single_1_1581070433822] Loading model snapshot [N/A], job latest_record_timestamp [N/A]
[00:16:43]                 │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [fq_single_1_1581070433822] [autodetect/42229] [CResourceMonitor.cc@71] Setting model memory limit to 15 MB
[00:16:43]                 │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] Successfully set job state to [opened] for job [fq_single_1_1581070433822]
[00:16:43]                 │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [fq_single_1_1581070433822] Datafeed started (from: 2016-02-07T00:00:00.000Z to: 2016-02-11T23:59:54.001Z) with frequency [540000ms]
[00:16:44]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.ml-anomalies-custom-fq_single_1_1581070433822/DiP_gRMQRriMLouMl86JHw] update_mapping [_doc]
[00:16:45]                 │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [fq_single_1_1581070433822] Lookback has finished
[00:16:45]                 │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [no_realtime] attempt to stop datafeed [datafeed-fq_single_1_1581070433822] for job [fq_single_1_1581070433822]
[00:16:45]                 │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [no_realtime] try lock [20s] to stop datafeed [datafeed-fq_single_1_1581070433822] for job [fq_single_1_1581070433822]...
[00:16:45]                 │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [no_realtime] stopping datafeed [datafeed-fq_single_1_1581070433822] for job [fq_single_1_1581070433822], acquired [true]...
[00:16:45]                 │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [no_realtime] datafeed [datafeed-fq_single_1_1581070433822] for job [fq_single_1_1581070433822] has been stopped
[00:16:45]                 │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] Closing job [fq_single_1_1581070433822], because [close job (api)]
[00:16:45]                 │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [fq_single_1_1581070433822] [autodetect/42229] [CCmdSkeleton.cc@45] Handled 2399 records
[00:16:45]                 │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [fq_single_1_1581070433822] [autodetect/42229] [CAnomalyJob.cc@1499] Pruning all models
[00:16:45]                 │ info [o.e.x.m.p.AbstractNativeProcess] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [fq_single_1_1581070433822] State output finished
[00:16:45]                 │ debg browser[INFO] http://localhost:6141/bundles/57.bundle.js 2:235895 "Response for job query:" Object
[00:16:45]                 │ debg browser[INFO] http://localhost:6141/bundles/57.bundle.js 2:245519 "checkSaveResponse(): save successful"
[00:16:45]                 │ debg --- retry.tryForTime error: [data-test-subj="mlJobWizardButtonRunInRealTime"] is not displayed
[00:16:45]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [.ml-anomalies-custom-fq_single_1_1581070433822/DiP_gRMQRriMLouMl86JHw] update_mapping [_doc]
[00:16:45]                 │ info [o.e.x.m.j.p.a.o.AutodetectResultProcessor] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [fq_single_1_1581070433822] 239 buckets parsed from autodetect output
[00:16:46]                 │ info [o.e.x.m.j.p.a.AutodetectCommunicator] [kibana-ci-immutable-debian-tests-xl-1581068455825165348] [fq_single_1_1581070433822] job closed
[00:16:46]                 └- ✓ pass  (4.1s) "machine learning anomaly detection single metric job creation creates the job and finishes processing"
[00:16:46]               └-> job creation displays the created job in the job list
[00:16:46]                 └-> "before each" hook: global before each
[00:16:46]                 │ debg navigating to ml url: http://localhost:6141/app/ml
[00:16:46]                 │ debg Navigate to: http://localhost:6141/app/ml
[00:16:46]                 │ debg ... sleep(700) start
[00:16:46]                 │ debg browser[INFO] http://localhost:6141/app/ml?_t=1581071442876 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:16:46]                 │
[00:16:46]                 │ debg browser[INFO] http://localhost:6141/bundles/app/ml/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:47]                 │ debg ... sleep(700) end
[00:16:47]                 │ debg returned from get, calling refresh
[00:16:47]                 │ debg browser[INFO] http://localhost:6141/app/ml?_t=1581071442876 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:16:47]                 │
[00:16:47]                 │ debg browser[INFO] http://localhost:6141/bundles/app/ml/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:47]                 │ debg currentUrl = http://localhost:6141/app/ml
[00:16:47]                 │          appUrl = http://localhost:6141/app/ml
[00:16:47]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:16:51]                 │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_3.bundle.dll.js 181:139970 "INFO: 2020-02-07T10:30:46Z
[00:16:51]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:16:51]                 │
[00:16:51]                 │      "
[00:16:51]                 │ debg ... sleep(501) start
[00:16:51]                 │ debg ... sleep(501) end
[00:16:51]                 │ debg in navigateTo url = http://localhost:6141/app/ml#/overview?_g=(refreshInterval:(pause:!t,value:0))
[00:16:51]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:16:52]                 │ debg ... sleep(501) start
[00:16:52]                 │ debg ... sleep(501) end
[00:16:52]                 │ debg in navigateTo url = http://localhost:6141/app/ml#/overview?_g=(refreshInterval:(pause:!t,value:0))
[00:16:52]                 │ debg TestSubjects.exists(statusPageContainer)
[00:16:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:16:55]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:16:55]                 │ debg TestSubjects.click(~mlMainTab & ~anomalyDetection)
[00:16:55]                 │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:16:55]                 │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:16:55]                 │ debg TestSubjects.exists(~mlMainTab & ~anomalyDetection & ~selected)
[00:16:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"][data-test-subj~="selected"]') with timeout=120000
[00:16:56]                 │ debg TestSubjects.exists(mlPageJobManagement)
[00:16:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobManagement"]') with timeout=120000
[00:16:56]                 │ debg TestSubjects.findAll(~mlSubTab)
[00:16:56]                 │ debg Find.allByCssSelector('[data-test-subj~="mlSubTab"]') with timeout=3
[00:16:56]                 │ debg TestSubjects.exists(~mlSubTab&~jobManagement)
[00:16:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="jobManagement"]') with timeout=1000
[00:16:56]                 │ debg TestSubjects.exists(~mlSubTab&~anomalyExplorer)
[00:16:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="anomalyExplorer"]') with timeout=1000
[00:16:56]                 │ debg TestSubjects.exists(~mlSubTab&~singleMetricViewer)
[00:16:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="singleMetricViewer"]') with timeout=1000
[00:16:56]                 │ debg TestSubjects.exists(~mlSubTab&~settings)
[00:16:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="settings"]') with timeout=1000
[00:16:56]                 │ debg TestSubjects.click(~mlSubTab & ~jobManagement)
[00:16:56]                 │ debg Find.clickByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="jobManagement"]') with timeout=10000
[00:16:56]                 │ debg Find.findByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="jobManagement"]') with timeout=10000
[00:16:56]                 │ debg TestSubjects.exists(~mlSubTab & ~jobManagement & ~selected)
[00:16:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlSubTab"][data-test-subj~="jobManagement"][data-test-subj~="selected"]') with timeout=120000
[00:16:56]                 │ debg TestSubjects.exists(mlPageJobManagement)
[00:16:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobManagement"]') with timeout=120000
[00:16:56]                 │ debg TestSubjects.exists(~mlJobListTable)
[00:16:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:16:56]                 │ debg TestSubjects.exists(mlJobListTable loaded)
[00:16:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:16:56]                 │ debg TestSubjects.exists(~mlJobListTable)
[00:16:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:16:56]                 │ debg TestSubjects.exists(mlJobListTable loaded)
[00:16:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:16:56]                 │ debg TestSubjects.find(mlJobListSearchBar)
[00:16:56]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobListSearchBar"]') with timeout=10000
[00:16:57]                 │ debg TestSubjects.find(~mlJobListTable)
[00:16:57]                 │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=10000
[00:16:57]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/machine learning anomaly detection single metric job creation displays the created job in the job list.png"
[00:16:57]                 │ info Current URL is: http://localhost:6141/app/ml#/jobs?_g=(refreshInterval:(pause:!f,value:30000))
[00:16:57]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/machine learning anomaly detection single metric job creation displays the created job in the job list.html
[00:16:57]                 └- ✖ fail: "machine learning anomaly detection single metric job creation displays the created job in the job list"
[00:16:57]                 │

Stack Trace

Error: expected [] to have a length of 1 but got 0
    at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.length (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:374:8)
    at Context.it (test/functional/apps/machine_learning/anomaly_detection/single_metric_job.ts:205:60)
    at process._tickCallback (internal/process/next_tick.js:68:7)

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

} else {
this.setRefreshInterval(value);
componentDidUpdate(prevProps) {
if (prevProps.lastRefresh !== this.props.lastRefresh && this.props.blockRefresh === false) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

as blockRefresh is optional, should this check be for !== true?
do we want to treat a non-existing blockRefresh as being a false condition? if that makes sense.

Copy link
Copy Markdown
Contributor Author

@walterra walterra Feb 9, 2020

Choose a reason for hiding this comment

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

Fixed in c8ec7a5 and dec6509.

@peteharverson
Copy link
Copy Markdown
Contributor

If I open the page with a refresh interval set in the URL, such as http://localhost:5601/hek/app/ml#/jobs?_g=(refreshInterval:(pause:!f,value:10000)), I'm expecting the refresh interval to get set to 10s, but it is getting set back to 30s on opening.

@walterra
Copy link
Copy Markdown
Contributor Author

@peteharverson Hopefully fixed with 4212c9e. We were retaining the globalState only when navigating the sub-tabs, I added the same code for the main tabs. Also changed the code to only reset the refreshInterval for the jobs list when it's really just 0s/pause=true.

Copy link
Copy Markdown
Contributor

@alvarezmelissa87 alvarezmelissa87 left a comment

Choose a reason for hiding this comment

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

Tested and LGTM ⚡️

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

History

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

Copy link
Copy Markdown
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

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

Tested latest edits and LGTM.

Copy link
Copy Markdown
Member

@jgowdyelastic jgowdyelastic left a comment

Choose a reason for hiding this comment

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

LGTM

@jgowdyelastic jgowdyelastic merged commit c654018 into elastic:master Feb 11, 2020
jgowdyelastic pushed a commit to jgowdyelastic/kibana that referenced this pull request Feb 11, 2020
* [ML] Fix anomaly detection jobs list default refresh.

* [ML] Fix initial load of jobs list.

* [ML] Fix blockRefresh check.

* [ML] Fix blockRefresh check.

* [ML] Fix passing globalState between main tabs and retain custom refreshInterval when loading jobs list.
jgowdyelastic added a commit that referenced this pull request Feb 11, 2020
* [ML] Fix anomaly detection jobs list default refresh.

* [ML] Fix initial load of jobs list.

* [ML] Fix blockRefresh check.

* [ML] Fix blockRefresh check.

* [ML] Fix passing globalState between main tabs and retain custom refreshInterval when loading jobs list.

Co-authored-by: Walter Rafelsberger <walter@rafelsberger.at>
jgowdyelastic pushed a commit to jgowdyelastic/kibana that referenced this pull request Feb 11, 2020
* [ML] Fix anomaly detection jobs list default refresh.

* [ML] Fix initial load of jobs list.

* [ML] Fix blockRefresh check.

* [ML] Fix blockRefresh check.

* [ML] Fix passing globalState between main tabs and retain custom refreshInterval when loading jobs list.
jgowdyelastic added a commit that referenced this pull request Feb 11, 2020
* [ML] Fix anomaly detection jobs list default refresh.

* [ML] Fix initial load of jobs list.

* [ML] Fix blockRefresh check.

* [ML] Fix blockRefresh check.

* [ML] Fix passing globalState between main tabs and retain custom refreshInterval when loading jobs list.

Co-authored-by: Walter Rafelsberger <walter@rafelsberger.at>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@walterra walterra deleted the ml-fix-jobs-list-refresh branch March 3, 2020 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Fixes for quality problems that affect the customer experience Feature:Anomaly Detection ML anomaly detection :ml regression release_note:fix v7.6.1 v7.7.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ML] Default auto-refresh is Off

6 participants