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/management/_scripted_fields·ts - management scripted fields creating and using Painless date scripted fields should visualize scripted field in vertical bar chart #141616

Closed
kibanamachine opened this issue Sep 23, 2022 · 4 comments · Fixed by #141650 or #146863
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Sep 23, 2022

A test failed on a tracked branch

Error: expected [] to contain 'painDate'
    at Assertion.assert (node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.contain (node_modules/@kbn/expect/expect.js:447:10)
    at Context.<anonymous> (test/functional/apps/management/_scripted_fields.ts:506:81)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Object.apply (node_modules/@kbn/test/target_node/src/functional_test_runner/lib/mocha/wrap_function.js:87:16)

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Sep 23, 2022
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 23, 2022
@spalger spalger added the Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. label Sep 23, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Sep 23, 2022
@spalger
Copy link
Contributor

spalger commented Sep 23, 2022

This specific test has only failed once, but if we open it up to the list of should visualize scripted field in vertical bar chart we see several failures across PRs

image

It would be great if someone could take a look at this. @jughosta looks like you were in these tests just a week ago, maybe you have some ideas about why these tests look flaky?

@jughosta
Copy link
Contributor

@spalger Looking into it, thanks!

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

jughosta added a commit to jughosta/kibana that referenced this issue Dec 6, 2022
jughosta referenced this issue Dec 6, 2022
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Discover] Fix flaky "visualize in lens" test
(#146863)](#146863)

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

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

<!--BACKPORT [{"author":{"name":"Julia
Rechkunova","email":"[email protected]"},"sourceCommit":{"committedDate":"2022-12-06T08:09:21Z","message":"[Discover]
Fix flaky \"visualize in lens\" test (#146863)\n\nCloses
https://github.com/elastic/kibana/issues/141616\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1615","sha":"61930b7ef92a1c652f2c2e1c7f49c6da1988f6ac","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:DataDiscovery","backport:prev-minor","v8.7.0"],"number":146863,"url":"https://github.com/elastic/kibana/pull/146863","mergeCommit":{"message":"[Discover]
Fix flaky \"visualize in lens\" test (#146863)\n\nCloses
https://github.com/elastic/kibana/issues/141616\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1615","sha":"61930b7ef92a1c652f2c2e1c7f49c6da1988f6ac"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146863","number":146863,"mergeCommit":{"message":"[Discover]
Fix flaky \"visualize in lens\" test (#146863)\n\nCloses
https://github.com/elastic/kibana/issues/141616\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1615","sha":"61930b7ef92a1c652f2c2e1c7f49c6da1988f6ac"}}]}]
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:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Projects
None yet
4 participants