fstests.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* xfs/191 failures?
@ 2020-01-15 15:08 Christoph Hellwig
  2020-01-15 16:21 ` Darrick J. Wong
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2020-01-15 15:08 UTC (permalink / raw)
  To: Jan Tulak, Baihua Lu; +Cc: fstests, linux-xfs

Hi Jan and Baihua,

the xfs/191 test case has been failing for me basically since it
was added.  Does it succeed for anyone with an upstream kernel
and xfsprogs?  Here is my diff between the golden and the actual
output:

--- /root/xfstests/tests/xfs/191-input-validation.out	2016-09-21 20:34:14.961574921 +0000
+++ /root/xfstests/results//xfs/191-input-validation.out.bad	2020-01-15 15:05:25.580935340 +0000
@@ -1,2 +1,13 @@
 QA output created by 191-input-validation
 silence is golden
+pass -n size=2b /dev/vdc
+pass -d agsize=8192b /dev/vdc
+pass -d agsize=65536s /dev/vdc
+pass -d su=0,sw=64 /dev/vdc
+pass -d su=4096s,sw=64 /dev/vdc
+pass -d su=4096b,sw=64 /dev/vdc
+pass -l su=10b /dev/vdc
+fail -n log=15 /dev/vdc
+fail -r rtdev=/mnt/test/191-input-validation.img /dev/vdc
+fail -r size=65536,rtdev=/mnt/test/191-input-validation.img /dev/vdc
+fail -i log=10 /dev/vdc

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: xfs/191 failures?
  2020-01-15 15:08 xfs/191 failures? Christoph Hellwig
@ 2020-01-15 16:21 ` Darrick J. Wong
  2020-01-15 18:07   ` Eric Sandeen
  0 siblings, 1 reply; 3+ messages in thread
From: Darrick J. Wong @ 2020-01-15 16:21 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: Jan Tulak, Baihua Lu, fstests, linux-xfs

On Wed, Jan 15, 2020 at 07:08:02AM -0800, Christoph Hellwig wrote:
> Hi Jan and Baihua,
> 
> the xfs/191 test case has been failing for me basically since it
> was added.  Does it succeed for anyone with an upstream kernel
> and xfsprogs?

It never succeeds here.

--D

> Here is my diff between the golden and the actual
> output:

> --- /root/xfstests/tests/xfs/191-input-validation.out	2016-09-21 20:34:14.961574921 +0000
> +++ /root/xfstests/results//xfs/191-input-validation.out.bad	2020-01-15 15:05:25.580935340 +0000
> @@ -1,2 +1,13 @@
>  QA output created by 191-input-validation
>  silence is golden
> +pass -n size=2b /dev/vdc
> +pass -d agsize=8192b /dev/vdc
> +pass -d agsize=65536s /dev/vdc
> +pass -d su=0,sw=64 /dev/vdc
> +pass -d su=4096s,sw=64 /dev/vdc
> +pass -d su=4096b,sw=64 /dev/vdc
> +pass -l su=10b /dev/vdc
> +fail -n log=15 /dev/vdc
> +fail -r rtdev=/mnt/test/191-input-validation.img /dev/vdc
> +fail -r size=65536,rtdev=/mnt/test/191-input-validation.img /dev/vdc
> +fail -i log=10 /dev/vdc

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: xfs/191 failures?
  2020-01-15 16:21 ` Darrick J. Wong
@ 2020-01-15 18:07   ` Eric Sandeen
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Sandeen @ 2020-01-15 18:07 UTC (permalink / raw)
  To: Darrick J. Wong, Christoph Hellwig; +Cc: Baihua Lu, fstests, linux-xfs



On 1/15/20 10:21 AM, Darrick J. Wong wrote:
> On Wed, Jan 15, 2020 at 07:08:02AM -0800, Christoph Hellwig wrote:
>> Hi Jan and Baihua,
>>
>> the xfs/191 test case has been failing for me basically since it
>> was added.  Does it succeed for anyone with an upstream kernel
>> and xfsprogs?
> 
> It never succeeds here.

<Jan has left Red Hat>

yeah I think this has always been a mess, not sure why it took so long to
highlight it.  Seems like a combination of WTF? and general rot.

> --D
> 
>> Here is my diff between the golden and the actual
>> output:
> 
>> --- /root/xfstests/tests/xfs/191-input-validation.out	2016-09-21 20:34:14.961574921 +0000
>> +++ /root/xfstests/results//xfs/191-input-validation.out.bad	2020-01-15 15:05:25.580935340 +0000
>> @@ -1,2 +1,13 @@
>>  QA output created by 191-input-validation
>>  silence is golden

supposedly these should fail, but they pass:

>> +pass -n size=2b /dev/vdc
>> +pass -d agsize=8192b /dev/vdc
>> +pass -d agsize=65536s /dev/vdc

I don't know why it wouldn't be valid to use block & sector units for these
values.  But this whole mkfs reworking discussion was so long ago :(

>> +pass -d su=0,sw=64 /dev/vdc

not sure why this passes

>> +pass -d su=4096s,sw=64 /dev/vdc
>> +pass -d su=4096b,sw=64 /dev/vdc

s & b suffixes seem to be ignored here, which seems like a bug.

>> +pass -l su=10b /dev/vdc

again this seems to DTRT.


according to the test, these should pass, but they fail:

>> +fail -n log=15 /dev/vdc

uh, "-n log=" isn't even a mkfs option so of course it fails

>> +fail -r rtdev=/mnt/test/191-input-validation.img /dev/vdc

this fails because reflink is default now

>> +fail -r size=65536,rtdev=/mnt/test/191-input-validation.img /dev/vdc

ditto

>> +fail -i log=10 /dev/vdc

-i log is not a valid option either so of course it fails.

My first thought was to nuke it all, but I think the test could be salvaged
by anyone motivated to do so.

-Eric


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-15 18:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-15 15:08 xfs/191 failures? Christoph Hellwig
2020-01-15 16:21 ` Darrick J. Wong
2020-01-15 18:07   ` Eric Sandeen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).