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/spaces/enter_space·ts - Spaces app Enter Space allows user to navigate to different spaces, respecting the configured default route #99879

Closed
kibanamachine opened this issue May 12, 2021 · 11 comments
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test impact:critical This issue should be addressed immediately due to a critical level of impact on the product. loe:small Small Level of Effort Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented May 12, 2021

A test failed on a tracked branch

Error: retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="space-avatar-default"])
Wait timed out after 10043ms
    at /dev/shm/workspace/parallel/10/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at onFailure (/dev/shm/workspace/parallel/10/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/10/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.try (/dev/shm/workspace/parallel/10/kibana/test/common/services/retry/retry.ts:32:14)
    at Proxy.clickByCssSelector (/dev/shm/workspace/parallel/10/kibana/test/functional/services/common/find.ts:420:7)
    at TestSubjects.click (/dev/shm/workspace/parallel/10/kibana/test/functional/services/common/test_subjects.ts:109:7)
    at /dev/shm/workspace/parallel/10/kibana/x-pack/test/functional/page_objects/space_selector_page.ts:193:9
    at runAttempt (/dev/shm/workspace/parallel/10/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/10/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at Retry.try (/dev/shm/workspace/parallel/10/kibana/test/common/services/retry/retry.ts:32:14)
    at SpaceSelectorPage.clickSpaceAvatar (test/functional/page_objects/space_selector_page.ts:191:14)
    at Context.<anonymous> (test/functional/apps/spaces/enter_space.ts:56:7)
    at Object.apply (/dev/shm/workspace/parallel/10/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
    at onFailure (/dev/shm/workspace/parallel/10/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/10/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.try (/dev/shm/workspace/parallel/10/kibana/test/common/services/retry/retry.ts:32:14)
    at SpaceSelectorPage.clickSpaceAvatar (test/functional/page_objects/space_selector_page.ts:191:14)
    at Context.<anonymous> (test/functional/apps/spaces/enter_space.ts:56:7)
    at Object.apply (/dev/shm/workspace/parallel/10/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

First failure: Jenkins Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label May 12, 2021
@botelastic botelastic bot added the needs-team Issues missing a team label label May 12, 2021
@mistic mistic added the Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! label May 12, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-security (Team:Security)

@botelastic botelastic bot removed the needs-team Issues missing a team label label May 12, 2021
@legrego
Copy link
Member

legrego commented May 12, 2021

This looks similar to #99581, where the spaces nav failed to open:

image

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.0

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@mistic
Copy link
Member

mistic commented Dec 6, 2021

This test looks flaky and keeps failing. Skipping for now.

main/8.1: 8cf07a1
8.0: e3c5149

@jportner
Copy link
Contributor

jportner commented Dec 6, 2021

Both recent failures:

└-> allows user to navigate to different spaces, respecting the configured default route
--
  | └-> "before each" hook: global before each for "allows user to navigate to different spaces, respecting the configured default route"
  | └- ✖ fail: Spaces app Enter Space allows user to navigate to different spaces, respecting the configured default route
  | │      retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="space-avatar-default"])
  | │ Wait timed out after 10048ms

Screenshot:

image

Same problem as #100570 unfortunately.
We had skipped only Firefox tests thinking that it was a Firefox-specific problem, but apparently the tests are still flaky for Chrome too.

CC @thomheymann

@exalate-issue-sync exalate-issue-sync bot added impact:critical This issue should be addressed immediately due to a critical level of impact on the product. loe:small Small Level of Effort labels Dec 8, 2021
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.16

TinLe pushed a commit to TinLe/kibana that referenced this issue Dec 22, 2021
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.17

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.17

jportner added a commit that referenced this issue Jan 6, 2022
jportner added a commit that referenced this issue Jan 6, 2022
@jportner
Copy link
Contributor

jportner commented Jan 6, 2022

This test looks flaky and keeps failing. Skipping for now.

main/8.1: 8cf07a1 8.0: e3c5149

It's failing for other branches too, so I skipped it there as well.

7.17: f8cc0b3
7.16: bf9d9aa

@legrego legrego removed their assignment May 9, 2022
@legrego
Copy link
Member

legrego commented May 10, 2022

Resolved via #131835

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 impact:critical This issue should be addressed immediately due to a critical level of impact on the product. loe:small Small Level of Effort Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!
Projects
None yet
Development

No branches or pull requests

5 participants