New failing tests in 0.3.0
Open
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)`
[1mDiff[0m [31m< left[0m / [32mright >[0m :
[31m< [0m[1;48;5;52;31m68[0m[31m1c [0m[1;48;5;52;31mbb[0m[31mfd[0m
[32m> 1c[0m[1;48;5;22;32m68[0m[32m fd[0m[1;48;5;22;32mbb[0m
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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