All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roman Grigoryev <Roman_Grigoryev@xyratex.com>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] [Twg] your opinion about  testing  improvements
Date: Fri, 30 Mar 2012 11:40:16 +0400	[thread overview]
Message-ID: <4F756360.1000108@xyratex.com> (raw)
In-Reply-To: <4F745E90.2000001@xyratex.com>

(Sorry for cross posting, I haven't get answers in twg).
Hi all,

I'm working in testing team  in Xyratex.

After some time which I(and our team)  have spent on testing and
automation activities I would like try to ask community opinion about
two problems and suggestion in testing. This not closed list of testing
problems but I think it is good enough for start discussion.

Problem 1

Currently Lustre and test are living in one code space and build in one
time,and often have specific dependencies between test and code.

This situation directly affect

1) interoperability testing between different version. (because testing
is started from client which have different test framework then server
and client remotely execute test framework as their own. just copying
tests for equalization could not work with big difference between versions)

2) it is not simple execute(especially in automation) testing for test.
F.e. a bug is fixed, the test on it added. Executing the test on an old
revision(probably on a previous release) should show failed test result.
But with big difference between versions where fixed and where execute
test-framework can fail to start.

Possible solution: split Lustre and lustre tests in  code and  build
levels. It means that lustre and tests will not be connected on code
revision, only by logic, f.e. via keywords. Also should be added in same
time an abstraction level in test framework which allows to execute
lustre utils from different version of lustre.



Problem 2

(to avoid term problems, I call there: sanity = test suite, 130 = test,
130c and 130a = test cases)

Different test cases, ended with letter(f.e. 130c),  have an different
idea of dependencies. Some test cases have dependences to previous test
cases, some don't have.

All they now can be executed with "ONLY" parameter and all they have
separated item in result yaml file as just separated tests( which
doesn't have test cases ended with letter, f.e. sanity 129). Also, tests
which have testcases and don't have their own body can be execute  with
ONLY parameter( but doesn't have their special result).

So, logically, all test which can be execute via using ONLY must be not
depended to other tests. But we have test which depended. Moreover, some
developers prefer to consider testcases as step of full one test.

What is entities which I call "testcases" and "test" from your point of
view?

Answer of this question affect automated test execution and test
development, and maybe ask some test-framework changes.


-- 
Thanks,
	Roman

       reply	other threads:[~2012-03-30  7:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4F745E90.2000001@xyratex.com>
2012-03-30  7:40 ` Roman Grigoryev [this message]
2012-04-02  3:08   ` [Lustre-devel] [Twg] your opinion about testing improvements Oleg Drokin
2012-04-02  5:33     ` Andreas Dilger
2012-04-02  9:43       ` Roman Grigoryev

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=4F756360.1000108@xyratex.com \
    --to=roman_grigoryev@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.