From: Mark Tinguely <tinguely@sgi.com>
To: Dave Chinner <david@fromorbit.com>
Cc: Eric Sandeen <sandeen@sandeen.net>, xfs-oss <xfs@oss.sgi.com>
Subject: Re: group for tests that are dangerous for verifiers?
Date: Mon, 24 Jun 2013 08:50:57 -0500 [thread overview]
Message-ID: <51C84EC1.3050109@sgi.com> (raw)
In-Reply-To: <20130623234427.GG29376@dastard>
On 06/23/13 18:44, Dave Chinner wrote:
> On Sun, Jun 23, 2013 at 05:57:49PM -0500, Eric Sandeen wrote:
>> On 6/23/13 5:50 PM, Dave Chinner wrote:
>>> On Fri, Jun 21, 2013 at 01:45:46PM -0500, Eric Sandeen wrote:
>>>> On 6/20/13 12:54 PM, Mark Tinguely wrote:
>>>>> Do we need a xfstest verifier dangerous group?
>>>>>
>>>>> xfstest 111 purposely damages inodes. In hindsight it make sense
>>>>> that it asserts when running with verifiers.
>>>>
>>>> But it only asserts on a debug kernel...
>>>
>>> Right, and it has done so for years - blaming verifiers for
>>> triggering the assert failure is simply shooting the messenger.
>>
>> But this test *intentionally* corrupts, right? So it's prudent
>> to not run a test which you *know* will explode if it runs
>> as designed.
>
> Common sense, really.
... and the reason for the open question. Should there be a group
notation that says the verifiers will *correctly* find a real and known
problem on this test.
>
>>>> This isn't the only place where corruption could ASSERT on debug;
>>>> see xlog_recover_add_to_trans() for example.
>>>>
>>>> But if the test intentionally corrupts it and that leads to
>>>> an ASSERT that does seem problematic for anyone testing w/ debug
>>>> enabled.
>>>
>>> Yup, it runs src/itrash.c which corrupts every inode it can find.
>>>
>>> That's the reason this test is not part of the auto group - it's
>>> a test that will cause the system to stop. We've got other tests
>>> that are not part of the auto group for exactly the same reason -
>>> they cause some kind of terminal failure and so aren't candidates
>>> for regression testing.
>>
>> Then maybe just part of the normal dangerous group would be enough.
>
> It will only run from the ioctl group today (bulkstat, I guess), so
> I'd say that adding it to the dangerous group doesn't add any real
> value except documentation. And it's just as easy to remove the
> ASSERT() as it is really unnecessary....
>
>> Except this isn't transient (today) - it's not a case where old kernels
>> may oops, it's where it's *designed* to oops on this test, with a debug
>> kernel.
>>
>> So I guess I could see a debug-dangerous group ;)
>>
>>>> I guess I'd vote for removing the ASSERT unless there's
>>>> some reason it should be there - Dave?
>>>
>>> I'm fine with it being removed - we catch the failure just fine. If
>>> that then makes 111 work as a regression test (i.e. doesn't trigger
>>> the bad-inode bulkstat loop it was designed to test) then perhaps we
>>> can consider making that part of the auto group, too...
>>
>> Removing it sounds like the best option then.
>
> *nod*
>
That works too.
Thanks,
--Mark.
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
prev parent reply other threads:[~2013-06-24 13:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-20 17:54 group for tests that are dangerous for verifiers? Mark Tinguely
2013-06-21 18:26 ` Michael L. Semon
2013-06-21 18:45 ` Eric Sandeen
2013-06-23 22:50 ` Dave Chinner
2013-06-23 22:57 ` Eric Sandeen
2013-06-23 23:44 ` Dave Chinner
2013-06-24 13:50 ` Mark Tinguely [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51C84EC1.3050109@sgi.com \
--to=tinguely@sgi.com \
--cc=david@fromorbit.com \
--cc=sandeen@sandeen.net \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox