Skip to contentSkip to conversation

cgroup_fj tests fail to run due to missing cgroup_fj_testcases

LTP Srinivasa R Chamarthy 2 participants 8 messages Mar 23, 2010

lore
Share & tools
lore
#0 lore raw

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.

FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2010_Mar_23-13h_22m_15s.failed Running tests.......
<<<test_start>>>
tag=cgroup_fj stime=1269346936
cmdline=" run_cgroup_test_fj.sh"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
Now, we start the test for cgroup...
cat: cgroup_fj_testcases: No such file or directory <<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no cutime=6 cstime=2
<<<test_end>>>
INFO: ltp-pan reported all tests PASS
LTP Version: LTP-20100228

Eventhough the tests did not run, the results say all tests PASS. :)

Signature · 16 lines
Srinivasa R Chamarthy ([email protected])
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&#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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#1 lore raw
Quoted 6 lines · Srinivasa R Chamarthy

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 <[email protected]>
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

Let me have a look tomorrow where went wrong.
-Rishi

Quoted 39 lines

FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2010_Mar_23-13h_22m_15s.failed Running tests.......
<<<test_start>>>
tag=cgroup_fj stime=1269346936
cmdline=" run_cgroup_test_fj.sh"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
Now, we start the test for cgroup...
cat: cgroup_fj_testcases: No such file or directory <<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no cutime=6 cstime=2
<<<test_end>>>
INFO: ltp-pan reported all tests PASS
LTP Version: LTP-20100228

Eventhough the tests did not run, the results say all tests PASS. :)

Signature · 16 lines
Srinivasa R Chamarthy ([email protected])
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&#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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Signature · 16 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#2 lore raw

Hi Rishi,

Thanks for the info.

Quoted 77 lines · Rishikesh K Rajak
Quoted 6 lines · Srinivasa R Chamarthy

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 <[email protected]>
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

Let me have a look tomorrow where went wrong.
-Rishi

Quoted 39 lines

FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2010_Mar_23-13h_22m_15s.failed Running tests.......
<<<test_start>>>
tag=cgroup_fj stime=1269346936
cmdline=" run_cgroup_test_fj.sh"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
Now, we start the test for cgroup...
cat: cgroup_fj_testcases: No such file or directory <<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no cutime=6 cstime=2
<<<test_end>>>
INFO: ltp-pan reported all tests PASS
LTP Version: LTP-20100228

Eventhough the tests did not run, the results say all tests PASS. :)

Signature · 16 lines
Srinivasa R Chamarthy ([email protected])
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&#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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Signature · 5 lines
Thanks & Regards
Rishi
LTP Maintainer
IBM, LTC, Bangalore
Please join IRC #ltp @ irc.freenode.net
Signature · 16 lines
Srinivasa R Chamarthy ([email protected])
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&#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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#3 lore raw

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.

Quoted 100 lines · Srinivasa R Chamarthy

Hi Rishi,

Thanks for the info.

Quoted 77 lines · Rishikesh K Rajak
Quoted 6 lines · Srinivasa R Chamarthy

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 <[email protected]>
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

Let me have a look tomorrow where went wrong.
-Rishi

Quoted 39 lines

FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2010_Mar_23-13h_22m_15s.failed Running tests.......
<<<test_start>>>
tag=cgroup_fj stime=1269346936
cmdline=" run_cgroup_test_fj.sh"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
Now, we start the test for cgroup...
cat: cgroup_fj_testcases: No such file or directory <<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no cutime=6 cstime=2
<<<test_end>>>
INFO: ltp-pan reported all tests PASS
LTP Version: LTP-20100228

Eventhough the tests did not run, the results say all tests PASS. :)

Signature · 16 lines
Srinivasa R Chamarthy ([email protected])
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&#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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Signature · 5 lines
Thanks & Regards
Rishi
LTP Maintainer
IBM, LTC, Bangalore
Please join IRC #ltp @ irc.freenode.net
Signature · 16 lines
Srinivasa R Chamarthy ([email protected])
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&#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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Signature · 16 lines
Srinivasa R Chamarthy ([email protected])
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&#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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#4 lore raw

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.

Quoted 125 lines · Srinivasa R Chamarthy

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.

Quoted 100 lines · Srinivasa R Chamarthy

Hi Rishi,

Thanks for the info.

Quoted 77 lines · Rishikesh K Rajak
Quoted 6 lines · Srinivasa R Chamarthy

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 <[email protected]>
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

Let me have a look tomorrow where went wrong.
-Rishi

Quoted 39 lines

FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2010_Mar_23-13h_22m_15s.failed Running tests.......
<<<test_start>>>
tag=cgroup_fj stime=1269346936
cmdline=" run_cgroup_test_fj.sh"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
Now, we start the test for cgroup...
cat: cgroup_fj_testcases: No such file or directory <<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no cutime=6 cstime=2
<<<test_end>>>
INFO: ltp-pan reported all tests PASS
LTP Version: LTP-20100228

Eventhough the tests did not run, the results say all tests PASS. :)

Signature · 16 lines
Srinivasa R Chamarthy ([email protected])
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&#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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Signature · 5 lines
Thanks & Regards
Rishi
LTP Maintainer
IBM, LTC, Bangalore
Please join IRC #ltp @ irc.freenode.net
Signature · 16 lines
Srinivasa R Chamarthy ([email protected])
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&#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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Signature · 5 lines
Srinivasa R Chamarthy ([email protected])
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 ]
Signature · 16 lines
Srinivasa R Chamarthy ([email protected])
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&#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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#5 lore raw
Quoted 8 lines · Srinivasa R Chamarthy

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

Quoted 7 lines
        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.

Yes you are absolutely correct i feel.

-Rishi

Quoted 145 lines · Srinivasa R Chamarthy
Quoted 125 lines

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.

Quoted 100 lines · Srinivasa R Chamarthy

Hi Rishi,

Thanks for the info.

Quoted 77 lines · Rishikesh K Rajak
Quoted 6 lines · Srinivasa R Chamarthy

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 <[email protected]>
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

Let me have a look tomorrow where went wrong.
-Rishi

Quoted 39 lines

FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2010_Mar_23-13h_22m_15s.failed Running tests.......
<<<test_start>>>
tag=cgroup_fj stime=1269346936
cmdline=" run_cgroup_test_fj.sh"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
Now, we start the test for cgroup...
cat: cgroup_fj_testcases: No such file or directory <<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no cutime=6 cstime=2
<<<test_end>>>
INFO: ltp-pan reported all tests PASS
LTP Version: LTP-20100228

Eventhough the tests did not run, the results say all tests PASS. :)

Signature · 16 lines
Srinivasa R Chamarthy ([email protected])
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&#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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Signature · 5 lines
Thanks & Regards
Rishi
LTP Maintainer
IBM, LTC, Bangalore
Please join IRC #ltp @ irc.freenode.net
Signature · 16 lines
Srinivasa R Chamarthy ([email protected])
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&#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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Signature · 5 lines
Srinivasa R Chamarthy ([email protected])
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 ]
Signature · 16 lines
Srinivasa R Chamarthy ([email protected])
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&#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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Signature · 16 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#6 lore raw
In reply to Srinivasa R Chamarthy
Quoted 8 lines · Srinivasa R Chamarthy

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.

Quoted 8 lines

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.

Yes you are half correct. Actually the mentioned commit has renamed cgroup_fj_testcases with cgroup_fj_testcases.sh . I am not sure why. If we have changed the file then corresponding need to be changed in this file run_cgroup_test_fj.sh .

I will work tomorrow on this and meanwhile if we can get input from garret too.

-Rishi

Quoted 120 lines · Srinivasa R Chamarthy
Quoted 100 lines

Hi Rishi,

Thanks for the info.

Quoted 77 lines · Rishikesh K Rajak
Quoted 6 lines · Srinivasa R Chamarthy

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 <[email protected]>
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

Let me have a look tomorrow where went wrong.
-Rishi

Quoted 39 lines

FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2010_Mar_23-13h_22m_15s.failed Running tests.......
<<<test_start>>>
tag=cgroup_fj stime=1269346936
cmdline=" run_cgroup_test_fj.sh"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
Now, we start the test for cgroup...
cat: cgroup_fj_testcases: No such file or directory <<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no cutime=6 cstime=2
<<<test_end>>>
INFO: ltp-pan reported all tests PASS
LTP Version: LTP-20100228

Eventhough the tests did not run, the results say all tests PASS. :)

Signature · 16 lines
Srinivasa R Chamarthy ([email protected])
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&#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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Signature · 5 lines
Thanks & Regards
Rishi
LTP Maintainer
IBM, LTC, Bangalore
Please join IRC #ltp @ irc.freenode.net
Signature · 16 lines
Srinivasa R Chamarthy ([email protected])
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&#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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Signature · 16 lines
Srinivasa R Chamarthy ([email protected])
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&#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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Signature · 16 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#7 lore raw
In reply to Srinivasa R Chamarthy
Quoted 26 lines · Srinivasa R Chamarthy

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.

FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2010_Mar_23-13h_22m_15s.failed Running tests.......
<<<test_start>>>
tag=cgroup_fj stime=1269346936
cmdline=" run_cgroup_test_fj.sh"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
Now, we start the test for cgroup...
cat: cgroup_fj_testcases: No such file or directory <<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no cutime=6 cstime=2
<<<test_end>>>
INFO: ltp-pan reported all tests PASS
LTP Version: LTP-20100228

Quoted 1 line

Eventhough the tests did not run, the results say all tests PASS. :)

For the above report here is the quick fix i can think.

commit 391e757d43b3ac33a4a435e319ee77b1daa6da76

Author: Rishikesh K Rajak <[email protected]>
Date:   Tue Mar 23 20:07:34 2010 +0530

Fix the proper return for testcase.

Reported By: Srinivasa R Chamarthy <[email protected]> Signed-off By: Rishikesh K Rajak <[email protected]>

(quoted diff) +0 -0

b/testcases/kernel/controllers/cgroup_fj/run_cgroup_test_fj.sh index 7445725..672f37c 100755

testcases/kernel/controllers/cgroup_fj/run_cgroup_test_fj.sh +1 -1
@@ -129,4 +129,4 @@ do
        fi
 done
 
-exit 0;
+exit $ret;
Quoted 18 lines
Signature · 17 lines
-- 
Srinivasa R Chamarthy ([email protected])
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&#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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Signature · 16 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list