All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Lezhoev <Alexander_Lezhoev@xyratex.com>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] [Twg] your opinion about testing improvements (was Lustre-devel Digest, Vol 72, Issue 17)
Date: Thu, 05 Apr 2012 12:40:16 +0400	[thread overview]
Message-ID: <4F7D5A70.8040006@xyratex.com> (raw)
In-Reply-To: <4F7B0770.8050308@whamcloud.com>

Hi Chris,

I completely agree that the test-framework must be significantly 
revised. We have some plans to improve it and I think, it would be 
useful to share our ideas and visions of this task. Really we considered 
the separation of tests and Lustre code as a part of the framework 
improvement. So I think, we need to share our approaches and develop a 
conception which would be satisfactory for all. What do you think about 
opening a discussion about new test-framework?

-- 
Alexander Lezhoev.
Morpheus test team.
Xyratex.



On 04/03/2012 06:21 PM, Chris Gearing wrote:
>
> We don't have a single script because the tests are at times very 
> tightly coupled to the Lustre version. There were a lot of changes 
> between 1.8.x and 2.x and a lot of corresponding changes to the test 
> scripts. Where the tests are the same and bugs were found in the 2.x 
> test scripts these should have been backported to the 1.8.x test 
> scripts if this was not done then we should do it for inclusion into 
> the 1.8.8 release.
>
> The notion of making 'master' scripts work with with all versions is 
> obviously possible but it is a very significant task and given that 
> the scripts themselves are written in a language (sic) that does not 
> provide structure a single script strategy is likely to create many 
> more 'interoperability issues' than it fixes.
>
> Also it's worth considering that we have best part of a 1000 discrete 
> changes, whenever a test is re-engineered the test itself must be 
> proven to detect failure as well as success. i.e. If someone produced 
> a version independent test set that passed all versions we would not 
> know that the process was a success, we would need to check that each 
> re-engineered test 'failed' appropriately for each Lustre version, 
> this is a big task that I doubt can be properly achieved in bash.
>
> So in summary the best solution given what we have today is to back 
> port fixes to the test scripts as we back port fixes to the code. This 
> is an investment in time and requires the same discipline to test as 
> we have for coding. A single set of scripts that caters for all 
> versions appears I believe like an easy solution but actually would 
> require huge investment that would be better spent developing a modern 
> test framework and infrastructure that can support Lustre for the next 
> ten years.
>

  parent reply	other threads:[~2012-04-05  8:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1333130401.17602.lustre-devel@lists.lustre.org>
2012-04-03  0:26 ` [Lustre-devel] Lustre-devel Digest, Vol 72, Issue 17 Chris Gearing
2012-04-03  6:07   ` [Lustre-devel] your opinion about testing improvements (was Lustre-devel Digest, Vol 72, Issue 17) Roman Grigoryev
2012-04-03 14:21     ` Chris Gearing
2012-04-04 21:24       ` Nathan Rutman
2012-04-09  0:04         ` Chris Gearing
2012-04-09 22:54           ` Nathan Rutman
2012-04-05  8:40       ` Alexander Lezhoev [this message]
2012-04-05 10:38         ` [Lustre-devel] [Twg] " Alex Tomas
2012-04-11 23:00       ` [Lustre-devel] " Nathan Rutman

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=4F7D5A70.8040006@xyratex.com \
    --to=alexander_lezhoev@xyratex.com \
    --cc=lustre-devel@lists.lustre.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.