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 UI Functional Tests.test/functional/apps/visualize/group5/_tsvb_time_series·ts - visualize app visual builder Time Series "before each" hook for "should not disable switch for Kibana index patterns mode" #156452

Closed
kibanamachine opened this issue May 2, 2023 · 2 comments · Fixed by #156484
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@kibanamachine
Copy link
Contributor

A test failed on a tracked branch

Error: retry.try timeout: Error: expected http://localhost:5620/app/visualize#/create?type=metrics&_g=(filters:!(),refreshInterval:(pause:!t,value:60000),time:(from:now-15m,to:now)).includes(http://localhost:5620/app/visualize#create?type=metrics)
    at common_page.ts:114:15
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at runAttempt (retry_for_success.ts:29:15)
    at retryForSuccess (retry_for_success.ts:68:21)
    at RetryService.try (retry.ts:31:12)
    at CommonPageObject.navigate (common_page.ts:96:5)
    at CommonPageObject.navigateToUrl (common_page.ts:148:5)
    at VisualBuilderPageObject.resetPage (visual_builder_page.ts:42:5)
    at Context.<anonymous> (_tsvb_time_series.ts:48:9)
    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 CommonPageObject.navigate (common_page.ts:96:5)
    at CommonPageObject.navigateToUrl (common_page.ts:148:5)
    at VisualBuilderPageObject.resetPage (visual_builder_page.ts:42:5)
    at Context.<anonymous> (_tsvb_time_series.ts:48:9)
    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 May 2, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label May 2, 2023
@mistic mistic added the Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas label May 2, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

@botelastic botelastic bot removed the needs-team Issues missing a team label label May 2, 2023
@Heenawter Heenawter added Team:Visualizations Visualization editors, elastic-charts and infrastructure and removed Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas labels May 2, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations @elastic/kibana-visualizations-external (Team:Visualizations)

@dej611 dej611 added the Feature:TSVB TSVB (Time Series Visual Builder) label May 3, 2023
@stratoula stratoula self-assigned this May 3, 2023
stratoula added a commit that referenced this issue May 4, 2023
## Summary

Closes #156457
Closes #156452
Closes #156439
Closes #156400
Closes #156599
Closes #156502
Closes #156501

the resetPage function is creating this flakiness. I cant figure out why
but is on the navigateToUrl function. Sometimes it reports #create and
sometimes without the hash. The navigateToUrl is not needed as it is
already done on another function. The only thing that is needed is the
setTimePicker function.

Flaky runer (100 times)
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2210
stratoula added a commit to stratoula/kibana that referenced this issue May 4, 2023
## Summary

Closes elastic#156457
Closes elastic#156452
Closes elastic#156439
Closes elastic#156400
Closes elastic#156599
Closes elastic#156502
Closes elastic#156501

the resetPage function is creating this flakiness. I cant figure out why
but is on the navigateToUrl function. Sometimes it reports #create and
sometimes without the hash. The navigateToUrl is not needed as it is
already done on another function. The only thing that is needed is the
setTimePicker function.

Flaky runer (100 times)
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2210

(cherry picked from commit e5f6f96)
stratoula referenced this issue May 4, 2023
# Backport

This will backport the following commits from `main` to `8.8`:
- [[TSVB] Remove flakiness on resetPage
(#156484)](#156484)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Stratoula
Kalafateli","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-05-04T09:33:29Z","message":"[TSVB]
Remove flakiness on resetPage (#156484)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/156457\r\nCloses
https://github.com/elastic/kibana/issues/156452\r\nCloses
https://github.com/elastic/kibana/issues/156439\r\nCloses
https://github.com/elastic/kibana/issues/156400\r\nCloses
https://github.com/elastic/kibana/issues/156599\r\nCloses
https://github.com/elastic/kibana/issues/156502\r\nCloses
https://github.com/elastic/kibana/issues/156501\r\n\r\nthe resetPage
function is creating this flakiness. I cant figure out why\r\nbut is on
the navigateToUrl function. Sometimes it reports #create
and\r\nsometimes without the hash. The navigateToUrl is not needed as it
is\r\nalready done on another function. The only thing that is needed is
the\r\nsetTimePicker function.\r\n\r\nFlaky runer (100
times)\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2210","sha":"e5f6f96e9cd365fd8ae8e7f250ab3d67f56514f3","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:TSVB","Team:Visualizations","release_note:skip","backport:skip","v8.9.0"],"number":156484,"url":"https://github.com/elastic/kibana/pull/156484","mergeCommit":{"message":"[TSVB]
Remove flakiness on resetPage (#156484)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/156457\r\nCloses
https://github.com/elastic/kibana/issues/156452\r\nCloses
https://github.com/elastic/kibana/issues/156439\r\nCloses
https://github.com/elastic/kibana/issues/156400\r\nCloses
https://github.com/elastic/kibana/issues/156599\r\nCloses
https://github.com/elastic/kibana/issues/156502\r\nCloses
https://github.com/elastic/kibana/issues/156501\r\n\r\nthe resetPage
function is creating this flakiness. I cant figure out why\r\nbut is on
the navigateToUrl function. Sometimes it reports #create
and\r\nsometimes without the hash. The navigateToUrl is not needed as it
is\r\nalready done on another function. The only thing that is needed is
the\r\nsetTimePicker function.\r\n\r\nFlaky runer (100
times)\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2210","sha":"e5f6f96e9cd365fd8ae8e7f250ab3d67f56514f3"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156484","number":156484,"mergeCommit":{"message":"[TSVB]
Remove flakiness on resetPage (#156484)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/156457\r\nCloses
https://github.com/elastic/kibana/issues/156452\r\nCloses
https://github.com/elastic/kibana/issues/156439\r\nCloses
https://github.com/elastic/kibana/issues/156400\r\nCloses
https://github.com/elastic/kibana/issues/156599\r\nCloses
https://github.com/elastic/kibana/issues/156502\r\nCloses
https://github.com/elastic/kibana/issues/156501\r\n\r\nthe resetPage
function is creating this flakiness. I cant figure out why\r\nbut is on
the navigateToUrl function. Sometimes it reports #create
and\r\nsometimes without the hash. The navigateToUrl is not needed as it
is\r\nalready done on another function. The only thing that is needed is
the\r\nsetTimePicker function.\r\n\r\nFlaky runer (100
times)\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2210","sha":"e5f6f96e9cd365fd8ae8e7f250ab3d67f56514f3"}}]}]
BACKPORT-->
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:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants