-
Notifications
You must be signed in to change notification settings - Fork 198
Open
Labels
Team:Elastic-Agent-Control-PlaneLabel for the Agent Control Plane teamLabel for the Agent Control Plane teamflaky-testUnstable or unreliable test cases.Unstable or unreliable test cases.
Description
Failing test case
TestComponentWorkDir
Error message
component working directory shouldn't have been modified
Build
OS
Windows
Stacktrace and notes
=== FAIL: testing/integration/ess TestComponentWorkDir (62.86s)
fetcher.go:102: Using existing artifact elastic-agent-9.3.0-SNAPSHOT-windows-x86_64.zip
fixture.go:311: Extracting artifact elastic-agent-9.3.0-SNAPSHOT-windows-x86_64.zip to C:\Users\BUILDK~1\AppData\Local\Temp\TestComponentWorkDir2441176226
fixture.go:329: Completed extraction of artifact elastic-agent-9.3.0-SNAPSHOT-windows-x86_64.zip to C:\Users\BUILDK~1\AppData\Local\Temp\TestComponentWorkDir2441176226
fixture.go:1018: Components were not modified from the fetched artifact
fixture_install.go:200: [test TestComponentWorkDir] Inside fixture install function
fixture_install.go:228: [test TestComponentWorkDir] Inside fixture installNoPkgManager function
fixture_install.go:247: >> running binary with: [C:\Users\BUILDK~1\AppData\Local\Temp\TestComponentWorkDir2441176226\elastic-agent-9.3.0-SNAPSHOT-windows-x86_64\elastic-agent.exe install --force]
fixture.go:812: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
fixture.go:812: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
fixture.go:812: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
fixture.go:812: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
fixture.go:812: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
fixture.go:812: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
fixture.go:812: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
fixture.go:812: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
fixture.go:812: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
fixture.go:812: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
fixture.go:812: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
fixture.go:812: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
beat_receivers_test.go:1017:
Error Trace: C:/buildkite-agent/builds/bk-agent-prod-gcp-1761900241261597002/elastic/elastic-agent/testing/integration/ess/beat_receivers_test.go:1017
Error: Not equal:
expected: time.Date(2025, time.October, 31, 9, 12, 54, 705736000, time.Local)
actual : time.Date(2025, time.October, 31, 9, 12, 55, 416799000, time.Local)
Diff:
--- Expected
+++ Actual
@@ -1,2 +1,2 @@
-(time.Time) 2025-10-31 09:12:54.705736 +0000 GMT
+(time.Time) 2025-10-31 09:12:55.416799 +0000 GMT
Test: TestComponentWorkDir
Messages: component working directory shouldn't have been modified
fixture.go:812: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
fixture.go:812: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
fixture_install.go:311: [test TestComponentWorkDir] Inside fixture cleanup function
fixture_install.go:327: collecting diagnostics; test failed
fixture_install.go:789: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe diagnostics -f C:\buildkite-agent\builds\bk-agent-prod-gcp-1761900241261597002\elastic\elastic-agent\build\diagnostics\TestComponentWorkDir-2025-10-31T09-13-45Z-diagnostics.zip]
fixture_install.go:740: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe uninstall --force]
fixture.go:1143: Dumping running processes in C:\buildkite-agent\builds\bk-agent-prod-gcp-1761900241261597002\elastic\elastic-agent\build\diagnostics\TestComponentWorkDir-2025-10-31T09-13-45Z-ProcessDump-cleanup.json
fixture.go:1434: Temporary directory "C:\\Users\\BUILDK~1\\AppData\\Local\\Temp\\TestComponentWorkDir2441176226" preserved for investigation/debuggingMetadata
Metadata
Assignees
Labels
Team:Elastic-Agent-Control-PlaneLabel for the Agent Control Plane teamLabel for the Agent Control Plane teamflaky-testUnstable or unreliable test cases.Unstable or unreliable test cases.