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: Plugin Functional Tests.x-pack/test/plugin_api_integration/test_suites/event_log/public_api_integration·ts - event_log Event Log public API "after all" hook in "Event Log public API" #168750

Closed
kibanamachine opened this issue Oct 12, 2023 · 3 comments · Fixed by #170353
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Feature:EventLog Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Oct 12, 2023

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:247:18)
    at KbnClientSavedObjects.cleanStandardList (kbn_client_saved_objects.ts:263:5)
    at Context.<anonymous> (public_api_integration.ts:36: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-bc117166c529e5a6/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-bc117166c529e5a6/elastic/kibana-on-merge/kibana/node_modules/axios/lib/adapters/http.js:591:25)
      at RedirectableRequest.emit (node:events:514:28)
      at ClientRequest.eventHandlers.<computed> (/var/lib/buildkite-agent/builds/kb-n2-4-spot-bc117166c529e5a6/elastic/kibana-on-merge/kibana/node_modules/follow-redirects/index.js:14:24)
      at ClientRequest.emit (node:events:514:28)
      at Socket.socketErrorListener (node:_http_client:501:9)
      at Socket.emit (node:events:514:28)
      at emitErrorNT (node:internal/streams/destroy:151:8)
      at emitErrorCloseNT (node:internal/streams/destroy:116: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: [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","synthetics-monitor","uptime-dynamic-settings","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-uninstall-tokens"]}',
      httpsAgent: null,
      paramsSerializer: [Object]
    },
    request: Writable {
      _writableState: [WritableState],
      _events: [Object: null prototype],
      _eventsCount: 3,
      _maxListeners: undefined,
      _options: [Object],
      _ended: true,
      _ending: true,
      _redirectCount: 0,
      _redirects: [],
      _requestBodyLength: 629,
      _requestBodyBuffers: [Array],
      _onNativeResponse: [Function (anonymous)],
      _currentRequest: [ClientRequest],
      _currentUrl: 'http://elastic:changeme@localhost:5620/internal/ftr/kbn_client_so/_clean',
      [Symbol(kCapture)]: false
    },
    cause: Error: connect ECONNREFUSED 127.0.0.1:5620
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '127.0.0.1',
      port: 5620
    }
  }
}

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Oct 12, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Oct 12, 2023
@mistic mistic added the Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) label Oct 13, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Oct 13, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.11

mistic added a commit that referenced this issue Oct 13, 2023
mistic added a commit that referenced this issue Oct 13, 2023
@mistic
Copy link
Member

mistic commented Oct 13, 2023

Skipped.

main: ae349b9
8.11: 67df5ae

dej611 pushed a commit to dej611/kibana that referenced this issue Oct 17, 2023
@ymao1 ymao1 moved this from Awaiting Triage to Todo in AppEx: ResponseOps - Execution & Connectors Oct 26, 2023
@ymao1 ymao1 self-assigned this Nov 2, 2023
@ymao1 ymao1 moved this from Todo to In Progress in AppEx: ResponseOps - Execution & Connectors Nov 2, 2023
@ymao1 ymao1 moved this from In Progress to In Review in AppEx: ResponseOps - Execution & Connectors Nov 2, 2023
ymao1 added a commit that referenced this issue Nov 2, 2023
Resolves #168750

## Summary

The test failed with `Error: connect ECONNREFUSED` and just unskipping
the test passed the flaky test runner 500 times so I think it was just a
transient network issue.

https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3856
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3859

Co-authored-by: Kibana Machine <[email protected]>
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Nov 2, 2023
Resolves elastic#168750

## Summary

The test failed with `Error: connect ECONNREFUSED` and just unskipping
the test passed the flaky test runner 500 times so I think it was just a
transient network issue.

https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3856
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3859

Co-authored-by: Kibana Machine <[email protected]>
(cherry picked from commit aebd297)
kibanamachine referenced this issue Nov 2, 2023
# Backport

This will backport the following commits from `main` to `8.11`:
- [Unskipping test
(#170353)](#170353)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Ying
Mao","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-11-02T12:17:28Z","message":"Unskipping
test (#170353)\n\nResolves
https://github.com/elastic/kibana/issues/168750\r\n\r\n##
Summary\r\n\r\nThe test failed with `Error: connect ECONNREFUSED` and
just unskipping\r\nthe test passed the flaky test runner 500 times so I
think it was just a\r\ntransient network
issue.\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3856\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3859\r\n\r\nCo-authored-by:
Kibana Machine
<[email protected]>","sha":"aebd29785792c669af4b7f1d6da0660386bc0293","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","v8.11.0","v8.12.0"],"number":170353,"url":"https://github.com/elastic/kibana/pull/170353","mergeCommit":{"message":"Unskipping
test (#170353)\n\nResolves
https://github.com/elastic/kibana/issues/168750\r\n\r\n##
Summary\r\n\r\nThe test failed with `Error: connect ECONNREFUSED` and
just unskipping\r\nthe test passed the flaky test runner 500 times so I
think it was just a\r\ntransient network
issue.\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3856\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3859\r\n\r\nCo-authored-by:
Kibana Machine
<[email protected]>","sha":"aebd29785792c669af4b7f1d6da0660386bc0293"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/170353","number":170353,"mergeCommit":{"message":"Unskipping
test (#170353)\n\nResolves
https://github.com/elastic/kibana/issues/168750\r\n\r\n##
Summary\r\n\r\nThe test failed with `Error: connect ECONNREFUSED` and
just unskipping\r\nthe test passed the flaky test runner 500 times so I
think it was just a\r\ntransient network
issue.\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3856\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3859\r\n\r\nCo-authored-by:
Kibana Machine
<[email protected]>","sha":"aebd29785792c669af4b7f1d6da0660386bc0293"}}]}]
BACKPORT-->

Co-authored-by: Ying Mao <[email protected]>
delanni pushed a commit to delanni/kibana that referenced this issue Nov 6, 2023
Resolves elastic#168750

## Summary

The test failed with `Error: connect ECONNREFUSED` and just unskipping
the test passed the flaky test runner 500 times so I think it was just a
transient network issue.

https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3856
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3859

Co-authored-by: Kibana Machine <[email protected]>
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 Feature:EventLog Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

5 participants