elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.72k stars 8.14k forks source link

Failing test: X-Pack API Integration Tests.x-pack/test/api_integration/apis/synthetics/edit_monitor_public_api·ts - Synthetics API Tests EditMonitorsPublicAPI "after all" hook for "can not remove all locations" #182493

Open kibanamachine opened 4 months ago

kibanamachine commented 4 months ago

A test failed on a tracked branch

KbnClientRequesterError: [POST http://elastic:changeme@localhost:5620/internal/ftr/kbn_client_so/_clean] request failed (attempt=5/5): connect ECONNREFUSED 127.0.0.1:5620 -- and ran out of retries
    at KbnClientRequester.request (kbn_client_requester.ts:171:15)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at KbnClientSavedObjects.clean (kbn_client_saved_objects.ts:254:18)
    at KbnClientSavedObjects.cleanStandardList (kbn_client_saved_objects.ts:270:5)
    at Context.<anonymous> (edit_monitor_public_api.ts:69:7)
    at Object.apply (wrap_function.js:73:16) {
  axiosError: AxiosError: connect ECONNREFUSED 127.0.0.1:5620
      at Function.AxiosError.from (/var/lib/buildkite-agent/builds/kb-n2-4-spot-79e482ff610cda3e/elastic/kibana-on-merge/kibana/node_modules/axios/lib/core/AxiosError.js:89:14)
      at RedirectableRequest.handleRequestError (/var/lib/buildkite-agent/builds/kb-n2-4-spot-79e482ff610cda3e/elastic/kibana-on-merge/kibana/node_modules/axios/lib/adapters/http.js:606:25)
      at RedirectableRequest.emit (node:events:518:28)
      at ClientRequest.eventHandlers.<computed> (/var/lib/buildkite-agent/builds/kb-n2-4-spot-79e482ff610cda3e/elastic/kibana-on-merge/kibana/node_modules/follow-redirects/index.js:14:24)
      at ClientRequest.emit (node:events:518:28)
      at Socket.socketErrorListener (node:_http_client:500:9)
      at Socket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at processTicksAndRejections (node:internal/process/task_queues:82:21) {
    port: 5620,
    address: '127.0.0.1',
    syscall: 'connect',
    code: 'ECONNREFUSED',
    errno: -111,
    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/internal/ftr/kbn_client_so/_clean',
      data: '{"types":["url","index-pattern","action","query","alert","graph-workspace","tag","visualization","canvas-element","canvas-workpad","dashboard","search","lens","links","map","cases","cases-comments","cases-user-actions","cases-configure","cases-connector-mappings","synthetics-monitor","uptime-dynamic-settings","synthetics-privates-locations","osquery-saved-query","osquery-pack","infrastructure-ui-source","metrics-data-source","metrics-explorer-view","inventory-view","infrastructure-monitoring-log-view","apm-indices","ingest-outputs","ingest-download-sources","ingest-agent-policies","ingest-package-policies","epm-packages","epm-packages-assets","fleet-preconfiguration-deletion-record","fleet-fleet-server-host","fleet-proxy","fleet-uninstall-tokens"]}',
      httpsAgent: null,
      paramsSerializer: [Object]
    },
    request: Writable {
      _events: [Object],
      _writableState: [WritableState],
      _maxListeners: undefined,
      _options: [Object],
      _ended: true,
      _ending: true,
      _redirectCount: 0,
      _redirects: [],
      _requestBodyLength: 758,
      _requestBodyBuffers: [Array],
      _eventsCount: 3,
      _onNativeResponse: [Function (anonymous)],
      _currentRequest: [ClientRequest],
      _currentUrl: 'http://elastic:changeme@localhost:5620/internal/ftr/kbn_client_so/_clean',
      [Symbol(shapeMode)]: true,
      [Symbol(kCapture)]: false
    },
    cause: Error: connect ECONNREFUSED 127.0.0.1:5620
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1605:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '127.0.0.1',
      port: 5620
    }
  }
}

First failure: CI Build - 8.14

elasticmachine commented 4 months ago

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

elasticmachine commented 2 months ago

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)