* [LTP] [PATCH 04/05] Add Script which will be at the heart of this infrastructure
2009-08-11 17:29 [LTP] [PATCH 00/05] Integration of "Fault Injection Framework" into LTP Subrata Modak
` (2 preceding siblings ...)
2009-08-11 17:30 ` [LTP] [PATCH 03/05] Add Script so the kernel is restored back to its original pristine form Subrata Modak
@ 2009-08-11 17:30 ` Subrata Modak
2009-08-12 8:42 ` Garrett Cooper
2009-08-11 17:31 ` [LTP] [PATCH 05/05] Add the necessary Interface and Option through "runltp" Subrata Modak
2009-08-11 17:31 ` [LTP] [RESULTS] Results of test run for "Fault Injection Framework" Subrata Modak
5 siblings, 1 reply; 15+ messages in thread
From: Subrata Modak @ 2009-08-11 17:30 UTC (permalink / raw)
To: LTP Mailing List
Cc: Sachin P Sant, Mike Frysinger, Michael Reed, Nate Straz,
Paul Larson, Manoj Iyer, Balbir Singh
At the heart of this infrastructure is this Script, which will actually:
1) Change the temporary command file generated by runltp,
2) Create a new temporary command file which will have the following entries
against each one entry in the command file:
i) Same TAG COMMAND_LINE entry,
ii) Entry to call the script to insert faults,
iii) Entry to run as many loops as specified by the user,
iv) Entry to call the script to restore kernel to default state,
It is capable of creating new entries in the temporary command file with the
following tags and command lines:
TAG_NAME=tag1, COMMANDLINE="test1",
TAG_NAME=tag1_loop1, COMMANDLINE="insert_fault_in_kernel; test1",
TAG_NAME=tag1_loop2, COMMANDLINE="test1",
...
TAG_NAME=tag1_loopn, COMMANDLINE="test1; restore_default_kernel",
Signed-off-by: Subrata Modak <subrata@linux.vnet.ibm.com>
---
diff -uprN ltp-full-20090731.orig/tools/create_kernel_faults_in_loops_and_probability.pl ltp-full-20090731/tools/create_kernel_faults_in_loops_and_probability.pl
--- ltp-full-20090731.orig/tools/create_kernel_faults_in_loops_and_probability.pl 1970-01-01 05:30:00.000000000 +0530
+++ ltp-full-20090731/tools/create_kernel_faults_in_loops_and_probability.pl 2009-08-11 20:23:54.000000000 +0530
@@ -0,0 +1,97 @@
+#!/usr/bin/perl
+################################################################################
+## ##
+## Copyright (c) International Business Machines Corp., 2009 ##
+## ##
+## This program is free software; you can redistribute it and/or modify ##
+## it under the terms of the GNU General Public License as published by ##
+## the Free Software Foundation; either version 2 of the License, or ##
+## (at your option) any later version. ##
+## ##
+## This program is distributed in the hope that it will be useful, but ##
+## WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ##
+## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ##
+## for more details. ##
+## ##
+## You should have received a copy of the GNU General Public License ##
+## along with this program; if not, write to the Free Software ##
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ##
+## ##
+################################################################################
+# ##
+# File : create_kernel_faults_in_loops_and_probability.pl ##
+# ##
+# Usage: create_kernel_faults_in_loops_and_probability.pl\ ##
+# <LTP_COMMAND_FILE> <NO_OF_LOOPS_EACH_TEST_WILL_RUN>\ ##
+# <PROBABILITY_OF_FAULT_INJECTION> ##
+# ##
+# Description: This is a simple perl script which will take ltp command file ##
+# as input and then create a final command file while will have ##
+# the following entries for each test tag: ##
+# 1) <tag_name_loop1> <test_binary_name> ##
+# 2) <tag_name_loop2> <insert_kernel_faults.sh test_binary_name>##
+# 3) tag entried from loop3 to loop(n-1) ##
+# 4) <tag_name_loopn> <restore_kernel_faults_default.sh test_binary_name>##
+# ##
+# Author: Subrata Modak <subrata@linux.vnet.ibm.com> ##
+# ##
+# History: Aug 11 2009 - Created - Subrata Modak. ##
+################################################################################
+
+my $command_file = shift (@ARGV) || syntax();
+my $loops = shift (@ARGV) || syntax();
+my $failure_probability = shift (@ARGV) || syntax();
+
+sub syntax() {
+ print "syntax: create_fault_in_loops_and_probability.pl\
+ <LTP_COMMAND_FILE> <NO_OF_LOOPS_EACH_TEST_WILL_RUN>\
+ <PROBABILITY_OF_FAULT_INJECTION>\n";
+ exit (1);
+}
+#$ENV{TEST_START_TIME})
+
+
+open (FILE, $command_file) || die "Cannot open file: $command_file\n";
+while ($line = <FILE>) {
+ if ($line =~ /^#/) {
+ print "$line";
+ next;
+ }
+ if ($line =~ /^\n$/) {
+ next;
+ }
+ chomp $line;
+ print "$line\n"; #Print one instance for stable execution
+ @tag_and_actual_command = split(/\ /, $line);
+
+ #The remaining loops should be running under fault injection
+ for ($counter=1; $counter<=$loops; $counter++) {
+ my $token_counter = 0;
+ foreach my $token (@tag_and_actual_command) {
+ if ($token_counter == 0 ) {
+ #Time to append the actual command tag with the loop no.
+ print $token . "_loop_" . $counter . " ";
+ $token_counter++;
+ next;
+ }
+ if ($token_counter == 1 && $counter == 1) {
+ #Time to include the fault injection script in the first loop
+ print "\$LTPROOT/tools/insert_kernel_faults.sh " . $failure_probability . "; " . $token;
+ $token_counter++;
+ next;
+ }
+ print " " . $token . " ";
+ }
+ if ($counter == $loops) {
+ #Time to withdraw the faults once the last loop has been executed
+ #Until all faults has been successfully restored to default values...
+ #Keep restoring them
+ print "; " . "\$LTPROOT/tools/restore_kernel_faults_default.sh; RC=\$?; while [ \$RC -ne 0 ]; do \$LTPROOT/tools/restore_kernel_faults_default.sh; RC=\$?; done\n"
+ } else {
+ print "\n"
+ }
+ }
+
+}
+close (FILE);
+
---
Regards--
Subrata
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 15+ messages in thread* [LTP] [PATCH 05/05] Add the necessary Interface and Option through "runltp"
2009-08-11 17:29 [LTP] [PATCH 00/05] Integration of "Fault Injection Framework" into LTP Subrata Modak
` (3 preceding siblings ...)
2009-08-11 17:30 ` [LTP] [PATCH 04/05] Add Script which will be at the heart of this infrastructure Subrata Modak
@ 2009-08-11 17:31 ` Subrata Modak
2009-08-11 18:02 ` Paul Larson
` (2 more replies)
2009-08-11 17:31 ` [LTP] [RESULTS] Results of test run for "Fault Injection Framework" Subrata Modak
5 siblings, 3 replies; 15+ messages in thread
From: Subrata Modak @ 2009-08-11 17:31 UTC (permalink / raw)
To: LTP Mailing List
Cc: Sachin P Sant, Mike Frysinger, Michael Reed, Nate Straz,
Paul Larson, Manoj Iyer, Balbir Singh
Change the runltp script to actually create an interface for the user:
1) Introduce a new option "-F" for ability to run tests under "Fault Injection Framework",
2) "./runltp -h" will display the new option,
3) Verifies whether Kernel has built-in capabilities for "Fault Injection",
Signed-off-by: Subrata Modak <subrata@linux.vnet.ibm.com>
---
--- ltp-full-20090731.orig/runltp 2009-08-11 16:55:24.000000000 +0530
+++ ltp-full-20090731/runltp 2009-08-11 20:28:58.000000000 +0530
@@ -106,6 +106,7 @@ usage()
usage: ./${0##*/} [ -a EMAIL_TO ] [ -c NUM_PROCS ] [ -C FAILCMDFILE ] [ -d TMPDIR ]
[ -D NUM_PROCS,NUM_FILES,NUM_BYTES,CLEAN_FLAG ] -e [ -f CMDFILES(,...) ] [ -g HTMLFILE]
[ -i NUM_PROCS ] [ -l LOGFILE ] [ -m NUM_PROCS,CHUNKS,BYTES,HANGUP_FLAG ]
+ [ -F LOOPS,PERCENTAGE ]
-N -n [ -o OUTPUTFILE ] -p -q [ -r LTPROOT ] [ -s PATTERN ] [ -t DURATION ]
-v [ -w CMDFILEADDR ] [ -x INSTANCES ] [ -b DEVICE ] [-B DEVICE_FS_TYPE]
@@ -123,6 +124,7 @@ usage()
[CLEAN_FLAG = unlink file to which random data written, when value 1]
-e Prints the date of the current LTP release
-f CMDFILES Execute user defined list of testcases (separate with ',')
+ -F LOOPS,PERCENTAGE Induce PERCENTAGE Fault in the Kernel Subsystems, and, run each test for LOOPS loop
-g HTMLFILE Create an additional HTML output format
-h Help. Prints all available options.
-i NUM_PROCS Run LTP under additional background Load on IO Bus
@@ -180,6 +182,9 @@ main()
local DURATION=""
local CMDFILEADDR=""
local FAILCMDFILE=""
+ local INJECT_KERNEL_FAULT=""
+ local INJECT_KERNEL_FAULT_PERCENTAGE=""
+ local INJECT_FAULT_LOOPS_PER_TEST=""
local LOGFILE_NAME=""
local LOGFILE=""
local OUTPUTFILE_NAME=""
@@ -193,7 +198,7 @@ main()
local DEFAULT_FILE_NAME_GENERATION_TIME=`date +"%Y_%b_%d-%Hh_%Mm_%Ss"`
version_date=`head -n 1 $LTPROOT/ChangeLog`
- while getopts a:c:C:d:D:f:ehi:g:l:m:Nno:pqr:s:t:T:vw:x:b:B: arg
+ while getopts a:c:C:d:D:f::F:ehi:g:l:m:Nno:pqr:s:t:T:vw:x:b:B: arg
do case $arg in
a) EMAIL_TO=$OPTARG
ALT_EMAIL_OUT=1;;
@@ -263,6 +268,18 @@ main()
# Can be more then one file, just separate it with ',', like:
# -f nfs,commands,/tmp/testfile
CMDFILES=$OPTARG;;
+ F) INJECT_KERNEL_FAULT=1
+ #Seperate out the NO_OF_LOOPS & FAULT_PERCENTAGE
+ INJECT_FAULT_LOOPS_PER_TEST=`echo $OPTARG |cut -d',' -f1 | tr -d '\n' | tr -d ' '`
+ INJECT_KERNEL_FAULT_PERCENTAGE=`echo $OPTARG |cut -d',' -f2 | tr -d '\n' | tr -d ' '`
+ if [ ! $INJECT_FAULT_LOOPS_PER_TEST ]; then
+ echo "Loops not properly defined. Resorting to default 5..."
+ export INJECT_FAULT_LOOPS_PER_TEST=5
+ fi
+ if [ ! $INJECT_KERNEL_FAULT_PERCENTAGE ]; then
+ echo "Fault Persentage not properly defined. Resorting to default 10..."
+ export INJECT_KERNEL_FAULT_PERCENTAGE=10
+ fi;;
g) HTMLFILE_NAME="$OPTARG"
case $OPTARG in
/*)
@@ -738,6 +755,28 @@ main()
echo "Running tests......."
test_start_time=$(date)
+ # User wants testing with Kernel Fault Injection
+ if [ $INJECT_KERNEL_FAULT -eq 1 ] ; then
+ #See if Debugfs is mounted, and
+ #Fault Injection Framework available through Debugfs
+ if [ -d "/debug/fail_io_timeout" -o \
+ -d "/debug/fail_make_request" -o \
+ -d "/debug/fail_page_alloc" -o \
+ -d "/debug/failslab" ]; then
+ #If atleast one of the Framework is available
+ #Go ahead to Inject Fault & Create required
+ #Command Files for LTP run
+ echo Running tests with Fault Injection Enabled in the Kernel...
+ ${LTPROOT}/tools/create_kernel_faults_in_loops_and_probability.pl\
+ ${TMP}/alltests $INJECT_FAULT_LOOPS_PER_TEST $INJECT_KERNEL_FAULT_PERCENTAGE > ${TMP}/alltests.tmp
+ cp ${TMP}/alltests.tmp ${TMP}/alltests
+ rm -rf ${TMP}/alltests.tmp
+ else
+ echo Fault Injection not enabled in the Kernel..
+ echo Running tests normally...
+ fi
+ fi
+
# Some tests need to run inside the "bin" directory.
cd "${LTPROOT}/testcases/bin"
${LTPROOT}/pan/ltp-pan $QUIET_MODE -e -S $INSTANCES $DURATION -a $$ -n $$ $PRETTY_PRT -f ${TMP}/alltests $LOGFILE $OUTPUTFILE $FAILCMDFILE
---
Regards--
Subrata
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 15+ messages in thread* [LTP] [RESULTS] Results of test run for "Fault Injection Framework"
2009-08-11 17:29 [LTP] [PATCH 00/05] Integration of "Fault Injection Framework" into LTP Subrata Modak
` (4 preceding siblings ...)
2009-08-11 17:31 ` [LTP] [PATCH 05/05] Add the necessary Interface and Option through "runltp" Subrata Modak
@ 2009-08-11 17:31 ` Subrata Modak
5 siblings, 0 replies; 15+ messages in thread
From: Subrata Modak @ 2009-08-11 17:31 UTC (permalink / raw)
To: LTP Mailing List
Cc: Sachin P Sant, Mike Frysinger, Michael Reed, Nate Straz,
Paul Larson, Manoj Iyer, Balbir Singh
Now comes the actual test output the framework will generate. Below are the test
results with and without this Infrastructure on my following machine:
# uname -a
Linux 2.6.29-gcov #1 SMP Fri Jun 19 12:14:27 IST 2009 i686 i686 i386 GNU/Linux
# /runltp -f mm -o ltp_without_fault_injection.out
================================================================================
<<<test_start>>>
tag=mm01 stime=1250003204
cmdline="mmap001 -m 10000"
contacts=""
analysis=exit
<<<test_output>>>
mmap001 0 TINFO : mmap()ing file of 10000 pages or 40960000 bytes
mmap001 1 TPASS : mmap() completed successfully.
mmap001 0 TINFO : touching mmaped memory
mmap001 2 TPASS : we're still here, mmaped area must be good
mmap001 3 TPASS : msync() was successful
mmap001 4 TPASS : munmap() was successful
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=4 cstime=52
<<<test_end>>>
<<<test_start>>>
tag=mm02 stime=1250003205
cmdline="mmap001"
contacts=""
analysis=exit
<<<test_output>>>
mmap001 0 TINFO : mmap()ing file of 1000 pages or 4096000 bytes
mmap001 1 TPASS : mmap() completed successfully.
mmap001 0 TINFO : touching mmaped memory
mmap001 2 TPASS : we're still here, mmaped area must be good
mmap001 3 TPASS : msync() was successful
mmap001 4 TPASS : munmap() was successful
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=5
<<<test_end>>>
<<<test_start>>>
tag=mtest01 stime=1250003205
cmdline="mtest01 -p80"
contacts=""
analysis=exit
<<<test_output>>>
mtest01 0 TINFO : Total memory used needed to reach maxpercent = 4923782 kbytes
mtest01 0 TINFO : Total memory already used on system = 205396 kbytes
mtest01 0 TINFO : Filling up 80% of ram which is 4718386 kbytes
mtest01 1 TPASS : 4718386 kbytes allocated only.
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=mtest01w stime=1250003205
cmdline="mtest01 -p80 -w"
contacts=""
analysis=exit
<<<test_output>>>
mtest01 0 TINFO : Total memory used needed to reach maxpercent = 4923782 kbytes
mtest01 0 TINFO : Total memory already used on system = 215896 kbytes
mtest01 0 TINFO : Filling up 80% of ram which is 4707886 kbytes
mtest01 1 TPASS : 4707886 kbytes allocated and used.
<<<execution_status>>>
initiation_status="ok"
duration=60 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=mtest05 stime=1250003265
cmdline=" mmstress"
contacts=""
analysis=exit
<<<test_output>>>
mmstress 0 TINFO : run mmstress -h for all options
mmstress 0 TINFO : test1: Test case tests the race condition between simultaneous read faults in the same address space.
mmstress 1 TPASS : TEST 1 Passed
mmstress 0 TINFO : test2: Test case tests the race condition between simultaneous write faults in the same address space.
mmstress 2 TPASS : TEST 2 Passed
mmstress 0 TINFO : test3: Test case tests the race condition between simultaneous COW faults in the same address space.
mmstress 3 TPASS : TEST 3 Passed
mmstress 0 TINFO : test4: Test case tests the race condition between simultaneous READ faults in the same address space. The file mapped is /dev/zero
mmstress 4 TPASS : TEST 4 Passed
mmstress 0 TINFO : test5: Test case tests the race condition between simultaneous fork - exit faults in the same address space.
mmstress 5 TPASS : TEST 5 Passed
mmstress 0 TINFO : test6: Test case tests the race condition between simultaneous fork -exec - exit faults in the same address space.
mmstress 6 TPASS : TEST 6 Passed
mmstress 7 TPASS : Test Passed
<<<execution_status>>>
initiation_status="ok"
duration=7 termination_type=exited termination_id=0 corefile=no
cutime=2 cstime=782
<<<test_end>>>
<<<test_start>>>
tag=mtest06_2 stime=1250003272
cmdline="mmap2 -x 0.002 -a -p"
contacts=""
analysis=exit
<<<test_output>>>
MM Stress test, map/write/unmap large file
Test scheduled to run for: 0.002000
Size of temp file in GB: 1
file mapped at 0x7c53b000
changing file content to 'A'
unmapped file at 0x7c53b000
file mapped at 0x7c53b000
changing file content to 'A'
unmapped file at 0x7c53b000
file mapped at 0x7c53b000
changing file content to 'A'
Test ended, success
<<<execution_status>>>
initiation_status="ok"
duration=7 termination_type=exited termination_id=0 corefile=no
cutime=45 cstime=668
<<<test_end>>>
<<<test_start>>>
tag=mtest06_3 stime=1250003279
cmdline="mmap3 -x 0.002 -p"
contacts=""
analysis=exit
<<<test_output>>>
Test is set to run with the following parameters:
Duration of test: [0.002000]hrs
Number of threads created: [40]
number of map-write-unmaps: [1000]
map_private?(T=1 F=0): [1]
Map address = 0xa3ed6000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa335a000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3480000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3ed6000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3918000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa35a6000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3a3e000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa37f2000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3db0000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3c8a000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa36cc000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3b64000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa2369000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3735000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa1fb8000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3ae6000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa385b000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa287f000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa2d95000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa20de000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3d71000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa25f4000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa0906000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3020000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa1d2d000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa1817000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3536000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa0f8f000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa32ab000
Num iter: [1]
Total Num Iter: [1000]Map address = 0x9ed14000
Num iter: [2]
Total Num Iter: [1000]Map address = 0xa0d90000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa2b0a000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa118e000
Num iter: [1]
Total Num Iter: [1000]Map address = 0x9eb15000
Num iter: [1]
Total Num Iter: [1000]Map address = 0x9ef13000
Num iter: [2]
Total Num Iter: [1000]Map address = 0xa010a000
Num iter: [2]
Total Num Iter: [1000]Map address = 0x9ff0b000
Num iter: [2]
Total Num Iter: [1000]Map address = 0xa0309000
Num iter: [2]
Total Num Iter: [1000]Map address = 0xa1aa2000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa23f5000
Num iter: [2]
Total Num Iter: [1000]Map address = 0x9f90e000
Num iter: [2]
Total Num Iter: [1000]Map address = 0x9fb0d000
Num iter: [1]
Total Num Iter: [1000]Map address = 0x9f112000
Num iter: [2]
Total Num Iter: [1000]Map address = 0xa0b91000
Num iter: [1]
Total Num Iter: [1000]Map address = 0x9f510000
Num iter: [2]
Total Num Iter: [1000]Map address = 0xa0508000
Num iter: [2]
Total Num Iter: [1000]Map address = 0xa138d000
Num iter: [1]
Total Num Iter: [1000]Map address = 0x9fd0c000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa158c000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3a9b000
Num iter: [2]
Total Num Iter: [1000]Map address = 0xa0707000
Num iter: [2]
Total Num Iter: [1000]Map address = 0x9f70f000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa37c5000
Num iter: [2]
Total Num Iter: [1000]Map address = 0xa3d26000
Num iter: [2]
Total Num Iter: [1000]Map address = 0x9f311000
Num iter: [2]
Total Num Iter: [1000]Test ended, success
<<<execution_status>>>
initiation_status="ok"
duration=8 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=521
<<<test_end>>>
<<<test_start>>>
tag=mem01 stime=1250003287
cmdline="mem01"
contacts=""
analysis=exit
<<<test_output>>>
mem01 0 TINFO : Free Mem: 1962 Mb
mem01 0 TINFO : Free Swap: 3944 Mb
mem01 0 TINFO : Total Free: 5906 Mb
mem01 0 TINFO : Total Tested: 1008 Mb
mem01 0 TINFO : touching 1008MB of malloc'ed memory (linear)
mem01 1 TPASS : malloc - alloc of 1008MB succeeded
<<<execution_status>>>
initiation_status="ok"
duration=3 termination_type=exited termination_id=0 corefile=no
cutime=7 cstime=289
<<<test_end>>>
<<<test_start>>>
tag=mem02 stime=1250003290
cmdline="mem02"
contacts=""
analysis=exit
<<<test_output>>>
mem02 1 TPASS : calloc - calloc of 64MB of memory succeeded
mem02 2 TPASS : malloc - malloc of 64MB of memory succeeded
mem02 3 TPASS : realloc - realloc of 5 bytes succeeded
mem02 4 TPASS : realloc - realloc of 15 bytes succeeded
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=38 cstime=37
<<<test_end>>>
<<<test_start>>>
tag=mem03 stime=1250003290
cmdline="mem03"
contacts=""
analysis=exit
<<<test_output>>>
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=page01 stime=1250003291
cmdline="page01"
contacts=""
analysis=exit
<<<test_output>>>
page01 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=6 cstime=24
<<<test_end>>>
<<<test_start>>>
tag=page02 stime=1250003292
cmdline="page02"
contacts=""
analysis=exit
<<<test_output>>>
page02 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=2
<<<test_end>>>
<<<test_start>>>
tag=data_space stime=1250003293
cmdline="data_space"
contacts=""
analysis=exit
<<<test_output>>>
data_space 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=258 cstime=5
<<<test_end>>>
<<<test_start>>>
tag=stack_space stime=1250003294
cmdline="stack_space"
contacts=""
analysis=exit
<<<test_output>>>
stack_space 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=9 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmt02 stime=1250003294
cmdline="shmt02"
contacts=""
analysis=exit
<<<test_output>>>
shmt02 1 TPASS : shmget
shmt02 2 TPASS : shmat
shmt02 3 TPASS : Correct shared memory contents
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmt03 stime=1250003294
cmdline="shmt03"
contacts=""
analysis=exit
<<<test_output>>>
shmt03 1 TPASS : shmget
shmt03 2 TPASS : 1st shmat
shmt03 3 TPASS : 2nd shmat
shmt03 4 TPASS : Correct shared memory contents
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmt04 stime=1250003294
cmdline="shmt04"
contacts=""
analysis=exit
<<<test_output>>>
shmt04 1 TPASS : shmget,shmat
shmt04 2 TPASS : shmdt
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmt05 stime=1250003294
cmdline="shmt05"
contacts=""
analysis=exit
<<<test_output>>>
shmt05 1 TPASS : shmget & shmat
shmt05 2 TPASS : 2nd shmget & shmat
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmt06 stime=1250003294
cmdline="shmt06"
contacts=""
analysis=exit
<<<test_output>>>
shmt06 1 TPASS : shmget,shmat
shmt06 2 TPASS : shmdt
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmt07 stime=1250003294
cmdline="shmt07"
contacts=""
analysis=exit
<<<test_output>>>
shmt07 1 TPASS : shmget,shmat
shmt07 1 TPASS : shmget,shmat
shmt07 2 TPASS : cp & cp+1 correct
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmt08 stime=1250003294
cmdline="shmt08"
contacts=""
analysis=exit
<<<test_output>>>
shmt08 1 TPASS : shmget,shmat
shmt08 2 TPASS : shmdt
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmt09 stime=1250003294
cmdline="shmt09"
contacts=""
analysis=exit
<<<test_output>>>
shmt09 1 TPASS : sbrk, sbrk, shmget, shmat
shmt09 2 TPASS : sbrk, shmat
shmt09 3 TPASS : sbrk, shmat
shmt09 4 TPASS : sbrk
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmt10 stime=1250003294
cmdline="shmt10"
contacts=""
analysis=exit
<<<test_output>>>
shmt10 1 TPASS : shmat,shmdt
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=3
<<<test_end>>>
<<<test_start>>>
tag=shm_test01 stime=1250003294
cmdline="shm_test -l 10 -t 2"
contacts=""
analysis=exit
<<<test_output>>>
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1212420
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6f02000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1212420
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6e55000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1245189
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6f02000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1245189
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6e55000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1277956
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6f02000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1277956
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6e55000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1310725
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6f02000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1310725
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6e55000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1343492
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6f02000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1343492
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6e55000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1376261
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6f02000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1376261
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6e55000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1409028
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6f02000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1409028
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6e55000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1441797
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6f02000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1441797
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6e55000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1474564
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6f02000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1474564
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6e55000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1507333
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6f02000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1507333
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6e55000
<<<execution_status>>>
initiation_status="ok"
duration=31 termination_type=exited termination_id=0 corefile=no
cutime=724 cstime=5363
<<<test_end>>>
<<<test_start>>>
tag=mallocstress01 stime=1250003325
cmdline="mallocstress"
contacts=""
analysis=exit
<<<test_output>>>
Thread [47]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [43]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [39]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [31]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [23]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [35]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [7]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [11]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [3]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [15]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [51]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [19]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [55]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [27]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [59]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [54]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [38]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [14]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [10]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [46]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [42]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [34]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [18]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [22]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [50]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [58]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [6]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [30]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [26]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [2]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [41]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [21]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [33]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [57]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [49]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [13]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [29]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [45]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [53]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [17]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [9]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [1]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [37]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [25]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [5]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [32]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [36]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [12]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [56]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [48]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [52]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [24]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [16]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [40]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [44]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [4]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [28]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [0]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [8]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [20]: allocate_free() returned 0, succeeded. Thread exiting.
main(): test passed.
<<<execution_status>>>
initiation_status="ok"
duration=8 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=787
<<<test_end>>>
<<<test_start>>>
tag=mmapstress01 stime=1250003333
cmdline="mmapstress01 -p 20 -t 0.2"
contacts=""
analysis=exit
<<<test_output>>>
file data okay
mmapstress01 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=12 termination_type=exited termination_id=0 corefile=no
cutime=1371 cstime=758
<<<test_end>>>
<<<test_start>>>
tag=mmapstress02 stime=1250003345
cmdline="mmapstress02"
contacts=""
analysis=exit
<<<test_output>>>
mmapstress02 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=mmapstress03 stime=1250003345
cmdline="mmapstress03"
contacts=""
analysis=exit
<<<test_output>>>
mmapstress03 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=mmapstress04 stime=1250003345
cmdline="TMPFILE=`mktemp /tmp/example.XXXXXXXXXX`; ls -lR /usr/include/ > $TMPFILE; mmapstress04 $TMPFILE"
contacts=""
analysis=exit
<<<test_output>>>
mmapstress04 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=8 termination_type=exited termination_id=0 corefile=no
cutime=32 cstime=201
<<<test_end>>>
<<<test_start>>>
tag=mmapstress05 stime=1250003353
cmdline="mmapstress05"
contacts=""
analysis=exit
<<<test_output>>>
mmapstress05 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=mmapstress06 stime=1250003353
cmdline="mmapstress06 20"
contacts=""
analysis=exit
<<<test_output>>>
mmapstress06 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=20 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=mmapstress07 stime=1250003373
cmdline="TMPFILE=`mktemp /tmp/example.XXXXXXXXXXXX`; mmapstress07 $TMPFILE"
contacts=""
analysis=exit
<<<test_output>>>
mmapstress07 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=2 cstime=21
<<<test_end>>>
<<<test_start>>>
tag=mmapstress08 stime=1250003374
cmdline="mmapstress08"
contacts=""
analysis=exit
<<<test_output>>>
mmapstress08 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=mmapstress09 stime=1250003374
cmdline="mmapstress09 -p 20 -t 0.2"
contacts=""
analysis=exit
<<<test_output>>>
map data okay
mmapstress09 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=12 termination_type=exited termination_id=0 corefile=no
cutime=1401 cstime=730
<<<test_end>>>
<<<test_start>>>
tag=mmapstress10 stime=1250003386
cmdline="mmapstress10 -p 20 -t 0.2"
contacts=""
analysis=exit
<<<test_output>>>
file data okay
mmapstress10 1 TPASS : Test passed
incrementing stop
<<<execution_status>>>
initiation_status="ok"
duration=12 termination_type=exited termination_id=0 corefile=no
cutime=992 cstime=1123
<<<test_end>>>
================================================================================
================================================================================
# ./runltp -f mm -F 6,15 -o ltp_with_fault_injection.out
================================================================================
<<<test_start>>>
tag=mm01 stime=1250003204
cmdline="mmap001 -m 10000"
contacts=""
analysis=exit
<<<test_output>>>
mmap001 0 TINFO : mmap()ing file of 10000 pages or 40960000 bytes
mmap001 1 TPASS : mmap() completed successfully.
mmap001 0 TINFO : touching mmaped memory
mmap001 2 TPASS : we're still here, mmaped area must be good
mmap001 3 TPASS : msync() was successful
mmap001 4 TPASS : munmap() was successful
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=4 cstime=52
<<<test_end>>>
<<<test_start>>>
tag=mm02 stime=1250003205
cmdline="mmap001"
contacts=""
analysis=exit
<<<test_output>>>
mmap001 0 TINFO : mmap()ing file of 1000 pages or 4096000 bytes
mmap001 1 TPASS : mmap() completed successfully.
mmap001 0 TINFO : touching mmaped memory
mmap001 2 TPASS : we're still here, mmaped area must be good
mmap001 3 TPASS : msync() was successful
mmap001 4 TPASS : munmap() was successful
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=5
<<<test_end>>>
<<<test_start>>>
tag=mtest01 stime=1250003205
cmdline="mtest01 -p80"
contacts=""
analysis=exit
<<<test_output>>>
mtest01 0 TINFO : Total memory used needed to reach maxpercent = 4923782 kbytes
mtest01 0 TINFO : Total memory already used on system = 205396 kbytes
mtest01 0 TINFO : Filling up 80% of ram which is 4718386 kbytes
mtest01 1 TPASS : 4718386 kbytes allocated only.
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=mtest01w stime=1250003205
cmdline="mtest01 -p80 -w"
contacts=""
analysis=exit
<<<test_output>>>
mtest01 0 TINFO : Total memory used needed to reach maxpercent = 4923782 kbytes
mtest01 0 TINFO : Total memory already used on system = 215896 kbytes
mtest01 0 TINFO : Filling up 80% of ram which is 4707886 kbytes
mtest01 1 TPASS : 4707886 kbytes allocated and used.
<<<execution_status>>>
initiation_status="ok"
duration=60 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=mtest05 stime=1250003265
cmdline=" mmstress"
contacts=""
analysis=exit
<<<test_output>>>
mmstress 0 TINFO : run mmstress -h for all options
mmstress 0 TINFO : test1: Test case tests the race condition between simultaneous read faults in the same address space.
mmstress 1 TPASS : TEST 1 Passed
mmstress 0 TINFO : test2: Test case tests the race condition between simultaneous write faults in the same address space.
mmstress 2 TPASS : TEST 2 Passed
mmstress 0 TINFO : test3: Test case tests the race condition between simultaneous COW faults in the same address space.
mmstress 3 TPASS : TEST 3 Passed
mmstress 0 TINFO : test4: Test case tests the race condition between simultaneous READ faults in the same address space. The file mapped is /dev/zero
mmstress 4 TPASS : TEST 4 Passed
mmstress 0 TINFO : test5: Test case tests the race condition between simultaneous fork - exit faults in the same address space.
mmstress 5 TPASS : TEST 5 Passed
mmstress 0 TINFO : test6: Test case tests the race condition between simultaneous fork -exec - exit faults in the same address space.
mmstress 6 TPASS : TEST 6 Passed
mmstress 7 TPASS : Test Passed
<<<execution_status>>>
initiation_status="ok"
duration=7 termination_type=exited termination_id=0 corefile=no
cutime=2 cstime=782
<<<test_end>>>
<<<test_start>>>
tag=mtest06_2 stime=1250003272
cmdline="mmap2 -x 0.002 -a -p"
contacts=""
analysis=exit
<<<test_output>>>
MM Stress test, map/write/unmap large file
Test scheduled to run for: 0.002000
Size of temp file in GB: 1
file mapped at 0x7c53b000
changing file content to 'A'
unmapped file at 0x7c53b000
file mapped at 0x7c53b000
changing file content to 'A'
unmapped file at 0x7c53b000
file mapped at 0x7c53b000
changing file content to 'A'
Test ended, success
<<<execution_status>>>
initiation_status="ok"
duration=7 termination_type=exited termination_id=0 corefile=no
cutime=45 cstime=668
<<<test_end>>>
<<<test_start>>>
tag=mtest06_3 stime=1250003279
cmdline="mmap3 -x 0.002 -p"
contacts=""
analysis=exit
<<<test_output>>>
Test is set to run with the following parameters:
Duration of test: [0.002000]hrs
Number of threads created: [40]
number of map-write-unmaps: [1000]
map_private?(T=1 F=0): [1]
Map address = 0xa3ed6000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa335a000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3480000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3ed6000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3918000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa35a6000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3a3e000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa37f2000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3db0000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3c8a000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa36cc000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3b64000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa2369000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3735000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa1fb8000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3ae6000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa385b000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa287f000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa2d95000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa20de000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3d71000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa25f4000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa0906000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3020000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa1d2d000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa1817000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3536000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa0f8f000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa32ab000
Num iter: [1]
Total Num Iter: [1000]Map address = 0x9ed14000
Num iter: [2]
Total Num Iter: [1000]Map address = 0xa0d90000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa2b0a000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa118e000
Num iter: [1]
Total Num Iter: [1000]Map address = 0x9eb15000
Num iter: [1]
Total Num Iter: [1000]Map address = 0x9ef13000
Num iter: [2]
Total Num Iter: [1000]Map address = 0xa010a000
Num iter: [2]
Total Num Iter: [1000]Map address = 0x9ff0b000
Num iter: [2]
Total Num Iter: [1000]Map address = 0xa0309000
Num iter: [2]
Total Num Iter: [1000]Map address = 0xa1aa2000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa23f5000
Num iter: [2]
Total Num Iter: [1000]Map address = 0x9f90e000
Num iter: [2]
Total Num Iter: [1000]Map address = 0x9fb0d000
Num iter: [1]
Total Num Iter: [1000]Map address = 0x9f112000
Num iter: [2]
Total Num Iter: [1000]Map address = 0xa0b91000
Num iter: [1]
Total Num Iter: [1000]Map address = 0x9f510000
Num iter: [2]
Total Num Iter: [1000]Map address = 0xa0508000
Num iter: [2]
Total Num Iter: [1000]Map address = 0xa138d000
Num iter: [1]
Total Num Iter: [1000]Map address = 0x9fd0c000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa158c000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa3a9b000
Num iter: [2]
Total Num Iter: [1000]Map address = 0xa0707000
Num iter: [2]
Total Num Iter: [1000]Map address = 0x9f70f000
Num iter: [1]
Total Num Iter: [1000]Map address = 0xa37c5000
Num iter: [2]
Total Num Iter: [1000]Map address = 0xa3d26000
Num iter: [2]
Total Num Iter: [1000]Map address = 0x9f311000
Num iter: [2]
Total Num Iter: [1000]Test ended, success
<<<execution_status>>>
initiation_status="ok"
duration=8 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=521
<<<test_end>>>
<<<test_start>>>
tag=mem01 stime=1250003287
cmdline="mem01"
contacts=""
analysis=exit
<<<test_output>>>
mem01 0 TINFO : Free Mem: 1962 Mb
mem01 0 TINFO : Free Swap: 3944 Mb
mem01 0 TINFO : Total Free: 5906 Mb
mem01 0 TINFO : Total Tested: 1008 Mb
mem01 0 TINFO : touching 1008MB of malloc'ed memory (linear)
mem01 1 TPASS : malloc - alloc of 1008MB succeeded
<<<execution_status>>>
initiation_status="ok"
duration=3 termination_type=exited termination_id=0 corefile=no
cutime=7 cstime=289
<<<test_end>>>
<<<test_start>>>
tag=mem02 stime=1250003290
cmdline="mem02"
contacts=""
analysis=exit
<<<test_output>>>
mem02 1 TPASS : calloc - calloc of 64MB of memory succeeded
mem02 2 TPASS : malloc - malloc of 64MB of memory succeeded
mem02 3 TPASS : realloc - realloc of 5 bytes succeeded
mem02 4 TPASS : realloc - realloc of 15 bytes succeeded
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=38 cstime=37
<<<test_end>>>
<<<test_start>>>
tag=mem03 stime=1250003290
cmdline="mem03"
contacts=""
analysis=exit
<<<test_output>>>
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=page01 stime=1250003291
cmdline="page01"
contacts=""
analysis=exit
<<<test_output>>>
page01 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=6 cstime=24
<<<test_end>>>
<<<test_start>>>
tag=page02 stime=1250003292
cmdline="page02"
contacts=""
analysis=exit
<<<test_output>>>
page02 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=2
<<<test_end>>>
<<<test_start>>>
tag=data_space stime=1250003293
cmdline="data_space"
contacts=""
analysis=exit
<<<test_output>>>
data_space 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=258 cstime=5
<<<test_end>>>
<<<test_start>>>
tag=stack_space stime=1250003294
cmdline="stack_space"
contacts=""
analysis=exit
<<<test_output>>>
stack_space 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=9 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmt02 stime=1250003294
cmdline="shmt02"
contacts=""
analysis=exit
<<<test_output>>>
shmt02 1 TPASS : shmget
shmt02 2 TPASS : shmat
shmt02 3 TPASS : Correct shared memory contents
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmt03 stime=1250003294
cmdline="shmt03"
contacts=""
analysis=exit
<<<test_output>>>
shmt03 1 TPASS : shmget
shmt03 2 TPASS : 1st shmat
shmt03 3 TPASS : 2nd shmat
shmt03 4 TPASS : Correct shared memory contents
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmt04 stime=1250003294
cmdline="shmt04"
contacts=""
analysis=exit
<<<test_output>>>
shmt04 1 TPASS : shmget,shmat
shmt04 2 TPASS : shmdt
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmt05 stime=1250003294
cmdline="shmt05"
contacts=""
analysis=exit
<<<test_output>>>
shmt05 1 TPASS : shmget & shmat
shmt05 2 TPASS : 2nd shmget & shmat
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmt06 stime=1250003294
cmdline="shmt06"
contacts=""
analysis=exit
<<<test_output>>>
shmt06 1 TPASS : shmget,shmat
shmt06 2 TPASS : shmdt
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmt07 stime=1250003294
cmdline="shmt07"
contacts=""
analysis=exit
<<<test_output>>>
shmt07 1 TPASS : shmget,shmat
shmt07 1 TPASS : shmget,shmat
shmt07 2 TPASS : cp & cp+1 correct
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmt08 stime=1250003294
cmdline="shmt08"
contacts=""
analysis=exit
<<<test_output>>>
shmt08 1 TPASS : shmget,shmat
shmt08 2 TPASS : shmdt
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmt09 stime=1250003294
cmdline="shmt09"
contacts=""
analysis=exit
<<<test_output>>>
shmt09 1 TPASS : sbrk, sbrk, shmget, shmat
shmt09 2 TPASS : sbrk, shmat
shmt09 3 TPASS : sbrk, shmat
shmt09 4 TPASS : sbrk
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmt10 stime=1250003294
cmdline="shmt10"
contacts=""
analysis=exit
<<<test_output>>>
shmt10 1 TPASS : shmat,shmdt
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=3
<<<test_end>>>
<<<test_start>>>
tag=shm_test01 stime=1250003294
cmdline="shm_test -l 10 -t 2"
contacts=""
analysis=exit
<<<test_output>>>
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1212420
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6f02000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1212420
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6e55000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1245189
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6f02000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1245189
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6e55000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1277956
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6f02000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1277956
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6e55000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1310725
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6f02000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1310725
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6e55000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1343492
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6f02000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1343492
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6e55000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1376261
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6f02000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1376261
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6e55000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1409028
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6f02000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1409028
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6e55000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1441797
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6f02000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1441797
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6e55000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1474564
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6f02000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1474564
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6e55000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1507333
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6f02000
pid[30625]: shmat_rd_wr(): shmget():success got segment id 1507333
pid[30625]: do_shmat_shmadt(): got shmat address = 0xb6e55000
<<<execution_status>>>
initiation_status="ok"
duration=31 termination_type=exited termination_id=0 corefile=no
cutime=724 cstime=5363
<<<test_end>>>
<<<test_start>>>
tag=mallocstress01 stime=1250003325
cmdline="mallocstress"
contacts=""
analysis=exit
<<<test_output>>>
Thread [47]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [43]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [39]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [31]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [23]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [35]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [7]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [11]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [3]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [15]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [51]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [19]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [55]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [27]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [59]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [54]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [38]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [14]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [10]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [46]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [42]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [34]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [18]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [22]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [50]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [58]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [6]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [30]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [26]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [2]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [41]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [21]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [33]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [57]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [49]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [13]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [29]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [45]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [53]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [17]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [9]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [1]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [37]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [25]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [5]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [32]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [36]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [12]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [56]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [48]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [52]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [24]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [16]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [40]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [44]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [4]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [28]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [0]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [8]: allocate_free() returned 0, succeeded. Thread exiting.
Thread [20]: allocate_free() returned 0, succeeded. Thread exiting.
main(): test passed.
<<<execution_status>>>
initiation_status="ok"
duration=8 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=787
<<<test_end>>>
<<<test_start>>>
tag=mmapstress01 stime=1250003333
cmdline="mmapstress01 -p 20 -t 0.2"
contacts=""
analysis=exit
<<<test_output>>>
file data okay
mmapstress01 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=12 termination_type=exited termination_id=0 corefile=no
cutime=1371 cstime=758
<<<test_end>>>
<<<test_start>>>
tag=mmapstress02 stime=1250003345
cmdline="mmapstress02"
contacts=""
analysis=exit
<<<test_output>>>
mmapstress02 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=mmapstress03 stime=1250003345
cmdline="mmapstress03"
contacts=""
analysis=exit
<<<test_output>>>
mmapstress03 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=mmapstress04 stime=1250003345
cmdline="TMPFILE=`mktemp /tmp/example.XXXXXXXXXX`; ls -lR /usr/include/ > $TMPFILE; mmapstress04 $TMPFILE"
contacts=""
analysis=exit
<<<test_output>>>
mmapstress04 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=8 termination_type=exited termination_id=0 corefile=no
cutime=32 cstime=201
<<<test_end>>>
<<<test_start>>>
tag=mmapstress05 stime=1250003353
cmdline="mmapstress05"
contacts=""
analysis=exit
<<<test_output>>>
mmapstress05 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=mmapstress06 stime=1250003353
cmdline="mmapstress06 20"
contacts=""
analysis=exit
<<<test_output>>>
mmapstress06 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=20 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=mmapstress07 stime=1250003373
cmdline="TMPFILE=`mktemp /tmp/example.XXXXXXXXXXXX`; mmapstress07 $TMPFILE"
contacts=""
analysis=exit
<<<test_output>>>
mmapstress07 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=2 cstime=21
<<<test_end>>>
<<<test_start>>>
tag=mmapstress08 stime=1250003374
cmdline="mmapstress08"
contacts=""
analysis=exit
<<<test_output>>>
mmapstress08 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=mmapstress09 stime=1250003374
cmdline="mmapstress09 -p 20 -t 0.2"
contacts=""
analysis=exit
<<<test_output>>>
map data okay
mmapstress09 1 TPASS : Test passed
<<<execution_status>>>
initiation_status="ok"
duration=12 termination_type=exited termination_id=0 corefile=no
cutime=1401 cstime=730
<<<test_end>>>
<<<test_start>>>
tag=mmapstress10 stime=1250003386
cmdline="mmapstress10 -p 20 -t 0.2"
contacts=""
analysis=exit
<<<test_output>>>
file data okay
mmapstress10 1 TPASS : Test passed
incrementing stop
<<<execution_status>>>
initiation_status="ok"
duration=12 termination_type=exited termination_id=0 corefile=no
cutime=992 cstime=1123
<<<test_end>>>
================================================================================
Regards--
Subrata
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 15+ messages in thread