On Mon, Oct 5, 2009 at 10:08 AM, Garrett Cooper <[email protected]> wrote: > Hi all, > I'm just reporting issues as I go and will go back and fix things > from my end as far as missing installation files are concerned, but > these are bugs that will need to be fixed in the individual scripts > that I've noted. > Thanks, > -Garrett > > <<<test_start>>> > tag=cgroup stime=1254736274 > cmdline=" cgroup_regression_test.sh" > contacts="" > analysis=exit > <<<test_output>>> > cgroup_regression_test 1 TPASS : no kernel bug was found > /scratch/ltp-install5/testcases/bin/cgroup_regression_test.sh: line > 121: 2884 Terminated ./fork_processes > cgroup_regression_test 2 TPASS : notify_on_release is inherited > cgroup_regression_test 3 TCONF : CONFIG_SCHED_DEBUG is not enabled > cgroup_regression_test 4 TCONF : CONFIG_LOCKDEP is not enabled > cgroup_regression_test 5 TPASS : no kernel bug was found > /scratch/ltp-install5/testcases/bin/cgroup_regression_test.sh: line > 296: 12285 Terminated sleep 100 > /scratch/ltp-install5/testcases/bin/cgroup_regression_test.sh: line > 316: ./test_6_1.sh: No such file or directory > /scratch/ltp-install5/testcases/bin/cgroup_regression_test.sh: line > 325: 12304 Terminated ./test_6_2 > cgroup_regression_test 6 TPASS : no kernel bug was found > /scratch/ltp-install5/testcases/bin/cgroup_regression_test.sh: line > 363: 13326 Terminated sleep 100 < cgroup/0 > /scratch/ltp-install5/testcases/bin/cgroup_regression_test.sh: line > 384: 13345 Terminated sleep 100 < cgroup/0 > cgroup_regression_test 7 TPASS : no kernel bug was found
Even when I fixed the installed files, I'm seeing indefinite hangs in cgroup_regression_test: cgroup_regression_test 1 TPASS : no kernel bug was found /scratch/ltp-install5/testcases/bin/cgroup_regression_test.sh: line 121: 26499 Terminated ./fork_processes cgroup_regression_test 2 TPASS : notify_on_release is inherited cgroup_regression_test 3 TCONF : CONFIG_SCHED_DEBUG is not enabled cgroup_regression_test 4 TCONF : CONFIG_LOCKDEP is not enabled mount: xxx already mounted or cgroup/ busy cgroup_regression_test 5 TFAIL : mount freezer and devices failed /scratch/ltp-install5/testcases/bin/cgroup_regression_test.sh: line 324: 1801 Terminated ./test_6_2 cgroup_regression_test 6 TPASS : no kernel bug was found umount: cgroup/: not mounted mount: xxx already mounted or cgroup/ busy cgroup_regression_test 7 TFAIL : failed to mount freezer /scratch/ltp-install5/testcases/bin/cgroup_regression_test.sh: line 384: 11610 Terminated sleep 100 < cgroup/0 cgroup_regression_test 7 TPASS : no kernel bug was found <<<execution_status>>> initiation_status="ok" duration=17888 termination_type=signaled termination_id=15 corefile=no cutime=300 cstime=1560 <<<test_end>>> <<<test_start>>> I'm not surprised after looking at the script because there are a number of wait(1) call's that wait on spawned PID's and I'm not sure whether or not they are being handled appropriately. Perhaps the script should be rewritten to either: a) Not use wait; a while loop with kill 0 should work better. b) Install an alarm / trap call (not possible with bourne shell). c) Be written in another language (C or python -- that seems to be our other language, as per power_management), that is capable of non-blocking based waits. Thanks, -Garrett ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
