All of lore.kernel.org
 help / color / mirror / Atom feed
From: Colin Faber <cfaber@gmail.com>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] Language choice for Lustre tests
Date: Wed, 24 Oct 2012 16:09:43 -0600	[thread overview]
Message-ID: <50886727.9010307@gmail.com> (raw)
In-Reply-To: <BF3E1573-A1E3-47DF-B1B1-866EB65A0D49@xyratex.com>

My vote here is perl, there's a few [lustre] tools already written in 
perl, it also meets all of the stated requirements. Yes, perl can look 
like core dump. Yes perl can be easily obfuscated and impossibly hard to 
understand (even for expert class developers). However the enormous 
range of module support, as well as the maturity and cross platform 
portability make it ideal for this task.

-cf

On 10/24/2012 04:05 PM, Nathan Rutman wrote:
>
> On Oct 24, 2012, at 1:02 PM, "Gearing, Chris" <chris.gearing@intel.com 
> <mailto:chris.gearing@intel.com>> wrote:
>
>> Nathan,
>>
>> I'm not 100% sure what you are proposing here, your LAD presentation 
>> suggested a 'tune-up' of the current test framework rather than a 
>> complete re-write. Which of the two are we discussing?
> Both...
>>
>> Which ever you are intending to undertake I think it is vital that 
>> before decisions are made on things such as languages a clear 
>> specification/definition of the activity is created and distributed. 
>> I am in fact working with Roman to bring such a document to the 
>> working group on the tune-up, making me somewhat confused about what 
>> is proposed here.
>>
>> Going back to your LAD presentation for the tune-up your intention is 
>> to write some libraries to better address the requirements of the 
>> framework than is possible in bash, but those libraries would be 
>> called from the existing bash tests. This illustrates that the 
>> language used to develop the framework may not be the same language 
>> used for writing the tests, in fact I'm guessing that for both a 
>> tune-up and rewrite the requirements placed on the framework writer 
>> are different than those place on the test writer and so the 
>> languages required might well be different,
>> and in fact if this is a tune-up then surely the tests must continue 
>> to be written in bash even if the libraries are in something more 
>> applicable, we do not want a single framework with mixed languages 
>> (do we?)
>
> The ultimate goal is to produce higher-quality, more robust, 
> well-controlled, and safer tests.  To that end, I think the eventual 
> language of the tests must change to something meeting the 
> requirements I stated before:
> 1. easy to use
> 2. strict structure
> 3. universally available/portable
> 4. widely maintained
> 5. widely understood
> 6. fully-featured filesystem interface: posix API
> 7. fast - replace e.g. createmany with embedded function
> 8. operate remote instances
> 9. inter-version compatibility
> The requirements on the framework language are more relaxed, but for 
> ease of development and developer sanity, I assume that the framework 
> language should match the test language.  So I'm using the test 
> language as the requirements driver, and to gage community preference 
> for that test language.
>
> Based on the responses so far, it seems that there is a fairly clear 
> preference for Python as a test language, and so I'll propose that 
> Python should be used shorter-term to start replacing test-framework.
>
>
>> So to return to my original question could you please provide some 
>> greater depth of insight as to what you are embarking upon, and then 
>> we can make more objective input as the language required.
>>
>> On the complete-rewrite topic, I will post the slides I sent you 
>> before LAD to the Whamcloud wiki and then provide a link to this list 
>> so that people can share our thoughts. (Network access prevents me 
>> doing this immediately)
>>
>> Regards
>>
>> Chris
>> ---------------------------------------------------------------------
>> Intel Corporation (UK) Limited
>> Registered No. 1134945 (England)
>> Registered Office: Pipers Way, Swindon SN3 1RJ
>> VAT No: 860 2173 47
>>
>> This e-mail and any attachments may contain confidential material for
>> the sole use of the intended recipient(s). Any review or distribution
>> by others is strictly prohibited. If you are not the intended
>> recipient, please contact the sender and delete all copies.
>>
>> _______________________________________________
>> Lustre-devel mailing list
>> Lustre-devel at lists.lustre.org <mailto:Lustre-devel@lists.lustre.org>
>> http://lists.lustre.org/mailman/listinfo/lustre-devel
>
>
>
> _______________________________________________
> Lustre-devel mailing list
> Lustre-devel at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-devel

  reply	other threads:[~2012-10-24 22:09 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-24 20:02 [Lustre-devel] Language choice for Lustre tests Gearing, Chris
2012-10-24 22:05 ` Nathan Rutman
2012-10-24 22:09   ` Colin Faber [this message]
2012-10-25 17:23   ` Brian Behlendorf
2012-10-25 18:04     ` Nathan Rutman
2012-10-25 21:17       ` Prakash Surya
2012-10-25 21:36         ` Nathan Rutman
2012-10-25 21:50           ` Nathan Rutman
2012-10-25 22:13           ` Prakash Surya
2012-10-25 22:19     ` Roman Grigoryev
2012-10-25 18:20   ` Gearing, Chris
2012-10-25 19:24     ` Nathan Rutman
2012-10-25 21:13       ` Christopher J. Morrone
2012-10-25 21:28         ` Nathan Rutman
2012-10-25 21:52           ` Prakash Surya
2012-10-26  6:24             ` Kilian Cavalotti
2012-10-26  8:52               ` Roman Grigoryev
2012-10-26 11:53                 ` Kilian Cavalotti
  -- strict thread matches above, loose matches on Subject: below --
2012-10-25 18:38 Gearing, Chris
2012-10-23 18:36 Nathan Rutman
2012-10-23 19:39 ` Jacques-Charles Lafoucriere
2012-10-24  6:31   ` Roman Grigoryev
2012-10-24  7:18     ` Kilian Cavalotti
2012-10-24  8:44       ` Roman Grigoryev
2012-10-24 16:30         ` DEGREMONT Aurelien
2012-10-23 20:05 ` Kilian Cavalotti

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=50886727.9010307@gmail.com \
    --to=cfaber@gmail.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.