Skip to content

[Flaky Test]: TestWriteMarkerFileWithTruncation – failed to stat file #8524

Open
@pkoutsovasilis

Description

@pkoutsovasilis

Failing test case

TestWriteMarkerFileWithTruncation

Error message

failed to stat file

Build

https://buildkite.com/elastic/elastic-agent/builds/22456#019777b8-0e08-4712-a712-f6e677d63edf/335-646

OS

Windows

Stacktrace and notes

=== FAIL: internal/pkg/agent/application/upgrade TestWriteMarkerFileWithTruncation (0.01s)
    marker_access_test.go:93:
        	Error Trace:	C:/buildkite-agent/builds/bk-agent-prod-gcp-1750060260845680295/elastic/elastic-agent/internal/pkg/agent/application/upgrade/marker_access_test.go:93
        	Error:      	Received unexpected error:
        	            	failed to stat file [C:\Users\BUILDK~1\AppData\Local\Temp\TestWriteMarkerFileWithTruncation3843123667\001\.update-marker]: CreateFile C:\Users\BUILDK~1\AppData\Local\Temp\TestWriteMarkerFileWithTruncation3843123667\001\.update-marker: The system cannot find the file specified.
        	Test:       	TestWriteMarkerFileWithTruncation

Metadata

Metadata

Assignees

No one assigned

    Labels

    Team:Elastic-AgentLabel for the Agent teamflaky-testUnstable or unreliable test cases.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions