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/group4/_tsvb_chart·ts - visualize app visual builder "before each" hook for "should be able to switch to auto interval" #156599

Closed
kibanamachine opened this issue May 3, 2023 · 1 comment · Fixed by #156484
Labels
failed-test A test failure on a tracked branch, potentially flaky-test 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:%272015-09-19T06:31:44Z%27,to:%272015-09-22T18:31:44Z%27)).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_chart.ts:47: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 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_chart.ts:47:7)
    at Object.apply (wrap_function.js:73:16)

First failure: CI Build - 8.8

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label May 3, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label May 3, 2023
@jbudz jbudz added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label May 3, 2023
@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot removed the needs-team Issues missing a team label label May 3, 2023
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 Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants