Public bug reported:

== Summary ==
commands:df01_sh in ubuntu_ltp_stable failed on stonking 7.3.0-11.12 generic 
amd64:
- Failed test cases in suite: 1
- LTP df01.sh reports 16 TFAIL (passed 80, failed 16, broken 0, skipped 0). On 
each of the 8 filesystems tested (ext2, ext3, ext4, xfs, btrfs, vfat, exfat, 
tmpfs) exactly two checks fail: `df -v <device> -P` and `df -m`.
- Both fail with `error: unexpected argument '-v' found` / `error: unexpected 
argument '-m' found`. All other df options tested (-P, -a, -i, -k, -t, -T, -h, 
-H) pass.
- The installed df is /usr/bin/df from coreutils-from-uutils (PreDepends: 
rust-coreutils), reported as `df (uutils coreutils) 0.12.0`. This was checked 
by hand on another stonking amd64 test VM, not on the VM that ran this test 
case, so it is assumed to be the same image.
- LTP's df_verify() only turns an unsupported option into TCONF when the output 
matches GNU wording ("unrecognized option" / "invalid option"). The clap-style 
"unexpected argument" message does not match, so the test reports TFAIL instead 
of TCONF. The upstream LTP master df01.sh has the same df_verify().
- Upstream uutils source (read from the official repository, not a mirror): tag 
0.12.0 defines no -m and no -v option for df. The main branch (commit 
9b1cae0f062f) defines -m but still has no -v. Which release added -m was not 
determined.
- Hypothesis: GNU df accepts -m and ignores -v, so this looks like a GNU 
compatibility gap in the packaged uutils version. Whether the missing -v is 
known or intentional upstream was not checked.
- This is a userspace issue, not a kernel regression.

== Test Information ==
* SRU Cycle: 2026.11.09
* Series: stonking
* Package: linux
* Kernel Version: 7.3.0-11.12
* Arch: amd64
* Cloud / Target: openstack
* Test Suite: ubuntu_ltp_stable
* Test Case: commands:df01_sh

== Failure Log ==
df01 1 TINFO: === Testing on ext2 ===
df01 1 TPASS: 'df -P' passed.
df01 6 TPASS: 'df -T -P' passed.
df01 7 TFAIL: 'df -v /dev/loop0 -P' failed.
error: unexpected argument '-v' found

  tip: to pass '-v' as a value, use '-- -v'

Usage: df [OPTION]... [FILE]...

For more information, try '--help'.
df01 8 TPASS: 'df -h' passed.
df01 9 TPASS: 'df -H' passed.
df01 10 TFAIL: 'df -m' failed.
error: unexpected argument '-m' found
(same two failures repeat for ext3, ext4, xfs, btrfs, vfat, exfat, tmpfs)

Summary:
passed   80
failed   16
broken   0
skipped  0
warnings 0
INFO: ltp-pan reported some tests FAIL
LTP Version: 20250930

** Affects: ubuntu-kernel-tests
     Importance: Undecided
         Status: New

** Affects: rust-coreutils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: 7.3 amd64 generic openstack sru-20261109 stonking ubuntu-ltp-stable

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174564

Title:
  commands:df01_sh in ubuntu_ltp_stable failed on stonking (df from
  uutils coreutils 0.12.0 rejects -v and -m)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2174564/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to