# HG changeset patch # User Dario Sestito # Date 1245430857 -3600 # Node ID 6d9dd19b69495526726e2e5d87baaa111cc2e5ad # Parent bf91a7e3c25b21d603827a70b464aa006a5ac9bd# Parent 62976b2583f7d04735cc292782113fd605bf3aa6 Catchup from platform build diff -r bf91a7e3c25b -r 6d9dd19b6949 common/build.xml --- a/common/build.xml Fri Jun 19 16:13:48 2009 +0100 +++ b/common/build.xml Fri Jun 19 18:00:57 2009 +0100 @@ -21,11 +21,16 @@ + + + - + + + @@ -176,6 +181,13 @@ [SF-PREBUILD] + + + + + + + @@ -245,7 +257,7 @@ - + @@ -469,7 +481,7 @@ + outputFile="${build.drive}/output/logs/sf-diamondize-bom.xml"> ant: antProperties() config: csv(${build.drive}/output/logs/BOM/config.csv,{separator:',',headers:[loc,dst,rev]}) @@ -709,14 +721,33 @@ + + + + + + + + + + + + + + + + ant: antProperties() + files: csv(${build.drive}/output/logs/analysis/tmp_yarp_files.csv,{separator:',',headers:[name,path,localpath]}) + + diff -r bf91a7e3c25b -r 6d9dd19b6949 common/common_props.ant.xml --- a/common/common_props.ant.xml Fri Jun 19 16:13:48 2009 +0100 +++ b/common/common_props.ant.xml Fri Jun 19 18:00:57 2009 +0100 @@ -50,6 +50,9 @@ + + + diff -r bf91a7e3c25b -r 6d9dd19b6949 common/diamonds/config.xml.ftl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/diamonds/config.xml.ftl Fri Jun 19 18:00:57 2009 +0100 @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <#if (ant?keys?seq_contains('validate.policy.log'))> + + + + + + + + + + + + \ No newline at end of file diff -r bf91a7e3c25b -r 6d9dd19b6949 common/diamonds/sf-run-analysis.xml.ftl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/diamonds/sf-run-analysis.xml.ftl Fri Jun 19 18:00:57 2009 +0100 @@ -0,0 +1,25 @@ + + + 10 + + + ${ant['sf.job.totalyarperrors']} + 0 + 0 + 0 + 0 + 0 + 0 + + + + <#list files as f> + + log + ${f.name} + file:///${f.path} + + + + + \ No newline at end of file diff -r bf91a7e3c25b -r 6d9dd19b6949 common/tools/analysis/parse_yarp_files.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/analysis/parse_yarp_files.pl Fri Jun 19 18:00:57 2009 +0100 @@ -0,0 +1,38 @@ + +my @asYarpFiles = (); +open(FILE, $ARGV[0]); +while ( ) +{ + if ( m/^[^,]*,[^,]*,([^,]*)/ ) + { + my $sFile = $1; + chomp $sFile; +# print "$sFile\n"; + push(@asYarpFiles, $sFile); + } +} +close(FILE); +my $nYarpFiles = scalar(@asYarpFiles); +#print "Found $nYarpFiles files to parse\n"; + +my $nTotalRecipeErrors = 0; +for my $nYarpFile (@asYarpFiles) +{ + my $nRecipeErrors = 0; +# print "Parsing file $nYarpFile...\n"; + open(FILE, $nYarpFile); + while ( ) + { + if ( m/^Raptor recipe failures:\s+(\d+)$/ ) + { +# print "Raptor recipe failures: $1\n"; + $nRecipeErrors = $1; + } + } + close(FILE); +# print "Recipe errors in $nYarpFile: $nRecipeErrors\n"; + $nTotalRecipeErrors += $nRecipeErrors; +} +#print "Total recipe errors across all files: $nTotalRecipeErrors\n"; + +print "$nTotalRecipeErrors"; \ No newline at end of file diff -r bf91a7e3c25b -r 6d9dd19b6949 common/tools/analysis/yarp.pl --- a/common/tools/analysis/yarp.pl Fri Jun 19 16:13:48 2009 +0100 +++ b/common/tools/analysis/yarp.pl Fri Jun 19 18:00:57 2009 +0100 @@ -68,6 +68,7 @@ my %licenceattempts; my $counter = 0; my $licence = 0; + my $failures = 0; while( my $line = ) { ++$counter; @@ -84,6 +85,7 @@ # if($recipe->{'exit'} !~ m/ok/) if($recipe->{'exit'} =~ m/failed/) { + ++$failures; # if($recipe->{'target'} =~ m/\S:epoc32\//i) # && $recipe->{'target'} !~ m/\S:epoc32\/build/i) { @@ -131,6 +133,9 @@ } close FILE; print OUT "\n\nSummaries\n\n"; + + print OUT "Raptor recipe failures: $failures\n"; + foreach my $attempt (sort keys %attempts) { print OUT "Overall attempts: $attempt,".$attempts{$attempt}.",\n"; diff -r bf91a7e3c25b -r 6d9dd19b6949 sf-package/build.xml --- a/sf-package/build.xml Fri Jun 19 16:13:48 2009 +0100 +++ b/sf-package/build.xml Fri Jun 19 18:00:57 2009 +0100 @@ -1,5 +1,5 @@ - + @@ -12,5 +12,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r bf91a7e3c25b -r 6d9dd19b6949 sf-package/package_props.ant.xml --- a/sf-package/package_props.ant.xml Fri Jun 19 16:13:48 2009 +0100 +++ b/sf-package/package_props.ant.xml Fri Jun 19 18:00:57 2009 +0100 @@ -1,4 +1,18 @@ - + + + + + + + + + + + + + + + diff -r bf91a7e3c25b -r 6d9dd19b6949 sf-package/package_refs.ant.xml --- a/sf-package/package_refs.ant.xml Fri Jun 19 16:13:48 2009 +0100 +++ b/sf-package/package_refs.ant.xml Fri Jun 19 18:00:57 2009 +0100 @@ -1,3 +1,11 @@ - \ No newline at end of file + + + + + + + + + \ No newline at end of file diff -r bf91a7e3c25b -r 6d9dd19b6949 sf-platform/build.xml --- a/sf-platform/build.xml Fri Jun 19 16:13:48 2009 +0100 +++ b/sf-platform/build.xml Fri Jun 19 18:00:57 2009 +0100 @@ -88,24 +88,6 @@ - - - - - - - - - - - - - - - - - -