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: Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/rollup·ts - lens app lens rollup tests should allow creation of lens xy chart #84957

Closed
kibanamachine opened this issue Dec 3, 2020 · 18 comments · Fixed by #84979 or #116567
Assignees
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test Feature:Lens skipped-test Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Dec 3, 2020

A test failed on a tracked branch

Error: retry.try timeout: Error: retry.try timeout: ElementClickInterceptedError: element click intercepted: Element <button class="euiButtonEmpty euiButtonEmpty--text euiButtonEmpty--xSmall lnsLayerPanel__triggerText" type="button" aria-label="Drop a field or click to add to Vertical axis" data-test-subj="lns-empty-dimension">...</button> is not clickable at point (1117, 424). Other element would receive the click: <div class="euiFormRow__labelWrapper">...</div>
  (Session info: headless chrome=87.0.4280.88)
    at Object.throwDecodedError (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/error.js:550:15)
    at parseHttpResponse (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:565:13)
    at Executor.execute (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:491:26)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Task.exec (/dev/shm/workspace/parallel/22/kibana/test/functional/services/remote/prevent_parallel_calls.ts:40:22)
    at onFailure (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:68:13)
    at Retry.try (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry.ts:43:14)
    at Proxy.clickByCssSelector (/dev/shm/workspace/parallel/22/kibana/test/functional/services/common/find.ts:430:7)
    at TestSubjects.click (/dev/shm/workspace/parallel/22/kibana/test/functional/services/common/test_subjects.ts:116:7)
    at /dev/shm/workspace/parallel/22/kibana/x-pack/test/functional/page_objects/lens_page.ts:101:9
    at runAttempt (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:38:15)
    at retryForSuccess (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:77:21)
    at Retry.try (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry.ts:43:14)
    at Object.configureDimension (test/functional/page_objects/lens_page.ts:100:7)
    at Context.<anonymous> (test/functional/apps/lens/rollup.ts:38:7)
    at Object.apply (/dev/shm/workspace/parallel/22/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
    at onFailure (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:68:13)
    at Retry.try (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry.ts:43:14)
    at Object.configureDimension (test/functional/page_objects/lens_page.ts:100:7)
    at Context.<anonymous> (test/functional/apps/lens/rollup.ts:38:7)
    at Object.apply (/dev/shm/workspace/parallel/22/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)

First failure: Jenkins Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Dec 3, 2020
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@jbudz
Copy link
Member

jbudz commented Dec 3, 2020

skipped
main: 60202b3
7.x: 1ab0cbe

@jbudz jbudz added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Dec 3, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@wylieconlon
Copy link
Contributor

Screenshot from failure, it looks like this could be an issue with focus states? @mbondyra @myasonik

lens app lens rollup tests should allow creation of lens xy chart

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@wylieconlon wylieconlon self-assigned this Dec 4, 2020
gmmorris added a commit to gmmorris/kibana that referenced this issue Dec 4, 2020
* master: (28 commits)
  [Actions] fixes bug where severity is auto selected but not applied to the action in PagerDuty (elastic#84891)
  Only attempt to rollover signals index if version < builtin version (elastic#84982)
  skip flaky suite (elastic#84978)
  skip lens rollup tests
  Add geo containment tracking alert type (elastic#84151)
  Changed rollup tests to use test user rather than elastic super user. (elastic#79567)
  skip 'should allow creation of lens xy chart' elastic#84957
  [APM] Add log_level/sanitize_field_names config options to Python Agent (elastic#84810)
  [Maps] geo line source (elastic#76572)
  [data.search] Move search method inside session service and add tests (elastic#84715)
  skip lens drag and drop test.  elastic#84941
  [Ingest Node Pipelines] Integrate painless autocomplete (elastic#84554)
  [Lens] allow drag and drop reorder on xyChart for y dimension (elastic#84640)
  [Lens] Fix error when selecting the current field again (elastic#84817)
  [Metrics UI] Add metadata tab to node details flyout (elastic#84454)
  [CI] Enables APM collection (elastic#81731)
  [Workplace Search] Migrate Sources Schema tree (elastic#84847)
  Disable checking for conflicts when copying saved objects (elastic#83575)
  [SECURITY_SOLUTION] delete advanced Policy fields when they are empty (elastic#84368)
  y18n 4.0.0 -> 4.0.1 (elastic#84905)
  ...
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - master

@mbondyra
Copy link
Contributor

@flash1293 this failed with a different error message, isn't this CI problem?
Screenshot 2021-10-20 at 09 58 42

@flash1293
Copy link
Contributor

Right, looks like a CI problem. Closing

@tylersmalley tylersmalley reopened this Oct 26, 2021
tylersmalley pushed a commit that referenced this issue Oct 26, 2021
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
tylersmalley pushed a commit that referenced this issue Oct 26, 2021
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
@tylersmalley
Copy link
Contributor

This needed to be skipped as it was consistently failing in master. Even running locally resulted in an error:

master: 1827cf2
7.16: 46c0613

image

@flash1293
Copy link
Contributor

flash1293 commented Oct 27, 2021

@tylersmalley are you sure this is the right issue? I can't find any failed builds in buildkite related to this - also shouldn't a failure on master re-open this issue automatically? Could you point me to a CI failure?

@flash1293 flash1293 self-assigned this Oct 27, 2021
jloleysens added a commit to jloleysens/kibana that referenced this issue Oct 27, 2021
…-migrate-away-from-injected-css-js

* 'master' of github.com:elastic/kibana: (61 commits)
  [ML] Nodes overview for the Model Management page (elastic#116361)
  [Uptime] Uptime index config using kibana.yml (elastic#115775)
  [Controls] Dashboard Integration (elastic#115991)
  skip flaky suite (elastic#104260)
  Include Files in GitHub UI (elastic#115956)
  skip flaky suite (elastic#116060)
  [Canvas] By-Value Embeddables (elastic#113827)
  Skip failing test (elastic#115366)
  [Osquery] Fix live query search doesn't return relevant results for agents (elastic#116332)
  [Integrations] Added link in old Add Data description and fixed alignment in cards (elastic#116213)
  [Actions] Extended ActionTypeRegistry with connector validation to validate config with secrets (elastic#116079)
  skip flaky suite (elastic#109329)
  Grant access to machine learning features when base privileges are used (elastic#115444)
  Skipping failing test (elastic#84957)
  [RAC][Security Solution] Adds migration to new SecuritySolution rule types (elastic#112113)
  skip flaky suite (elastic#115366)
  [Fleet] Marking API spec as experimental (elastic#116331)
  [Docs] Cleaning up the versions in the upgrade paths. Closes elastic#116223 (elastic#116228)
  [Reporting] Suppress debug logs in the mock logger (elastic#116012)
  [Metrics UI] Clear threshold alert groups state when filterQuery changes (elastic#116205)
  ...

# Conflicts:
#	src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx
#	src/plugins/dashboard/public/types.ts
@flash1293
Copy link
Contributor

OK, so I did a flaky test run for this (https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/110#7e813e60-10a1-40b7-814e-3bb8de7af6b4) and it failed with a bunch of these:

│1)    "before each" hook: global before each for "should allow creation of lens xy chart":
--
  | │
  | │      Error: Timeout of 360000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  | │       at listOnTimeout (node:internal/timers:557:17)
  | │       at processTimers (node:internal/timers:500:7)
  | │
  | │
  | │2)    lens app
  | │
  | │         lens rollup tests
  | │           "after all" hook for "should allow to switch from regular index to rollup index retaining config":
  | │
  | │      Error: Timeout of 360000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/opt/local-ssd/buildkite/builds/kb-cigroup-6-bd984f69ac89a8be/elastic/kibana-flaky-test-suite-runner/kibana/x-pack/test/functional/apps/lens/rollup.ts)
  | │       at listOnTimeout (node:internal/timers:557:17)
  | │       at processTimers (node:internal/timers:500:7)
  | │
  | │
  | │3)    lens app
  | │
  | │         "after all" hook in "":
  | │
  | │      Error: Timeout of 360000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/opt/local-ssd/buildkite/builds/kb-cigroup-6-bd984f69ac89a8be/elastic/kibana-flaky-test-suite-runner/kibana/x-pack/test/functional/apps/lens)
  | │       at listOnTimeout (node:internal/timers:557:17)
  | │       at processTimers (node:internal/timers:500:7)
  | │
  | │
  | │4)    lens app
  | │       "after all" hook in "lens app":
  | │
  | │      Error: Timeout of 360000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/opt/local-ssd/buildkite/builds/kb-cigroup-6-bd984f69ac89a8be/elastic/kibana-flaky-test-suite-runner/kibana/x-pack/test/functional/apps/lens)
  | │       at listOnTimeout (node:internal/timers:557:17)
  | │       at processTimers (node:internal/timers:500:7)
  | │
  | │

All of these timeouts of after all hooks seem to be related either to some system level issue or to a problem with esArchiver.unload (which is the only thing that's happening in the after all hooks). It seems like this is also the same issue as #75962

@elastic/kibana-operations could you assist with this? I'm not sure what's going on here.

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