df01_xfs_sh and mkfs01_xfs_sh: Filesystem must be larger than 300MB

Bug #2012275 reported by Juerg Haefliger
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

XFS tests from ubuntu_ltp_stable fail on Lunar with:

13:20:09 DEBUG| [stdout] startup='Mon Mar 20 13:19:04 2023'
13:20:09 DEBUG| [stdout] df01 1 TINFO: timeout per run is 0h 5m 0s
13:20:09 DEBUG| [stdout] tst_device.c:89: TINFO: Found free device 6 '/dev/loop6'
13:20:09 DEBUG| [stdout] df01 1 TINFO: Formatting xfs with opts='/dev/loop6'
13:20:09 DEBUG| [stdout] Filesystem must be larger than 300MB.
13:20:09 DEBUG| [stdout] Usage: mkfs.xfs
13:20:09 DEBUG| [stdout] /* blocksize */ [-b size=num]
13:20:09 DEBUG| [stdout] /* config file */ [-c options=xxx]
13:20:09 DEBUG| [stdout] /* metadata */ [-m crc=0|1,finobt=0|1,uuid=xxx,rmapbt=0|1,reflink=0|1,
13:20:09 DEBUG| [stdout] inobtcount=0|1,bigtime=0|1]
13:20:09 DEBUG| [stdout] /* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,
13:20:09 DEBUG| [stdout] (sunit=value,swidth=value|su=num,sw=num|noalign),
13:20:09 DEBUG| [stdout] sectsize=num
13:20:09 DEBUG| [stdout] /* force overwrite */ [-f]
13:20:09 DEBUG| [stdout] /* inode size */ [-i perblock=n|size=num,maxpct=n,attr=0|1|2,
13:20:09 DEBUG| [stdout] projid32bit=0|1,sparse=0|1,nrext64=0|1]
13:20:09 DEBUG| [stdout] /* no discard */ [-K]
13:20:09 DEBUG| [stdout] /* log subvol */ [-l agnum=n,internal,size=num,logdev=xxx,version=n
13:20:09 DEBUG| [stdout] sunit=value|su=num,sectsize=num,lazy-count=0|1]
13:20:09 DEBUG| [stdout] /* label */ [-L label (maximum 12 characters)]
13:20:09 DEBUG| [stdout] /* naming */ [-n size=num,version=2|ci,ftype=0|1]
13:20:09 DEBUG| [stdout] /* no-op info only */ [-N]
13:20:09 DEBUG| [stdout] /* prototype file */ [-p fname]
13:20:09 DEBUG| [stdout] /* quiet */ [-q]
13:20:09 DEBUG| [stdout] /* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]
13:20:09 DEBUG| [stdout] /* sectorsize */ [-s size=num]
13:20:09 DEBUG| [stdout] /* version */ [-V]
13:20:09 DEBUG| [stdout] devicename
13:20:09 DEBUG| [stdout] <devicename> is required unless -d name=xxx is given.
13:20:09 DEBUG| [stdout] <num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),
13:20:09 DEBUG| [stdout] xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).
13:20:09 DEBUG| [stdout] <value> is xxx (512 byte blocks).
13:20:09 DEBUG| [stdout] df01 1 TBROK: mkfs.xfs /dev/loop6 failed
13:20:09 DEBUG| [stdout] df01 1 TINFO: AppArmor enabled, this may affect test results
13:20:09 DEBUG| [stdout] df01 1 TINFO: it can be disabled with TST_DISABLE_APPARMOR=1 (requires super/root)
13:20:09 DEBUG| [stdout] df01 1 TINFO: loaded AppArmor profiles: none
13:20:09 DEBUG| [stdout]
13:20:09 DEBUG| [stdout] Summary:
13:20:09 DEBUG| [stdout] passed 0
13:20:09 DEBUG| [stdout] failed 0
13:20:09 DEBUG| [stdout] broken 1
13:20:09 DEBUG| [stdout] skipped 0
13:20:09 DEBUG| [stdout] warnings 0
13:20:09 DEBUG| [stdout] tag=df01_xfs_sh stime=1679318344 dur=0 exit=exited stat=2 core=no cu=1 cs=18

13:20:09 DEBUG| [stdout] startup='Mon Mar 20 13:19:37 2023'
13:20:09 DEBUG| [stdout] mkfs01 1 TINFO: timeout per run is 0h 5m 0s
13:20:09 DEBUG| [stdout] tst_device.c:89: TINFO: Found free device 6 '/dev/loop6'
13:20:09 DEBUG| [stdout] mkfs01 1 TFAIL: 'mkfs -t xfs -f /dev/loop6 ' failed.
13:20:09 DEBUG| [stdout] Filesystem must be larger than 300MB.
13:20:09 DEBUG| [stdout] Usage: mkfs.xfs
13:20:09 DEBUG| [stdout] /* blocksize */ [-b size=num]
13:20:09 DEBUG| [stdout] /* config file */ [-c options=xxx]
13:20:09 DEBUG| [stdout] /* metadata */ [-m crc=0|1,finobt=0|1,uuid=xxx,rmapbt=0|1,reflink=0|1,
13:20:09 DEBUG| [stdout] inobtcount=0|1,bigtime=0|1]
13:20:09 DEBUG| [stdout] /* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,
13:20:09 DEBUG| [stdout] (sunit=value,swidth=value|su=num,sw=num|noalign),
13:20:09 DEBUG| [stdout] sectsize=num
13:20:09 DEBUG| [stdout] /* force overwrite */ [-f]
13:20:09 DEBUG| [stdout] /* inode size */ [-i perblock=n|size=num,maxpct=n,attr=0|1|2,
13:20:09 DEBUG| [stdout] projid32bit=0|1,sparse=0|1,nrext64=0|1]
13:20:09 DEBUG| [stdout] /* no discard */ [-K]
13:20:09 DEBUG| [stdout] /* log subvol */ [-l agnum=n,internal,size=num,logdev=xxx,version=n
13:20:09 DEBUG| [stdout] sunit=value|su=num,sectsize=num,lazy-count=0|1]
13:20:09 DEBUG| [stdout] /* label */ [-L label (maximum 12 characters)]
13:20:09 DEBUG| [stdout] /* naming */ [-n size=num,version=2|ci,ftype=0|1]
13:20:09 DEBUG| [stdout] /* no-op info only */ [-N]
13:20:09 DEBUG| [stdout] /* prototype file */ [-p fname]
13:20:09 DEBUG| [stdout] /* quiet */ [-q]
13:20:09 DEBUG| [stdout] /* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]
13:20:09 DEBUG| [stdout] /* sectorsize */ [-s size=num]
13:20:09 DEBUG| [stdout] /* version */ [-V]
13:20:09 DEBUG| [stdout] devicename
13:20:09 DEBUG| [stdout] <devicename> is required unless -d name=xxx is given.
13:20:09 DEBUG| [stdout] <num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),
13:20:09 DEBUG| [stdout] xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).
13:20:09 DEBUG| [stdout] <value> is xxx (512 byte blocks).
13:20:09 DEBUG| [stdout] mkfs01 2 TCONF: 'mkfs -t xfs -f /dev/loop6 16000' not supported.
13:20:09 DEBUG| [stdout] mkfs01 3 TCONF: 'mkfs -t xfs -c -f /dev/loop6 ' not supported.
13:20:09 DEBUG| [stdout] mkfs01 4 TPASS: 'mkfs -V ' passed.
13:20:09 DEBUG| [stdout] mkfs01 5 TPASS: 'mkfs -h ' passed.
13:20:09 DEBUG| [stdout] mkfs01 6 TINFO: AppArmor enabled, this may affect test results
13:20:09 DEBUG| [stdout] mkfs01 6 TINFO: it can be disabled with TST_DISABLE_APPARMOR=1 (requires super/root)
13:20:09 DEBUG| [stdout] mkfs01 6 TINFO: loaded AppArmor profiles: none
13:20:09 DEBUG| [stdout]
13:20:09 DEBUG| [stdout] Summary:
13:20:09 DEBUG| [stdout] passed 2
13:20:09 DEBUG| [stdout] failed 1
13:20:09 DEBUG| [stdout] broken 0
13:20:09 DEBUG| [stdout] skipped 2
13:20:09 DEBUG| [stdout] warnings 0
13:20:09 DEBUG| [stdout] tag=mkfs01_xfs_sh stime=1679318377 dur=0 exit=exited stat=1 core=no cu=4 cs=30

Revision history for this message
Juerg Haefliger (juergh) wrote :

It seems xfs now wants at least 300MB.

tags: added: ubuntu-ltp-stable
Revision history for this message
Juerg Haefliger (juergh) wrote :
Revision history for this message
Juerg Haefliger (juergh) wrote :

We want v2 which landed in upstream:
https://<email address hidden>/

Specifically:
https://github.com/linux-test-project/ltp/commit/8ff3f5fe0127
https://github.com/linux-test-project/ltp/commit/66e05c84185d

Revision history for this message
Juerg Haefliger (juergh) wrote :
Po-Hsu Lin (cypressyew)
tags: added: ltp-20230516
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.