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: Fleet Serverless Observability API Integration Tests.x-pack/test_serverless/api_integration/test_suites/observability/fleet/fleet·ts - fleet rejects request to create a new elasticsearch output if host is different from default #176858

Closed
kibanamachine opened this issue Feb 13, 2024 · 6 comments
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Feb 13, 2024

A test failed on a tracked branch

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

- Expected  - 3
+ Received  + 3

  Object {
-   "error": "Bad Request",
-   "message": "Elasticsearch output host must have default URL in serverless: https://localhost:9200",
-   "statusCode": 400,
+   "error": "Not Found",
+   "message": "Saved object [ingest-outputs/7c16a2b8-95ac-54a0-81c7-f00ff91e325a] not found",
+   "statusCode": 404,
  }
    at Context.<anonymous> (fleet.ts:63:20)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.apply (wrap_function.js:73:16) {
  matcherResult: {
    actual: {
      statusCode: 404,
      error: 'Not Found',
      message: 'Saved object [ingest-outputs/7c16a2b8-95ac-54a0-81c7-f00ff91e325a] not found'
    },
    expected: {
      statusCode: 400,
      error: 'Bad Request',
      message: 'Elasticsearch output host must have default URL in serverless: https://localhost:9200'
    },
    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  - 3\x1B[39m\n' +
      '\x1B[31m+ Received  + 3\x1B[39m\n' +
      '\n' +
      '\x1B[2m  Object {\x1B[22m\n' +
      '\x1B[32m-   "error": "Bad Request",\x1B[39m\n' +
      '\x1B[32m-   "message": "Elasticsearch output host must have default URL in serverless: https://localhost:9200",\x1B[39m\n' +
      '\x1B[32m-   "statusCode": 400,\x1B[39m\n' +
      '\x1B[31m+   "error": "Not Found",\x1B[39m\n' +
      '\x1B[31m+   "message": "Saved object [ingest-outputs/7c16a2b8-95ac-54a0-81c7-f00ff91e325a] not found",\x1B[39m\n' +
      '\x1B[31m+   "statusCode": 404,\x1B[39m\n' +
      '\x1B[2m  }\x1B[22m',
    name: 'toEqual',
    pass: false
  }
}

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Feb 13, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Feb 13, 2024
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@mistic mistic added the Team:Fleet Team label for Observability Data Collection Fleet team label Feb 14, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Feb 14, 2024
mistic added a commit that referenced this issue Feb 14, 2024
@mistic
Copy link
Member

mistic commented Feb 14, 2024

Skipped.

main: bb6a38f

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this issue Feb 15, 2024
CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this issue Feb 15, 2024
awahab07 pushed a commit to awahab07/kibana that referenced this issue Feb 19, 2024
fkanout pushed a commit to fkanout/kibana that referenced this issue Mar 4, 2024
@jillguyonnet jillguyonnet self-assigned this Mar 12, 2024
@jillguyonnet
Copy link
Contributor

The fix was backported to 8.13. I've run 700 successful tests in #178476 for good measure, so closing this for now.

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:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants