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: Serverless Observability Functional Tests.x-pack/test_serverless/functional/test_suites/observability/observability_log_explorer/header_menu·ts - serverless observability UI Observability Log Explorer Header menu "before all" hook for "should inject the app header menu on the top navbar" #167189

Closed
kibanamachine opened this issue Sep 25, 2023 · 4 comments · Fixed by #167482
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Project:Serverless Work as part of the Serverless project for its initial release Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Sep 25, 2023

A test failed on a tracked branch

Error: timed out waiting for logout button visible -- last error: Error: retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="userMenuButton"])
Wait timed out after 10042ms
    at /var/lib/buildkite-agent/builds/kb-n2-4-spot-a0f53988de100a6a/elastic/kibana-on-merge/kibana/node_modules/selenium-webdriver/lib/webdriver.js:929:17
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at onFailure (retry_for_success.ts:17:9)
    at retryForSuccess (retry_for_success.ts:59:13)
    at RetryService.try (retry.ts:31:12)
    at Proxy.clickByCssSelector (find.ts:417:5)
    at TestSubjects.click (test_subjects.ts:164:5)
    at user_menu.js:47:9
    at runAttempt (retry_for_success.ts:29:15)
    at retryForSuccess (retry_for_success.ts:68:21)
    at RetryService.try (retry.ts:31:12)
    at UserMenu._ensureMenuOpen (user_menu.js:46:7)
    at UserMenu.logoutLinkExists (user_menu.js:28:7)
    at security_page.ts:267:19
    at runAttempt (retry_for_success.ts:29:15)
    at retryForSuccess (retry_for_success.ts:68:21)
    at retryForTruthy (retry_for_truthy.ts:27:3)
    at RetryService.waitFor (retry.ts:59:5)
    at SecurityPageObject.login (security_page.ts:265:5)
    at Object.login (svl_common_page.ts:18:14)
    at Context.<anonymous> (header_menu.ts:29:7)
    at Object.apply (wrap_function.js:73:16)
    at onFailure (retry_for_success.ts:17:9)
    at retryForSuccess (retry_for_success.ts:59:13)
    at RetryService.try (retry.ts:31:12)
    at UserMenu._ensureMenuOpen (user_menu.js:46:7)
    at UserMenu.logoutLinkExists (user_menu.js:28:7)
    at security_page.ts:267:19
    at runAttempt (retry_for_success.ts:29:15)
    at retryForSuccess (retry_for_success.ts:68:21)
    at retryForTruthy (retry_for_truthy.ts:27:3)
    at RetryService.waitFor (retry.ts:59:5)
    at SecurityPageObject.login (security_page.ts:265:5)
    at Object.login (svl_common_page.ts:18:14)
    at Context.<anonymous> (header_menu.ts:29:7)
    at Object.apply (wrap_function.js:73:16)
    at onFailure (retry_for_truthy.ts:39:13)
    at retryForSuccess (retry_for_success.ts:59:13)
    at retryForTruthy (retry_for_truthy.ts:27:3)
    at RetryService.waitFor (retry.ts:59:5)
    at SecurityPageObject.login (security_page.ts:265:5)
    at Object.login (svl_common_page.ts:18:14)
    at Context.<anonymous> (header_menu.ts:29:7)
    at Object.apply (wrap_function.js:73:16)

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Sep 25, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 25, 2023
@kibanamachine kibanamachine added the Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services label Sep 25, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Sep 25, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

mistic added a commit that referenced this issue Oct 3, 2023
@mistic
Copy link
Member

mistic commented Oct 3, 2023

Skipped.

main: 1e0b8e4

@gbamparop gbamparop added the Project:Serverless Work as part of the Serverless project for its initial release label Oct 13, 2023
dej611 pushed a commit to dej611/kibana that referenced this issue Oct 17, 2023
## 📓 Summary

Update login logic, sorting and search algorithm to stabilize the flaky
tests for Log Explorer.

Closes elastic#165915
Closes elastic#165916 
Closes elastic#165975  
Closes elastic#166016 
Closes elastic#166672 
Closes elastic#166675 
Closes elastic#166817 
Closes elastic#167058
Closes elastic#167189 
Closes elastic#167499 
Closes elastic#167515  
Closes elastic#167562 
Closes elastic#167567 
Closes elastic#167621 
Closes elastic#167664 
Closes elastic#167773

---------

Co-authored-by: Marco Antonio Ghiani <[email protected]>
Co-authored-by: kibanamachine <[email protected]>
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 Project:Serverless Work as part of the Serverless project for its initial release Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants