src/utils/qa/weeklybld/doNewBranch.csh 1.33

1.33 2009/11/10 06:29:19 galt
rearranging the order of background operations so that utils do not hold up cgi and cvs-reports
Index: src/utils/qa/weeklybld/doNewBranch.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/weeklybld/doNewBranch.csh,v
retrieving revision 1.32
retrieving revision 1.33
diff -b -B -U 4 -r1.32 -r1.33
--- src/utils/qa/weeklybld/doNewBranch.csh	28 Oct 2009 17:58:09 -0000	1.32
+++ src/utils/qa/weeklybld/doNewBranch.csh	10 Nov 2009 06:29:19 -0000	1.33
@@ -89,15 +89,8 @@
 # note - we are now running it in the background on hgwdev
 
 #---------------------
 
-echo
-echo  "NOW STARTING 32-BIT BUILD ON $BOX32 IN PARALLEL [${0}: `date`]"
-echo
-rm -f doNew32.log
-#echo debug: disabled parallel build 32bit utils on dev
-ssh -n $BOX32 "$WEEKLYBLD/doNewBranch32.csh opensesame" >& doNew32.log &
-
 echo "Unpack the new branch on BUILDDIR for beta [${0}: `date`]"
 #unpack the new branch on BUILDDIR for beta
 #echo debug: disabled coBranch.csh
 ./coBranch.csh
@@ -107,19 +100,8 @@
     wait
     exit 1
 endif
 
-echo "Build utils on beta [${0}: `date`]"
-echo
-#echo debug: disabled build utils on beta
-./buildUtils.csh
-if ( $status ) then
-    echo "Build utils on beta FAILED [${0}: `date`]"
-    echo "Waiting for any other processes to finish"
-    wait
-    exit 1
-endif
-
 echo
 echo "Build branch sandbox on beta [${0}: `date`]"
 # build branch sandbox on beta
 #echo debug: disabled build branch sandbox on beta
@@ -135,12 +117,11 @@
 echo "build on beta done for v$BRANCHNN [${0}: `date`]"
 echo "v$BRANCHNN built successfully on beta (day 9)." | mail -s "'v$BRANCHNN Build complete on beta (day 9).'" $USER galt kent browser-qa
 
 echo
-echo "Waiting for the background beta:cvs-reports and ${BOX32}:doNewBranch32.csh to finish [${0}: `date`]"
+echo "Waiting for the background beta:cvs-reports to finish [${0}: `date`]"
 wait
 echo "Wait complete, checking results. [${0}: `date`]"
-
 if ( -e CvsReports.ok ) then
     echo "CVS Reports finished ok. [${0}: `date`]"
     echo "buildCvsReports.csh done on hgwdev, sending email... [${0}: `date`]"
     echo "Ready for pairings, day 9, CVS reports completed for v${BRANCHNN} review http://hgwdev.cse.ucsc.edu/cvs-reports/ (history at http://hgwdev.cse.ucsc.edu/cvs-reports-history/)." | mail -s "Ready for pairings (day 9, v${BRANCHNN} review)." $USER donnak kuhn
@@ -146,8 +127,34 @@
     echo "Ready for pairings, day 9, CVS reports completed for v${BRANCHNN} review http://hgwdev.cse.ucsc.edu/cvs-reports/ (history at http://hgwdev.cse.ucsc.edu/cvs-reports-history/)." | mail -s "Ready for pairings (day 9, v${BRANCHNN} review)." $USER donnak kuhn
 else
     echo "CVS Reports had some error, no ok file found. [${0}: `date`]"
 endif
+
+
+echo
+echo  "NOW STARTING 32-BIT BUILD ON $BOX32 IN PARALLEL [${0}: `date`]"
+echo
+rm -f doNew32.log
+#echo debug: disabled parallel build 32bit utils on dev
+ssh -n $BOX32 "$WEEKLYBLD/doNewBranch32.csh opensesame" >& doNew32.log &
+
+
+echo "Build utils on beta [${0}: `date`]"
+echo
+#echo debug: disabled build utils on beta
+./buildUtils.csh
+if ( $status ) then
+    echo "Build utils on beta FAILED [${0}: `date`]"
+    echo "Waiting for any other processes to finish"
+    wait
+    exit 1
+endif
+
+echo
+echo "Waiting for the background ${BOX32}:doNewBranch32.csh to finish [${0}: `date`]"
+wait
+echo "Wait complete, checking results. [${0}: `date`]"
+
 if (-e 32bitUtils.ok) then
     echo "32-bit utils build finished ok. [${0}: `date`]"
 else
     echo "32-bit utils build had some error, no ok file found. [${0}: `date`]"