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 Security Functional Tests - Common Group 6.x-pack/test_serverless/functional/test_suites/common/discover_ml_uptime/discover/search_source_alert·ts - Discover alerting Search source Alert should create an alert when there is no data view #172365

Closed
kibanamachine opened this issue Dec 1, 2023 · 7 comments · Fixed by #180913
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:small Small Level of Effort 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 Dec 1, 2023

A test failed on a tracked branch

Error: expected 'DATA VIEW\n.kibana-event-log-*' to sort of equal 'DATA VIEW\nSelect a data view'
    at Assertion.assert (expect.js:100:11)
    at Assertion.eql (expect.js:244:8)
    at Context.<anonymous> (search_source_alert.ts:384:60)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.apply (wrap_function.js:73:16) {
  actual: 'DATA VIEW\n.kibana-event-log-*',
  expected: 'DATA VIEW\nSelect a data view',
  showDiff: true
}

First failure: CI Build - main

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

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

@botelastic botelastic bot removed the needs-team Issues missing a team label label Dec 1, 2023
@kertal kertal self-assigned this Dec 4, 2023
@kertal
Copy link
Member

kertal commented Dec 7, 2023

@kertal
Copy link
Member

kertal commented Dec 7, 2023

Closing since flaky test runner (50x) detected no flakiness

@kertal kertal closed this as completed Dec 7, 2023
@kibanamachine kibanamachine reopened this Jan 12, 2024
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@dmlemeshko
Copy link
Member

dmlemeshko commented Feb 9, 2024

This test is skipped for Security project due to flakiness: after migrating to SAML roles, the scenario is failing even with SAML Admin role. Works consistently good for Oblt/Search
Screenshot 2024-02-09 at 12 43 02

@kertal kertal added the impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. label Feb 12, 2024
@kertal
Copy link
Member

kertal commented Feb 12, 2024

this is strange, so it seems the security project already has data views available, when there should be non, maybe we should cleanup saved objects before running this test? However it would be interesting, what is causing the difference for the security project FYI @elastic/security-solutions ? Maybe there are other tests executed upfront adding data views?

@kertal
Copy link
Member

kertal commented Feb 12, 2024

it looks like the DataViews in the screenshot match the default data views of Security:

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:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants