Skip to content

[Flaky Test]: TestKubernetesAgentStandaloneKustomize – failed to render kustomize #8319

Open
@pkoutsovasilis

Description

@pkoutsovasilis

Failing test case

TestKubernetesAgentStandaloneKustomize

Error message

failed to render kustomize

Build

https://buildkite.com/elastic/elastic-agent/builds/21747#019736a5-8d7a-4be2-a9bf-b8520c731474/503-564

OS

Linux

Stacktrace and notes

=== Failed
=== FAIL: testing/integration TestKubernetesAgentStandaloneKustomize/drop_ALL_capabilities_-_rootful_agent (32.84s)
    kubernetes_agent_standalone_test.go:1114:
        	Error Trace:	/opt/buildkite-agent/builds/bk-agent-prod-gcp-1748968918258658670/elastic/elastic-agent/testing/integration/kubernetes_agent_standalone_test.go:1114
        	            				/opt/buildkite-agent/builds/bk-agent-prod-gcp-1748968918258658670/elastic/elastic-agent/testing/integration/kubernetes_agent_standalone_test.go:167
        	Error:      	Received unexpected error:
        	            	accumulating resources: accumulating resources from 'https://github.com/kubernetes/kube-state-metrics/': MalformedYAMLError: yaml: line 98: mapping values are not allowed in this context in File: https://github.com/kubernetes/kube-state-metrics/
        	Test:       	TestKubernetesAgentStandaloneKustomize/drop_ALL_capabilities_-_rootful_agent
        	Messages:   	failed to render kustomize
    --- FAIL: TestKubernetesAgentStandaloneKustomize/drop_ALL_capabilities_-_rootful_agent (32.84s)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions