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

add deprecation warning for legacy 3rd party plugins #62401

Merged

Conversation

pgayvallet
Copy link
Contributor

Summary

Fix #56558

Logs a deprecation warning explaining that legacy 3rd parties plugins will no longer work post 8.0, and point to associated documentation

Checklist

@pgayvallet pgayvallet added release_note:skip Skip the PR/issue when compiling release notes v7.8 v8.0.0 Feature:New Platform Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc labels Apr 3, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform (Team:Platform)

Comment on lines +136 to +139
logLegacyThirdPartyPluginDeprecationWarning({
specs: pluginSpecs,
log: this.log,
});
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should I also check for disabled plugins (disabledPluginSpecs ) ?

Copy link
Contributor

Choose a reason for hiding this comment

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

We want plugin authors to update their code. They don't disable their plugins likely.

Comment on lines 39 to 45
log.warn(
`Some installed third party plugin(s) [${pluginIds.join(
', '
)}] are using the legacy plugin format and will no longer work after version 8.0. ` +
`Please refer to ${breakingChangesUrl} for a list of breaking changes ` +
`and ${migrationGuideUrl} for documentation on how to migrate legacy plugins.`
);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Given that we want to add link to documentation and that cause the message to be quite big, I thought only logging the warning once with all the plugin ids was better.

Input welcome on the actual message. Are these two links enough, or do you see any to add?

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should state will no longer work in a future Kibana release in case we decided to remove support earlier than 8.0?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ideally we would know which version we plan to drop support at, but realistically I guess this is a reasonable change to protect us. Will do.

Apart from that, do you see anything to change/add in the message?

Comment on lines +49 to +52
const isThirdPartyPluginSpec = (spec: LegacyPluginSpec): boolean => {
const pluginPath = spec.getPack().getPath();
return !internalPaths.some(internalPath => pluginPath.indexOf(internalPath) > -1);
};
Copy link
Contributor Author

Choose a reason for hiding this comment

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

So, this is not the most solid piece of software I ever crafted, but as pack.getPath() returns an absolute url, and as I didn't really want to work with kbnDevUtils.REPO_ROOT and path resolving, I felt this was sufficient, as I think it's very unlikely to have false negatives here.

Tell me if we think this is not sufficient and if this should be improved.

Copy link
Contributor

Choose a reason for hiding this comment

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

You could probably get around using kbnDevUtils by simply doing:

const rootPath = Path.resolve(Path.join(__dirname, '..', '..', '..', '..', '..'))

Also we may want to make the xpack path more specific x-pack/legacy/plugins so that any plugins loaded in functional tests /x-pack/test/ also get the warning (similar to test/plugin_functional)

Copy link
Contributor Author

@pgayvallet pgayvallet Apr 11, 2020

Choose a reason for hiding this comment

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

You could probably get around using kbnDevUtils by simply doing const rootPath = Path.resolve(Path.join(__dirname, '..', '..', '..', '..', '..'))

TBH, I'm not a big fan of relative resolves, as they are imho very fragile to refactoring. If we think this detection implementation is not good enough, I would maybe lean to still use '@kbn/dev-utils' as it will keep the repo root logic in a single place. OTOH the only imports of this module we currently have in src/core/server are in test files. So:

  • Is this implementation too fragile and do we want to switch to real absolute path checking? (I'm good with that)
  • If we do, should we use @kbn/dev-utils's REPO_ROOT or the const rootPath = Path.resolve(Path.join(__dirname, '..', '..', '..', '..', '..')) alternative?

Also we may want to make the xpack path more specific x-pack/legacy/plugins

That would be great, except there is technically only ONE xpack plugin/plugin pack, which is x-pack/index.js.

kibana/x-pack/index.js

Lines 36 to 42 in 982c0da

module.exports = function(kibana) {
return [
xpackMain(kibana),
graph(kibana),
monitoring(kibana),
reporting(kibana),
spaces(kibana),

We don't have any information on the plugins this pack loads. I can change the xpack check to a regexp check to /x-pack$ (or to strict absolute path checking depending on the answer of my comment's first point) however, to only target the 'real' x-pack plugin and allow to log warnings for functional test plugins.

WDYT?

Copy link
Contributor

Choose a reason for hiding this comment

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

  • Is this implementation too fragile and do we want to switch to real absolute path checking? (I'm good with that)
  • If we do, should we use @kbn/dev-utils's REPO_ROOT or the const rootPath = Path.resolve(Path.join(__dirname, '..', '..', '..', '..', '..')) alternative?

Good point on the brittleness of refactoring. Though it's unlikely we'll refactor or move any of this legacy code in the near future, let's not create this situation if avoidable.

My main reason for not using @kbn/dev-utils is the fact that we don't use that module in any production code except in src/cli.

Given those two points, let's just keep what you have.

We don't have any information on the plugins this pack loads. I can change the xpack check to a regexp check to /x-pack$ (or to strict absolute path checking depending on the answer of my comment's first point) however, to only target the 'real' x-pack plugin and allow to log warnings for functional test plugins.

I forgot about the x-pack mega plugin pattern in legacy. I'm leaning towards just leaving as-is. There is only one plugin in x-pack/test/plugin_functional and it's a KP plugin, so this warning wouldn't apply anyways.

Copy link
Contributor

@mshustov mshustov Apr 14, 2020

Choose a reason for hiding this comment

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

you can use

const { fromRoot } = require('../../core/server/utils');
fromRoot()

to get absolute path to the root

Also we may want to make the xpack path more specific x-pack/legacy/plugins so that any plugins loaded in functional tests /x-pack/test/

Why we cannot reach out their codeowners directly?

@pgayvallet pgayvallet marked this pull request as ready for review April 3, 2020 08:03
@pgayvallet pgayvallet requested a review from a team as a code owner April 3, 2020 08:03
@rayafratkina rayafratkina added v7.8.0 and removed v7.8 labels Apr 6, 2020
const internalPaths = ['/src/legacy/core_plugins', '/x-pack'];

const breakingChangesUrl =
'https://github.com/elastic/kibana/blob/master/docs/migration/migrate_8_0.asciidoc';
Copy link
Contributor

Choose a reason for hiding this comment

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

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/security/management·js.security app Management Security navigation Clicking save in create role section brings user back to listing

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: security app
[00:00:00]           └-> "before all" hook
[00:05:24]           └-: Management
[00:05:24]             └-> "before all" hook
[00:05:24]             └-> "before all" hook
[00:05:24]               │ debg SecurityPage:initTests
[00:05:24]               │ info [empty_kibana] Loading "mappings.json"
[00:05:24]               │ info [empty_kibana] Loading "data.json.gz"
[00:05:24]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] [.kibana_1/hZGpJEYiRL68PfrwKyAF4Q] deleting index
[00:05:24]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] [.kibana_2/HVEjkXwKRF2wsXgkIV4obw] deleting index
[00:05:24]               │ info [empty_kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:05:24]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] applying create index request using v1 templates []
[00:05:24]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:05:24]               │ info [empty_kibana] Created index ".kibana"
[00:05:24]               │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:05:24]               │ info [empty_kibana] Indexed 2 docs into ".kibana"
[00:05:24]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] [.kibana/MijaDiW1S4qIf1Vj46pRFw] update_mapping [_doc]
[00:05:24]               │ debg Migrating saved objects
[00:05:24]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] [.kibana/MijaDiW1S4qIf1Vj46pRFw] update_mapping [_doc]
[00:05:25]               │ proc [kibana]   log   [07:58:07.901] [info][savedobjects-service] Creating index .kibana_2.
[00:05:25]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] applying create index request using v1 templates []
[00:05:25]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:05:25]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] updating number_of_replicas to [0] for indices [.kibana_2]
[00:05:25]               │ proc [kibana]   log   [07:58:08.000] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:05:25]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] applying create index request using v1 templates []
[00:05:25]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:05:25]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] updating number_of_replicas to [0] for indices [.kibana_1]
[00:05:25]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] 5974 finished with response BulkByScrollResponse[took=36.5ms,timed_out=false,sliceId=null,updated=0,created=3,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:05:26]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] [.kibana/MijaDiW1S4qIf1Vj46pRFw] deleting index
[00:05:26]               │ proc [kibana]   log   [07:58:08.411] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:05:26]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] [.kibana_2/0Q-W-CrTT46yPorkVdk_AA] update_mapping [_doc]
[00:05:26]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] [.kibana_2/0Q-W-CrTT46yPorkVdk_AA] update_mapping [_doc]
[00:05:26]               │ proc [kibana]   log   [07:58:08.564] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:05:26]               │ proc [kibana]   log   [07:58:08.633] [info][savedobjects-service] Finished in 734ms.
[00:05:26]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:05:26]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] [.kibana_2/0Q-W-CrTT46yPorkVdk_AA] update_mapping [_doc]
[00:05:26]               │ info [logstash_functional] Loading "mappings.json"
[00:05:26]               │ info [logstash_functional] Loading "data.json.gz"
[00:05:26]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] applying create index request using v1 templates []
[00:05:26]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:05:26]               │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:05:26]               │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:05:26]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] applying create index request using v1 templates []
[00:05:26]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:05:27]               │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:05:27]               │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:05:27]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] applying create index request using v1 templates []
[00:05:27]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:05:27]               │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:05:27]               │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:05:36]               │ info progress: 7814
[00:05:43]               │ info [logstash_functional] Indexed 4634 docs into "logstash-2015.09.22"
[00:05:43]               │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:05:43]               │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:05:44]               │ debg applying update to kibana config: {"defaultIndex":"logstash-*"}
[00:05:44]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] [.kibana_2/0Q-W-CrTT46yPorkVdk_AA] update_mapping [_doc]
[00:05:44]               │ debg navigating to settings url: http://localhost:6141/app/kibana#/management
[00:05:44]               │ debg navigate to: http://localhost:6141/app/kibana#/management
[00:05:45]               │ debg browser[INFO] http://localhost:6141/login?next=%2Fapp%2Fkibana%3F_t%3D1587110307069#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:05:45]               │
[00:05:45]               │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:45]               │ debg ... sleep(700) start
[00:05:45]               │ debg ... sleep(700) end
[00:05:45]               │ debg returned from get, calling refresh
[00:05:46]               │ debg browser[INFO] http://localhost:6141/login?next=%2Fapp%2Fkibana%3F_t%3D1587110307069#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:05:46]               │
[00:05:46]               │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:46]               │ debg currentUrl = http://localhost:6141/login?next=%2Fapp%2Fkibana%3F_t%3D1587110307069#/management
[00:05:46]               │          appUrl = http://localhost:6141/app/kibana#/management
[00:05:46]               │ debg TestSubjects.find(kibanaChrome)
[00:05:46]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:05:50]               │ debg Found login page
[00:05:50]               │ debg TestSubjects.setValue(loginUsername, test_user)
[00:05:50]               │ debg TestSubjects.click(loginUsername)
[00:05:50]               │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:05:50]               │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:05:50]               │ debg browser[INFO] http://localhost:6141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-17T07:58:32Z
[00:05:50]               │        Adding connection to http://localhost:6141/elasticsearch
[00:05:50]               │
[00:05:50]               │      "
[00:05:50]               │ debg TestSubjects.setValue(loginPassword, changeme)
[00:05:50]               │ debg TestSubjects.click(loginPassword)
[00:05:50]               │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:05:50]               │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:05:50]               │ debg TestSubjects.click(loginSubmit)
[00:05:50]               │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:05:50]               │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:05:50]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:05:56]               │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1587110307069#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:05:56]               │
[00:05:56]               │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:56]               │ debg browser[INFO] http://localhost:6141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-17T07:58:37Z
[00:05:56]               │        Adding connection to http://localhost:6141/elasticsearch
[00:05:56]               │
[00:05:56]               │      "
[00:05:57]               │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1587110318890#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:05:57]               │
[00:05:57]               │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:57]               │ debg Finished login process currentUrl = http://localhost:6141/app/kibana#/management
[00:05:57]               │ debg TestSubjects.find(kibanaChrome)
[00:05:57]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:05:59]               │ proc [kibana]   log   [07:58:41.888] [warning][plugins][taskManager][taskManager] The task lens_telemetry "Lens-lens_telemetry" is not cancellable.
[00:05:59]               │ proc [kibana]   log   [07:58:41.888] [warning][plugins][taskManager][taskManager] The task vis_telemetry "oss_telemetry-vis_telemetry" is not cancellable.
[00:06:02]               │ debg browser[INFO] http://localhost:6141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-17T07:58:43Z
[00:06:02]               │        Adding connection to http://localhost:6141/elasticsearch
[00:06:02]               │
[00:06:02]               │      "
[00:06:02]               │ debg ... sleep(501) start
[00:06:03]               │ debg ... sleep(501) end
[00:06:03]               │ debg in navigateTo url = http://localhost:6141/app/kibana#/management?_g=()
[00:06:03]               │ debg TestSubjects.exists(statusPageContainer)
[00:06:03]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:06:05]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:06:06]               │ debg TestSubjects.click(roles)
[00:06:06]               │ debg Find.clickByCssSelector('[data-test-subj="roles"]') with timeout=10000
[00:06:06]               │ debg Find.findByCssSelector('[data-test-subj="roles"]') with timeout=10000
[00:06:06]               │ debg TestSubjects.click(createRoleButton)
[00:06:06]               │ debg Find.clickByCssSelector('[data-test-subj="createRoleButton"]') with timeout=10000
[00:06:06]               │ debg Find.findByCssSelector('[data-test-subj="createRoleButton"]') with timeout=10000
[00:06:07]               │ debg TestSubjects.setValue(roleFormNameInput, logstash-readonly)
[00:06:07]               │ debg TestSubjects.click(roleFormNameInput)
[00:06:07]               │ debg Find.clickByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:06:07]               │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:06:08]               │ debg Adding index logstash-* to role
[00:06:08]               │ debg Find.findByCssSelector('[data-test-subj="indicesInput0"] input') with timeout=10000
[00:06:08]               │ debg Adding privilege read to role
[00:06:08]               │ debg Find.findByCssSelector('[data-test-subj="privilegesInput0"] input') with timeout=10000
[00:06:08]               │ debg Find.byButtonText('read') with timeout=10000
[00:06:09]               │ debg TestSubjects.find(roleFormSaveButton)
[00:06:09]               │ debg Find.findByCssSelector('[data-test-subj="roleFormSaveButton"]') with timeout=10000
[00:06:09]               │ debg isGlobalLoadingIndicatorVisible
[00:06:09]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:09]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:09]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:09]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:09]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] added role [logstash-readonly]
[00:06:10]               │ debg navigating to settings url: http://localhost:6141/app/kibana#/management
[00:06:10]               │ debg navigate to: http://localhost:6141/app/kibana#/management
[00:06:10]               │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1587110332370#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:06:10]               │
[00:06:10]               │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:10]               │ debg ... sleep(700) start
[00:06:11]               │ debg ... sleep(700) end
[00:06:11]               │ debg returned from get, calling refresh
[00:06:12]               │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1587110332370#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:06:12]               │
[00:06:12]               │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:12]               │ debg currentUrl = http://localhost:6141/app/kibana#/management
[00:06:12]               │          appUrl = http://localhost:6141/app/kibana#/management
[00:06:12]               │ debg TestSubjects.find(kibanaChrome)
[00:06:12]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:18]               │ debg TestSubjects.find(kibanaChrome)
[00:06:18]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:06:18]               │ debg browser[INFO] http://localhost:6141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-17T07:58:58Z
[00:06:18]               │        Adding connection to http://localhost:6141/elasticsearch
[00:06:18]               │
[00:06:18]               │      "
[00:06:18]               │ debg ... sleep(501) start
[00:06:18]               │ debg ... sleep(501) end
[00:06:18]               │ debg in navigateTo url = http://localhost:6141/app/kibana#/management?_g=()
[00:06:18]               │ debg TestSubjects.exists(statusPageContainer)
[00:06:18]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:06:21]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:06:21]             └-: Security
[00:06:21]               └-> "before all" hook
[00:06:21]               └-: navigation
[00:06:21]                 └-> "before all" hook
[00:06:21]                 └-> Can navigate to create user section
[00:06:21]                   └-> "before each" hook: global before each
[00:06:21]                   │ debg navigating to settings url: http://localhost:6141/app/kibana#/management
[00:06:21]                   │ debg navigate to: http://localhost:6141/app/kibana#/management
[00:06:21]                   │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1587110343934#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:06:21]                   │
[00:06:21]                   │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:21]                   │ debg ... sleep(700) start
[00:06:22]                   │ debg ... sleep(700) end
[00:06:22]                   │ debg returned from get, calling refresh
[00:06:23]                   │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1587110343934#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:06:23]                   │
[00:06:23]                   │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:23]                   │ debg currentUrl = http://localhost:6141/app/kibana#/management
[00:06:23]                   │          appUrl = http://localhost:6141/app/kibana#/management
[00:06:23]                   │ debg TestSubjects.find(kibanaChrome)
[00:06:23]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:28]                   │ debg TestSubjects.find(kibanaChrome)
[00:06:28]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:06:28]                   │ debg browser[INFO] http://localhost:6141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-17T07:59:09Z
[00:06:28]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:06:28]                   │
[00:06:28]                   │      "
[00:06:28]                   │ debg ... sleep(501) start
[00:06:28]                   │ debg ... sleep(501) end
[00:06:28]                   │ debg in navigateTo url = http://localhost:6141/app/kibana#/management?_g=()
[00:06:28]                   │ debg TestSubjects.exists(statusPageContainer)
[00:06:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:06:31]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:06:31]                   │ debg TestSubjects.click(users)
[00:06:31]                   │ debg Find.clickByCssSelector('[data-test-subj="users"]') with timeout=10000
[00:06:31]                   │ debg Find.findByCssSelector('[data-test-subj="users"]') with timeout=10000
[00:06:32]                   │ debg TestSubjects.click(createUserButton)
[00:06:32]                   │ debg Find.clickByCssSelector('[data-test-subj="createUserButton"]') with timeout=10000
[00:06:32]                   │ debg Find.findByCssSelector('[data-test-subj="createUserButton"]') with timeout=10000
[00:06:32]                   └- ✓ pass  (10.8s) "security app Management Security navigation Can navigate to create user section"
[00:06:32]                 └-> Clicking cancel in create user section brings user back to listing
[00:06:32]                   └-> "before each" hook: global before each
[00:06:32]                   │ debg TestSubjects.click(userFormCancelButton)
[00:06:32]                   │ debg Find.clickByCssSelector('[data-test-subj="userFormCancelButton"]') with timeout=10000
[00:06:32]                   │ debg Find.findByCssSelector('[data-test-subj="userFormCancelButton"]') with timeout=10000
[00:06:32]                   └- ✓ pass  (283ms) "security app Management Security navigation Clicking cancel in create user section brings user back to listing"
[00:06:32]                 └-> Clicking save in create user section brings user back to listing
[00:06:32]                   └-> "before each" hook: global before each
[00:06:32]                   │ debg TestSubjects.click(createUserButton)
[00:06:32]                   │ debg Find.clickByCssSelector('[data-test-subj="createUserButton"]') with timeout=10000
[00:06:32]                   │ debg Find.findByCssSelector('[data-test-subj="createUserButton"]') with timeout=10000
[00:06:33]                   │ debg TestSubjects.setValue(userFormUserNameInput, new-user)
[00:06:33]                   │ debg TestSubjects.click(userFormUserNameInput)
[00:06:33]                   │ debg Find.clickByCssSelector('[data-test-subj="userFormUserNameInput"]') with timeout=10000
[00:06:33]                   │ debg Find.findByCssSelector('[data-test-subj="userFormUserNameInput"]') with timeout=10000
[00:06:33]                   │ debg TestSubjects.setValue(passwordInput, 123456)
[00:06:33]                   │ debg TestSubjects.click(passwordInput)
[00:06:33]                   │ debg Find.clickByCssSelector('[data-test-subj="passwordInput"]') with timeout=10000
[00:06:33]                   │ debg Find.findByCssSelector('[data-test-subj="passwordInput"]') with timeout=10000
[00:06:33]                   │ debg TestSubjects.setValue(passwordConfirmationInput, 123456)
[00:06:33]                   │ debg TestSubjects.click(passwordConfirmationInput)
[00:06:33]                   │ debg Find.clickByCssSelector('[data-test-subj="passwordConfirmationInput"]') with timeout=10000
[00:06:33]                   │ debg Find.findByCssSelector('[data-test-subj="passwordConfirmationInput"]') with timeout=10000
[00:06:33]                   │ debg TestSubjects.setValue(userFormFullNameInput, Full User Name)
[00:06:33]                   │ debg TestSubjects.click(userFormFullNameInput)
[00:06:33]                   │ debg Find.clickByCssSelector('[data-test-subj="userFormFullNameInput"]') with timeout=10000
[00:06:33]                   │ debg Find.findByCssSelector('[data-test-subj="userFormFullNameInput"]') with timeout=10000
[00:06:33]                   │ debg TestSubjects.setValue(userFormEmailInput, [email protected])
[00:06:33]                   │ debg TestSubjects.click(userFormEmailInput)
[00:06:33]                   │ debg Find.clickByCssSelector('[data-test-subj="userFormEmailInput"]') with timeout=10000
[00:06:33]                   │ debg Find.findByCssSelector('[data-test-subj="userFormEmailInput"]') with timeout=10000
[00:06:34]                   │ debg TestSubjects.click(userFormSaveButton)
[00:06:34]                   │ debg Find.clickByCssSelector('[data-test-subj="userFormSaveButton"]') with timeout=10000
[00:06:34]                   │ debg Find.findByCssSelector('[data-test-subj="userFormSaveButton"]') with timeout=10000
[00:06:34]                   │ debg isGlobalLoadingIndicatorVisible
[00:06:34]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:34]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:34]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:34]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:34]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] added user [new-user]
[00:06:34]                   └- ✓ pass  (2.0s) "security app Management Security navigation Clicking save in create user section brings user back to listing"
[00:06:34]                 └-> Can navigate to edit user section
[00:06:34]                   └-> "before each" hook: global before each
[00:06:34]                   │ debg Find.clickByDisplayedLinkText('new-user') with timeout=10000
[00:06:34]                   │ debg Find.displayedByLinkText('new-user') with timeout=10000
[00:06:34]                   │ debg Find.byLinkText('new-user') with timeout=10000
[00:06:35]                   │ debg Wait for element become visible: new-user with timeout=10000
[00:06:35]                   │ debg ... sleep(500) start
[00:06:35]                   │ debg ... sleep(500) end
[00:06:35]                   │ debg TestSubjects.getAttribute(userFormUserNameInput, value)
[00:06:35]                   │ debg TestSubjects.find(userFormUserNameInput)
[00:06:35]                   │ debg Find.findByCssSelector('[data-test-subj="userFormUserNameInput"]') with timeout=10000
[00:06:36]                   └- ✓ pass  (1.2s) "security app Management Security navigation Can navigate to edit user section"
[00:06:36]                 └-> Can navigate to roles section
[00:06:36]                   └-> "before each" hook: global before each
[00:06:36]                   │ debg navigating to settings url: http://localhost:6141/app/kibana#/management
[00:06:36]                   │ debg navigate to: http://localhost:6141/app/kibana#/management
[00:06:36]                   │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1587110358272#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:06:36]                   │
[00:06:36]                   │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:36]                   │ debg ... sleep(700) start
[00:06:37]                   │ debg ... sleep(700) end
[00:06:37]                   │ debg returned from get, calling refresh
[00:06:37]                   │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1587110358272#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:06:37]                   │
[00:06:37]                   │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:37]                   │ debg currentUrl = http://localhost:6141/app/kibana#/management
[00:06:37]                   │          appUrl = http://localhost:6141/app/kibana#/management
[00:06:37]                   │ debg TestSubjects.find(kibanaChrome)
[00:06:37]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:43]                   │ debg TestSubjects.find(kibanaChrome)
[00:06:43]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:06:43]                   │ debg browser[INFO] http://localhost:6141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-17T07:59:24Z
[00:06:43]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:06:43]                   │
[00:06:43]                   │      "
[00:06:43]                   │ debg ... sleep(501) start
[00:06:43]                   │ debg ... sleep(501) end
[00:06:43]                   │ debg in navigateTo url = http://localhost:6141/app/kibana#/management?_g=()
[00:06:43]                   │ debg TestSubjects.exists(statusPageContainer)
[00:06:43]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:06:46]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:06:46]                   │ debg TestSubjects.click(roles)
[00:06:46]                   │ debg Find.clickByCssSelector('[data-test-subj="roles"]') with timeout=10000
[00:06:46]                   │ debg Find.findByCssSelector('[data-test-subj="roles"]') with timeout=10000
[00:06:47]                   └- ✓ pass  (11.2s) "security app Management Security navigation Can navigate to roles section"
[00:06:47]                 └-> Can navigate to create role section
[00:06:47]                   └-> "before each" hook: global before each
[00:06:47]                   │ debg TestSubjects.click(createRoleButton)
[00:06:47]                   │ debg Find.clickByCssSelector('[data-test-subj="createRoleButton"]') with timeout=10000
[00:06:47]                   │ debg Find.findByCssSelector('[data-test-subj="createRoleButton"]') with timeout=10000
[00:06:47]                   └- ✓ pass  (470ms) "security app Management Security navigation Can navigate to create role section"
[00:06:47]                 └-> Clicking cancel in create role section brings user back to listing
[00:06:47]                   └-> "before each" hook: global before each
[00:06:47]                   │ debg TestSubjects.click(roleFormCancelButton)
[00:06:47]                   │ debg Find.clickByCssSelector('[data-test-subj="roleFormCancelButton"]') with timeout=10000
[00:06:47]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormCancelButton"]') with timeout=10000
[00:06:48]                   └- ✓ pass  (512ms) "security app Management Security navigation Clicking cancel in create role section brings user back to listing"
[00:06:48]                 └-> Clicking save in create role section brings user back to listing
[00:06:48]                   └-> "before each" hook: global before each
[00:06:48]                   │ debg TestSubjects.click(createRoleButton)
[00:06:48]                   │ debg Find.clickByCssSelector('[data-test-subj="createRoleButton"]') with timeout=10000
[00:06:48]                   │ debg Find.findByCssSelector('[data-test-subj="createRoleButton"]') with timeout=10000
[00:06:48]                   │ debg TestSubjects.setValue(roleFormNameInput, a-my-new-role)
[00:06:48]                   │ debg TestSubjects.click(roleFormNameInput)
[00:06:48]                   │ debg Find.clickByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:06:48]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:06:58]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:06:58]                   │      Wait timed out after 10044ms
[00:06:58]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:07:08]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:07:08]                   │      Wait timed out after 10063ms
[00:07:09]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:07:19]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:07:19]                   │      Wait timed out after 10015ms
[00:07:19]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:07:29]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:07:29]                   │      Wait timed out after 10008ms
[00:07:30]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:07:40]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:07:40]                   │      Wait timed out after 10021ms
[00:07:41]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:07:51]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:07:51]                   │      Wait timed out after 10069ms
[00:07:51]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:08:01]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:08:01]                   │      Wait timed out after 10035ms
[00:08:02]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:08:12]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:08:12]                   │      Wait timed out after 10044ms
[00:08:12]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:08:22]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:08:22]                   │      Wait timed out after 10035ms
[00:08:23]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:08:33]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:08:33]                   │      Wait timed out after 10055ms
[00:08:33]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:08:42]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] moving index [.kibana-event-log-8.0.0-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] to [{"phase":"hot","action":"unfollow","name":"pause-follower-index"}] in policy [.kibana-event-log-policy]
[00:08:42]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] to [{"phase":"hot","action":"unfollow","name":"pause-follower-index"}] in policy [ilm-history-ilm-policy]
[00:08:42]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] moving index [.kibana-event-log-8.0.0-000001] from [{"phase":"hot","action":"unfollow","name":"pause-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"close-follower-index"}] in policy [.kibana-event-log-policy]
[00:08:42]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"pause-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"close-follower-index"}] in policy [ilm-history-ilm-policy]
[00:08:42]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] moving index [.kibana-event-log-8.0.0-000001] from [{"phase":"hot","action":"unfollow","name":"close-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"unfollow-follower-index"}] in policy [.kibana-event-log-policy]
[00:08:42]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"close-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"unfollow-follower-index"}] in policy [ilm-history-ilm-policy]
[00:08:42]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] moving index [.kibana-event-log-8.0.0-000001] from [{"phase":"hot","action":"unfollow","name":"unfollow-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"open-follower-index"}] in policy [.kibana-event-log-policy]
[00:08:42]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"unfollow-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"open-follower-index"}] in policy [ilm-history-ilm-policy]
[00:08:42]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] moving index [.kibana-event-log-8.0.0-000001] from [{"phase":"hot","action":"unfollow","name":"open-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-yellow-step"}] in policy [.kibana-event-log-policy]
[00:08:42]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"open-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-yellow-step"}] in policy [ilm-history-ilm-policy]
[00:08:42]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] moving index [.kibana-event-log-8.0.0-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-yellow-step"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.kibana-event-log-policy]
[00:08:42]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1587107452849822763] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-yellow-step"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [ilm-history-ilm-policy]
[00:08:43]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:08:43]                   │      Wait timed out after 10017ms
[00:08:44]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:08:54]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:08:54]                   │      Wait timed out after 10021ms
[00:08:54]                   │ debg --- retry.try error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:08:54]                   │      Wait timed out after 10021ms
[00:08:54]                   │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:08:54]                   │          at process._tickCallback (internal/process/next_tick.js:68:7)
[00:08:55]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/security app Management Security navigation Clicking save in create role section brings user back to listing.png"
[00:08:55]                   │ info Current URL is: http://localhost:6141/app/kibana#/management/security/roles
[00:08:55]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/security app Management Security navigation Clicking save in create role section brings user back to listing.html
[00:08:55]                   └- ✖ fail: "security app Management Security navigation Clicking save in create role section brings user back to listing"
[00:08:55]                   │

