# build-SVNPATH is now set by vbuild-nightly.sh to avoid duplication
linux-2.6-SVNBRANCH := 22
-linux-2.6-SVNPATH := http://svn.planet-lab.org/svn//linux-2.6/trunk
+linux-2.6-SVNPATH := http://svn.planet-lab.org/svn//linux-2.6/branches/22
madwifi-SVNBRANCH := 0.9.4
madwifi-SVNPATH := http://svn.planet-lab.org/svn/madwifi/tags/madwifi-0.9.4-3
nozomi-SVNPATH := http://svn.onelab.eu/nozomi/tags/nozomi-2.21-1
inotify-tools-SVNPATH := http://svn.planet-lab.org/svn//inotify-tools/tags/inotify-tools-3.13-2
vsys-SVNBRANCH := 0.9
vsys-SVNPATH := http://svn.planet-lab.org/svn//vsys/tags/vsys-0.9-1
-vsys-scripts-SVNBRANCH := 0.9
-vsys-scripts-SVNPATH := http://svn.planet-lab.org/svn/vsys-scripts/tags/vsys-scripts-0.9-3
+vsys-scripts-SVNPATH := http://svn.planet-lab.org/svn/vsys-scripts/tags/vsys-scripts-0.95-0
dummynet_image-SVNPATH := http://svn.planet-lab.org/svn/dummynet_image/tags/dummynet_image-1.0-5
PLCAPI-SVNPATH := http://svn.planet-lab.org/svn/PLCAPI/tags/PLCAPI-4.3-13
drupal-SVNPATH := http://svn.planet-lab.org/svn/drupal/tags/drupal-4.7-11
# this is where the buildurl is pointing towards
DEFAULT_WEBROOT="/build/"
DEFAULT_TESTMASTER="testmaster.onelab.eu"
- DEFAULT_TESTCONFIG="1default"
else
DEFAULT_WEBPATH="/build/@FCDISTRO@/@PLDISTRO@/"
DEFAULT_TESTBUILDURL="http://build.planet-lab.org/"
DEFAULT_WEBROOT="/build/"
### xxx change as appropriate
DEFAULT_TESTMASTER="p-testmaster.onelab.eu"
- DEFAULT_TESTCONFIG="pdefault"
fi
####################
# read a full log and tries to extract the interesting stuff
import sys,re
-m_show_line=re.compile(".* BEG (RPM|VSERVER).*|.*'boot'.*|\* .*|.*is not installed.*|.*PROPFIND.*|.*Starting.*:runtest.*")
+m_show_line=re.compile(".* BEG (RPM|VSERVER).*|.*'boot'.*|\* .*|.*is not installed.*|.*PROPFIND.*|.*Starting.*:run_log.*")
m_installing_any=re.compile('\r (Installing:[^\]]*]) ')
m_installing_err=re.compile('\r (Installing:[^\]]*])(..+)')
m_installing_end=re.compile('Installed:.*')
# this was formerly run in the myplc-devel chroot but now is run in the root context,
# this is so that the .ssh config gets done manually, and once and for all
-function runtest () {
+function run_log () {
set -x
set -e
trap failure ERR INT
- echo -n "============================== Starting $COMMAND:runtest on $(date)"
+ echo -n "============================== Starting $COMMAND:run_log on $(date)"
# where to find TESTS_SVNPATH
stamp=/vservers/$BASE/build/tests_svnpath
# need to proceed despite of set -e
success=true
- ssh 2>&1 -n ${testmaster_ssh} ${testdir}/runtest --build ${build_SVNPATH} --url ${url} $configs $test_env --all || success=
+ ssh 2>&1 -n ${testmaster_ssh} ${testdir}/run_log --build ${build_SVNPATH} --url ${url} $configs $test_env --verbose --all || success=
# gather logs in the vserver
mkdir -p /vservers/$BASE/build/testlogs
failure
fi
- echo -n "============================== End $COMMAND:runtest on $(date)"
+ echo -n "============================== End $COMMAND:run_log on $(date)"
}
function in_root_context () {
vserver ${BASE} exec /build/$COMMAND "${options[@]}" -b "${BASE}" "${MAKEVARS[@]}" "${MAKETARGETS[@]}"
fi
- # publish to the web so runtest can find them
+ # publish to the web so run_log can find them
rm -rf $WEBPATH/$BASE ; mkdir -p $WEBPATH/$BASE/{RPMS,SRPMS}
rsync --archive --delete --verbose /vservers/$BASE/build/RPMS/ $WEBPATH/$BASE/RPMS/
rsync --archive --delete --verbose /vservers/$BASE/build/SRPMS/ $WEBPATH/$BASE/SRPMS/
fi
if [ -n "$DO_TEST" ] ; then
- runtest
+ run_log
fi
success