From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sfi-mx-1.v28.ch3.sourceforge.com ([172.29.28.121] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1Nu50x-0006hE-9P for ltp-list@lists.sourceforge.net; Tue, 23 Mar 2010 14:23:27 +0000 Received: from e28smtp08.in.ibm.com ([122.248.162.8]) by sfi-mx-1.v28.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) id 1Nu50v-0001WJ-Dz for ltp-list@lists.sourceforge.net; Tue, 23 Mar 2010 14:23:27 +0000 Received: from d28relay03.in.ibm.com (d28relay03.in.ibm.com [9.184.220.60]) by e28smtp08.in.ibm.com (8.14.3/8.13.1) with ESMTP id o2NDYcIN020099 for ; Tue, 23 Mar 2010 19:04:38 +0530 Received: from d28av04.in.ibm.com (d28av04.in.ibm.com [9.184.220.66]) by d28relay03.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o2NENFGC3444744 for ; Tue, 23 Mar 2010 19:53:15 +0530 Received: from d28av04.in.ibm.com (loopback [127.0.0.1]) by d28av04.in.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o2NENFEg005930 for ; Wed, 24 Mar 2010 01:23:15 +1100 Received: from localhost ([9.124.218.7]) by d28av04.in.ibm.com (8.14.3/8.13.1/NCO v10.0 AVin) with ESMTP id o2NENFW8005902 for ; Wed, 24 Mar 2010 01:23:15 +1100 Date: Tue, 23 Mar 2010 19:53:14 +0530 From: Srinivasa R Chamarthy Message-ID: <20100323142314.GA11852@chamarthy> References: <20100323122527.GA6017@chamarthy> <20100323131438.GA16182@linux.vnet.ibm.com> <20100323133224.GB6017@chamarthy> <20100323141040.GC6017@chamarthy> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20100323141040.GC6017@chamarthy> Subject: Re: [LTP] [BUG] cgroup_fj tests fail to run due to missing cgroup_fj_testcases List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: ltp-list@lists.sourceforge.net Sorry, i meant that the script run_cgroup_test_fj.sh executes another function called cgroup_fj_stress.sh with a parameter which is got from parsing the file cgroup_fj_testcases which will have test execution methods. The file cgroup_fj_testcases is parsed as follows: nlines=`cat cgroup_fj_testcases | wc -l` for i in `seq 1 $nlines` do CASETYPE=`sed -n "$i""p" cgroup_fj_testcases | cut -f1` CASECMD=`sed -n "$i""p" cgroup_fj_testcases | cut -f2` Which thus by CASECMD becomes parameter for cgroup_fj_stress.sh. I do not think that cgroup_fj_testcases should have any prefix as .sh as it is not meant to be a executable. May be instead of suffixing the file with .sh it could be left alone as a bare file without any suffix. On Tue, Mar 23, 2010 at 07:40:40PM +0530, Srinivasa R Chamarthy wrote: > Hi Rishi, > > There seems to be another issue here. There are two files with name as > cgroup_fj_testcases. one is the script which already has the suffix as .sh > (cgroup_fj_testcases.sh) which is executed by cgroup_fj tests. But there has > to be one more file which is bare cgroup_fj_testcases which is having the test > configurations that are run by the cgroup_fj_testcases.sh script. > > The bare configuration file cgroup_fj_testcases should have the test's to be > run configurations (i suppose). The testcase run_cgroup_test_fj.sh is > referencing cgroup_fj_testcases file as follows. > > nlines=`cat cgroup_fj_testcases | wc -l` > > I think this configuration file cgroup_fj_testcases is totally missing out in > the head. Let me know if i am correct. > > On Tue, Mar 23, 2010 at 07:02:24PM +0530, Srinivasa R Chamarthy wrote: > > Hi Rishi, > > > > Thanks for the info. > > > > On Tue, Mar 23, 2010 at 06:44:38PM +0530, Rishikesh K Rajak wrote: > > > On Tue, Mar 23, 2010 at 05:55:27PM +0530, Srinivasa R Chamarthy wrote: > > > > Hi LTP, > > > > > > > > cgroup_fj tests of controllers is currently failing due to missing file > > > > cgroup_fj_testcases after compilation. I see that the file cgroup_fj_testcases > > > > is existing in the source but it is not available in /opt/ltp after > > > > compilation. > > > > > > > > > Hi Srini, > > > > > > Thanks for reporting failure. > > > > > > Yes, looks like this commit is doing the changes from cgroup_fj_testcases to > > > cgroup_fj_testcases.sh . > > > > > > commit 223e12ee3f7fdb525746462747954552f0e07538 > > > Author: Garrett Cooper > > > Date: Mon Mar 8 07:46:02 2010 -0800 > > > > > > Fix install for cgroup_fj_testcases. > > > > > > Turns out this script wasn't being installed properly, and thus its > > > testcases were failing; fix by suffixing with .sh > > > > > > Signed-off-by: Garrett Cooper > > > > > > > > > > > > Let me have a look tomorrow where went wrong. > > > -Rishi > > > > > > > > FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2010_Mar_23-13h_22m_15s.failed > > > > Running tests....... > > > > <<>> > > > > tag=cgroup_fj stime=1269346936 > > > > cmdline=" run_cgroup_test_fj.sh" > > > > contacts="" > > > > analysis=exit > > > > <<>> > > > > incrementing stop > > > > Now, we start the test for cgroup... > > > > cat: cgroup_fj_testcases: No such file or directory > > > > <<>> > > > > initiation_status="ok" > > > > duration=0 termination_type=exited termination_id=0 corefile=no > > > > cutime=6 cstime=2 > > > > <<>> > > > > INFO: ltp-pan reported all tests PASS > > > > LTP Version: LTP-20100228 > > > > > > > > Eventhough the tests did not run, the results say all tests PASS. :) > > > > > > > > -- > > > > Srinivasa R Chamarthy (schamart@linux.vnet.ibm.com) > > > > Linux on System z (RedHat & Novell SuSE) CSVT, > > > > IBM India Systems & Technology Group/LTC - ISL, > > > > Bangalore - 560071, KA, INDIA. Off: +91-80-41776451 > > > > [ http://www.ibm.com/in/isl | http://www.ibm.com/linux/ltc ] > > > > > > > > ------------------------------------------------------------------------------ > > > > 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 > > > > > > -- > > > Thanks & Regards > > > Rishi > > > LTP Maintainer > > > IBM, LTC, Bangalore > > > Please join IRC #ltp @ irc.freenode.net > > > > -- > > Srinivasa R Chamarthy (schamart@linux.vnet.ibm.com) > > Linux on System z (RedHat & Novell SuSE) CSVT, > > IBM India Systems & Technology Group/LTC - ISL, > > Bangalore - 560071, KA, INDIA. Off: +91-80-41776451 > > [ http://www.ibm.com/in/isl | http://www.ibm.com/linux/ltc ] > > > > ------------------------------------------------------------------------------ > > 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 > > -- > Srinivasa R Chamarthy (schamart@linux.vnet.ibm.com) > Linux on System z (RedHat & Novell SuSE) CSVT, > IBM India Systems & Technology Group/LTC - ISL, > Bangalore - 560071, KA, INDIA. Off: +91-80-41776451 > [ http://www.ibm.com/in/isl | http://www.ibm.com/linux/ltc ] -- Srinivasa R Chamarthy (schamart@linux.vnet.ibm.com) Linux on System z (RedHat & Novell SuSE) CSVT, IBM India Systems & Technology Group/LTC - ISL, Bangalore - 560071, KA, INDIA. Off: +91-80-41776451 [ http://www.ibm.com/in/isl | http://www.ibm.com/linux/ltc ] ------------------------------------------------------------------------------ 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