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: Rules Management - Prebuilt Rules Management Integration Tests - Serverless Env - Complete License.x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/management/trial_license_complete_tier/bootstrap_prebuilt_rules·ts - Rules Management - Prebuilt Rules - Prebuilt Rules Management @ess @serverless @skipInServerlessMKI Bootstrap Prebuilt Rules should skip installing fleet packages if they are already installed #202037

Open
kibanamachine opened this issue Nov 27, 2024 · 1 comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Detection Rule Management Security Detection Rule Management Team

Comments

@kibanamachine
Copy link
Contributor

A test failed on a tracked branch

JestAssertionError: expect(received).toMatchObject(expected)

- Expected  - 4
+ Received  + 6

  Object {
-   "packages": ArrayContaining [
-     ObjectContaining {
+   "packages": Array [
+     Object {
        "name": "security_detection_engine",
-       "status": "already_installed",
+       "status": "installed",
+       "version": "8.16.2",
      },
-     ObjectContaining {
+     Object {
        "name": "endpoint",
        "status": "already_installed",
+       "version": "8.17.0",
      },
    ],
  }
    at Context.<anonymous> (bootstrap_prebuilt_rules.ts:50:20)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.apply (wrap_function.js:74:16) {
  matcherResult: {
    message: '\x1B[2mexpect(\x1B[22m\x1B[31mreceived\x1B[39m\x1B[2m).\x1B[22mtoMatchObject\x1B[2m(\x1B[22m\x1B[32mexpected\x1B[39m\x1B[2m)\x1B[22m\n' +
      '\n' +
      '\x1B[32m- Expected  - 4\x1B[39m\n' +
      '\x1B[31m+ Received  + 6\x1B[39m\n' +
      '\n' +
      '\x1B[2m  Object {\x1B[22m\n' +
      '\x1B[32m-   "packages": ArrayContaining [\x1B[39m\n' +
      '\x1B[32m-     ObjectContaining {\x1B[39m\n' +
      '\x1B[31m+   "packages": Array [\x1B[39m\n' +
      '\x1B[31m+     Object {\x1B[39m\n' +
      '\x1B[2m        "name": "security_detection_engine",\x1B[22m\n' +
      '\x1B[32m-       "status": "already_installed",\x1B[39m\n' +
      '\x1B[31m+       "status": "installed",\x1B[39m\n' +
      '\x1B[31m+       "version": "8.16.2",\x1B[39m\n' +
      '\x1B[2m      },\x1B[22m\n' +
      '\x1B[32m-     ObjectContaining {\x1B[39m\n' +
      '\x1B[31m+     Object {\x1B[39m\n' +
      '\x1B[2m        "name": "endpoint",\x1B[22m\n' +
      '\x1B[2m        "status": "already_installed",\x1B[22m\n' +
      '\x1B[31m+       "version": "8.17.0",\x1B[39m\n' +
      '\x1B[2m      },\x1B[22m\n' +
      '\x1B[2m    ],\x1B[22m\n' +
      '\x1B[2m  }\x1B[22m',
    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 Nov 27, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Nov 27, 2024
@kibanamachine kibanamachine added the Team:Detection Rule Management Security Detection Rule Management Team label Nov 27, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Nov 27, 2024
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:Detection Rule Management Security Detection Rule Management Team
Projects
None yet
Development

No branches or pull requests

2 participants