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: X-Pack Endpoint Integrations Functional Tests on ESS.x-pack/test/security_solution_endpoint/apps/integrations/endpoint_exceptions·ts - endpoint Endpoint Exceptions "after all" hook for "should NOT add event.module=endpoint to entry if there is another operator" #179442

Open
kibanamachine opened this issue Mar 26, 2024 · 1 comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Defend Workflows “EDR Workflows” sub-team of Security Solution

Comments

@kibanamachine
Copy link
Contributor

A test failed on a tracked branch

EndpointDataLoadingError: Request failed with status code 500
    at wrapErrorIfNeeded (utils.ts:28:7)
    at wrapErrorAndRejectPromise (utils.ts:31:75)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at deleteIndexedFleetEndpointPolicies (index_fleet_endpoint_policy.ts:208:12)
    at deleteIndexedEndpointHosts (index_endpoint_hosts.ts:354:34)
    at deleteIndexedHostsAndAlerts (index_data.ts:167:9)
    at Context.<anonymous> (endpoint_exceptions.ts:145:7)
    at Object.apply (wrap_function.js:73:16) {
  meta: AxiosError: Request failed with status code 500
      at settle (/var/lib/buildkite-agent/builds/kb-n2-4-spot-8f1b057525f45182/elastic/kibana-on-merge/kibana/node_modules/axios/lib/core/settle.js:19:12)
      at IncomingMessage.handleStreamEnd (/var/lib/buildkite-agent/builds/kb-n2-4-spot-8f1b057525f45182/elastic/kibana-on-merge/kibana/node_modules/axios/lib/adapters/http.js:585:11)
      at IncomingMessage.emit (node:events:530:35)
      at endReadableNT (node:internal/streams/readable:1696:12)
      at processTicksAndRejections (node:internal/process/task_queues:82:21) {
    code: 'ERR_BAD_RESPONSE',
    config: {
      transitional: [Object],
      adapter: [Array],
      transformRequest: [Array],
      transformResponse: [Array],
      timeout: 0,
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: 30000000,
      maxBodyLength: 30000000,
      env: [Object],
      validateStatus: [Function: validateStatus],
      headers: [Object [AxiosHeaders]],
      method: 'post',
      url: 'http://elastic:changeme@localhost:5620/api/fleet/agent_policies/delete',
      data: '{"agentPolicyId":"ee18b384-8a82-46e1-8447-2188a7986e98"}',
      httpsAgent: null,
      paramsSerializer: [Object]
    },
    request: ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: true,
      _last: false,
      chunkedEncoding: false,
      shouldKeepAlive: true,
      maxRequestsOnConnectionReached: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: true,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      strictContentLength: false,
      _contentLength: '56',
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      _closed: true,
      socket: [Socket],
      _header: 'POST /api/fleet/agent_policies/delete HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'Content-Type: application/json\r\n' +
        'elastic-api-version: 2023-10-31\r\n' +
        'kbn-xsrf: kbn-client\r\n' +
        'x-elastic-internal-origin: kbn-client\r\n' +
        'User-Agent: axios/1.6.3\r\n' +
        'Content-Length: 56\r\n' +
        'Accept-Encoding: gzip, compress, deflate, br\r\n' +
        'Host: localhost:5620\r\n' +
        'Authorization: Basic ZWxhc3RpYzpjaGFuZ2VtZQ==\r\n' +
        'Connection: keep-alive\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: nop],
      agent: [Agent],
      socketPath: undefined,
      method: 'POST',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      joinDuplicateHeaders: undefined,
      path: '/api/fleet/agent_policies/delete',
      _ended: true,
      res: [Object],
      aborted: false,
      timeoutCb: null,
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: true,
      host: 'localhost',
      protocol: 'http:',
      _redirectable: [Writable],
      [Symbol(shapeMode)]: false,
      [Symbol(kCapture)]: false,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype],
      [Symbol(errored)]: null,
      [Symbol(kHighWaterMark)]: 16384,
      [Symbol(kRejectNonStandardBodyWrites)]: false,
      [Symbol(kUniqueHeaders)]: null
    },
    response: {
      status: 500,
      statusText: 'Internal Server Error',
      headers: [Object [AxiosHeaders]],
      config: [Object],
      request: [ClientRequest],
      data: [Object]
    }
  }
}

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Mar 26, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Mar 26, 2024
@kibanamachine kibanamachine added the Team:Defend Workflows “EDR Workflows” sub-team of Security Solution label Mar 26, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-defend-workflows (Team:Defend Workflows)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Mar 26, 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:Defend Workflows “EDR Workflows” sub-team of Security Solution
Projects
None yet
Development

No branches or pull requests

2 participants