21d7c635c49a794bf9c3b807d527e5c5339210f0 galt Thu Sep 7 00:27:02 2023 -0700 Tweak the scripsts that run robots written in C that should use https, since htmlPage code can use https but does not support redirects at this time. We are turning on redirect to https everywhere. diff --git src/utils/qa/weeklybld/doHgTablesTestRobot.csh src/utils/qa/weeklybld/doHgTablesTestRobot.csh index 5450bb7..40094f6 100755 --- src/utils/qa/weeklybld/doHgTablesTestRobot.csh +++ src/utils/qa/weeklybld/doHgTablesTestRobot.csh @@ -1,30 +1,30 @@ #!/bin/tcsh cd $WEEKLYBLD cd $BUILDDIR/v${BRANCHNN}_branch/kent/src/hg/hgTablesTest make cd $WEEKLYBLD setenv HGDB_CONF /cluster/home/build/.hg.conf.beta set log = v${BRANCHNN}.hgTables.log -echo "$HOME/bin/$MACHTYPE/hgTablesTest -db=hg38 hgwbeta.soe.ucsc.edu/cgi-bin/hgTables ./logs/$log" > ./logs/$log -$HOME/bin/$MACHTYPE/hgTablesTest -appendLog -db=hg38 hgwbeta.soe.ucsc.edu/cgi-bin/hgTables ./logs/$log +echo "$HOME/bin/$MACHTYPE/hgTablesTest -db=hg38 https://hgwbeta.soe.ucsc.edu/cgi-bin/hgTables ./logs/$log" > ./logs/$log +$HOME/bin/$MACHTYPE/hgTablesTest -appendLog -db=hg38 https://hgwbeta.soe.ucsc.edu/cgi-bin/hgTables ./logs/$log echo "" >> ./logs/$log -echo "$HOME/bin/$MACHTYPE/hgTablesTest -appendLog -org=Mouse -orgs=1 hgwbeta.soe.ucsc.edu/cgi-bin/hgTables ./logs/$log" >> ./logs/$log -$HOME/bin/$MACHTYPE/hgTablesTest -appendLog -org=Mouse -orgs=1 hgwbeta.soe.ucsc.edu/cgi-bin/hgTables ./logs/$log +echo "$HOME/bin/$MACHTYPE/hgTablesTest -appendLog -org=Mouse -orgs=1 https://hgwbeta.soe.ucsc.edu/cgi-bin/hgTables ./logs/$log" >> ./logs/$log +$HOME/bin/$MACHTYPE/hgTablesTest -appendLog -org=Mouse -orgs=1 https://hgwbeta.soe.ucsc.edu/cgi-bin/hgTables ./logs/$log # creates hgTables.log - look for unusual errors #-- to check for errors: set res = `cat ./logs/$log | egrep "^[ \t]*Total" | egrep -v "0 soft errors, 0 hard errors"` set res2 = `cat ./logs/$log | awk '/^[ \t]*Total/ {print} /TablesTest/ {print}'` set wc = `echo "$res" | wc -w` if ( "$wc" != "0" ) then echo "errs found:" echo "$res2" echo "$res2" | mail -s "Errors in hgTablesTestRobot on $HOST" ${BUILDMEISTEREMAIL} browser-qa@soe.ucsc.edu exit 1 endif