diff mbox

[OSSTEST,19/24] host examination: Add a check to many flights

Message ID 1495105294-25989-19-git-send-email-ian.jackson@eu.citrix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ian Jackson May 18, 2017, 11:01 a.m. UTC
Check that nothing in the principal other branches is likely to
regress the host examination machinery.  This is particularly relevant
for osstest itself, of course.

Runvars look like this (e.g., from test-amd64-amd64-examine):

  all_host_di_version     current
  all_host_suite          jessie
  all_hostflags           arch-amd64,arch-xen-amd64,suite-jessie,purpose-test,PropMinVer:LinuxKernelMin:3.0
  arch                    amd64
  buildjob                build-amd64
  kernbuildjob            build-amd64-pvops
  kernkind                pvops
  toolstack               xl
  xenbuildjob             build-amd64

New jobs are:

  test-amd64-amd64-examine        linux-3.16
  test-amd64-i386-examine         linux-3.18
  test-arm64-arm64-examine   X    linux-4.1
  test-armhf-armhf-examine        linux-4.9
                                  linux-linus
                                  linux-next
                                  osstest
                                  xen-unstable

  test-amd64-amd64-examine        linux-3.0
  test-amd64-i386-examine    X    linux-3.4
                                  linux-3.10
                                  linux-3.14

  test-arm64-arm64-examine   X    linux-arm-xen

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
---
 make-flight | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
diff mbox

Patch

diff --git a/make-flight b/make-flight
index 6dd0e5f..39ef6de 100755
--- a/make-flight
+++ b/make-flight
@@ -642,6 +642,18 @@  do_pv_debian_tests () {
   $endfmt$dom0arch
 }
 
+do_examine_one () {
+  case "$branch" in
+    xen-unstable)		;; # only likely to regress on -unstable
+    osstest)			;; # very likely to regress
+    linux-*)			;; # often seems to regress
+    *)			return	;; # stuff used for guests is irrelevant
+  esac
+  job_create_test test-$xenarch$kern-$dom0arch-examine \
+                  host-examine-xen xl $xenarch $dom0arch \
+                  all_hostflags=$most_hostflags
+}
+
 test_matrix_do_one () {
 
   do_pv_debian_tests
@@ -663,6 +675,8 @@  test_matrix_do_one () {
   do_rtds_tests
   do_credit2_tests
 
+  do_examine_one
+
   # No further arm tests at the moment
   if [ $dom0arch = armhf -o $dom0arch = arm64 ]; then
       return