Skip to content

TestContentClient/CommitErrorState occasionally fails on Windows #11044

Description

@dmcgowan

Description

Flaky test on Windows

=== Failed
=== FAIL: integration/client TestContentClient/CommitErrorState (0.25s)
    testsuite.go:122: Cleanup failed: failed to abort c1-commiterror-state: remove C:\Program Files\containerd\root-test\io.containerd.content.v1.content\ingest\9101c5f249b4cb38a50dddda86a787c09f31099573c87c525fc50774ac21d05d\updatedat.tmp: The process cannot access the file because it is being used by another process.
    --- FAIL: TestContentClient/CommitErrorState (0.25s)

=== FAIL: integration/client TestContentClient (6.06s)

Occurrences

Date Job PR
2024-11-18 Windows Integration (windows-2022, cgroupfs) #11017
2024-11-19 Windows Integration (windows-2022, cgroupfs) #11017

Activity

  1. added this to the 2.1 milestone on Jan 21, 2025
  2. modified the milestones: 2.1, 2.2 on May 6, 2025
  3. modified the milestones: 2.2, 2.3 on Nov 6, 2025
  4. modified the milestones: 2.3, 2.4 on Apr 30, 2026
  5. added 4 commits that reference this issue on May 1, 2026
    d091179
    91d00a3
    0bda8f9
    0a996a5
  6. added 2 commits that reference this issue on May 27, 2026
    f1fa777
    6f92e34
  7. ayush-panta commented on Jun 1, 2026

    @ayush-panta
    Contributor

    Hi, I've tried resolving these flaky tests in #13329 by using retries to allow some tolerance for failures due to race conditions.

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions