Skip to content

[Flaky Test]: TestAgentMetricsInput/agent – Condition never satisfied #11325

@pchila

Description

@pchila

Failing test case

TestAgentMetricsInput/agent
TestAgentMetricsInput/otel

Error message

"0" is not greater than "0" - Expected to find at least one document for metricset cpu in index .ds-metrics-system.cpu-gcztjmsagwwexlistvthvn9voqpxpp5021pbnsxudmy* and runtime "process", got 0

Build

https://buildkite.com/elastic/elastic-agent/builds/30752#019aa526-b6dc-4148-9ed4-ceef8ad853e7/4193-4508
https://buildkite.com/elastic/elastic-agent/builds/30752#019aa526-b6dc-4148-9ed4-ceef8ad853e7/4193-4577

OS

Linux

Stacktrace and notes

beat_receivers_test.go:557:
        	Error Trace:	/opt/buildkite-agent/builds/bk-agent-prod-aws-1763708434859356229/elastic/elastic-agent/testing/integration/ess/beat_receivers_test.go:568
        	            				/opt/buildkite-agent/.asdf/installs/golang/1.24.10/go/src/runtime/asm_arm64.s:1223
        	Error:      	"0" is not greater than "0"
        	Messages:   	docs count
    beat_receivers_test.go:557:
        	Error Trace:	/opt/buildkite-agent/builds/bk-agent-prod-aws-1763708434859356229/elastic/elastic-agent/testing/integration/ess/beat_receivers_test.go:557
        	Error:      	Condition never satisfied
        	Test:       	TestAgentMetricsInput/agent
        	Messages:   	Expected to find at least one document for metricset cpu in index .ds-metrics-system.cpu-gcztjmsagwwexlistvthvn9voqpxpp5021pbnsxudmy* and runtime "process", got 0
 beat_receivers_test.go:557:
        	Error Trace:	/opt/buildkite-agent/builds/bk-agent-prod-aws-1763708434859356229/elastic/elastic-agent/testing/integration/ess/beat_receivers_test.go:568
        	            				/opt/buildkite-agent/.asdf/installs/golang/1.24.10/go/src/runtime/asm_arm64.s:1223
        	Error:      	"0" is not greater than "0"
        	Messages:   	docs count
    beat_receivers_test.go:557:
        	Error Trace:	/opt/buildkite-agent/builds/bk-agent-prod-aws-1763708434859356229/elastic/elastic-agent/testing/integration/ess/beat_receivers_test.go:557
        	Error:      	Condition never satisfied
        	Test:       	TestAgentMetricsInput/otel
        	Messages:   	Expected to find at least one document for metricset cpu in index .ds-metrics-system.cpu-gcztjmsagwwexlistvthvn9voqpxpp5021pbnsxudmy* and runtime "otel", got 0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions