All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Simmons <jsimmons@infradead.org>
To: lustre-devel@lists.lustre.org
Subject: [lustre-devel] sanity-hsm and libtool
Date: Fri, 19 Jul 2019 16:20:26 +0100 (BST)	[thread overview]
Message-ID: <alpine.LFD.2.21.1907191611160.17024@casper.infradead.org> (raw)
In-Reply-To: <B0E37F29-E0D1-4432-A6DB-712D27E078CB@amazon.com>


> Hi!
> 
> ?
> 
> I'm trying to run sanity-hsm.sh tests in my lustre source directory as I'm used to.
> 
> Since libtool patch was landed, tools like lhsmtool_posix are executed through a wrapper and appear in process list as 'lt-lhsmtool_posix'.
> 
> Some tests try to find and kill them, relying on command like:
> 
> ?
> 
> "ps -C $HSMTOOL"
> 
> ?
> 
> Even if run through "libtool execute ps -C $HSMTOOL" (as it is in the source right now) this command does not catch the proper process and
> so fail the test.
> 
> ?
> 
> I'm wondering what the proper way to run the test suite to have it working and how this is working in Maloo?
> 
> I'm doing:
> 
> ?
> 
> git clone
> 
> autogen
> 
> configure
> 
> make
> 
> sudo REFORMAT=: ./lustre/tests/sanity-hsm.sh
> 
> ?
> 
> ?
> 
> ?
> 
> By the way, when hsm helper functions were moved from sanity-hsm.sh to test-framework.sh (f172b1168, for PCC), some of them were just
> copied and not moved. So there are several duplicates between these 2 files. I think that's not on purpose?

What version of lustre are you testing with? Their was a patch landed to 
handle this.

LU-11742 test: have libtool execute the test binaries

which is lustre commit f9e5224fbb60bb8b44753b7be10cb06108627f89. This has 
been back ported to 2.12 LTS. Can you see if your lustre tree has this 
fix. 

See https://www.gnu.org/software/libtool/manual/html_node/Debugging-executables.html
for details about using libtool against the binary wrappers. 

  reply	other threads:[~2019-07-19 15:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-19 15:02 [lustre-devel] sanity-hsm and libtool Degremont, Aurelien
2019-07-19 15:20 ` James Simmons [this message]
2019-07-19 15:44   ` Degremont, Aurelien
2019-07-19 19:52     ` Quentin BOUGET
2019-07-23  0:23       ` James Simmons
2019-07-23  1:40         ` Oleg Drokin

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=alpine.LFD.2.21.1907191611160.17024@casper.infradead.org \
    --to=jsimmons@infradead.org \
    --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.