* Failure of test case 244
@ 2011-06-14 18:41 Chandra Seetharaman
2011-06-14 19:38 ` Eric Sandeen
0 siblings, 1 reply; 4+ messages in thread
From: Chandra Seetharaman @ 2011-06-14 18:41 UTC (permalink / raw)
To: XFS Mailing List
Hello,
test case 244 expects a mkfs option projid32bit, which is not present in
older version of mkfs.xfs(for example 3.1.1 in RHEL 6.1).
I though of making it a "requires" for this test, so that the test case
doesn't generate a "failure" when the test is run on older versions.
Opinions ?
regards
chandra
PS: here is the test o/p
FSTYP -- xfs (non-debug)
PLATFORM -- Linux/x86_64 elm3c201 2.6.39-rc4-xfs.git.p2+
MKFS_OPTIONS -- -f -bsize=4096 /dev/sdd2
MOUNT_OPTIONS -- -o context=system_u:object_r:nfs_t:s0 /dev/sdd2 /mnt/xfsScratchMntPt
244 [failed, exit status 1] - output mismatch (see 244.out.bad)
--- 244.out 2011-04-20 08:34:36.000000000 -0700
+++ 244.out.bad 2011-06-14 11:29:57.000000000 -0700
@@ -1,2 +1,25 @@
QA output created by 244
-Silence is golden
+unknown option -i projid32bit=0
+Usage: mkfs.xfs
+/* blocksize */ [-b log=n|size=num]
+/* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,
+ (sunit=value,swidth=value|su=num,sw=num),
+ sectlog=n|sectsize=num
+/* inode size */ [-i log=n|perblock=n|size=num,maxpct=n,attr=0|1|2]
+/* log subvol */ [-l agnum=n,internal,size=num,logdev=xxx,version=n
+ sunit=value|su=num,sectlog=n|sectsize=num,
+ lazy-count=0|1]
+/* label */ [-L label (maximum 12 characters)]
+/* naming */ [-n log=n|size=num,version=2|ci]
+/* prototype file */ [-p fname]
+/* quiet */ [-q]
+/* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]
+/* sectorsize */ [-s log=n|size=num]
+/* version */ [-V]
+ devicename
+<devicename> is required unless -d name=xxx is given.
+<num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),
+ xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).
+<value> is xxx (512 byte blocks).
+mkfs failed
+(see 244.full for details)
Ran: 244
Failures: 244
Failed 1 of 1 tests
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Failure of test case 244
2011-06-14 18:41 Failure of test case 244 Chandra Seetharaman
@ 2011-06-14 19:38 ` Eric Sandeen
2011-06-14 20:10 ` Chandra Seetharaman
2011-06-14 21:08 ` Chandra Seetharaman
0 siblings, 2 replies; 4+ messages in thread
From: Eric Sandeen @ 2011-06-14 19:38 UTC (permalink / raw)
To: sekharan; +Cc: XFS Mailing List
On 6/14/11 1:41 PM, Chandra Seetharaman wrote:
> Hello,
>
> test case 244 expects a mkfs option projid32bit, which is not present in
> older version of mkfs.xfs(for example 3.1.1 in RHEL 6.1).
>
> I though of making it a "requires" for this test, so that the test case
> doesn't generate a "failure" when the test is run on older versions.
>
> Opinions ?
Yes, that make sense; care to send a patch with proper signoff?
Thanks,
-Eric
> regards
>
> chandra
>
> PS: here is the test o/p
>
> FSTYP -- xfs (non-debug)
> PLATFORM -- Linux/x86_64 elm3c201 2.6.39-rc4-xfs.git.p2+
> MKFS_OPTIONS -- -f -bsize=4096 /dev/sdd2
> MOUNT_OPTIONS -- -o context=system_u:object_r:nfs_t:s0 /dev/sdd2 /mnt/xfsScratchMntPt
>
> 244 [failed, exit status 1] - output mismatch (see 244.out.bad)
> --- 244.out 2011-04-20 08:34:36.000000000 -0700
> +++ 244.out.bad 2011-06-14 11:29:57.000000000 -0700
> @@ -1,2 +1,25 @@
> QA output created by 244
> -Silence is golden
> +unknown option -i projid32bit=0
> +Usage: mkfs.xfs
> +/* blocksize */ [-b log=n|size=num]
> +/* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,
> + (sunit=value,swidth=value|su=num,sw=num),
> + sectlog=n|sectsize=num
> +/* inode size */ [-i log=n|perblock=n|size=num,maxpct=n,attr=0|1|2]
> +/* log subvol */ [-l agnum=n,internal,size=num,logdev=xxx,version=n
> + sunit=value|su=num,sectlog=n|sectsize=num,
> + lazy-count=0|1]
> +/* label */ [-L label (maximum 12 characters)]
> +/* naming */ [-n log=n|size=num,version=2|ci]
> +/* prototype file */ [-p fname]
> +/* quiet */ [-q]
> +/* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]
> +/* sectorsize */ [-s log=n|size=num]
> +/* version */ [-V]
> + devicename
> +<devicename> is required unless -d name=xxx is given.
> +<num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),
> + xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).
> +<value> is xxx (512 byte blocks).
> +mkfs failed
> +(see 244.full for details)
> Ran: 244
> Failures: 244
> Failed 1 of 1 tests
>
>
> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Failure of test case 244
2011-06-14 19:38 ` Eric Sandeen
@ 2011-06-14 20:10 ` Chandra Seetharaman
2011-06-14 21:08 ` Chandra Seetharaman
1 sibling, 0 replies; 4+ messages in thread
From: Chandra Seetharaman @ 2011-06-14 20:10 UTC (permalink / raw)
To: Eric Sandeen; +Cc: XFS Mailing List
On Tue, 2011-06-14 at 14:38 -0500, Eric Sandeen wrote:
> On 6/14/11 1:41 PM, Chandra Seetharaman wrote:
> > Hello,
> >
> > test case 244 expects a mkfs option projid32bit, which is not present in
> > older version of mkfs.xfs(for example 3.1.1 in RHEL 6.1).
> >
> > I though of making it a "requires" for this test, so that the test case
> > doesn't generate a "failure" when the test is run on older versions.
> >
> > Opinions ?
>
> Yes, that make sense; care to send a patch with proper signoff?
Will test and send it.
Thanks
>
> Thanks,
> -Eric
>
> > regards
> >
> > chandra
> >
> > PS: here is the test o/p
> >
> > FSTYP -- xfs (non-debug)
> > PLATFORM -- Linux/x86_64 elm3c201 2.6.39-rc4-xfs.git.p2+
> > MKFS_OPTIONS -- -f -bsize=4096 /dev/sdd2
> > MOUNT_OPTIONS -- -o context=system_u:object_r:nfs_t:s0 /dev/sdd2 /mnt/xfsScratchMntPt
> >
> > 244 [failed, exit status 1] - output mismatch (see 244.out.bad)
> > --- 244.out 2011-04-20 08:34:36.000000000 -0700
> > +++ 244.out.bad 2011-06-14 11:29:57.000000000 -0700
> > @@ -1,2 +1,25 @@
> > QA output created by 244
> > -Silence is golden
> > +unknown option -i projid32bit=0
> > +Usage: mkfs.xfs
> > +/* blocksize */ [-b log=n|size=num]
> > +/* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,
> > + (sunit=value,swidth=value|su=num,sw=num),
> > + sectlog=n|sectsize=num
> > +/* inode size */ [-i log=n|perblock=n|size=num,maxpct=n,attr=0|1|2]
> > +/* log subvol */ [-l agnum=n,internal,size=num,logdev=xxx,version=n
> > + sunit=value|su=num,sectlog=n|sectsize=num,
> > + lazy-count=0|1]
> > +/* label */ [-L label (maximum 12 characters)]
> > +/* naming */ [-n log=n|size=num,version=2|ci]
> > +/* prototype file */ [-p fname]
> > +/* quiet */ [-q]
> > +/* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]
> > +/* sectorsize */ [-s log=n|size=num]
> > +/* version */ [-V]
> > + devicename
> > +<devicename> is required unless -d name=xxx is given.
> > +<num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),
> > + xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).
> > +<value> is xxx (512 byte blocks).
> > +mkfs failed
> > +(see 244.full for details)
> > Ran: 244
> > Failures: 244
> > Failed 1 of 1 tests
> >
> >
> > _______________________________________________
> > xfs mailing list
> > xfs@oss.sgi.com
> > http://oss.sgi.com/mailman/listinfo/xfs
> >
>
> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Failure of test case 244
2011-06-14 19:38 ` Eric Sandeen
2011-06-14 20:10 ` Chandra Seetharaman
@ 2011-06-14 21:08 ` Chandra Seetharaman
1 sibling, 0 replies; 4+ messages in thread
From: Chandra Seetharaman @ 2011-06-14 21:08 UTC (permalink / raw)
To: Eric Sandeen; +Cc: XFS Mailing List
Ran the test with new mkfs.xfs. Got this failure. Wondering if any other
tools need to be replaced.
-------------
STYP -- xfs (non-debug)
PLATFORM -- Linux/x86_64 elm3c201 2.6.39-rc4-xfs.git.p2+
MKFS_OPTIONS -- -f -bsize=4096 /dev/sdd2
MOUNT_OPTIONS -- -o context=system_u:object_r:nfs_t:s0 /dev/sdd2 /mnt/xfsScratchMntPt
244 [failed, exit status 1] - output mismatch (see 244.out.bad)
--- 244.out 2011-06-10 17:25:22.000000000 -0700
+++ 244.out.bad 2011-06-14 14:05:36.000000000 -0700
@@ -1,2 +1,4 @@
QA output created by 244
Silence is golden
+FAIL: projid32bit enabled: setting over 32bit projid succeeded
+ while it should fail
Ran: 244
Failures: 244
Failed 1 of 1 tests
-----------------------
Thanks
chandra
On Tue, 2011-06-14 at 14:38 -0500, Eric Sandeen wrote:
> On 6/14/11 1:41 PM, Chandra Seetharaman wrote:
> > Hello,
> >
> > test case 244 expects a mkfs option projid32bit, which is not present in
> > older version of mkfs.xfs(for example 3.1.1 in RHEL 6.1).
> >
> > I though of making it a "requires" for this test, so that the test case
> > doesn't generate a "failure" when the test is run on older versions.
> >
> > Opinions ?
>
> Yes, that make sense; care to send a patch with proper signoff?
>
> Thanks,
> -Eric
>
> > regards
> >
> > chandra
> >
> > PS: here is the test o/p
> >
> > FSTYP -- xfs (non-debug)
> > PLATFORM -- Linux/x86_64 elm3c201 2.6.39-rc4-xfs.git.p2+
> > MKFS_OPTIONS -- -f -bsize=4096 /dev/sdd2
> > MOUNT_OPTIONS -- -o context=system_u:object_r:nfs_t:s0 /dev/sdd2 /mnt/xfsScratchMntPt
> >
> > 244 [failed, exit status 1] - output mismatch (see 244.out.bad)
> > --- 244.out 2011-04-20 08:34:36.000000000 -0700
> > +++ 244.out.bad 2011-06-14 11:29:57.000000000 -0700
> > @@ -1,2 +1,25 @@
> > QA output created by 244
> > -Silence is golden
> > +unknown option -i projid32bit=0
> > +Usage: mkfs.xfs
> > +/* blocksize */ [-b log=n|size=num]
> > +/* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,
> > + (sunit=value,swidth=value|su=num,sw=num),
> > + sectlog=n|sectsize=num
> > +/* inode size */ [-i log=n|perblock=n|size=num,maxpct=n,attr=0|1|2]
> > +/* log subvol */ [-l agnum=n,internal,size=num,logdev=xxx,version=n
> > + sunit=value|su=num,sectlog=n|sectsize=num,
> > + lazy-count=0|1]
> > +/* label */ [-L label (maximum 12 characters)]
> > +/* naming */ [-n log=n|size=num,version=2|ci]
> > +/* prototype file */ [-p fname]
> > +/* quiet */ [-q]
> > +/* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]
> > +/* sectorsize */ [-s log=n|size=num]
> > +/* version */ [-V]
> > + devicename
> > +<devicename> is required unless -d name=xxx is given.
> > +<num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),
> > + xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).
> > +<value> is xxx (512 byte blocks).
> > +mkfs failed
> > +(see 244.full for details)
> > Ran: 244
> > Failures: 244
> > Failed 1 of 1 tests
> >
> >
> > _______________________________________________
> > xfs mailing list
> > xfs@oss.sgi.com
> > http://oss.sgi.com/mailman/listinfo/xfs
> >
>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-06-14 21:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-14 18:41 Failure of test case 244 Chandra Seetharaman
2011-06-14 19:38 ` Eric Sandeen
2011-06-14 20:10 ` Chandra Seetharaman
2011-06-14 21:08 ` Chandra Seetharaman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox