Values for OSSTEST_RESOURCE_PRIORITY:
mg-allocate -1000000
mg-blockage -2000000
+ xen-unstable-smoke cr-daily-branch -20
default Executive.pm with controlling terminal -10
mg-execute-flight -8
default 0
# $xenbranch must already be set
+xenbranch_forqemu=${xenbranch/xen-unstable-smoke/xen-unstable}
+
: ${XENBITS:=osstest@xenbits.xen.org}
: ${TREEBRANCH_OSSTEST_UPSTREAM=`getconfig OsstestUpstream`}
: ${TREE_XEN:=git://xenbits.xen.org/xen.git}
: ${PUSH_TREE_XEN:=$XENBITS:/home/xen/git/xen.git}
-#: ${TREE_QEMU:=git://mariner.uk.xensource.com/qemu-$xenbranch.git}
-: ${TREE_QEMU:=git://xenbits.xen.org/staging/qemu-$xenbranch.git}
+#: ${TREE_QEMU:=git://mariner.uk.xensource.com/qemu-$xenbranch_forqemu.git}
+: ${TREE_QEMU:=git://xenbits.xen.org/staging/qemu-$xenbranch_forqemu.git}
: ${GIT_KERNEL_ORG:=git://git.kernel.org}
: ${TREEBASE_LINUX_XCP:=http://hg.uk.xensource.com/carbon/trunk/linux-2.6.27}
-: ${TREE_QEMU_UPSTREAM:=git://xenbits.xen.org/staging/qemu-upstream-${xenbranch#xen-}.git}
+: ${TREE_QEMU_UPSTREAM:=git://xenbits.xen.org/staging/qemu-upstream-${xenbranch_forqemu#xen-}.git}
: ${LOCALREV_QEMU_UPSTREAM:=daily-cron.$branch}
: ${TREE_QEMU_MAINLINE:=git://git.qemu.org/qemu.git}
--- /dev/null
+export OSSTEST_RESOURCE_PRIORITY=-20
"$treeurl#$OLD_REVISION-$NEW_REVISION" \
case "$realtree" in
- xen-4*|xen-unstable)
+ xen-4*|xen-unstable*)
oldqemu=`./ap-qemu-revision $realtree $OLD_REVISION`
newqemu=`./ap-qemu-revision $realtree $NEW_REVISION`
if [ "$oldqemu" ] && [ "$newqemu" ]; then
select_xenbranch () {
case "$branch" in
+ xen-unstable-smoke) tree=xen; xenbranch=$branch; qemuubranch=qemu-upstream-unstable;;
xen-*) tree=xen; xenbranch=$branch ;;
qemu-mainline) tree=qemuu; xenbranch=xen-unstable qemuubranch=qemu-mainline;;
qemu-upstream-*) tree=qemuu; xenbranch=xen-${branch#qemu-upstream-};;
defsuite=`getconfig DebianSuite`
defguestsuite=`getconfig GuestDebianSuite`
+case "$branch" in
+xen-unstable-smoke)
+ global_runvars+=" hostalloc_maxbonus_variation~=0 "
+ global_runvars+=" hostalloc_bonus_previousfail~=0 "
+ ;;
+esac
+
job_create_build_filter_callback () {
- :
+ local job=$1; shift
+ case "$branch" in
+ xen-unstable-smoke)
+ case "$job" in
+ build-amd64) ;;
+ build-amd64-pvops) ;;
+ build-amd64-libvirt) ;;
+ build-armhf) ;;
+ build-armhf-pvops) ;;
+ *) return 1 ;;
+ esac
+ ;;
+ esac
+ return 0
}
if [ x$buildflight = x ]; then
local dom0arch=$1; shift
case "$branch" in
+ xen-unstable-smoke)
+ case "$job" in
+ test-amd64-amd64-libvirt) return 0 ;;
+ test-armhf-armhf-xl) return 0 ;;
+ test-amd64-amd64-xl-qemuu-debianhvm-i386) return 0 ;;
+ *) return 1 ;;
+ esac
+ ;;
qemu-upstream-4.2-testing)
case " $* " in
*" device_model_version=qemu-xen "*)
branch_debianhvm_arch () {
case $branch in
+ xen-unstable-smoke) echo i386;;
*) echo amd64;;
esac
}