uutils / uutils/coreutils

cargo test test_tail stops itself and interrupts test execution

Open
#10,295 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Environment:

Ubuntu 24.04.3 LTS running in WSL2
uutils main rev. 571e13999

When executing

cargo test -j1 test_tail

the execution of the test interrupts and I am dropped back to my shell. Test execution can be continued with fg:

running 157 tests
......
test test_tail::test_follow_when_files_are_pointing_to_same_relative_file_and_file_is_truncated ... ignored, disabled until fixed
test test_tail::test_follow_name_retry_headers ... ok

[1]+  Stopped                 cargo test -j1 test_tail
$ fg
cargo test -j1 test_tail
$ test test_tail::test_follow_stdout_pipe_close ... ok
test test_tail::test_follow_with_pid ... FAILED
test test_tail::test_gnu_args_b ... ok
.......

full log: test_tail.log

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 by reproducing cargo test -j1 test_tail in the stated Ubuntu 24.04.3 LTS WSL2 environment and inspect the linked full log, especially test_tail::test_follow_with_pid. Review the test_tail tests and their process behavior; done means the targeted test run no longer stops or interrupts execution and completes with the expected test results.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.