Skip to content

Windows_arm64 plugin_test_windows is 2.00% flaky #194929

Closed

Activity

  1. added
    P0
    c: flake
    on Oct 21, 2026
  2. Piinks commented on Oct 26, 2026

    @Piinks
    Contributor

    @loic-sharma should this go to @flutter/windows-reviewers ?

  3. Piinks commented on Nov 9, 2026

    @Piinks
    Contributor

    Friendly ping.

  4. added
    team-windows
    on Nov 9, 2026
  5. loic-sharma commented on Nov 16, 2026

    @loic-sharma
    Member

    Oops I missed this. Reassigning to @mattkae to take a look :)

  6. mattkae commented on Nov 19, 2026

    @mattkae
    Contributor

    Heh, 13851 one seems like an HTTP failure: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8667956504167126865/+/u/step_is_flaky:_run_plugin_test_windows/stdout?format=raw

    I am unsure if there's anything that we can do for that.

    Content https://storage.googleapis.com/flutter_infra_release/flutter/67647b639242d9ec10d3c112325dc650ed7df85d/windows-x64-release/windows-x64-flutter.zip md5 hash: nfQVKAH/F2cu9om1cW7q7A==
    [2026-10-14 07:58:51.791827] [STDOUT] stdout: [+33789 ms]   └─ [4/4] windows-x64-release/windows-x64-flutter (completed in 33.9s)
    [2026-10-14 07:58:51.797801] [STDOUT] stdout: [   +1 ms] HttpException: Connection closed while receiving data, uri = https://storage.googleapis.com/flutter_infra_release/flutter/67647b639242d9ec10d3c112325dc650ed7df85d/windows-x64-release/windows-x64-flutter.zip
    [2026-10-14 07:58:51.797801] [STDOUT] stdout: [        ]   └─ [4/4] windows-x64-release/windows-x64-flutter
    [2026-10-14 07:58:53.403179] [STDOUT] stdout: [+1603 ms]   └─ [4/4] windows-x64-release/windows-x64-flutter (completed in 1,602ms)
    [2026-10-14 07:58:53.403179] [STDOUT] stdout: [   +1 ms] Error: Flutter failed to delete file at "C:\opt\s\w\ir\x\w\rc\tmplabt4k4p\flutter sdk\bin\cache\downloads\storage.googleapis.com\flutter_infra_release\flutter\67647b639242d9ec10d3c112325dc650ed7df85d\windows-x64-release\windows-x64-flutter.zip". The file is being used by another program.
    [2026-10-14 07:58:53.405195] [STDOUT] stdout:            PathAccessException: Cannot delete file, path = 'C:\opt\s\w\ir\x\w\rc\tmplabt4k4p\flutter sdk\bin\cache\downloads\storage.googleapis.com\flutter_infra_release\flutter\67647b639242d9ec10d3c112325dc650ed7df85d\windows-x64-release\windows-x64-flutter.zip' (OS Error: The process cannot access the file because it is being used by another process, errno = 32)
    [2026-10-14 07:58:53.405195] [STDOUT] stdout:            Do you have an antivirus program running? Try disabling your antivirus program and try again.
    [2026-10-14 07:58:53.411208] [STDOUT] stdout: [   +7 ms] "flutter windows" took 48,589ms.
    [2026-10-14 07:58:53.423906] [STDOUT] stderr: [  +16 ms] Failed to download https://storage.googleapis.com/flutter_infra_release/flutter/67647b639242d9ec10d3c112325dc650ed7df85d/windows-x64-release/windows-x64-flutter.zip. Ensure you have network connectivity and then try again.
    [2026-10-14 07:58:53.423906] [STDOUT] stderr:            Error: Flutter failed to delete file at "C:\opt\s\w\ir\x\w\rc\tmplabt4k4p\flutter sdk\bin\cache\downloads\storage.googleapis.com\flutter_infra_release\flutter\67647b639242d9ec10d3c112325dc650ed7df85d\windows-x64-release\windows-x64-flutter.zip". The file is being used by another program.
    [2026-10-14 07:58:53.423906] [STDOUT] stderr:            PathAccessException: Cannot delete file, path = 'C:\opt\s\w\ir\x\w\rc\tmplabt4k4p\flutter sdk\bin\cache\downloads\storage.googleapis.com\flutter_infra_release\flutter\67647b639242d9ec10d3c112325dc650ed7df85d\windows-x64-release\windows-x64-flutter.zip' (OS Error: The process cannot access the file because it is being used by another process, errno = 32)
    [2026-10-14 07:58:53.423906] [STDOUT] stderr:            Do you have an antivirus program running? Try disabling your antivirus program and try again.
    [2026-10-14 07:58:53.423906] [STDOUT] stderr: [   +4 ms] 
    [2026-10-14 07:58:53.432358] [STDOUT] stderr:            #0      throwToolExit (package:flutter_tools/src/base/common.dart:36:3)
    

    I think we'd rather see the error than continue, right?

  7. knopp commented on Nov 20, 2026

    @knopp
    Member

    Regarding

    stdout: [   +1 ms] Error: Flutter failed to delete file at "C:\opt\s\w\ir\x\w\rc\tmplabt4k4p\flutter sdk\bin\cache\downloads\storage.googleapis.com\flutter_infra_release\flutter\67647b639242d9ec10d3c112325dc650ed7df85d\windows-x64-release\windows-x64-flutter.zip". The file is being used by another program.
    stdout:            PathAccessException: Cannot delete file, path = 'C:\opt\s\w\ir\x\w\rc\tmplabt4k4p\flutter sdk\bin\cache\downloads\storage.googleapis.com\flutter_infra_release\flutter\67647b639242d9ec10d3c112325dc650ed7df85d\windows-x64-release\windows-x64-flutter.zip' (OS Error: The process cannot access the file because it is being used by another process, errno = 32)
    stdout:            Do you have an antivirus program running? Try disabling your antivirus program and try again.
    

    Don't we have retry implemented for this? If not we should definitely do that. Things can get annoying on windows and that's the only sane approach.

  8. loic-sharma commented on Nov 20, 2026

    @loic-sharma
    Member

    @knopp see Matt's fix here: #197061. We didn't close the file handle, so the retry failed because of an open handle. Gotta love Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P0c: flaketeam-windows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions