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/entity_store·ts - Entity Analytics - Entity Store @ess @skipInServerlessMKI Entity Store APIs apply_dataview_indices should update the index pattern when the data view changes #209010

Open
kibanamachine opened this issue Jan 30, 2025 · 3 comments
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 Jan 30, 2025

A test failed on a tracked branch

JestAssertionError: expect(received).toEqual(expected) // deep equality

- Expected  - 13
+ Received  +  2

  Object {
-   "result": Array [
-     Object {
-       "changes": Object {
-         "indexPatterns": Array [
-           "test-*",
-           ".asset-criticality.asset-criticality-default",
-           "risk-score.risk-score-latest-default",
-         ],
-       },
-       "type": "host",
-     },
-   ],
-   "success": true,
+   "message": "Error in ApplyEntityEngineDataViewIndices. Errors: [Error updating entity store: There are changes already in progress for engine security_host_default]",
+   "status_code": 500,
  }
    at Context.<anonymous> (entity_store.ts:301:31)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.apply (wrap_function.js:74:16) {
  matcherResult: {
    actual: {
      message: 'Error in ApplyEntityEngineDataViewIndices. Errors: [Error updating entity store: There are changes already in progress for engine security_host_default]',
      status_code: 500
    },
    expected: { success: true, result: [Array] },
    message: '\x1B[2mexpect(\x1B[22m\x1B[31mreceived\x1B[39m\x1B[2m).\x1B[22mtoEqual\x1B[2m(\x1B[22m\x1B[32mexpected\x1B[39m\x1B[2m) // deep equality\x1B[22m\n' +
      '\n' +
      '\x1B[32m- Expected  - 13\x1B[39m\n' +
      '\x1B[31m+ Received  +  2\x1B[39m\n' +
      '\n' +
      '\x1B[2m  Object {\x1B[22m\n' +
      '\x1B[32m-   "result": Array [\x1B[39m\n' +
      '\x1B[32m-     Object {\x1B[39m\n' +
      '\x1B[32m-       "changes": Object {\x1B[39m\n' +
      '\x1B[32m-         "indexPatterns": Array [\x1B[39m\n' +
      '\x1B[32m-           "test-*",\x1B[39m\n' +
      '\x1B[32m-           ".asset-criticality.asset-criticality-default",\x1B[39m\n' +
      '\x1B[32m-           "risk-score.risk-score-latest-default",\x1B[39m\n' +
      '\x1B[32m-         ],\x1B[39m\n' +
      '\x1B[32m-       },\x1B[39m\n' +
      '\x1B[32m-       "type": "host",\x1B[39m\n' +
      '\x1B[32m-     },\x1B[39m\n' +
      '\x1B[32m-   ],\x1B[39m\n' +
      '\x1B[32m-   "success": true,\x1B[39m\n' +
      '\x1B[31m+   "message": "Error in ApplyEntityEngineDataViewIndices. Errors: [Error updating entity store: There are changes already in progress for engine security_host_default]",\x1B[39m\n' +
      '\x1B[31m+   "status_code": 500,\x1B[39m\n' +
      '\x1B[2m  }\x1B[22m',
    name: 'toEqual',
    pass: false
  }
}

First failure: kibana-on-merge - main

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

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

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

No branches or pull requests

2 participants