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

Failing test: Firefox UI Functional Tests.test/functional/apps/dashboard/dashboard_filtering·js - dashboard app using current data dashboard filtering adding a filter that excludes all data "before all" hook #41088

Closed
kibanamachine opened this issue Jul 14, 2019 · 19 comments
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Feature:Dashboard Dashboard related features Feature:Filters Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Jul 14, 2019

A test failed on a tracked branch


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

First failure: Jenkins Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Jul 14, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-test-triage

@spalger spalger added Feature:Dashboard Dashboard related features Feature:Filters Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Jul 15, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

spalger pushed a commit that referenced this issue Jul 15, 2019
(cherry picked from commit f0e7b9e)
spalger pushed a commit that referenced this issue Jul 15, 2019
spalger pushed a commit that referenced this issue Jul 15, 2019
(cherry picked from commit f0e7b9e)
@spalger
Copy link
Contributor

spalger commented Jul 15, 2019

skipped

master: f0e7b9e
7.x/7.4: 3b59476
7.3: 3c0426d

@stacey-gammon
Copy link
Contributor

Should be fixed by #41008

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@stacey-gammon
Copy link
Contributor

@spalger did I see in chats that this was due to an ES upgrade and you fixed it by updating the snapshot? If so, maybe we can close this.

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@stacey-gammon
Copy link
Contributor

Latest failure:

[00:07:01]                   │ debg isGlobalLoadingIndicatorVisible
[00:07:01]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:07:01]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="globalLoadingIndicator"]') with timeout=2500
[00:07:04]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:07:04]                   │ debg Find.existsByCssSelector('[data-test-subj~="globalLoadingIndicator-hidden"]') with timeout=100000
[00:07:04]                   │ debg isGlobalLoadingIndicatorVisible
[00:07:04]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:07:04]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="globalLoadingIndicator"]') with timeout=2500
[00:07:06]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:07:06]                   │ debg Find.existsByCssSelector('[data-test-subj~="globalLoadingIndicator-hidden"]') with timeout=100000
[00:07:06]                   │ debg addEveryEmbeddableOnCurrentPage
[00:07:06]                   │ debg TestSubjects.find(savedObjectFinderItemList)
[00:07:06]                   │ debg Find.findByCssSelector('[data-test-subj~="savedObjectFinderItemList"]') with timeout=10000
[00:07:07]                   │ debg Find.findByCssSelector('.euiToast') with timeout=10000
[00:07:07]                   │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:07:07]                   │ debg Filter Bytes Test: tag cloud with not 0 bytes filter (Tag Cloud) was added
[00:07:07]                   │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:07:07]                   │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:07:07]                   │ debg Find.findByCssSelector('.euiToast') with timeout=10000
[00:07:24]                   │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:07:34]                   │ info Taking screenshot "/var/lib/jenkins/workspace/elastic+kibana+7.x/JOB/kibana-firefoxSmoke/node/linux-immutable/kibana/test/functional/screenshots/failure/dashboard app using current data dashboard filtering adding a filter that excludes all data _before all_ hook.png"
[00:07:34]                   │ info Current URL is: http://localhost:5620/app/kibana#/dashboard?_g=(refreshInterval:(pause:!t,value:0),time:(from:%272018-01-01T00:00:00.000Z%27,to:%272018-04-13T00:00:00.000Z%27))&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),panels:!((embeddableConfig:(),gridData:(h:15,i:%27983c5db2-55e2-4d50-877f-01bdb8d61c03%27,w:24,x:0,y:0),id:%278090dcb0-4195-11e8-bb13-d53698fb349a%27,panelIndex:%27983c5db2-55e2-4d50-877f-01bdb8d61c03%27,type:visualization,version:%277.4.0-SNAPSHOT%27),(embeddableConfig:(),gridData:(h:15,i:%27723c5cf7-1119-42ad-a817-5ad1db638344%27,w:24,x:24,y:0),id:%279fb4c670-4194-11e8-bb13-d53698fb349a%27,panelIndex:%27723c5cf7-1119-42ad-a817-5ad1db638344%27,type:visualization,version:%277.4.0-SNAPSHOT%27),(embeddableConfig:(),gridData:(h:15,i:%2799c72494-a72f-4876-b5f2-50eace25f3bb%27,w:24,x:0,y:15),id:%2703d2afd0-4192-11e8-bb13-d53698fb349a%27,panelIndex:%2799c72494-a72f-4876-b5f2-50eace25f3bb%27,type:visualization,version:%277.4.0-SNAPSHOT%27),(embeddableConfig:(),gridData:(h:15,i:%278c40f1ba-7acc-4c34-b0ba-c37e6d4c52f4%27,w:24,x:24,y:15),id:%270ca8c600-4195-11e8-bb13-d53698fb349a%27,panelIndex:%278c40f1ba-7acc-4c34-b0ba-c37e6d4c52f4%27,type:visualization,version:%277.4.0-SNAPSHOT%27),(embeddableConfig:(),gridData:(h:15,i:%278417421c-be89-4b60-bf98-d54af3fc6152%27,w:24,x:0,y:30),id:c10c6b00-4191-11e8-bb13-d53698fb349a,panelIndex:%278417421c-be89-4b60-bf98-d54af3fc6152%27,type:visualization,version:%277.4.0-SNAPSHOT%27),(embeddableConfig:(),gridData:(h:15,i:%27615bf9b5-5ddc-4cc8-a11a-14ff24469e87%27,w:24,x:24,y:30),id:%279bebe980-4192-11e8-bb13-d53698fb349a%27,panelIndex:%27615bf9b5-5ddc-4cc8-a11a-14ff24469e87%27,type:visualization,version:%277.4.0-SNAPSHOT%27),(embeddableConfig:(),gridData:(h:15,i:%2702fee83a-7530-4b74-941e-567d0a0991d2%27,w:24,x:0,y:45),id:%271dcdfe30-4192-11e8-bb13-d53698fb349a%27,panelIndex:%2702fee83a-7530-4b74-941e-567d0a0991d2%27,type:visualization,version:%277.4.0-SNAPSHOT%27),(embeddableConfig:(),gridData:(h:15,i:%2716d4e0dd-e1e1-4070-9573-6c9fef47271a%27,w:24,x:24,y:45),id:%27584c0300-4191-11e8-bb13-d53698fb349a%27,panelIndex:%2716d4e0dd-e1e1-4070-9573-6c9fef47271a%27,type:visualization,version:%277.4.0-SNAPSHOT%27),(embeddableConfig:(),gridData:(h:15,i:f430e998-0ae9-4509-a99f-1f8bf1f72d00,w:24,x:0,y:60),id:%2776c7f020-4194-11e8-bb13-d53698fb349a%27,panelIndex:f430e998-0ae9-4509-a99f-1f8bf1f72d00,type:visualization,version:%277.4.0-SNAPSHOT%27),(embeddableConfig:(),gridData:(h:15,i:%2797fc687b-d078-4f30-9bbf-15a49145a1fe%27,w:24,x:24,y:60),id:b3e70d00-4190-11e8-bb13-d53698fb349a,panelIndex:%2797fc687b-d078-4f30-9bbf-15a49145a1fe%27,type:visualization,version:%277.4.0-SNAPSHOT%27),(embeddableConfig:(),gridData:(h:15,i:%27004f862f-1262-4973-88d7-d8edebab4715%27,w:24,x:0,y:75),id:df72ad40-4194-11e8-bb13-d53698fb349a,panelIndex:%27004f862f-1262-4973-88d7-d8edebab4715%27,type:visualization,version:%277.4.0-SNAPSHOT%27),(embeddableConfig:(),gridData:(h:15,i:%272bd64041-456a-4b62-b7a9-c3c7a5b509c8%27,w:24,x:24,y:75),id:%27760a9060-4190-11e8-bb13-d53698fb349a%27,panelIndex:%272bd64041-456a-4b62-b7a9-c3c7a5b509c8%27,type:visualization,version:%277.4.0-SNAPSHOT%27)),query:(language:kuery,query:%27%27),timeRestore:!f,title:%27New%20Dashboard%27,viewMode:edit)
[00:07:34]                   │ info Saving page source to: /var/lib/jenkins/workspace/elastic+kibana+7.x/JOB/kibana-firefoxSmoke/node/linux-immutable/kibana/test/functional/failure_debug/html/dashboard app using current data dashboard filtering adding a filter that excludes all data _before all_ hook.html
[00:07:34]                   └- ✖ fail: "dashboard app using current data dashboard filtering adding a filter that excludes all data "before all" hook"
[00:07:34]                   │      TimeoutError: Waiting for element to be located By(css selector, .euiToastHeader__title)
[00:07:34]                   │ Wait timed out after 10038ms

Screen Shot 2019-07-24 at 3 40 22 PM

@spalger
Copy link
Contributor

spalger commented Sep 3, 2019

This is happening less often, but is still happening every once and awhile

image

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@spalger
Copy link
Contributor

spalger commented Sep 27, 2019

This failed a bunch all at once this week...

image

@mbondyra mbondyra self-assigned this Jul 16, 2020
@mbondyra
Copy link
Contributor

The error message is different now:

 │ERROR SCREENSHOT FAILED
10:41:53                   │ERROR NoSuchSessionError: Tried to run command without establishing a connection
10:41:53                   │          at Object.throwDecodedError (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/error.js:550:15)
10:41:53                   │          at parseHttpResponse (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:565:13)
10:41:53                   │          at Executor.execute (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:491:26)
10:41:53                   │          at process._tickCallback (internal/process/next_tick.js:68:7)
10:41:53                   └- ✖ fail: dashboard app using current data dashboard filtering adding a filter that excludes all data "before all" hook for "filters on pie charts"
10:41:53                   │      NoSuchSessionError: Tried to run command without establishing a connection
10:41:53                   │       at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:550:15)
10:41:53                   │       at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:565:13)
10:41:53                   │       at Executor.execute (node_modules/selenium-webdriver/lib/http.js:491:26)
10:41:53                   │       at process._tickCallback (internal/process/next_tick.js:68:7)
10:41:53                   │ 

@mbondyra
Copy link
Contributor

I looked at the build-stats and this doesn't fail with the initial error message of the missing element. The failure seem to be caused by CI instability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Feature:Dashboard Dashboard related features Feature:Filters Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

5 participants