Skip to content

There are test failures #341

@v1v

Description

@v1v

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 <ScriptBlock>, 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 <ScriptBlock>, 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions