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]: TestOtelKubeStackHelm/managed_helm_kube-stack_operator_standalone_agent_kubernetes_privileged – context deadline exceeded #7004

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

Comments

@pkoutsovasilis
Copy link
Contributor

pkoutsovasilis commented Feb 25, 2025

Failing test case

TestOtelKubeStackHelm/managed_helm_kube-stack_operator_standalone_agent_kubernetes_privileged

Error message

context deadline exceeded

Build

https://buildkite.com/elastic/elastic-agent-extended-testing/builds/7563#01953a3a-ec4e-4117-a689-2b09546c7290/56-333

OS

Linux

Stacktrace and notes

FAIL
FAIL	github.com/elastic/elastic-agent/testing/integration	756.559s
=== Failed
=== FAIL: testing/integration TestOtelKubeStackHelm/managed_helm_kube-stack_operator_standalone_agent_kubernetes_privileged (137.81s)
    kubernetes_agent_standalone_test.go:1618:
        	Error Trace:	/opt/buildkite-agent/builds/bk-agent-prod-gcp-1740438717215447480/elastic/elastic-agent-extended-testing/testing/integration/kubernetes_agent_standalone_test.go:1618
        	            				/opt/buildkite-agent/builds/bk-agent-prod-gcp-1740438717215447480/elastic/elastic-agent-extended-testing/testing/integration/otel_helm_test.go:144
        	            				/opt/buildkite-agent/builds/bk-agent-prod-gcp-1740438717215447480/elastic/elastic-agent-extended-testing/testing/integration/otel_helm_test.go:125
        	Error:      	Received unexpected error:
        	            	context deadline exceeded
        	Test:       	TestOtelKubeStackHelm/managed_helm_kube-stack_operator_standalone_agent_kubernetes_privileged
        	Messages:   	failed to install helm chart
    kubernetes_agent_standalone_test.go:1600: failed to dump logs: error getting container kube-rbac-proxy of pod kube-stack-otel-opentelemetry-operator-6588cdb6bc-c7s6c logs: container "kube-rbac-proxy" in pod "kube-stack-otel-opentelemetry-operator-6588cdb6bc-c7s6c" is waiting to start: ContainerCreating
        error getting container manager of pod kube-stack-otel-opentelemetry-operator-6588cdb6bc-c7s6c logs: container "manager" in pod "kube-stack-otel-opentelemetry-operator-6588cdb6bc-c7s6c" is waiting to start: ContainerCreating

this seems like a really rare transient one. Most probably is caused by external dependencies short outage but let's keep an issue about it for future reference

@pkoutsovasilis pkoutsovasilis added flaky-test Unstable or unreliable test cases. Team:Elastic-Agent Label for the Agent team labels Feb 25, 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