elastic / kibana

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

Integration tests fail with `superagent: double callback bug` #165380

Open dmlemeshko opened 1 year ago

dmlemeshko commented 1 year ago

Tests fail with

superagent: double callback bug
Error: read ECONNRESET
    at TCP.onStreamRead (node:internal/stream_base_commons:217:20) {
  errno: -104,
  code: 'ECONNRESET',
  syscall: 'read',
  response: undefined
}

Related failures:

165324 / createCaseAttachAlertAndDeleteAlert

165129 / createRule

164745 / createRuleWithExceptionEntries

164592 / multiple supertest calls

164449 / /api/actions/connector

163975 / /internal/ml/annotations/index

163728

163388 / /api/actions/connector/${simulatedActionId}/_execute

163217 / /api/actions/connector/${simulatedActionId}/_execute

149171 / multiple apis for saved_objects

Most of the failures were reported before supertest/superagent deps update #163716 , so probably flakiness is not related to update

elasticmachine commented 1 year ago

Pinging @elastic/kibana-qa (Team:QA)