Hi Subrata,

I am not sure someone has reported this problem or not, but i am getting
this error while running connectors.

Below i am providing the result for different kernel version and for
different machine with last three month LTP released.

=====================================With June release
==================================
Test Start Time: Tue Sep  2 21:12:02 2008
-----------------------------------------
Testcase                       Result     Exit Value
--------                       ------     ----------
Test Start Time: Tue Sep  2 21:12:02 2008
-----------------------------------------
Testcase                       Result     Exit Value
--------                       ------     ----------

-----------------------------------------------
Total Tests: 1
Total Failures: 0
Kernel Version: 2.6.27-rc3-ext4-1
Machine Architecture: i686
Hostname: x330e

===========

LOG
File: /root/ltp-full-20080630/results/LTP_RUN_ON-2008_Sep_02-21h_12m_02s.log
FAILED COMMAND
File: /root/ltp-full-20080630/output/LTP_RUN_ON-2008_Sep_02-21h_12m_02s.failed
Running tests.......
<<<test_start>>>
tag=Connectors stime=1220370122
cmdline="connector_test.sh"
contacts=""
analysis=exit
initiation_status="pan(17234): execvp of 'connector_test.sh' (tag
Connectors) failed.  errno:2  No such file or directory"
<<<test_output>>>
<<<execution_status>>>
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=0
<<<test_end>>>
incrementing stop
INFO: pan reported all tests PASS
LTP Version: LTP-20080630


===================================================================


Here is the second kernel

=============================With July
Release======================================
Test Start Time: Tue Sep  2 18:58:19 2008
-----------------------------------------
Testcase                       Result     Exit Value
--------                       ------     ----------
Test Start Time: Tue Sep  2 18:58:19 2008
-----------------------------------------
Testcase                       Result     Exit Value
--------                       ------     ----------

-----------------------------------------------
Total Tests: 1
Total Failures: 0
Kernel Version: 2.6.27-rc3
Machine Architecture: i686
Hostname: hs40


LOG
File: /root/ltp-full-20080731/results/LTP_RUN_ON-2008_Sep_02-18h_58m_19s.log
FAILED COMMAND
File: /root/ltp-full-20080731/output/LTP_RUN_ON-2008_Sep_02-18h_58m_19s.failed
Running tests.......
<<<test_start>>>
tag=Connectors stime=1220362099
cmdline="connector_test.sh"
contacts=""
analysis=exit
initiation_status="pan(27263): execvp of 'connector_test.sh' (tag
Connectors) failed.  errno:2  No such file or directory"
<<<test_output>>>
<<<execution_status>>>
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=0
<<<test_end>>>
incrementing stop
INFO: pan reported all tests PASS
LTP Version: LTP-20080731

==========================With Latest
Release=========================================


LOG
File: /root/ltp-full-20080831/results/LTP_RUN_ON-2008_Sep_02-14h_23m_09s.log
FAILED COMMAND
File: /root/ltp-full-20080831/output/LTP_RUN_ON-2008_Sep_02-14h_23m_09s.failed
Running tests.......
<<<test_start>>>
tag=Connectors stime=1220345590
cmdline="connector_test.sh"
contacts=""
analysis=exit
initiation_status="pan(13770): execvp of 'connector_test.sh' (tag
Connectors) failed.  errno:2  No such file or directory"
<<<test_output>>>
<<<execution_status>>>
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=0
<<<test_end>>>
incrementing stop
INFO: pan reported all tests PASS
LTP Version: LTP-20080831

=======================================================================

Thanks

Rishi

On Thu, 2008-06-26 at 17:25 +0530, Subrata Modak wrote:

