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 - Entity Store Integration Tests - ESS Env - Trial License.x-pack/test/security_solution_api_integration/test_suites/entity_analytics/entity_store/trial_license_complete_tier/engine·ts - Entity Analytics - Entity Store @ess @skipInServerlessMKI Entity Store Engine APIs init should have installed the expected user resources #196526

Closed
kibanamachine opened this issue Oct 16, 2024 · 18 comments · Fixed by #196564
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

kibanamachine commented Oct 16, 2024

A test failed on a tracked branch

Error: Expected ingest pipeline security_user_default-latest@platform to exist, but it does not: ResponseError: {}
    at expectIngestPipelineStatus (elastic_asset_checker.ts:97:15)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.expectEngineAssetsExist (entity_store.ts:103:5)
    at Context.<anonymous> (engine.ts:36:9)
    at Object.apply (wrap_function.js:74:16)

First failure: kibana-on-merge - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Oct 16, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Oct 16, 2024
@kibanamachine kibanamachine added the Team:Entity Analytics Security Entity Analytics Team label Oct 16, 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 Oct 16, 2024
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@dmlemeshko
Copy link
Member

/skip

@kibanamachine
Copy link
Contributor Author

Skipped

main: 4ab5832

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@hop-dev hop-dev self-assigned this Oct 16, 2024
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

hop-dev added a commit to hop-dev/kibana that referenced this issue Oct 21, 2024
… setup (elastic#196564)

## Summary

Closes elastic#196546
Closes elastic#196526

Unskips flaky entity store tests after fixes.

Entity store tests were not polling for the engine to be started before
asserting the assets were present.

I have also added some retries to the asset checks as some assets are
not immediately queryable after creation.

(cherry picked from commit 0e1b2a3)

# Conflicts:
#	x-pack/test/security_solution_api_integration/test_suites/entity_analytics/entity_store/trial_license_complete_tier/engine.ts
hop-dev added a commit to hop-dev/kibana that referenced this issue Oct 21, 2024
… setup (elastic#196564)

## Summary

Closes elastic#196546
Closes elastic#196526

Unskips flaky entity store tests after fixes.

Entity store tests were not polling for the engine to be started before
asserting the assets were present.

I have also added some retries to the asset checks as some assets are
not immediately queryable after creation.

(cherry picked from commit 0e1b2a3)

# Conflicts:
#	x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/entity_store_data_client.ts
#	x-pack/test/security_solution_api_integration/test_suites/entity_analytics/entity_store/trial_license_complete_tier/engine.ts
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.

4 participants