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: Entity Analytics - Risk Engine Integration Tests - ESS Env - Trial License.x-pack/test/security_solution_api_integration/test_suites/entity_analytics/risk_engine/trial_license_complete_tier/risk_scoring_task/task_execution·ts - Entity Analytics - Risk Engine @ess @serverless @serverlessQA Risk Scoring Task Execution with auditbeat data with some alerts containing hosts initializing the risk engine @skipInServerlessMKI @skipInServerless starts the latest transform #193709

Closed
kibanamachine opened this issue Sep 23, 2024 · 1 comment · Fixed by #193789
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Entity Analytics Security Entity Analytics Team

Comments

@kibanamachine
Copy link
Contributor

A test failed on a tracked branch

Error: expected 'indexing' to sort of equal 'started'
    at Assertion.assert (expect.js:100:11)
    at Assertion.eql (expect.js:244:8)
    at Context.<anonymous> (task_execution.ts:121:46)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.apply (wrap_function.js:74:16) {
  actual: 'indexing',
  expected: 'started',
  showDiff: true
}

First failure: kibana-on-merge - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Sep 23, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 23, 2024
@kibanamachine kibanamachine added the Team:Entity Analytics Security Entity Analytics Team label Sep 23, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-entity-analytics (Team:Entity Analytics)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Sep 23, 2024
@hop-dev hop-dev self-assigned this Sep 23, 2024
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Sep 24, 2024
…ine test (elastic#193789)

Closes elastic#193709

We are testing that the transform is successfully started, we have had a
test fail because the transform is in state 'indexing' which is another
healthy state indicating the transform is started and healthy.

(cherry picked from commit dcff283)
kibanamachine referenced this issue Sep 24, 2024
…uot; in risk engine test (#193789) (#193892)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Entity Analytics] Allow transfrom state to be &quot;indexing&quot;
in risk engine test
(#193789)](#193789)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Mark
Hopkin","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-24T15:25:19Z","message":"[Entity
Analytics] Allow transfrom state to be \"indexing\" in risk engine test
(#193789)\n\nCloses
https://github.com/elastic/kibana/issues/193709\r\n\r\nWe are testing
that the transform is successfully started, we have had a\r\ntest fail
because the transform is in state 'indexing' which is another\r\nhealthy
state indicating the transform is started and
healthy.","sha":"dcff2835310f3bfdb3e3c25f5dd4de0aa34deb6a","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:
SecuritySolution","backport:prev-minor","Team:Entity
Analytics"],"title":"[Entity Analytics] Allow transfrom state to be
\"indexing\" in risk engine
test","number":193789,"url":"https://github.com/elastic/kibana/pull/193789","mergeCommit":{"message":"[Entity
Analytics] Allow transfrom state to be \"indexing\" in risk engine test
(#193789)\n\nCloses
https://github.com/elastic/kibana/issues/193709\r\n\r\nWe are testing
that the transform is successfully started, we have had a\r\ntest fail
because the transform is in state 'indexing' which is another\r\nhealthy
state indicating the transform is started and
healthy.","sha":"dcff2835310f3bfdb3e3c25f5dd4de0aa34deb6a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193789","number":193789,"mergeCommit":{"message":"[Entity
Analytics] Allow transfrom state to be \"indexing\" in risk engine test
(#193789)\n\nCloses
https://github.com/elastic/kibana/issues/193709\r\n\r\nWe are testing
that the transform is successfully started, we have had a\r\ntest fail
because the transform is in state 'indexing' which is another\r\nhealthy
state indicating the transform is started and
healthy.","sha":"dcff2835310f3bfdb3e3c25f5dd4de0aa34deb6a"}}]}]
BACKPORT-->

Co-authored-by: Mark Hopkin <[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 Team:Entity Analytics Security Entity Analytics Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants