Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Embedded panel styles #58654

Conversation

ryankeairns
Copy link
Contributor

Testing some panel changes that Catherine and I discussed.
These may need moved to another file, but since this is a WIP it was the easiest way to test.

@ryankeairns ryankeairns requested review from a team as code owners February 26, 2020 20:25
@kibanamachine
Copy link
Contributor

💔 Build Failed


Test Failures

Kibana Pipeline / x-pack-intake-agent / X-Pack Jest Tests.x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/embeddable.input to expression Lens Embeddable converts to a savedLens expression

Link to Jenkins

Standard Out

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


Stack Trace

Error: expect(received).toBe(expected) // Object.is equality

Expected: "bar"
Received: "foo"
    at Object.it (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.test.ts:78:21)
    at Object.asyncJestTest (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:102:37)
    at resolve (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/queueRunner.js:43:12)
    at new Promise (<anonymous>)
    at mapper (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/queueRunner.js:26:19)
    at promise.then (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/queueRunner.js:73:41)
    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/data_frame_analytics/classification_creation·ts.machine learning data frame analytics classification creation bank marketing starts the analytics job

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:11:41]         └-: machine learning
[00:11:41]           └-> "before all" hook
[00:34:51]           └-: data frame analytics
[00:34:51]             └-> "before all" hook
[00:36:06]             └-: classification creation
[00:36:06]               └-> "before all" hook
[00:36:06]               └-> "before all" hook
[00:36:06]                 │ info [ml/bm_classification] Loading "mappings.json"
[00:36:06]                 │ info [ml/bm_classification] Loading "data.json.gz"
[00:36:06]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] [bank-marketing] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:36:06]                 │ info [ml/bm_classification] Created index "bank-marketing"
[00:36:06]                 │ debg [ml/bm_classification] "bank-marketing" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:36:06]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] [.kibana_2/MhTmBpzMRLKMqXWGpnk8fw] deleting index
[00:36:06]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] [.kibana_1/XeLXh3vGS32N8zm02SFxAQ] deleting index
[00:36:06]                 │ info [ml/bm_classification] Deleted existing index [".kibana_2",".kibana_1"]
[00:36:06]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:36:06]                 │ info [ml/bm_classification] Created index ".kibana_1"
[00:36:06]                 │ debg [ml/bm_classification] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:36:07]                 │ info [ml/bm_classification] Indexed 9314 docs into "bank-marketing"
[00:36:07]                 │ info [ml/bm_classification] Indexed 5 docs into ".kibana_1"
[00:36:07]               └-: bank marketing
[00:36:07]                 └-> "before all" hook
[00:36:07]                 └-> loads the data frame analytics page
[00:36:07]                   └-> "before each" hook: global before each
[00:36:07]                   │ debg navigating to ml url: http://localhost:6141/app/ml
[00:36:07]                   │ debg Navigate to: http://localhost:6141/app/ml
[00:36:08]                   │ debg ... sleep(700) start
[00:36:08]                   │ debg browser[INFO] http://localhost:6141/app/ml?_t=1582755909710 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:36:08]                   │
[00:36:08]                   │ 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:36:09]                   │ debg ... sleep(700) end
[00:36:09]                   │ debg returned from get, calling refresh
[00:36:09]                   │ debg browser[INFO] http://localhost:6141/app/ml?_t=1582755909710 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:36:09]                   │
[00:36:09]                   │ 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:36:09]                   │ debg currentUrl = http://localhost:6141/app/ml
[00:36:09]                   │          appUrl = http://localhost:6141/app/ml
[00:36:09]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:36:12]                   │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_3.bundle.dll.js 582:139970 "INFO: 2020-02-26T22:25:13Z
[00:36:12]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:36:12]                   │
[00:36:12]                   │      "
[00:36:12]                   │ debg ... sleep(501) start
[00:36:12]                   │ debg ... sleep(501) end
[00:36:12]                   │ debg in navigateTo url = http://localhost:6141/app/ml#/overview?_g=(refreshInterval:(pause:!t,value:0))
[00:36:12]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:36:13]                   │ debg ... sleep(501) start
[00:36:13]                   │ debg ... sleep(501) end
[00:36:13]                   │ debg in navigateTo url = http://localhost:6141/app/ml#/overview?_g=(refreshInterval:(pause:!t,value:0))
[00:36:13]                   │ debg TestSubjects.exists(statusPageContainer)
[00:36:13]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:36:16]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:36:16]                   │ debg TestSubjects.click(~mlMainTab & ~dataFrameAnalytics)
[00:36:16]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:36:16]                   │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:36:16]                   │ debg TestSubjects.exists(~mlMainTab & ~dataFrameAnalytics & ~selected)
[00:36:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"][data-test-subj~="selected"]') with timeout=120000
[00:36:17]                   │ debg TestSubjects.exists(mlPageDataFrameAnalytics)
[00:36:17]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalytics"]') with timeout=120000
[00:36:17]                   │ debg TestSubjects.findAll(~mlSubTab)
[00:36:17]                   │ debg Find.allByCssSelector('[data-test-subj~="mlSubTab"]') with timeout=3
[00:36:17]                   └- ✓ pass  (9.3s) "machine learning data frame analytics classification creation bank marketing loads the data frame analytics page"
[00:36:17]                 └-> loads the job creation flyout
[00:36:17]                   └-> "before each" hook: global before each
[00:36:17]                   │ debg TestSubjects.exists(mlNoDataFrameAnalyticsFound)
[00:36:17]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlNoDataFrameAnalyticsFound"]') with timeout=2500
[00:36:17]                   │ debg TestSubjects.click(mlAnalyticsCreateFirstButton)
[00:36:17]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateFirstButton"]') with timeout=10000
[00:36:17]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateFirstButton"]') with timeout=10000
[00:36:17]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyout)
[00:36:17]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyout"]') with timeout=120000
[00:36:17]                   └- ✓ pass  (308ms) "machine learning data frame analytics classification creation bank marketing loads the job creation flyout"
[00:36:17]                 └-> selects the job type
[00:36:17]                   └-> "before each" hook: global before each
[00:36:17]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:36:17]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=120000
[00:36:17]                   │ debg Find.selectValue('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]', option[value="classification"]')
[00:36:17]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:36:17]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:36:17]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:36:17]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:36:17]                   └- ✓ pass  (159ms) "machine learning data frame analytics classification creation bank marketing selects the job type"
[00:36:17]                 └-> inputs the job id
[00:36:17]                   └-> "before each" hook: global before each
[00:36:17]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutJobIdInput)
[00:36:17]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobIdInput"]') with timeout=120000
[00:36:17]                   │ debg TestSubjects.setValue(mlAnalyticsCreateJobFlyoutJobIdInput, bm_1_1582753740087)
[00:36:17]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutJobIdInput)
[00:36:17]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobIdInput"]') with timeout=10000
[00:36:17]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobIdInput"]') with timeout=10000
[00:36:17]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobIdInput, value)
[00:36:17]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobIdInput)
[00:36:17]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobIdInput"]') with timeout=10000
[00:36:17]                   └- ✓ pass  (335ms) "machine learning data frame analytics classification creation bank marketing inputs the job id"
[00:36:17]                 └-> inputs the job description
[00:36:17]                   └-> "before each" hook: global before each
[00:36:17]                   │ debg TestSubjects.exists(mlDFAnalyticsJobCreationJobDescription)
[00:36:17]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFAnalyticsJobCreationJobDescription"]') with timeout=120000
[00:36:17]                   │ debg TestSubjects.setValue(mlDFAnalyticsJobCreationJobDescription, Classification job based on 'bank-marketing' dataset with dependentVariable 'y' and trainingPercent '20')
[00:36:17]                   │ debg TestSubjects.click(mlDFAnalyticsJobCreationJobDescription)
[00:36:17]                   │ debg Find.clickByCssSelector('[data-test-subj="mlDFAnalyticsJobCreationJobDescription"]') with timeout=10000
[00:36:17]                   │ debg Find.findByCssSelector('[data-test-subj="mlDFAnalyticsJobCreationJobDescription"]') with timeout=10000
[00:36:18]                   │ debg TestSubjects.getAttribute(mlDFAnalyticsJobCreationJobDescription, value)
[00:36:18]                   │ debg TestSubjects.find(mlDFAnalyticsJobCreationJobDescription)
[00:36:18]                   │ debg Find.findByCssSelector('[data-test-subj="mlDFAnalyticsJobCreationJobDescription"]') with timeout=10000
[00:36:18]                   └- ✓ pass  (943ms) "machine learning data frame analytics classification creation bank marketing inputs the job description"
[00:36:18]                 └-> selects the source index
[00:36:18]                   └-> "before each" hook: global before each
[00:36:18]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutSourceIndexSelect > comboBoxInput)
[00:36:18]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutSourceIndexSelect"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:36:18]                   │ debg comboBox.set, comboBoxSelector: mlAnalyticsCreateJobFlyoutSourceIndexSelect > comboBoxInput
[00:36:18]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutSourceIndexSelect > comboBoxInput)
[00:36:18]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutSourceIndexSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:36:18]                   │ debg comboBox.setElement, value: bank-marketing*
[00:36:18]                   │ debg comboBox.isOptionSelected, value: bank-marketing*
[00:36:21]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:36:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:36:21]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="bank-marketing*"]') with timeout=2500
[00:36:21]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:36:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:36:23]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:36:24]                   │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlAnalyticsCreateJobFlyoutSourceIndexSelect > comboBoxInput
[00:36:24]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutSourceIndexSelect > comboBoxInput)
[00:36:24]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutSourceIndexSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:36:24]                   └- ✓ pass  (5.5s) "machine learning data frame analytics classification creation bank marketing selects the source index"
[00:36:24]                 └-> inputs the destination index
[00:36:24]                   └-> "before each" hook: global before each
[00:36:24]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutDestinationIndexInput)
[00:36:24]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDestinationIndexInput"]') with timeout=120000
[00:36:24]                   │ debg TestSubjects.setValue(mlAnalyticsCreateJobFlyoutDestinationIndexInput, dest_bm_1_1582753740087)
[00:36:24]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutDestinationIndexInput)
[00:36:24]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDestinationIndexInput"]') with timeout=10000
[00:36:24]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDestinationIndexInput"]') with timeout=10000
[00:36:24]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutDestinationIndexInput, value)
[00:36:24]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutDestinationIndexInput)
[00:36:24]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDestinationIndexInput"]') with timeout=10000
[00:36:24]                   └- ✓ pass  (352ms) "machine learning data frame analytics classification creation bank marketing inputs the destination index"
[00:36:24]                 └-> inputs the dependent variable
[00:36:24]                   └-> "before each" hook: global before each
[00:36:24]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutDependentVariableSelect > comboBoxInput)
[00:36:24]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDependentVariableSelect"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:36:24]                   │ debg comboBox.set, comboBoxSelector: mlAnalyticsCreateJobFlyoutDependentVariableSelect > comboBoxInput
[00:36:24]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutDependentVariableSelect > comboBoxInput)
[00:36:24]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDependentVariableSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:36:24]                   │ debg comboBox.setElement, value: y
[00:36:24]                   │ debg comboBox.isOptionSelected, value: y
[00:36:26]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:36:26]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:36:27]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="y"]') with timeout=2500
[00:36:27]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:36:27]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:36:29]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:36:30]                   │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlAnalyticsCreateJobFlyoutDependentVariableSelect > comboBoxInput
[00:36:30]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutDependentVariableSelect > comboBoxInput)
[00:36:30]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDependentVariableSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:36:30]                   └- ✓ pass  (5.4s) "machine learning data frame analytics classification creation bank marketing inputs the dependent variable"
[00:36:30]                 └-> inputs the training percent
[00:36:30]                   └-> "before each" hook: global before each
[00:36:30]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutTrainingPercentSlider)
[00:36:30]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutTrainingPercentSlider"]') with timeout=120000
[00:36:30]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutTrainingPercentSlider)
[00:36:30]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutTrainingPercentSlider"]') with timeout=10000
[00:36:30]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 80
[00:36:30]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '70')
[00:36:31]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 70
[00:36:31]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '60')
[00:36:32]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 60
[00:36:32]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '50')
[00:36:33]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 50
[00:36:33]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '40')
[00:36:34]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 40
[00:36:34]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '30')
[00:36:35]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 30
[00:36:35]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '20')
[00:36:36]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutTrainingPercentSlider, value)
[00:36:36]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutTrainingPercentSlider)
[00:36:36]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutTrainingPercentSlider"]') with timeout=10000
[00:36:36]                   └- ✓ pass  (6.1s) "machine learning data frame analytics classification creation bank marketing inputs the training percent"
[00:36:36]                 └-> inputs the model memory limit
[00:36:36]                   └-> "before each" hook: global before each
[00:36:36]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutModelMemoryInput)
[00:36:36]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutModelMemoryInput"]') with timeout=120000
[00:36:36]                   │ debg TestSubjects.setValue(mlAnalyticsCreateJobFlyoutModelMemoryInput, 105mb)
[00:36:36]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutModelMemoryInput)
[00:36:36]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutModelMemoryInput"]') with timeout=10000
[00:36:36]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutModelMemoryInput"]') with timeout=10000
[00:36:36]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutModelMemoryInput, value)
[00:36:36]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutModelMemoryInput)
[00:36:36]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutModelMemoryInput"]') with timeout=10000
[00:36:36]                   └- ✓ pass  (222ms) "machine learning data frame analytics classification creation bank marketing inputs the model memory limit"
[00:36:36]                 └-> sets the create index pattern switch
[00:36:36]                   └-> "before each" hook: global before each
[00:36:36]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch)
[00:36:36]                   │ debg Find.existsByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch"]') with timeout=120000
[00:36:36]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch, aria-checked)
[00:36:36]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch)
[00:36:36]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch"]') with timeout=10000
[00:36:36]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch)
[00:36:36]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch"]') with timeout=10000
[00:36:36]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch"]') with timeout=10000
[00:36:36]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch, aria-checked)
[00:36:36]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch)
[00:36:36]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch"]') with timeout=10000
[00:36:36]                   └- ✓ pass  (145ms) "machine learning data frame analytics classification creation bank marketing sets the create index pattern switch"
[00:36:36]                 └-> creates the analytics job
[00:36:36]                   └-> "before each" hook: global before each
[00:36:36]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutCreateButton)
[00:36:36]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateButton"]') with timeout=120000
[00:36:36]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutCreateButton)
[00:36:36]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateButton"]') with timeout=10000
[00:36:36]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateButton"]') with timeout=10000
[00:36:36]                   │ debg TestSubjects.missingOrFail(mlAnalyticsCreateJobFlyoutCreateButton)
[00:36:36]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateButton"]') with timeout=2500
[00:36:36]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] [.ml-config] creating index, cause [auto(bulk api)], templates [.ml-config], shards [1]/[1], mappings [_doc]
[00:36:36]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] updating number_of_replicas to [0] for indices [.ml-config]
[00:36:36]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:36:36]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:36:36]                   │ info [o.e.x.m.MlInitializationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] Created ML annotations index and aliases
[00:36:36]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] [.ml-config/U92JZBYgTcithx2RkchwCA] update_mapping [_doc]
[00:36:36]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] [.ml-notifications-000001] creating index, cause [auto(bulk api)], templates [.ml-notifications-000001], shards [1]/[1], mappings [_doc]
[00:36:36]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] updating number_of_replicas to [0] for indices [.ml-notifications-000001]
[00:36:37]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutStartButton)
[00:36:37]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=120000
[00:36:37]                   └- ✓ pass  (947ms) "machine learning data frame analytics classification creation bank marketing creates the analytics job"
[00:36:37]                 └-> starts the analytics job
[00:36:37]                   └-> "before each" hook: global before each
[00:36:37]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutStartButton)
[00:36:37]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=120000
[00:36:37]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutStartButton)
[00:36:37]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=10000
[00:36:37]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=10000
[00:36:37]                   │ debg TestSubjects.missingOrFail(mlAnalyticsCreateJobFlyoutStartButton)
[00:36:37]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=2500
[00:36:38]                   │ERROR browser[SEVERE] http://localhost:6141/api/ml/data_frame/analytics/bm_1_1582753740087/_start - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:36:40]                   │ debg --- retry.tryForTime error: The element [data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"] was still present when it should have disappeared.
[00:36:40]                   │      Wait timed out after 2521ms
[00:36:40]                   │ debg TestSubjects.missingOrFail(mlAnalyticsCreateJobFlyoutStartButton)
[00:36:40]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=2500
[00:36:43]                   │ debg --- retry.tryForTime error: The element [data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"] was still present when it should have disappeared.
[00:36:43]                   │      Wait timed out after 2532ms
[00:36:43]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/machine learning data frame analytics classification creation bank marketing starts the analytics job.png"
[00:36:43]                   │ info Current URL is: http://localhost:6141/app/ml#/data_frame_analytics?_g=(refreshInterval:(pause:!f,value:30000))
[00:36:43]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/machine learning data frame analytics classification creation bank marketing starts the analytics job.html
[00:36:44]                   └- ✖ fail: "machine learning data frame analytics classification creation bank marketing starts the analytics job"
[00:36:44]                   │

Stack Trace

Error: retry.tryForTime timeout: TimeoutError: The element [data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"] was still present when it should have disappeared.
Wait timed out after 2532ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:841:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/machine_learning/data_frame_analytics/classification_creation·ts.machine learning data frame analytics classification creation bank marketing starts the analytics job

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:13:10]         └-: machine learning
[00:13:10]           └-> "before all" hook
[00:38:57]           └-: data frame analytics
[00:38:57]             └-> "before all" hook
[00:40:11]             └-: classification creation
[00:40:11]               └-> "before all" hook
[00:40:11]               └-> "before all" hook
[00:40:11]                 │ info [ml/bm_classification] Loading "mappings.json"
[00:40:11]                 │ info [ml/bm_classification] Loading "data.json.gz"
[00:40:11]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] [bank-marketing] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:40:11]                 │ info [ml/bm_classification] Created index "bank-marketing"
[00:40:11]                 │ debg [ml/bm_classification] "bank-marketing" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:40:11]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] [.kibana_1/MtMOmRwtTEus7jX_uxYzfg] deleting index
[00:40:11]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] [.kibana_2/wj2CVXC5QyOzgSl7A-3YHw] deleting index
[00:40:11]                 │ info [ml/bm_classification] Deleted existing index [".kibana_2",".kibana_1"]
[00:40:11]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:40:12]                 │ info [ml/bm_classification] Created index ".kibana_1"
[00:40:12]                 │ debg [ml/bm_classification] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:40:13]                 │ info [ml/bm_classification] Indexed 9314 docs into "bank-marketing"
[00:40:13]                 │ info [ml/bm_classification] Indexed 5 docs into ".kibana_1"
[00:40:13]               └-: bank marketing
[00:40:13]                 └-> "before all" hook
[00:40:13]                 └-> loads the data frame analytics page
[00:40:13]                   └-> "before each" hook: global before each
[00:40:13]                   │ debg navigating to ml url: http://localhost:6141/app/ml
[00:40:13]                   │ debg Navigate to: http://localhost:6141/app/ml
[00:40:15]                   │ debg ... sleep(700) start
[00:40:15]                   │ debg browser[INFO] http://localhost:6141/app/ml?_t=1582753566308 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:40:15]                   │
[00:40:15]                   │ 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:40:15]                   │ debg ... sleep(700) end
[00:40:15]                   │ debg returned from get, calling refresh
[00:40:15]                   │ debg browser[INFO] http://localhost:6141/app/ml?_t=1582753566308 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:40:15]                   │
[00:40:15]                   │ 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:40:15]                   │ debg currentUrl = http://localhost:6141/app/ml
[00:40:15]                   │          appUrl = http://localhost:6141/app/ml
[00:40:15]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:40:18]                   │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_3.bundle.dll.js 582:139970 "INFO: 2020-02-26T21:46:10Z
[00:40:18]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:40:18]                   │
[00:40:18]                   │      "
[00:40:18]                   │ debg ... sleep(501) start
[00:40:19]                   │ debg ... sleep(501) end
[00:40:19]                   │ debg in navigateTo url = http://localhost:6141/app/ml#/overview?_g=(refreshInterval:(pause:!t,value:0))
[00:40:19]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:40:19]                   │ debg ... sleep(501) start
[00:40:20]                   │ debg ... sleep(501) end
[00:40:20]                   │ debg in navigateTo url = http://localhost:6141/app/ml#/overview?_g=(refreshInterval:(pause:!t,value:0))
[00:40:20]                   │ debg TestSubjects.exists(statusPageContainer)
[00:40:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:40:22]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:40:23]                   │ debg TestSubjects.click(~mlMainTab & ~dataFrameAnalytics)
[00:40:23]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:40:23]                   │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:40:23]                   │ debg TestSubjects.exists(~mlMainTab & ~dataFrameAnalytics & ~selected)
[00:40:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"][data-test-subj~="selected"]') with timeout=120000
[00:40:23]                   │ debg TestSubjects.exists(mlPageDataFrameAnalytics)
[00:40:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalytics"]') with timeout=120000
[00:40:23]                   │ debg TestSubjects.findAll(~mlSubTab)
[00:40:23]                   │ debg Find.allByCssSelector('[data-test-subj~="mlSubTab"]') with timeout=3
[00:40:23]                   └- ✓ pass  (10.0s) "machine learning data frame analytics classification creation bank marketing loads the data frame analytics page"
[00:40:23]                 └-> loads the job creation flyout
[00:40:23]                   └-> "before each" hook: global before each
[00:40:23]                   │ debg TestSubjects.exists(mlNoDataFrameAnalyticsFound)
[00:40:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlNoDataFrameAnalyticsFound"]') with timeout=2500
[00:40:23]                   │ debg TestSubjects.click(mlAnalyticsCreateFirstButton)
[00:40:23]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateFirstButton"]') with timeout=10000
[00:40:23]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateFirstButton"]') with timeout=10000
[00:40:23]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyout)
[00:40:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyout"]') with timeout=120000
[00:40:24]                   └- ✓ pass  (322ms) "machine learning data frame analytics classification creation bank marketing loads the job creation flyout"
[00:40:24]                 └-> selects the job type
[00:40:24]                   └-> "before each" hook: global before each
[00:40:24]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:40:24]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=120000
[00:40:24]                   │ debg Find.selectValue('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]', option[value="classification"]')
[00:40:24]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:40:24]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:40:24]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:40:24]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:40:24]                   └- ✓ pass  (181ms) "machine learning data frame analytics classification creation bank marketing selects the job type"
[00:40:24]                 └-> inputs the job id
[00:40:24]                   └-> "before each" hook: global before each
[00:40:24]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutJobIdInput)
[00:40:24]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobIdInput"]') with timeout=120000
[00:40:24]                   │ debg TestSubjects.setValue(mlAnalyticsCreateJobFlyoutJobIdInput, bm_1_1582751150686)
[00:40:24]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutJobIdInput)
[00:40:24]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobIdInput"]') with timeout=10000
[00:40:24]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobIdInput"]') with timeout=10000
[00:40:24]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobIdInput, value)
[00:40:24]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobIdInput)
[00:40:24]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobIdInput"]') with timeout=10000
[00:40:24]                   └- ✓ pass  (383ms) "machine learning data frame analytics classification creation bank marketing inputs the job id"
[00:40:24]                 └-> inputs the job description
[00:40:24]                   └-> "before each" hook: global before each
[00:40:24]                   │ debg TestSubjects.exists(mlDFAnalyticsJobCreationJobDescription)
[00:40:24]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFAnalyticsJobCreationJobDescription"]') with timeout=120000
[00:40:24]                   │ debg TestSubjects.setValue(mlDFAnalyticsJobCreationJobDescription, Classification job based on 'bank-marketing' dataset with dependentVariable 'y' and trainingPercent '20')
[00:40:24]                   │ debg TestSubjects.click(mlDFAnalyticsJobCreationJobDescription)
[00:40:24]                   │ debg Find.clickByCssSelector('[data-test-subj="mlDFAnalyticsJobCreationJobDescription"]') with timeout=10000
[00:40:24]                   │ debg Find.findByCssSelector('[data-test-subj="mlDFAnalyticsJobCreationJobDescription"]') with timeout=10000
[00:40:25]                   │ debg TestSubjects.getAttribute(mlDFAnalyticsJobCreationJobDescription, value)
[00:40:25]                   │ debg TestSubjects.find(mlDFAnalyticsJobCreationJobDescription)
[00:40:25]                   │ debg Find.findByCssSelector('[data-test-subj="mlDFAnalyticsJobCreationJobDescription"]') with timeout=10000
[00:40:26]                   └- ✓ pass  (1.3s) "machine learning data frame analytics classification creation bank marketing inputs the job description"
[00:40:26]                 └-> selects the source index
[00:40:26]                   └-> "before each" hook: global before each
[00:40:26]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutSourceIndexSelect > comboBoxInput)
[00:40:26]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutSourceIndexSelect"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:40:26]                   │ debg comboBox.set, comboBoxSelector: mlAnalyticsCreateJobFlyoutSourceIndexSelect > comboBoxInput
[00:40:26]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutSourceIndexSelect > comboBoxInput)
[00:40:26]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutSourceIndexSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:40:26]                   │ debg comboBox.setElement, value: bank-marketing*
[00:40:26]                   │ debg comboBox.isOptionSelected, value: bank-marketing*
[00:40:28]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:40:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:40:28]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="bank-marketing*"]') with timeout=2500
[00:40:28]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:40:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:40:31]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:40:31]                   │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlAnalyticsCreateJobFlyoutSourceIndexSelect > comboBoxInput
[00:40:31]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutSourceIndexSelect > comboBoxInput)
[00:40:31]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutSourceIndexSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:40:31]                   └- ✓ pass  (5.7s) "machine learning data frame analytics classification creation bank marketing selects the source index"
[00:40:31]                 └-> inputs the destination index
[00:40:31]                   └-> "before each" hook: global before each
[00:40:31]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutDestinationIndexInput)
[00:40:31]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDestinationIndexInput"]') with timeout=120000
[00:40:31]                   │ debg TestSubjects.setValue(mlAnalyticsCreateJobFlyoutDestinationIndexInput, dest_bm_1_1582751150686)
[00:40:31]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutDestinationIndexInput)
[00:40:31]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDestinationIndexInput"]') with timeout=10000
[00:40:31]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDestinationIndexInput"]') with timeout=10000
[00:40:32]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutDestinationIndexInput, value)
[00:40:32]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutDestinationIndexInput)
[00:40:32]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDestinationIndexInput"]') with timeout=10000
[00:40:32]                   └- ✓ pass  (390ms) "machine learning data frame analytics classification creation bank marketing inputs the destination index"
[00:40:32]                 └-> inputs the dependent variable
[00:40:32]                   └-> "before each" hook: global before each
[00:40:32]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutDependentVariableSelect > comboBoxInput)
[00:40:32]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDependentVariableSelect"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:40:32]                   │ debg comboBox.set, comboBoxSelector: mlAnalyticsCreateJobFlyoutDependentVariableSelect > comboBoxInput
[00:40:32]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutDependentVariableSelect > comboBoxInput)
[00:40:32]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDependentVariableSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:40:32]                   │ debg comboBox.setElement, value: y
[00:40:32]                   │ debg comboBox.isOptionSelected, value: y
[00:40:34]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:40:34]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:40:34]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="y"]') with timeout=2500
[00:40:34]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:40:34]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:40:37]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:40:37]                   │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlAnalyticsCreateJobFlyoutDependentVariableSelect > comboBoxInput
[00:40:37]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutDependentVariableSelect > comboBoxInput)
[00:40:37]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDependentVariableSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:40:37]                   └- ✓ pass  (5.4s) "machine learning data frame analytics classification creation bank marketing inputs the dependent variable"
[00:40:37]                 └-> inputs the training percent
[00:40:37]                   └-> "before each" hook: global before each
[00:40:37]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutTrainingPercentSlider)
[00:40:37]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutTrainingPercentSlider"]') with timeout=120000
[00:40:37]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutTrainingPercentSlider)
[00:40:37]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutTrainingPercentSlider"]') with timeout=10000
[00:40:37]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 80
[00:40:38]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '70')
[00:40:38]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 70
[00:40:39]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '60')
[00:40:39]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 60
[00:40:40]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '50')
[00:40:40]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 50
[00:40:41]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '40')
[00:40:41]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 40
[00:40:42]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '30')
[00:40:42]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 30
[00:40:43]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '20')
[00:40:43]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutTrainingPercentSlider, value)
[00:40:43]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutTrainingPercentSlider)
[00:40:43]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutTrainingPercentSlider"]') with timeout=10000
[00:40:43]                   └- ✓ pass  (6.2s) "machine learning data frame analytics classification creation bank marketing inputs the training percent"
[00:40:43]                 └-> inputs the model memory limit
[00:40:43]                   └-> "before each" hook: global before each
[00:40:43]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutModelMemoryInput)
[00:40:43]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutModelMemoryInput"]') with timeout=120000
[00:40:43]                   │ debg TestSubjects.setValue(mlAnalyticsCreateJobFlyoutModelMemoryInput, 105mb)
[00:40:43]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutModelMemoryInput)
[00:40:43]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutModelMemoryInput"]') with timeout=10000
[00:40:43]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutModelMemoryInput"]') with timeout=10000
[00:40:43]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutModelMemoryInput, value)
[00:40:43]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutModelMemoryInput)
[00:40:43]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutModelMemoryInput"]') with timeout=10000
[00:40:43]                   └- ✓ pass  (244ms) "machine learning data frame analytics classification creation bank marketing inputs the model memory limit"
[00:40:43]                 └-> sets the create index pattern switch
[00:40:43]                   └-> "before each" hook: global before each
[00:40:43]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch)
[00:40:43]                   │ debg Find.existsByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch"]') with timeout=120000
[00:40:44]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch, aria-checked)
[00:40:44]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch)
[00:40:44]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch"]') with timeout=10000
[00:40:44]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch)
[00:40:44]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch"]') with timeout=10000
[00:40:44]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch"]') with timeout=10000
[00:40:44]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch, aria-checked)
[00:40:44]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch)
[00:40:44]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch"]') with timeout=10000
[00:40:44]                   └- ✓ pass  (177ms) "machine learning data frame analytics classification creation bank marketing sets the create index pattern switch"
[00:40:44]                 └-> creates the analytics job
[00:40:44]                   └-> "before each" hook: global before each
[00:40:44]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutCreateButton)
[00:40:44]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateButton"]') with timeout=120000
[00:40:44]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutCreateButton)
[00:40:44]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateButton"]') with timeout=10000
[00:40:44]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateButton"]') with timeout=10000
[00:40:44]                   │ debg TestSubjects.missingOrFail(mlAnalyticsCreateJobFlyoutCreateButton)
[00:40:44]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateButton"]') with timeout=2500
[00:40:44]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] [.ml-config] creating index, cause [auto(bulk api)], templates [.ml-config], shards [1]/[1], mappings [_doc]
[00:40:44]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] updating number_of_replicas to [0] for indices [.ml-config]
[00:40:44]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:40:44]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:40:44]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] [.ml-config/xPyUtFULTFGYrpZPXH48gw] update_mapping [_doc]
[00:40:44]                   │ info [o.e.x.m.MlInitializationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] Created ML annotations index and aliases
[00:40:44]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] [.ml-notifications-000001] creating index, cause [auto(bulk api)], templates [.ml-notifications-000001], shards [1]/[1], mappings [_doc]
[00:40:44]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1582749155670129818] updating number_of_replicas to [0] for indices [.ml-notifications-000001]
[00:40:45]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutStartButton)
[00:40:45]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=120000
[00:40:45]                   └- ✓ pass  (966ms) "machine learning data frame analytics classification creation bank marketing creates the analytics job"
[00:40:45]                 └-> starts the analytics job
[00:40:45]                   └-> "before each" hook: global before each
[00:40:45]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutStartButton)
[00:40:45]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=120000
[00:40:45]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutStartButton)
[00:40:45]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=10000
[00:40:45]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=10000
[00:40:45]                   │ debg TestSubjects.missingOrFail(mlAnalyticsCreateJobFlyoutStartButton)
[00:40:45]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=2500
[00:40:45]                   │ERROR browser[SEVERE] http://localhost:6141/api/ml/data_frame/analytics/bm_1_1582751150686/_start - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:40:47]                   │ debg --- retry.tryForTime error: The element [data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"] was still present when it should have disappeared.
[00:40:47]                   │      Wait timed out after 2532ms
[00:40:48]                   │ debg TestSubjects.missingOrFail(mlAnalyticsCreateJobFlyoutStartButton)
[00:40:48]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=2500
[00:40:50]                   │ debg --- retry.tryForTime error: The element [data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"] was still present when it should have disappeared.
[00:40:50]                   │      Wait timed out after 2527ms
[00:40:51]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/machine learning data frame analytics classification creation bank marketing starts the analytics job.png"
[00:40:51]                   │ info Current URL is: http://localhost:6141/app/ml#/data_frame_analytics?_g=(refreshInterval:(pause:!f,value:30000))
[00:40:51]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/machine learning data frame analytics classification creation bank marketing starts the analytics job.html
[00:40:51]                   └- ✖ fail: "machine learning data frame analytics classification creation bank marketing starts the analytics job"
[00:40:51]                   │

Stack Trace

Error: retry.tryForTime timeout: TimeoutError: The element [data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"] was still present when it should have disappeared.
Wait timed out after 2527ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:841:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

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

@ryankeairns ryankeairns merged commit af080f0 into elastic:feat/lens-embeds-in-canvas Feb 27, 2020
cqliu1 added a commit that referenced this pull request Mar 3, 2020
Fixed import

embedded panel styles (#58654)

Merging to WIP draft branch
cqliu1 added a commit that referenced this pull request Mar 4, 2020
Fixed import

embedded panel styles (#58654)

Merging to WIP draft branch
cqliu1 added a commit that referenced this pull request Mar 5, 2020
Fixed import

embedded panel styles (#58654)

Merging to WIP draft branch
cqliu1 added a commit that referenced this pull request Mar 6, 2020
Fixed import

embedded panel styles (#58654)

Merging to WIP draft branch
cqliu1 added a commit that referenced this pull request Mar 9, 2020
Fixed import

embedded panel styles (#58654)

Merging to WIP draft branch
cqliu1 added a commit that referenced this pull request Mar 13, 2020
Fixed import

embedded panel styles (#58654)

Merging to WIP draft branch
cqliu1 added a commit that referenced this pull request Mar 19, 2020
Fixed import

embedded panel styles (#58654)

Merging to WIP draft branch
cqliu1 added a commit that referenced this pull request Mar 19, 2020
* Added lens embeddables to embed flyout

Fixed import

embedded panel styles (#58654)

Merging to WIP draft branch

* Added i18n strings for savedLens

* Added tests for lens embeddables

* Updated tests

* Updated tests

* Added style overrides for lens table

* DDisables triggers on lens emebeddable

* Updated test

* Sets embeddable view mode according to app state

* Fix embeddable component

* Removed embeddable view mode logic

* Removed unused import
cqliu1 added a commit that referenced this pull request Mar 20, 2020
* Added lens embeddables to embed flyout

Fixed import

embedded panel styles (#58654)

Merging to WIP draft branch

* Added i18n strings for savedLens

* Added tests for lens embeddables

* Updated tests

* Updated tests

* Added style overrides for lens table

* DDisables triggers on lens emebeddable

* Updated test

* Sets embeddable view mode according to app state

* Fix embeddable component

* Removed embeddable view mode logic

* Removed unused import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants