Skip to content

[7.x] [ML] Data Frame Analytics creation wizard: adds support for extended hyper-parameters (#90843)#90969

Merged
alvarezmelissa87 merged 1 commit intoelastic:7.xfrom
alvarezmelissa87:backport/7.x/pr-90843
Feb 10, 2021
Merged

[7.x] [ML] Data Frame Analytics creation wizard: adds support for extended hyper-parameters (#90843)#90969
alvarezmelissa87 merged 1 commit intoelastic:7.xfrom
alvarezmelissa87:backport/7.x/pr-90843

Conversation

@alvarezmelissa87
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

…hyper-parameters (elastic#90843)

* add support for new hyperparameters in the creation wizard

* fix translation error
@alvarezmelissa87 alvarezmelissa87 added backport This PR is a backport of another PR :ml labels Feb 10, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ml-ui (:ml)

@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/api_keys/feature_controls/api_keys_security·ts.API Keys app feature controls security global all privileges (aka kibana_admin) should not render the "Security" section

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:34:33]         └-: API Keys app
[00:34:33]           └-> "before all" hook in "API Keys app"
[00:34:45]           └-: feature controls
[00:34:45]             └-> "before all" hook in "feature controls"
[00:34:45]             └-: security
[00:34:45]               └-> "before all" hook in "security"
[00:34:45]               └-> "before all" hook in "security"
[00:34:45]                 │ info [empty_kibana] Loading "mappings.json"
[00:34:45]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612972503293080410] [.kibana_1/Q6EGPQeqR8iNpOxRCmAAsA] deleting index
[00:34:45]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612972503293080410] [.kibana_2/ED4Z3WY7QsGXcnJP1WVI6A] deleting index
[00:34:45]                 │ info [empty_kibana] Deleted existing index ".kibana_2"
[00:34:45]                 │ info [empty_kibana] Deleted existing index ".kibana_1"
[00:34:45]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612972503293080410] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:34:45]                 │ info [empty_kibana] Created index ".kibana"
[00:34:45]                 │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:34:45]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612972503293080410] [.kibana/HOGXDhy1ReCscByJkpdNog] update_mapping [_doc]
[00:34:45]                 │ debg Migrating saved objects
[00:34:46]                 │ proc [kibana]   log   [17:07:34.701] [info][savedobjects-service] Creating index .kibana_2.
[00:34:46]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612972503293080410] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:34:46]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612972503293080410] updating number_of_replicas to [0] for indices [.kibana_2]
[00:34:46]                 │ proc [kibana]   log   [17:07:34.778] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:34:46]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612972503293080410] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:34:46]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612972503293080410] updating number_of_replicas to [0] for indices [.kibana_1]
[00:34:46]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612972503293080410] 68250 finished with response BulkByScrollResponse[took=1.5ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:34:46]                 │ proc [kibana]   log   [17:07:34.857] [warning][environment] Detected an unhandled Promise rejection.
[00:34:46]                 │ proc [kibana] Error: Saved object [space/default] not found
[00:34:46]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612972503293080410] [.kibana/HOGXDhy1ReCscByJkpdNog] deleting index
[00:34:46]                 │ proc [kibana]   log   [17:07:35.149] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:34:46]                 │ proc [kibana]   log   [17:07:35.154] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:34:46]                 │ proc [kibana]   log   [17:07:35.188] [info][savedobjects-service] Finished in 489ms.
[00:34:46]                 │ debg [empty_kibana] Migrated Kibana index after loading Kibana data
[00:34:46]                 │ debg [empty_kibana] Ensured that default space exists in .kibana
[00:34:46]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:34:46]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612972503293080410] [.kibana_2/iYHFM8xIRHSTdsPUDPG63Q] update_mapping [_doc]
[00:34:48]                 │ debg navigating to home url: http://localhost:61161/app/home#/
[00:34:48]                 │ debg navigate to: http://localhost:61161/app/home#/
[00:34:48]                 │ debg browser[INFO] http://localhost:61161/app/home?_t=1612976856757#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:34:48]                 │
[00:34:48]                 │ debg browser[INFO] http://localhost:61161/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:34:48]                 │ debg ... sleep(700) start
[00:34:48]                 │ debg ... sleep(700) end
[00:34:48]                 │ debg returned from get, calling refresh
[00:34:49]                 │ERROR browser[SEVERE] http://localhost:61161/38639/bundles/core/core.entry.js 12:158464 TypeError: Failed to fetch
[00:34:49]                 │          at fetch_Fetch.fetchResponse (http://localhost:61161/38639/bundles/core/core.entry.js:6:32451)
[00:34:49]                 │          at async interceptResponse (http://localhost:61161/38639/bundles/core/core.entry.js:6:28637)
[00:34:49]                 │          at async http://localhost:61161/38639/bundles/core/core.entry.js:6:31117
[00:34:49]                 │ debg browser[INFO] http://localhost:61161/app/home?_t=1612976856757#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:34:49]                 │
[00:34:49]                 │ debg browser[INFO] http://localhost:61161/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:34:49]                 │ debg currentUrl = http://localhost:61161/app/home#/
[00:34:49]                 │          appUrl = http://localhost:61161/app/home#/
[00:34:49]                 │ debg TestSubjects.find(kibanaChrome)
[00:34:49]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:34:50]                 │ debg ... sleep(501) start
[00:34:51]                 │ debg ... sleep(501) end
[00:34:51]                 │ debg in navigateTo url = http://localhost:61161/app/home#/
[00:34:51]                 │ debg TestSubjects.exists(statusPageContainer)
[00:34:51]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:34:53]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:34:54]               └-: global all privileges (aka kibana_admin)
[00:34:54]                 └-> "before all" hook for "should show the Stack Management nav link"
[00:34:54]                 └-> "before all" hook for "should show the Stack Management nav link"
[00:34:54]                   │ debg set roles = kibana_admin
[00:34:54]                   │ debg creating user test_user
[00:34:54]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612972503293080410] updated user [test_user]
[00:34:54]                   │ debg created user test_user
[00:34:54]                   │ debg TestSubjects.exists(kibanaChrome)
[00:34:54]                   │ debg Find.existsByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=2500
[00:34:54]                   │ debg TestSubjects.find(kibanaChrome)
[00:34:54]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=100000
[00:34:54]                   │ debg browser[INFO] http://localhost:61161/app/home?_t=1612976856757#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:34:54]                   │
[00:34:54]                   │ debg browser[INFO] http://localhost:61161/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:34:55]                 └-> should show the Stack Management nav link
[00:34:55]                   └-> "before each" hook: global before each for "should show the Stack Management nav link"
[00:34:55]                   │ debg isGlobalLoadingIndicatorVisible
[00:34:55]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:34:55]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:34:57]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:34:57]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:34:57]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:34:57]                   │ debg TestSubjects.exists(collapsibleNav)
[00:34:57]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:35:00]                   │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:35:00]                   │ debg TestSubjects.click(toggleNavButton)
[00:35:00]                   │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:35:00]                   │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:35:01]                   │ debg TestSubjects.find(collapsibleNav)
[00:35:01]                   │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:35:01]                   │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:35:01]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:35:01]                   │ debg Find.clickByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:35:01]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:35:01]                   └- ✓ pass  (5.6s) "API Keys app feature controls security global all privileges (aka kibana_admin) should show the Stack Management nav link"
[00:35:01]                 └-> should not render the "Security" section
[00:35:01]                   └-> "before each" hook: global before each for "should not render the "Security" section"
[00:35:01]                   │ debg navigating to management url: http://localhost:61161/app/management
[00:35:01]                   │ debg navigate to: http://localhost:61161/app/management
[00:35:01]                   │ debg browser[INFO] http://localhost:61161/app/management?_t=1612976870050 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:35:01]                   │
[00:35:01]                   │ debg browser[INFO] http://localhost:61161/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:35:01]                   │ debg ... sleep(700) start
[00:35:02]                   │ debg ... sleep(700) end
[00:35:02]                   │ debg returned from get, calling refresh
[00:35:03]                   │ debg browser[INFO] http://localhost:61161/app/management?_t=1612976870050 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:35:03]                   │
[00:35:03]                   │ debg browser[INFO] http://localhost:61161/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:35:03]                   │ debg currentUrl = http://localhost:61161/app/management
[00:35:03]                   │          appUrl = http://localhost:61161/app/management
[00:35:03]                   │ debg TestSubjects.find(kibanaChrome)
[00:35:03]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:35:03]                   │ debg ... sleep(501) start
[00:35:03]                   │ debg ... sleep(501) end
[00:35:03]                   │ debg in navigateTo url = http://localhost:61161/app/management
[00:35:03]                   │ debg TestSubjects.exists(statusPageContainer)
[00:35:03]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:35:06]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:35:07]                   │ debg Find.allByCssSelector('.mgtSideBarNav > .euiSideNav__content > .euiSideNavItem') with timeout=10000
[00:35:07]                   │ info Taking screenshot "/dev/shm/workspace/parallel/16/kibana/x-pack/test/functional/screenshots/failure/API Keys app feature controls security global all privileges _aka kibana_admin_ should not render the _Security_ section.png"
[00:35:07]                   │ info Current URL is: http://localhost:61161/app/management
[00:35:07]                   │ info Saving page source to: /dev/shm/workspace/parallel/16/kibana/x-pack/test/functional/failure_debug/html/API Keys app feature controls security global all privileges _aka kibana_admin_ should not render the _Security_ section.html
[00:35:07]                   └- ✖ fail: API Keys app feature controls security global all privileges (aka kibana_admin) should not render the "Security" section
[00:35:07]                   │       Error: expected [ 'ingest', 'insightsAndAlerting', 'kibana' ] to sort of equal [ 'insightsAndAlerting', 'kibana' ]
[00:35:07]                   │       + expected - actual
[00:35:07]                   │ 
[00:35:07]                   │        [
[00:35:07]                   │       -  "ingest"
[00:35:07]                   │          "insightsAndAlerting"
[00:35:07]                   │          "kibana"
[00:35:07]                   │        ]
[00:35:07]                   │       
[00:35:07]                   │       at Assertion.assert (/dev/shm/workspace/parallel/16/kibana/packages/kbn-expect/expect.js:100:11)
[00:35:07]                   │       at Assertion.eql (/dev/shm/workspace/parallel/16/kibana/packages/kbn-expect/expect.js:244:8)
[00:35:07]                   │       at Context.<anonymous> (test/functional/apps/api_keys/feature_controls/api_keys_security.ts:44:29)
[00:35:07]                   │       at runMicrotasks (<anonymous>)
[00:35:07]                   │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:35:07]                   │       at Object.apply (/dev/shm/workspace/parallel/16/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:35:07]                   │ 
[00:35:07]                   │ 

Stack Trace

Error: expected [ 'ingest', 'insightsAndAlerting', 'kibana' ] to sort of equal [ 'insightsAndAlerting', 'kibana' ]
    at Assertion.assert (/dev/shm/workspace/parallel/16/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/16/kibana/packages/kbn-expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/api_keys/feature_controls/api_keys_security.ts:44:29)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Object.apply (/dev/shm/workspace/parallel/16/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16) {
  actual: '[\n  "ingest"\n  "insightsAndAlerting"\n  "kibana"\n]',
  expected: '[\n  "insightsAndAlerting"\n  "kibana"\n]',
  showDiff: true
}

Metrics [docs]

Async chunks

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

id before after diff
ml 6.3MB 6.3MB +11.0KB

Page load bundle

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

id before after diff
ml 58.0KB 59.1KB +1.1KB

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

@alvarezmelissa87 alvarezmelissa87 merged commit 3e3f64f into elastic:7.x Feb 10, 2021
@alvarezmelissa87 alvarezmelissa87 deleted the backport/7.x/pr-90843 branch February 10, 2021 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR :ml

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants