Kibana: Failing test: Jest Integration Tests.src/core/server/metrics/integration_tests - ServerMetricsCollector collect connection count

Created on 3 Mar 2020  路  13Comments  路  Source: elastic/kibana

A test failed on a tracked branch

Error: connect ECONNRESET 127.0.0.1:45435
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)

First failure: Jenkins Build

Core Monitoring failed-test

Most helpful comment

All 13 comments

Pinging @elastic/kibana-test-triage (failed-test)

New failure: Jenkins Build

Pinging @elastic/stack-monitoring (Team:Monitoring)

Pinging @elastic/kibana-platform (Team:Platform)

Adding platform team, as they technically own this

Is this occurring on a regular basis or is there only 2 failures in the last month?

It's not really regular, we've only had two failures in PRs, and only very recently:

image

This is probably caused by the only delay I couldn't replace with observable awaiting in the test.

https://github.com/elastic/kibana/blob/1f8da9dd7726596fd80658d48cbdf2b89e7c7855/src/core/server/metrics/integration_tests/server_collector.test.ts#L199-L200

Having a full stack trace would help to see where exactly it failed in the test and confirm that. but the two CI build failures are no longer accessible.

Will have to wait until next failure I guess?

Hmm, looking into it more closely I see the two PR failures were both in https://kibana-ci.elastic.co/job/elastic+kibana+pipeline-pull-request/39554/, which is seeing all ServerMetricsCollector tests fail because of the node.js version upgrade. In that case I think this might not have actually failed, even in PRs in the last 60 days so I'm going to close it.

New failure: Jenkins Build

New failure: Jenkins Build

closing because of 7.8 backport

Was this page helpful?
0 / 5 - 0 ratings