> Well,
> 
> I just discovered something else instead. The statement:
> 
> if ../../bin/tst_kvercmp 2 6 15; then \
> 
> in testcases/kernel/connectors/Makefile, will not work as the
> directory:
> testcases/bin and itś corresponding contents (which also includes
> tst_kvercmp) will not be available until:
> 
> make install
> 
> is done.
> 
> So, although the logic for 
> 1) make install
> 2) ./runltp -f connectors,
> 
> make work out for kernels below 2.6.15, But 1) make, will not work for
> kernels below 2.6.15
> 
> I have however merged your topup patch. Since it is not included in
> default build/install/run, so it will not pose any problem presently.
> People who are sure that the corresponding libraries and the kernel
> version supports PEC, can easily go and do the build and run for the
> same.
> 
> Meanwhile i also noticed some build failures even on machines which
> has kernel above 2.6.15. I hope you will also fix the same when your
> kernel patch is accepted. Till then we will test PEC as standalone
> tests. Thanks for providing such wonderful tests. This patch is also
> merged.
> 
> Regards--
> Subrata
> 
> 
> On Thu, Jun 26, 2008 at 3:20 PM, Li Zefan <[EMAIL PROTECTED]> wrote:
> 
>         Subrata Modak wrote:
>         > Thanks Li.
>         >
>         > But somehow i am not able to apply this Patch cleanly. I
>         have just merged
>         > your last updated Patch which adds these tests. But i have
>         removed it´s
>         > compilation from testcases/kernel/Makefile. Can you quickly
>         take a diff of
>         > the latest(now) LTP CVS and send across this patch once
>         again, which
>         > according to you will solve the below problems:
>         >
>         
>         
>         
>         Sorry, but I can't check out LTP CVS in my company. :(
>         
>         And note that this patch doesn't touch
>         testcases/kernel/Makefile at all.
>         
>         
>         
>         > - building failure on 2.6.16 should be fixed
>         > - fix "make install" if kernel version < 2.6.15
>         > - abort tests if kernel version < 2.6.15
>         >
>         > Regards--
>         > Subrata
>         >
>         >
>         >
>         > On Thu, Jun 26, 2008 at 1:33 PM, Li Zefan
>         <[EMAIL PROTECTED]> wrote:
>         >
>         >>>> So how about put the tests into LTP but not run by
>         default, and when my
>         >> patch
>         >>>> is accepted (but I'm not optimistic) or Evgeniy has done
>         the extension,
>         >> we
>         >>>> can update the tests and make it run by default.
>         >>> That would be really great, rather than holding it off
>         from LTP
>         >>> inclusion. I would merge your last updated patch with
>         little
>         >>> modifications from your side. I will make sure that it
>         does not run by
>         >>> default until your kernel patch is through, and in that
>         case, you can
>         >>> send me an updated patch.
>         >>>
>         >> Here it is. Based on my last patch.
>         >>
>         >> - building failure on 2.6.16 should be fixed
>         >> - fix "make install" if kernel version < 2.6.15
>         >> - abort tests if kernel version < 2.6.15
>         >>
>         >> Signed-off-by: Li Zefan <[EMAIL PROTECTED]>
>         >> ---
>         >>  runtest/connectors                             |    2 +-
>         >>  testcases/kernel/connectors/Makefile           |   12
>         ++++++++----
>         >>  testcases/kernel/connectors/connector_test.sh  |   15
>         +++++++++++++++
>         >>  testcases/kernel/connectors/pec/Makefile       |    1 +
>         >>  testcases/kernel/connectors/pec/pec_listener.c |    1 +
>         >>  5 files changed, 26 insertions(+), 5 deletions(-)
>         >>
>         >> diff -Nurp ltp-full-20080531.orig/runtest/connectors
>         >> ltp-full-20080531/runtest/connectors
>         >> --- ltp-full-20080531.orig/runtest/connectors   2008-06-26
>         >> 15:03:31.000000000 +0800
>         >> +++ ltp-full-20080531/runtest/connectors        2008-06-26
>         >> 15:15:24.000000000 +0800
>         >> @@ -1,2 +1,2 @@
>         >>  #DESCRIPTION:Netlink Connector tests
>         >> -Connectors run_pec_test
>         >> +Connectors connector_test.sh
>         >> diff -Nurp
>         >>
>         ltp-full-20080531.orig/testcases/kernel/connectors/connector_test.sh
>         >>
>         ltp-full-20080531/testcases/kernel/connectors/connector_test.sh
>         >> ---
>         ltp-full-20080531.orig/testcases/kernel/connectors/connector_test.sh
>         >>      1970-01-01 08:00:00.000000000 +0800
>         >> +++
>         ltp-full-20080531/testcases/kernel/connectors/connector_test.sh
>         >> 2008-06-26 15:55:42.000000000 +0800
>         >> @@ -0,0 +1,15 @@
>         >> +#! /bin/sh
>         >> +
>         >> +if [ -z $LTPROOT ]; then
>         >> +       export LTPROOT="`cd ../../.. && pwd`"
>         >> +        export PATH="$PATH:$LTPROOT/testcases/bin"
>         >> +fi
>         >> +
>         >> +tst_kvercmp 2 6 15
>         >> +if [ $? -eq 0 ]; then
>         >> +       echo "Connectors 0 CONF : system doesn't support
>         execution of the
>         >> test"
>         >> +       exit 0
>         >> +fi
>         >> +
>         >> +$LTPROOT/testcases/bin/run_pec_test
>         >> +
>         >> diff -Nurp
>         ltp-full-20080531.orig/testcases/kernel/connectors/Makefile
>         >> ltp-full-20080531/testcases/kernel/connectors/Makefile
>         >> ---
>         ltp-full-20080531.orig/testcases/kernel/connectors/Makefile
>         2008-06-26
>         >> 15:03:31.000000000 +0800
>         >> +++ ltp-full-20080531/testcases/kernel/connectors/Makefile
>              2008-06-26
>         >> 15:35:32.000000000 +0800
>         >> @@ -2,12 +2,16 @@ SUBDIRS = pec
>         >>
>         >>  all:
>         >>        @set -e; \
>         >> -       if ./tst_kvercmp 2 6 15; then \
>         >> +       if ../../bin/tst_kvercmp 2 6 15; then \
>         >>                 echo "system does not support process event
>         connector"; \
>         >> -       else $(MAKE) -C pec; true; fi
>         >> +       else for i in $(SUBDIRS); do $(MAKE) -C $$i $@;
>         done; true; fi
>         >>
>         >>  install:
>         >> -       @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i
>         install ; done
>         >> -
>         >> +       @set -e; \
>         >> +       ln -f
>         connector_test.sh ../../bin/connector_test.sh; \
>         >> +       chmod ugo+x connector_test.sh; \
>         >> +       if ../../bin/tst_kvercmp 2 6 15; then \
>         >> +               echo "system does not support process event
>         connector"; \
>         >> +       else for i in $(SUBDIRS); do $(MAKE) -C $$i
>         install; done; true; fi
>         >>  clean:
>         >>        @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i
>         clean ; done
>         >> diff -Nurp
>         ltp-full-20080531.orig/testcases/kernel/connectors/pec/Makefile
>         >> ltp-full-20080531/testcases/kernel/connectors/pec/Makefile
>         >> ---
>         ltp-full-20080531.orig/testcases/kernel/connectors/pec/Makefile
>         >> 2008-06-26 15:03:31.000000000 +0800
>         >> +++
>         ltp-full-20080531/testcases/kernel/connectors/pec/Makefile
>          2008-06-26
>         >> 15:48:44.000000000 +0800
>         >> @@ -9,5 +9,6 @@ all: $(TARGETS)
>         >>  install:
>         >>        @set -e; for i in $(TARGETS) ; do ln -f
>         $$i ../../../bin/$$i ; chmod
>         >> +x run_pec_test ; done ;
>         >>        ln -f run_pec_test ../../../bin/
>         >> +       chmod +x run_pec_test
>         >>  clean:
>         >>        rm -f $(TARGETS)
>         >> diff -Nurp
>         >>
>         ltp-full-20080531.orig/testcases/kernel/connectors/pec/pec_listener.c
>         >>
>         ltp-full-20080531/testcases/kernel/connectors/pec/pec_listener.c
>         >> ---
>         ltp-full-20080531.orig/testcases/kernel/connectors/pec/pec_listener.c
>         >>     2008-06-26 15:03:31.000000000 +0800
>         >> +++
>         ltp-full-20080531/testcases/kernel/connectors/pec/pec_listener.c
>         >>  2008-06-26 15:03:50.000000000 +0800
>         >> @@ -31,6 +31,7 @@
>         >>
>         >>  #include <linux/netlink.h>
>         >>  #include <linux/connector.h>
>         >> +#define _LINUX_TIME_H
>         >>  #include <linux/cn_proc.h>
>         >>
>         >>  #define PEC_MSG_SIZE (sizeof(struct cn_msg) +
>         sizeof(struct proc_event))
>         >>
>         >>
>         >>
>         >>
>         
> -------------------------------------------------------------------------
>         >> Check out the new SourceForge.net Marketplace.
>         >> It's the best place to buy or sell services for
>         >> just about anything Open Source.
>         >> http://sourceforge.net/services/buy/index.php
>         >> _______________________________________________
>         >> Ltp-list mailing list
>         >> [email protected]
>         >> https://lists.sourceforge.net/lists/listinfo/ltp-list
>         >>
>         >>
>         >
>         >
>         
> 
> 
> 
> 
> -- 
> Regards & Thanks--
> Subrata 
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________ Ltp-list mailing list 
> [email protected] 
> https://lists.sourceforge.net/lists/listinfo/ltp-list
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to