df01_sh in commands failed with df -P

Bug #1999132 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

This df01_xfs_sh test in ubuntu_ltp_stable is failing with "df -P" on some kernels.

 startup='Tue Dec 6 20:23:17 2022'
 df01 1 TINFO: timeout per run is 0h 5m 0s
 tst_device.c:89: TINFO: Found free device 5 '/dev/loop5'
 df01 1 TINFO: Formatting xfs with opts='/dev/loop5'
 total: 256672, used: 16184
 df saved output:
 Filesystem 1024-blocks Used Available Capacity Mounted on
 udev 16274544 0 16274544 0% /dev
 tmpfs 3260064 868 3259196 1% /run
 /dev/nvme0n1p1 7941576 6651864 1273328 84% /
 tmpfs 16300320 0 16300320 0% /dev/shm
 tmpfs 5120 0 5120 0% /run/lock
 tmpfs 16300320 0 16300320 0% /sys/fs/cgroup
 /dev/loop0 25088 25088 0 100% /snap/amazon-ssm-agent/6312
 /dev/loop3 94080 94080 0 100% /snap/lxd/23991
 /dev/loop2 64768 64768 0 100% /snap/core20/1695
 /dev/loop1 56960 56960 0 100% /snap/core18/2632
 /dev/loop4 50816 50816 0 100% /snap/snapd/17883
 /dev/nvme0n1p15 106858 5313 101545 5% /boot/efi
 tmpfs 3260064 0 3260064 0% /run/user/1000
 /dev/loop5 256672 16208 240464 7% /tmp/ltp-lYRzagrWXk/LTP_df01.AA4aXxNb1N/mntpoint
 df output:
 Filesystem 1024-blocks Used Available Capacity Mounted on
 udev 16274544 0 16274544 0% /dev
 tmpfs 3260064 868 3259196 1% /run
 /dev/nvme0n1p1 7941576 6652860 1272332 84% /
 tmpfs 16300320 0 16300320 0% /dev/shm
 tmpfs 5120 0 5120 0% /run/lock
 tmpfs 16300320 0 16300320 0% /sys/fs/cgroup
 /dev/loop0 25088 25088 0 100% /snap/amazon-ssm-agent/6312
 /dev/loop3 94080 94080 0 100% /snap/lxd/23991
 /dev/loop2 64768 64768 0 100% /snap/core20/1695
 /dev/loop1 56960 56960 0 100% /snap/core18/2632
 /dev/loop4 50816 50816 0 100% /snap/snapd/17883
 /dev/nvme0n1p15 106858 5313 101545 5% /boot/efi
 tmpfs 3260064 0 3260064 0% /run/user/1000
 /dev/loop5 256672 16184 240488 7% /tmp/ltp-lYRzagrWXk/LTP_df01.AA4aXxNb1N/mntpoint
 df01 1 TFAIL: 'df -P' failed.
 df01 2 TPASS: 'df -a -P' passed.
 df01 3 TPASS: 'df -i -P' passed.
 df01 4 TPASS: 'df -k -P' passed.
 df01 5 TPASS: 'df -t xfs -P' passed.
 df01 6 TPASS: 'df -T -P' passed.
 df01 7 TPASS: 'df -v /dev/loop5 -P' passed.
 df01 8 TPASS: 'df -h' passed.
 df01 9 TPASS: 'df -H' passed.
 df01 10 TPASS: 'df -m' passed.
 df01 11 TPASS: 'df --version' passed.
 df01 12 TPASS: 'df -x xfs -P' passed.
 df01 13 TINFO: AppArmor enabled, this may affect test results
 df01 13 TINFO: it can be disabled with TST_DISABLE_APPARMOR=1 (requires super/root)
 df01 13 TINFO: loaded AppArmor profiles: none

 Summary:
 passed 11
 failed 1
 broken 0
 skipped 0
 warnings 0
 tag=df01_xfs_sh stime=1670358197 dur=1 exit=exited stat=1 core=no cu=15 cs=13

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This test has been renamed into df01_sh, and it will be tested with different filesystems.

In this case df01_sh will fail with XFS

Po-Hsu Lin (cypressyew)
summary: - df01_xfs_sh in commands failed with df -P
+ df01_sh in commands failed with df -P
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.