Stack Trace

Error: retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
Wait timed out after 10021ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842: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)
    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

@pgayvallet pgayvallet merged commit abbb51b into elastic:master Apr 17, 2020
pgayvallet added a commit to pgayvallet/kibana that referenced this pull request Apr 17, 2020
* add warnings for legacy 3rd party plugins

* use published doc page for 8.0 breaking changes

* update message to remove fixed 8.0 version reference

* fix generated doc
gmmorris added a commit to gmmorris/kibana that referenced this pull request Apr 17, 2020
* master: (40 commits)
  [APM]Upgrade apm-rum agent to latest version to fix full page reload (elastic#63723)
  add deprecation warning for legacy 3rd party plugins (elastic#62401)
  Migrate timelion vis (elastic#62819)
  Replacebad scope link with actual values (elastic#63444)
  Index pattern management UI -> TypeScript and New Platform Ready (create_index_pattern_wizard) (elastic#63111)
  [SIEM] Threat hunting enhancements: Filter for/out value, Show top field, Copy to Clipboard, Draggable chart legends (elastic#61207)
  [Maps] fix term join agg key collision (elastic#63324)
  [Ingest] Fix agent config key sorting (elastic#63488)
  [Monitoring] Fixed server response errors (elastic#63181)
  update elastic charts to 18.3.0 (elastic#63732)
  Start services (elastic#63720)
  [APM] Encode spaces when creating ML job (elastic#63683)
  Uptime 7.7 docs (elastic#62228)
  [DOCS] Updates remote cluster and ccr docs (elastic#63517)
  [Maps] Add 3rd party vector tile support (elastic#62084)
  [Endpoint][EPM] Retrieve Index Pattern from Ingest Manager (elastic#63016)
  [Endpoint] Host Details Policy Response Panel (elastic#63518)
  [Uptime] Certificate expiration threshold settings (elastic#63682)
  Refactor saved object types to use `namespaceType` (elastic#63217)
  [SIEM][CASE] Create comments sequentially (elastic#63692)
  ...
pgayvallet added a commit that referenced this pull request Apr 17, 2020
* add warnings for legacy 3rd party plugins

* use published doc page for 8.0 breaking changes

* update message to remove fixed 8.0 version reference

* fix generated doc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:New Platform release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.8.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add warning log for 3rd party legacy plugins
6 participants