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

WebDriver is stuck without logs and fails on mocha timeout #29550

Closed
dmlemeshko opened this issue Jan 29, 2019 · 2 comments
Closed

WebDriver is stuck without logs and fails on mocha timeout #29550

dmlemeshko opened this issue Jan 29, 2019 · 2 comments
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test test_infra test

Comments

@dmlemeshko
Copy link
Member

dmlemeshko commented Jan 29, 2019

While working on WebDriver migration we noticed strange failures in CI when WebDriver is stuck (no logs provided) and fails within time on reaching mocha timeout for suite/test.

Example:

[00:07:48]                 │ debg Find.findByCssSelector('[data-test-subj~="visualizationLoader"]') with timeout=10000
[00:07:48]                 │ debg Readed rendering count 8 8
[00:07:48]                 │ debg --- retry.try error: expected 8 to equal 9
[00:07:49]                 │ debg TestSubjects.find(visualizationLoader)
[00:07:49]                 │ debg Find.findByCssSelector('[data-test-subj~="visualizationLoader"]') with timeout=10000
[00:07:49]                 │ debg Readed rendering count 8 9
[00:07:49]                 │ debg Find.findByCssSelector('div.visAxis__splitAxes--y > div > svg > g.ValueAxis-1 > g:last-of-type.tick') with timeout=10000
[00:07:49]                 │ debg maxYLabel = 500, maxYLabelYPosition = 226.9673309326172
[00:07:49]                 │ debg Find.findByCssSelector('div.visAxis__column--y.visAxis__column--left  > div > div > svg:nth-child(2) > g > g:nth-child(1).tick') with timeout=10000
[00:07:49]                 │ debg Find.allByCssSelector('svg > g > g.series > rect[data-label="Count"]') with timeout=10000
[00:07:49]                 │ debg chartTypes count = 59
[00:10:55]                 └- ✖ fail: "visualize app  vertical bar chart should have `drop partial buckets` option"
[00:10:55]                 │      Error: Timeout of 300000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

Here WebDriver stuck on running following code:

      const chartData = await Promise.all(chartTypes.map(async chart => {
        const barHeight = await chart.getAttribute('height');
        return Math.round(barHeight * yAxisRatio);
      }));

Current guess is that WebDriver has issue when it is call in Array.map

List of failed tests:

  • FailedJOB=x-pack-ciGroup2
    • X-Pack Functional Tests.test/functional/apps/logstash/pipeline_list·js.logstash pipeline list route select all checkbox toggles selection for all rows
  • FailedJOB=kibana-ciGroup12
    • UI Functional Tests.test/functional/apps/visualize/_vertical_bar_chart·js.visualize app vertical bar chart should have drop partial buckets option
  • FailedJOB=kibana-ciGroup3
    • 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
    • UI Functional Tests.test/functional/apps/dashboard/_dashboard_filtering·js.dashboard app using current data dashboard filtering nested filtering visualization saved with a query filters data
  • FailedJOB=kibana-ciGroup11
    • UI Functional Tests.test/functional/apps/visualize/_pie_chart·js.visualize app pie chart disabled aggs should show correct result when agg is re-enabled
@dmlemeshko dmlemeshko added test failed-test A test failure on a tracked branch, potentially flaky-test labels Jan 29, 2019
@dmlemeshko
Copy link
Member Author

cc @LeeDr @silne30

@cuff-links
Copy link
Contributor

I am pretty sure the work done in #31446 fixed this. If not, reopen.

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 test_infra test
Projects
None yet
Development

No branches or pull requests

3 participants