Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Flaky Test]: Package github.com/elastic/elastic-agent/internal/pkg/otel/manager.testfatal error: out of memory #7110

Open
belimawr opened this issue Feb 28, 2025 · 1 comment
Labels
flaky-test Unstable or unreliable test cases. Team:Elastic-Agent Label for the Agent team

Comments

@belimawr
Copy link
Contributor

Failing test case

Package github.com/elastic/elastic-agent/internal/pkg/otel/manager.test

Error message

fatal error: out of memory

Build

https://buildkite.com/elastic/elastic-agent/builds/17690#019549d0-2ac1-4ab5-92a0-e9607fbccd0e

OS

Linux, Windows

Stacktrace and notes

Our code is not part of the stack trace, which is pretty odd. Maybe the VM actually run out of memory?


�_bk;t=1740702589176�# github.com/elastic/elastic-agent/internal/pkg/otel/manager.test
�_bk;t=1740702589176�runtime: VirtualAlloc of 15876096 bytes failed with errno=1455
�_bk;t=1740702589176�fatal error: out of memory
�_bk;t=1740702589176�runtime: VirtualAlloc of 2048000 bytes failed with errno=1455
�_bk;t=1740702589176�fatal error: out of memory
�_bk;t=1740702589176�
�_bk;t=1740702589176�runtime stack:
�_bk;t=1740702589176�runtime.throw({0xb5144d?, 0xc124d99000?})
�_bk;t=1740702589176�	runtime/panic.go:1067 +0x4d fp=0x16083ffd10 sp=0x16083ffce0 pc=0x8af0cd
�_bk;t=1740702589176�runtime.sysUsedOS(0xc1241ca000, 0xf24000)
�_bk;t=1740702589176�	runtime/mem_windows.go:83 +0x1bb fp=0x16083ffd70 sp=0x16083ffd10 pc=0x854a9b
�_bk;t=1740702589176�runtime.sysUsed(...)
�_bk;t=1740702589176�	runtime/mem.go:77
�_bk;t=1740702589176�runtime.(*mheap).allocSpan(0xda1700, 0x792, 0x0, 0x0)
�_bk;t=1740702589176�	runtime/mheap.go:1345 +0x487 fp=0x16083ffe18 sp=0x16083ffd70 pc=0x867267
�_bk;t=1740702589176�runtime.(*mheap).alloc.func1()
�_bk;t=1740702589176�	runtime/mheap.go:962 +0x5c fp=0x16083ffe60 sp=0x16083ffe18 pc=0x866a1c
�_bk;t=1740702589176�runtime.systemstack(0xd959c0)
�_bk;t=1740702589176�	runtime/asm_amd64.s:514 +0x49 fp=0x16083ffe70 sp=0x16083ffe60 pc=0x8b4ee9
@belimawr belimawr added flaky-test Unstable or unreliable test cases. Team:Elastic-Agent Label for the Agent team labels Feb 28, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky-test Unstable or unreliable test cases. Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

No branches or pull requests

2 participants