Failing test: Osquery Cypress.x-pack/plugins/osquery/cypress/e2e/all/alerts_linked_apps·cy·ts - Alert Event Details "after each" hook for "should be able to run live query and add to timeline" "after each" hook for "should be able to run live query and add to timeline" #181890
CypressError: `cy.request()` failed trying to load:
http://localhost:5658/api/detection_engine/rules?id=cd78c737-b248-418c-9eba-d793e2bfbeb0
We attempted to make an http request to this URL but the request failed without a response.
We received this error at the network level:
> Error: connect ECONNREFUSED 127.0.0.1:5658
-----------------------------------------------------------
The request we sent was:
Method: DELETE
URL: http://localhost:5658/api/detection_engine/rules?id=cd78c737-b248-418c-9eba-d793e2bfbeb0
-----------------------------------------------------------
Common situations why this would fail:
- you don't have internet access
- you forgot to run / boot your web server
- your web server isn't accessible
- you have weird network configuration settings on your computer
https://on.cypress.io/request
Because this error occurred during a `after each` hook we are skipping the remaining tests in the current suite: `Alert Event Details`
at <unknown> (http://localhost:5658/__cypress/runner/cypress_runner.js:133058:70)
at tryCatcher (http://localhost:5658/__cypress/runner/cypress_runner.js:1807:23)
at <unknown> (http://localhost:5658/__cypress/runner/cypress_runner.js:4203:37)
at tryCatcher (http://localhost:5658/__cypress/runner/cypress_runner.js:1807:23)
at Promise._settlePromiseFromHandler (http://localhost:5658/__cypress/runner/cypress_runner.js:1519:31)
at Promise._settlePromise (http://localhost:5658/__cypress/runner/cypress_runner.js:1576:18)
at Promise._settlePromise0 (http://localhost:5658/__cypress/runner/cypress_runner.js:1621:10)
at Promise._settlePromises (http://localhost:5658/__cypress/runner/cypress_runner.js:1697:18)
at _drainQueueStep (http://localhost:5658/__cypress/runner/cypress_runner.js:2407:12)
at _drainQueue (http://localhost:5658/__cypress/runner/cypress_runner.js:2400:9)
at Async._drainQueues (http://localhost:5658/__cypress/runner/cypress_runner.js:2416:5)
at Async.drainQueues (http://localhost:5658/__cypress/runner/cypress_runner.js:2286:14)
From Your Spec Code:
at request (webpack:///./tasks/common.ts:21:5)
at cleanupRule (webpack:///./tasks/api_fixtures.ts:236:10)
at Context.eval (webpack:///./e2e/all/alerts_linked_apps.cy.ts:45:18)
From Node.js Internals:
RequestError: Error: connect ECONNREFUSED 127.0.0.1:5658
at new r (<embedded>:1832:361359)
at ee.callback (<embedded>:1832:367360)
at e.callback.s.callback [as _callback] (<embedded>:1832:366806)
at s._callback.s.callback.s.callback (<embedded>:2050:91633)
at ee.emit (node:events:513:28)
at ee.onRequestError (<embedded>:2050:100575)
at ClientRequest.emit (node:events:525:35)
at Socket.socketErrorListener (node:_http_client:502:9)
at Socket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
A test failed on a tracked branch
First failure: CI Build - main