uutils / uutils/coreutils

windows sort tests failing due to test creating hanging threads

Open
#10,861 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

P - Windows U - sort
Dominant language
Rust
Stars
24.1k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
365

Description

Theres a flakiness issue in the windows per utility tests because it is unable to delete coreutils.exe after the test because one of the sort tests starts a process that is not killed at the end of the test. There are two underlying bugs here, one that there is no built in mechanism in the testing utilities to end the processes after the tests and the second is that there is some bug in sort that is creating orphaned threads.

Example: https://github.com/uutils/coreutils/actions/runs/21865437681/job/63105290390?pr=10856

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Windows per-utility tests and the sort tests referenced in the issue, then inspect the failing GitHub Actions run for the process that remains alive. The work is complete when the sort test no longer leaves orphaned processes or threads and coreutils.exe can be deleted reliably after the test.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, operating-systems, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.