public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] LTP Containers netns test failure.
@ 2010-03-10 14:20 Sachin Sant
  2010-03-11  4:15 ` Garrett Cooper
  0 siblings, 1 reply; 9+ messages in thread
From: Sachin Sant @ 2010-03-10 14:20 UTC (permalink / raw)
  To: ltp-list; +Cc: serue

NETNS tests from containers fails to execute with following
message

Running netns tests.
--: childns.sh '/opt/ltp': No such file or directory

Looking at the code the problem could be with create_net_namespace()
within netns/common.c

If i make the following changes the first subtest works fine but then
i ran into other failures related to other sub tests.

@@ -92,7 +92,7 @@ int create_net_namespace(char *p1, char
        }

        /* We need to pass the child pid to the parentns.sh script */
-       sprintf(par, "parentns.sh '%s' %s %" PRId32 , ltproot, p1, pid);
+       sprintf(par, "%s/testcases/bin/parentns.sh %s %" PRId32 , ltproot, p1, pid);

        ret = system(par);
        status = WEXITSTATUS(ret);
@@ -141,7 +141,7 @@ int child_fn(void *c1)
                exit(1);
        }

-       sprintf(child, "childns.sh '%s'", ltproot);
+       sprintf(child, "%s/testcases/bin/childns.sh", ltproot);

As i don't know the code too much .. i am not sure how to fix it.

Any ideas ?


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] LTP Containers netns test failure.
  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
  0 siblings, 1 reply; 9+ messages in thread
From: Garrett Cooper @ 2010-03-11  4:15 UTC (permalink / raw)
  To: Sachin Sant; +Cc: ltp-list, serue

On Wed, Mar 10, 2010 at 6:20 AM, Sachin Sant <sachinp@in.ibm.com> wrote:
> NETNS tests from containers fails to execute with following
> message
>
> Running netns tests.
> --: childns.sh '/opt/ltp': No such file or directory
>
> Looking at the code the problem could be with create_net_namespace()
> within netns/common.c
>
> If i make the following changes the first subtest works fine but then
> i ran into other failures related to other sub tests.
>
> @@ -92,7 +92,7 @@ int create_net_namespace(char *p1, char
>       }
>
>       /* We need to pass the child pid to the parentns.sh script */
> -       sprintf(par, "parentns.sh '%s' %s %" PRId32 , ltproot, p1, pid);
> +       sprintf(par, "%s/testcases/bin/parentns.sh %s %" PRId32 , ltproot,
> p1, pid);
>
>       ret = system(par);
>       status = WEXITSTATUS(ret);
> @@ -141,7 +141,7 @@ int child_fn(void *c1)
>               exit(1);
>       }
>
> -       sprintf(child, "childns.sh '%s'", ltproot);
> +       sprintf(child, "%s/testcases/bin/childns.sh", ltproot);
>
> As i don't know the code too much .. i am not sure how to fix it.

export PATH=$PATH:$LTPROOT/testcases/bin ; parentns.sh ?

Why are you overcomplicating things by hardcoding the path again?
That's the exact reason why it was removed in the first place...

Thanks,
-Garrett

------------------------------------------------------------------------------
Download Intel&#174; 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] LTP Containers netns test failure.
  2010-03-11  4:15 ` Garrett Cooper
@ 2010-03-12  5:09   ` Sachin Sant
  2010-03-12  7:33     ` Garrett Cooper
  0 siblings, 1 reply; 9+ messages in thread
From: Sachin Sant @ 2010-03-12  5:09 UTC (permalink / raw)
  To: Garrett Cooper; +Cc: ltp-list

Garrett Cooper wrote:
> On Wed, Mar 10, 2010 at 6:20 AM, Sachin Sant <sachinp@in.ibm.com> wrote:
>   
>> NETNS tests from containers fails to execute with following
>> message
>>
>> Running netns tests.
>> --: childns.sh '/opt/ltp': No such file or directory
>>
>> Looking at the code the problem could be with create_net_namespace()
>> within netns/common.c
>>
>> If i make the following changes the first subtest works fine but then
>> i ran into other failures related to other sub tests.
>>
>> @@ -92,7 +92,7 @@ int create_net_namespace(char *p1, char
>>       }
>>
>>       /* We need to pass the child pid to the parentns.sh script */
>> -       sprintf(par, "parentns.sh '%s' %s %" PRId32 , ltproot, p1, pid);
>> +       sprintf(par, "%s/testcases/bin/parentns.sh %s %" PRId32 , ltproot,
>> p1, pid);
>>
>>       ret = system(par);
>>       status = WEXITSTATUS(ret);
>> @@ -141,7 +141,7 @@ int child_fn(void *c1)
>>               exit(1);
>>       }
>>
>> -       sprintf(child, "childns.sh '%s'", ltproot);
>> +       sprintf(child, "%s/testcases/bin/childns.sh", ltproot);
>>
>> As i don't know the code too much .. i am not sure how to fix it.
>>     
>
> export PATH=$PATH:$LTPROOT/testcases/bin ; parentns.sh ?
>
> Why are you overcomplicating things by hardcoding the path again?
> That's the exact reason why it was removed in the first place...
>   
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

Thanks
-Sachin


-- 

---------------------------------
Sachin Sant
IBM Linux Technology Center
India Systems and Technology Labs
Bangalore, India
---------------------------------


------------------------------------------------------------------------------
Download Intel&#174; 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] LTP Containers netns test failure.
  2010-03-12  5:09   ` Sachin Sant
@ 2010-03-12  7:33     ` Garrett Cooper
  2010-03-12  8:56       ` Sachin Sant
  0 siblings, 1 reply; 9+ messages in thread
From: Garrett Cooper @ 2010-03-12  7:33 UTC (permalink / raw)
  To: Sachin Sant; +Cc: ltp-list

On Thu, Mar 11, 2010 at 9:09 PM, Sachin Sant <sachinp@in.ibm.com> wrote:
> Garrett Cooper wrote:
>>
>> On Wed, Mar 10, 2010 at 6:20 AM, Sachin Sant <sachinp@in.ibm.com> wrote:
>>
>>>
>>> NETNS tests from containers fails to execute with following
>>> message
>>>
>>> Running netns tests.
>>> --: childns.sh '/opt/ltp': No such file or directory
>>>
>>> Looking at the code the problem could be with create_net_namespace()
>>> within netns/common.c
>>>
>>> If i make the following changes the first subtest works fine but then
>>> i ran into other failures related to other sub tests.
>>>
>>> @@ -92,7 +92,7 @@ int create_net_namespace(char *p1, char
>>>      }
>>>
>>>      /* We need to pass the child pid to the parentns.sh script */
>>> -       sprintf(par, "parentns.sh '%s' %s %" PRId32 , ltproot, p1, pid);
>>> +       sprintf(par, "%s/testcases/bin/parentns.sh %s %" PRId32 ,
>>> ltproot,
>>> p1, pid);
>>>
>>>      ret = system(par);
>>>      status = WEXITSTATUS(ret);
>>> @@ -141,7 +141,7 @@ int child_fn(void *c1)
>>>              exit(1);
>>>      }
>>>
>>> -       sprintf(child, "childns.sh '%s'", ltproot);
>>> +       sprintf(child, "%s/testcases/bin/childns.sh", ltproot);
>>>
>>> As i don't know the code too much .. i am not sure how to fix it.
>>>
>>
>> export PATH=$PATH:$LTPROOT/testcases/bin ; parentns.sh ?
>>
>> Why are you overcomplicating things by hardcoding the path again?
>> That's the exact reason why it was removed in the first place...
>>
>
> 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.
Thanks,
-Garrett

------------------------------------------------------------------------------
Download Intel&#174; 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] LTP Containers netns test failure.
  2010-03-12  7:33     ` Garrett Cooper
@ 2010-03-12  8:56       ` Sachin Sant
  2010-03-12 16:32         ` Garrett Cooper
  0 siblings, 1 reply; 9+ messages in thread
From: Sachin Sant @ 2010-03-12  8:56 UTC (permalink / raw)
  To: Garrett Cooper; +Cc: ltp-list

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&#174; 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] LTP Containers netns test failure.
  2010-03-12  8:56       ` Sachin Sant
@ 2010-03-12 16:32         ` Garrett Cooper
  2010-03-15  7:03           ` Sachin Sant
  0 siblings, 1 reply; 9+ messages in thread
From: Garrett Cooper @ 2010-03-12 16:32 UTC (permalink / raw)
  To: Sachin Sant; +Cc: ltp-list

On Fri, Mar 12, 2010 at 12:56 AM, Sachin Sant <sachinp@in.ibm.com> wrote:
> 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.

    Could you also add a check within childns.sh please?
Thanks,
-Garrett

------------------------------------------------------------------------------
Download Intel&#174; 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] LTP Containers netns test failure.
  2010-03-12 16:32         ` Garrett Cooper
@ 2010-03-15  7:03           ` Sachin Sant
  2010-03-31  8:12             ` Rishikesh K Rajak
  0 siblings, 1 reply; 9+ messages in thread
From: Sachin Sant @ 2010-03-15  7:03 UTC (permalink / raw)
  To: Garrett Cooper; +Cc: ltp-list

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.

Thanks
-Sachin

> Thanks,
> -Garrett
>
>   


-- 

---------------------------------
Sachin Sant
IBM Linux Technology Center
India Systems and Technology Labs
Bangalore, India
---------------------------------


------------------------------------------------------------------------------
Download Intel&#174; 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] LTP Containers netns test failure.
  2010-03-15  7:03           ` Sachin Sant
@ 2010-03-31  8:12             ` Rishikesh K Rajak
  2010-03-31  8:15               ` Garrett Cooper
  0 siblings, 1 reply; 9+ messages in thread
From: Rishikesh K Rajak @ 2010-03-31  8:12 UTC (permalink / raw)
  To: Sachin Sant; +Cc: ltp-list

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 ?

-Rishi

> 
> Thanks
> -Sachin
> 
> > Thanks,
> > -Garrett
> >
> >   
> 
> 
> -- 
> 
> ---------------------------------
> Sachin Sant
> IBM Linux Technology Center
> India Systems and Technology Labs
> Bangalore, India
> ---------------------------------
> 
> 
> ------------------------------------------------------------------------------
> Download Intel&#174; 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

-- 
Thanks & Regards
Rishi
LTP Maintainer
IBM, LTC, Bangalore
Please join IRC #ltp @ irc.freenode.net

------------------------------------------------------------------------------
Download Intel&#174; 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] LTP Containers netns test failure.
  2010-03-31  8:12             ` Rishikesh K Rajak
@ 2010-03-31  8:15               ` Garrett Cooper
  0 siblings, 0 replies; 9+ messages in thread
From: Garrett Cooper @ 2010-03-31  8:15 UTC (permalink / raw)
  To: Sachin Sant, Garrett Cooper, ltp-list

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

------------------------------------------------------------------------------
Download Intel&#174; 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-03-31  8:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox