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

Drilldown demo #63684

Closed
wants to merge 11 commits into from
Closed

Drilldown demo #63684

wants to merge 11 commits into from

Conversation

streamich
Copy link
Contributor

@streamich streamich commented Apr 16, 2020

Summary

Adds Dashboard-to-Discover drilldown as example to ui_actions_examples sample plugin.

@streamich streamich requested a review from a team as a code owner April 16, 2020 11:04
@botelastic botelastic bot added the Feature:Drilldowns Embeddable panel Drilldowns label Apr 16, 2020
@streamich streamich mentioned this pull request Apr 16, 2020
47 tasks
@kibanamachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / kibana-oss-agent / Example plugin functional tests.test/examples/ui_actions/index·ts.ui actions explorer "before all" hook in "ui actions explorer"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:45]         └-: ui actions explorer
[00:00:45]           └-> "before all" hook
[00:00:45]           └-> "before all" hook
[00:00:45]             │ debg navigating to settings url: http://localhost:6111/app/kibana#/management
[00:00:45]             │ debg navigate to: http://localhost:6111/app/kibana#/management
[00:00:45]             │ debg ... sleep(700) start
[00:00:45]             │ debg browser[DEBUG] http://localhost:6111/bundles/plugin/usageCollection/usageCollection.plugin.js 974:16 "Reporting application changed to undefined"
[00:00:45]             │ debg browser[DEBUG] http://localhost:6111/bundles/plugin/usageCollection/usageCollection.plugin.js 974:16 "Reporting application changed to undefined"
[00:00:45]             │ debg browser[DEBUG] http://localhost:6111/bundles/plugin/usageCollection/usageCollection.plugin.js 974:16 "Error Sending Metrics Report TypeError: Failed to fetch"
[00:00:45]             │ debg browser[INFO] http://localhost:6111/app/kibana?_t=1587041207452#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:45]             │
[00:00:45]             │ debg browser[INFO] http://localhost:6111/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:46]             │ debg ... sleep(700) end
[00:00:46]             │ debg returned from get, calling refresh
[00:00:46]             │ debg browser[INFO] http://localhost:6111/app/kibana?_t=1587041207452#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:46]             │
[00:00:46]             │ debg browser[INFO] http://localhost:6111/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:46]             │ debg currentUrl = http://localhost:6111/app/kibana#/management
[00:00:46]             │          appUrl = http://localhost:6111/app/kibana#/management
[00:00:46]             │ debg TestSubjects.find(kibanaChrome)
[00:00:46]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:48]             │ debg TestSubjects.find(kibanaChrome)
[00:00:48]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:00:48]             │ debg browser[INFO] http://localhost:6111/bundles/plugin/testbed/testbed.plugin.js 171:12 "Testbed plugin set up. uiProp: 'Accessible from client'"
[00:00:48]             │ debg browser[INFO] http://localhost:6111/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-16T12:46:49Z
[00:00:48]             │        Adding connection to http://localhost:6111/elasticsearch
[00:00:48]             │
[00:00:48]             │      "
[00:00:48]             │ debg browser[DEBUG] http://localhost:6111/bundles/plugin/usageCollection/usageCollection.plugin.js 974:16 "Reporting user-agent."
[00:00:48]             │ debg browser[INFO] http://localhost:6111/bundles/plugin/testbed/testbed.plugin.js 179:12 "Testbed plugin started"
[00:00:48]             │ debg browser[DEBUG] http://localhost:6111/bundles/plugin/usageCollection/usageCollection.plugin.js 974:16 "Reporting application changed to management"
[00:00:48]             │ debg ... sleep(501) start
[00:00:49]             │ debg ... sleep(501) end
[00:00:49]             │ debg in navigateTo url = http://localhost:6111/app/kibana#/management?_g=()
[00:00:49]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:49]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:51]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:52]             │ debg click "Ui Actions Explorer" app link
[00:00:52]             │ debg TestSubjects.find(navDrawer)
[00:00:52]             │ debg Find.findByCssSelector('[data-test-subj="navDrawer"]') with timeout=10000
[00:01:02]             │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/ui actions explorer _before all_ hook.png"
[00:01:02]             │ info Current URL is: http://localhost:6111/app/kibana#/management?_g=()
[00:01:02]             │ info Saving page source to: /dev/shm/workspace/kibana/test/examples/failure_debug/html/ui actions explorer _before all_ hook.html
[00:01:02]             └- ✖ fail: "ui actions explorer "before all" hook in "ui actions explorer""
[00:01:02]             │

Stack Trace

{ NoSuchElementError: no such element: Unable to locate element: {"method":"css selector","selector":"[aria-label='Ui Actions Explorer']"}
  (Session info: headless chrome=81.0.4044.113)
    at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:550:15)
    at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:565:13)
    at Executor.execute (node_modules/selenium-webdriver/lib/http.js:491:26)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  name: 'NoSuchElementError',
  remoteStacktrace: '#0 0x55639311d5b9 <unknown>\n' }

Kibana Pipeline / kibana-oss-agent / Example plugin functional tests.test/examples/ui_actions/index·ts.ui actions explorer "before all" hook in "ui actions explorer"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:49]         └-: ui actions explorer
[00:00:49]           └-> "before all" hook
[00:00:49]           └-> "before all" hook
[00:00:49]             │ debg navigating to settings url: http://localhost:6111/app/kibana#/management
[00:00:49]             │ debg navigate to: http://localhost:6111/app/kibana#/management
[00:00:49]             │ debg ... sleep(700) start
[00:00:49]             │ debg browser[DEBUG] http://localhost:6111/bundles/plugin/usageCollection/usageCollection.plugin.js 974:16 "Reporting application changed to undefined"
[00:00:49]             │ debg browser[DEBUG] http://localhost:6111/bundles/plugin/usageCollection/usageCollection.plugin.js 974:16 "Reporting application changed to undefined"
[00:00:49]             │ debg browser[DEBUG] http://localhost:6111/bundles/plugin/usageCollection/usageCollection.plugin.js 974:16 "Error Sending Metrics Report TypeError: Failed to fetch"
[00:00:49]             │ debg browser[INFO] http://localhost:6111/app/kibana?_t=1587040365468#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:49]             │
[00:00:49]             │ debg browser[INFO] http://localhost:6111/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:49]             │ debg ... sleep(700) end
[00:00:49]             │ debg returned from get, calling refresh
[00:00:50]             │ debg currentUrl = http://localhost:6111/app/kibana#/management
[00:00:50]             │          appUrl = http://localhost:6111/app/kibana#/management
[00:00:50]             │ debg TestSubjects.find(kibanaChrome)
[00:00:50]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:52]             │ debg TestSubjects.find(kibanaChrome)
[00:00:52]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:00:52]             │ debg browser[INFO] http://localhost:6111/app/kibana?_t=1587040365468#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:52]             │
[00:00:52]             │ debg browser[INFO] http://localhost:6111/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:52]             │ debg browser[INFO] http://localhost:6111/bundles/plugin/testbed/testbed.plugin.js 171:12 "Testbed plugin set up. uiProp: 'Accessible from client'"
[00:00:52]             │ debg browser[INFO] http://localhost:6111/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-16T12:32:48Z
[00:00:52]             │        Adding connection to http://localhost:6111/elasticsearch
[00:00:52]             │
[00:00:52]             │      "
[00:00:52]             │ debg browser[DEBUG] http://localhost:6111/bundles/plugin/usageCollection/usageCollection.plugin.js 974:16 "Reporting user-agent."
[00:00:52]             │ debg browser[INFO] http://localhost:6111/bundles/plugin/testbed/testbed.plugin.js 179:12 "Testbed plugin started"
[00:00:52]             │ debg browser[DEBUG] http://localhost:6111/bundles/plugin/usageCollection/usageCollection.plugin.js 974:16 "Reporting application changed to management"
[00:00:52]             │ debg ... sleep(501) start
[00:00:52]             │ debg ... sleep(501) end
[00:00:52]             │ debg in navigateTo url = http://localhost:6111/app/kibana#/management?_g=()
[00:00:52]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:52]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:55]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:55]             │ debg click "Ui Actions Explorer" app link
[00:00:55]             │ debg TestSubjects.find(navDrawer)
[00:00:55]             │ debg Find.findByCssSelector('[data-test-subj="navDrawer"]') with timeout=10000
[00:01:05]             │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/ui actions explorer _before all_ hook.png"
[00:01:06]             │ info Current URL is: http://localhost:6111/app/kibana#/management?_g=()
[00:01:06]             │ info Saving page source to: /dev/shm/workspace/kibana/test/examples/failure_debug/html/ui actions explorer _before all_ hook.html
[00:01:06]             └- ✖ fail: "ui actions explorer "before all" hook in "ui actions explorer""
[00:01:06]             │

Stack Trace

{ NoSuchElementError: no such element: Unable to locate element: {"method":"css selector","selector":"[aria-label='Ui Actions Explorer']"}
  (Session info: headless chrome=81.0.4044.113)
    at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:550:15)
    at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:565:13)
    at Executor.execute (node_modules/selenium-webdriver/lib/http.js:491:26)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  name: 'NoSuchElementError',
  remoteStacktrace: '#0 0x5595cbe445b9 <unknown>\n' }

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

@streamich
Copy link
Contributor Author

Closing in favor of: #64300

@streamich streamich closed this Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Drilldowns Embeddable panel Drilldowns
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants