Skip to content

MountVolume test flakiness: Delete_MountVolume and ReparsePoints_MountVolume #125913

Closed

Description

@danmoseley

Note

This issue was created with Copilot assistance.

Tracking flaky MountVolume tests that are hitting blocking-clean-ci:

Root cause (Delete_MountVolume): 7 locations use a fixed Task.Delay(300) after Directory.Delete through NTFS mount points, then assert !Directory.Exists(). 300ms is insufficient on loaded CI machines.

Root cause (ReparsePoints_MountVolume): Needs investigation — no Task.Delay in the test; may be mount setup/teardown timing.

Proposed fix: Replace fixed delays with a polling loop (retry Directory.Exists with backoff, ~10s timeout).

Known Issue Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Activity

  1. added
    blocking-clean-ci
    on Mar 22, 2026
  2. added
    untriaged
    on Mar 22, 2026
  3. dotnet-policy-service commented on Mar 22, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/area-system-io
    See info in area-owners.md if you want to be subscribed.

  4. removed
    untriaged
    on Mar 28, 2026
  5. added a commit that references this issue on Mar 28, 2026
    a3741f7
  6. locked and limited conversation to collaborators on Apr 27, 2026
  7. added a commit that references this issue on Jul 15, 2026
    0dceedb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-System.IOblocking-clean-ci

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions