linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Omar Sandoval <osandov@osandov.com>
To: Lukas Czerner <lczerner@redhat.com>
Cc: "Theodore Y. Ts'o" <tytso@mit.edu>,
	lsf-pc@lists.linux-foundation.org, linux-block@vger.kernel.org,
	linux-fsdevel@vger.kernel.org
Subject: Re: [LSF/MM TOPIC] improving storage testing
Date: Thu, 14 Feb 2019 13:28:38 -0800	[thread overview]
Message-ID: <20190214212838.GC9819@vader> (raw)
In-Reply-To: <20190214121040.vckivyo5qcp6iyc4@localhost.localdomain>

On Thu, Feb 14, 2019 at 01:10:40PM +0100, Lukas Czerner wrote:
> On Wed, Feb 13, 2019 at 01:07:54PM -0500, Theodore Y. Ts'o wrote:
> > 
> > 2) Documenting what are known failures should be for various tests on
> > different file systems and kernel versions.  I think we all have our
> > own way of excluding tests which are known to fail.  One extreme case
> > is where the test case was added to xfstests (generic/484), but the
> > patch to fix it got hung up because it was somewhat controversial, so
> > it was failing on all file systems.
> > 
> > Other cases might be when fixing a particular test failure is too
> > complex to backport to stable (maybe because it would drag in all
> > sorts of other changes in other subsystems), so that test is Just
> > Going To Fail for a particular stable kernel series.
> > 
> > It probably doesn't make sense to do this in xfstests, which is why we
> > all have our own individual test runners that are layered on top of
> > xfstests.  But if we want to automate running xfstests for stable
> > kernel series, some way of annotating fixes for different kernel
> > versions would be useful, perhaps some kind of centralized clearing
> > house of this information would be useful.
> 
> I think that the first step can be to require the new test to go in
> "after" the respective kernel fix. And related to that, require the test
> to include a well-defined tag (preferably both in the test itself and
> commit description) saying which commit fixed this particular problem.

For blktests, I require that regression tests include what commit they
are testing in the test comment. For xfstests, sometimes the test
mentions it, sometimes the commit mentions it, but more often you have
to search for keywords in kernel commit messages... It'd be great if
xfstests also required that the test file mentioned the commit/patch it
tests.

  reply	other threads:[~2019-02-14 21:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-13 18:07 [LSF/MM TOPIC] improving storage testing Theodore Y. Ts'o
2019-02-14  7:37 ` Chaitanya Kulkarni
2019-02-14 10:55 ` Johannes Thumshirn
2019-02-14 16:21   ` David Sterba
2019-02-14 23:26   ` Bart Van Assche
2019-02-15  2:52     ` Chaitanya Kulkarni
2019-02-15  7:52       ` Johannes Thumshirn
2019-02-14 12:10 ` Lukas Czerner
2019-02-14 21:28   ` Omar Sandoval [this message]
2019-02-14 21:56 ` Omar Sandoval
2019-02-15  3:02   ` Theodore Y. Ts'o
2019-02-15 17:32     ` Keith Busch
2019-02-20  1:33       ` Chaitanya Kulkarni

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=20190214212838.GC9819@vader \
    --to=osandov@osandov.com \
    --cc=lczerner@redhat.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=lsf-pc@lists.linux-foundation.org \
    --cc=tytso@mit.edu \
    /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;
as well as URLs for NNTP newsgroup(s).