From: Sachin Sant <sachinp@in.ibm.com>
To: Garrett Cooper <yanegomi@gmail.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] LTP Containers netns test failure.
Date: Fri, 12 Mar 2010 14:26:24 +0530 [thread overview]
Message-ID: <4B9A01B8.6040008@in.ibm.com> (raw)
In-Reply-To: <364299f41003112333v3c9e5e7wb6160c2c59395b68@mail.gmail.com>
Garrett Cooper wrote:
>> Hmm .. i am still not able to execute the test even after exporting the
>> PATH.
>>
>> lp5:/opt/ltp # export LTPROOT=/opt/ltp
>> lp5:/opt/ltp # export PATH=$PATH:$LTPROOT/testcases/bin
>> lp5:/opt/ltp # ./runltp -f containers
>> ........<SNIP>..........
>> <<<test_start>>>
>> tag=Containers stime=1268369850
>> cmdline="container_test.sh"
>> contacts=""
>> analysis=exit
>> <<<test_output>>>
>> incrementing stop
>> Running netns tests.
>> --: childns.sh '/opt/ltp': No such file or directory
>>
>> I feel the problem is: the code is searching childns.sh in LTPROOT
>> directory instead of LTPROOT/testcases/bin
>>
>
> Please test your claim by calling env in the script -- what happens?
> Something doesn't necessarily add up with the claim.
>
You meant calling env from childns.sh or some other script ?
I printed env o/p (just before calling netns tests) from container_test.sh
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
--- Start env o/p ---
LESSKEY=/etc/lesskey.bin
NNTPSERVER=news
.... SNIP ...
MAIL=/var/mail/root
PATH=/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/ltp/testcases/bin:/opt/ltp/testcases/bin
CPU=ppc64
_=/usr/bin/env
SSH_SENDS_LOCALE=yes
INPUTRC=/etc/inputrc
PWD=/opt/ltp/testcases/bin
LANG=en_US.UTF-8
PYTHONSTARTUP=/etc/pythonstart
LTPROOT=/opt/ltp
.... SNIP ...
So the values look okay, but the run still fails.
Thanks
-Sachin
--
---------------------------------
Sachin Sant
IBM Linux Technology Center
India Systems and Technology Labs
Bangalore, India
---------------------------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2010-03-12 8:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-10 14:20 [LTP] LTP Containers netns test failure Sachin Sant
2010-03-11 4:15 ` Garrett Cooper
2010-03-12 5:09 ` Sachin Sant
2010-03-12 7:33 ` Garrett Cooper
2010-03-12 8:56 ` Sachin Sant [this message]
2010-03-12 16:32 ` Garrett Cooper
2010-03-15 7:03 ` Sachin Sant
2010-03-31 8:12 ` Rishikesh K Rajak
2010-03-31 8:15 ` Garrett Cooper
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=4B9A01B8.6040008@in.ibm.com \
--to=sachinp@in.ibm.com \
--cc=ltp-list@lists.sourceforge.net \
--cc=yanegomi@gmail.com \
/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