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

[Fleet] Enrollment keys list page #61346

Conversation

nchaulet
Copy link
Member

@nchaulet nchaulet commented Mar 25, 2020

Summary

Add the enrollement token list page, this page allow to view and manage enrollment tokens.
Done in this PR:

  • enrollment token UI
  • some refactoring to share the same layour between agent and enrollment tokens listing
  • UI Remove redundant title for agent and enrollment tokens tab.
  • modify the DELETE /enrollement-keys api to desactive the key instead of deleting the saved object
  • add test to ensure DELETE /enrollement-keys invalidate the related ES api key.

UI Changes

Screen Shot 2020-03-27 at 2 20 25 PM

Screen Shot 2020-03-26 at 3 46 16 PM

Screen Shot 2020-03-27 at 2 33 25 PM

API Change

The delete API is now not deleting the enrollment key anymore but marking it as inactive, what are your thoughts on that? I think it's interesting to keep a trace of old enrollment keys for investigation, ...

@nchaulet nchaulet added Feature:EPM Fleet team's Elastic Package Manager (aka Integrations) project Feature:Fleet Fleet team's agent central management project labels Mar 25, 2020
@nchaulet nchaulet self-assigned this Mar 25, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ingest-management (Feature:EPM)

@nchaulet nchaulet force-pushed the feature-ingest-fleet-enrollment-key-list-page branch 2 times, most recently from 9339c65 to fcec414 Compare March 26, 2020 20:10
@nchaulet nchaulet force-pushed the feature-ingest-fleet-enrollment-key-list-page branch from fcec414 to 877d1ba Compare March 26, 2020 20:27
@nchaulet nchaulet marked this pull request as ready for review March 26, 2020 20:33
@nchaulet nchaulet requested a review from a team March 26, 2020 20:33
@jen-huang jen-huang added Team:Fleet Team label for Observability Data Collection Fleet team v7.7.0 release_note:skip Skip the PR/issue when compiling release notes v7.8 v8.0.0 v7.8.0 and removed v7.7.0 v7.8 Feature:EPM Fleet team's Elastic Package Manager (aka Integrations) project labels Mar 26, 2020
@hbharding
Copy link
Contributor

Hey @nchaulet - thanks! Could you remove the heading "Enrollment tokens" which appear below the page tabs? It's redundant and pushes the content a bit too far down the page. If possible, could you do the same to the Agents page?

It should look something more like this:
image
image

@nchaulet nchaulet force-pushed the feature-ingest-fleet-enrollment-key-list-page branch from bc9d961 to e02ea5e Compare March 27, 2020 18:40
@neptunian
Copy link
Contributor

neptunian commented Mar 31, 2020

Looks good! A few comments...

Getting react warnings for an invalid date for the default config. If there is no date perhaps we can handle it some other way? Or should default config have a date?
Screen Shot 2020-03-31 at 7 42 09 AM

Since we can't adjust the column widths, can we add a "title" tag so when the token key is long and truncated we can see all of it? @hbharding
Screen Shot 2020-03-31 at 8 24 54 AM

Not sure what the purpose is of having two buttons here. If I click "create enrollment token" the flyout continues so you never click "continue". If I don't click "create enrollment token" and just click "continue" the flyout closes and nothing happens. @hbharding
Screen Shot 2020-03-31 at 8 40 24 AM

@nchaulet
Copy link
Member Author

@neptunian Thanks for the review,

I removed the continue button from the flyout, I think it does not make sense here.

I added the title to the truncated name.

We should always have a created_at date on the enrollement token (maybe you tested this PR on an already populated ES?) but I added a test to not render the date if there is none.

@nchaulet nchaulet force-pushed the feature-ingest-fleet-enrollment-key-list-page branch from 70436a7 to a70683e Compare March 31, 2020 20:32
@nchaulet nchaulet merged commit 36ff703 into elastic:master Apr 1, 2020
@nchaulet nchaulet deleted the feature-ingest-fleet-enrollment-key-list-page branch April 1, 2020 11:23
nchaulet added a commit to nchaulet/kibana that referenced this pull request Apr 1, 2020
nchaulet added a commit that referenced this pull request Apr 1, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Apr 1, 2020
* master: (44 commits)
  [Alerting] add alerting privileges for uptime and metrics (elastic#61113)
  Update percy agent to latest version (elastic#62089)
  [APM] Update central configuration text (elastic#61556)
  [Fleet] Ouput api key do not need metricbeat* access (elastic#60319)
  Document new `xpack.security.authc.*` settings and related 8.0.0 breaking changes. (elastic#61443)
  Migrate test plugins ⇒ NP (kbn_tp_sample_panel_action) (elastic#60749)
  [Alerting] Add "Start trial" button for connectors (elastic#61774)
  [ML] Transforms: Fix handling of default and advanced search on step summary view. (elastic#61799)
  [Task Manager] Change info message "ran out Available Workers" to debug (elastic#62083)
  [Maps] Highlight selected layer in TOC (elastic#61510)
  ensure pageIndex is set correclty in analytics list (elastic#62041)
  [ML] Functional API tests - fix mml request bodies (elastic#62116)
  Fix validation for index threshold when selecting an index (elastic#61615)
  [SIEM][Detection Engine] Adds release notes link and updates one UI section
  [backport] Bump to 5.1.2 (elastic#62117)
  [APM] .apm-agent-configuration is not created if Kibana is started while ES is not ready (elastic#61610)
  [Fleet] Enrollment list page (elastic#61346)
  [ML] Fix maximum default enabled columns for data grid. (elastic#62005)
  [Home][Tutorial] Add Oracle data UI (elastic#61595)
  [APM] Ensure telemetry data matches SO/telemetry mapping (elastic#61957)
  ...
@jen-huang jen-huang changed the title [Fleet] Enrollment list page [Fleet] Enrollment keys list page Apr 8, 2020
@jen-huang jen-huang mentioned this pull request Apr 8, 2020
22 tasks
@kibanamachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/machine_learning/feature_controls/ml_security·ts.machine learning feature controls security machine_learning_user and global all shows ML navlink

Link to Jenkins

Standard Out

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

[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-oraclelinux-tests-xl-1586387102244043783] added 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-oraclelinux-tests-xl-1586387102244043783] added 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-oraclelinux-tests-xl-1586387102244043783] added 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-oraclelinux-tests-xl-1586387102244043783] added 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-oraclelinux-tests-xl-1586387102244043783] 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-oraclelinux-tests-xl-1586387102244043783] added user [ml_viewer]
[00:00:01]             │ debg created user ml_viewer
[00:00:01]             │ debg creating user ml_unauthorized
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] added user [ml_unauthorized]
[00:00:01]             │ debg created user ml_unauthorized
[00:00:01]           └-: feature controls
[00:00:01]             └-> "before all" hook
[00:00:01]             └-: security
[00:00:01]               └-> "before all" hook
[00:00:01]               └-> "before all" hook
[00:00:01]                 │ info [empty_kibana] Loading "mappings.json"
[00:00:01]                 │ info [empty_kibana] Loading "data.json.gz"
[00:00:01]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_1/lFYjYUcVRe2JOmsxiT0Gug] deleting index
[00:00:01]                 │ info [empty_kibana] Deleted existing index [".kibana_1"]
[00:00:01]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] applying create index request using v1 templates []
[00:00:01]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:01]                 │ info [empty_kibana] Created index ".kibana"
[00:00:01]                 │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:01]                 │ info [empty_kibana] Indexed 2 docs into ".kibana"
[00:00:01]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana/aZoPNIriT9eLhuNp6tUEuw] update_mapping [_doc]
[00:00:01]                 │ debg Migrating saved objects
[00:00:01]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana/aZoPNIriT9eLhuNp6tUEuw] update_mapping [_doc]
[00:00:02]                 │ proc [kibana]   log   [23:44:30.886] [info][savedobjects-service] Creating index .kibana_2.
[00:00:02]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] applying create index request using v1 templates []
[00:00:02]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:02]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:02]                 │ proc [kibana]   log   [23:44:31.004] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:02]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] applying create index request using v1 templates []
[00:00:02]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:02]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:03]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] applying create index request using v1 templates []
[00:00:03]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [_doc]
[00:00:03]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] updating number_of_replicas to [0] for indices [.tasks]
[00:00:03]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] 1087 finished with response BulkByScrollResponse[took=35.2ms,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:00:03]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana/aZoPNIriT9eLhuNp6tUEuw] deleting index
[00:00:03]                 │ proc [kibana]   log   [23:44:31.450] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:03]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_2/p-V-b4pIR9SrDbTnMMnKpQ] update_mapping [_doc]
[00:00:03]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_2/p-V-b4pIR9SrDbTnMMnKpQ] update_mapping [_doc]
[00:00:03]                 │ proc [kibana]   log   [23:44:31.639] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:03]                 │ proc [kibana]   log   [23:44:31.701] [info][savedobjects-service] Finished in 817ms.
[00:00:03]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:03]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_2/p-V-b4pIR9SrDbTnMMnKpQ] update_mapping [_doc]
[00:00:03]                 │ debg creating role global_all_role
[00:00:03]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] added role [global_all_role]
[00:00:03]                 │ debg SecurityPage.forceLogout
[00:00:03]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:00:04]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:04]                 │ debg Redirecting to /logout to force the logout
[00:00:04]                 │ debg Waiting on the login form to appear
[00:00:04]                 │ debg Waiting up to 100000ms for login form...
[00:00:04]                 │ debg browser[INFO] http://localhost:6131/logout?_t=1586389472759 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:00:04]                 │
[00:00:04]                 │ 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:00:04]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:07]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:08]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:14]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139630 "INFO: 2020-04-08T23:44:42Z
[00:00:14]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:00:14]                 │
[00:00:14]                 │      "
[00:00:14]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:14]                 │ debg browser[INFO] http://localhost:6131/login?next=%2F 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:00:14]                 │
[00:00:14]                 │ 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:00:15]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:19]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:20]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139630 "INFO: 2020-04-08T23:44:48Z
[00:00:20]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:00:20]                 │
[00:00:20]                 │      "
[00:00:20]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:01:12]               └-: machine_learning_user and global all
[00:01:12]                 └-> "before all" hook
[00:01:12]                 └-> "before all" hook
[00:01:12]                   │ debg creating user machine_learning_user
[00:01:13]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] added user [machine_learning_user]
[00:01:13]                   │ debg created user machine_learning_user
[00:01:13]                   │ debg navigating to login url: http://localhost:6131/login
[00:01:13]                   │ debg Navigate to: http://localhost:6131/login
[00:01:13]                   │ proc [kibana]   log   [23:45:41.183] [info][authentication][plugins][security] Authentication attempt failed: [security_exception] unable to authenticate user [global_all] for REST request [/_security/_authenticate], with { header={ WWW-Authenticate={ 0="ApiKey" & 1="Basic realm=\"security\" charset=\"UTF-8\"" } } }
[00:01:13]                   │ debg ... sleep(700) start
[00:01:13]                   │ERROR browser[SEVERE] http://localhost:6131/login?_t=1586389541172 - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:01:13]                   │ debg ... sleep(700) end
[00:01:13]                   │ debg returned from get, calling refresh
[00:01:13]                   │ debg browser[INFO] http://localhost:6131/login?_t=1586389541172 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:01:13]                   │
[00:01:13]                   │ 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:01:13]                   │ debg currentUrl = http://localhost:6131/login
[00:01:13]                   │          appUrl = http://localhost:6131/login
[00:01:13]                   │ debg TestSubjects.find(kibanaChrome)
[00:01:13]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:18]                   │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139630 "INFO: 2020-04-08T23:45:46Z
[00:01:18]                   │        Adding connection to http://localhost:6131/elasticsearch
[00:01:18]                   │
[00:01:18]                   │      "
[00:01:18]                   │ debg ... sleep(501) start
[00:01:18]                   │ debg ... sleep(501) end
[00:01:18]                   │ debg in navigateTo url = http://localhost:6131/login
[00:01:18]                   │ debg TestSubjects.exists(statusPageContainer)
[00:01:18]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:01:21]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:21]                   │ debg TestSubjects.setValue(loginUsername, machine_learning_user)
[00:01:21]                   │ debg TestSubjects.click(loginUsername)
[00:01:21]                   │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:01:21]                   │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:01:22]                   │ debg TestSubjects.setValue(loginPassword, machine_learning_user-password)
[00:01:22]                   │ debg TestSubjects.click(loginPassword)
[00:01:22]                   │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:01:22]                   │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:01:22]                   │ debg TestSubjects.click(loginSubmit)
[00:01:22]                   │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:01:22]                   │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:01:22]                   │ debg Waiting up to 20000ms for logout button visible...
[00:01:22]                   │ debg TestSubjects.exists(userMenuButton)
[00:01:22]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:01:25]                   │ debg browser[INFO] http://localhost:6131/app/kibana 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:01:25]                   │
[00:01:25]                   │ 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:01:25]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenuButton"] is not displayed
[00:01:26]                   │ debg TestSubjects.exists(userMenuButton)
[00:01:26]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:01:27]                   │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139630 "INFO: 2020-04-08T23:45:54Z
[00:01:27]                   │        Adding connection to http://localhost:6131/elasticsearch
[00:01:27]                   │
[00:01:27]                   │      "
[00:01:28]                   │ debg TestSubjects.exists(userMenu)
[00:01:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:01:30]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:01:31]                   │ debg TestSubjects.click(userMenuButton)
[00:01:31]                   │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:01:31]                   │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:01:31]                   │ debg Waiting up to 20000ms for user menu opened...
[00:01:31]                   │ debg TestSubjects.exists(userMenu)
[00:01:31]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:01:31]                   │ debg TestSubjects.exists(userMenu > logoutLink)
[00:01:31]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:01:31]                 └-> shows ML navlink
[00:01:31]                   └-> "before each" hook: global before each
[00:01:31]                   │ debg TestSubjects.find(navDrawer)
[00:01:31]                   │ debg Find.findByCssSelector('[data-test-subj="navDrawer"]') with timeout=10000
[00:01:31]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/machine learning feature controls security machine_learning_user and global all shows ML navlink.png"
[00:01:31]                   │ info Current URL is: http://localhost:6131/app/kibana#/home
[00:01:31]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/machine learning feature controls security machine_learning_user and global all shows ML navlink.html
[00:01:31]                   └- ✖ fail: "machine learning feature controls security machine_learning_user and global all shows ML navlink"
[00:01:31]                   │

