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

Rename Painless Playground -> Painless Lab. #57545

Merged
merged 1 commit into from
Feb 20, 2020

Conversation

cjcenizal
Copy link
Contributor

In the future we hope to also rename Grok Debugger to Grok Lab, establishing the precedent for multiple "labs" where you can experiment with our various languages.

@jloleysens For some reason the syntax highlighting disappeared in this PR -- think you could take a look and see if you can spot the cause?

image

@cjcenizal cjcenizal added Feature:Dev Tools painless painless Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more release_note:skip Skip the PR/issue when compiling release notes labels Feb 13, 2020
@cjcenizal cjcenizal requested a review from a team as a code owner February 13, 2020 09:56
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

@jloleysens
Copy link
Contributor

@cjcenizal Sure I'll take a look!

@jloleysens
Copy link
Contributor

@elasticmachine merge upstream

@jloleysens
Copy link
Contributor

jloleysens commented Feb 13, 2020

@cjcenizal it's not just our Monaco syntax highlighting that has been affected (canvas)

Screenshot 2020-02-13 at 15 32 37

Looks like this is related to webpack/build changes that were made recently (not the changes in this contribution). Basically, we are not registering against the "global" monaco - if you use window.monaco inside of register_painless.ts it works.

@tylersmalley
Copy link
Contributor

Looks like there were recent changes around moving Monaco - could this be related? #45914

We did recently move some dependencies to packages/kbn-ui-shared-deps, but this was not one of them.

@jloleysens
Copy link
Contributor

@tylersmalley I don't think so :(. It looks like the syntax highlighting very recently stopped working. It is also not working in Canvas' expression editor.

From what I can see, it looks like the monaco instance we register against is not the same as the monaco instance the ReactMonacoEditor component speaks to later - which it used to be.

@mistic
Copy link
Member

mistic commented Feb 13, 2020

I think if we move the monaco dependency into https://github.com/elastic/kibana/tree/master/packages/kbn-ui-shared-deps we would solve the problem

@tylersmalley
Copy link
Contributor

Looking at master, this issue doesn't appear to be present - just in the app/painless branch. Since it's not a new platform plugin, it shouldn't have been effected by the new build process. Will try to keep looking.

@mistic, I would rather we only move dependencies there when it makes sense based on usage across plugins, not to solve an issue.

@cjcenizal cjcenizal requested a review from jloleysens February 15, 2020 01:01
Copy link
Contributor

@jloleysens jloleysens left a comment

Choose a reason for hiding this comment

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

Tested this locally, and happy for it to be merged into the painless app branch, we should address the syntax highlighting regression on another PR or on the target PR itself.

@cjcenizal
Copy link
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

merge conflict between base and head

@cjcenizal cjcenizal merged this pull request into elastic:app/painless Feb 20, 2020
@cjcenizal cjcenizal deleted the painless/rename-app branch February 20, 2020 00:10
@kibanamachine
Copy link
Contributor

💔 Build Failed


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/advanced_settings/feature_controls/advanced_settings_security·ts.Advanced Settings security feature controls no advanced_settings privileges does not allow navigation to advanced settings; redirects to management home

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Advanced Settings
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: security feature controls
[00:00:00]             └-> "before all" hook
[00:00:00]             └-> "before all" hook
[00:00:00]               │ info [empty_kibana] Loading "mappings.json"
[00:00:00]               │ info [empty_kibana] Loading "data.json.gz"
[00:00:00]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.kibana_1/wOnfq8gqSrmpoXMLlYeiBQ] deleting index
[00:00:00]               │ info [empty_kibana] Deleted existing index [".kibana_1"]
[00:00:00]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:00]               │ info [empty_kibana] Created index ".kibana"
[00:00:00]               │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:00]               │ info [empty_kibana] Indexed 2 docs into ".kibana"
[00:00:37]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.kibana/QIoTiln_RhihbX0Ceee3oQ] update_mapping [_doc]
[00:00:39]               │ info Creating index .kibana_2.
[00:00:39]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:39]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:39]               │ info Reindexing .kibana to .kibana_1
[00:00:39]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:39]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:40]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [_doc]
[00:00:40]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] updating number_of_replicas to [0] for indices [.tasks]
[00:00:40]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] 778 finished with response BulkByScrollResponse[took=64.9ms,timed_out=false,sliceId=null,updated=0,created=4,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:40]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.kibana/QIoTiln_RhihbX0Ceee3oQ] deleting index
[00:00:40]               │ info Migrating .kibana_1 saved objects to .kibana_2
[00:00:40]               │ debg Migrating saved objects config:6.0.0-alpha1, space:default, maps-telemetry:maps-telemetry, config:8.0.0-SNAPSHOT
[00:00:40]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.kibana_2/ZPABm78pS8eE4lvfUEyYGA] update_mapping [_doc]
[00:00:40]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.kibana_2/ZPABm78pS8eE4lvfUEyYGA] update_mapping [_doc]
[00:00:40]               │ info Pointing alias .kibana to .kibana_2.
[00:00:40]               │ info Finished in 831ms.
[00:00:40]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:40]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.kibana_2/ZPABm78pS8eE4lvfUEyYGA] update_mapping [_doc]
[00:02:28]             └-: no advanced_settings privileges
[00:02:28]               └-> "before all" hook
[00:02:28]               └-> "before all" hook
[00:02:28]                 │ debg creating role no_advanced_settings_privileges_role
[00:02:28]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] added role [no_advanced_settings_privileges_role]
[00:02:28]                 │ debg created role no_advanced_settings_privileges_role
[00:02:28]                 │ debg creating user no_advanced_settings_privileges_user
[00:02:28]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] added user [no_advanced_settings_privileges_user]
[00:02:28]                 │ debg created user no_advanced_settings_privileges_user
[00:02:28]                 │ debg navigating to login url: http://localhost:6131/login
[00:02:28]                 │ debg Navigate to: http://localhost:6131/login
[00:02:28]                 │ proc [kibana]   log   [23:35:43.233] [info][authentication][plugins][security] Authentication attempt failed: [security_exception] unable to authenticate user [global_advanced_settings_read_user] for REST request [/_security/_authenticate], with { header={ WWW-Authenticate="Basic realm=\"security\" charset=\"UTF-8\"" } }
[00:02:29]                 │ debg ... sleep(700) start
[00:02:29]                 │ERROR browser[SEVERE] http://localhost:6131/ - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:02:29]                 │ debg ... sleep(700) end
[00:02:29]                 │ debg returned from get, calling refresh
[00:02:29]                 │ debg browser[INFO] http://localhost:6131/login?next=%2F 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:29]                 │
[00:02:29]                 │ debg browser[INFO] http://localhost:6131/bundles/app/login/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:29]                 │ debg currentUrl = http://localhost:6131/login?next=%2F
[00:02:29]                 │          appUrl = http://localhost:6131/login
[00:02:29]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:34]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-19T23:35:48Z
[00:02:34]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:02:34]                 │
[00:02:34]                 │      "
[00:02:34]                 │ debg browser[INFO] http://localhost:6131/bundles/commons.bundle.js 2:7721669 "use this to figure out whether we should register" false
[00:02:34]                 │ debg ... sleep(501) start
[00:02:35]                 │ debg ... sleep(501) end
[00:02:35]                 │ debg in navigateTo url = http://localhost:6131/login?next=%2F#/
[00:02:35]                 │ debg TestSubjects.exists(statusPageContainer)
[00:02:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:02:37]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:02:38]                 │ debg TestSubjects.setValue(loginUsername, no_advanced_settings_privileges_user)
[00:02:38]                 │ debg TestSubjects.click(loginUsername)
[00:02:38]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:02:38]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:02:38]                 │ debg TestSubjects.setValue(loginPassword, no_advanced_settings_privileges_user-password)
[00:02:38]                 │ debg TestSubjects.click(loginPassword)
[00:02:38]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:02:38]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:02:39]                 │ debg TestSubjects.click(loginSubmit)
[00:02:39]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:02:39]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:02:39]                 │ debg Waiting up to 20000ms for logout button visible...
[00:02:39]                 │ debg TestSubjects.exists(userMenuButton)
[00:02:39]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:02:43]                 │ debg browser[INFO] http://localhost:6131/app/kibana#/ 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:43]                 │
[00:02:43]                 │ 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:02:43]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenuButton"] is not displayed
[00:02:44]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-19T23:35:58Z
[00:02:44]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:02:44]                 │
[00:02:44]                 │      "
[00:02:44]                 │ debg TestSubjects.exists(userMenuButton)
[00:02:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:02:45]                 │ debg browser[INFO] http://localhost:6131/bundles/commons.bundle.js 2:7721669 "use this to figure out whether we should register" false
[00:02:45]                 │ debg TestSubjects.exists(userMenu)
[00:02:45]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:02:48]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:02:48]                 │ debg TestSubjects.click(userMenuButton)
[00:02:48]                 │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:02:48]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:02:48]                 │ debg Waiting up to 20000ms for user menu opened...
[00:02:48]                 │ debg TestSubjects.exists(userMenu)
[00:02:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:02:48]                 │ debg TestSubjects.exists(userMenu > logoutLink)
[00:02:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:02:48]               └-> shows Management navlink
[00:02:48]                 └-> "before each" hook: global before each
[00:02:48]                 │ debg TestSubjects.find(navDrawer)
[00:02:48]                 │ debg Find.findByCssSelector('[data-test-subj="navDrawer"]') with timeout=10000
[00:02:48]                 └- ✓ pass  (21ms) "Advanced Settings security feature controls no advanced_settings privileges shows Management navlink"
[00:02:48]               └-> does not allow navigation to advanced settings; redirects to management home
[00:02:48]                 └-> "before each" hook: global before each
[00:02:48]                 │ debg navigateToActualUrl http://localhost:6131/app/kibana#management/kibana/settings
[00:02:48]                 │ debg browser[INFO] http://localhost:6131/app/kibana?_t=1582155363136#management/kibana/settings 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:48]                 │
[00:02:48]                 │ 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:02:48]                 │ debg TestSubjects.exists(managementHome)
[00:02:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="managementHome"]') with timeout=10000
[00:02:53]                 │ debg --- retry.tryForTime error: [data-test-subj="managementHome"] is not displayed
[00:02:53]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-19T23:36:07Z
[00:02:53]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:02:53]                 │
[00:02:53]                 │      "
[00:02:59]                 │ debg browser[INFO] http://localhost:6131/bundles/commons.bundle.js 2:7721669 "use this to figure out whether we should register" false
[00:02:59]                 │ debg browser[INFO] http://localhost:6131/app/kibana#/management 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:59]                 │
[00:02:59]                 │ 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:02:59]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-19T23:36:13Z
[00:02:59]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:02:59]                 │
[00:02:59]                 │      "
[00:02:59]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:59]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Advanced Settings security feature controls no advanced_settings privileges does not allow navigation to advanced settings_ redirects to management home.png"
[00:02:59]                 │ debg browser[INFO] http://localhost:6131/bundles/commons.bundle.js 2:7721669 "use this to figure out whether we should register" false
[00:03:00]                 │ info Current URL is: http://localhost:6131/app/kibana#/management?_g=()
[00:03:00]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/Advanced Settings security feature controls no advanced_settings privileges does not allow navigation to advanced settings_ redirects to management home.html
[00:03:01]                 └- ✖ fail: "Advanced Settings security feature controls no advanced_settings privileges does not allow navigation to advanced settings; redirects to management home"
[00:03:01]                 │

Stack Trace

Error: expected testSubject(managementHome) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/kibana/test/functional/services/test_subjects.ts:60:15)

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/rollup_job/tsvb·js.rollup app tsvb integration create rollup tsvb

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:32:26]         └-: rollup app
[00:32:26]           └-> "before all" hook
[00:33:52]           └-: tsvb integration
[00:33:52]             └-> "before all" hook
[00:33:52]             └-> "before all" hook
[00:33:53]               │ info [visualize/default] Loading "mappings.json"
[00:33:53]               │ info [visualize/default] Loading "data.json"
[00:33:53]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.kibana_2/biyUDgIJT_WsTWjWlfs0ZQ] deleting index
[00:33:53]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.kibana_1/B6oF48JbQGuTauLOJtAN-w] deleting index
[00:33:53]               │ info [visualize/default] Deleted existing index [".kibana_2",".kibana_1"]
[00:33:53]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:33:53]               │ info [visualize/default] Created index ".kibana"
[00:33:53]               │ debg [visualize/default] ".kibana" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:33:53]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [metricbeat-7] creating index, cause [auto(bulk api)], templates [], shards [1]/[1], mappings []
[00:33:53]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [metricbeat-7/DnDH8z7OQC-YT4-WLGpYrA] create_mapping
[00:33:53]               │ info [visualize/default] Indexed 8 docs into ".kibana"
[00:33:53]               │ info [visualize/default] Indexed 1 docs into "metricbeat-7"
[00:33:54]               │ info Creating index .kibana_2.
[00:33:54]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:33:54]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] updating number_of_replicas to [0] for indices [.kibana_2]
[00:33:54]               │ info Reindexing .kibana to .kibana_1
[00:33:54]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:33:54]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] updating number_of_replicas to [0] for indices [.kibana_1]
[00:33:54]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] 71608 finished with response BulkByScrollResponse[took=86ms,timed_out=false,sliceId=null,updated=0,created=8,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:33:54]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.kibana/D6qoSp0ORL6fT2iPrHhpbA] deleting index
[00:33:54]               │ info Migrating .kibana_1 saved objects to .kibana_2
[00:33:54]               │ debg Migrating saved objects space:default, index-pattern:metricbeat-*, custom-space:index-pattern:metricbeat-*, index-pattern:logstash-*, custom_space:index-pattern:logstash-*, visualization:i-exist, custom_space:visualization:i-exist, query:okjpgs
[00:33:54]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.kibana_2/nFWNGB2oRqKAoU00RQA-wg] update_mapping [_doc]
[00:33:54]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.kibana_2/nFWNGB2oRqKAoU00RQA-wg] update_mapping [_doc]
[00:33:54]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.kibana_2/nFWNGB2oRqKAoU00RQA-wg] update_mapping [_doc]
[00:33:54]               │ info Pointing alias .kibana to .kibana_2.
[00:33:54]               │ info Finished in 735ms.
[00:33:54]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:33:55]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.kibana_2/nFWNGB2oRqKAoU00RQA-wg] update_mapping [_doc]
[00:33:56]             └-> create rollup tsvb
[00:33:56]               └-> "before each" hook: global before each
[00:33:56]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [rollup-source-data] creating index, cause [auto(bulk api)], templates [], shards [1]/[1], mappings []
[00:33:56]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [rollup-source-data/k6J-sS4mRoO2X8UDDw3lmg] create_mapping
[00:33:56]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [rollup-target-data] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:33:56]               │ debg navigating to visualize url: http://localhost:6121/app/kibana#/visualize
[00:33:56]               │ debg Navigate to: http://localhost:6121/app/kibana#/visualize
[00:33:56]               │ info [o.e.x.r.j.RollupJobTask] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] Rollup job [tsvb-test-rollup-job-1582155169909] created.
[00:33:56]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [rollup-target-data/GofLDJD-RT6D_hZWrgrWwQ] update_mapping [_doc]
[00:33:56]               │ debg ... sleep(700) start
[00:33:56]               │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1582157207081#/visualize 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:33:56]               │
[00:33:56]               │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:33:57]               │ debg ... sleep(700) end
[00:33:57]               │ debg returned from get, calling refresh
[00:33:57]               │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1582157207081#/visualize 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:33:57]               │
[00:33:57]               │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:33:57]               │ debg currentUrl = http://localhost:6121/app/kibana#/visualize
[00:33:57]               │          appUrl = http://localhost:6121/app/kibana#/visualize
[00:33:57]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:34:06]               │ debg TestSubjects.find(kibanaChrome)
[00:34:06]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:34:06]               │ debg browser[INFO] http://localhost:6121/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-20T00:06:54Z
[00:34:06]               │        Adding connection to http://localhost:6121/elasticsearch
[00:34:06]               │
[00:34:06]               │      "
[00:34:06]               │ debg browser[INFO] http://localhost:6121/bundles/commons.bundle.js 2:7721669 "use this to figure out whether we should register" false
[00:34:06]               │ debg ... sleep(501) start
[00:34:06]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1582153167396627781] [.kibana_2/nFWNGB2oRqKAoU00RQA-wg] update_mapping [_doc]
[00:34:07]               │ debg ... sleep(501) end
[00:34:07]               │ debg in navigateTo url = http://localhost:6121/app/kibana#/visualize?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:34:07]               │ debg TestSubjects.exists(statusPageContainer)
[00:34:07]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:34:09]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:34:10]               │ debg TestSubjects.exists(newItemButton)
[00:34:10]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:34:10]               │ debg TestSubjects.click(newItemButton)
[00:34:10]               │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:34:10]               │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:34:10]               │ debg TestSubjects.find(visNewDialogTypes)
[00:34:10]               │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:34:10]               │ debg TestSubjects.click(visType-metrics)
[00:34:10]               │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:34:10]               │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:34:11]               │ debg isGlobalLoadingIndicatorVisible
[00:34:11]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:34:11]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:34:12]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:34:13]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:34:13]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:34:13]               │ debg TestSubjects.exists(tvbVisEditor)
[00:34:13]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:34:13]               │ debg openQuickSelectTimeMenu
[00:34:13]               │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:34:13]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=2500
[00:34:15]               │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerQuickMenu"] is not displayed
[00:34:16]               │ debg opening quick select menu
[00:34:16]               │ debg TestSubjects.click(superDatePickerToggleQuickMenuButton)
[00:34:16]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:34:16]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:34:16]               │ debg TestSubjects.click(superDatePickerCommonlyUsed_Last_24 hours)
[00:34:16]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerCommonlyUsed_Last_24 hours"]') with timeout=10000
[00:34:16]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerCommonlyUsed_Last_24 hours"]') with timeout=10000
[00:34:16]               │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:34:16]               │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:34:16]               │ debg TestSubjects.exists(tsvbMetricValue)
[00:34:16]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=10000
[00:34:17]               │ debg TestSubjects.click(metricEditorPanelOptionsBtn)
[00:34:17]               │ debg Find.clickByCssSelector('[data-test-subj="metricEditorPanelOptionsBtn"]') with timeout=10000
[00:34:17]               │ debg Find.findByCssSelector('[data-test-subj="metricEditorPanelOptionsBtn"]') with timeout=10000
[00:34:17]               │ debg isGlobalLoadingIndicatorVisible
[00:34:17]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:34:17]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:34:19]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:34:19]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:34:19]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:34:19]               │ debg TestSubjects.find(metricsIndexPatternInput)
[00:34:19]               │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternInput"]') with timeout=10000
[00:34:20]               │ debg isGlobalLoadingIndicatorVisible
[00:34:20]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:34:20]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:34:21]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:34:22]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:34:22]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:34:22]               │ debg TestSubjects.find(metricsIndexPatternInterval)
[00:34:22]               │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternInterval"]') with timeout=10000
[00:34:22]               │ debg isGlobalLoadingIndicatorVisible
[00:34:22]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:34:22]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:34:23]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:34:24]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:34:24]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:34:24]               │ debg TestSubjects.find(metricsDropLastBucket-no)
[00:34:24]               │ debg Find.findByCssSelector('[data-test-subj="metricsDropLastBucket-no"]') with timeout=10000
[00:34:24]               │ debg isGlobalLoadingIndicatorVisible
[00:34:24]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:34:24]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:34:26]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:34:26]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:34:26]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:34:26]               │ debg ... sleep(3000) start
[00:34:29]               │ debg ... sleep(3000) end
[00:34:29]               │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:34:29]               │ debg TestSubjects.find(visualizationLoader)
[00:34:29]               │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:34:29]               │ debg -- firstCount=7
[00:34:29]               │ debg ... sleep(1000) start
[00:34:30]               │ debg ... sleep(1000) end
[00:34:30]               │ debg TestSubjects.find(visualizationLoader)
[00:34:30]               │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:34:30]               │ debg -- secondCount=7
[00:34:30]               │ debg Find.findByCssSelector('.tvbVisMetric__value--primary') with timeout=10000
[00:34:30]               │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/rollup app tsvb integration create rollup tsvb.png"
[00:34:31]               │ info Current URL is: http://localhost:6121/app/kibana#/visualize/create?type=metrics&_g=(refreshInterval:(pause:!t,value:0),time:(from:now-24h,to:now))&_a=(filters:!(),linked:!f,query:(language:kuery,query:%27%27),uiState:(),vis:(aggs:!(),params:(axis_formatter:number,axis_position:left,axis_scale:normal,background_color_rules:!((id:eeb3bd50-5374-11ea-8a8e-43e8952d8440)),default_index_pattern:%27metricbeat-*%27,default_timefield:%27@timestamp%27,drop_last_bucket:0,id:%2761ca57f0-469d-11e7-af02-69e470af7417%27,index_pattern:rollup-target-data,interval:%271d%27,isModelInvalid:!f,series:!((axis_position:right,chart_type:line,color:%2368BC00,fill:0.5,formatter:number,id:%2761ca57f1-469d-11e7-af02-69e470af7417%27,line_width:1,metrics:!((id:%2761ca57f2-469d-11e7-af02-69e470af7417%27,type:count)),point_size:1,separate_axis:0,split_mode:everything,stacked:none)),show_grid:1,show_legend:1,time_field:%27%27,type:metric),title:%27%27,type:metrics))
[00:34:31]               │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/rollup app tsvb integration create rollup tsvb.html
[00:34:31]               └- ✖ fail: "rollup app tsvb integration create rollup tsvb"
[00:34:31]               │

Stack Trace

{ Error: expected '0' to sort of equal '3'
    at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:244:8)
    at Context.it (test/functional/apps/rollup_job/tsvb.js:90:27)
    at process._tickCallback (internal/process/next_tick.js:68:7) actual: '0', expected: '3', showDiff: true }

Kibana Pipeline / kibana-oss-agent / Firefox UI Functional Tests.test/functional/apps/visualize/_tsvb_chart·ts.visualize app visual builder topN "before each" hook for "should verify topN label and count display"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:25:39]         └-: visualize app
[00:25:39]           └-> "before all" hook
[00:25:39]           └-> "before all" hook
[00:25:39]             │ debg Starting visualize before method
[00:25:39]             │ info [logstash_functional] Loading "mappings.json"
[00:25:39]             │ info [logstash_functional] Loading "data.json.gz"
[00:25:39]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1582153167396548494] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:25:39]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:25:39]             │ 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:25:39]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1582153167396548494] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:25:39]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:25:39]             │ 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:25:39]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1582153167396548494] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:25:39]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:25:39]             │ 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:25:48]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:25:48]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:25:48]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:25:49]             │ info [long_window_logstash] Loading "mappings.json"
[00:25:49]             │ info [long_window_logstash] Loading "data.json.gz"
[00:25:49]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1582153167396548494] [long-window-logstash-0] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:25:49]             │ info [long_window_logstash] Created index "long-window-logstash-0"
[00:25:49]             │ debg [long_window_logstash] "long-window-logstash-0" settings {"index":{"analysis":{"analyzer":{"makelogs_url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:25:59]             │ info progress: 12643
[00:26:00]             │ info [long_window_logstash] Indexed 14005 docs into "long-window-logstash-0"
[00:26:01]             │ info [visualize] Loading "mappings.json"
[00:26:01]             │ info [visualize] Loading "data.json"
[00:26:01]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1582153167396548494] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:26:01]             │ info [visualize] Created index ".kibana"
[00:26:01]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:26:01]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1582153167396548494] [.kibana/tEiQj5ZUReulwKjj0AyyNA] update_mapping [_doc]
[00:26:01]             │ info [visualize] Indexed 7 docs into ".kibana"
[00:26:01]             │ info Creating index .kibana_2.
[00:26:01]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1582153167396548494] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:26:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1582153167396548494] updating number_of_replicas to [0] for indices [.kibana_2]
[00:26:01]             │ info Reindexing .kibana to .kibana_1
[00:26:01]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1582153167396548494] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:26:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1582153167396548494] updating number_of_replicas to [0] for indices [.kibana_1]
[00:26:01]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xl-1582153167396548494] 18353 finished with response BulkByScrollResponse[took=27.5ms,timed_out=false,sliceId=null,updated=0,created=7,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:26:02]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1582153167396548494] [.kibana/tEiQj5ZUReulwKjj0AyyNA] deleting index
[00:26:02]             │ info Migrating .kibana_1 saved objects to .kibana_2
[00:26:02]             │ debg Migrating saved objects index-pattern:logstash-*, index-pattern:logstash*, index-pattern:long-window-logstash-*, visualization:Shared-Item-Visualization-AreaChart, visualization:68305470-87bc-11e9-a991-3b492a7c3e09, visualization:64983230-87bf-11e9-a991-3b492a7c3e09, visualization:5d2de430-87c0-11e9-a991-3b492a7c3e09
[00:26:02]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1582153167396548494] [.kibana_2/h3kLWEdaRG67zxaDmk6abA] update_mapping [_doc]
[00:26:02]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1582153167396548494] [.kibana_2/h3kLWEdaRG67zxaDmk6abA] update_mapping [_doc]
[00:26:02]             │ info Pointing alias .kibana to .kibana_2.
[00:26:02]             │ info Finished in 491ms.
[00:26:02]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:26:02]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1582153167396548494] [.kibana_2/h3kLWEdaRG67zxaDmk6abA] update_mapping [_doc]
[00:26:03]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*","format:bytes:defaultPattern":"0,0.[000]b"}
[00:26:03]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1582153167396548494] [.kibana_2/h3kLWEdaRG67zxaDmk6abA] update_mapping [_doc]
[00:33:55]           └-: 
[00:33:55]             └-> "before all" hook
[00:33:55]             └-: visual builder
[00:33:55]               └-> "before all" hook
[00:40:48]               └-: topN
[00:40:48]                 └-> "before all" hook
[00:40:48]                 └-> should verify topN label and count display
[00:40:48]                   └-> "before each" hook: global before each
[00:40:48]                   └-> "before each" hook
[00:40:48]                     │ debg navigating to visualize url: http://localhost:6111/app/kibana#/visualize
[00:40:48]                     │ debg Navigate to: http://localhost:6111/app/kibana#/visualize
[00:40:48]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:40:48]                     │ debg ... sleep(700) start
[00:40:48]                     │ debg ... sleep(700) end
[00:40:48]                     │ debg returned from get, calling refresh
[00:40:49]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:40:49]                     │ debg currentUrl = http://localhost:6111/app/kibana#/visualize
[00:40:49]                     │          appUrl = http://localhost:6111/app/kibana#/visualize
[00:40:49]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:41:05]                     │ debg browser[info] "INFO: 2020-02-19T23:58:04Z
[00:41:05]                     │        Adding connection to http://localhost:6111/elasticsearch
[00:41:05]                     │
[00:41:05]                     │      "
[00:41:31]                     │ debg TestSubjects.find(kibanaChrome)
[00:41:31]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:41:31]                     │ debg ... sleep(501) start
[00:41:32]                     │ debg ... sleep(501) end
[00:41:32]                     │ debg in navigateTo url = http://localhost:6111/app/kibana#/visualize?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:41:32]                     │ debg --- retry.try error: URL changed, waiting for it to settle
[00:41:32]                     │ debg ... sleep(501) start
[00:41:33]                     │ debg ... sleep(501) end
[00:41:33]                     │ debg in navigateTo url = http://localhost:6111/app/kibana#/visualize?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:41:33]                     │ debg TestSubjects.exists(statusPageContainer)
[00:41:33]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:41:35]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:41:36]                     │ debg TestSubjects.exists(newItemButton)
[00:41:36]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:41:36]                     │ debg TestSubjects.click(newItemButton)
[00:41:36]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:41:36]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:41:37]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:41:37]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:41:37]                     │ debg TestSubjects.click(visType-metrics)
[00:41:37]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:41:37]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:41:37]                     │ debg isGlobalLoadingIndicatorVisible
[00:41:37]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:41:37]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:41:37]                     │ debg Firefox stdout: 1582156716949	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:41:37]                     │      bail@chrome://marionette/content/sync.js:237:64
[00:41:37]                     │
[00:41:39]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:41:39]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:41:39]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:41:39]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:41:39]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:41:39]                   └-> "before each" hook
[00:41:39]                     │ debg Navigate to: http://localhost:6111/app/kibana#/visualize/create?type=metrics
[00:41:39]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:41:39]                     │ debg currentUrl = http://localhost:6111/app/kibana#/visualize/create?type=metrics
[00:41:39]                     │          appUrl = http://localhost:6111/app/kibana#/visualize/create?type=metrics
[00:41:39]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:41:55]                     │ debg browser[log] "Detected an unhandled Promise rejection.
[00:41:55]                     │      out of memory"
[00:43:21]                     │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:43:21]                     │      Wait timed out after 101199ms
[00:43:21]                     │ debg Navigate to: http://localhost:6111/app/kibana#/visualize/create?type=metrics
[00:43:21]                     │ debg currentUrl = http://localhost:6111/app/kibana#/visualize/create?type=metrics
[00:43:21]                     │          appUrl = http://localhost:6111/app/kibana#/visualize/create?type=metrics
[00:43:21]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:43:21]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:44:23]                     │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:44:23]                     │      Wait timed out after 61782ms
[00:44:23]                     │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/visualize app  visual builder topN _before each_ hook.png"
[00:44:23]                     │ info Current URL is: http://localhost:6111/app/kibana#/visualize/create?type=metrics
[00:44:23]                     │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/visualize app  visual builder topN _before each_ hook.html
[00:44:23]                     └- ✖ fail: "visualize app  visual builder topN "before each" hook for "should verify topN label and count display""
[00:44:23]                     │

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
Wait timed out after 61782ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:841:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)

History

  • 💔 Build #26519 failed 82082e7e4cd8ff0ac41b26e3ad9ec348a97c94ae
  • 💔 Build #26503 failed 454c6536755a3f058efcb70ef1f6945f17841b61
  • 💔 Build #26445 failed 127187434a42d1f63edff618032ab192ab67d1db

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

cjcenizal added a commit that referenced this pull request Mar 23, 2020
* Create Painless Playground app (#54578)

* Replace heart script with smiley face script. (#57755)

* Rename Painless Playground -> Painless Lab. (#57545)

* Fix i18n namespace.

* Improve smiley face proportions.
- Add def keyword to Painless spec.
- Temporarily fix broken highlighting.
- Add small padding to main controls.

* [Painless Lab] Minor Fixes (#58135)

* Code restructure, improve types, add plugin id, introduced hook

Moved the code execution hook to a custom hook outside of main,
also chaining off promise to avoid lower level handling of
sequencing.

* Re-instated formatting code

To improve DX the execution error response from the painless API
was massaged to a more reader friendly state, only giving non-repeating
information.

Currently it is hard to determine the line and character information from
the painless endpoint. If the user wishes to see this raw information it
will be available in the API response flyout.

* Remove leading new line in default script

* Remove registration of feature flag

* Fix types

* Restore previous auto-submit request behaviour

* Remove use of null and remove old comment

Stick with "undefined" as the designation for something not existing.

* [Painless Lab] NP migration (#59794)

* Fix sample document editor.

* [Painless Lab] Fix float -> integer coercion bug (#60201)

* Clarify data and persistence flow. Fix floating point precision bug.
* Send a string to API and ES client instead of an object.

* Rename helpers lib to format. Add tests for formatRequestPayload.

* Add query parameter to score context (#60414)

* Fix typo and i18n

* Make state init lazy

Otherwise we are needlessly reading and JSON.parse'ing on every
state update

* Support the query parameter in requests to Painless

* Fix borked i18n

* Fix i18n

* Another i18n issue

* [Painless] Minor state update model refactor (#60532)

* Fix typo and i18n

* Make state init lazy

Otherwise we are needlessly reading and JSON.parse'ing on every
state update

* Support the query parameter in requests to Painless

* WiP on state refactor

* Some cleanup after manual testing

* Fix types and i18n

* Fix i18n in context_tab

* i18n

* [Painless] Language Service (#60612)

* Added language service

* Use the correct monaco instance and add wordwise operations

* Remove plugin context initializer for now

* [Painless] Replace hard-coded links (#60603)

* Replace hard-coded links

Also remove all props from Main component

* Pass the new links object to the request flyout too

* Link directly to painless execute API's contexts

* Remove responsive stacking from tabs with icons in them.

* Resize Painless Lab bottom bar to accommodate nav drawer width (#60833)

* Validate Painless Lab index field (#60841)

* Make JSON format of parameters field more prominent. Set default parameters to provide an example to users.
* Set default document to provide an example to users.
* Simplify context's updateState interface.
* Refactor store and context file organization.
  - Remove common directory, move constants and types files to root.
  - Move initialState into context file, where it's being used.
* Add validation for index input.
* Create context directory.

* Fix bottom bar z-index.

* Position flyout help link so it's bottom-aligned with the title and farther from the close button.

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Alison Goryachev <alison.goryachev@elastic.co>
@cjcenizal cjcenizal added the Feature:Painless Lab Dev tool for learning Painless label Mar 23, 2020
cjcenizal added a commit that referenced this pull request Mar 24, 2020
* Create Painless Playground app (#54578)

* Replace heart script with smiley face script. (#57755)

* Rename Painless Playground -> Painless Lab. (#57545)

* Fix i18n namespace.

* Improve smiley face proportions.
- Add def keyword to Painless spec.
- Temporarily fix broken highlighting.
- Add small padding to main controls.

* [Painless Lab] Minor Fixes (#58135)

* Code restructure, improve types, add plugin id, introduced hook

Moved the code execution hook to a custom hook outside of main,
also chaining off promise to avoid lower level handling of
sequencing.

* Re-instated formatting code

To improve DX the execution error response from the painless API
was massaged to a more reader friendly state, only giving non-repeating
information.

Currently it is hard to determine the line and character information from
the painless endpoint. If the user wishes to see this raw information it
will be available in the API response flyout.

* Remove leading new line in default script

* Remove registration of feature flag

* Fix types

* Restore previous auto-submit request behaviour

* Remove use of null and remove old comment

Stick with "undefined" as the designation for something not existing.

* [Painless Lab] NP migration (#59794)

* Fix sample document editor.

* [Painless Lab] Fix float -> integer coercion bug (#60201)

* Clarify data and persistence flow. Fix floating point precision bug.
* Send a string to API and ES client instead of an object.

* Rename helpers lib to format. Add tests for formatRequestPayload.

* Add query parameter to score context (#60414)

* Fix typo and i18n

* Make state init lazy

Otherwise we are needlessly reading and JSON.parse'ing on every
state update

* Support the query parameter in requests to Painless

* Fix borked i18n

* Fix i18n

* Another i18n issue

* [Painless] Minor state update model refactor (#60532)

* Fix typo and i18n

* Make state init lazy

Otherwise we are needlessly reading and JSON.parse'ing on every
state update

* Support the query parameter in requests to Painless

* WiP on state refactor

* Some cleanup after manual testing

* Fix types and i18n

* Fix i18n in context_tab

* i18n

* [Painless] Language Service (#60612)

* Added language service

* Use the correct monaco instance and add wordwise operations

* Remove plugin context initializer for now

* [Painless] Replace hard-coded links (#60603)

* Replace hard-coded links

Also remove all props from Main component

* Pass the new links object to the request flyout too

* Link directly to painless execute API's contexts

* Remove responsive stacking from tabs with icons in them.

* Resize Painless Lab bottom bar to accommodate nav drawer width (#60833)

* Validate Painless Lab index field (#60841)

* Make JSON format of parameters field more prominent. Set default parameters to provide an example to users.
* Set default document to provide an example to users.
* Simplify context's updateState interface.
* Refactor store and context file organization.
  - Remove common directory, move constants and types files to root.
  - Move initialState into context file, where it's being used.
* Add validation for index input.
* Create context directory.

* Fix bottom bar z-index.

* Position flyout help link so it's bottom-aligned with the title and farther from the close button.

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Alison Goryachev <alison.goryachev@elastic.co>

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Alison Goryachev <alison.goryachev@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Dev Tools Feature:Painless Lab Dev tool for learning Painless painless painless release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants