Re: [LTP] LTP Containers netns test failure.

Garrett Cooper
2010-03-31T08:15:46Z

On Wed, Mar 31, 2010 at 1:12 AM, Rishikesh K Rajak
<risrajak@linux.vnet.ibm.com> wrote:
> On Mon, Mar 15, 2010 at 12:33:55PM +0530, Sachin Sant wrote:
>> Garrett Cooper wrote:
>> >> 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.
>> >>
>> >
>> >     Could you also add a check within childns.sh please?
>> >
>> As the LTP framework is unable to locate childns.sh script(as per the error
>> message) i cannot print anything from within childns.sh. This script is
>> never invoked during the run.
>
> Can we think on any alternate solution for this ?

I haven't really dug into this issue; honestly, I would just
commit the fix that Sachin provided which reverted the testcases/bin
removal that I did a few months back. However, I would also add a
comment stating why the hardcoded relative path is required with this
test and point to this post, so someone doesn't make the same mistake
in the future.
Thanks,
-Garrett