Stack Trace

Error: expected [ 'Discover',
  'Visualize',
  'Dashboard',
  'Timelion',
  'Canvas',
  'Maps',
  'Metrics',
  'Logs',
  'APM',
  'Uptime',
  'Graph',
  'SIEM',
  'Dev Tools',
  'Management',
  'Endpoint' ] to contain 'Machine Learning'
    at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.contain (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:447:10)
    at Context.it (test/functional/apps/machine_learning/feature_controls/ml_security.ts:105:29)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/machine_learning/feature_controls/ml_security·ts.machine learning feature controls security machine_learning_user and global all shows ML navlink

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-oraclelinux-tests-xl-1586387102244043783] added 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-oraclelinux-tests-xl-1586387102244043783] added 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-oraclelinux-tests-xl-1586387102244043783] added 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-oraclelinux-tests-xl-1586387102244043783] added role [ml_ui_extras]
[00:00:00]             │ debg creating user ml_poweruser
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] added user [ml_poweruser]
[00:00:00]             │ debg created user ml_poweruser
[00:00:00]             │ debg creating user ml_viewer
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] added user [ml_viewer]
[00:00:00]             │ debg created user ml_viewer
[00:00:00]             │ debg creating user ml_unauthorized
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] added user [ml_unauthorized]
[00:00:01]             │ debg created user ml_unauthorized
[00:00:01]           └-: feature controls
[00:00:01]             └-> "before all" hook
[00:00:01]             └-: security
[00:00:01]               └-> "before all" hook
[00:00:01]               └-> "before all" hook
[00:00:01]                 │ info [empty_kibana] Loading "mappings.json"
[00:00:01]                 │ info [empty_kibana] Loading "data.json.gz"
[00:00:01]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_1/SvemDe1dQA6x8BM2HcVXbA] deleting index
[00:00:01]                 │ info [empty_kibana] Deleted existing index [".kibana_1"]
[00:00:01]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] applying create index request using v1 templates []
[00:00:01]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:01]                 │ info [empty_kibana] Created index ".kibana"
[00:00:01]                 │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:01]                 │ info [empty_kibana] Indexed 2 docs into ".kibana"
[00:00:01]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana/fegBAaidTDKhMuvz3HDilQ] update_mapping [_doc]
[00:00:01]                 │ debg Migrating saved objects
[00:00:01]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana/fegBAaidTDKhMuvz3HDilQ] update_mapping [_doc]
[00:00:02]                 │ proc [kibana]   log   [23:39:41.988] [info][savedobjects-service] Creating index .kibana_2.
[00:00:02]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] applying create index request using v1 templates []
[00:00:02]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:02]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:02]                 │ proc [kibana]   log   [23:39:42.139] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:02]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] applying create index request using v1 templates []
[00:00:02]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:02]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:02]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] applying create index request using v1 templates []
[00:00:02]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [_doc]
[00:00:02]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] updating number_of_replicas to [0] for indices [.tasks]
[00:00:02]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] 1112 finished with response BulkByScrollResponse[took=41.4ms,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:00:03]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana/fegBAaidTDKhMuvz3HDilQ] deleting index
[00:00:03]                 │ proc [kibana]   log   [23:39:42.632] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:03]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_2/IZkPKB67Ss2lWkGXN2ux8g] update_mapping [_doc]
[00:00:03]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_2/IZkPKB67Ss2lWkGXN2ux8g] update_mapping [_doc]
[00:00:03]                 │ proc [kibana]   log   [23:39:42.832] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:03]                 │ proc [kibana]   log   [23:39:42.926] [info][savedobjects-service] Finished in 943ms.
[00:00:03]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:03]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_2/IZkPKB67Ss2lWkGXN2ux8g] update_mapping [_doc]
[00:00:04]                 │ debg creating role global_all_role
[00:00:04]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] added role [global_all_role]
[00:00:04]                 │ debg SecurityPage.forceLogout
[00:00:04]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:00:04]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:05]                 │ debg Redirecting to /logout to force the logout
[00:00:05]                 │ debg Waiting on the login form to appear
[00:00:05]                 │ debg Waiting up to 100000ms for login form...
[00:00:05]                 │ debg browser[INFO] http://localhost:6131/logout?_t=1586389184884 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:00:05]                 │
[00:00:05]                 │ 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:00:05]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:08]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:10]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:15]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139630 "INFO: 2020-04-08T23:39:55Z
[00:00:15]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:00:15]                 │
[00:00:15]                 │      "
[00:00:15]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:16]                 │ debg browser[INFO] http://localhost:6131/login?next=%2F 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:00:16]                 │
[00:00:16]                 │ 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:00:17]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:22]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:23]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139630 "INFO: 2020-04-08T23:40:03Z
[00:00:23]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:00:23]                 │
[00:00:23]                 │      "
[00:00:23]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:24]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:01:19]               └-: machine_learning_user and global all
[00:01:19]                 └-> "before all" hook
[00:01:19]                 └-> "before all" hook
[00:01:19]                   │ debg creating user machine_learning_user
[00:01:20]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] added user [machine_learning_user]
[00:01:20]                   │ debg created user machine_learning_user
[00:01:20]                   │ debg navigating to login url: http://localhost:6131/login
[00:01:20]                   │ debg Navigate to: http://localhost:6131/login
[00:01:20]                   │ proc [kibana]   log   [23:40:59.728] [info][authentication][plugins][security] Authentication attempt failed: [security_exception] unable to authenticate user [global_all] for REST request [/_security/_authenticate], with { header={ WWW-Authenticate={ 0="ApiKey" & 1="Basic realm=\"security\" charset=\"UTF-8\"" } } }
[00:01:20]                   │ debg ... sleep(700) start
[00:01:20]                   │ERROR browser[SEVERE] http://localhost:6131/login?_t=1586389259714 - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:01:21]                   │ debg ... sleep(700) end
[00:01:21]                   │ debg returned from get, calling refresh
[00:01:21]                   │ debg browser[INFO] http://localhost:6131/login?_t=1586389259714 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:01:21]                   │
[00:01:21]                   │ 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:01:21]                   │ debg currentUrl = http://localhost:6131/login
[00:01:21]                   │          appUrl = http://localhost:6131/login
[00:01:21]                   │ debg TestSubjects.find(kibanaChrome)
[00:01:21]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:26]                   │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139630 "INFO: 2020-04-08T23:41:05Z
[00:01:26]                   │        Adding connection to http://localhost:6131/elasticsearch
[00:01:26]                   │
[00:01:26]                   │      "
[00:01:26]                   │ debg ... sleep(501) start
[00:01:27]                   │ debg ... sleep(501) end
[00:01:27]                   │ debg in navigateTo url = http://localhost:6131/login
[00:01:27]                   │ debg TestSubjects.exists(statusPageContainer)
[00:01:27]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:01:29]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:30]                   │ debg TestSubjects.setValue(loginUsername, machine_learning_user)
[00:01:30]                   │ debg TestSubjects.click(loginUsername)
[00:01:30]                   │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:01:30]                   │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:01:30]                   │ debg TestSubjects.setValue(loginPassword, machine_learning_user-password)
[00:01:30]                   │ debg TestSubjects.click(loginPassword)
[00:01:30]                   │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:01:30]                   │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:01:31]                   │ debg TestSubjects.click(loginSubmit)
[00:01:31]                   │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:01:31]                   │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:01:31]                   │ debg Waiting up to 20000ms for logout button visible...
[00:01:31]                   │ debg TestSubjects.exists(userMenuButton)
[00:01:31]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:01:34]                   │ debg browser[INFO] http://localhost:6131/app/kibana 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:01:34]                   │
[00:01:34]                   │ 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:01:34]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenuButton"] is not displayed
[00:01:35]                   │ debg TestSubjects.exists(userMenuButton)
[00:01:35]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:01:37]                   │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139630 "INFO: 2020-04-08T23:41:16Z
[00:01:37]                   │        Adding connection to http://localhost:6131/elasticsearch
[00:01:37]                   │
[00:01:37]                   │      "
[00:01:38]                   │ debg TestSubjects.exists(userMenu)
[00:01:38]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:01:40]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:01:41]                   │ debg TestSubjects.click(userMenuButton)
[00:01:41]                   │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:01:41]                   │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:01:41]                   │ debg Waiting up to 20000ms for user menu opened...
[00:01:41]                   │ debg TestSubjects.exists(userMenu)
[00:01:41]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:01:41]                   │ debg TestSubjects.exists(userMenu > logoutLink)
[00:01:41]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:01:41]                 └-> shows ML navlink
[00:01:41]                   └-> "before each" hook: global before each
[00:01:41]                   │ debg TestSubjects.find(navDrawer)
[00:01:41]                   │ debg Find.findByCssSelector('[data-test-subj="navDrawer"]') with timeout=10000
[00:01:41]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/machine learning feature controls security machine_learning_user and global all shows ML navlink.png"
[00:01:41]                   │ info Current URL is: http://localhost:6131/app/kibana#/home
[00:01:42]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/machine learning feature controls security machine_learning_user and global all shows ML navlink.html
[00:01:42]                   └- ✖ fail: "machine learning feature controls security machine_learning_user and global all shows ML navlink"
[00:01:42]                   │

Stack Trace

Error: expected [ 'Discover',
  'Visualize',
  'Dashboard',
  'Timelion',
  'Canvas',
  'Maps',
  'Metrics',
  'Logs',
  'APM',
  'Uptime',
  'Graph',
  'SIEM',
  'Dev Tools',
  'Management',
  'Endpoint' ] to contain 'Machine Learning'
    at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.contain (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:447:10)
    at Context.it (test/functional/apps/machine_learning/feature_controls/ml_security.ts:105:29)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/maps/documents_source/docvalue_fields·js.maps app documents source docvalue_fields should only fetch geo_point field and data driven styling fields

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:19:43]         └-: maps app
[00:19:43]           └-> "before all" hook
[00:19:43]           └-> "before all" hook
[00:19:43]             │ info [logstash_functional] Loading "mappings.json"
[00:19:43]             │ info [logstash_functional] Loading "data.json.gz"
[00:19:43]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:19:43]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:19:43]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:19:45]             │ info [maps/data] Loading "mappings.json"
[00:19:45]             │ info [maps/data] Loading "data.json"
[00:19:45]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] applying create index request using v1 templates []
[00:19:45]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [geo_shapes] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:19:45]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[geo_shapes][0]]])." previous.health="YELLOW" reason="shards started [[geo_shapes][0]]"
[00:19:45]             │ info [maps/data] Created index "geo_shapes"
[00:19:45]             │ debg [maps/data] "geo_shapes" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:19:45]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] applying create index request using v1 templates []
[00:19:45]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [meta_for_geo_shapes] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:19:45]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[meta_for_geo_shapes][0]]])." previous.health="YELLOW" reason="shards started [[meta_for_geo_shapes][0]]"
[00:19:45]             │ info [maps/data] Created index "meta_for_geo_shapes"
[00:19:45]             │ debg [maps/data] "meta_for_geo_shapes" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:19:45]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] applying create index request using v1 templates []
[00:19:45]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [antimeridian_points] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:19:45]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[antimeridian_points][0]]])." previous.health="YELLOW" reason="shards started [[antimeridian_points][0]]"
[00:19:45]             │ info [maps/data] Created index "antimeridian_points"
[00:19:45]             │ debg [maps/data] "antimeridian_points" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:19:45]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] applying create index request using v1 templates []
[00:19:45]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [antimeridian_shapes] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:19:45]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[antimeridian_shapes][0]]])." previous.health="YELLOW" reason="shards started [[antimeridian_shapes][0]]"
[00:19:45]             │ info [maps/data] Created index "antimeridian_shapes"
[00:19:45]             │ debg [maps/data] "antimeridian_shapes" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:19:45]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] applying create index request using v1 templates []
[00:19:45]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [flights] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:19:45]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[flights][0]]])." previous.health="YELLOW" reason="shards started [[flights][0]]"
[00:19:45]             │ info [maps/data] Created index "flights"
[00:19:45]             │ debg [maps/data] "flights" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:19:45]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] applying create index request using v1 templates []
[00:19:45]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [connections] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:19:45]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[connections][0]]])." previous.health="YELLOW" reason="shards started [[connections][0]]"
[00:19:45]             │ info [maps/data] Created index "connections"
[00:19:45]             │ debg [maps/data] "connections" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:19:45]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [meta_for_geo_shapes/RmUCpl2vRKm_fzXsO0iCfQ] update_mapping [_doc]
[00:19:45]             │ info [maps/data] Indexed 4 docs into "geo_shapes"
[00:19:45]             │ info [maps/data] Indexed 6 docs into "meta_for_geo_shapes"
[00:19:45]             │ info [maps/data] Indexed 3 docs into "antimeridian_points"
[00:19:45]             │ info [maps/data] Indexed 3 docs into "antimeridian_shapes"
[00:19:45]             │ info [maps/data] Indexed 3 docs into "flights"
[00:19:45]             │ info [maps/data] Indexed 4 docs into "connections"
[00:19:45]             │ info [maps/kibana] Loading "mappings.json"
[00:19:45]             │ info [maps/kibana] Loading "data.json"
[00:19:46]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_1/1CstkrdJRVGULkTdGA0d0A] deleting index
[00:19:46]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_2/xZ_V11osSZqGt2iFsbq8dA] deleting index
[00:19:46]             │ info [maps/kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:19:46]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] applying create index request using v1 templates []
[00:19:46]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:19:46]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]])." previous.health="YELLOW" reason="shards started [[.kibana][0]]"
[00:19:46]             │ info [maps/kibana] Created index ".kibana"
[00:19:46]             │ debg [maps/kibana] ".kibana" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:19:46]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana/lJLZf7tWT2a6N8Tg65AJjA] update_mapping [_doc]
[00:19:46]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana/lJLZf7tWT2a6N8Tg65AJjA] update_mapping [_doc]
[00:19:46]             │ info [maps/kibana] Indexed 28 docs into ".kibana"
[00:19:46]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana/lJLZf7tWT2a6N8Tg65AJjA] update_mapping [_doc]
[00:19:46]             │ debg Migrating saved objects
[00:19:47]             │ proc [kibana]   log   [00:01:19.918] [info][savedobjects-service] Creating index .kibana_2.
[00:19:47]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] applying create index request using v1 templates []
[00:19:47]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:19:47]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] updating number_of_replicas to [0] for indices [.kibana_2]
[00:19:47]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_2][0]]"
[00:19:47]             │ proc [kibana]   log   [00:01:20.020] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:19:47]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] applying create index request using v1 templates []
[00:19:47]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:19:47]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] updating number_of_replicas to [0] for indices [.kibana_1]
[00:19:47]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_1][0]]"
[00:19:47]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] 36430 finished with response BulkByScrollResponse[took=107.5ms,timed_out=false,sliceId=null,updated=0,created=29,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:19:47]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana/lJLZf7tWT2a6N8Tg65AJjA] deleting index
[00:19:47]             │ proc [kibana]   log   [00:01:20.409] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:19:47]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_2/R0gJNaTqQrKK8497mQJXvw] update_mapping [_doc]
[00:19:47]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_2/R0gJNaTqQrKK8497mQJXvw] update_mapping [_doc]
[00:19:47]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_2/R0gJNaTqQrKK8497mQJXvw] update_mapping [_doc]
[00:19:47]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_2/R0gJNaTqQrKK8497mQJXvw] update_mapping [_doc]
[00:19:47]             │ proc [kibana]   log   [00:01:20.706] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:19:48]             │ proc [kibana]   log   [00:01:20.763] [info][savedobjects-service] Finished in 847ms.
[00:19:48]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:19:48]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_2/R0gJNaTqQrKK8497mQJXvw] update_mapping [_doc]
[00:19:48]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:19:48]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1586387102244043783] [.kibana_2/R0gJNaTqQrKK8497mQJXvw] update_mapping [_doc]
[00:19:49]           └-: 
[00:19:49]             └-> "before all" hook
[00:19:49]             └-: documents source
[00:19:49]               └-> "before all" hook
[00:19:49]               └-: docvalue_fields
[00:19:49]                 └-> "before all" hook
[00:19:49]                 └-> "before all" hook
[00:19:49]                   │ debg Load Saved Map document example
[00:19:49]                   │ debg searchForMapWithName: document example
[00:19:49]                   │ debg gotoMapListingPage
[00:19:49]                   │ debg onMapListingPage
[00:19:49]                   │ debg TestSubjects.exists(mapsListingPage)
[00:19:49]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapsListingPage"]') with timeout=2500
[00:19:51]                   │ debg --- retry.tryForTime error: [data-test-subj="mapsListingPage"] is not displayed
[00:19:52]                   │ debg Navigate to: http://localhost:6171/app/maps#/maps//
[00:19:52]                   │ debg browser[INFO] http://localhost:6171/app/maps?_t=1586390485186#/maps// 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:19:52]                   │
[00:19:52]                   │ debg browser[INFO] http://localhost:6171/bundles/app/maps/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:19:52]                   │ debg currentUrl = http://localhost:6171/app/maps#/maps//
[00:19:52]                   │          appUrl = http://localhost:6171/app/maps#/maps//
[00:19:52]                   │ debg TestSubjects.find(kibanaChrome)
[00:19:52]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:19:58]                   │ debg onMapListingPage
[00:19:58]                   │ debg TestSubjects.exists(mapsListingPage)
[00:19:58]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapsListingPage"]') with timeout=2500
[00:19:58]                   │ debg browser[INFO] http://localhost:6171/bundles/plugin/data/data.plugin.js 96:139630 "INFO: 2020-04-09T00:01:29Z
[00:19:58]                   │        Adding connection to http://localhost:6171/elasticsearch
[00:19:58]                   │
[00:19:58]                   │      "
[00:19:58]                   │ debg TestSubjects.find(searchFilter)
[00:19:58]                   │ debg Find.findByCssSelector('[data-test-subj="searchFilter"]') with timeout=10000
[00:19:59]                   │ debg isGlobalLoadingIndicatorVisible
[00:19:59]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:19:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:19:59]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:19:59]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:19:59]                   │ debg TestSubjects.click(mapListingTitleLink-document-example)
[00:19:59]                   │ debg Find.clickByCssSelector('[data-test-subj="mapListingTitleLink-document-example"]') with timeout=10000
[00:19:59]                   │ debg Find.findByCssSelector('[data-test-subj="mapListingTitleLink-document-example"]') with timeout=10000
[00:19:59]                   │ debg isGlobalLoadingIndicatorVisible
[00:19:59]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:19:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:20:00]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:20:00]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:20:00]                   │ debg onMapListingPage
[00:20:00]                   │ debg TestSubjects.exists(mapsListingPage)
[00:20:00]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapsListingPage"]') with timeout=2500
[00:20:03]                   │ debg --- retry.tryForTime error: [data-test-subj="mapsListingPage"] is not displayed
[00:20:04]                   │ debg Wait for layers to load
[00:20:04]                   │ debg TestSubjects.find(mapLayerTOC)
[00:20:04]                   │ debg Find.findByCssSelector('[data-test-subj="mapLayerTOC"]') with timeout=10000
[00:20:05]                 └-> should only fetch geo_point field and nothing else when source does not have data driven styling
[00:20:05]                   └-> "before each" hook: global before each
[00:20:05]                   │ debg Load Saved Map document example
[00:20:05]                   │ debg searchForMapWithName: document example
[00:20:05]                   │ debg gotoMapListingPage
[00:20:05]                   │ debg onMapListingPage
[00:20:05]                   │ debg TestSubjects.exists(mapsListingPage)
[00:20:05]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapsListingPage"]') with timeout=2500
[00:20:08]                   │ debg --- retry.tryForTime error: [data-test-subj="mapsListingPage"] is not displayed
[00:20:08]                   │ debg Navigate to: http://localhost:6171/app/maps#/maps//
[00:20:08]                   │ debg browser[INFO] http://localhost:6171/app/maps?_t=1586390501556#/maps// 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:20:08]                   │
[00:20:08]                   │ debg browser[INFO] http://localhost:6171/bundles/app/maps/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:20:09]                   │ debg currentUrl = http://localhost:6171/app/maps#/maps//
[00:20:09]                   │          appUrl = http://localhost:6171/app/maps#/maps//
[00:20:09]                   │ debg TestSubjects.find(kibanaChrome)
[00:20:09]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:20:14]                   │ debg onMapListingPage
[00:20:14]                   │ debg TestSubjects.exists(mapsListingPage)
[00:20:14]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapsListingPage"]') with timeout=2500
[00:20:14]                   │ debg browser[INFO] http://localhost:6171/bundles/plugin/data/data.plugin.js 96:139630 "INFO: 2020-04-09T00:01:46Z
[00:20:14]                   │        Adding connection to http://localhost:6171/elasticsearch
[00:20:14]                   │
[00:20:14]                   │      "
[00:20:14]                   │ debg TestSubjects.find(searchFilter)
[00:20:14]                   │ debg Find.findByCssSelector('[data-test-subj="searchFilter"]') with timeout=10000
[00:20:15]                   │ debg isGlobalLoadingIndicatorVisible
[00:20:15]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:20:15]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:20:15]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:20:15]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:20:16]                   │ debg TestSubjects.click(mapListingTitleLink-document-example)
[00:20:16]                   │ debg Find.clickByCssSelector('[data-test-subj="mapListingTitleLink-document-example"]') with timeout=10000
[00:20:16]                   │ debg Find.findByCssSelector('[data-test-subj="mapListingTitleLink-document-example"]') with timeout=10000
[00:20:16]                   │ debg isGlobalLoadingIndicatorVisible
[00:20:16]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:20:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:20:16]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:20:16]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:20:16]                   │ debg onMapListingPage
[00:20:16]                   │ debg TestSubjects.exists(mapsListingPage)
[00:20:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapsListingPage"]') with timeout=2500
[00:20:20]                   │ debg --- retry.tryForTime error: [data-test-subj="mapsListingPage"] is not displayed
[00:20:20]                   │ debg Wait for layers to load
[00:20:20]                   │ debg TestSubjects.find(mapLayerTOC)
[00:20:20]                   │ debg Find.findByCssSelector('[data-test-subj="mapLayerTOC"]') with timeout=10000
[00:20:22]                   │ debg Inspector.open
[00:20:22]                   │ debg TestSubjects.exists(inspectorPanel)
[00:20:22]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:20:24]                   │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:20:25]                   │ debg TestSubjects.click(openInspectorButton)
[00:20:25]                   │ debg Find.clickByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:20:25]                   │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:20:25]                   │ debg TestSubjects.exists(inspectorPanel)
[00:20:25]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:20:25]                   │ debg Open Inspector view inspectorViewChooserRequests
[00:20:25]                   │ debg TestSubjects.click(inspectorViewChooser)
[00:20:25]                   │ debg Find.clickByCssSelector('[data-test-subj="inspectorViewChooser"]') with timeout=10000
[00:20:25]                   │ debg Find.findByCssSelector('[data-test-subj="inspectorViewChooser"]') with timeout=10000
[00:20:25]                   │ debg TestSubjects.click(inspectorViewChooserRequests)
[00:20:25]                   │ debg Find.clickByCssSelector('[data-test-subj="inspectorViewChooserRequests"]') with timeout=10000
[00:20:25]                   │ debg Find.findByCssSelector('[data-test-subj="inspectorViewChooserRequests"]') with timeout=10000
[00:20:25]                   │ debg TestSubjects.click(inspectorRequestDetailResponse)
[00:20:25]                   │ debg Find.clickByCssSelector('[data-test-subj="inspectorRequestDetailResponse"]') with timeout=10000
[00:20:25]                   │ debg Find.findByCssSelector('[data-test-subj="inspectorRequestDetailResponse"]') with timeout=10000
[00:20:25]                   │ debg TestSubjects.getVisibleText(inspectorResponseBody)
[00:20:25]                   │ debg TestSubjects.find(inspectorResponseBody)
[00:20:25]                   │ debg Find.findByCssSelector('[data-test-subj="inspectorResponseBody"]') with timeout=10000
[00:20:26]                   │ debg Close Inspector
[00:20:26]                   │ debg TestSubjects.exists(inspectorPanel)
[00:20:26]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:20:26]                   │ debg Closing flyout inspectorPanel
[00:20:26]                   │ debg TestSubjects.find(inspectorPanel)
[00:20:26]                   │ debg Find.findByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=10000
[00:20:26]                   │ debg Waiting up to 20000ms for flyout closed...
[00:20:26]                   │ debg TestSubjects.exists(inspectorPanel)
[00:20:26]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=1000
[00:20:27]                   │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:20:27]                   │ debg TestSubjects.exists(inspectorPanel)
[00:20:27]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:20:30]                   │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:20:30]                   └- ✓ pass  (25.1s) "maps app  documents source docvalue_fields should only fetch geo_point field and nothing else when source does not have data driven styling"
[00:20:30]                 └-> should only fetch geo_point field and data driven styling fields
[00:20:30]                   └-> "before each" hook: global before each
[00:20:30]                   │ debg Load Saved Map document example with data driven styles
[00:20:30]                   │ debg searchForMapWithName: document example with data driven styles
[00:20:30]                   │ debg gotoMapListingPage
[00:20:30]                   │ debg onMapListingPage
[00:20:30]                   │ debg TestSubjects.exists(mapsListingPage)
[00:20:30]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapsListingPage"]') with timeout=2500
[00:20:33]                   │ debg --- retry.tryForTime error: [data-test-subj="mapsListingPage"] is not displayed
[00:20:33]                   │ debg Navigate to: http://localhost:6171/app/maps#/maps//
[00:20:34]                   │ debg browser[INFO] http://localhost:6171/app/maps?_t=1586390526654#/maps// 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:20:34]                   │
[00:20:34]                   │ debg browser[INFO] http://localhost:6171/bundles/app/maps/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:20:34]                   │ debg currentUrl = http://localhost:6171/app/maps#/maps//
[00:20:34]                   │          appUrl = http://localhost:6171/app/maps#/maps//
[00:20:34]                   │ debg TestSubjects.find(kibanaChrome)
[00:20:34]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:20:40]                   │ debg onMapListingPage
[00:20:40]                   │ debg TestSubjects.exists(mapsListingPage)
[00:20:40]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapsListingPage"]') with timeout=2500
[00:20:40]                   │ debg browser[INFO] http://localhost:6171/bundles/plugin/data/data.plugin.js 96:139630 "INFO: 2020-04-09T00:02:11Z
[00:20:40]                   │        Adding connection to http://localhost:6171/elasticsearch
[00:20:40]                   │
[00:20:40]                   │      "
[00:20:40]                   │ debg TestSubjects.find(searchFilter)
[00:20:40]                   │ debg Find.findByCssSelector('[data-test-subj="searchFilter"]') with timeout=10000
[00:20:41]                   │ debg isGlobalLoadingIndicatorVisible
[00:20:41]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:20:41]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:20:41]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:20:41]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:20:41]                   │ debg TestSubjects.click(mapListingTitleLink-document-example-with-data-driven-styles)
[00:20:41]                   │ debg Find.clickByCssSelector('[data-test-subj="mapListingTitleLink-document-example-with-data-driven-styles"]') with timeout=10000
[00:20:41]                   │ debg Find.findByCssSelector('[data-test-subj="mapListingTitleLink-document-example-with-data-driven-styles"]') with timeout=10000
[00:20:41]                   │ debg isGlobalLoadingIndicatorVisible
[00:20:41]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:20:41]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:20:42]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:20:42]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:20:42]                   │ debg onMapListingPage
[00:20:42]                   │ debg TestSubjects.exists(mapsListingPage)
[00:20:42]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapsListingPage"]') with timeout=2500
[00:20:45]                   │ debg --- retry.tryForTime error: [data-test-subj="mapsListingPage"] is not displayed
[00:20:46]                   │ debg Wait for layers to load
[00:20:46]                   │ debg TestSubjects.find(mapLayerTOC)
[00:20:46]                   │ debg Find.findByCssSelector('[data-test-subj="mapLayerTOC"]') with timeout=10000
[00:20:47]                   │ debg Inspector.open
[00:20:47]                   │ debg TestSubjects.exists(inspectorPanel)
[00:20:47]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:20:49]                   │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:20:50]                   │ debg TestSubjects.click(openInspectorButton)
[00:20:50]                   │ debg Find.clickByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:20:50]                   │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:20:50]                   │ debg TestSubjects.exists(inspectorPanel)
[00:20:50]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:20:50]                   │ debg Open Inspector view inspectorViewChooserRequests
[00:20:50]                   │ debg TestSubjects.click(inspectorViewChooser)
[00:20:50]                   │ debg Find.clickByCssSelector('[data-test-subj="inspectorViewChooser"]') with timeout=10000
[00:20:50]                   │ debg Find.findByCssSelector('[data-test-subj="inspectorViewChooser"]') with timeout=10000
[00:20:50]                   │ debg TestSubjects.click(inspectorViewChooserRequests)
[00:20:50]                   │ debg Find.clickByCssSelector('[data-test-subj="inspectorViewChooserRequests"]') with timeout=10000
[00:20:50]                   │ debg Find.findByCssSelector('[data-test-subj="inspectorViewChooserRequests"]') with timeout=10000
[00:20:50]                   │ debg TestSubjects.click(inspectorRequestDetailResponse)
[00:20:50]                   │ debg Find.clickByCssSelector('[data-test-subj="inspectorRequestDetailResponse"]') with timeout=10000
[00:20:50]                   │ debg Find.findByCssSelector('[data-test-subj="inspectorRequestDetailResponse"]') with timeout=10000
[00:20:50]                   │ debg TestSubjects.getVisibleText(inspectorResponseBody)
[00:20:50]                   │ debg TestSubjects.find(inspectorResponseBody)
[00:20:50]                   │ debg Find.findByCssSelector('[data-test-subj="inspectorResponseBody"]') with timeout=10000
[00:20:51]                   │ debg Close Inspector
[00:20:51]                   │ debg TestSubjects.exists(inspectorPanel)
[00:20:51]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:20:51]                   │ debg Closing flyout inspectorPanel
[00:20:51]                   │ debg TestSubjects.find(inspectorPanel)
[00:20:51]                   │ debg Find.findByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=10000
[00:20:51]                   │ debg Waiting up to 20000ms for flyout closed...
[00:20:51]                   │ debg TestSubjects.exists(inspectorPanel)
[00:20:51]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=1000
[00:20:52]                   │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:20:52]                   │ debg TestSubjects.exists(inspectorPanel)
[00:20:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:20:55]                   │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:20:55]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/maps app  documents source docvalue_fields should only fetch geo_point field and data driven styling fields.png"
[00:20:56]                   │ info Current URL is: http://localhost:6171/app/maps#/map/c9734720-eb7f-11e9-8f42-fb14e91ef4b8?_g=(filters:!(),refreshInterval:(pause:!t,value:1000),time:(from:%272015-09-20T00:00:00.000Z%27,to:%272015-09-20T01:00:00.000Z%27))&_a=(filters:!(),query:(language:kuery,query:%27%27))
[00:20:56]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/maps app  documents source docvalue_fields should only fetch geo_point field and data driven styling fields.html
[00:20:56]                   └- ✖ fail: "maps app  documents source docvalue_fields should only fetch geo_point field and data driven styling fields"
[00:20:56]                   │

Stack Trace

Error: expected 'bytes,geo.coordinates,hour_of_day' to equal 'geo.coordinates,bytes,hour_of_day'
    at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.equal (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:227:8)
    at Context.it (test/functional/apps/maps/documents_source/docvalue_fields.js:41:57)

and 1 more failures, only showing the first 3.

History

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Fleet Fleet team's agent central management project release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v7.8.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants