elastic / elastic/elastic-stack-installers

There are test failures

Open
#341 1 comment 1 reaction 2 assignees Claimed by @v1v View on GitHub
Dominant language
C#
Stars
9
Forks
15
PR merge metrics
No merged PRs in 30d

Description

See https://buildkite.com/elastic/elastic-stack-installers/builds/13650 (changes are not related to the project itself but adding some file to enable some new CI capabilities)

```
2025-10-22 17:54:48 UTC | [-] Can be installed in Fleet mode and uninstalled via GUID in default mode 27ms (26ms\|1ms)
-- | --
  | 2025-10-22 17:54:48 UTC | [0] Win32Exception: The service cannot accept control messages at this time.
  | 2025-10-22 17:54:48 UTC | InvalidOperationException: Cannot stop 'Elastic Agent' service on computer '.'.
  | 2025-10-22 17:54:48 UTC | ServiceCommandException: Service 'Elastic Agent (Elastic Agent)' cannot be stopped due to the following error: Cannot stop 'Elastic Agent' service on computer '.'.
  | 2025-10-22 17:54:48 UTC | at Clean-ElasticAgentService, C:\buildkite-agent\builds\bk-agent-prod-gcp-1761153718403188678\elastic\elastic-stack-installers\src\agent-qa\helpers.ps1:338
  | 2025-10-22 17:54:48 UTC | at Clean-ElasticAgent, C:\buildkite-agent\builds\bk-agent-prod-gcp-1761153718403188678\elastic\elastic-stack-installers\src\agent-qa\helpers.ps1:320
  | 2025-10-22 17:54:48 UTC | at , C:\buildkite-agent\builds\bk-agent-prod-gcp-1761153718403188678\elastic\elastic-stack-installers\src\agent-qa\msi.tests.ps1:99
  | 2025-10-22 17:54:48 UTC | [1] Expected $false, because The agent should have been cleaned up already, but got $true.
  | 2025-10-22 17:54:48 UTC | at Is-AgentBinaryPresent \| Should -BeFalse -Because "The agent should have been cleaned up already", C:\buildkite-agent\builds\bk-agent-prod-gcp-1761153718403188678\elastic\elastic-stack-installers\src\agent-qa\msi.tests.ps1:72
  | 2025-10-22 17:54:48 UTC | at Check-AgentRemnants, C:\buildkite-agent\builds\bk-agent-prod-gcp-1761153718403188678\elastic\elastic-stack-installers\src\agent-qa\msi.tests.ps1:72
  | 2025-10-22 17:54:48 UTC | at , C:\buildkite-agent\builds\bk-agent-prod-gcp-1761153718403188678\elastic\elastic-stack-installers\src\agent-qa\msi.tests.ps1:109
  | 2025-10-22 17:54:48 UTC | Tests completed in 855.61s
  | 2025-10-22 17:54:48 UTC | Tests Passed: 4, Failed: 14, Skipped: 0, Inconclusive: 0, NotRun: 0
  | 2025-10-22 17:54:48 UTC | Exception: Pester run failed, because 14 tests failed
  | 2025-10-22 17:54:49 UTC | Child pwsh process returned 1, a non zero exit code
  | 2025-10-22 17:54:49 UTC | Testing Failed
  | 2025-10-22 17:54:49 UTC | C:\buildkite-agent\builds\bk-agent-prod-gcp-1761153718403188678\elastic\elastic-stack-installers\.buildkite\scripts\bui
  | 2025-10-22 17:54:49 UTC | ld.ps1 : Tests failed.
  | 2025-10-22 17:54:49 UTC | At line:1 char:1
  | 2025-10-22 17:54:49 UTC | + .\.buildkite\scripts\build.ps1
  | 2025-10-22 17:54:49 UTC | + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  | 2025-10-22 17:54:49 UTC | + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
  | 2025-10-22 17:54:49 UTC | + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,build.ps1
  | 2025-10-22 17:54:49 UTC |  
  | 2025-10-22 17:54:49 UTC | ���� Error: The command exited with status 1
  | 2025-10-22 17:54:49 UTC | user command error: exit status 1

```

### Reproduction

Create a feature branch and its PR.

Then waitn for the CI to run

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.