-
Couldn't load subscription status.
- Fork 198
Open
Labels
Team:Elastic-AgentLabel for the Agent teamLabel for the Agent teamflaky-testUnstable or unreliable test cases.Unstable or unreliable test cases.
Description
Failing test case
TestRepeatedInstallUninstallFleet
Error message
could not reload agent's daemon, all retries failed. Last error: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: open \\\\.\\pipe\\elastic-agent-system: The system cannot find the file specified.
Build
OS
Windows
Stacktrace and notes
{"log.level":"error","@timestamp":"2025-03-31T13:06:20.945Z","log.origin":{"function":"github.com/elastic/elastic-agent/internal/pkg/agent/cmd.(*enrollCmd).Execute","file.name":"cmd/enroll_cmd.go","file.line":311},"message":"Elastic Agent might not be running; unable to trigger restart: could not reload agent's daemon, all retries failed. Last error: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: open \\\\\\\\.\\\\pipe\\\\elastic-agent-system: The system cannot find the file specified.\"","ecs.version":"1.6.0"}
Something went wrong while enrolling the Elastic Agent: could not reload agent's daemon, all retries failed. Last error: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: open \\\\.\\pipe\\elastic-agent-system: The system cannot find the file specified."
Error: could not reload agent daemon, unable to trigger restart: could not reload agent's daemon, all retries failed. Last error: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: open \\\\.\\pipe\\elastic-agent-system: The system cannot find the file specified."
For help, please see our troubleshooting guide at https://www.elastic.co/guide/en/fleet/9.0/fleet-troubleshooting.html
[=== ] Uninstalled [1m7s] Error uninstalling. Printing logs
2025-03-31T13:06:20.979Z DEBUG [install] Loaded configuration from C:\Users\buildkite\AppData\Local\Temp\TestRepeatedInstallUninstallFleet4064552420\elastic-agent-9.0.0-SNAPSHOT-windows-x86_64\elastic-agent.yml
2025-03-31T13:06:20.979Z DEBUG [install] Merged configuration from C:\Users\buildkite\AppData\Local\Temp\TestRepeatedInstallUninstallFleet4064552420\elastic-agent-9.0.0-SNAPSHOT-windows-x86_64\elastic-agent.yml into result
2025-03-31T13:06:20.979Z DEBUG [install] Merged all configuration files from [C:\Users\buildkite\AppData\Local\Temp\TestRepeatedInstallUninstallFleet4064552420\elastic-agent-9.0.0-SNAPSHOT-windows-x86_64\elastic-agent.yml], no external input files
2025-03-31T13:06:21.082Z DEBUG [install] Loaded configuration from C:\Users\buildkite\AppData\Local\Temp\TestRepeatedInstallUninstallFleet4064552420\elastic-agent-9.0.0-SNAPSHOT-windows-x86_64\elastic-agent.yml
2025-03-31T13:06:21.082Z DEBUG [install] Merged configuration from C:\Users\buildkite\AppData\Local\Temp\TestRepeatedInstallUninstallFleet4064552420\elastic-agent-9.0.0-SNAPSHOT-windows-x86_64\elastic-agent.yml into result
2025-03-31T13:06:21.082Z DEBUG [install] Merged all configuration files from [C:\Users\buildkite\AppData\Local\Temp\TestRepeatedInstallUninstallFleet4064552420\elastic-agent-9.0.0-SNAPSHOT-windows-x86_64\elastic-agent.yml], no external input files
2025-03-31T13:06:21.082Z DEBUG [install.composable] Starting controller for composable inputs
2025-03-31T13:06:21.082Z DEBUG [install.composable] Started controller for composable inputs
2025-03-31T13:06:21.082Z DEBUG [install.composable] Computing new variable state for composable inputs
2025-03-31T13:06:21.082Z DEBUG [install.composable] Stopping controller for composable inputs
2025-03-31T13:06:21.082Z DEBUG [install.composable] Stopped controller for composable inputs
Error: enroll command failed for unknown reason: exit status 1
For help, please see our troubleshooting guide at https://www.elastic.co/guide/en/fleet/9.0/fleet-troubleshooting.html
install_test.go:697:
Error Trace: C:/buildkite-agent/builds/bk-agent-prod-gcp-1743425000980367647/elastic/elastic-agent/testing/integration/install_test.go:697
Error: Received unexpected error:
error running agent install command: exit status 1
Test: TestRepeatedInstallUninstallFleet/TestRepeatedInstallUninstallFleet-19
Messages: install failed: error running agent install command: exit status 1
--- FAIL: TestRepeatedInstallUninstallFleet/TestRepeatedInstallUninstallFleet-19 (67.98s)Metadata
Metadata
Assignees
Labels
Team:Elastic-AgentLabel for the Agent teamLabel for the Agent teamflaky-testUnstable or unreliable test cases.Unstable or unreliable test cases.