Skip to content

[Flaky Test]: TestBeatsReceiverLogs – Error: Condition never satisfied #9890

@pchila

Description

@pchila

Failing test case

TestBeatsReceiverLogs

Error message

A series of asserts is failing regarding beats receivers logs is failing, leaving an elastic agent process running

Build

https://buildkite.com/elastic/elastic-agent/builds/26642#01993909-3d3d-42d4-a960-c6046ee71593/319-691

OS

Linux

Stacktrace and notes

2025-09-11 14:26:32 UTC
	    beat_receivers_test.go:734:
2025-09-11 14:26:32 UTC
	        	Error Trace:	/opt/buildkite-agent/builds/bk-agent-prod-aws-1757598785638537982/elastic/elastic-agent/testing/integration/ess/beat_receivers_test.go:810
2025-09-11 14:26:32 UTC
	        	            				/opt/buildkite-agent/builds/bk-agent-prod-aws-1757598785638537982/elastic/elastic-agent/testing/integration/ess/beat_receivers_test.go:738
2025-09-11 14:26:32 UTC
	        	            				/opt/buildkite-agent/.asdf/installs/golang/1.24.7/go/src/runtime/asm_arm64.s:1223
2025-09-11 14:26:32 UTC
	        	Error:      	Not equal:
2025-09-11 14:26:32 UTC
	        	            	expected: 2
2025-09-11 14:26:32 UTC
	        	            	actual  : 0
2025-09-11 14:26:32 UTC
	    beat_receivers_test.go:734:
2025-09-11 14:26:32 UTC
	        	Error Trace:	/opt/buildkite-agent/builds/bk-agent-prod-aws-1757598785638537982/elastic/elastic-agent/testing/integration/ess/beat_receivers_test.go:811
2025-09-11 14:26:32 UTC
	        	            				/opt/buildkite-agent/builds/bk-agent-prod-aws-1757598785638537982/elastic/elastic-agent/testing/integration/ess/beat_receivers_test.go:738
2025-09-11 14:26:32 UTC
	        	            				/opt/buildkite-agent/.asdf/installs/golang/1.24.7/go/src/runtime/asm_arm64.s:1223
2025-09-11 14:26:32 UTC
	        	Error:      	Not equal:
2025-09-11 14:26:32 UTC
	        	            	expected: "beat-v2-client"
2025-09-11 14:26:32 UTC
	        	            	actual  : ""
2025-09-11 14:26:32 UTC
	
2025-09-11 14:26:32 UTC
	        	            	Diff:
2025-09-11 14:26:32 UTC
	        	            	--- Expected
2025-09-11 14:26:32 UTC
	        	            	+++ Actual
2025-09-11 14:26:32 UTC
	        	            	@@ -1 +1 @@
2025-09-11 14:26:32 UTC
	        	            	-beat-v2-client
2025-09-11 14:26:32 UTC
	        	            	+
2025-09-11 14:26:32 UTC
	    beat_receivers_test.go:734:
2025-09-11 14:26:32 UTC
	        	Error Trace:	/opt/buildkite-agent/builds/bk-agent-prod-aws-1757598785638537982/elastic/elastic-agent/testing/integration/ess/beat_receivers_test.go:813
2025-09-11 14:26:32 UTC
	        	            				/opt/buildkite-agent/builds/bk-agent-prod-aws-1757598785638537982/elastic/elastic-agent/testing/integration/ess/beat_receivers_test.go:738
2025-09-11 14:26:32 UTC
	        	            				/opt/buildkite-agent/.asdf/installs/golang/1.24.7/go/src/runtime/asm_arm64.s:1223
2025-09-11 14:26:32 UTC
	        	Error:      	Not equal:
2025-09-11 14:26:32 UTC
	        	            	expected: 2
2025-09-11 14:26:32 UTC
	        	            	actual  : 0
2025-09-11 14:26:32 UTC
	    beat_receivers_test.go:734:
2025-09-11 14:26:32 UTC
	        	Error Trace:	/opt/buildkite-agent/builds/bk-agent-prod-aws-1757598785638537982/elastic/elastic-agent/testing/integration/ess/beat_receivers_test.go:813
2025-09-11 14:26:32 UTC
	        	            				/opt/buildkite-agent/builds/bk-agent-prod-aws-1757598785638537982/elastic/elastic-agent/testing/integration/ess/beat_receivers_test.go:738
2025-09-11 14:26:32 UTC
	        	            				/opt/buildkite-agent/.asdf/installs/golang/1.24.7/go/src/runtime/asm_arm64.s:1223
2025-09-11 14:26:32 UTC
	        	Error:      	Not equal:
2025-09-11 14:26:32 UTC
	        	            	expected: 2
2025-09-11 14:26:32 UTC
	        	            	actual  : 0
2025-09-11 14:26:32 UTC
	    beat_receivers_test.go:734:
2025-09-11 14:26:32 UTC
	        	Error Trace:	/opt/buildkite-agent/builds/bk-agent-prod-aws-1757598785638537982/elastic/elastic-agent/testing/integration/ess/beat_receivers_test.go:734
2025-09-11 14:26:32 UTC
	        	Error:      	Condition never satisfied
2025-09-11 14:26:32 UTC
	        	Test:       	TestBeatsReceiverLogs
2025-09-11 14:26:32 UTC
	    fixture.go:1427: Temporary directory "/tmp/TestBeatsReceiverLogs3333832855" preserved for investigation/debugging

Metadata

Metadata

Assignees

Labels

Team:Elastic-AgentLabel for the Agent teamflaky-testUnstable or unreliable test cases.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions