uutils / uutils/coreutils

New failing tests in 0.3.0

Open
#9,017 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

While building the 0.3.0 release on the Ubuntu builders, the following errors were observed:

---- test_od::test_od_options_after_filename stdout ----
bin: "/<<PKGBUILDDIR>>/target/debug/coreutils"
write(default): /tmp/.tmpp2J37P/test
run: /<<PKGBUILDDIR>>/target/debug/coreutils od test -v -An -t x2

thread 'test_od::test_od_options_after_filename' panicked at tests/by-util/test_od.rs:945:10:
assertion failed: `(left == right)`

Diff < left / right > :
< 681c bbfd
> 1c68 fdbb
 


note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- test_stat::test_mount_point_basic stdout ----
bin: "/<<PKGBUILDDIR>>/target/debug/coreutils"
run: /<<PKGBUILDDIR>>/target/debug/coreutils stat -c %m /

thread 'test_stat::test_mount_point_basic' panicked at tests/by-util/test_stat.rs:531:5:
Mount point should not be empty

---- test_stat::test_mount_point_combined_with_other_specifiers stdout ----
bin: "/<<PKGBUILDDIR>>/target/debug/coreutils"
run: /<<PKGBUILDDIR>>/target/debug/coreutils stat -c %m %n %s /bin/sh

thread 'test_stat::test_mount_point_combined_with_other_specifiers' panicked at tests/by-util/test_stat.rs:565:5:
Should print mount point, file name, and size


failures:
    test_od::test_od_options_after_filename
    test_stat::test_mount_point_basic
    test_stat::test_mount_point_combined_with_other_specifiers

Build logs can be found for various architectures in https://launchpad.net/ubuntu/+source/rust-coreutils/0.3.0-0ubuntu1

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 tests/by-util/test_od.rs:945 and tests/by-util/test_stat.rs:531,565, then run the three failing tests against the Ubuntu build. Compare the observed output with the assertions and consult the linked Launchpad build logs for architecture-specific context. Done means the reported od and stat tests pass without regressing their expected output.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.