|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 20/24] host examination: Run a regular exam flight
Examine every host, once a month.
This flight contains these jobs:
build-amd64 build-amd64-pvops
build-arm64 build-arm64-pvops
build-armhf build-armhf-pvops
build-i386 build-i386-pvops
examine-*
The build jobs are very similar to normal build jobs and I won't
recount their contents here. In any case, normally they will be
replaced with build jobs from a recent xen-unstable or osstest flight.
The examine-SOMEHOST job looks like this:
all_host_di_version current
all_host_suite jessie
arch {amd64,i386,arm64,armhf}
buildjob build-{amd64,i386,arm64,armhf}
enable_xsm false
host SOMEHOST
hostalloc_maxwait_max 20000
kernbuildjob build-{amd64,i386,arm64,armhf}-pvops
kernkind pvops
toolstack xl
xenbuildjob build-{amd64,i386,arm64,armhf}
The above is from standalone-generate-dump-flight-runvars so contains
dummy data. The suite, architectures, host and recipe will vary
depending on the output from cs-list-hosts.
Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
cr-daily-branch | 15 ++++++++++++++-
cri-common | 2 +-
crontab | 1 +
crontab-cambridge | 2 ++
4 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/cr-daily-branch b/cr-daily-branch
index f0c6718..8a314ce 100755
--- a/cr-daily-branch
+++ b/cr-daily-branch
@@ -69,7 +69,7 @@ fetch_version () {
}
case $branch in
- distros-*)
+ distros-*|examine)
treeurl=none;;
*)
treeurl=`./ap-print-url $branch`;;
@@ -274,6 +274,11 @@ fi
case $branch in
distros-*) makeflight=./make-distros-flight ;;
xen-*-coverity) makeflight=./make-coverity-flight ;;
+examine) makeflight=make_hosts_flight
+ make_hosts_flight () {
+ ./make-hosts-flight $1 $2 blessed-$3 $3 $4
+ }
+ ;;
*) makeflight=./make-flight ;;
esac
@@ -309,6 +314,14 @@ xen-unstable-smoke)
# Even adhoc or play flights ought to reuse only real
# previous builds.
;;
+examine)
+ ./mg-adjust-flight-makexrefs -v $flight \
+ 'build-*' \
+ --debug --blessings=real \
+ --branch=xen-unstable,osstest \
+ --revision-xen=$REVISION_XEN \
+ --revision-osstest=$harness_rev
+ ;;
esac
$DAILY_BRANCH_POSTMAKE_HOOK
diff --git a/cri-common b/cri-common
index ac360de..903fb4e 100644
--- a/cri-common
+++ b/cri-common
@@ -80,7 +80,7 @@ select_xenbranch () {
seabios) tree=seabios; xenbranch=xen-unstable ;;
xtf) tree=xtf; xenbranch=xen-unstable ;;
ovmf) tree=ovmf; xenbranch=xen-unstable ;;
- distros-*) tree=none; xenbranch=xen-unstable ;;
+ distros-*|examine) tree=none; xenbranch=xen-unstable ;;
osstest) tree=osstest; xenbranch=xen-unstable ;;
esac
if [ "x$tree" = xlinux ]; then
diff --git a/crontab b/crontab
index 62047f3..4856569 100755
--- a/crontab
+++ b/crontab
@@ -9,6 +9,7 @@ MAILTO=ian.jackson@xxxxxxxxxx,ian.campbell@xxxxxxxxxxxxx
4-59/30 * * * * cd testing.git &&
./cr-for-branches branches -q "./cr-daily-branch --real"
18 9 * * 1,3,5 cd testing.git && BRANCHES=linux-next
./cr-for-branches branches -w "./cr-daily-branch --real"
18 9 * * 3,7 cd testing.git &&
BRANCHES=xen-unstable-coverity ./cr-for-branches branches -w "./cr-daily-branch
--real"
+34 15 23 * * cd testing.git && BRANCHES=examine
./cr-for-branches branches -w "./cr-daily-branch --real"
18 4 * * * cd testing.git && BRANCHES='linux-3.0
libvirt rumprun' ./cr-for-branches branches -w "./cr-daily-branch --real"
6-59/15 * * * * cd testing.git &&
EXTRA_BRANCHES='linux-3.0 rumprun libvirt' ./cr-for-branches bisects -w
"./cr-try-bisect --real"
#8-59/5 * * * * cd bisects/adhoc.git &&
with-lock-ex -q data-tree-lock bash -c "./cr-try-bisect-adhoc; exit $?"
diff --git a/crontab-cambridge b/crontab-cambridge
index 2ababb0..3c197de 100755
--- a/crontab-cambridge
+++ b/crontab-cambridge
@@ -15,6 +15,8 @@ MAILTO=ian.jackson@xxxxxxxxxx,ian.campbell@xxxxxxxxxxxxx
46 7 * * 5 cd testing.git &&
BRANCHES='distros-debian-jessie' ./cr-for-branches branches -w
"./cr-daily-branch --real"
46 7 * * 6 cd testing.git &&
BRANCHES='distros-debian-stretch' ./cr-for-branches branches -w
"./cr-daily-branch --real"
+34 15 25 * * cd testing.git && BRANCHES=examine
./cr-for-branches branches -w "./cr-daily-branch --real"
+
#8-59/5 * * * * cd bisects/adhoc.git &&
with-lock-ex -q data-tree-lock bash -c "./cr-try-bisect-adhoc; exit $?"
22 8 * * * cd testing.git && BRANCHES=maintjobs
./cr-for-branches . -w ./cr-all-branch-statuses ''
3 4 * * * savelog -c28
testing.git/tmp/cr-for-branches.log >/dev/null
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |