Failing test case
TestEndpointSecurityCannotSwitchToUnprivileged
Error message
endpoint_security_test.go:587: Error installing fleet package: Unable to remove package with existing package policy(s) in use by agent(s)
Build
https://buildkite.com/elastic/elastic-agent/builds/19363#0195ec35-a40a-4997-8b7d-9c46213237eb/340-1049
OS
Linux
Stacktrace and notes
endpoint_security_test.go:586: Installing Elastic Defend
endpoint_security_test.go:587: Templating endpoint package policy request
endpoint_security_test.go:587: POST /api/fleet/package_policies
endpoint_security_test.go:587: Error installing fleet package: Unable to remove package with existing package policy(s) in use by agent(s)
endpoint_security_test.go:588:
Error Trace: /opt/buildkite-agent/builds/bk-agent-prod-gcp-1743425001311698431/elastic/elastic-agent/testing/integration/endpoint_security_test.go:588
Error: Received unexpected error:
error installing fleet package: Unable to remove package with existing package policy(s) in use by agent(s)
Test: TestEndpointSecurityCannotSwitchToUnprivileged
Messages: Policy Response was: {{ 0 false [] { } }}