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

Disable action types in UI when license doesn't support it #59819

Merged

Conversation

mikecote
Copy link
Contributor

@mikecote mikecote commented Mar 10, 2020

⚠️ This PR merges into a feature branch

In this PR, I'm adding UI indicators whenever a connector is disabled via config or via license (see below for screenshots). Users can only delete existing connectors.

…cote/kibana into actions/alerting-verify-action-type
…cote/kibana into actions/alerting-verify-action-type
…cote/kibana into actions/alerting-verify-action-type
…cote/kibana into actions/alerting-verify-action-type
…cote/kibana into actions/alerting-verify-action-type
@mikecote
Copy link
Contributor Author

New 3 column layout:

image

Copy link
Member

@pmuellr pmuellr left a comment

Choose a reason for hiding this comment

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

code LGTM; made a few comments, nothing critical/blocking

tried out the PR live, bunch of different states, LGTM!

<EuiLink href={VIEW_LICENSE_OPTIONS_LINK} target="_blank">
<FormattedMessage
id="xpack.triggersActionsUI.sections.actionConnectorAdd.upgradeYourPlanBannerLinkTitle"
defaultMessage="Upgrade now"
Copy link
Member

Choose a reason for hiding this comment

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

This link goes to the elastic.co subscriptions page - I wonder if we should try to squeeze in here (and I think a couple of other places) a link to the local license management page, so they could start a trial. Folks may not realize - if they're kicking the tires - that they can try out all the goodies without having to interact with elastic at all, but clicking the start trial button in the app.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@YulNaumenko YulNaumenko left a comment

Choose a reason for hiding this comment

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

LGTM! Would be good to add some functional tests coverage, but could be done as a separate issue.

@andreadelrio
Copy link
Contributor

The connectors table with disabled connectors looks like this:

image

@snide snide requested a review from andreadelrio March 18, 2020 17:40
@andreadelrio
Copy link
Contributor

@mikecote working on the rest of the review but this Edit links shouldn't look disabled (right now they only look enabled upon hover). Note: Those two alerts include a Slack Connector that is no longer available because I reverted to Basic, might be related to that.

alerts-edit-disabled-18mar

@mikecote
Copy link
Contributor Author

@andreadelrio Thanks, I went ahead and fixed it in 377ae5f. Turns out it was an action column where EUI would apply a 0.7 opacity when not hovering. I went ahead and made it a regular column and now the link renders full opacity.

Screen Shot 2020-03-18 at 2 27 38 PM

Copy link
Contributor

@andreadelrio andreadelrio left a comment

Choose a reason for hiding this comment

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

Design changes and sass LGTM

@kibanamachine
Copy link
Contributor

💔 Build Failed


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/transform/creation_index_pattern·ts.transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg adds the aggregation entries

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: transform
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ debg creating role transform_source
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] added role [transform_source]
[00:00:00]             │ debg created role transform_source
[00:00:00]             │ debg creating role transform_dest
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] added role [transform_dest]
[00:00:00]             │ debg created role transform_dest
[00:00:00]             │ debg creating role transform_dest_readonly
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] added role [transform_dest_readonly]
[00:00:00]             │ debg created role transform_dest_readonly
[00:00:00]             │ debg creating role transform_ui_extras
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] added role [transform_ui_extras]
[00:00:00]             │ debg created role transform_ui_extras
[00:00:00]             │ debg creating user transform_poweruser
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] added user [transform_poweruser]
[00:00:00]             │ debg created user transform_poweruser
[00:00:00]             │ debg creating user transform_viewer
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] added user [transform_viewer]
[00:00:01]             │ debg created user transform_viewer
[00:00:01]           └-: creation_index_pattern
[00:00:01]             └-> "before all" hook
[00:00:01]             └-> "before all" hook
[00:00:01]               │ info [ml/ecommerce] Loading "mappings.json"
[00:00:01]               │ info [ml/ecommerce] Loading "data.json.gz"
[00:00:01]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [ecommerce] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:01]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[ecommerce][0]]]).
[00:00:01]               │ info [ml/ecommerce] Created index "ecommerce"
[00:00:01]               │ debg [ml/ecommerce] "ecommerce" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:01]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_1/yZeFjDelSZOQsr-dvfyLXA] deleting index
[00:00:01]               │ info [ml/ecommerce] Deleted existing index [".kibana_1"]
[00:00:01]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:01]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:00:01]               │ info [ml/ecommerce] Created index ".kibana_1"
[00:00:01]               │ debg [ml/ecommerce] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:00:05]               │ proc [kibana]   log   [12:37:51.281] [warning][plugins][usageCollection] { Error: mapping set to strict, dynamic introduction of [settings] within [maps-telemetry] is not allowed: [strict_dynamic_mapping_exception] mapping set to strict, dynamic introduction of [settings] within [maps-telemetry] is not allowed
[00:00:05]               │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-9/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:00:05]               │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-9/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:00:05]               │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-9/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:00:05]               │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-9/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
[00:00:05]               │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:00:05]               │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:00:05]               │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:00:05]               │ proc [kibana]   status: 400,
[00:00:05]               │ proc [kibana]   displayName: 'BadRequest',
[00:00:05]               │ proc [kibana]   message:
[00:00:05]               │ proc [kibana]    'mapping set to strict, dynamic introduction of [settings] within [maps-telemetry] is not allowed: [strict_dynamic_mapping_exception] mapping set to strict, dynamic introduction of [settings] within [maps-telemetry] is not allowed',
[00:00:05]               │ proc [kibana]   path: '/.kibana/_doc/maps-telemetry%3Amaps-telemetry',
[00:00:05]               │ proc [kibana]   query: { refresh: 'wait_for' },
[00:00:05]               │ proc [kibana]   body:
[00:00:05]               │ proc [kibana]    { error:
[00:00:05]               │ proc [kibana]       { root_cause: [Array],
[00:00:05]               │ proc [kibana]         type: 'strict_dynamic_mapping_exception',
[00:00:05]               │ proc [kibana]         reason:
[00:00:05]               │ proc [kibana]          'mapping set to strict, dynamic introduction of [settings] within [maps-telemetry] is not allowed' },
[00:00:05]               │ proc [kibana]      status: 400 },
[00:00:05]               │ proc [kibana]   statusCode: 400,
[00:00:05]               │ proc [kibana]   response:
[00:00:05]               │ proc [kibana]    '{"error":{"root_cause":[{"type":"strict_dynamic_mapping_exception","reason":"mapping set to strict, dynamic introduction of [settings] within [maps-telemetry] is not allowed"}],"type":"strict_dynamic_mapping_exception","reason":"mapping set to strict, dynamic introduction of [settings] within [maps-telemetry] is not allowed"},"status":400}',
[00:00:05]               │ proc [kibana]   toString: [Function],
[00:00:05]               │ proc [kibana]   toJSON: [Function],
[00:00:05]               │ proc [kibana]   isBoom: true,
[00:00:05]               │ proc [kibana]   isServer: false,
[00:00:05]               │ proc [kibana]   data: null,
[00:00:05]               │ proc [kibana]   output:
[00:00:05]               │ proc [kibana]    { statusCode: 400,
[00:00:05]               │ proc [kibana]      payload:
[00:00:05]               │ proc [kibana]       { message:
[00:00:05]               │ proc [kibana]          'mapping set to strict, dynamic introduction of [settings] within [maps-telemetry] is not allowed: [strict_dynamic_mapping_exception] mapping set to strict, dynamic introduction of [settings] within [maps-telemetry] is not allowed',
[00:00:05]               │ proc [kibana]         statusCode: 400,
[00:00:05]               │ proc [kibana]         error: 'Bad Request' },
[00:00:05]               │ proc [kibana]      headers: {} },
[00:00:05]               │ proc [kibana]   reformat: [Function],
[00:00:05]               │ proc [kibana]   [Symbol(SavedObjectsClientErrorCode)]: 'SavedObjectsClient/badRequest' }
[00:00:05]               │ proc [kibana]   log   [12:37:51.292] [warning][plugins][usageCollection] Unable to fetch data from maps-telemetry collector
[00:00:05]               │ info [ml/ecommerce] Indexed 4675 docs into "ecommerce"
[00:00:05]               │ info [ml/ecommerce] Indexed 4 docs into ".kibana_1"
[00:00:06]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_1/TD2iG7TWQ-iqLT3q6mYrEQ] update_mapping [_doc]
[00:00:06]               │ debg Migrating saved objects
[00:00:06]               │ proc [kibana]   log   [12:37:52.697] [info][savedobjects-service] Creating index .kibana_2.
[00:00:06]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:06]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:06]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:00:06]               │ proc [kibana]   log   [12:37:52.939] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:06]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_2/BtElXOmKQAyghgqG92JsjQ] update_mapping [_doc]
[00:00:06]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_2/BtElXOmKQAyghgqG92JsjQ] update_mapping [_doc]
[00:00:06]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_2/BtElXOmKQAyghgqG92JsjQ] update_mapping [_doc]
[00:00:06]               │ proc [kibana]   log   [12:37:53.280] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:07]               │ proc [kibana]   log   [12:37:53.430] [info][savedobjects-service] Finished in 738ms.
[00:00:07]               │ debg SecurityPage.forceLogout
[00:00:07]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:00:07]               │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:07]               │ debg Redirecting to /logout to force the logout
[00:00:08]               │ debg Waiting on the login form to appear
[00:00:08]               │ debg Waiting up to 100000ms for login form...
[00:00:08]               │ debg browser[INFO] http://localhost:6191/logout?_t=1584621474134 340 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:00:08]               │
[00:00:08]               │ debg browser[INFO] http://localhost:6191/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:08]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:10]               │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:12]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:17]               │ proc [kibana]   log   [12:38:03.416] [warning][plugins][spaces] Error toggling capabilities for request to /api/core/capabilities: [security_exception] missing authentication credentials for REST request [/_security/user/_has_privileges], with { header={ WWW-Authenticate={ 0="ApiKey" & 1="Basic realm=\"security\" charset=\"UTF-8\"" } } } :: {"path":"/_security/user/_has_privileges","query":{},"body":"{\"applications\":[{\"application\":\"kibana-.kibana\",\"resources\":[\"space:default\"],\"privileges\":[\"version:8.0.0-SNAPSHOT\",\"login:\"]}]}","statusCode":401,"response":"{\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}}],\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}},\"status\":401}","wwwAuthenticateDirective":"ApiKey, Basic realm=\"security\" charset=\"UTF-8\""}
[00:00:17]               │ debg browser[INFO] http://localhost:6191/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T12:38:03Z
[00:00:17]               │        Adding connection to http://localhost:6191/elasticsearch
[00:00:17]               │
[00:00:17]               │      "
[00:00:17]               │ debg browser[INFO] http://localhost:6191/login?next=%2F 340 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:00:17]               │
[00:00:17]               │ debg browser[INFO] http://localhost:6191/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:17]               │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:18]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:22]               │ debg browser[INFO] http://localhost:6191/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T12:38:08Z
[00:00:22]               │        Adding connection to http://localhost:6191/elasticsearch
[00:00:22]               │
[00:00:22]               │      "
[00:00:22]               │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:22]               │ proc [kibana]   log   [12:38:08.635] [warning][plugins][spaces] Error toggling capabilities for request to /api/core/capabilities: [security_exception] missing authentication credentials for REST request [/_security/user/_has_privileges], with { header={ WWW-Authenticate={ 0="ApiKey" & 1="Basic realm=\"security\" charset=\"UTF-8\"" } } } :: {"path":"/_security/user/_has_privileges","query":{},"body":"{\"applications\":[{\"application\":\"kibana-.kibana\",\"resources\":[\"space:default\"],\"privileges\":[\"version:8.0.0-SNAPSHOT\",\"login:\"]}]}","statusCode":401,"response":"{\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}}],\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}},\"status\":401}","wwwAuthenticateDirective":"ApiKey, Basic realm=\"security\" charset=\"UTF-8\""}
[00:00:23]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:23]               │ debg navigating to login url: http://localhost:6191/login
[00:00:23]               │ debg Navigate to: http://localhost:6191/login
[00:00:23]               │ debg ... sleep(700) start
[00:00:23]               │ debg browser[INFO] http://localhost:6191/login?_t=1584621489681 340 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:00:23]               │
[00:00:23]               │ debg browser[INFO] http://localhost:6191/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:24]               │ debg ... sleep(700) end
[00:00:24]               │ debg returned from get, calling refresh
[00:00:25]               │ debg browser[INFO] http://localhost:6191/login?_t=1584621489681 340 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:00:25]               │
[00:00:25]               │ debg browser[INFO] http://localhost:6191/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:25]               │ debg currentUrl = http://localhost:6191/login
[00:00:25]               │          appUrl = http://localhost:6191/login
[00:00:25]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:28]               │ proc [kibana]   log   [12:38:14.935] [warning][plugins][spaces] Error toggling capabilities for request to /api/core/capabilities: [security_exception] missing authentication credentials for REST request [/_security/user/_has_privileges], with { header={ WWW-Authenticate={ 0="ApiKey" & 1="Basic realm=\"security\" charset=\"UTF-8\"" } } } :: {"path":"/_security/user/_has_privileges","query":{},"body":"{\"applications\":[{\"application\":\"kibana-.kibana\",\"resources\":[\"space:default\"],\"privileges\":[\"version:8.0.0-SNAPSHOT\",\"login:\"]}]}","statusCode":401,"response":"{\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}}],\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}},\"status\":401}","wwwAuthenticateDirective":"ApiKey, Basic realm=\"security\" charset=\"UTF-8\""}
[00:00:28]               │ debg browser[INFO] http://localhost:6191/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T12:38:14Z
[00:00:28]               │        Adding connection to http://localhost:6191/elasticsearch
[00:00:28]               │
[00:00:28]               │      "
[00:00:28]               │ debg ... sleep(501) start
[00:00:29]               │ debg ... sleep(501) end
[00:00:29]               │ debg in navigateTo url = http://localhost:6191/login
[00:00:29]               │ debg TestSubjects.exists(statusPageContainer)
[00:00:29]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:31]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:32]               │ debg TestSubjects.setValue(loginUsername, transform_poweruser)
[00:00:32]               │ debg TestSubjects.click(loginUsername)
[00:00:32]               │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:32]               │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:32]               │ debg TestSubjects.setValue(loginPassword, tfp001)
[00:00:32]               │ debg TestSubjects.click(loginPassword)
[00:00:32]               │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:32]               │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:32]               │ debg TestSubjects.click(loginSubmit)
[00:00:32]               │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:32]               │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:32]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide) ') with timeout=20000
[00:00:41]               │ debg browser[INFO] http://localhost:6191/app/kibana 340 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:00:41]               │
[00:00:41]               │ debg browser[INFO] http://localhost:6191/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:41]               │ debg browser[INFO] http://localhost:6191/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T12:38:25Z
[00:00:41]               │        Adding connection to http://localhost:6191/elasticsearch
[00:00:41]               │
[00:00:41]               │      "
[00:00:42]               │ debg Finished login process currentUrl = http://localhost:6191/app/kibana#/home
[00:00:42]               │ debg Waiting up to 20000ms for logout button visible...
[00:00:42]               │ debg TestSubjects.exists(userMenuButton)
[00:00:42]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:00:42]               │ debg TestSubjects.exists(userMenu)
[00:00:42]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:00:45]               │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:00:45]               │ debg TestSubjects.click(userMenuButton)
[00:00:45]               │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:00:45]               │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:00:45]               │ debg Waiting up to 20000ms for user menu opened...
[00:00:45]               │ debg TestSubjects.exists(userMenu)
[00:00:45]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:00:45]               │ debg TestSubjects.exists(userMenu > logoutLink)
[00:00:45]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:00:45]             └-: batch transform with terms+date_histogram groups and avg agg
[00:00:45]               └-> "before all" hook
[00:00:45]               └-> loads the home page
[00:00:45]                 └-> "before each" hook: global before each
[00:00:45]                 │ debg navigating to transform url: http://localhost:6191/app/kibana/#/management/elasticsearch/transform
[00:00:45]                 │ debg Navigate to: http://localhost:6191/app/kibana/#/management/elasticsearch/transform
[00:00:46]                 │ debg ... sleep(700) start
[00:00:46]                 │ debg browser[INFO] http://localhost:6191/app/kibana/?_t=1584621512025#/management/elasticsearch/transform 340 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:00:46]                 │
[00:00:46]                 │ debg browser[INFO] http://localhost:6191/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:46]                 │ debg ... sleep(700) end
[00:00:46]                 │ debg returned from get, calling refresh
[00:00:47]                 │ debg browser[INFO] http://localhost:6191/app/kibana/?_t=1584621512025#/management/elasticsearch/transform 340 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:00:47]                 │
[00:00:47]                 │ debg browser[INFO] http://localhost:6191/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:47]                 │ debg currentUrl = http://localhost:6191/app/kibana/#/management/elasticsearch/transform
[00:00:47]                 │          appUrl = http://localhost:6191/app/kibana/#/management/elasticsearch/transform
[00:00:47]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:53]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:53]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:00:53]                 │ debg browser[INFO] http://localhost:6191/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T12:38:37Z
[00:00:53]                 │        Adding connection to http://localhost:6191/elasticsearch
[00:00:53]                 │
[00:00:53]                 │      "
[00:00:53]                 │ debg ... sleep(501) start
[00:00:54]                 │ debg ... sleep(501) end
[00:00:54]                 │ debg in navigateTo url = http://localhost:6191/app/kibana/#/management/elasticsearch/transform/transform_management
[00:00:54]                 │ debg TestSubjects.exists(statusPageContainer)
[00:00:54]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:56]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:57]                 │ debg TestSubjects.exists(transformPageTransformList)
[00:00:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformPageTransformList"]') with timeout=120000
[00:00:57]                 └- ✓ pass  (11.7s) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg loads the home page"
[00:00:57]               └-> displays the stats bar
[00:00:57]                 └-> "before each" hook: global before each
[00:00:57]                 │ debg TestSubjects.exists(transformStatsBar)
[00:00:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformStatsBar"]') with timeout=120000
[00:00:57]                 └- ✓ pass  (29ms) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg displays the stats bar"
[00:00:57]               └-> loads the source selection modal
[00:00:57]                 └-> "before each" hook: global before each
[00:00:57]                 │ debg TestSubjects.exists(transformNoTransformsFound)
[00:00:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformNoTransformsFound"]') with timeout=2500
[00:00:57]                 │ debg TestSubjects.click(transformCreateFirstButton)
[00:00:57]                 │ debg Find.clickByCssSelector('[data-test-subj="transformCreateFirstButton"]') with timeout=10000
[00:00:57]                 │ debg Find.findByCssSelector('[data-test-subj="transformCreateFirstButton"]') with timeout=10000
[00:00:57]                 │ debg TestSubjects.exists(transformSelectSourceModal)
[00:00:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformSelectSourceModal"]') with timeout=120000
[00:00:57]                 └- ✓ pass  (223ms) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg loads the source selection modal"
[00:00:57]               └-> selects the source data
[00:00:57]                 └-> "before each" hook: global before each
[00:00:57]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, ecommerce)
[00:00:57]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:00:57]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:00:57]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:00:58]                 │ debg TestSubjects.exists(savedObjectTitleecommerce)
[00:00:58]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectTitleecommerce"]') with timeout=120000
[00:00:58]                 │ debg TestSubjects.clickWhenNotDisabled(savedObjectTitleecommerce)
[00:00:58]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="savedObjectTitleecommerce"]') with timeout=10000
[00:00:58]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitleecommerce"]') with timeout=10000
[00:00:58]                 │ debg TestSubjects.exists(transformPageCreateTransform)
[00:00:58]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformPageCreateTransform"]') with timeout=120000
[00:00:58]                 └- ✓ pass  (1.0s) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg selects the source data"
[00:00:58]               └-> displays the define pivot step
[00:00:58]                 └-> "before each" hook: global before each
[00:00:58]                 │ debg TestSubjects.exists(transformStepDefineForm)
[00:00:58]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformStepDefineForm"]') with timeout=120000
[00:01:00]                 └- ✓ pass  (1.5s) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg displays the define pivot step"
[00:01:00]               └-> loads the source index preview
[00:01:00]                 └-> "before each" hook: global before each
[00:01:00]                 │ debg TestSubjects.exists(transformSourceIndexPreview loaded)
[00:01:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformSourceIndexPreview loaded"]') with timeout=120000
[00:01:00]                 └- ✓ pass  (334ms) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg loads the source index preview"
[00:01:00]               └-> shows the source index preview
[00:01:00]                 └-> "before each" hook: global before each
[00:01:00]                 │ debg TestSubjects.find(~transformSourceIndexPreview)
[00:01:00]                 │ debg Find.findByCssSelector('[data-test-subj~="transformSourceIndexPreview"]') with timeout=10000
[00:01:00]                 └- ✓ pass  (292ms) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg shows the source index preview"
[00:01:00]               └-> displays an empty pivot preview
[00:01:00]                 └-> "before each" hook: global before each
[00:01:00]                 │ debg TestSubjects.exists(transformPivotPreview empty)
[00:01:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformPivotPreview empty"]') with timeout=120000
[00:01:00]                 └- ✓ pass  (43ms) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg displays an empty pivot preview"
[00:01:00]               └-> displays the query input
[00:01:00]                 └-> "before each" hook: global before each
[00:01:00]                 │ debg TestSubjects.exists(transformQueryInput)
[00:01:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformQueryInput"]') with timeout=120000
[00:01:00]                 │ debg TestSubjects.getVisibleText(transformQueryInput)
[00:01:00]                 │ debg TestSubjects.find(transformQueryInput)
[00:01:00]                 │ debg Find.findByCssSelector('[data-test-subj="transformQueryInput"]') with timeout=10000
[00:01:01]                 └- ✓ pass  (96ms) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg displays the query input"
[00:01:01]               └-> displays the advanced query editor switch
[00:01:01]                 └-> "before each" hook: global before each
[00:01:01]                 │ debg TestSubjects.exists(transformAdvancedQueryEditorSwitch)
[00:01:01]                 │ debg Find.existsByCssSelector('[data-test-subj="transformAdvancedQueryEditorSwitch"]') with timeout=120000
[00:01:01]                 │ debg TestSubjects.getAttribute(transformAdvancedQueryEditorSwitch, aria-checked)
[00:01:01]                 │ debg TestSubjects.find(transformAdvancedQueryEditorSwitch)
[00:01:01]                 │ debg Find.findByCssSelector('[data-test-subj="transformAdvancedQueryEditorSwitch"]') with timeout=10000
[00:01:01]                 └- ✓ pass  (49ms) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg displays the advanced query editor switch"
[00:01:01]               └-> adds the group by entries
[00:01:01]                 └-> "before each" hook: global before each
[00:01:01]                 │ debg TestSubjects.exists(transformGroupBySelection > comboBoxInput)
[00:01:01]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformGroupBySelection"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:01:01]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: transformGroupBySelection > comboBoxInput
[00:01:01]                 │ debg TestSubjects.find(transformGroupBySelection > comboBoxInput)
[00:01:01]                 │ debg Find.findByCssSelector('[data-test-subj="transformGroupBySelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:01:01]                 │ debg comboBox.set, comboBoxSelector: transformGroupBySelection > comboBoxInput
[00:01:01]                 │ debg TestSubjects.find(transformGroupBySelection > comboBoxInput)
[00:01:01]                 │ debg Find.findByCssSelector('[data-test-subj="transformGroupBySelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:01:01]                 │ debg comboBox.setElement, value: terms(category.keyword)
[00:01:01]                 │ debg comboBox.isOptionSelected, value: terms(category.keyword)
[00:01:04]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:01:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:01:04]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="terms(category.keyword)"]') with timeout=2500
[00:01:05]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:01:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:01:07]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:01:08]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: transformGroupBySelection > comboBoxInput
[00:01:08]                 │ debg TestSubjects.find(transformGroupBySelection > comboBoxInput)
[00:01:08]                 │ debg Find.findByCssSelector('[data-test-subj="transformGroupBySelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:01:08]                 │ debg TestSubjects.exists(transformGroupByEntry 0)
[00:01:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformGroupByEntry 0"]') with timeout=120000
[00:01:08]                 │ debg TestSubjects.getVisibleText(transformGroupByEntry 0 > transformGroupByEntryLabel)
[00:01:08]                 │ debg TestSubjects.find(transformGroupByEntry 0 > transformGroupByEntryLabel)
[00:01:08]                 │ debg Find.findByCssSelector('[data-test-subj="transformGroupByEntry 0"] [data-test-subj="transformGroupByEntryLabel"]') with timeout=10000
[00:01:08]                 │ debg TestSubjects.exists(transformGroupBySelection > comboBoxInput)
[00:01:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformGroupBySelection"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:01:08]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: transformGroupBySelection > comboBoxInput
[00:01:08]                 │ debg TestSubjects.find(transformGroupBySelection > comboBoxInput)
[00:01:08]                 │ debg Find.findByCssSelector('[data-test-subj="transformGroupBySelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:01:08]                 │ debg comboBox.set, comboBoxSelector: transformGroupBySelection > comboBoxInput
[00:01:08]                 │ debg TestSubjects.find(transformGroupBySelection > comboBoxInput)
[00:01:08]                 │ debg Find.findByCssSelector('[data-test-subj="transformGroupBySelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:01:08]                 │ debg comboBox.setElement, value: date_histogram(order_date)
[00:01:08]                 │ debg comboBox.isOptionSelected, value: date_histogram(order_date)
[00:01:12]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:01:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:01:12]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="date_histogram(order_date)"]') with timeout=2500
[00:01:12]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:01:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:01:15]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:01:15]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: transformGroupBySelection > comboBoxInput
[00:01:15]                 │ debg TestSubjects.find(transformGroupBySelection > comboBoxInput)
[00:01:15]                 │ debg Find.findByCssSelector('[data-test-subj="transformGroupBySelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:01:15]                 │ debg TestSubjects.exists(transformGroupByEntry 1)
[00:01:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformGroupByEntry 1"]') with timeout=120000
[00:01:15]                 │ debg TestSubjects.getVisibleText(transformGroupByEntry 1 > transformGroupByEntryLabel)
[00:01:15]                 │ debg TestSubjects.find(transformGroupByEntry 1 > transformGroupByEntryLabel)
[00:01:15]                 │ debg Find.findByCssSelector('[data-test-subj="transformGroupByEntry 1"] [data-test-subj="transformGroupByEntryLabel"]') with timeout=10000
[00:01:15]                 │ debg TestSubjects.getVisibleText(transformGroupByEntry 1 > transformGroupByEntryIntervalLabel)
[00:01:15]                 │ debg TestSubjects.find(transformGroupByEntry 1 > transformGroupByEntryIntervalLabel)
[00:01:15]                 │ debg Find.findByCssSelector('[data-test-subj="transformGroupByEntry 1"] [data-test-subj="transformGroupByEntryIntervalLabel"]') with timeout=10000
[00:01:15]                 └- ✓ pass  (14.9s) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg adds the group by entries"
[00:01:15]               └-> adds the aggregation entries
[00:01:15]                 └-> "before each" hook: global before each
[00:01:15]                 │ debg TestSubjects.exists(transformAggregationSelection > comboBoxInput)
[00:01:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformAggregationSelection"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:01:16]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: transformAggregationSelection > comboBoxInput
[00:01:16]                 │ debg TestSubjects.find(transformAggregationSelection > comboBoxInput)
[00:01:16]                 │ debg Find.findByCssSelector('[data-test-subj="transformAggregationSelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:01:16]                 │ debg comboBox.set, comboBoxSelector: transformAggregationSelection > comboBoxInput
[00:01:16]                 │ debg TestSubjects.find(transformAggregationSelection > comboBoxInput)
[00:01:16]                 │ debg Find.findByCssSelector('[data-test-subj="transformAggregationSelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:01:16]                 │ debg comboBox.setElement, value: avg(products.base_price)
[00:01:16]                 │ debg comboBox.isOptionSelected, value: avg(products.base_price)
[00:01:19]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:01:19]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:01:19]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="avg(products.base_price)"]') with timeout=2500
[00:01:20]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:01:20]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:01:22]                 │ERROR browser[SEVERE] http://localhost:6191/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 399:77070 TypeError: Cannot read property 'properties' of undefined
[00:01:22]                 │          at http://localhost:6191/bundles/plugin/transform/transform.plugin.js:97:858887
[00:01:22]                 │          at ca (http://localhost:6191/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:59331)
[00:01:22]                 │          at Ga (http://localhost:6191/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:67553)
[00:01:22]                 │          at $a (http://localhost:6191/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:67372)
[00:01:22]                 │          at As (http://localhost:6191/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:107875)
[00:01:22]                 │          at hl (http://localhost:6191/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:90017)
[00:01:22]                 │          at ml (http://localhost:6191/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:89942)
[00:01:22]                 │          at il (http://localhost:6191/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:87290)
[00:01:22]                 │          at http://localhost:6191/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:45732
[00:01:22]                 │          at t.unstable_runWithPriority (http://localhost:6191/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:408:3462)
[00:01:22]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:01:23]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: transformAggregationSelection > comboBoxInput
[00:01:23]                 │ debg TestSubjects.find(transformAggregationSelection > comboBoxInput)
[00:01:23]                 │ debg Find.findByCssSelector('[data-test-subj="transformAggregationSelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:01:33]                 │ debg --- retry.tryForTime error: Waiting for element to be located By(css selector, [data-test-subj="transformAggregationSelection"] [data-test-subj="comboBoxInput"])
[00:01:33]                 │      Wait timed out after 10037ms
[00:01:33]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/transform creation_index_pattern batch transform with terms_date_histogram groups and avg agg adds the aggregation entries.png"
[00:01:33]                 │ info Current URL is: http://localhost:6191/app/kibana/#/management/elasticsearch/transform/create_transform/5193f870-d861-11e9-a311-0fa548c5f953
[00:01:33]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/transform creation_index_pattern batch transform with terms_date_histogram groups and avg agg adds the aggregation entries.html
[00:01:33]                 └- ✖ fail: "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg adds the aggregation entries"
[00:01:33]                 │

Stack Trace

Error: retry.tryForTime timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="transformAggregationSelection"] [data-test-subj="comboBoxInput"])
Wait timed out after 10037ms
    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/cloning·ts.machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form should have correct init form values

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: machine learning
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ debg creating role ml_source
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] added role [ml_source]
[00:00:00]             │ debg created role ml_source
[00:00:00]             │ debg creating role ml_dest
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] added role [ml_dest]
[00:00:00]             │ debg created role ml_dest
[00:00:00]             │ debg creating role ml_dest_readonly
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] added role [ml_dest_readonly]
[00:00:00]             │ debg created role ml_dest_readonly
[00:00:00]             │ debg creating role ml_ui_extras
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] added role [ml_ui_extras]
[00:00:00]             │ debg created role ml_ui_extras
[00:00:00]             │ debg creating user ml_poweruser
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] added user [ml_poweruser]
[00:00:01]             │ debg created user ml_poweruser
[00:00:01]             │ debg creating user ml_viewer
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] added user [ml_viewer]
[00:00:01]             │ debg created user ml_viewer
[00:40:09]           └-: data frame analytics
[00:40:09]             └-> "before all" hook
[00:44:28]             └-: jobs cloning supported by UI form
[00:44:28]               └-> "before all" hook
[00:44:28]               └-> "before all" hook
[00:44:28]                 │ debg SecurityPage.forceLogout
[00:44:28]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:44:28]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:44:29]                 │ debg Redirecting to /logout to force the logout
[00:44:29]                 │ debg Waiting on the login form to appear
[00:44:29]                 │ debg Waiting up to 100000ms for login form...
[00:44:29]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/ml/ml.plugin.js 14:236842 "clearing dependency cache"
[00:44:29]                 │ debg browser[INFO] http://localhost:6131/logout?_t=1584623692746 340 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:44:29]                 │
[00:44:29]                 │ debg browser[INFO] http://localhost:6131/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:44:29]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:44:32]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T13:14:56Z
[00:44:32]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:44:32]                 │
[00:44:32]                 │      "
[00:44:32]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:44:33]                 │ debg browser[INFO] http://localhost:6131/login?_t=1584623692746 340 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:44:33]                 │
[00:44:33]                 │ debg browser[INFO] http://localhost:6131/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:44:33]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:44:36]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T13:14:59Z
[00:44:36]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:44:36]                 │
[00:44:36]                 │      "
[00:44:36]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:44:36]                 │ proc [kibana]   log   [13:15:00.032] [warning][plugins][spaces] Error toggling capabilities for request to /api/core/capabilities: [security_exception] missing authentication credentials for REST request [/_security/user/_has_privileges], with { header={ WWW-Authenticate={ 0="ApiKey" & 1="Basic realm=\"security\" charset=\"UTF-8\"" } } } :: {"path":"/_security/user/_has_privileges","query":{},"body":"{\"applications\":[{\"application\":\"kibana-.kibana\",\"resources\":[\"space:default\"],\"privileges\":[\"version:8.0.0-SNAPSHOT\",\"login:\"]}]}","statusCode":401,"response":"{\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}}],\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}},\"status\":401}","wwwAuthenticateDirective":"ApiKey, Basic realm=\"security\" charset=\"UTF-8\""}
[00:44:37]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:44:37]                 │ debg navigating to login url: http://localhost:6131/login
[00:44:37]                 │ debg Navigate to: http://localhost:6131/login
[00:44:37]                 │ debg ... sleep(700) start
[00:44:37]                 │ debg browser[INFO] http://localhost:6131/login?_t=1584623701067 340 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:44:37]                 │
[00:44:37]                 │ debg browser[INFO] http://localhost:6131/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:44:38]                 │ debg ... sleep(700) end
[00:44:38]                 │ debg returned from get, calling refresh
[00:44:40]                 │ proc [kibana]   log   [13:15:04.141] [warning][plugins][spaces] Error toggling capabilities for request to /api/core/capabilities: [security_exception] missing authentication credentials for REST request [/_security/user/_has_privileges], with { header={ WWW-Authenticate={ 0="ApiKey" & 1="Basic realm=\"security\" charset=\"UTF-8\"" } } } :: {"path":"/_security/user/_has_privileges","query":{},"body":"{\"applications\":[{\"application\":\"kibana-.kibana\",\"resources\":[\"space:default\"],\"privileges\":[\"version:8.0.0-SNAPSHOT\",\"login:\"]}]}","statusCode":401,"response":"{\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}}],\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}},\"status\":401}","wwwAuthenticateDirective":"ApiKey, Basic realm=\"security\" charset=\"UTF-8\""}
[00:44:40]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T13:15:04Z
[00:44:40]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:44:40]                 │
[00:44:40]                 │      "
[00:44:40]                 │ debg browser[INFO] http://localhost:6131/login?_t=1584623701067 340 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:44:40]                 │
[00:44:40]                 │ debg browser[INFO] http://localhost:6131/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:44:40]                 │ debg currentUrl = http://localhost:6131/login
[00:44:40]                 │          appUrl = http://localhost:6131/login
[00:44:40]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:44:42]                 │ proc [kibana]   log   [13:15:06.076] [warning][plugins][spaces] Error toggling capabilities for request to /api/core/capabilities: [security_exception] missing authentication credentials for REST request [/_security/user/_has_privileges], with { header={ WWW-Authenticate={ 0="ApiKey" & 1="Basic realm=\"security\" charset=\"UTF-8\"" } } } :: {"path":"/_security/user/_has_privileges","query":{},"body":"{\"applications\":[{\"application\":\"kibana-.kibana\",\"resources\":[\"space:default\"],\"privileges\":[\"version:8.0.0-SNAPSHOT\",\"login:\"]}]}","statusCode":401,"response":"{\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}}],\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}},\"status\":401}","wwwAuthenticateDirective":"ApiKey, Basic realm=\"security\" charset=\"UTF-8\""}
[00:44:42]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T13:15:06Z
[00:44:42]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:44:42]                 │
[00:44:42]                 │      "
[00:44:42]                 │ debg ... sleep(501) start
[00:44:43]                 │ debg ... sleep(501) end
[00:44:43]                 │ debg in navigateTo url = http://localhost:6131/login
[00:44:43]                 │ debg TestSubjects.exists(statusPageContainer)
[00:44:43]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:44:45]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:44:46]                 │ debg TestSubjects.setValue(loginUsername, ml_poweruser)
[00:44:46]                 │ debg TestSubjects.click(loginUsername)
[00:44:46]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:44:46]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:44:46]                 │ debg TestSubjects.setValue(loginPassword, mlp001)
[00:44:46]                 │ debg TestSubjects.click(loginPassword)
[00:44:46]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:44:46]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:44:46]                 │ debg TestSubjects.click(loginSubmit)
[00:44:46]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:44:46]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:44:46]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide) ') with timeout=20000
[00:44:52]                 │ debg browser[INFO] http://localhost:6131/app/kibana 340 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:44:52]                 │
[00:44:52]                 │ debg browser[INFO] http://localhost:6131/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:44:52]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T13:15:14Z
[00:44:52]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:44:52]                 │
[00:44:52]                 │      "
[00:44:52]                 │ debg Finished login process currentUrl = http://localhost:6131/app/kibana#/home
[00:44:52]                 │ debg Waiting up to 20000ms for logout button visible...
[00:44:52]                 │ debg TestSubjects.exists(userMenuButton)
[00:44:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:44:52]                 │ debg TestSubjects.exists(userMenu)
[00:44:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:44:55]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:44:55]                 │ debg TestSubjects.click(userMenuButton)
[00:44:55]                 │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:44:55]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:44:55]                 │ debg Waiting up to 20000ms for user menu opened...
[00:44:55]                 │ debg TestSubjects.exists(userMenu)
[00:44:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:44:56]                 │ debg TestSubjects.exists(userMenu > logoutLink)
[00:44:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:44:56]               └-: classification job supported by the form
[00:44:56]                 └-> "before all" hook
[00:44:56]                 └-> "before all" hook
[00:44:56]                   │ info [ml/bm_classification] Loading "mappings.json"
[00:44:56]                   │ info [ml/bm_classification] Loading "data.json.gz"
[00:44:56]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [bank-marketing] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:44:56]                   │ info [ml/bm_classification] Created index "bank-marketing"
[00:44:56]                   │ debg [ml/bm_classification] "bank-marketing" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:44:56]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_1/ycbm5o92TT-lYZE8ZtD3ug] deleting index
[00:44:56]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_2/8HKTFbEERS-omqvK5bmJUA] deleting index
[00:44:56]                   │ info [ml/bm_classification] Deleted existing index [".kibana_2",".kibana_1"]
[00:44:56]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:44:56]                   │ info [ml/bm_classification] Created index ".kibana_1"
[00:44:56]                   │ debg [ml/bm_classification] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:44:57]                   │ info [ml/bm_classification] Indexed 9314 docs into "bank-marketing"
[00:44:57]                   │ info [ml/bm_classification] Indexed 5 docs into ".kibana_1"
[00:44:57]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_1/qCvCVNIATXy87ynkIXTb5w] update_mapping [_doc]
[00:44:57]                   │ debg Migrating saved objects
[00:44:58]                   │ proc [kibana]   log   [13:15:21.927] [info][savedobjects-service] Detected mapping change in "dynamic"
[00:44:58]                   │ proc [kibana]   log   [13:15:21.929] [info][savedobjects-service] Creating index .kibana_2.
[00:44:58]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:44:58]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] updating number_of_replicas to [0] for indices [.kibana_2]
[00:44:58]                   │ proc [kibana]   log   [13:15:22.038] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:44:58]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_2/pfqM8m5rQc6T4oCSTGRO8g] update_mapping [_doc]
[00:44:58]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_2/pfqM8m5rQc6T4oCSTGRO8g] update_mapping [_doc]
[00:44:58]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_2/pfqM8m5rQc6T4oCSTGRO8g] update_mapping [_doc]
[00:44:58]                   │ proc [kibana]   log   [13:15:22.197] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:44:58]                   │ proc [kibana]   log   [13:15:22.269] [info][savedobjects-service] Finished in 341ms.
[00:44:58]                   │ debg Creating data frame analytic job with id 'bm_1_1584621021519'...
[00:44:58]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.ml-config] creating index, cause [auto(bulk api)], templates [.ml-config], shards [1]/[1], mappings [_doc]
[00:44:58]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] updating number_of_replicas to [0] for indices [.ml-config]
[00:44:58]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:44:58]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:44:58]                   │ info [o.e.x.m.MlInitializationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] Created ML annotations index and aliases
[00:44:58]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.ml-config/NH6as3uOTJK0Pu7uXGu_Hw] update_mapping [_doc]
[00:44:58]                   │ debg Waiting up to 5000ms for 'bm_1_1584621021519' to be created...
[00:44:59]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.ml-notifications-000001] creating index, cause [auto(bulk api)], templates [.ml-notifications-000001], shards [1]/[1], mappings [_doc]
[00:44:59]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] updating number_of_replicas to [0] for indices [.ml-notifications-000001]
[00:44:59]                   │ debg navigating to ml url: http://localhost:6131/app/ml
[00:44:59]                   │ debg Navigate to: http://localhost:6131/app/ml
[00:44:59]                   │ debg ... sleep(700) start
[00:44:59]                   │ debg browser[INFO] http://localhost:6131/app/ml?_t=1584623722556 340 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:44:59]                   │
[00:44:59]                   │ debg browser[INFO] http://localhost:6131/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:44:59]                   │ debg ... sleep(700) end
[00:44:59]                   │ debg returned from get, calling refresh
[00:45:00]                   │ debg browser[INFO] http://localhost:6131/app/ml?_t=1584623722556 340 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:45:00]                   │
[00:45:00]                   │ debg browser[INFO] http://localhost:6131/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:45:00]                   │ debg currentUrl = http://localhost:6131/app/ml
[00:45:00]                   │          appUrl = http://localhost:6131/app/ml
[00:45:00]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:45:04]                   │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T13:15:27Z
[00:45:04]                   │        Adding connection to http://localhost:6131/elasticsearch
[00:45:04]                   │
[00:45:04]                   │      "
[00:45:04]                   │ debg ... sleep(501) start
[00:45:04]                   │ debg ... sleep(501) end
[00:45:04]                   │ debg in navigateTo url = http://localhost:6131/app/ml#/overview?_g=%28refreshInterval%3A%28pause%3A%21t%2Cvalue%3A0%29%29
[00:45:04]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:45:05]                   │ debg ... sleep(501) start
[00:45:05]                   │ debg ... sleep(501) end
[00:45:05]                   │ debg in navigateTo url = http://localhost:6131/app/ml#/overview?_g=%28refreshInterval%3A%28pause%3A%21t%2Cvalue%3A0%29%29
[00:45:05]                   │ debg TestSubjects.exists(statusPageContainer)
[00:45:05]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:45:08]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:45:08]                   │ debg TestSubjects.exists(mlPageOverview)
[00:45:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageOverview"]') with timeout=2000
[00:45:08]                   │ debg TestSubjects.click(~mlMainTab & ~dataFrameAnalytics)
[00:45:08]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:45:08]                   │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:45:09]                   │ debg TestSubjects.exists(~mlMainTab & ~dataFrameAnalytics & ~selected)
[00:45:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"][data-test-subj~="selected"]') with timeout=120000
[00:45:09]                   │ debg TestSubjects.exists(mlPageDataFrameAnalytics)
[00:45:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalytics"]') with timeout=120000
[00:45:09]                   │ debg TestSubjects.findAll(~mlSubTab)
[00:45:09]                   │ debg Find.allByCssSelector('[data-test-subj~="mlSubTab"]') with timeout=3
[00:45:09]                   │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:45:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:45:09]                   │ debg TestSubjects.exists(mlAnalyticsTable loaded)
[00:45:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsTable loaded"]') with timeout=30000
[00:45:09]                   │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:45:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:45:09]                   │ debg TestSubjects.exists(mlAnalyticsTable loaded)
[00:45:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsTable loaded"]') with timeout=30000
[00:45:09]                   │ debg TestSubjects.find(mlAnalyticsTableContainer)
[00:45:09]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableContainer"]') with timeout=10000
[00:45:10]                   │ debg TestSubjects.find(mlAnalyticsTableContainer)
[00:45:10]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableContainer"]') with timeout=10000
[00:45:10]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsTableRow row-bm_1_1584621021519"] [data-test-subj=euiCollapsedItemActionsButton]') with timeout=10000
[00:45:10]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableRow row-bm_1_1584621021519"] [data-test-subj=euiCollapsedItemActionsButton]') with timeout=10000
[00:45:10]                   │ debg Find.existsByCssSelector('.euiPanel') with timeout=20000
[00:45:10]                   │ debg TestSubjects.click(mlAnalyticsJobCloneButton)
[00:45:10]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsJobCloneButton"]') with timeout=10000
[00:45:10]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsJobCloneButton"]') with timeout=10000
[00:45:10]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyout)
[00:45:10]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyout"]') with timeout=120000
[00:45:10]                   │ debg browser[INFO] http://localhost:6131/bundles/plugin/ml/ml.plugin.js 39:266958 "Property \"class_assignment_objective\" is unknown."
[00:45:10]                 └-> should open the flyout with a proper header
[00:45:10]                   └-> "before each" hook: global before each
[00:45:10]                   │ debg TestSubjects.getVisibleText(mlDataFrameAnalyticsFlyoutHeaderTitle)
[00:45:10]                   │ debg TestSubjects.find(mlDataFrameAnalyticsFlyoutHeaderTitle)
[00:45:10]                   │ debg Find.findByCssSelector('[data-test-subj="mlDataFrameAnalyticsFlyoutHeaderTitle"]') with timeout=10000
[00:45:10]                   └- ✓ pass  (41ms) "machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form should open the flyout with a proper header"
[00:45:10]                 └-> should have correct init form values
[00:45:10]                   └-> "before each" hook: global before each
[00:45:10]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:45:10]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:45:10]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:45:20]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:45:20]                   │      Wait timed out after 10045ms
[00:45:21]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:45:21]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:45:21]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:45:31]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:45:31]                   │      Wait timed out after 10023ms
[00:45:32]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:45:32]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:45:32]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:45:42]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:45:42]                   │      Wait timed out after 10030ms
[00:45:42]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:45:42]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:45:42]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:45:52]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:45:52]                   │      Wait timed out after 10053ms
[00:45:53]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:45:53]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:45:53]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:46:03]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:46:03]                   │      Wait timed out after 10041ms
[00:46:03]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:46:03]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:46:03]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:46:13]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:46:13]                   │      Wait timed out after 10025ms
[00:46:14]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:46:14]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:46:14]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:46:24]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:46:24]                   │      Wait timed out after 10052ms
[00:46:24]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:46:24]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:46:24]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:46:34]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:46:34]                   │      Wait timed out after 10025ms
[00:46:35]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:46:35]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:46:35]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:46:45]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:46:45]                   │      Wait timed out after 10044ms
[00:46:45]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:46:45]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:46:45]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:46:55]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:46:55]                   │      Wait timed out after 10041ms
[00:46:56]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:46:56]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:46:56]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:47:06]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:47:06]                   │      Wait timed out after 10014ms
[00:47:06]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:47:06]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:47:06]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:47:16]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:47:16]                   │      Wait timed out after 10030ms
[00:47:17]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form should have correct init form values.png"
[00:47:17]                   │ info Current URL is: http://localhost:6131/app/ml#/data_frame_analytics?_g=%28refreshInterval%3A%28pause%3A%21f%2Cvalue%3A30000%29%29
[00:47:17]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form should have correct init form values.html
[00:47:17]                   └- ✖ fail: "machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form should have correct init form values"
[00:47:17]                   │

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
Wait timed out after 10030ms
    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/transform/creation_index_pattern·ts.transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg adds the aggregation entries

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: transform
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ debg creating role transform_source
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] added role [transform_source]
[00:00:00]             │ debg created role transform_source
[00:00:00]             │ debg creating role transform_dest
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] added role [transform_dest]
[00:00:00]             │ debg created role transform_dest
[00:00:00]             │ debg creating role transform_dest_readonly
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] added role [transform_dest_readonly]
[00:00:00]             │ debg created role transform_dest_readonly
[00:00:00]             │ debg creating role transform_ui_extras
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] added role [transform_ui_extras]
[00:00:00]             │ debg created role transform_ui_extras
[00:00:00]             │ debg creating user transform_poweruser
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] added user [transform_poweruser]
[00:00:00]             │ debg created user transform_poweruser
[00:00:00]             │ debg creating user transform_viewer
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] added user [transform_viewer]
[00:00:00]             │ debg created user transform_viewer
[00:00:00]           └-: creation_index_pattern
[00:00:00]             └-> "before all" hook
[00:00:00]             └-> "before all" hook
[00:00:00]               │ info [ml/ecommerce] Loading "mappings.json"
[00:00:01]               │ info [ml/ecommerce] Loading "data.json.gz"
[00:00:01]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [ecommerce] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:01]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[ecommerce][0]]]).
[00:00:01]               │ info [ml/ecommerce] Created index "ecommerce"
[00:00:01]               │ debg [ml/ecommerce] "ecommerce" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:01]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_1/YGcZRvdwTUOoc5kMCDOB5w] deleting index
[00:00:01]               │ info [ml/ecommerce] Deleted existing index [".kibana_1"]
[00:00:01]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:01]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:00:01]               │ info [ml/ecommerce] Created index ".kibana_1"
[00:00:01]               │ debg [ml/ecommerce] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:00:03]               │ proc [kibana]   log   [12:33:23.936] [warning][plugins][usageCollection] { Error: mapping set to strict, dynamic introduction of [settings] within [maps-telemetry] is not allowed: [strict_dynamic_mapping_exception] mapping set to strict, dynamic introduction of [settings] within [maps-telemetry] is not allowed
[00:00:03]               │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-9/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:00:03]               │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-9/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:00:03]               │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-9/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:00:03]               │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-9/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
[00:00:03]               │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:00:03]               │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:00:03]               │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:00:03]               │ proc [kibana]   status: 400,
[00:00:03]               │ proc [kibana]   displayName: 'BadRequest',
[00:00:03]               │ proc [kibana]   message:
[00:00:03]               │ proc [kibana]    'mapping set to strict, dynamic introduction of [settings] within [maps-telemetry] is not allowed: [strict_dynamic_mapping_exception] mapping set to strict, dynamic introduction of [settings] within [maps-telemetry] is not allowed',
[00:00:03]               │ proc [kibana]   path: '/.kibana/_doc/maps-telemetry%3Amaps-telemetry',
[00:00:03]               │ proc [kibana]   query: { refresh: 'wait_for' },
[00:00:03]               │ proc [kibana]   body:
[00:00:03]               │ proc [kibana]    { error:
[00:00:03]               │ proc [kibana]       { root_cause: [Array],
[00:00:03]               │ proc [kibana]         type: 'strict_dynamic_mapping_exception',
[00:00:03]               │ proc [kibana]         reason:
[00:00:03]               │ proc [kibana]          'mapping set to strict, dynamic introduction of [settings] within [maps-telemetry] is not allowed' },
[00:00:03]               │ proc [kibana]      status: 400 },
[00:00:03]               │ proc [kibana]   statusCode: 400,
[00:00:03]               │ proc [kibana]   response:
[00:00:03]               │ proc [kibana]    '{"error":{"root_cause":[{"type":"strict_dynamic_mapping_exception","reason":"mapping set to strict, dynamic introduction of [settings] within [maps-telemetry] is not allowed"}],"type":"strict_dynamic_mapping_exception","reason":"mapping set to strict, dynamic introduction of [settings] within [maps-telemetry] is not allowed"},"status":400}',
[00:00:03]               │ proc [kibana]   toString: [Function],
[00:00:03]               │ proc [kibana]   toJSON: [Function],
[00:00:03]               │ proc [kibana]   isBoom: true,
[00:00:03]               │ proc [kibana]   isServer: false,
[00:00:03]               │ proc [kibana]   data: null,
[00:00:03]               │ proc [kibana]   output:
[00:00:03]               │ proc [kibana]    { statusCode: 400,
[00:00:03]               │ proc [kibana]      payload:
[00:00:03]               │ proc [kibana]       { message:
[00:00:03]               │ proc [kibana]          'mapping set to strict, dynamic introduction of [settings] within [maps-telemetry] is not allowed: [strict_dynamic_mapping_exception] mapping set to strict, dynamic introduction of [settings] within [maps-telemetry] is not allowed',
[00:00:03]               │ proc [kibana]         statusCode: 400,
[00:00:03]               │ proc [kibana]         error: 'Bad Request' },
[00:00:03]               │ proc [kibana]      headers: {} },
[00:00:03]               │ proc [kibana]   reformat: [Function],
[00:00:03]               │ proc [kibana]   [Symbol(SavedObjectsClientErrorCode)]: 'SavedObjectsClient/badRequest' }
[00:00:03]               │ proc [kibana]   log   [12:33:23.949] [warning][plugins][usageCollection] Unable to fetch data from maps-telemetry collector
[00:00:06]               │ info [ml/ecommerce] Indexed 4675 docs into "ecommerce"
[00:00:06]               │ info [ml/ecommerce] Indexed 4 docs into ".kibana_1"
[00:00:06]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_1/YHIPcbxxQPS0L7hTnJuqVA] update_mapping [_doc]
[00:00:06]               │ debg Migrating saved objects
[00:00:06]               │ proc [kibana]   log   [12:33:27.308] [info][savedobjects-service] Creating index .kibana_2.
[00:00:06]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:06]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:06]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:00:06]               │ proc [kibana]   log   [12:33:27.462] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:07]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_2/Rb9IFlqYTcW4aNRUuXWZ6g] update_mapping [_doc]
[00:00:07]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_2/Rb9IFlqYTcW4aNRUuXWZ6g] update_mapping [_doc]
[00:00:07]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1584618618632785382] [.kibana_2/Rb9IFlqYTcW4aNRUuXWZ6g] update_mapping [_doc]
[00:00:07]               │ proc [kibana]   log   [12:33:27.800] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:07]               │ proc [kibana]   log   [12:33:27.930] [info][savedobjects-service] Finished in 628ms.
[00:00:07]               │ debg SecurityPage.forceLogout
[00:00:07]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:00:07]               │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:08]               │ debg Redirecting to /logout to force the logout
[00:00:08]               │ debg Waiting on the login form to appear
[00:00:08]               │ debg Waiting up to 100000ms for login form...
[00:00:08]               │ debg browser[INFO] http://localhost:6191/logout?_t=1584621208621 340 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:00:08]               │
[00:00:08]               │ debg browser[INFO] http://localhost:6191/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:08]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:11]               │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:16]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:17]               │ proc [kibana]   log   [12:33:38.218] [warning][plugins][spaces] Error toggling capabilities for request to /api/core/capabilities: [security_exception] missing authentication credentials for REST request [/_security/user/_has_privileges], with { header={ WWW-Authenticate={ 0="ApiKey" & 1="Basic realm=\"security\" charset=\"UTF-8\"" } } } :: {"path":"/_security/user/_has_privileges","query":{},"body":"{\"applications\":[{\"application\":\"kibana-.kibana\",\"resources\":[\"space:default\"],\"privileges\":[\"version:8.0.0-SNAPSHOT\",\"login:\"]}]}","statusCode":401,"response":"{\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}}],\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}},\"status\":401}","wwwAuthenticateDirective":"ApiKey, Basic realm=\"security\" charset=\"UTF-8\""}
[00:00:20]               │ debg browser[INFO] http://localhost:6191/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T12:33:38Z
[00:00:20]               │        Adding connection to http://localhost:6191/elasticsearch
[00:00:20]               │
[00:00:20]               │      "
[00:00:20]               │ debg browser[INFO] http://localhost:6191/login?next=%2F 340 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:00:20]               │
[00:00:20]               │ debg browser[INFO] http://localhost:6191/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:20]               │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:21]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:24]               │ proc [kibana]   log   [12:33:44.650] [warning][plugins][spaces] Error toggling capabilities for request to /api/core/capabilities: [security_exception] missing authentication credentials for REST request [/_security/user/_has_privileges], with { header={ WWW-Authenticate={ 0="ApiKey" & 1="Basic realm=\"security\" charset=\"UTF-8\"" } } } :: {"path":"/_security/user/_has_privileges","query":{},"body":"{\"applications\":[{\"application\":\"kibana-.kibana\",\"resources\":[\"space:default\"],\"privileges\":[\"version:8.0.0-SNAPSHOT\",\"login:\"]}]}","statusCode":401,"response":"{\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}}],\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}},\"status\":401}","wwwAuthenticateDirective":"ApiKey, Basic realm=\"security\" charset=\"UTF-8\""}
[00:00:24]               │ debg browser[INFO] http://localhost:6191/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T12:33:44Z
[00:00:24]               │        Adding connection to http://localhost:6191/elasticsearch
[00:00:24]               │
[00:00:24]               │      "
[00:00:24]               │ debg navigating to login url: http://localhost:6191/login
[00:00:24]               │ debg Navigate to: http://localhost:6191/login
[00:00:24]               │ debg ... sleep(700) start
[00:00:24]               │ debg browser[INFO] http://localhost:6191/login?_t=1584621225043 340 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:00:24]               │
[00:00:24]               │ debg browser[INFO] http://localhost:6191/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:25]               │ debg ... sleep(700) end
[00:00:25]               │ debg returned from get, calling refresh
[00:00:26]               │ debg browser[INFO] http://localhost:6191/login?_t=1584621225043 340 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:00:26]               │
[00:00:26]               │ debg browser[INFO] http://localhost:6191/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:26]               │ debg currentUrl = http://localhost:6191/login
[00:00:26]               │          appUrl = http://localhost:6191/login
[00:00:26]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:30]               │ proc [kibana]   log   [12:33:51.366] [warning][plugins][spaces] Error toggling capabilities for request to /api/core/capabilities: [security_exception] missing authentication credentials for REST request [/_security/user/_has_privileges], with { header={ WWW-Authenticate={ 0="ApiKey" & 1="Basic realm=\"security\" charset=\"UTF-8\"" } } } :: {"path":"/_security/user/_has_privileges","query":{},"body":"{\"applications\":[{\"application\":\"kibana-.kibana\",\"resources\":[\"space:default\"],\"privileges\":[\"version:8.0.0-SNAPSHOT\",\"login:\"]}]}","statusCode":401,"response":"{\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}}],\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}},\"status\":401}","wwwAuthenticateDirective":"ApiKey, Basic realm=\"security\" charset=\"UTF-8\""}
[00:00:30]               │ debg browser[INFO] http://localhost:6191/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T12:33:51Z
[00:00:30]               │        Adding connection to http://localhost:6191/elasticsearch
[00:00:30]               │
[00:00:30]               │      "
[00:00:30]               │ debg ... sleep(501) start
[00:00:31]               │ debg ... sleep(501) end
[00:00:31]               │ debg in navigateTo url = http://localhost:6191/login
[00:00:31]               │ debg TestSubjects.exists(statusPageContainer)
[00:00:31]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:34]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:34]               │ debg TestSubjects.setValue(loginUsername, transform_poweruser)
[00:00:34]               │ debg TestSubjects.click(loginUsername)
[00:00:34]               │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:34]               │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:34]               │ debg TestSubjects.setValue(loginPassword, tfp001)
[00:00:34]               │ debg TestSubjects.click(loginPassword)
[00:00:34]               │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:34]               │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:35]               │ debg TestSubjects.click(loginSubmit)
[00:00:35]               │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:35]               │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:35]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide) ') with timeout=20000
[00:00:44]               │ debg browser[INFO] http://localhost:6191/app/kibana 340 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:00:44]               │
[00:00:44]               │ debg browser[INFO] http://localhost:6191/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:44]               │ debg browser[INFO] http://localhost:6191/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T12:34:01Z
[00:00:44]               │        Adding connection to http://localhost:6191/elasticsearch
[00:00:44]               │
[00:00:44]               │      "
[00:00:44]               │ debg Finished login process currentUrl = http://localhost:6191/app/kibana#/home
[00:00:44]               │ debg Waiting up to 20000ms for logout button visible...
[00:00:44]               │ debg TestSubjects.exists(userMenuButton)
[00:00:44]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:00:44]               │ debg TestSubjects.exists(userMenu)
[00:00:44]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:00:47]               │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:00:47]               │ debg TestSubjects.click(userMenuButton)
[00:00:47]               │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:00:47]               │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:00:47]               │ debg Waiting up to 20000ms for user menu opened...
[00:00:47]               │ debg TestSubjects.exists(userMenu)
[00:00:47]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:00:47]               │ debg TestSubjects.exists(userMenu > logoutLink)
[00:00:47]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:00:47]             └-: batch transform with terms+date_histogram groups and avg agg
[00:00:47]               └-> "before all" hook
[00:00:47]               └-> loads the home page
[00:00:47]                 └-> "before each" hook: global before each
[00:00:47]                 │ debg navigating to transform url: http://localhost:6191/app/kibana/#/management/elasticsearch/transform
[00:00:47]                 │ debg Navigate to: http://localhost:6191/app/kibana/#/management/elasticsearch/transform
[00:00:48]                 │ debg ... sleep(700) start
[00:00:48]                 │ debg browser[INFO] http://localhost:6191/app/kibana/?_t=1584621248438#/management/elasticsearch/transform 340 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:00:48]                 │
[00:00:48]                 │ debg browser[INFO] http://localhost:6191/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:48]                 │ debg ... sleep(700) end
[00:00:48]                 │ debg returned from get, calling refresh
[00:00:50]                 │ debg browser[INFO] http://localhost:6191/app/kibana/?_t=1584621248438#/management/elasticsearch/transform 340 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:00:50]                 │
[00:00:50]                 │ debg browser[INFO] http://localhost:6191/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:50]                 │ debg currentUrl = http://localhost:6191/app/kibana/#/management/elasticsearch/transform
[00:00:50]                 │          appUrl = http://localhost:6191/app/kibana/#/management/elasticsearch/transform
[00:00:50]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:55]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:55]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:00:55]                 │ debg browser[INFO] http://localhost:6191/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T12:34:14Z
[00:00:55]                 │        Adding connection to http://localhost:6191/elasticsearch
[00:00:55]                 │
[00:00:55]                 │      "
[00:00:56]                 │ debg ... sleep(501) start
[00:00:56]                 │ debg ... sleep(501) end
[00:00:56]                 │ debg in navigateTo url = http://localhost:6191/app/kibana/#/management/elasticsearch/transform/transform_management
[00:00:56]                 │ debg TestSubjects.exists(statusPageContainer)
[00:00:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:59]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:59]                 │ debg TestSubjects.exists(transformPageTransformList)
[00:00:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformPageTransformList"]') with timeout=120000
[00:00:59]                 └- ✓ pass  (11.7s) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg loads the home page"
[00:00:59]               └-> displays the stats bar
[00:00:59]                 └-> "before each" hook: global before each
[00:00:59]                 │ debg TestSubjects.exists(transformStatsBar)
[00:00:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformStatsBar"]') with timeout=120000
[00:00:59]                 └- ✓ pass  (46ms) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg displays the stats bar"
[00:00:59]               └-> loads the source selection modal
[00:00:59]                 └-> "before each" hook: global before each
[00:00:59]                 │ debg TestSubjects.exists(transformNoTransformsFound)
[00:00:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformNoTransformsFound"]') with timeout=2500
[00:00:59]                 │ debg TestSubjects.click(transformCreateFirstButton)
[00:00:59]                 │ debg Find.clickByCssSelector('[data-test-subj="transformCreateFirstButton"]') with timeout=10000
[00:00:59]                 │ debg Find.findByCssSelector('[data-test-subj="transformCreateFirstButton"]') with timeout=10000
[00:01:00]                 │ debg TestSubjects.exists(transformSelectSourceModal)
[00:01:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformSelectSourceModal"]') with timeout=120000
[00:01:00]                 └- ✓ pass  (510ms) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg loads the source selection modal"
[00:01:00]               └-> selects the source data
[00:01:00]                 └-> "before each" hook: global before each
[00:01:00]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, ecommerce)
[00:01:00]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:01:00]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:01:00]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:01:00]                 │ debg TestSubjects.exists(savedObjectTitleecommerce)
[00:01:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectTitleecommerce"]') with timeout=120000
[00:01:00]                 │ debg TestSubjects.clickWhenNotDisabled(savedObjectTitleecommerce)
[00:01:00]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="savedObjectTitleecommerce"]') with timeout=10000
[00:01:00]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitleecommerce"]') with timeout=10000
[00:01:00]                 │ debg TestSubjects.exists(transformPageCreateTransform)
[00:01:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformPageCreateTransform"]') with timeout=120000
[00:01:01]                 └- ✓ pass  (839ms) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg selects the source data"
[00:01:01]               └-> displays the define pivot step
[00:01:01]                 └-> "before each" hook: global before each
[00:01:01]                 │ debg TestSubjects.exists(transformStepDefineForm)
[00:01:01]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformStepDefineForm"]') with timeout=120000
[00:01:02]                 └- ✓ pass  (1.9s) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg displays the define pivot step"
[00:01:02]               └-> loads the source index preview
[00:01:02]                 └-> "before each" hook: global before each
[00:01:02]                 │ debg TestSubjects.exists(transformSourceIndexPreview loaded)
[00:01:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformSourceIndexPreview loaded"]') with timeout=120000
[00:01:03]                 └- ✓ pass  (293ms) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg loads the source index preview"
[00:01:03]               └-> shows the source index preview
[00:01:03]                 └-> "before each" hook: global before each
[00:01:03]                 │ debg TestSubjects.find(~transformSourceIndexPreview)
[00:01:03]                 │ debg Find.findByCssSelector('[data-test-subj~="transformSourceIndexPreview"]') with timeout=10000
[00:01:03]                 └- ✓ pass  (259ms) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg shows the source index preview"
[00:01:03]               └-> displays an empty pivot preview
[00:01:03]                 └-> "before each" hook: global before each
[00:01:03]                 │ debg TestSubjects.exists(transformPivotPreview empty)
[00:01:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformPivotPreview empty"]') with timeout=120000
[00:01:03]                 └- ✓ pass  (46ms) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg displays an empty pivot preview"
[00:01:03]               └-> displays the query input
[00:01:03]                 └-> "before each" hook: global before each
[00:01:03]                 │ debg TestSubjects.exists(transformQueryInput)
[00:01:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformQueryInput"]') with timeout=120000
[00:01:03]                 │ debg TestSubjects.getVisibleText(transformQueryInput)
[00:01:03]                 │ debg TestSubjects.find(transformQueryInput)
[00:01:03]                 │ debg Find.findByCssSelector('[data-test-subj="transformQueryInput"]') with timeout=10000
[00:01:03]                 └- ✓ pass  (98ms) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg displays the query input"
[00:01:03]               └-> displays the advanced query editor switch
[00:01:03]                 └-> "before each" hook: global before each
[00:01:03]                 │ debg TestSubjects.exists(transformAdvancedQueryEditorSwitch)
[00:01:03]                 │ debg Find.existsByCssSelector('[data-test-subj="transformAdvancedQueryEditorSwitch"]') with timeout=120000
[00:01:03]                 │ debg TestSubjects.getAttribute(transformAdvancedQueryEditorSwitch, aria-checked)
[00:01:03]                 │ debg TestSubjects.find(transformAdvancedQueryEditorSwitch)
[00:01:03]                 │ debg Find.findByCssSelector('[data-test-subj="transformAdvancedQueryEditorSwitch"]') with timeout=10000
[00:01:03]                 └- ✓ pass  (62ms) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg displays the advanced query editor switch"
[00:01:03]               └-> adds the group by entries
[00:01:03]                 └-> "before each" hook: global before each
[00:01:03]                 │ debg TestSubjects.exists(transformGroupBySelection > comboBoxInput)
[00:01:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformGroupBySelection"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:01:03]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: transformGroupBySelection > comboBoxInput
[00:01:03]                 │ debg TestSubjects.find(transformGroupBySelection > comboBoxInput)
[00:01:03]                 │ debg Find.findByCssSelector('[data-test-subj="transformGroupBySelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:01:03]                 │ debg comboBox.set, comboBoxSelector: transformGroupBySelection > comboBoxInput
[00:01:03]                 │ debg TestSubjects.find(transformGroupBySelection > comboBoxInput)
[00:01:03]                 │ debg Find.findByCssSelector('[data-test-subj="transformGroupBySelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:01:03]                 │ debg comboBox.setElement, value: terms(category.keyword)
[00:01:03]                 │ debg comboBox.isOptionSelected, value: terms(category.keyword)
[00:01:07]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:01:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:01:07]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="terms(category.keyword)"]') with timeout=2500
[00:01:08]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:01:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:01:10]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:01:11]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: transformGroupBySelection > comboBoxInput
[00:01:11]                 │ debg TestSubjects.find(transformGroupBySelection > comboBoxInput)
[00:01:11]                 │ debg Find.findByCssSelector('[data-test-subj="transformGroupBySelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:01:11]                 │ debg TestSubjects.exists(transformGroupByEntry 0)
[00:01:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformGroupByEntry 0"]') with timeout=120000
[00:01:11]                 │ debg TestSubjects.getVisibleText(transformGroupByEntry 0 > transformGroupByEntryLabel)
[00:01:11]                 │ debg TestSubjects.find(transformGroupByEntry 0 > transformGroupByEntryLabel)
[00:01:11]                 │ debg Find.findByCssSelector('[data-test-subj="transformGroupByEntry 0"] [data-test-subj="transformGroupByEntryLabel"]') with timeout=10000
[00:01:11]                 │ debg TestSubjects.exists(transformGroupBySelection > comboBoxInput)
[00:01:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformGroupBySelection"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:01:11]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: transformGroupBySelection > comboBoxInput
[00:01:11]                 │ debg TestSubjects.find(transformGroupBySelection > comboBoxInput)
[00:01:11]                 │ debg Find.findByCssSelector('[data-test-subj="transformGroupBySelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:01:11]                 │ debg comboBox.set, comboBoxSelector: transformGroupBySelection > comboBoxInput
[00:01:11]                 │ debg TestSubjects.find(transformGroupBySelection > comboBoxInput)
[00:01:11]                 │ debg Find.findByCssSelector('[data-test-subj="transformGroupBySelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:01:11]                 │ debg comboBox.setElement, value: date_histogram(order_date)
[00:01:11]                 │ debg comboBox.isOptionSelected, value: date_histogram(order_date)
[00:01:14]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:01:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:01:14]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="date_histogram(order_date)"]') with timeout=2500
[00:01:15]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:01:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:01:18]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:01:18]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: transformGroupBySelection > comboBoxInput
[00:01:18]                 │ debg TestSubjects.find(transformGroupBySelection > comboBoxInput)
[00:01:18]                 │ debg Find.findByCssSelector('[data-test-subj="transformGroupBySelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:01:18]                 │ debg TestSubjects.exists(transformGroupByEntry 1)
[00:01:18]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformGroupByEntry 1"]') with timeout=120000
[00:01:18]                 │ debg TestSubjects.getVisibleText(transformGroupByEntry 1 > transformGroupByEntryLabel)
[00:01:18]                 │ debg TestSubjects.find(transformGroupByEntry 1 > transformGroupByEntryLabel)
[00:01:18]                 │ debg Find.findByCssSelector('[data-test-subj="transformGroupByEntry 1"] [data-test-subj="transformGroupByEntryLabel"]') with timeout=10000
[00:01:18]                 │ debg TestSubjects.getVisibleText(transformGroupByEntry 1 > transformGroupByEntryIntervalLabel)
[00:01:18]                 │ debg TestSubjects.find(transformGroupByEntry 1 > transformGroupByEntryIntervalLabel)
[00:01:18]                 │ debg Find.findByCssSelector('[data-test-subj="transformGroupByEntry 1"] [data-test-subj="transformGroupByEntryIntervalLabel"]') with timeout=10000
[00:01:18]                 └- ✓ pass  (15.0s) "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg adds the group by entries"
[00:01:18]               └-> adds the aggregation entries
[00:01:18]                 └-> "before each" hook: global before each
[00:01:18]                 │ debg TestSubjects.exists(transformAggregationSelection > comboBoxInput)
[00:01:18]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="transformAggregationSelection"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:01:18]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: transformAggregationSelection > comboBoxInput
[00:01:18]                 │ debg TestSubjects.find(transformAggregationSelection > comboBoxInput)
[00:01:18]                 │ debg Find.findByCssSelector('[data-test-subj="transformAggregationSelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:01:18]                 │ debg comboBox.set, comboBoxSelector: transformAggregationSelection > comboBoxInput
[00:01:18]                 │ debg TestSubjects.find(transformAggregationSelection > comboBoxInput)
[00:01:18]                 │ debg Find.findByCssSelector('[data-test-subj="transformAggregationSelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:01:18]                 │ debg comboBox.setElement, value: avg(products.base_price)
[00:01:18]                 │ debg comboBox.isOptionSelected, value: avg(products.base_price)
[00:01:22]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:01:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:01:22]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="avg(products.base_price)"]') with timeout=2500
[00:01:22]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:01:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:01:25]                 │ERROR browser[SEVERE] http://localhost:6191/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 399:77070 TypeError: Cannot read property 'properties' of undefined
[00:01:25]                 │          at http://localhost:6191/bundles/plugin/transform/transform.plugin.js:97:858887
[00:01:25]                 │          at ca (http://localhost:6191/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:59331)
[00:01:25]                 │          at Ga (http://localhost:6191/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:67553)
[00:01:25]                 │          at $a (http://localhost:6191/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:67372)
[00:01:25]                 │          at As (http://localhost:6191/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:107875)
[00:01:25]                 │          at hl (http://localhost:6191/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:90017)
[00:01:25]                 │          at ml (http://localhost:6191/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:89942)
[00:01:25]                 │          at il (http://localhost:6191/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:87290)
[00:01:25]                 │          at http://localhost:6191/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:45732
[00:01:25]                 │          at t.unstable_runWithPriority (http://localhost:6191/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:408:3462)
[00:01:25]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:01:26]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: transformAggregationSelection > comboBoxInput
[00:01:26]                 │ debg TestSubjects.find(transformAggregationSelection > comboBoxInput)
[00:01:26]                 │ debg Find.findByCssSelector('[data-test-subj="transformAggregationSelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:01:36]                 │ debg --- retry.tryForTime error: Waiting for element to be located By(css selector, [data-test-subj="transformAggregationSelection"] [data-test-subj="comboBoxInput"])
[00:01:36]                 │      Wait timed out after 10007ms
[00:01:36]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/transform creation_index_pattern batch transform with terms_date_histogram groups and avg agg adds the aggregation entries.png"
[00:01:36]                 │ info Current URL is: http://localhost:6191/app/kibana/#/management/elasticsearch/transform/create_transform/5193f870-d861-11e9-a311-0fa548c5f953
[00:01:36]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/transform creation_index_pattern batch transform with terms_date_histogram groups and avg agg adds the aggregation entries.html
[00:01:36]                 └- ✖ fail: "transform creation_index_pattern batch transform with terms+date_histogram groups and avg agg adds the aggregation entries"
[00:01:36]                 │

Stack Trace

Error: retry.tryForTime timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="transformAggregationSelection"] [data-test-subj="comboBoxInput"])
Wait timed out after 10007ms
    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)

History

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

@mikecote
Copy link
Contributor Author

CI failures seem to come from external flakiness. Will merge into feature branch and ensure feature branch is ok with CI before going into master.

@mikecote mikecote merged commit b54837c into elastic:actions/license-checks Mar 19, 2020
mikecote added a commit that referenced this pull request Mar 20, 2020
* Define minimum license required for each action type (#58668)

* Add minimum required license

* Require at least gold license as a minimum license required on third party action types

* Use strings for license references

* Ensure license type is valid

* Fix some tests

* Add servicenow to gold

* Add tests

* Set license requirements on other built in action types

* Use jest.Mocked<ActionType> instead

* Change servicenow to platinum

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* Make actions config mock and license state mock use factory pattern and jest mocks (#59370)

* Add license checks to action HTTP APIs (#59153)

* Initial work

* Handle errors in update action API

* Add unit tests for APIs

* Make action executor throw when action type isn't enabled

* Add test suite for basic license

* Fix ESLint errors

* Fix failing tests

* Attempt 1 to fix CI

* ESLint fixes

* Create sendResponse function on ActionTypeDisabledError

* Make disabled action types by config return 403

* Remove switch case

* Fix ESLint

* Add license checks within alerting / actions framework (#59699)

* Initial work

* Handle errors in update action API

* Add unit tests for APIs

* Verify action type before scheduling action task

* Make actions plugin.execute throw error if action type is disabled

* Bug fixes

* Make action executor throw when action type isn't enabled

* Add test suite for basic license

* Fix ESLint errors

* Stop action task from re-running when license check fails

* Fix failing tests

* Attempt 1 to fix CI

* ESLint fixes

* Create sendResponse function on ActionTypeDisabledError

* Make disabled action types by config return 403

* Remove switch case

* Fix ESLint

* Fix confusing assertion

* Add comment explaining double mock

* Log warning when alert action isn't scheduled

* Disable action types in UI when license doesn't support it (#59819)

* Initial work

* Handle errors in update action API

* Add unit tests for APIs

* Verify action type before scheduling action task

* Make actions plugin.execute throw error if action type is disabled

* Bug fixes

* Make action executor throw when action type isn't enabled

* Add test suite for basic license

* Fix ESLint errors

* Stop action task from re-running when license check fails

* Fix failing tests

* Attempt 1 to fix CI

* ESLint fixes

* Return enabledInConfig and enabledInLicense from actions get types API

* Disable cards that have invalid license in create connector flyout

* Create sendResponse function on ActionTypeDisabledError

* Make disabled action types by config return 403

* Remove switch case

* Fix ESLint

* Disable when creating alert action

* Return minimumLicenseRequired in /types API

* Disable row in connectors when action type is disabled

* Fix failing jest test

* Some refactoring

* Card in edit alert flyout

* Sort action types by name

* Add tooltips to create connector action type selector

* Add tooltips to alert flyout action type selector

* Add get more actions link in alert flyout

* Add callout when creating a connector

* Typos

* remove float right and use flexgroup

* replace pixels with eui variables

* turn on sass lint for triggers_actions_ui dir

* trying to add padding around cards

* Add callout in edit alert screen when some actions are disabled

* improve card selection for Add Connector flyout

* Fix cards for create connector

* Add tests

* ESLint issue

* Cleanup

* Cleanup pt2

* Fix type check errors

* moving to 3-columns cards for connector selection

* Change re-enable to enable terminology

* Revert "Change re-enable to enable terminology"

This reverts commit b497dfd.

* Add re-enable comment

* Remove unecessary fragment

* Add type to actionTypeNodes

* Fix EuiLink to not have opacity of 0.7 when not hovered

* design cleanup in progress

* updating classNames

* using EuiIconTip

* Remove label on icon tip

* Fix failing jest test

Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>

* Add index to .index action type test

* PR feedback

* Add isErrorThatHandlesItsOwnResponse

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
mikecote added a commit to mikecote/kibana that referenced this pull request Mar 20, 2020
* Define minimum license required for each action type (elastic#58668)

* Add minimum required license

* Require at least gold license as a minimum license required on third party action types

* Use strings for license references

* Ensure license type is valid

* Fix some tests

* Add servicenow to gold

* Add tests

* Set license requirements on other built in action types

* Use jest.Mocked<ActionType> instead

* Change servicenow to platinum

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* Make actions config mock and license state mock use factory pattern and jest mocks (elastic#59370)

* Add license checks to action HTTP APIs (elastic#59153)

* Initial work

* Handle errors in update action API

* Add unit tests for APIs

* Make action executor throw when action type isn't enabled

* Add test suite for basic license

* Fix ESLint errors

* Fix failing tests

* Attempt 1 to fix CI

* ESLint fixes

* Create sendResponse function on ActionTypeDisabledError

* Make disabled action types by config return 403

* Remove switch case

* Fix ESLint

* Add license checks within alerting / actions framework (elastic#59699)

* Initial work

* Handle errors in update action API

* Add unit tests for APIs

* Verify action type before scheduling action task

* Make actions plugin.execute throw error if action type is disabled

* Bug fixes

* Make action executor throw when action type isn't enabled

* Add test suite for basic license

* Fix ESLint errors

* Stop action task from re-running when license check fails

* Fix failing tests

* Attempt 1 to fix CI

* ESLint fixes

* Create sendResponse function on ActionTypeDisabledError

* Make disabled action types by config return 403

* Remove switch case

* Fix ESLint

* Fix confusing assertion

* Add comment explaining double mock

* Log warning when alert action isn't scheduled

* Disable action types in UI when license doesn't support it (elastic#59819)

* Initial work

* Handle errors in update action API

* Add unit tests for APIs

* Verify action type before scheduling action task

* Make actions plugin.execute throw error if action type is disabled

* Bug fixes

* Make action executor throw when action type isn't enabled

* Add test suite for basic license

* Fix ESLint errors

* Stop action task from re-running when license check fails

* Fix failing tests

* Attempt 1 to fix CI

* ESLint fixes

* Return enabledInConfig and enabledInLicense from actions get types API

* Disable cards that have invalid license in create connector flyout

* Create sendResponse function on ActionTypeDisabledError

* Make disabled action types by config return 403

* Remove switch case

* Fix ESLint

* Disable when creating alert action

* Return minimumLicenseRequired in /types API

* Disable row in connectors when action type is disabled

* Fix failing jest test

* Some refactoring

* Card in edit alert flyout

* Sort action types by name

* Add tooltips to create connector action type selector

* Add tooltips to alert flyout action type selector

* Add get more actions link in alert flyout

* Add callout when creating a connector

* Typos

* remove float right and use flexgroup

* replace pixels with eui variables

* turn on sass lint for triggers_actions_ui dir

* trying to add padding around cards

* Add callout in edit alert screen when some actions are disabled

* improve card selection for Add Connector flyout

* Fix cards for create connector

* Add tests

* ESLint issue

* Cleanup

* Cleanup pt2

* Fix type check errors

* moving to 3-columns cards for connector selection

* Change re-enable to enable terminology

* Revert "Change re-enable to enable terminology"

This reverts commit b497dfd.

* Add re-enable comment

* Remove unecessary fragment

* Add type to actionTypeNodes

* Fix EuiLink to not have opacity of 0.7 when not hovered

* design cleanup in progress

* updating classNames

* using EuiIconTip

* Remove label on icon tip

* Fix failing jest test

Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>

* Add index to .index action type test

* PR feedback

* Add isErrorThatHandlesItsOwnResponse

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
mikecote added a commit that referenced this pull request Mar 20, 2020
* Define minimum license required for each action type (#58668)

* Add minimum required license

* Require at least gold license as a minimum license required on third party action types

* Use strings for license references

* Ensure license type is valid

* Fix some tests

* Add servicenow to gold

* Add tests

* Set license requirements on other built in action types

* Use jest.Mocked<ActionType> instead

* Change servicenow to platinum

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* Make actions config mock and license state mock use factory pattern and jest mocks (#59370)

* Add license checks to action HTTP APIs (#59153)

* Initial work

* Handle errors in update action API

* Add unit tests for APIs

* Make action executor throw when action type isn't enabled

* Add test suite for basic license

* Fix ESLint errors

* Fix failing tests

* Attempt 1 to fix CI

* ESLint fixes

* Create sendResponse function on ActionTypeDisabledError

* Make disabled action types by config return 403

* Remove switch case

* Fix ESLint

* Add license checks within alerting / actions framework (#59699)

* Initial work

* Handle errors in update action API

* Add unit tests for APIs

* Verify action type before scheduling action task

* Make actions plugin.execute throw error if action type is disabled

* Bug fixes

* Make action executor throw when action type isn't enabled

* Add test suite for basic license

* Fix ESLint errors

* Stop action task from re-running when license check fails

* Fix failing tests

* Attempt 1 to fix CI

* ESLint fixes

* Create sendResponse function on ActionTypeDisabledError

* Make disabled action types by config return 403

* Remove switch case

* Fix ESLint

* Fix confusing assertion

* Add comment explaining double mock

* Log warning when alert action isn't scheduled

* Disable action types in UI when license doesn't support it (#59819)

* Initial work

* Handle errors in update action API

* Add unit tests for APIs

* Verify action type before scheduling action task

* Make actions plugin.execute throw error if action type is disabled

* Bug fixes

* Make action executor throw when action type isn't enabled

* Add test suite for basic license

* Fix ESLint errors

* Stop action task from re-running when license check fails

* Fix failing tests

* Attempt 1 to fix CI

* ESLint fixes

* Return enabledInConfig and enabledInLicense from actions get types API

* Disable cards that have invalid license in create connector flyout

* Create sendResponse function on ActionTypeDisabledError

* Make disabled action types by config return 403

* Remove switch case

* Fix ESLint

* Disable when creating alert action

* Return minimumLicenseRequired in /types API

* Disable row in connectors when action type is disabled

* Fix failing jest test

* Some refactoring

* Card in edit alert flyout

* Sort action types by name

* Add tooltips to create connector action type selector

* Add tooltips to alert flyout action type selector

* Add get more actions link in alert flyout

* Add callout when creating a connector

* Typos

* remove float right and use flexgroup

* replace pixels with eui variables

* turn on sass lint for triggers_actions_ui dir

* trying to add padding around cards

* Add callout in edit alert screen when some actions are disabled

* improve card selection for Add Connector flyout

* Fix cards for create connector

* Add tests

* ESLint issue

* Cleanup

* Cleanup pt2

* Fix type check errors

* moving to 3-columns cards for connector selection

* Change re-enable to enable terminology

* Revert "Change re-enable to enable terminology"

This reverts commit b497dfd.

* Add re-enable comment

* Remove unecessary fragment

* Add type to actionTypeNodes

* Fix EuiLink to not have opacity of 0.7 when not hovered

* design cleanup in progress

* updating classNames

* using EuiIconTip

* Remove label on icon tip

* Fix failing jest test

Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>

* Add index to .index action type test

* PR feedback

* Add isErrorThatHandlesItsOwnResponse

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Alerting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants